/* ==========================================================================
   Cabinet de sages-femmes des Lilas — feuille de style
   Direction : éditoriale et douce. Papier chaud, arches, trait dessiné à la main.
   ========================================================================== */

/* === POLICES (hébergées localement) === */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/fraunces-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/figtree-latin.woff2') format('woff2');
}

/* === VARIABLES ===
   Contrastes vérifiés WCAG AA : --ink-soft, --clay-ink et --sage-ink ≥ 4.5:1 sur tous
   les fonds clairs ; texte blanc sur --clay-dark = 5.6:1. --clay et --sage sont décoratifs. */
:root {
  --paper:       #F7F1EA;
  --milk:        #FCF9F5;
  --sand:        #F1E6DB;
  --blush-soft:  #F5E6DE;
  --blush:       #EFD9CE;
  --sage-soft:   #E1EAE5;
  --line:        #E2D3C5;

  --clay:        #C4876E;
  --clay-light:  #E2B39C;
  --clay-dark:   #94583F;
  --clay-darker: #7E4A35;
  --clay-ink:    #85503C;
  --sage:        #9CBDB1;
  --sage-ink:    #3A6357;

  --ink:         #3D2B1F;
  --ink-soft:    #6B574C;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius:    18px;
  --radius-lg: 28px;
  --arch:      999px 999px var(--radius) var(--radius);
  --ease:      cubic-bezier(.22,.61,.36,1);
  --shadow:    0 18px 50px -24px rgba(61,43,31,0.28);

  /* Anciennes variables encore utilisées par la page mentions légales */
  --white: var(--milk); --beige: var(--sand); --beige-dark: var(--line);
  --brown: var(--ink); --brown-mid: var(--ink-soft); --brown-light: var(--ink-soft);
  --rose-ink: var(--clay-ink); --rose-dark: var(--clay-dark); --rose-light: var(--blush);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grain de papier très léger, pour sortir de l'aplat numérique */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.17 0 0 0 0 0.12 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* === TYPOGRAPHIE === */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  font-variation-settings: 'SOFT' 100, 'opsz' 96;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 350; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-variation-settings: 'SOFT' 100, 'opsz' 36; }
h4 { font-size: 1.15rem; font-variation-settings: 'SOFT' 100, 'opsz' 24; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--clay-ink); font-weight: 350; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--clay-ink);
  margin-bottom: 18px;
  font-variation-settings: 'SOFT' 100, 'opsz' 18;
}
.eyebrow::before, .section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* === MISE EN PAGE === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
section { padding: 120px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 { margin-bottom: 20px; }
.section-head p { font-size: 1.08rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* === BOUTONS & LIENS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-primary { background: var(--clay-dark); color: #fff; box-shadow: 0 10px 30px -12px rgba(148,88,63,.6); }
.btn-primary:hover { background: var(--clay-darker); transform: translateY(-2px); }
.btn-white { background: var(--milk); color: var(--clay-ink); }
.btn-white:hover { background: #fff; transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--clay-ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size .45s var(--ease);
}
.link-arrow .arr { margin-left: 10px; transition: transform .45s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .arr { transform: translateX(5px); }

.link-accent { color: var(--clay-ink); font-weight: 600; }
.link-accent:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-phone-lg { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }

/* === HEADER === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,241,234,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
header.scrolled { border-bottom-color: var(--line); background: rgba(247,241,234,0.94); }
nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }
/* Pas de display:flex sur .logo : il supprimerait les espaces autour du <span> */
.logo { display: block; min-width: 0; flex: 0 1 auto; }
.logo-text {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.2;
  font-variation-settings: 'SOFT' 100, 'opsz' 24;
}
.logo-text span { font-style: italic; color: var(--clay-ink); }
.logo-mark { width: 26px; height: 26px; vertical-align: -6px; margin-right: 8px; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 11px;
  white-space: nowrap;
  border-radius: 999px;
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: var(--ink); background: var(--sand); }
.nav-links a.active { color: var(--clay-ink); }
.nav-links a.nav-cta, .nav-links a.nav-cta.active { background: var(--clay-dark); color: #fff; padding: 10px 20px; font-weight: 600; margin-left: 8px; }
.nav-links a.nav-cta:hover { background: var(--clay-darker); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px 6px;
  background: none;
  border: none;
}
.burger span { display: block; width: 26px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .35s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-menu-cta { color: var(--clay-ink); font-style: italic; }

/* Statut d'ouverture */
.open-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.open-status.is-open { color: var(--sage-ink); border-color: #C8DAD2; background: rgba(225,234,229,.6); }
.open-status.is-closed { color: var(--ink-soft); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: var(--ink-soft); opacity: .5; }
.is-open .status-dot { background: var(--sage-ink); opacity: 1; animation: breathe 2.8s ease-in-out infinite; }

/* === HERO === */
.hero { padding: 72px 0 110px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.hero-text { min-width: 0; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 30px; }
.hero h1 em { position: relative; display: inline-block; white-space: nowrap; }
.scribble {
  position: absolute;
  left: -2%;
  bottom: -0.16em;
  width: 104%;
  height: 0.34em;
  overflow: visible;
  pointer-events: none;
}
.scribble path { stroke: var(--clay); stroke-width: 3; fill: none; stroke-linecap: round; }
.hero-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 560px;
  font-variation-settings: 'SOFT' 100, 'opsz' 24;
}
.hero-sub { max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; margin-bottom: 48px; }
.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 580px;
}
.hero-facts li { font-size: 0.9rem; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.hero-facts li.fact-new { color: var(--sage-ink); font-weight: 600; }

.hero-art { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 400 / 500; }
.hero-art .blob {
  position: absolute;
  inset: 6% -8% -2% 4%;
  background: radial-gradient(circle at 30% 30%, var(--blush-soft), var(--sand) 70%);
  border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%;
  animation: morph 22s ease-in-out infinite;
  z-index: 0;
}
.hero-art .illu { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.illu .line { fill: none; stroke: var(--ink); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.illu .sprig { fill: none; stroke: var(--sage-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.illu .sun { animation: sun-float 9s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.badge {
  position: absolute;
  z-index: 2;
  left: -6%;
  bottom: 8%;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--milk);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.badge svg.ring text {
  font-family: var(--sans);
  font-size: 10.6px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  fill: var(--clay-ink);
  font-weight: 600;
}
.badge .badge-mark { width: 38px; height: 38px; }

/* Dessin au trait : les chemins portent pathLength="1" */
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-drawn .draw, .draw.is-drawn { animation: draw 2.4s var(--ease) forwards; }
.is-drawn .draw.d2 { animation-delay: .35s; }
.is-drawn .draw.d3 { animation-delay: .7s; }
.is-drawn .draw.d4 { animation-delay: 1.05s; }
.is-drawn .draw.d5 { animation-delay: 1.4s; }

/* === BANDEAU DÉFILANT === */
.marquee {
  background: var(--blush-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--ink);
  white-space: nowrap;
  font-variation-settings: 'SOFT' 100, 'opsz' 48;
  font-weight: 350;
}
.marquee-group svg { width: 22px; height: 22px; margin: 0 34px; flex-shrink: 0; color: var(--clay); }

/* === CONSULTATIONS === */
.offer-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.offer-intro { position: sticky; top: 130px; }
.offer-intro h2 { margin-bottom: 22px; }
.offer-intro p { margin-bottom: 30px; max-width: 420px; }
.offer-list { list-style: none; border-top: 1px solid var(--line); }
.offer-list li { border-bottom: 1px solid var(--line); }
.offer-row {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 20px;
  align-items: baseline;
  padding: 30px 12px 30px 0;
  position: relative;
  transition: padding .5s var(--ease);
}
.offer-row::before {
  content: '';
  position: absolute;
  inset: 0 -20px;
  background: var(--blush-soft);
  border-radius: var(--radius);
  transform: scaleY(0.4);
  opacity: 0;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  z-index: -1;
}
a.offer-row:hover::before { opacity: 1; transform: scaleY(1); }
a.offer-row:hover { padding-left: 10px; }
.offer-num { font-family: var(--serif); font-style: italic; color: var(--clay-ink); font-size: 1.05rem; }
.offer-row h3 { margin-bottom: 6px; }
.offer-row p { font-size: 0.98rem; }
.offer-arrow { color: var(--clay-ink); font-size: 1.3rem; transition: transform .45s var(--ease); align-self: center; }
a.offer-row:hover .offer-arrow { transform: translateX(6px); }

/* === ÉQUIPE === */
.team { background: var(--sand); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.person { display: flex; flex-direction: column; }
.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--blush);
  margin-bottom: 26px;
  isolation: isolate;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1) contrast(1.02);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(61,43,31,.12));
  pointer-events: none;
}
.person:hover .portrait img { transform: scale(1.06); }
/* Photo manquante : initiales à la place */
.portrait.no-photo img { display: none; }
.portrait.no-photo::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.4rem;
  color: var(--clay-ink);
  font-variation-settings: 'SOFT' 100, 'opsz' 96;
}
.person h3 { margin-bottom: 6px; }
.person-role { font-family: var(--serif); font-style: italic; color: var(--clay-ink); font-size: 1rem; margin-bottom: 14px; }
.person-bio { font-size: 0.95rem; line-height: 1.65; margin-bottom: 14px; }
.person-tags { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.02em; margin-bottom: 18px; }
.person .link-arrow { margin-top: auto; align-self: flex-start; }

.practical {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 90px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.practical h4 { font-family: var(--serif); font-style: italic; color: var(--clay-ink); margin-bottom: 8px; font-size: 1.05rem; }
.practical p { font-size: 0.98rem; }

/* === GALERIE === */
.galerie-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-template-rows: 300px 300px;
  gap: 22px;
}
.gal-img { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); margin: 0; }
.gal-img:first-child { grid-row: span 2; border-radius: var(--arch); }
.gal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Harmonise des photos prises au téléphone avec la palette chaude du site */
  filter: sepia(0.22) saturate(0.78) contrast(0.96) brightness(1.03);
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.gal-img:hover img { transform: scale(1.04); filter: sepia(0.1) saturate(0.9) brightness(1.03); }
.gal-img figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink);
  background: rgba(252,249,245,.92);
  padding: 6px 14px;
  border-radius: 999px;
}

/* === ÉCHOGRAPHIES === */
.echo { background: transparent; }
.echo-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: start; margin-bottom: 80px; }
.echo-intro-text h2 { margin-bottom: 22px; }
.echo-intro-text p { margin-bottom: 16px; }
.note-card {
  background: var(--milk);
  border-radius: var(--radius-lg);
  padding: 34px 34px 30px;
  border: 1px solid var(--line);
  position: relative;
}
.note-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.echo-info-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.echo-info-list li { position: relative; padding-left: 26px; font-size: 0.95rem; color: var(--ink-soft); }
.echo-info-list li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1px; background: var(--clay); }

/* Frise de grossesse (onglets) : la bulle grandit à chaque trimestre */
.echo-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.echo-tabs::before {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 30px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--clay-light) 0 6px, transparent 6px 12px);
}
.tab-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 6px 14px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  transition: color .3s;
}
.tl-dot {
  height: 60px;
  display: grid;
  place-items: center;
}
.tl-dot i {
  display: block;
  border-radius: 50%;
  background: var(--milk);
  border: 1.5px solid var(--clay-light);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
#tab-btn-t1 .tl-dot i { width: 18px; height: 18px; }
#tab-btn-t2 .tl-dot i { width: 32px; height: 32px; }
#tab-btn-t3 .tl-dot i { width: 50px; height: 50px; }
.tl-dot svg { width: 34px; height: 34px; color: var(--sage-ink); transition: transform .5s var(--ease); }
.tl-label { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-variation-settings: 'SOFT' 100, 'opsz' 24; }
.tl-when { font-size: 0.85rem; }
.tab-btn:hover .tl-dot i { transform: scale(1.08); border-color: var(--clay); }
.tab-btn.active .tl-dot i { background: var(--clay); border-color: var(--clay); }
.tab-btn.active .tl-dot svg { transform: rotate(-12deg) scale(1.1); }
.tab-btn.active .tl-label { color: var(--clay-ink); font-style: italic; }
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  border-radius: 2px;
  background: var(--clay-dark);
  transform: scaleX(0);
  transition: transform .5s var(--ease);
}
.tab-btn.active::after { transform: scaleX(1); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fade-up .6s var(--ease); }
.echo-card {
  background: var(--milk);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  border: 1px solid var(--line);
}
.echo-when {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay-ink);
  font-size: 1.02rem;
  margin-bottom: 14px;
}
.echo-card-main h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 20px; }
.echo-card-main p { margin-bottom: 16px; }
.echo-what h4 { margin-bottom: 16px; }
.echo-list { list-style: none; display: flex; flex-direction: column; }
.echo-list li { position: relative; font-size: 0.95rem; color: var(--ink-soft); padding: 11px 0 11px 20px; border-bottom: 1px solid var(--line); }
.echo-list li:last-child { border-bottom: none; }
.echo-list li::before { content: ''; position: absolute; left: 0; top: calc(11px + 0.62em); width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--clay); }
.conseils-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.conseil-card { background: var(--milk); border-radius: var(--radius-lg); padding: 30px 26px; border: 1px solid var(--line); }
.conseil-icon { width: 36px; height: 36px; display: block; margin-bottom: 18px; stroke: var(--sage-ink); fill: none; }
.conseil-card h4 { margin-bottom: 10px; }
.conseil-card p { font-size: 0.93rem; }

/* === VAGUES ENTRE SECTIONS === */
.wave { display: block; width: 100%; height: 70px; position: absolute; left: 0; pointer-events: none; }
.wave.top { top: -69px; }
.wave.bottom { bottom: -69px; transform: scaleY(-1); }
.wave path { fill: currentColor; }

/* === GYNÉCOLOGIE === */
.gyneo { background: var(--sage-soft); margin: 70px 0; }
.gyneo .wave { color: var(--sage-soft); }
.gyneo-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.gyneo-layout .section-head { margin-bottom: 0; }
.gyneo-layout h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.gyneo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.gyneo-card { padding: 30px 0; border-top: 1px solid rgba(58,99,87,.2); }
.gyneo-icon { width: 34px; height: 34px; stroke: var(--sage-ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; margin-bottom: 16px; }
.gyneo-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.gyneo-card p { font-size: 0.95rem; }
.gyneo-note { display: inline-block; margin-top: 34px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--sage-ink); }

/* === HYPNOSE === */
.hypnose-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: start; }
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 10px 0 44px;
  padding-left: 28px;
  border-left: 2px solid var(--clay-light);
  font-variation-settings: 'SOFT' 100, 'opsz' 72;
}
.indic-group { margin-bottom: 30px; }
.indic-group-label { font-size: 1.15rem; margin-bottom: 12px; }
.indic-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.indic-list li {
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--milk);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
}
.hypnose-author { margin-top: 28px; font-size: 0.95rem; }
.hypnose-intro { margin-bottom: 36px; }
.hypnose-card {
  background: var(--milk);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hypnose-card h3 { margin-bottom: 8px; }
.tarif-row { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.tarif-row:last-of-type { border-bottom: none; }
.tarif-top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.tarif-label { color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.tarif-price { font-family: var(--serif); font-size: 1.5rem; color: var(--clay-ink); white-space: nowrap; }
.tarif-unit { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft); }
.tarif-detail { font-size: 0.85rem; color: var(--ink-soft); }
.tarif-note { font-size: 0.85rem; margin-top: 16px; font-style: italic; }
.rdv-box { margin-top: 24px; padding: 30px 34px; border-radius: var(--radius-lg); background: var(--blush-soft); }
.rdv-box h4 { margin-bottom: 8px; }
.rdv-box p { font-size: 0.95rem; margin-bottom: 18px; }

/* === ACCÈS === */
.acces { background: var(--sand); }
.acces-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: stretch; }
.acces-info h2 { margin-bottom: 30px; }
.acces-block { padding: 24px 0; border-top: 1px solid var(--line); }
.acces-block h3 { font-size: 1.2rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.icon-inline { width: 20px; height: 20px; stroke: var(--clay-ink); fill: none; flex-shrink: 0; }
.acces-block p, .acces-block li { font-size: 0.96rem; color: var(--ink-soft); }
.acces-block ul { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.acces-block li::before { content: '— '; color: var(--clay); }
.mt-8 { margin-top: 8px; }
.urgence-box {
  background: var(--milk);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 26px;
  font-size: 0.93rem;
  color: var(--ink);
  border-left: 3px solid var(--clay-dark);
}
.urgence-box strong { color: var(--clay-ink); }
.urgence-box a { color: var(--clay-ink); font-weight: 700; }
.map-placeholder { border-radius: var(--arch); overflow: hidden; min-height: 520px; background: var(--blush-soft); display: flex; flex-direction: column; }
.map-facade { flex: 1; display: flex; align-items: center; justify-content: center; }
.map-facade-inner { text-align: center; padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.map-facade-inner strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; display: block; }
.map-facade-inner .map-sub { font-size: 0.93rem; color: var(--ink-soft); }
.map-pin { width: 58px; height: 58px; stroke: var(--clay-ink); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; animation: sun-float 5s ease-in-out infinite; }
.map-load-btn {
  background: var(--clay-dark); color: #fff;
  border: none; border-radius: 999px; padding: 14px 28px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: background .3s;
}
.map-load-btn:hover { background: var(--clay-darker); }
.map-load-btn small { font-size: 0.74rem; font-weight: 400; opacity: 0.85; }
#map-iframe { display: none; width: 100%; height: 100%; min-height: 520px; border: none; flex: 1; }

/* === FAQ === */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.faq-aside { position: sticky; top: 130px; }
.faq-aside h2 { margin-bottom: 20px; }
.faq-aside p { margin-bottom: 8px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--ink);
  cursor: pointer;
  gap: 24px;
  line-height: 1.35;
  font-variation-settings: 'SOFT' 100, 'opsz' 24;
  transition: color .3s;
}
.faq-btn:hover { color: var(--clay-ink); }
.faq-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  padding: 9px;
  border-radius: 50%;
  border: 1px solid var(--line);
  stroke: var(--clay-ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform .5s var(--ease), background .3s, border-color .3s;
}
.faq-item.open .faq-icon { transform: rotate(135deg); background: var(--blush-soft); border-color: var(--blush); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-answer p { font-size: 1rem; line-height: 1.8; padding: 0 60px 26px 0; }

/* === BANDEAU CONTACT === */
.contact-banner { background: var(--blush); text-align: center; padding: 130px 0 120px; overflow: hidden; margin-top: 70px; }
.contact-banner .wave { color: var(--blush); }
.contact-banner h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 18px; }
.contact-banner p { font-size: 1.1rem; margin-bottom: 36px; color: var(--ink-soft); }
.contact-phone { margin-top: 22px; margin-bottom: 0 !important; font-size: 0.98rem; }
.contact-phone a { color: var(--clay-ink); font-weight: 600; }
.contact-sprig { position: absolute; width: 190px; opacity: .9; pointer-events: none; }
.contact-sprig.left { left: 4%; bottom: 40px; }
.contact-sprig.right { right: 4%; top: 60px; transform: scaleX(-1) rotate(12deg); }
.contact-inner { position: relative; z-index: 1; }

/* === FOOTER === */
footer { background: var(--ink); color: #D9C8BC; padding: 80px 0 110px; }
footer p { color: #D9C8BC; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .logo { font-family: var(--serif); font-size: 1.6rem; color: var(--milk); margin-bottom: 16px; display: block; line-height: 1.25; }
.footer-brand .logo span { font-style: italic; color: var(--blush); }
.footer-brand p { font-size: 0.93rem; line-height: 1.7; margin-bottom: 12px; max-width: 420px; }
.footer-brand a { color: var(--blush); }
.footer-urgence { font-size: 0.88rem; }
.footer-urgence strong { color: var(--milk); }
.footer-col h2 { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--blush); margin-bottom: 16px; font-weight: 400; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.93rem; color: #D9C8BC; transition: color .3s; }
.footer-col a:hover { color: var(--milk); }
.footer-bottom { border-top: 1px solid rgba(252,249,245,.14); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.85rem; color: #D9C8BC; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--milk); }

/* === BOUTONS FLOTTANTS === */
.float-actions { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; gap: 10px; align-items: center; }
.doctolib-float {
  background: var(--clay-dark);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 34px -12px rgba(94,56,40,.55);
  transition: transform .35s var(--ease), background .35s;
}
.doctolib-float:hover { transform: translateY(-3px); background: var(--clay-darker); }
.call-float {
  display: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--milk);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px -14px rgba(61,43,31,.4);
  align-items: center;
  justify-content: center;
}
.call-float svg { width: 20px; height: 20px; stroke: var(--clay-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#back-to-top {
  position: fixed;
  bottom: 28px;
  left: 24px;
  width: 46px; height: 46px;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  z-index: 98;
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
#back-to-top svg { width: 18px; height: 18px; stroke: var(--clay-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* === APPARITION AU DÉFILEMENT === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* === ANIMATIONS === */
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%; transform: rotate(0deg); }
  33%      { border-radius: 46% 54% 42% 58% / 55% 44% 56% 45%; transform: rotate(4deg); }
  66%      { border-radius: 52% 48% 60% 40% / 42% 58% 46% 54%; transform: rotate(-3deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sun-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.75); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (min-width: 1261px) {
  .logo { white-space: nowrap; flex-shrink: 0; }
}

/* === RESPONSIVE — NAVIGATION (≤ 1260px) : le menu complet ne tient plus === */
@media (max-width: 1260px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .open-status { margin-left: auto; }
}
@media (min-width: 1261px) {
  .mobile-menu.open { display: none; }
}

/* === RESPONSIVE — TABLETTE (≤ 960px) === */
@media (max-width: 960px) {
  section { padding: 90px 0; }
  .hero { padding: 40px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { order: -1; width: min(78%, 380px); }
  .offer-grid, .gyneo-layout, .hypnose-inner, .faq-layout, .acces-inner, .echo-intro { grid-template-columns: 1fr; gap: 44px; }
  .offer-intro, .faq-aside { position: static; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 44px 28px; }
  .echo-card { grid-template-columns: 1fr; gap: 30px; padding: 36px; }
  .conseils-grid { grid-template-columns: 1fr 1fr; }
  .galerie-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 220px 220px; }
  .gal-img:first-child { grid-row: auto; grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .practical { grid-template-columns: 1fr; gap: 24px; margin-top: 60px; }
  .map-placeholder, #map-iframe { min-height: 420px; }
}

/* === RESPONSIVE — MOBILE (≤ 640px) === */
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .section-head { margin-bottom: 40px; }
  .logo-text { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero-actions .link-arrow { align-self: center; }
  .hero-art { width: min(88%, 340px); }
  .badge { width: 104px; height: 104px; left: -4%; }
  .badge svg.ring text { font-size: 10px; letter-spacing: 2px; }
  .offer-row { grid-template-columns: 40px 1fr 20px; gap: 12px; padding: 24px 4px 24px 0; }
  .team-grid { grid-template-columns: 1fr; gap: 44px; }
  /* Mobile : portrait en arche à gauche, nom et rôle à droite */
  .person {
    display: grid;
    grid-template-columns: 108px 1fr;
    grid-template-areas: "photo name" "photo role" "bio bio" "tags tags" "link link";
    column-gap: 20px;
    align-items: end;
  }
  .person .portrait { grid-area: photo; margin-bottom: 18px; }
  .person h3 { grid-area: name; }
  .person .person-role { grid-area: role; align-self: start; margin-bottom: 18px; }
  .person .person-bio { grid-area: bio; }
  .person .person-tags { grid-area: tags; }
  .person .link-arrow { grid-area: link; }
  .portrait.no-photo::before { font-size: 2rem; }
  .echo-tabs { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .echo-tabs::before { top: 26px; }
  .tl-dot { height: 52px; }
  #tab-btn-t3 .tl-dot i { width: 42px; height: 42px; }
  .tl-label { font-size: 0.95rem; text-align: center; line-height: 1.2; }
  .tl-when { font-size: 0.75rem; text-align: center; }
  .echo-card { padding: 26px 22px; }
  .conseils-grid { grid-template-columns: 1fr; }
  .gyneo-grid { grid-template-columns: 1fr; }
  .hypnose-card { padding: 28px 24px; }
  .tarif-top { flex-direction: column; gap: 2px; }
  .galerie-grid { grid-template-rows: 240px 160px 160px; gap: 10px; }
  .faq-btn { font-size: 1.08rem; padding: 22px 0; }
  .faq-answer p { padding-right: 0; }
  .contact-banner { padding: 100px 0 90px; }
  .contact-sprig { width: 110px; opacity: .5; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .float-actions { bottom: 16px; right: 16px; }
  .call-float { display: flex; }
  .doctolib-float { padding: 12px 20px; font-size: 0.86rem; }
  #back-to-top { bottom: 18px; left: 16px; }
  .wave { height: 40px; }
  .wave.top { top: -39px; }
  .wave.bottom { bottom: -39px; }
  .gyneo, .contact-banner { margin-top: 40px; }
  .gyneo { margin-bottom: 40px; }
}

/* ≤ 480px : le badge d'ouverture ferait passer le logo sur plusieurs lignes */
@media (max-width: 480px) {
  .open-status { display: none; }
}

/* === UTILITAIRES === */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
main:focus { outline: none; }

/* === LIEN D'ÉVITEMENT === */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--clay-dark);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
  border-radius: 0 0 12px 0;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* === FOCUS VISIBLE === */
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--clay-dark);
  outline-offset: 4px;
  border-radius: 6px;
}

/* === MOUVEMENT RÉDUIT === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
  .marquee-track { transform: none; }
}
