/* =========================================================
   Marie-Laure Beun · Kinésiologie · St-Triphon
   Direction artistique « Papier & Terre » : ivoire, lin, terre de sienne,
   paprika, bordeaux profond pour l'ancrage. Motifs en papier découpé
   (frise, rameau, branche) en clin d'œil à l'art de Marie-Laure.
   Titres Cormorant Garamond, texte Plus Jakarta Sans.
   ========================================================= */

:root {
  /* Couleurs */
  --white: #ffffff;
  --paper: #faf5ee;             /* ivoire */
  --lin: #f4e9dd;               /* lin */
  --lin-2: #eadbca;
  --line: #dfcdb8;
  --sienne: #b06a3e;            /* terre de sienne, décorative */
  --sienne-text: #8a4b26;       /* sienne lisible sur clair (AA) */
  --sienne-soft: #f5e8db;
  --sienne-pale: #ecd6c1;
  --paprika: #c4452c;           /* paprika, décoratif */
  --paprika-btn: #a8391f;       /* boutons (texte blanc AA) */
  --paprika-ink: #842816;
  --paprika-soft: #f8e2d8;
  --ocre: #c38f4c;              /* étoiles */
  --bordeaux: #4a1a20;          /* sections sombres */
  --bordeaux-ink: #34121a;
  --ink: #2a1f1d;
  --anthracite: #463a33;
  --muted: #6e5f55;
  --on-dark: #f8efe6;
  --on-dark-muted: #dcc3bb;
  --sienne-on-dark: #eac6a5;
  --paprika-on-dark: #f2a88e;

  /* Typo */
  --f-title: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Espacements & formes */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(74, 26, 32, .05), 0 2px 8px rgba(74, 26, 32, .04);
  --shadow: 0 2px 6px rgba(74, 26, 32, .04), 0 18px 40px -16px rgba(74, 26, 32, .22);
  --shadow-lg: 0 30px 70px -28px rgba(58, 18, 24, .45);

  /* Mouvement */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --t-fast: 180ms;
  --t: 280ms;

  --header-h: 76px;

  /* Z-index */
  --z-header: 50;
  --z-cta: 40;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--anthracite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--paprika-btn); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--paprika-ink); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-title); font-weight: 500; color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 3.8rem); }
h1 em, h2 em { font-style: italic; color: var(--sienne-text); }
h3 { font-size: 1.65rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--ink); }
small { font-size: .85em; }
:focus-visible { outline: 2px solid var(--paprika-btn); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--bordeaux); color: var(--on-dark); padding: .7rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; color: var(--on-dark); }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--sm { width: 1em; height: 1em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font-family: var(--f-body); font-weight: 500; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--paprika-btn); color: #fff; box-shadow: 0 10px 24px -12px rgba(168, 57, 31, .8); }
.btn--primary:hover { background: var(--paprika-ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(132, 40, 22, .85); }
.btn--ghost { background: rgba(255, 255, 255, .6); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sienne); color: var(--bordeaux); background: var(--white); }
.btn--light { background: var(--on-dark); color: var(--bordeaux); }
.btn--light:hover { background: #fff; color: var(--bordeaux-ink); }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn .ico { transition: transform var(--t) var(--ease); }
.btn--ghost:hover .ico:last-child { transform: translateX(3px); }

.round-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
}
.round-btn--solid { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--on-dark); }

/* ---------- Eyebrow & en-têtes ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sienne-text);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--paprika); box-shadow: 0 0 0 4px rgba(196, 69, 44, .16); flex: none; }
.eyebrow--light { color: var(--sienne-on-dark); }
.eyebrow--light .dot { background: var(--paprika-on-dark); box-shadow: 0 0 0 4px rgba(240, 169, 142, .16); }

.section { padding-block: var(--section); position: relative; }
.section--lin { background: var(--lin); }
.section--soft { background: linear-gradient(180deg, var(--paper), var(--sienne-soft) 40%, var(--sienne-soft) 70%, var(--paper)); }
.section--bordeaux { background: var(--bordeaux); color: var(--on-dark-muted); }
.section--bordeaux h2, .section--bordeaux h3, .section--bordeaux strong { color: var(--on-dark); }
.section--bordeaux h2 em { color: var(--sienne-on-dark); }
.section--bordeaux a { color: var(--paprika-on-dark); }

.section-head { max-width: 48rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-lead { margin-top: 1.1rem; font-size: 1.1rem; color: var(--muted); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header.is-scrolled {
  background: rgba(250, 245, 238, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(74, 26, 32, .08);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--bordeaux); flex: none; }
.brand:hover { color: var(--bordeaux); }
.brand-mark { width: 42px; height: 42px; color: var(--bordeaux); --mid-c: var(--sienne); --top-c: var(--paprika); transition: transform 700ms var(--ease); }
.brand:hover .brand-mark { transform: translateY(-2px) rotate(-3deg); }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--f-title); font-weight: 600; font-size: 1.6rem; color: var(--ink); white-space: nowrap; }
.brand-sub { margin-top: .3rem; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sienne-text); white-space: nowrap; }
.brand--light, .brand--light:hover { color: var(--on-dark); }
.brand--light .brand-mark { color: var(--on-dark); --mid-c: var(--sienne-on-dark); --top-c: var(--paprika-on-dark); }
.brand--light .brand-name { color: var(--on-dark); }
.brand--light .brand-sub { color: var(--sienne-on-dark); }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: .1rem; }
.nav-list a {
  position: relative; display: block; padding: .6rem .75rem; white-space: nowrap;
  font-size: .95rem; color: var(--anthracite); text-decoration: none;
  transition: color var(--t-fast);
}
.nav-list a::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .35rem; height: 1.5px; border-radius: 2px;
  background: var(--paprika); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--bordeaux); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle { display: none; position: relative; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 50%; }
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--bordeaux); border-radius: 2px;
  transition: transform var(--t) var(--ease), top var(--t) var(--ease);
}
.nav-toggle span:first-child { top: 20px; }
.nav-toggle span:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 23.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 23.5px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: .8rem .25rem; font-size: 1.65rem; font-family: var(--f-title); font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--lin-2); }
  .nav-list a::after { display: none; }
  .nav-list a.is-active { color: var(--paprika-btn); }
  .nav-mobile-extra { display: grid; gap: .7rem; margin-top: 1.25rem; }
  .header.nav-open { background: var(--paper); }
}
@media (max-width: 600px) {
  .header-cta { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.4rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .16em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem)) 0 clamp(6.5rem, 12vw, 10rem);
  background:
    radial-gradient(46rem 30rem at 92% 8%, rgba(196, 69, 44, .13), transparent 62%),
    radial-gradient(40rem 28rem at 0% 75%, rgba(176, 106, 62, .22), transparent 62%),
    linear-gradient(180deg, var(--paper), var(--lin));
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }

.hero h1 { font-size: clamp(3rem, 1.6rem + 5.2vw, 5.6rem); line-height: .98; letter-spacing: -.015em; }
/* Le surtitre fait partie du H1 (mot clé « kinésiologue à St-Triphon ») mais garde le style eyebrow */
.hero h1 .hero-kicker { display: flex; font-family: var(--f-body); line-height: 1.4; }
.hero-title-main { display: block; max-width: 12ch; }
.hero h1 em { color: var(--paprika-btn); }
.hero-lead { margin: 1.5rem 0 2rem; font-size: clamp(1.06rem, 1rem + .35vw, 1.2rem); max-width: 34rem; color: var(--anthracite); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.25rem; }
.hero-trust li {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 40px; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  font-size: .88rem; color: var(--anthracite);
}
.hero-trust .ico { color: var(--sienne-text); width: 1.1em; height: 1.1em; }

.hero-visual { position: relative; width: min(100%, 420px); margin-inline: auto; }
.hero-arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  background: var(--sienne-pale); box-shadow: 0 0 0 10px rgba(255, 255, 255, .7), var(--shadow-lg);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: settle 1.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1; right: -14%; bottom: -8%; width: 62%; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(196, 69, 44, .18), transparent 68%);
}
.hero-rating {
  position: absolute; left: -9%; bottom: 12%;
  display: flex; align-items: center; gap: .8rem; padding: .7rem 1.15rem .7rem .7rem;
  background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 999px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform var(--t) var(--ease);
}
.hero-rating:hover { transform: translateY(-2px); color: var(--ink); }
.hero-rating-score {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: var(--bordeaux); color: var(--on-dark); font-weight: 600; font-size: 1rem;
}
.hero-rating small { display: block; font-size: .82rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--ocre); }
.stars svg { width: 15px; height: 15px; }
.hero-place {
  position: absolute; right: -4%; top: 8%; margin: 0;
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px;
  background: var(--bordeaux); color: var(--on-dark); font-size: .85rem; font-weight: 500; box-shadow: var(--shadow);
}
.hero-place .ico { color: var(--paprika-on-dark); width: 1.1em; height: 1.1em; }
@media (max-width: 520px) {
  .hero-visual { width: 84%; }
  .hero-rating { left: -7%; bottom: 6%; }
  .hero-place { right: -6%; }
}

/* ---------- Papier découpé ---------- */
/* Frise : trois feuilles superposées, chacune avec une ombre portée
   légère pour l'effet de papier posé l'un sur l'autre. */
.pc-frise { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(96px, 11vw, 160px); pointer-events: none; }
.pc-frise .pc-l { filter: drop-shadow(0 -1px 1.5px rgba(74, 26, 32, .16)); }
.pc-frise--hero { --pc-back: rgba(196, 69, 44, .16); --pc-mid: #dcb491; --pc-front: var(--paper); }
.pc-frise--footer { --pc-back: rgba(176, 106, 62, .18); --pc-mid: var(--bordeaux); --pc-front: var(--bordeaux-ink); }

/* Rameau à la lune, au-dessus de certains titres */
.pc-brin { display: block; width: 132px; height: 33px; margin: 0 auto 1.1rem; color: var(--paprika); filter: drop-shadow(0 1px 1px rgba(74, 26, 32, .18)); }

/* Branche ajourée en filigrane dans le cabinet */
.pc-filigrane { position: absolute; top: 0; right: 0; width: clamp(260px, 38vw, 520px); aspect-ratio: 1; color: var(--sienne-on-dark); opacity: .09; pointer-events: none; }

/* ---------- À propos ---------- */
.about-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-media { position: relative; display: grid; gap: 1rem; }
.about-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.about-quote { margin: 0; padding: 1.5rem 1.6rem; border-radius: var(--r-lg); background: var(--bordeaux); color: var(--on-dark-muted); }
@media (min-width: 640px) {
  .about-quote { position: absolute; right: -1.5rem; bottom: -2rem; max-width: 21rem; box-shadow: var(--shadow-lg); }
  .about-media { padding-bottom: 2rem; }
}
.about-quote-mark { width: 40px; height: 40px; color: var(--on-dark); --mid-c: var(--sienne-on-dark); --top-c: var(--paprika-on-dark); margin-bottom: .6rem; }
.about-quote blockquote { margin: 0; }
.about-quote blockquote p { font-family: var(--f-title); font-style: italic; font-weight: 500; font-size: 1.55rem; line-height: 1.2; color: var(--on-dark); }
.about-quote figcaption { margin-top: .7rem; font-size: .84rem; letter-spacing: .04em; }

.about-copy h2 { margin-bottom: 1.5rem; }
.about-text p { font-size: 1.05rem; }
.values { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0; }
.values li { padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--sienne-pale); background: var(--sienne-soft); font-size: .88rem; color: var(--sienne-text); font-weight: 500; }
.facts { display: grid; gap: .75rem; margin: 0; }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts div { padding: 1rem 1.15rem; border-radius: var(--r); background: var(--lin); }
.facts dt { display: flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dt .ico { width: 1.1em; height: 1.1em; color: var(--paprika); }
.facts dd { margin: .3rem 0 0; color: var(--ink); font-weight: 500; font-size: .98rem; line-height: 1.45; }

/* ---------- Kinésiologie : piliers ---------- */
.pillars { display: grid; gap: 1.1rem; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.pillar {
  position: relative; overflow: hidden; padding: 2rem 1.75rem 1.85rem; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid transparent; box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sienne-pale); }
.pillar-num {
  position: absolute; right: 1.2rem; top: .4rem; font-family: var(--f-title); font-style: italic; font-weight: 500;
  font-size: 4.5rem; line-height: 1; color: var(--paprika-soft); pointer-events: none;
  transition: color var(--t) var(--ease), transform 600ms var(--ease);
}
.pillar:hover .pillar-num { color: #f2cdbf; transform: translateY(4px); }
.pillar-ico { position: relative; width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--sienne-soft); color: var(--sienne-text); }
.pillar h3 { position: relative; margin: 1.2rem 0 .55rem; font-size: 1.85rem; }
.pillar p { position: relative; font-size: .99rem; }

.origin {
  max-width: 54rem; margin: clamp(2rem, 4vw, 3rem) auto 0; padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--paprika); border-radius: 0 var(--r) var(--r) 0; background: rgba(255, 255, 255, .65);
  font-size: .98rem;
}

/* ---------- Domaines ---------- */
.domains-head { display: grid; gap: .5rem 3rem; margin: clamp(4rem, 8vw, 6rem) 0 1.75rem; }
@media (min-width: 860px) { .domains-head { grid-template-columns: auto 1fr; align-items: end; } }
.domains-head h3 { font-size: clamp(2.1rem, 1.6rem + 1.4vw, 2.8rem); font-weight: 500; }
.domains-head p { color: var(--muted); max-width: 40rem; }
.domains { display: grid; gap: .9rem; }
@media (min-width: 600px) { .domains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .domains { grid-template-columns: repeat(4, 1fr); } }
.domain {
  padding: 1.35rem 1.3rem 1.25rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--lin-2);
  transition: border-color var(--t), transform var(--t) var(--ease), box-shadow var(--t);
}
.domain:hover { border-color: var(--sienne); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.domain .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--paprika-soft); color: var(--paprika-btn); }
.domain h4 { margin: .85rem 0 .3rem; font-size: 1.45rem; font-weight: 600; }
.domain p { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.disclaimer { display: flex; align-items: flex-start; gap: .5rem; justify-content: center; margin: 1.5rem auto 0; max-width: 46rem; text-align: center; font-size: .88rem; color: var(--muted); }
.disclaimer .ico { color: var(--sienne-text); margin-top: .3em; }

/* ---------- Hypnose (rangée image / texte) ---------- */
.feature { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(4rem, 8vw, 6rem); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.05fr; } }
.feature-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 12; box-shadow: var(--shadow); background: var(--lin); }
@media (min-width: 900px) { .feature-media { aspect-ratio: 4 / 5; } }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.03); }
.feature-tag-float {
  position: absolute; left: 1rem; top: 1rem; padding: .35rem .85rem; border-radius: 999px;
  background: rgba(250, 245, 238, .92); color: var(--bordeaux); font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.feature-tag { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--paprika-btn); margin-bottom: .6rem; }
.feature-body h3 { font-size: clamp(2.1rem, 1.5rem + 1.6vw, 2.9rem); font-weight: 500; margin-bottom: 1rem; }
.feature-body > p { font-size: 1.02rem; }
.feature-body > .feature-needs { font-family: var(--f-title); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: var(--sienne-text); }
.feature-note { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--lin-2); color: var(--ink); }
.feature-note .ico { color: var(--paprika); margin-top: .2em; }

/* ---------- Déroulement ---------- */
.steps { display: grid; gap: 1.1rem; counter-reset: step; position: relative; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
  .steps::before {
    content: ""; position: absolute; left: 12%; right: 12%; top: 2.4rem; height: 1.5px;
    background: repeating-linear-gradient(90deg, var(--sienne) 0 6px, transparent 6px 12px); opacity: .6;
  }
}
.step { position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--lin-2); }
.step-num {
  position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 50%;
  background: var(--bordeaux); color: var(--on-dark); font-family: var(--f-title); font-weight: 600; font-size: 1.6rem;
  box-shadow: 0 0 0 6px var(--paper);
}
.step:nth-child(2) .step-num { background: var(--sienne-text); }
.step:nth-child(3) .step-num { background: var(--paprika-btn); }
.step:nth-child(4) .step-num { background: var(--ocre); color: var(--bordeaux-ink); }
.step h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.step p { font-size: .96rem; line-height: 1.6; }

.kids {
  display: grid; gap: 1.25rem; align-items: center; margin-top: 1.5rem; padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--r-lg); background: var(--paprika-soft);
}
@media (min-width: 860px) { .kids { grid-template-columns: auto 1fr auto; gap: 1.75rem; } }
.kids-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--paprika-btn); }
.kids-ico svg { width: 30px; height: 30px; }
.kids h3 { font-size: 1.75rem; margin-bottom: .35rem; }
.kids p { font-size: .98rem; max-width: 46rem; }

/* ---------- Le cabinet ---------- */
.cabinet { overflow: hidden; }
.cabinet::before {
  content: ""; position: absolute; inset: auto -10% -30% -10%; height: 70%;
  background: radial-gradient(closest-side, rgba(232, 195, 160, .12), transparent); pointer-events: none;
}
.cabinet-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .cabinet-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; } }
.cabinet-copy h2 { margin-bottom: 1.25rem; }
.cabinet-copy > p { font-size: 1.05rem; }
.cabinet-points { display: grid; gap: .8rem; margin-top: 2rem; }
.cabinet-points li {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r);
  background: rgba(246, 241, 231, .05); border: 1px solid rgba(246, 241, 231, .12);
}
.cabinet-points .ico { color: var(--paprika-on-dark); margin-top: .2rem; }
.cabinet-points span { display: grid; font-size: .95rem; line-height: 1.5; }
.gallery { display: grid; gap: .8rem; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--bordeaux-ink); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.g-a { grid-row: span 2; aspect-ratio: 3 / 4; border-radius: var(--r-lg) var(--r) var(--r) var(--r-lg) !important; }
.g-a img { object-position: 62% 50%; }
.g-b, .g-c { aspect-ratio: 4 / 3.3; }
.g-b { border-top-right-radius: var(--r-lg) !important; }
.g-c { border-bottom-right-radius: var(--r-lg) !important; }

/* ---------- Avis ---------- */
.avis-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.avis-head h2 { max-width: 22ch; }
.rating-card {
  display: inline-flex; align-items: center; gap: 1rem; padding: .9rem 1.4rem .9rem .9rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--lin-2); box-shadow: var(--shadow-sm); color: var(--ink);
}
.rating-score { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--bordeaux); color: var(--on-dark); font-weight: 600; font-size: 1.15rem; }
.rating-meta { display: grid; gap: .2rem; font-size: .9rem; font-weight: 500; }
.reviews { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .reviews { grid-template-columns: 1.3fr 1fr; } .review--list { grid-column: span 2; } }
@media (min-width: 1080px) { .reviews { grid-template-columns: 1.35fr 1fr 1fr; } .review--list { grid-column: auto; } }
.review {
  display: flex; flex-direction: column; margin: 0; padding: 1.7rem 1.7rem 1.4rem; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--lin-2);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.review:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review > .stars { margin-bottom: 1rem; }
.review blockquote { margin: 0 0 1.2rem; }
.review blockquote p { font-family: var(--f-title); font-weight: 500; font-size: 1.6rem; line-height: 1.25; color: var(--ink); }
.review--feature { background: radial-gradient(26rem 16rem at 100% 0%, rgba(196, 69, 44, .1), transparent 60%), var(--white); }
.review--feature blockquote p { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.15rem); font-style: italic; }
.review-reply { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1.2rem; padding: .75rem .95rem; border-radius: var(--r-sm); background: var(--lin); font-size: .9rem; }
.review-reply .ico { color: var(--sienne-text); margin-top: .3em; }
.review-reply span { display: grid; line-height: 1.45; }
.review-reply b { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sienne-text); }
.review figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--lin-2); }
.review figcaption strong { display: block; font-size: .98rem; line-height: 1.3; }
.review figcaption small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sienne-soft); color: var(--sienne-text); font-family: var(--f-title); font-weight: 600; font-size: 1.3rem; flex: none; }
.review--list { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--on-dark-muted); }
.review-list-title { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sienne-on-dark); margin-bottom: .6rem; }
.review--list ul { display: grid; margin-bottom: 1.2rem; }
.review--list li { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid rgba(246, 241, 231, .1); }
.review--list li strong { flex: 1; color: var(--on-dark); font-weight: 500; font-size: .98rem; }
.review--list .avatar { width: 36px; height: 36px; font-size: 1.1rem; background: rgba(246, 241, 231, .1); color: var(--on-dark); }
.review--list .stars svg { width: 13px; height: 13px; }
.review-list-cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; color: var(--paprika-on-dark); font-weight: 500; text-decoration: none; }
.review-list-cta:hover { color: #fff; }
.review-list-cta .ico { transition: transform var(--t) var(--ease); }
.review-list-cta:hover .ico { transform: translateX(4px); }

/* ---------- Tarifs ---------- */
.price-grid { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { display: flex; flex-direction: column; padding: 1.8rem 1.65rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--lin-2); }
.price-kicker { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sienne-text); margin-bottom: .6rem; }
.price-card h3 { font-size: 1.8rem; }
.price-sub { color: var(--muted); font-size: .93rem; margin: .3rem 0 1.4rem; }
.price-amount { display: flex; align-items: baseline; gap: .4rem; margin: auto 0 0; }
.price-amount b { font-family: var(--f-body); font-size: 2.9rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-amount span { font-weight: 500; letter-spacing: .1em; color: var(--muted); }
.price-note { display: flex; align-items: center; gap: .4rem; margin: .9rem 0 0; padding-top: .9rem; border-top: 1px solid var(--lin-2); font-size: .85rem; font-weight: 500; color: var(--sienne-text); }
.price-note--muted { color: var(--muted); font-weight: 400; }
.price-card--main {
  background: radial-gradient(22rem 14rem at 100% 0%, rgba(240, 169, 142, .22), transparent 60%), var(--bordeaux);
  border-color: var(--bordeaux); color: var(--on-dark-muted);
}
.price-card--main h3, .price-card--main .price-amount b { color: var(--on-dark); }
.price-card--main .price-kicker, .price-card--main .price-note { color: var(--sienne-on-dark); border-color: rgba(246, 241, 231, .14); }
.price-card--main .price-sub, .price-card--main .price-amount span { color: var(--on-dark-muted); }

.practical { display: grid; gap: 1.1rem; margin-top: 1.1rem; }
@media (min-width: 960px) { .practical { grid-template-columns: 1fr 1.1fr; } }
.insurance, .faq { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--lin-2); }
.insurance h3, .faq h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; font-size: 1.75rem; }
.insurance h3 .ico { color: var(--paprika); }
.insurance-note { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1.15rem;
  border-radius: 999px; border: 1.5px solid var(--bordeaux); color: var(--bordeaux); text-decoration: none;
  font-weight: 600; letter-spacing: .1em; font-size: .9rem;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.badge:hover { background: var(--bordeaux); color: #fff; }
.faq details { border-bottom: 1px solid var(--lin-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: .7rem 0;
  font-weight: 500; color: var(--ink); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--paprika); transition: transform var(--t) var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq summary:hover { color: var(--paprika-btn); }
.faq details p { padding: 0 2rem 1rem 0; font-size: .95rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.contact-info { display: grid; gap: 1.1rem; align-content: start; }
.info-rows { display: grid; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--lin-2); padding: .3rem 1.4rem; }
@media (min-width: 560px) { .info-rows { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
.info-rows li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--lin-2); }
@media (min-width: 560px) { .info-rows li:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 559px) { .info-rows li:last-child { border-bottom: 0; } }
.info-rows .ico { color: var(--paprika); margin-top: .2rem; }
.info-k { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-rows a, .info-v { color: var(--ink); font-weight: 500; text-decoration: none; line-height: 1.45; }
.info-rows a:hover { color: var(--paprika-btn); text-decoration: underline; }
.hours-card { padding: 1.35rem 1.5rem; border-radius: var(--r-lg); background: var(--bordeaux); color: var(--on-dark-muted); }
.hours-card h3 { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; color: var(--on-dark); font-size: 1.65rem; margin-bottom: .7rem; }
.hours-card h3 .ico { color: var(--paprika-on-dark); }
.open-state { margin-left: auto; padding: .2rem .75rem; border-radius: 999px; font-family: var(--f-body); font-size: .76rem; font-weight: 500; background: rgba(246, 241, 231, .1); color: var(--on-dark); }
.open-state.is-open::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .4rem; border-radius: 50%; background: #a9d79a; vertical-align: .05em; }
.hours { display: grid; margin: 0; }
.hours div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1rem; padding: .45rem 0; border-bottom: 1px solid rgba(246, 241, 231, .08); font-size: .94rem; }
.hours dt { color: var(--on-dark-muted); }
.hours dd { margin: 0; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.hours .is-today dt, .hours .is-today dd { color: var(--paprika-on-dark); font-weight: 600; }
.hours-note { margin-top: .8rem; font-size: .88rem; }
.onedoc-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; border-radius: var(--r-lg);
  background: var(--paprika-btn); color: #fff; text-decoration: none;
  transition: background-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.onedoc-card:hover { background: var(--paprika-ink); color: #fff; }
.onedoc-card:active { transform: scale(.99); }
.onedoc-card > .ico:first-child { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.onedoc-card span { flex: 1; display: grid; line-height: 1.35; }
.onedoc-card strong { color: #fff; font-size: 1.04rem; }
.onedoc-card small { color: rgba(255, 255, 255, .88); }
.contact-plaque { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--lin-2); }
.contact-plaque img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact-plaque figcaption { padding: .8rem 1.15rem; font-size: .9rem; color: var(--muted); }
.map { min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--lin-2); border: 1px solid var(--lin-2); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.55) sepia(.18) contrast(1.02); transition: filter var(--t); }
.map:hover iframe { filter: none; }

/* ---------- CTA final ---------- */
.final-cta { position: relative; padding-block: clamp(4rem, 8vw, 6rem) clamp(8rem, 15vw, 12rem); background: linear-gradient(180deg, var(--paper), var(--sienne-soft)); text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 1.25rem; }
.final-mark { width: 76px; height: 76px; color: var(--bordeaux); --mid-c: var(--sienne); --top-c: var(--paprika); }
.final-cta h2 { max-width: 20ch; }
.final-sub { max-width: 36rem; margin: 0 0 .5rem; color: var(--muted); font-size: 1.06rem; }
.final-cta .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--bordeaux-ink); color: var(--on-dark-muted); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .94rem; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--paprika-on-dark); }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand-name { font-size: 1.5rem; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.footer-h { font-family: var(--f-body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: .9rem; }
.footer-links { display: grid; gap: .45rem; }
.footer .btn--light { color: var(--bordeaux); }
.footer .btn--light:hover { color: var(--bordeaux-ink); }
.footer-recog { margin-top: 1rem; font-size: .85rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .5rem 2rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(246, 241, 231, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-papier { font-style: italic; font-family: var(--f-title); font-size: 1.02rem; }
.footer .footer-papier a { color: var(--on-dark-muted); text-decoration: underline; text-decoration-color: rgba(234, 198, 165, .4); }
.footer .footer-papier a:hover { color: var(--sienne-on-dark); }
.legal-note { max-width: 36rem; }
.legal-note summary { cursor: pointer; color: var(--on-dark); min-height: 24px; }
.legal-note p { margin-top: .6rem; }

/* ---------- CTA mobile ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-cta);
  display: none; gap: .6rem; padding: .5rem; border-radius: 999px;
  background: rgba(250, 245, 238, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -12px rgba(58, 18, 24, .45); border: 1px solid var(--line);
  transform: translateY(140%); transition: transform var(--t) var(--ease);
}
.mobile-cta .btn { flex: 1; }
.mobile-cta.is-visible { transform: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  .footer { padding-bottom: 5.5rem; }
}

/* ---------- Révélations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.pillars .reveal:nth-child(2), .steps .reveal:nth-child(2), .domains .reveal:nth-child(4n+2), .reviews .reveal:nth-child(2), .price-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.pillars .reveal:nth-child(3), .steps .reveal:nth-child(3), .domains .reveal:nth-child(4n+3), .reviews .reveal:nth-child(3), .price-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.steps .reveal:nth-child(4), .domains .reveal:nth-child(4n) { transition-delay: 180ms; }

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