/* =====================================================
   nolwenn.css — Charte graphique Nolwenn Martin
   Hypnothérapeute Vendée (85)
   Éco-conception : CSS minimal, pas de framework lourd
   ===================================================== */

/* Typographie fluide — s'adapte à tous les écrans :
   mobile (320px) → 16px  |  tablette (768px) → 18px
   laptop (1440px) → 21px  |  desktop+ (1600px+) → 22px   */
html {
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.375rem);
}

/* Variables */
:root {
  --cream:      #F9F5F0;
  --sand:       #EDE8E1;
  --terra:      #C97B6A;
  --terra-dark: #A85F50;
  --sage:       #8A9E89;
  --brown:      #3A2E2A;
  --taupe:      #8B7D75;
  /* Variantes AA (contraste ≥ 4,5:1 sur fonds crème/sable) pour le texte */
  --terra-text: #9A5343;
  --sage-text:  #52674F;
  --taupe-text: #6E6058;
  /* Variantes pour fonds bruns (footer, sections sombres) */
  --taupe-on-dark: #B8ACA4;
  --terra-on-dark: #D9998A;
}

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

/* Base */
body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: var(--brown);
  background-color: var(--cream);
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.8;
}

/* Typographie */
h1 { font-family: 'Cormorant Garamond', serif; font-style: italic; line-height: 1.2; }
h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.3; }
.italic-serif { font-family: 'Cormorant Garamond', serif; font-style: italic; }
.label-upper {
  font-family: 'Lato', sans-serif;
  font-size: max(0.7rem, 12px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-text);
  display: block;
}
.terra-line {
  display: block;
  width: 44px;
  height: 2px;
  background: var(--terra);
  margin: 1.25rem auto;
}

/* ─── Marquee défilant ───────────────────────────────── */
.marquee-wrap { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex;
  animation: marquee 32s linear infinite;
}
.marquee-track span { padding: 0 2rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Rangées par âge (sans cards) ──────────────────── */
.age-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: baseline;
  gap: 2rem;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(58,46,42,.1);
  text-decoration: none;
  transition: background .3s;
}
.age-row:last-child { border-bottom: 1px solid rgba(58,46,42,.1); }
.age-row:hover { background: rgba(201,123,106,.05); padding-left: 1rem; padding-right: 1rem; margin: 0 -1rem; }
.age-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: .85rem;
  color: rgba(58,46,42,.75);
  font-weight: 600;
  letter-spacing: .08em;
  transition: color .3s;
}
.age-row:hover .age-num { color: var(--terra-text); }
.age-arrow { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; color: var(--terra); font-size: 1.2rem; }
.age-row:hover .age-arrow { opacity: 1; transform: translateX(0); }

/* ─── Split section (approche) ───────────────────────── */
.split-img {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ─── Portrait éditorial ─────────────────────────────── */
.editorial-portrait {
  display: grid;
  grid-template-columns: 55% 1fr;
  min-height: 80vh;
}
@media (max-width: 768px) { .editorial-portrait { grid-template-columns: 1fr; } }

/* ─── Hero : photo plein hauteur côté droit ─────────── */
.hero-photo-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.hero-photo-panel img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  /* Légère teinte chaude — charte graphique */
  filter: sepia(20%) saturate(1.15) brightness(1.0) hue-rotate(-5deg);
}
/* Dégradé crème → transparent : efface toute démarcation */
.hero-photo-fade {
  position: absolute;
  left: 0; top: 0;
  width: 65%; height: 100%;
  background: linear-gradient(to right,
    var(--cream) 0%,
    rgba(249,245,240,.85) 35%,
    rgba(249,245,240,.3) 65%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}
/* Colonne texte hero */
.hero-text-col {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem clamp(1.5rem, 3vw, 4rem) 5rem clamp(1.5rem, 7vw, 8rem);
  max-width: 54%;
}
/* Badge flottant "15 ans" */
.hero-badge {
  position: absolute;
  bottom: 12%;
  left: 47%;
  background: white;
  border-radius: 6px;
  padding: .9rem 1.4rem;
  box-shadow: 0 16px 56px rgba(58,46,42,.14);
  z-index: 11;
}

/* Mobile : photo en haut, texte en dessous */
@media (max-width: 768px) {
  .hero-photo-panel {
    position: relative;
    width: 100%;
    height: 65vw;
    min-height: 260px;
    max-height: 400px;
    clip-path: none;
  }
  .hero-photo-fade {
    width: 100%; height: 55%;
    top: auto; bottom: 0; left: 0;
    background: linear-gradient(to top, var(--cream), transparent);
  }
  .hero-text-col {
    max-width: 100%;
    min-height: auto;
    padding: 2.5rem 1.5rem 4rem;
  }
  .hero-badge { display: none; }
}

/* ─── Bande chiffres clés ────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}
.stat-item { text-align: center; padding: 1.25rem 1.5rem; min-width: 0; overflow-wrap: break-word; }
@media (max-width: 400px) {
  .stat-item { padding: 1rem .5rem; }
  .stat-item * { letter-spacing: .06em !important; }
}
@media (max-width: 768px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none !important; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(249,245,240,.08); }
  /* "Pour tout âge" seul sur la 3e ligne : occupe toute la largeur → centré */
  .stat-item:nth-child(3) { grid-column: 1 / -1; }
}

/* ─── Blobs SVG animés ───────────────────────────────── */
@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  33%       { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  66%       { border-radius: 50% 50% 40% 60% / 40% 70% 30% 60%; }
}
.blob     { animation: blobMorph  8s ease-in-out infinite; }
.blob-alt { animation: blobMorph 11s ease-in-out infinite 3s; }

/* ─── Reveal au scroll ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Séparateurs vague ──────────────────────────────── */
.wave-sep { overflow: hidden; line-height: 0; display: block; }
.wave-sep svg { display: block; }

/* ─── Navigation ─────────────────────────────────────── */
#navbar {
  transition: background .4s ease, box-shadow .4s ease;
}
#navbar.scrolled {
  background: rgba(249,245,240,.96) !important;
  box-shadow: 0 1px 24px rgba(58,46,42,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-link {
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--brown);
  text-decoration: none;
  position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--terra);
  transition: width .3s ease;
}
.nav-link:hover { color: var(--terra); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--terra); }
.nav-link.active::after { width: 100%; }

/* ─── Dropdown de navigation (Accompagnements) ─── */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 180px;
  background: var(--cream);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(58,46,42,.16);
  padding: .5rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 60;
}
/* pont invisible pour ne pas perdre le survol entre le lien et le menu */
.nav-drop-menu::before {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}
.nav-drop-menu a {
  display: block;
  padding: .55rem .9rem;
  border-radius: 9px;
  font-family: 'Lato', sans-serif;
  font-size: .84rem;
  color: var(--brown);
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-drop-menu a:hover { background: rgba(201,123,106,.1); color: var(--terra-text); }

/* Ancres de la page Accompagnements : décalage sous la barre de nav fixe */
#bebes, #enfants, #adolescents, #adultes { scroll-margin-top: 40px; }

/* ─── Boutons ────────────────────────────────────────── */
.btn-primary {
  background: var(--terra-dark);
  color: white;
  padding: .85rem 1.9rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  letter-spacing: .07em;
  font-size: .82rem;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border: none;
  transition: background .3s, transform .2s, box-shadow .3s;
}
.btn-primary:hover {
  background: #8F4D3F;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,123,106,.38);
  color: white;
}
.btn-ghost {
  border: 1.5px solid var(--terra-dark);
  color: var(--terra-text);
  padding: .85rem 1.9rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  letter-spacing: .07em;
  font-size: .82rem;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  background: transparent;
  transition: all .3s;
}
.btn-ghost:hover {
  background: var(--terra-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,123,106,.28);
}
.btn-white {
  background: white;
  color: var(--terra-text);
  padding: .85rem 1.9rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  letter-spacing: .07em;
  font-size: .82rem;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all .3s;
}
.btn-white:hover {
  background: var(--brown);
  color: white;
  transform: translateY(-2px);
}

/* ─── Cards ──────────────────────────────────────────── */
.card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(58,46,42,.1);
}
.card-sage { border-left: 3px solid var(--sage); }
.card-terra { border-left: 3px solid var(--terra); }

/* ─── Photo organique ────────────────────────────────── */
.organic {
  border-radius: 68% 32% 54% 46% / 44% 56% 44% 56%;
  overflow: hidden;
}

/* ─── Hamburger ──────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Zone tactile 44×44 px (18 px de traits + marges internes) */
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  z-index: 200;
  position: relative;
  padding: 13px 10px;
  margin: -13px -10px;
  box-sizing: border-box;
  /* iOS/Safari : neutralise le style natif des boutons */
  -webkit-appearance: none;
  appearance: none;
  color: var(--brown);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  flex-shrink: 0;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── Menu mobile ────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(249,245,240,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Sous la barre de nav (z-50) : le bouton burger/croix reste visible et cliquable */
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--brown);
  text-decoration: none;
  padding: .5rem 1rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease, color .2s;
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .10s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .20s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .25s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .30s; }
.mobile-menu.open a:nth-child(7) { transition-delay: .35s; }
.mobile-menu a:hover { color: var(--terra); }

/* ─── Bouton flottant mobile ─────────────────────────── */
.float-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--terra);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(201,123,106,.5);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
  z-index: 49;
}
.float-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(201,123,106,.6);
  color: white;
}
@media (min-width: 1024px) { .float-call { display: none; } }

/* ─── Hero intérieur (pages secondaires) ─────────────── */
.page-hero {
  background-color: var(--sand);
  background-size: cover;
  background-position: center top;
  padding: 9rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Overlay crème sur image de fond */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(249,245,240,.93) 0%,
    rgba(249,245,240,.82) 55%,
    rgba(237,232,225,.70) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* ─── Cards techniques avec image + hover reveal ──────── */
.tool-card-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 480px;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease, box-shadow .4s ease;
}
.tool-card-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(58,46,42,.22);
}
.tool-card-img .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(58,46,42,.90) 0%,
    rgba(58,46,42,.42) 52%,
    rgba(58,46,42,.12) 100%
  );
  transition: background .45s ease;
}
.tool-card-img:hover .card-overlay {
  background: rgba(58,46,42,.82);
}
.tool-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 1.8rem 2rem;
  color: white;
  z-index: 1;
}
.tool-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: .6rem;
  transition: transform .4s ease;
}
.tool-card-img:hover .tool-card-title { transform: translateY(-4px); }
.tool-card-tags {
  display: flex; flex-wrap: wrap; gap: .35rem;
  max-height: 60px; overflow: hidden;
  transition: opacity .35s, transform .35s, max-height .35s, margin .35s;
}
.tool-card-img:hover .tool-card-tags { opacity: 0; transform: translateY(6px); max-height: 0; margin-top: 0; }
.tool-card-tag {
  font-size: max(.67rem, 12px);
  padding: .2rem .65rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.38);
  color: rgba(255,255,255,.78);
  letter-spacing: .06em;
  font-family: 'Lato', sans-serif;
}
.tool-card-body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: .85rem;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height .5s ease, opacity .4s ease, margin .4s ease;
}
.tool-card-img:hover .tool-card-body {
  max-height: 440px;
  opacity: 1;
  margin-top: .6rem;
}

/* ─── Cards accompagnements image + hover ─────────────── */
.accom-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  background-size: cover;
  background-position: center;
  display: block;
  text-decoration: none;
  transition: transform .4s ease, box-shadow .4s ease;
}
.accom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(58,46,42,.26);
}
.accom-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(58,46,42,.92) 0%,
    rgba(58,46,42,.38) 55%,
    rgba(58,46,42,.08) 100%
  );
  transition: background .4s ease;
}
.accom-card:hover .card-overlay { background: rgba(58,46,42,.80); }
.accom-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  color: white;
  z-index: 1;
}
.accom-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(201,123,106,.75);
  display: block;
  margin-bottom: .3rem;
}
.accom-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: .2rem;
}
.accom-card-body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height .5s ease, opacity .4s ease, margin .4s ease;
}
.accom-card:hover .accom-card-body { max-height: 120px; opacity: 1; margin-top: .6rem; }
.accom-card-cta {
  display: inline-block;
  margin-top: .9rem;
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--terra);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s .05s, transform .4s .05s;
}
.accom-card:hover .accom-card-cta { opacity: 1; transform: translateY(0); }

/* ─── Étoiles témoignages ────────────────────────────── */
.stars { color: var(--terra); letter-spacing: .1em; }

/* ─── FAQ accordion ──────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(139,125,117,.2); }
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--brown);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  line-height: 1.4;
}
.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--terra);
  font-size: .9rem;
  transition: transform .35s ease, background .3s, color .3s;
}
.faq-btn.open .faq-icon {
  transform: rotate(45deg);
  background: var(--terra);
  color: white;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  font-weight: 300;
  color: var(--taupe);
  line-height: 1.8;
  font-size: 1rem;
}
.faq-answer.open { max-height: 600px; padding-bottom: 1.5rem; }

/* ─── Formulaire contact ─────────────────────────────── */
.form-field {
  width: 100%;
  padding: .9rem 1.2rem;
  background: white;
  border: 1.5px solid #E0D9D3;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--brown);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  appearance: none;
  -webkit-appearance: none;
}
.form-field:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(201,123,106,.12);
}
.form-field::placeholder { color: var(--taupe); opacity: .7; }
label.form-label {
  font-family: 'Lato', sans-serif;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--taupe-text);
  display: block;
  margin-bottom: .4rem;
}

/* ─── Bulle d'aide (info-tooltip) ───────────────────── */
.info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201,123,106,.15);
  color: var(--terra-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}
.info-tooltip .info-tooltip-content {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(220px, calc(100vw - 3rem));
  background: var(--brown);
  color: #F9F5F0;
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: normal;
  padding: .7rem .9rem;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  pointer-events: none;
  z-index: 20;
}
.info-tooltip .info-tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--brown);
}
.info-tooltip:hover .info-tooltip-content,
.info-tooltip:focus .info-tooltip-content,
.info-tooltip:focus-within .info-tooltip-content {
  opacity: 1;
  visibility: visible;
}

/* Petits écrans : la 2e bulle s'ouvre vers la gauche pour ne pas sortir de l'écran */
@media (max-width: 480px) {
  .info-tooltip--end .info-tooltip-content { left: auto; right: -8px; transform: none; }
  .info-tooltip--end .info-tooltip-content::after { left: auto; right: 14px; transform: none; }
}

/* ─── Timeline (comment ça marche) ──────────────────── */
.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: rgba(201,123,106,.15);
  line-height: 1;
  font-weight: 600;
}

/* ─── Texture grain ──────────────────────────────────── */
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.032'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ─── Utilitaires ────────────────────────────────────── */
.text-terra  { color: var(--terra-text); }
.text-sage   { color: var(--sage-text); }
.text-brown  { color: var(--brown); }
.text-taupe  { color: var(--taupe); }
.text-cream  { color: var(--cream); }
.bg-cream    { background: var(--cream); }
.bg-sand     { background: var(--sand); }
.bg-terra    { background: var(--terra); }
.bg-brown    { background: var(--brown); }
.bg-sage-light { background: rgba(138,158,137,.1); }

/* ─── Accessibilité ──────────────────────────────────── */
/* Lien d'évitement : visible uniquement au focus clavier */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  background: var(--brown);
  color: var(--cream);
  padding: .75rem 1.25rem;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: .9rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }
/* Points du carrousel : zone tactile 24×24 px autour du point de 8 px */
.testi-dot { box-sizing: content-box; background-clip: content-box !important; padding: 8px !important; }
/* Contraste AA : texte courant assombri sur fonds clairs (n'affecte pas les footers en var(--taupe)) */
body .text-taupe { color: var(--taupe-text); }
body .text-terra { color: var(--terra-text); }
footer .hover\:text-terra:hover { color: var(--terra-on-dark); }
/* Focus clavier visible */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--terra-dark);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Respect de la préférence "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cursor, .cursor-ring { display: none !important; }
}

/* ─── Responsive helpers ─────────────────────────────── */

/* Navigation : les libellés ne passent jamais sur 2 lignes ;
   entre 1024 et 1279 px, espacements réduits pour tenir sur une ligne */
.nav-desktop a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-desktop { gap: 1.1rem !important; }
  #navbar { padding-left: 1.75rem !important; padding-right: 1.75rem !important; }
  .nav-desktop .btn-primary { padding: .6rem 1.1rem !important; }
}
/* Pied de page : zones tactiles d'au moins 24 px de haut */
footer a { min-height: 24px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
/* Cases à cocher plus faciles à toucher */
input[type="checkbox"] { width: 1.15rem; height: 1.15rem; }

/* Téléphone portrait */
@media (max-width: 480px) {
  .mobile-px { padding-left: 1.25rem; padding-right: 1.25rem; }
  .age-row { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .age-row:hover { padding-left: 0; padding-right: 0; margin: 0; }
}

/* Téléphone — portrait et paysage */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(2.8rem, 10vw, 5rem) !important; line-height: 1.1 !important; }
  .age-row { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .age-row:hover { padding-left: 0; padding-right: 0; margin: 0; }
}

/* Téléphone paysage spécifique */
@media (max-height: 500px) and (orientation: landscape) {
  .editorial-portrait { grid-template-columns: 50% 1fr; min-height: auto; }
}

/* Tablette paysage */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .editorial-portrait { grid-template-columns: 50% 1fr; }
}

/* Ultra-large : espacement et colonnes plus généreux */
@media (min-width: 1920px) {
  .max-w-5xl { max-width: 68rem; }
  .max-w-6xl { max-width: 80rem; }
  .max-w-4xl { max-width: 58rem; }
  .max-w-3xl { max-width: 50rem; }
  section[style*="padding:7rem"],
  section[style*="padding:8rem"] { padding-top: 10rem; padding-bottom: 10rem; }
}

/* ─── Print ──────────────────────────────────────────── */
@media print {
  .float-call, #navbar, .mobile-menu, .cursor, .cursor-ring { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* ─── Méthode CEVE : métaphore & liens presse ─────────── */
.ceve-metaphor {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.ceve-river {
  display: block;
  width: 120px;
  height: 12px;
  margin: 0 auto 1.5rem;
  fill: none;
  stroke: var(--sage);
  stroke-width: 2;
  stroke-linecap: round;
}
.ceve-metaphor .ceve-river:last-child { margin: 2rem auto 0; }
.ceve-metaphor-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--brown);
  margin-top: .75rem;
}
.ceve-metaphor-key {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--terra-text);
  margin-top: 1.5rem;
  line-height: 1.7;
}
.ceve-metaphor-key::before {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: var(--terra);
  margin: 0 auto 1.25rem;
}

.ceve-link {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--brown);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ceve-link:hover, .ceve-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(58,46,42,.1);
}
.ceve-link:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.ceve-link-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,123,106,.1);
  color: var(--terra);
  display: flex; align-items: center; justify-content: center;
}
.ceve-link-icon svg { width: 22px; height: 22px; }
.ceve-link-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  line-height: 1.4;
  margin: .35rem 0 .5rem;
}
.ceve-link-cta { font-size: .8rem; color: var(--terra-text); letter-spacing: .04em; }

/* Portrait éditorial inversé : image à droite, texte à gauche (à partir de la tablette).
   Évite deux photos l'une sous l'autre après la section « Corps et esprit ». */
@media (min-width: 769px) {
  .editorial-portrait--reverse { grid-template-columns: minmax(0, 1fr) 55%; }
  .editorial-portrait--reverse > :first-child { order: 2; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .editorial-portrait--reverse { grid-template-columns: minmax(0, 1fr) 50%; }
}

/* Mobile & tablette : barre de nav toujours sur fond crème translucide
   → « Nolwenn Martin » et le bouton menu restent lisibles au-dessus des photos */
@media (max-width: 1023px) {
  #navbar {
    background: rgba(249,245,240,.9);
    box-shadow: 0 1px 18px rgba(58,46,42,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: .8rem;
    padding-bottom: .8rem;
  }
}
