/* Dre Chantal Mamie · Acupuncture médicale · Genève Champel
   V1 « Clair & Lumineux », palette pêche.
   Design system : 2 couleurs (accent + teinte de fond) + neutres chauds,
   2 polices (Cormorant Garamond titres, Plus Jakarta Sans texte),
   1 rayon unique, 1 échelle d'espacements. */

/* ============ POLICES (hébergées localement : aucune requête vers Google) ============ */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============ TOKENS ============ */
:root {
  /* Couleur 1 : accent orange (texte d'accent, boutons, icônes) */
  --accent: #BC5320;
  --accent-deep: #9A4115;
  /* Couleur 2 : fond pêche pâle et ses teintes */
  --tint: #FDDFC8;
  --tint-soft: #FFEDE0;
  --tint-line: #F6CDAE;
  --bg: #FFF7F0;
}
:root {
  /* Neutres de contraste */
  --white: #FFFFFF;
  --ink: #2E2724;
  --ink-soft: #665B55;
  --line: #ECE3DD;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Échelle typographique */
  --fs-h1: clamp(2.2rem, 4.8vw, 3.5rem);
  --fs-h2: clamp(1.85rem, 3.6vw, 2.75rem);
  --fs-h3: clamp(1.3rem, 1.8vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1.3vw, 1.15rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .75rem;

  /* Rayon unique (cartes, boutons, conteneurs, images) + pastilles */
  --radius: 14px;
  --radius-pill: 999px;

  /* Espacements modulaires */
  --space-section: clamp(64px, 9vw, 112px);
  --space-head: clamp(32px, 4.5vw, 56px);
  --space-block: clamp(40px, 5vw, 64px);
  --gap: 20px;
  --pad-card: clamp(22px, 3vw, 32px);

  --shadow-sm: 0 1px 2px rgba(46, 39, 36, .05), 0 4px 14px rgba(46, 39, 36, .05);
  --shadow: 0 2px 6px rgba(46, 39, 36, .05), 0 14px 36px rgba(46, 39, 36, .09);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; text-align: left; }
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
p { margin: 0 0 1em; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
ul, ol { margin: 0; padding: 0; }
abbr[title] { text-decoration: none; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--accent); color: var(--white); padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: left;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font: 600 .95rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 24%, transparent); }
.btn--primary:hover { background: var(--accent-deep); color: var(--white); }
.btn--ghost { border-color: var(--tint-line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(46, 39, 36, .06); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font: italic 600 1.05rem/1 var(--font-display); letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 600 1.28rem/1.1 var(--font-display); white-space: nowrap; }
.brand-role { font-size: var(--fs-label); font-weight: 500; letter-spacing: .06em; color: var(--ink-soft); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; gap: 2px; list-style: none; }
.nav-list a {
  display: block; padding: 10px 11px;
  font-size: .9rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
  position: relative; transition: color .2s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--ink); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: var(--radius); background: transparent; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 22px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 28px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(46, 39, 36, .12);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: 13px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-list a.is-active { color: var(--accent); }
  .nav .btn { min-height: 52px; width: 100%; }
}
@media (max-width: 420px) {
  .brand-role { display: none; }
  .brand-name { font-size: 1.2rem; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 var(--space-section);
  background:
    radial-gradient(900px 480px at 90% 0%, var(--tint), transparent 70%),
    radial-gradient(700px 420px at 0% 100%, var(--tint-soft), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero .container { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.05fr .95fr; } }

.hero h1 { max-width: 19ch; }
.hero .lead { margin: 24px 0 32px; font-size: var(--fs-lead); color: var(--ink-soft); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.trust li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink);
}
.trust li .i { width: 18px; height: 18px; color: var(--accent); }

.hero-media { position: relative; padding: 0 0 56px 0; }
@media (min-width: 960px) { .hero-media { padding: 0 0 56px 40px; } }
.hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-card {
  position: absolute; left: 0; bottom: 0; max-width: calc(100% - 24px);
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 12px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow);
}
.hero-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 40%; flex: none; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--tint-line); }
.hero-card strong { display: block; font: 600 1.2rem/1.2 var(--font-display); }
.hero-card span { font-size: .8rem; color: var(--ink-soft); }
.hero-stamp {
  position: absolute; top: -18px; right: -6px;
  width: 124px; height: 124px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--white); color: var(--ink-soft);
  box-shadow: var(--shadow), inset 0 0 0 6px var(--white), inset 0 0 0 7px var(--tint-line);
}
.hero-stamp .num { font: 600 2.5rem/1 var(--font-display); color: var(--accent); }
.hero-stamp .lbl { font-size: .66rem; line-height: 1.3; letter-spacing: .04em; margin-top: 4px; }

/* ============ BANDEAU INFOS ============ */
.info-strip { background: var(--white); border-block: 1px solid var(--line); }
.info-strip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.info-item { display: flex; gap: 14px; padding: 24px 12px; align-items: flex-start; }
.info-item .i { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.k { display: block; font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.info-item .v { font-size: .95rem; font-weight: 500; line-height: 1.5; }
@media (min-width: 900px) { .info-item + .info-item { border-left: 1px solid var(--line); padding-left: 28px; } }
@media (max-width: 899px) { .info-item { border-bottom: 1px solid var(--line); } .info-item:last-child { border-bottom: 0; } }

/* ============ SECTIONS ============ */
.section { padding: var(--space-section) 0; }
.section--tint { background: var(--tint-soft); }

.section-head { max-width: 760px; margin-bottom: var(--space-head); }
.section-intro { margin: 20px 0 0; font-size: var(--fs-lead); color: var(--ink-soft); }

/* Carte générique : même rayon, même bordure, même padding partout */
.card {
  padding: var(--pad-card); border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }

/* Approche */
.split { display: grid; gap: var(--space-block); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.pull { margin: 0 0 24px; padding-left: 20px; border-left: 2px solid var(--accent); }
.pull p { margin: 0; font: italic 500 1.5rem/1.35 var(--font-display); color: var(--ink); text-align: left; }
.prose { color: var(--ink-soft); }
.prose h2 { margin-bottom: 24px; }

.pillars { list-style: none; display: grid; gap: var(--gap); margin-top: var(--space-block); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--tint); color: var(--accent); margin-bottom: 18px; }
.pillar-ico .i { width: 24px; height: 24px; }

/* Parcours */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);
  margin: 0 0 var(--space-block);
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dd { margin: 0; font: 600 clamp(2.2rem, 4vw, 3rem)/1 var(--font-display); color: var(--accent); font-variant-numeric: lining-nums tabular-nums; }
.stats dt { font-size: var(--fs-small); color: var(--ink-soft); }

.career { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .career { grid-template-columns: 1.1fr .9fr; } }
.career h3 { margin-bottom: 24px; }
.h3-gap { margin-top: 40px; }

.timeline { list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--tint-line); }
.timeline li { position: relative; display: grid; gap: 2px; padding: 0 0 22px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--accent);
}
.timeline li.is-key::before { background: var(--accent); box-shadow: 0 0 0 4px var(--tint); }
.t-date { font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.t-body { color: var(--ink); }
.timeline li.is-key .t-body { font-weight: 600; }

.diplomas { list-style: none; }
.diplomas li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.diplomas span { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

.more { margin-top: 16px; border-radius: var(--radius); background: var(--tint-soft); border: 1px solid var(--line); }
.more summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 16px;
  cursor: pointer; font-weight: 600; list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); transition: transform .2s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more ul { list-style: none; padding: 0 16px 14px; }
.more li { padding: 7px 0; font-size: .92rem; color: var(--ink-soft); border-top: 1px solid var(--line); }

.capsules { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.capsules li {
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--tint-soft); border: 1px solid var(--tint-line); color: var(--ink);
  font-size: .85rem; font-weight: 700; letter-spacing: .08em;
}

/* Soins */
.care-grid { display: grid; gap: var(--gap); }
@media (min-width: 860px) { .care-grid { grid-template-columns: repeat(3, 1fr); } }
.care { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.care:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.care-media { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.care-media img { width: 100%; height: 100%; object-fit: cover; }
.care-body { display: flex; flex-direction: column; flex: 1; padding: var(--pad-card); }
.care-body p { flex: 1; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags li { padding: 5px 12px; border-radius: var(--radius-pill); background: var(--tint-soft); border: 1px solid var(--tint-line); font-size: .8rem; font-weight: 600; color: var(--accent-deep); }

.effects { display: grid; gap: var(--gap); margin-top: var(--gap); }
@media (min-width: 860px) { .effects { grid-template-columns: 1.2fr 1fr; } }
.checks { list-style: none; display: grid; gap: 12px; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } .checks li:nth-child(3) { grid-column: 1 / -1; } }
.checks li { position: relative; padding-left: 30px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--tint);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.safety { background: var(--tint-soft); border-color: var(--tint-line); box-shadow: none; }
.safety-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--accent); margin-bottom: 14px; }
.safety ul { list-style: none; display: grid; gap: 8px; }
.safety li { position: relative; padding-left: 18px; color: var(--ink-soft); }
.safety li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.safety strong { color: var(--ink); }

/* Indications (onglets) */
.tabs { display: grid; gap: var(--gap); }
@media (min-width: 960px) { .tabs { grid-template-columns: 300px 1fr; align-items: start; gap: 32px; } }
.tablist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 640px) and (max-width: 959px) { .tablist { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .tablist { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 24px); } }
.tablist [role="tab"] {
  display: flex; align-items: center; gap: 10px; text-align: left;
  min-height: 52px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--ink-soft);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tablist [role="tab"] .i { color: var(--accent); }
.tablist [role="tab"]:hover { border-color: var(--accent); color: var(--ink); }
.tablist [role="tab"][aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.tablist [role="tab"][aria-selected="true"] .i { color: var(--white); }
@media (max-width: 639px) { .tablist [role="tab"]:last-child:nth-child(odd) { grid-column: 1 / -1; } }

.panel h3 { margin-bottom: 10px; }
.panel > p { max-width: 62ch; }
.panel .chips + p { margin-top: 20px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chips li {
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: var(--tint-soft); border: 1px solid var(--tint-line);
  font-size: .92rem; font-weight: 500;
}
/* Sans JS : tous les panneaux restent lisibles, empilés */
.js .panel[hidden] { display: none; }
.js .panel { animation: panel-in .3s var(--ease); }
html:not(.js) .tablist { display: none; }
html:not(.js) .panel + .panel { margin-top: 16px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Dessin d'humour */
.indications-head { display: grid; gap: 32px; align-items: center; margin-bottom: var(--space-head); }
.indications-head .section-head { margin-bottom: 0; }
@media (min-width: 960px) { .indications-head { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } }
.gag { margin: 0 auto; width: 100%; max-width: 320px; }
.gag-frame {
  padding: 10px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(2deg);
}
.gag-frame img { width: 100%; height: auto; border-radius: calc(var(--radius) - 4px); }

/* Séances */
.seance { display: grid; gap: var(--space-block); align-items: start; }
@media (min-width: 960px) { .seance { grid-template-columns: .9fr 1.1fr; } }
@media (min-width: 960px) { .seance .split-media { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 4.4; } }
.steps { list-style: none; display: grid; gap: var(--gap); counter-reset: step; }
.step { position: relative; counter-increment: step; padding-left: calc(var(--pad-card) + 60px); }
.step::before {
  content: counter(step); position: absolute; left: var(--pad-card); top: var(--pad-card);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--tint); color: var(--accent); font: 600 1.3rem/1 var(--font-display);
}
.step-dur {
  display: inline-block; margin-bottom: 10px;
  padding: 4px 12px; border-radius: var(--radius-pill); background: var(--tint-soft); border: 1px solid var(--tint-line); color: var(--accent-deep);
  font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.step strong { color: var(--ink); }

/* Tarifs */
.coverage { display: grid; gap: var(--space-block); border-top: 4px solid var(--accent); }
@media (min-width: 900px) { .coverage { grid-template-columns: 1fr 1fr; align-items: center; } }
.coverage-main h2 { margin-bottom: 20px; }
.coverage-main p { color: var(--ink-soft); font-size: var(--fs-lead); }
.coverage-main strong { color: var(--ink); }
.coverage-points { list-style: none; display: grid; gap: 14px; }
.coverage-points li { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--tint-soft); border: 1px solid var(--line); }
.coverage-points .i { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.coverage-points strong { display: block; margin-bottom: 2px; }
.coverage-points span { font-size: .92rem; color: var(--ink-soft); }

/* Cabinet */
.gallery { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .gallery { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; } .shot--wide { grid-row: span 2; } }
.shot {
  position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--tint); aspect-ratio: 16 / 9; box-shadow: var(--shadow-sm);
}
@media (min-width: 760px) { .shot--wide { aspect-ratio: auto; min-height: 100%; } }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot-cap {
  position: absolute; left: 14px; bottom: 14px;
  padding: 7px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .94);
  font-size: .82rem; font-weight: 600; color: var(--ink);
}

/* Contact */
.onedoc-widget { padding: 12px; margin-bottom: var(--gap); overflow: hidden; }
.onedoc-widget iframe { display: block; margin: 0 auto; border: 0; }
.contact { display: grid; gap: var(--gap); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.15fr; } }
.contact-side { display: grid; gap: var(--gap); align-content: start; }
.contact-main { display: flex; flex-direction: column; gap: var(--gap); }
.contact-main .map { margin-top: 0; }
@media (min-width: 960px) {
  .contact-main .map { flex: 1; min-height: 320px; position: relative; }
  .contact-main .map iframe { position: absolute; inset: 0; height: 100%; }
  .contact-main .map-placeholder { height: 100%; }
}
.rows { list-style: none; display: grid; gap: 18px; }
.rows li { display: flex; gap: 14px; }
.rows .i { color: var(--accent); margin-top: 3px; }
.rows a { font-weight: 600; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: .9rem; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.hours tr.off th, .hours tr.off td { color: var(--ink-soft); font-weight: 400; }
.hours-note { margin: 14px 0 0; font-size: var(--fs-small); color: var(--ink-soft); }

.map { margin-top: var(--gap); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--tint); }
.map iframe { width: 100%; height: 380px; border: 0; }

/* Formulaire */
.form h3 { margin-bottom: 8px; }
.form-intro { color: var(--ink-soft); }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.field label span { color: var(--accent); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg);
  font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9A8E87; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { margin: 0; min-height: 0; font-size: .82rem; font-weight: 600; color: #B3261E; text-align: left; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; font-size: .82rem; color: var(--ink-soft); text-align: left; }
.form-status { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius); font-size: .9rem; font-weight: 600; text-align: left; }
.form-status.is-visible { display: block; }
.form-status--success { background: #E8F3EA; color: #1E5B2C; }
.form-status--error { background: #FBE9E7; color: #8E1F17; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* CTA final */
.cta-final { padding: 0 0 var(--space-section); background: var(--tint-soft); }
.cta-box {
  display: grid; gap: 32px; align-items: center;
  padding: clamp(28px, 6vw, 64px); border-radius: var(--radius);
  background: radial-gradient(600px 300px at 100% 0%, var(--tint), transparent 70%), var(--white);
  border: 1px solid var(--tint-line); box-shadow: var(--shadow);
}
@media (min-width: 900px) { .cta-box { grid-template-columns: 1.3fr 1fr; } }
.cta-box h2 { margin-bottom: 16px; }
.cta-box p:last-child { margin: 0; font-size: var(--fs-lead); color: var(--ink-soft); }
.cta-actions { display: grid; gap: 12px; }

/* Footer */
.site-footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-soft); }
.site-footer .container { display: grid; gap: 14px; }
.site-footer p { margin: 0; text-align: left; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { display: block; font: 600 1.2rem/1.2 var(--font-display); color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 1080px) { .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* CTA mobile */
.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90;
  display: none; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; border-radius: var(--radius);
  background: var(--accent); color: var(--white); font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 30px rgba(46, 39, 36, .28);
  transform: translateY(140%); transition: transform .3s var(--ease);
}
.mobile-cta:hover { color: var(--white); }
.mobile-cta.is-visible { transform: none; }
@media (max-width: 1080px) { .mobile-cta { display: flex; } }

/* Lightbox */
.lightbox { width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); overflow: hidden; }
.lightbox::backdrop { background: rgba(46, 39, 36, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lb-in .25s var(--ease); }
.lightbox img { width: 100%; max-height: calc(100dvh - 100px); object-fit: contain; }
.lightbox-cap { margin: 0; padding: 14px 20px; color: var(--white); font-weight: 500; text-align: left; }
.lightbox-close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .94); color: var(--ink);
}
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* Carte Google Maps : chargée seulement après consentement */
.map-placeholder {
  display: grid; place-content: center; justify-items: center; gap: 14px;
  min-height: 300px; padding: var(--pad-card); text-align: center;
}
.map-placeholder p { margin: 0; max-width: 46ch; text-align: center; color: var(--ink-soft); font-size: var(--fs-small); }
.map-placeholder .btn { width: auto; }

/* Bannière cookies */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 300;
  max-width: 560px; margin-left: auto;
  padding: 20px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--tint-line); box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.3rem; margin-bottom: 8px; }
.cookie-banner p { margin: 0 0 14px; text-align: left; font-size: var(--fs-small); color: var(--ink-soft); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { flex: 1 1 140px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; font-size: inherit; }
.link-btn:hover { color: var(--accent); }

/* Pages secondaires (légal, 404) */
.page { padding: calc(var(--header-h) + clamp(32px, 6vw, 64px)) 0 var(--space-section); }
.page .container { max-width: 860px; }
.breadcrumb { margin-bottom: 24px; font-size: var(--fs-small); color: var(--ink-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--tint-line); }
.breadcrumb a { color: var(--ink-soft); }
.legal h1 { margin-bottom: 12px; }
.legal .updated { margin-bottom: var(--space-head); color: var(--ink-soft); font-size: var(--fs-small); text-align: left; }
.legal h2 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); margin: 40px 0 14px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 20px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.notfound { text-align: center; }
.notfound .container { display: grid; justify-items: center; }
.notfound .notfound-code { margin: 0; font: italic 600 clamp(5rem, 16vw, 9rem)/1 var(--font-display); color: var(--accent); }
.notfound h1 { text-align: center; margin: 12px 0 16px; }
.notfound p { text-align: center; color: var(--ink-soft); max-width: 48ch; }
.notfound .hero-actions { justify-content: center; margin-top: 12px; }

/* Révélations */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============ MOBILE ============ */
@media (max-width: 640px) {
  :root { --gap: 16px; --pad-card: 22px; --space-section: 56px; --space-head: 28px; --space-block: 32px; --header-h: 64px; }
  body { font-size: .97rem; }
  .btn, .btn--lg { width: 100%; white-space: normal; }
  .site-header .container > .btn { width: auto; }
  .hero-stamp { display: none; }
  .hero-media { padding-bottom: 48px; }
  .hero-card { padding-right: 14px; }
  .pull p { font-size: 1.3rem; }
  .step { padding-left: var(--pad-card); }
  .step::before { position: static; margin-bottom: 14px; }
  .map iframe { height: 300px; }
  .shot-cap { left: 10px; bottom: 10px; }
  .tablist [role="tab"] { font-size: .85rem; padding: 10px; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
