/* ============================================
   JD ÉDITIONS — Design System
   Couleurs : Bleu & Rouge
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-900: #0A1628;
  --blue-800: #0F2140;
  --blue-700: #152E5A;
  --blue-600: #1B3A73;
  --blue-500: #1E4D8C;
  --blue-400: #2563EB;
  --blue-300: #5B8DEF;
  --blue-200: #93B4F6;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;

  --red-900: #450A0A;
  --red-800: #7F1D1D;
  --red-700: #B91C1C;
  --red-600: #DC2626;
  --red-500: #EF4444;
  --red-400: #F87171;
  --red-300: #FCA5A5;
  --red-200: #FECACA;
  --red-100: #FEE2E2;
  --red-50: #FEF2F2;

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;

  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--blue-400);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-800);
  border: 1.5px solid var(--gray-200);
}
.btn-secondary:hover {
  border-color: var(--blue-400);
  color: var(--blue-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-red {
  background: var(--red-600);
  color: var(--white);
}
.btn-red:hover {
  background: var(--red-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220,38,38,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue-800);
  border-color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-800);
}

.logo-sub {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--blue-400);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--red-600) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--red-700) !important;
  transform: translateY(-1px) !important;
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Section Titles --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue-500);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-tag.red {
  background: var(--red-50);
  color: var(--red-600);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-title span {
  color: var(--blue-400);
}

.section-title .red {
  color: var(--red-600);
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================
   PAGE ACCUEIL
   ============================================ */

/* Hero v2 — Jovial with book showcase */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 40%, var(--blue-400) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.18) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--red-400), var(--red-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero books showcase */
.hero-books-showcase {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-book {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-book.hb-main {
  width: 240px;
  height: 320px;
  z-index: 4;
  transform: rotate(-2deg);
}

.hero-book.hb-main:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.hero-book.hb-left {
  width: 180px;
  height: 240px;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  z-index: 3;
}

.hero-book.hb-left:hover {
  transform: translateY(-55%) rotate(-4deg) scale(1.06);
  z-index: 5;
}

.hero-book.hb-right {
  width: 180px;
  height: 240px;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(6deg);
  z-index: 3;
}

.hero-book.hb-right:hover {
  transform: translateY(-55%) rotate(2deg) scale(1.06);
  z-index: 5;
}

.hero-book.hb-back {
  width: 160px;
  height: 210px;
  top: 10px;
  right: 60px;
  transform: rotate(10deg);
  z-index: 2;
  opacity: 0.85;
}

.hero-book.hb-back:hover {
  transform: rotate(5deg) scale(1.06);
  opacity: 1;
  z-index: 5;
}

/* Floating decorative elements */
.hero-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-deco-star {
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  animation: floatStar 3s ease-in-out infinite;
}

@keyframes floatStar {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-12px) rotate(15deg); opacity: 1; }
}

.hero-deco-circle {
  border-radius: 50%;
  animation: floatCircle 5s ease-in-out infinite;
}

.dc-1 {
  width: 80px;
  height: 80px;
  background: rgba(220,38,38,0.12);
  top: 20px;
  left: 40px;
  animation-delay: 0s;
}

.dc-2 {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.06);
  bottom: 30px;
  right: 20px;
  animation-delay: 1.5s;
}

.dc-3 {
  width: 50px;
  height: 50px;
  background: rgba(37,99,235,0.15);
  top: 50%;
  left: 50%;
  animation-delay: 0.8s;
}

@keyframes floatCircle {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.15) translateY(-10px); }
}

/* Stats Bar */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 28px 20px;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: var(--gray-200);
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-400);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number .red { color: var(--red-600); }

.stat-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* Services */
.services-section {
  padding: 80px 0;
}

.services-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.services-section .section-desc {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-400);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:nth-child(2)::before {
  background: var(--red-600);
}
.service-card:nth-child(2):hover {
  border-color: var(--red-200);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.si-blue { background: var(--blue-50); color: var(--blue-400); }
.si-red { background: var(--red-50); color: var(--red-600); }
.si-dark { background: var(--gray-100); color: var(--gray-700); }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-400);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 10px;
}

/* Publications Showcase */
.publications-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.publications-section .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.book-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.book-cover {
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.book-card:hover .book-cover img {
  transform: scale(1.05);
}

.book-cover .pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
                     radial-gradient(circle at 80% 20%, white 1px, transparent 1px),
                     radial-gradient(circle at 60% 80%, white 1px, transparent 1px);
  background-size: 60px 60px;
}

.bc-blue { background: linear-gradient(135deg, var(--blue-700), var(--blue-400)); }
.bc-red { background: linear-gradient(135deg, var(--red-800), var(--red-500)); }
.bc-dark { background: linear-gradient(135deg, var(--gray-800), var(--gray-600)); }
.bc-mix { background: linear-gradient(135deg, var(--blue-800), var(--red-700)); }

.book-cover-text {
  color: var(--white);
  text-align: center;
  position: relative;
  z-index: 1;
}

.book-cover-text .book-icon {
  font-size: 28px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.book-cover-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.book-cover-sub {
  font-size: 12px;
  opacity: 0.75;
}

.book-body {
  padding: 18px;
}

.book-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.bt-blue { background: var(--blue-50); color: var(--blue-500); }
.bt-red { background: var(--red-50); color: var(--red-600); }
.bt-gray { background: var(--gray-100); color: var(--gray-700); }
.bt-mix { background: linear-gradient(135deg, var(--blue-50), var(--red-50)); color: var(--blue-700); }

.book-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.book-desc {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.2) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.cta-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}

.cta-feature span {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

/* Littérature Section */
.litterature-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.litterature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.litterature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.litterature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-400);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.litterature-card:nth-child(2)::before {
  background: var(--red-600);
}

.litterature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
}

.litterature-card:nth-child(2):hover {
  border-color: var(--red-200);
}

.litterature-card:hover::before {
  transform: scaleX(1);
}

.litterature-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.li-blue { background: var(--blue-50); color: var(--blue-400); }
.li-red { background: var(--red-50); color: var(--red-600); }

.litterature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.litterature-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Authors page */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.author-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.author-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.aa-blue { background: var(--blue-100); color: var(--blue-500); }
.aa-red { background: var(--red-100); color: var(--red-600); }

.author-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.author-role {
  font-size: 13px;
  color: var(--blue-400);
  font-weight: 600;
  margin-bottom: 12px;
}

.author-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Collection detail page */
.collection-intro {
  padding: 80px 0;
}

.collection-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.collection-intro-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.collection-intro-text p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.collection-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.collection-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all var(--transition);
}

.collection-feature:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}

.collection-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cfi-blue { background: var(--blue-50); color: var(--blue-400); }
.cfi-red { background: var(--red-50); color: var(--red-600); }

.collection-feature span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

/* Footer */
.footer {
  background: var(--blue-900);
  padding: 60px 0 0;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-icon {
  background: rgba(255,255,255,0.1);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 12px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--blue-400);
  color: var(--white);
}

.footer h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.footer ul a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   PAGE ACTIVITÉS
   ============================================ */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.12) 0%, transparent 70%);
}

.page-hero .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.page-hero .breadcrumb a:hover {
  color: var(--white);
}

.page-hero .breadcrumb span {
  color: rgba(255,255,255,0.8);
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto;
}

/* Activity Cards */
.activities-section {
  padding: 80px 0;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.activity-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.activity-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.activity-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.activity-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.activity-card.featured .activity-img {
  height: 100%;
  min-height: 300px;
}

.activity-img-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,0.3);
}

.ai-blue { background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); }
.ai-red { background: linear-gradient(135deg, var(--red-700), var(--red-500)); }
.ai-dark { background: linear-gradient(135deg, var(--blue-900), var(--blue-600)); }
.ai-mix { background: linear-gradient(135deg, var(--blue-700), var(--red-600)); }

.activity-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.activity-date .day {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-400);
  line-height: 1;
}

.activity-date .month {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
}

.activity-body {
  padding: 24px;
}

.activity-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.at-blue { background: var(--blue-50); color: var(--blue-500); }
.at-red { background: var(--red-50); color: var(--red-600); }

.activity-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.activity-card.featured .activity-body h3 {
  font-size: 22px;
}

.activity-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.activity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.activity-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.activity-author-info .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
}

.activity-author-info .role {
  font-size: 11px;
  color: var(--gray-400);
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-400);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.read-more:hover { gap: 8px; }

/* Timeline */
.timeline-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.timeline {
  max-width: 700px;
  margin: 40px auto 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

.timeline-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.td-blue { background: var(--blue-400); }
.td-red { background: var(--red-600); }

.timeline-content {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px;
  flex: 1;
}

.timeline-content .year {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-400);
  margin-bottom: 6px;
}

.timeline-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   PAGE CONTACT
   ============================================ */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}

.contact-info-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cci-blue { background: var(--blue-50); color: var(--blue-400); }
.cci-red { background: var(--red-50); color: var(--red-600); }

.contact-card-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-card-text p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-card-text a {
  color: var(--blue-400);
  font-weight: 500;
}

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.contact-form-box > p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

/* Map placeholder */
.map-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
  border: 1px solid var(--gray-200);
}

.map-placeholder i {
  font-size: 40px;
  color: var(--gray-400);
}

.map-placeholder p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1 { font-size: 36px; }
  .hero-text { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-books-showcase {
    height: 360px;
  }
  .hero-book.hb-main { width: 200px; height: 270px; }
  .hero-book.hb-left { width: 140px; height: 190px; }
  .hero-book.hb-right { width: 140px; height: 190px; }
  .hero-book.hb-back { width: 120px; height: 160px; }
  .services-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-box { grid-template-columns: 1fr; padding: 40px 32px; }
  .activities-grid { grid-template-columns: 1fr; }
  .activity-card.featured { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .litterature-grid { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-intro-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
    border-top: 1px solid var(--gray-100);
  }
  .hamburger { display: flex; }
  .hero { padding: 120px 0 40px; }
  .hero h1 { font-size: 36px; }
  .hero-books-showcase {
    height: 300px;
  }
  .hero-book.hb-main { width: 160px; height: 220px; }
  .hero-book.hb-left { width: 110px; height: 150px; left: 5px; }
  .hero-book.hb-right { width: 110px; height: 150px; right: 5px; }
  .hero-book.hb-back { width: 100px; height: 135px; right: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .books-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .page-hero h1 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .authors-grid { grid-template-columns: 1fr; }
  .author-card { padding: 24px 20px; }
  .author-avatar { width: 64px; height: 64px; font-size: 22px; }
  .author-card h3 { font-size: 16px; }
  .author-card p { font-size: 13px; }
  .collection-intro { padding: 48px 0; }
  .collection-intro-grid { gap: 32px; }
  .collection-intro-text h2 { font-size: 26px; }
  .collection-intro-text p { font-size: 14px; }
  .collection-feature { padding: 14px 16px; }
  .collection-feature-icon { width: 38px; height: 38px; font-size: 18px; }
  .collection-feature span { font-size: 13px; }
  .publications-section .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-box { padding: 32px 20px; border-radius: var(--radius-lg); }
  .cta-content h2 { font-size: 24px; }
  .cta-content p { font-size: 14px; }
  .cta-feature { padding: 12px 14px; }
  .cta-feature-icon { width: 36px; height: 36px; font-size: 16px; }
  .cta-feature span { font-size: 13px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .page-hero { padding: 110px 0 40px; }
  .page-hero p { font-size: 15px; }
  .litterature-card { padding: 28px 20px; }
  .litterature-card h3 { font-size: 18px; }
  .litterature-card p { font-size: 14px; }
  .litterature-icon { width: 56px; height: 56px; font-size: 26px; }
  .litterature-section { padding: 48px 0; }
  .services-section { padding: 48px 0; }
  .publications-section { padding: 48px 0; }
  .cta-section { padding: 48px 0; }
  .section-tag { font-size: 12px; padding: 5px 12px; }
}
