/**
 * Homepage CSS — Stage Découverte
 * Design system de la page d'accueil (extrait de homepagedesign/index.html)
 */

/* ========= DESIGN TOKENS ========= */
:root {
  --cream: #F5F0E6;
  --cream-deep: #EDE4D3;
  --paper: #FBF8F2;
  --ink: #1C2826;
  --ink-soft: #3A4845;
  --teal: #0F3B36;
  --teal-deep: #0A2825;
  --teal-bright: #1B6258;
  --ochre: #D97842;
  --ochre-soft: #E8A579;
  --rose: #E8B4A0;
  --sand: #D4C5A9;
  --line: rgba(28, 40, 38, 0.12);
  --line-soft: rgba(28, 40, 38, 0.06);
  --shadow-soft: 0 1px 2px rgba(28, 40, 38, 0.04), 0 8px 24px rgba(28, 40, 38, 0.06);
  --shadow-lift: 0 2px 4px rgba(28, 40, 38, 0.06), 0 20px 60px rgba(28, 40, 38, 0.12);
}

/* ========= BASE ========= */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-optical-sizing: auto;
}

.italic { font-style: italic; }

a { color: inherit; text-decoration: none; }

/* ========= GRAIN OVERLAY ========= */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.15 0 0 0 0 0.14 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========= LAYOUT ========= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========= NAV ========= */
nav.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 230, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 23px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-mark {
  width: 32px;
  height: 32px;
  position: relative;
}

.logo-mark svg { width: 100%; height: 100%; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-link:hover { color: var(--ink); background: rgba(28, 40, 38, 0.05); }

.nav-link.contact { border: 1px solid var(--line); }

.nav-link.primary {
  background: var(--teal);
  color: var(--cream);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link.primary:hover { background: var(--teal-deep); }

.nav-caret {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-dropdown { position: relative; }

.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 4px 6px rgba(28,40,38,0.06), 0 20px 60px rgba(28,40,38,0.14);
  min-width: 260px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
  margin-bottom: 2px;
}

.nav-dropdown-item:last-child { margin-bottom: 0; }

.nav-dropdown-item:hover { background: var(--cream); }

.nav-dropdown-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.nav-dropdown-item small {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 2px;
  opacity: 0.8;
}

.nav-dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-dropdown-icon-parent {
  background: rgba(15,59,54,0.1);
  color: var(--teal);
}

.nav-dropdown-icon-child {
  background: rgba(217,120,66,0.12);
  color: var(--ochre);
}

/* ========= HERO ========= */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 28px;
  padding: 7px 14px;
  background: rgba(27, 98, 88, 0.08);
  border-radius: 999px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ochre);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

h1.hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 6.4vw, 94px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 32px;
}

h1.hero-title .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--ochre);
  position: relative;
  display: inline;
}

h1.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 0.08em;
  left: 0;
  right: 0;
  height: 0.12em;
  background: rgba(217, 120, 66, 0.22);
  z-index: -1;
  border-radius: 4px;
}

.hero-lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 44px;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.meta-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  flex-shrink: 0;
}

.meta-icon svg { width: 12px; height: 12px; }

/* ========= HERO VISUAL ========= */
.hero-visual {
  position: relative;
  height: 520px;
}

.visual-card {
  position: absolute;
  background: var(--paper);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line-soft);
}

.card-student {
  top: 0;
  right: 0;
  width: 320px;
  transform: rotate(2.5deg);
  animation: floatA 8s ease-in-out infinite;
}

.card-parent {
  bottom: 30px;
  left: 0;
  width: 290px;
  transform: rotate(-3deg);
  animation: floatB 9s ease-in-out infinite;
}

.card-chat {
  top: 200px;
  left: 130px;
  width: 240px;
  transform: rotate(1deg);
  animation: floatC 7s ease-in-out infinite;
  z-index: 3;
}

@keyframes floatA {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-12px); }
}
@keyframes floatB {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-8px); }
}
@keyframes floatC {
  0%, 100% { transform: rotate(1deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-10px); }
}

.card-header-hp {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar-hp {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Instrument Serif', serif;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.avatar-hp.a { background: var(--ochre); color: var(--paper); }
.avatar-hp.b { background: var(--teal); color: var(--cream); }
.avatar-hp.c { background: var(--sand); color: var(--teal-deep); }

.card-name-hp { font-weight: 600; font-size: 14.5px; }
.card-role-hp { font-size: 12.5px; color: var(--ink-soft); }
.card-body-hp { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--teal-bright);
  background: rgba(27, 98, 88, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 12px;
}

.verified-badge svg { width: 11px; height: 11px; }

.chat-bubble {
  background: var(--cream);
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--ink);
}

.chat-bubble.me {
  background: var(--teal);
  color: var(--cream);
  border-radius: 14px 14px 4px 14px;
  margin-left: 30px;
}

/* Decorative blobs */
.blob {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.blob-1 {
  top: -80px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 120, 66, 0.18), transparent 70%);
}

.blob-2 {
  bottom: -60px;
  left: 100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(27, 98, 88, 0.15), transparent 70%);
}

/* ========= SECTIONS ========= */
.section { padding: 100px 0; position: relative; }

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

.section-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal-bright);
  margin-bottom: 18px;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 400;
  max-width: 760px;
  margin: 0 auto;
}

.section-title .italic { color: var(--ochre); }

/* ========= DUAL ENTRY ========= */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.entry-card {
  position: relative;
  padding: 48px 44px 44px;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  cursor: pointer;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.entry-card.young {
  background: linear-gradient(150deg, #FFE8D4 0%, #FFCFA8 100%);
  color: var(--teal-deep);
}

.entry-card.adult {
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--cream);
}

.entry-card .corner-shape {
  position: absolute;
  pointer-events: none;
}

.entry-card.young .corner-shape {
  top: -60px;
  right: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
  border-radius: 50%;
}

.entry-card.adult .corner-shape {
  top: -60px;
  right: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(217, 120, 66, 0.3), transparent 70%);
  border-radius: 50%;
}

.entry-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 28px;
  align-self: flex-start;
}

.entry-card.young .entry-tag {
  background: rgba(15, 59, 54, 0.12);
  color: var(--teal-deep);
}

.entry-card.adult .entry-tag {
  background: rgba(245, 240, 230, 0.15);
  color: var(--cream);
}

.entry-title {
  font-family: 'Instrument Serif', serif;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin-bottom: 20px;
}

.entry-title .italic { font-style: italic; }
.entry-card.adult .entry-title .italic { color: var(--ochre-soft); }

.entry-desc {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 420px;
}

.entry-features {
  list-style: none;
  margin-bottom: 36px;
}

.entry-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  padding: 8px 0;
  opacity: 0.92;
}

.entry-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

.entry-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.entry-card.young .entry-cta {
  background: var(--teal-deep);
  color: var(--cream);
}

.entry-card.young .entry-cta:hover { background: var(--ink); transform: translateX(4px); }

.entry-card.adult .entry-cta {
  background: var(--ochre);
  color: var(--paper);
}

.entry-card.adult .entry-cta:hover { background: #C56A38; transform: translateX(4px); }

.entry-cta-arrow {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

/* ========= TRUST SECTION ========= */
.trust {
  background: var(--teal-deep);
  color: var(--cream);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(217, 120, 66, 0.12), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(27, 98, 88, 0.35), transparent 50%);
  pointer-events: none;
}

.trust .section-label { color: var(--ochre-soft); }
.trust .section-title { color: var(--cream); }
.trust .section-title .italic { color: var(--ochre); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.trust-card {
  padding: 32px 26px;
  background: rgba(245, 240, 230, 0.05);
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.trust-card:hover {
  background: rgba(245, 240, 230, 0.08);
  transform: translateY(-4px);
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ochre), #B85F2D);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.trust-icon svg { width: 22px; height: 22px; color: var(--cream); }

.trust-title {
  font-family: 'Instrument Serif', serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.trust-desc {
  font-size: 14.5px;
  color: rgba(245, 240, 230, 0.72);
  line-height: 1.55;
}

/* ========= HOW IT WORKS ========= */
.steps-section {
  padding: 110px 0;
  background: var(--paper);
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: var(--cream);
  border-radius: 20px;
  border: 1px solid var(--line-soft);
}

.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--ochre);
  line-height: 0.9;
  margin-bottom: 18px;
  font-style: italic;
  letter-spacing: -0.04em;
}

.step-title {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.step-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ========= FINAL CTA ========= */
.final-cta {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

.final-cta-inner {
  background: var(--paper);
  border-radius: 32px;
  padding: 80px 64px;
  text-align: center;
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}

.final-cta-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(217, 120, 66, 0.18), transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin-bottom: 20px;
  position: relative;
}

.final-cta h2 .italic { color: var(--ochre); }

.final-cta p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-hp-primary {
  background: var(--teal);
  color: var(--cream);
}
.btn-hp-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }

.btn-hp-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-hp-secondary:hover { background: var(--cream-deep); }

/* ========= FOOTER ========= */
footer.site-footer-hp {
  background: var(--teal-deep);
  color: var(--cream);
  padding: 70px 0 32px;
}

.footer-top-hp {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.15);
}

.footer-brand-hp {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-tagline-hp {
  font-size: 15px;
  color: rgba(245, 240, 230, 0.7);
  max-width: 320px;
  line-height: 1.55;
}

.footer-col-hp h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 18px;
}

.footer-col-hp ul { list-style: none; }
.footer-col-hp li { margin-bottom: 11px; }
.footer-col-hp a {
  color: rgba(245, 240, 230, 0.65);
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.footer-col-hp a:hover { color: var(--cream); }

.footer-bottom-hp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 13.5px;
  color: rgba(245, 240, 230, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ========= ENTRANCE ANIMATIONS ========= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.25s; }
.fade-up.d3 { animation-delay: 0.4s; }
.fade-up.d4 { animation-delay: 0.55s; }
.fade-up.d5 { animation-delay: 0.7s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========= FAQ ========= */
.faq-section {
  padding: 110px 0;
  background: var(--paper);
}

.faq-list {
  max-width: 800px;
  margin: 64px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 4px;
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover { color: var(--teal-bright); }

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ochre);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-question svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer-inner {
  padding: 0 4px 24px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 480px; margin: 0 auto; max-width: 500px; width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-hp { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .nav-inner { padding: 14px 22px; }
  .logo { font-size: 19px; gap: 8px; }
  .logo-mark { width: 26px !important; height: 26px !important; }
  /* Masque tous les liens sauf le dropdown connexion */
  .nav-hide-mobile { display: none !important; }
  .nav-link.primary { padding: 10px 18px; font-size: 14px; }
  /* Dropdown positionné à droite sur mobile */
  .nav-dropdown-menu { right: -8px; min-width: 240px; }
  .hero { padding: 50px 0 70px; }
  .hero-visual { height: 440px; }
  .card-student { width: 260px; }
  .card-parent { width: 240px; }
  .card-chat { width: 200px; left: 60px; top: 180px; }
  .dual-grid { grid-template-columns: 1fr; }
  .entry-card { padding: 38px 32px; min-height: auto; }
  .entry-title { font-size: 34px; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .section, .steps-section, .faq-section, .final-cta, .trust { padding: 70px 0; }
  .final-cta-inner { padding: 56px 28px; }
  .footer-top-hp { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-hp { flex-direction: column; text-align: center; }
}
