/* ---------- Polices (auto-hébergées, licence SIL OFL) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/lexend.woff2") format("woff2"); }
@font-face { font-family: "Edu AU VIC WA NT Hand"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/edu-au-hand.woff2") format("woff2"); }

/* Mise en page : colonnes éditoriales calmes, un motif de patchwork (demi-carrés, comme les fauteuils de la salle d'attente) en fil rouge, photos au coin coupé. */
:root {
  --bg: #F5F8F6;
  --surface: #FFFFFF;
  --tint: #E3EEEA;
  --tint-rose: #F6E3DD;
  --ink: #132E2C;
  --ink-soft: #4B625F;
  --teal: #137575;
  --teal-deep: #0C5452;
  --on-teal: #FFFFFF;
  --velours: #B4473A;
  --on-velours: #FFFFFF;
  --accent: #137575;
  --moutarde: #E2A83A;
  --line: #D3E0DB;
  --shadow-rgb: 19 46 44;
  --plate: #FFFFFF;
  --deep: #132E2C;
  --on-deep: #F5F8F6;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hand: "Edu AU VIC WA NT Hand", "Segoe Print", "Bradley Hand", cursive;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.22rem + 0.8vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.42rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.55rem + 2.9vw, 3.9rem);

  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: clamp(3rem, 2.2rem + 3vw, 4.5rem);
  --space-2xl: clamp(4rem, 2.8rem + 5vw, 7rem);

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --cut: 46px;
  --wrap-max: 1200px;
  --header-h: 72px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.5, .64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
:root { color-scheme: light; padding-top: env(safe-area-inset-top, 0px); }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 370;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--surface);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  font-stretch: 92%;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: var(--step-4); font-weight: 680; font-stretch: 86%; letter-spacing: -0.028em; line-height: 1.02; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.18; }
h4 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
strong, b { font-weight: 600; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--moutarde); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--moutarde); color: #132E2C; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + 8px);
  z-index: 100; transform: translateY(-160%); background: var(--ink); color: var(--bg);
  padding: 0.7rem 1rem; border-radius: var(--r-s); font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap-max) + 64px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}
.section { padding-block: var(--space-2xl); }
.section-tight { padding-block: var(--space-xl); }
.band-tint { background: var(--tint); }
.measure { max-width: 66ch; }
.stack { display: flex; flex-direction: column; gap: var(--space-s); }
.stack-l { display: flex; flex-direction: column; gap: var(--space-l); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: linear-gradient(135deg, var(--velours) 50%, var(--moutarde) 50%);
  border-radius: 2px;
}
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink); font-weight: 340; }
.muted { color: var(--ink-soft); }
.hand { font-family: var(--font-hand); font-weight: 500; letter-spacing: 0; }
.section-head { display: flex; flex-direction: column; gap: var(--space-s); margin-bottom: var(--space-l); max-width: 60rem; }
.section-head p { color: var(--ink-soft); max-width: 62ch; }

/* ---------- Boutons & liens ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: var(--on-teal); --btn-bd: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  border-radius: 14px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 560; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgb(var(--shadow-rgb) / .55); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .3s var(--ease-spring); }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--teal-deep); --btn-bd: color-mix(in srgb, var(--teal) 55%, transparent); }
.btn-ghost:hover { --btn-bg: var(--surface); }
.btn-velours { --btn-bg: var(--velours); --btn-fg: var(--on-velours); --btn-bd: var(--velours); }
.btn-small { min-height: 40px; padding: 0.5rem 0.95rem; font-size: 0.94rem; border-radius: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 560; color: var(--teal-deep);
  text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--teal) 40%, transparent);
  padding-bottom: 2px; transition: border-color .2s, gap .25s var(--ease-out);
}
.link-arrow:hover { border-color: var(--teal); gap: 0.7rem; }
button.link-arrow { background: none; border-width: 0 0 1.5px; border-style: solid; cursor: pointer; padding: 0 0 2px; font-size: 1rem; }
.link-arrow svg { width: 1em; height: 1em; }
.ext::after {
  content: "↗"; display: inline-block; margin-left: 0.2em; font-size: 0.85em; text-decoration: none;
}

/* ---------- Icônes ---------- */
.i { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
  view-transition-name: site-header;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgb(var(--shadow-rgb) / .6); }
.header-inner { display: flex; align-items: center; gap: var(--space-m); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); flex: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; display: grid; grid-template-columns: 1fr 1fr; flex: none; transition: transform .8s var(--ease-spring); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-mark span { display: block; }
.brand-mark span:nth-child(1) { background: linear-gradient(135deg, var(--teal) 50%, transparent 50%); }
.brand-mark span:nth-child(2) { background: linear-gradient(225deg, var(--velours) 50%, transparent 50%); }
.brand-mark span:nth-child(3) { background: linear-gradient(45deg, var(--moutarde) 50%, transparent 50%); }
.brand-mark span:nth-child(4) { background: linear-gradient(315deg, var(--teal-deep) 50%, transparent 50%); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-stretch: 88%; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }

.main-nav > ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.main-nav a, .main-nav .nav-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.7rem; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 450;
  background: none; border: 0; cursor: pointer; position: relative; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover, .main-nav .nav-btn:hover, .main-nav .nav-btn[aria-expanded="true"] { background: var(--tint); }
.main-nav a[aria-current="page"], .main-nav .nav-btn.is-current { color: var(--teal-deep); font-weight: 560; }
.main-nav a[aria-current="page"]::after, .main-nav .nav-btn.is-current::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.2rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--velours), var(--moutarde));
}
.nav-btn .chev { width: 0.9em; height: 0.9em; transition: transform .25s var(--ease-out); }
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 10px); left: -0.5rem; min-width: 300px;
  list-style: none; padding: 0.5rem; display: grid; gap: 0.15rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: 0 24px 48px -24px rgb(var(--shadow-rgb) / .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease-out), visibility 0s linear .25s;
}
.sub.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease-out), visibility 0s; }
.main-nav .sub a { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: center; padding: 0.7rem 0.8rem; white-space: normal; }
.sub-ico { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--tint); color: var(--teal-deep); }
.sub-ico .i { width: 18px; height: 18px; }
.sub-title { font-weight: 560; }
.sub-desc { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.35; }
.main-nav .sub a[aria-current="page"]::after { display: none; }
.main-nav .sub a[aria-current="page"] { background: var(--tint); }

.header-cta { flex: none; }
.menu-toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 0.9rem;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 560;
}
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease-out), opacity .2s; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5px; }
.menu-toggle .bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; z-index: 49; left: 0; right: 0;
  top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
  bottom: 0; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg);
  padding: var(--space-m) max(16px, env(safe-area-inset-right, 0px)) calc(var(--space-l) + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease-out), visibility 0s linear .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease-out), visibility 0s; }
.mobile-menu ul { list-style: none; display: grid; gap: 0.25rem; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 52px; padding: 0.6rem 0.9rem; border-radius: 14px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; font-stretch: 90%;
  color: var(--ink); text-decoration: none;
}
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { background: var(--tint); }
.mobile-menu .group-label { margin: 1rem 0 0.25rem 0.9rem; font-size: 0.78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.mobile-menu nav .indent a { font-size: 1.15rem; padding-left: 1.6rem; }
.mobile-quick { display: grid; gap: 0.6rem; margin-top: var(--space-m); padding-top: var(--space-m); border-top: 1px solid var(--line); }

@media (max-width: 1140px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .header-cta { display: none; }
  .brand-sub { display: none; }
}

/* ---------- Patchwork : carreaux demi-carrés ---------- */
.quilt { display: grid; grid-template-columns: repeat(var(--cols, 3), var(--t, 56px)); grid-auto-rows: var(--t, 56px); }
.tile {
  --a: var(--teal); --b: var(--surface);
  position: relative; width: 100%; height: 100%;
  transform: rotate(calc(var(--r, 0) * 90deg));
  transition: transform .7s var(--ease-spring);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.tile::before, .tile::after { content: ""; position: absolute; inset: 0; }
.tile::before { background: var(--a); clip-path: polygon(0 0, 100% 0, 0 100%); }
.tile::after { background: var(--b); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.tile.is-turning { z-index: 2; }
.quilt.is-static .tile { cursor: default; }

.tile.c-teal { --a: var(--teal); }
.tile.c-deep { --a: var(--teal-deep); }
.tile.c-velours { --a: var(--velours); }
.tile.c-moutarde { --a: var(--moutarde); }
.tile.c-rose { --a: var(--tint-rose); }
.tile.c-tint { --a: var(--tint); }
.tile.c-ink { --a: var(--ink); }
.tile.b-surface { --b: var(--surface); }
.tile.b-tint { --b: var(--tint); }
.tile.b-rose { --b: var(--tint-rose); }
.tile.b-moutarde { --b: var(--moutarde); }
.tile.b-teal { --b: var(--teal); }
.tile.b-velours { --b: var(--velours); }
.tile.p-dots::before { background: radial-gradient(circle, var(--ink) 1.3px, transparent 1.8px) 0 0 / 9px 9px, var(--surface); }
.tile.p-stripes::before { background: repeating-linear-gradient(45deg, var(--velours) 0 4px, var(--tint-rose) 4px 8px); }
.tile.p-check::before { background: conic-gradient(var(--ink) 25%, var(--surface) 0 50%, var(--ink) 0 75%, var(--surface) 0) 0 0 / 12px 12px; }
.tile.p-grid::before { background: linear-gradient(var(--teal) 1.5px, transparent 1.5px) 0 0 / 8px 8px, linear-gradient(90deg, var(--teal) 1.5px, transparent 1.5px) 0 0 / 8px 8px, var(--tint); }

.sawtooth {
  height: 18px; width: 100%;
  background:
    linear-gradient(135deg, var(--moutarde) 50%, transparent 50%) 0 0 / 36px 18px repeat-x,
    linear-gradient(135deg, var(--velours) 50%, transparent 50%) 18px 0 / 36px 18px repeat-x;
}
.sawtooth.teal {
  background:
    linear-gradient(135deg, var(--teal) 50%, transparent 50%) 0 0 / 36px 18px repeat-x,
    linear-gradient(135deg, var(--moutarde) 50%, transparent 50%) 18px 0 / 36px 18px repeat-x;
}

.quilt-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.75rem;
  background: none; border: 0; padding: 0.35rem 0.2rem; cursor: pointer;
  font-family: var(--font-hand); font-size: 1.05rem; color: var(--ink-soft);
}
.quilt-btn:hover { color: var(--accent); }
.quilt-btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Photos ---------- */
.photo { width: 100%; object-fit: cover; border-radius: var(--r-l); background: var(--tint); max-width: 100%; }
.cut-tl { -webkit-mask: linear-gradient(135deg, transparent var(--cut), #000 calc(var(--cut) + 1px)); mask: linear-gradient(135deg, transparent var(--cut), #000 calc(var(--cut) + 1px)); }
.cut-tr { -webkit-mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + 1px)); mask: linear-gradient(225deg, transparent var(--cut), #000 calc(var(--cut) + 1px)); }
.cut-br { -webkit-mask: linear-gradient(315deg, transparent var(--cut), #000 calc(var(--cut) + 1px)); mask: linear-gradient(315deg, transparent var(--cut), #000 calc(var(--cut) + 1px)); }
.plate { background: var(--plate); border-radius: var(--r-m); display: grid; place-items: center; }

/* ---------- Accueil : hero ---------- */
.hero { padding-block: clamp(2.25rem, 1.4rem + 4vw, 5rem) clamp(3rem, 2rem + 5vw, 6rem); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-m); min-width: 0; }
.hero h1 { font-size: clamp(2.35rem, 1.45rem + 3.4vw, 4.25rem); }
.hero h1 .accent { color: var(--accent); position: relative; white-space: nowrap; display: inline-block; }
.scribble { position: absolute; left: -2%; right: -4%; bottom: -0.22em; width: 106%; height: 0.42em; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--moutarde); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.is-drawing .scribble path { animation: draw 1.1s .35s var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 420; } }
.hero .lead { max-width: 36ch; font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--ink-soft); font-size: 0.95rem; list-style: none; }
.hero-meta li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta .i { color: var(--teal); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 460px); padding: 0 0 52px 52px; }
.hero-visual .photo { aspect-ratio: 4 / 5; object-position: 50% 28%; --cut: 64px; }
.hero-visual .quilt { position: absolute; left: 0; bottom: 0; --t: clamp(42px, 3vw + 18px, 62px); --cols: 3; filter: drop-shadow(0 18px 24px rgb(var(--shadow-rgb) / .22)); }
.hero-note {
  position: absolute; top: -6px; left: 8px; z-index: 2;
  font-family: var(--font-hand); font-size: clamp(1rem, 0.85rem + 0.55vw, 1.3rem); line-height: 1.15; color: var(--accent);
  transform: rotate(-7deg); display: flex; flex-direction: column; align-items: flex-start;
}
.hero-note svg { width: 56px; height: 40px; margin-left: 46px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.hero-shuffle { position: absolute; right: 0; bottom: 4px; margin: 0; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(100%, 420px); }
}

/* Parcours rapides */
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-s); }
.path {
  position: relative; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0;
  padding: 1.35rem 1.25rem 1.25rem; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.path:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); box-shadow: 0 22px 40px -28px rgb(var(--shadow-rgb) / .7); text-decoration: none; }
.path .tile { position: absolute; top: 0; right: 0; width: 44px; height: 44px; pointer-events: none; }
.path:hover .tile { --r: 1; }
.path-kicker { font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.path h3 { font-size: var(--step-1); padding-right: 2.2rem; }
.path p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.5; }
.path .go { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 560; color: var(--teal-deep); font-size: 0.93rem; }
.path:hover .go svg { transform: translateX(3px); }
.path .go svg { transition: transform .3s var(--ease-spring); }
@media (max-width: 980px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .paths { grid-template-columns: 1fr; } }

/* J'interviens pour */
.intervene { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--space-xl); align-items: start; }
.intervene h2 { font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.75rem); line-height: 1.12; }
.intervene h2 mark { background: none; color: inherit; box-shadow: inset 0 -0.32em 0 color-mix(in srgb, var(--moutarde) 55%, transparent); padding-inline: 0.04em; }
.issue-list { list-style: none; display: grid; gap: 0.6rem; }
.issue-list li {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.95rem 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 450;
  transition: transform .3s var(--ease-out), border-color .3s;
}
.issue-list li:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--velours) 45%, var(--line)); }
.issue-list .tile { width: 26px; height: 26px; flex: none; cursor: default; }
.issue-list li:hover .tile { --r: 1; }
.callout {
  margin-top: var(--space-m); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--deep); color: var(--on-deep);
}
.callout p { font-weight: 500; }
.callout .link-arrow { color: var(--on-deep); border-color: color-mix(in srgb, var(--on-deep) 45%, transparent); }
@media (max-width: 880px) { .intervene { grid-template-columns: 1fr; gap: var(--space-l); } }

/* Galerie */
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--space-l); }
.gallery-ctrl { display: flex; gap: 0.5rem; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--teal); transform: translateY(-2px); }
.icon-btn .i { width: 20px; height: 20px; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 28vw, 340px); gap: var(--space-s);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin;
  scrollbar-color: var(--line) transparent; overscroll-behavior-x: contain;
}
.gallery figure { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.6rem; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-l); display: block; overflow: hidden; }
.gallery img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: var(--r-l); transition: transform .6s var(--ease-out); }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 0.92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.5rem; }
.gallery figcaption::before { content: ""; width: 10px; height: 10px; background: linear-gradient(135deg, var(--teal) 50%, var(--moutarde) 50%); flex: none; }
.gallery .wide { grid-column: span 1; }

/* Démarche intégrative */
.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.approach-text { display: flex; flex-direction: column; gap: var(--space-s); }
.patches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.patch {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: grid; place-items: end start;
  padding: 0.6rem; isolation: isolate;
}
.patch .tile { position: absolute; inset: 0; z-index: -1; cursor: inherit; transform: rotate(calc(var(--r, 0) * 90deg)) scale(1.42); }
.patch:hover .tile { --r: 1; }
.patch span {
  background: var(--surface); color: var(--ink); border-radius: 9px; padding: 0.3rem 0.55rem;
  font-weight: 600; font-size: 0.86rem; line-height: 1.2; box-shadow: 0 6px 14px -10px rgb(var(--shadow-rgb) / .6);
}
.patch.wide { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 880px) { .approach { grid-template-columns: 1fr; gap: var(--space-l); } }
@media (max-width: 520px) { .patches { gap: 0.4rem; } .patch { padding: 0.35rem; border-radius: 10px; } .patch span { font-size: 0.74rem; padding: 0.22rem 0.4rem; border-radius: 7px; } }

/* Équipe (aperçu) */
.duo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-l); align-items: center; padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.duo img { width: clamp(120px, 14vw, 180px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.duo .stack { gap: 0.8rem; }
@media (max-width: 620px) { .duo { grid-template-columns: 1fr; } }

/* ---------- En-tête des pages intérieures ---------- */
.page-head { position: relative; background: var(--tint); padding-block: clamp(2.25rem, 1.5rem + 3.5vw, 4.25rem) clamp(2.5rem, 1.6rem + 4vw, 4.75rem); overflow: hidden; }
.page-head .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-l); align-items: end; }
.page-head-copy { display: flex; flex-direction: column; gap: var(--space-s); min-width: 0; }
.page-head .lead { max-width: 60ch; }
.page-head .quilt { --t: 40px; --cols: 4; }
.page-head .sawtooth { position: absolute; left: 0; right: 0; bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; font-size: 0.88rem; color: var(--ink-soft); list-style: none; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--teal-deep); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: .6; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
@media (max-width: 700px) { .page-head .wrap { grid-template-columns: 1fr; } .page-head .quilt { display: none; } }

/* ---------- Qui sommes-nous ---------- */
.profile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-xl); align-items: start; }
.profile + .profile { margin-top: var(--space-2xl); }
.profile.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.profile.flip .profile-media { order: 2; }
.profile-media { position: relative; }
.profile-media .photo { aspect-ratio: 4 / 5; --cut: 56px; }
.profile-media .quilt { position: absolute; --t: 34px; --cols: 2; right: -14px; bottom: -14px; }
.profile.flip .profile-media .quilt { right: auto; left: -14px; }
.profile-body { display: flex; flex-direction: column; gap: var(--space-m); min-width: 0; }
.profile-body h2 { font-size: var(--step-4); font-stretch: 86%; }
.role { font-family: var(--font-hand); font-size: 1.25rem; color: var(--accent); margin-top: -0.4rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); }
.fact { padding: 1.15rem 1.2rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.5rem; }
.fact h3 { font-size: 0.82rem; font-family: var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; }
.fact ul { list-style: none; display: grid; gap: 0.35rem; }
.fact li { display: flex; gap: 0.55rem; align-items: baseline; }
.fact li::before { content: ""; width: 9px; height: 9px; flex: none; transform: translateY(-1px); background: linear-gradient(135deg, var(--velours) 50%, var(--moutarde) 50%); }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--tint-rose); color: var(--ink); font-size: 0.86rem; font-weight: 550; width: fit-content; }
.chip .i { width: 1em; height: 1em; color: var(--accent); }
.contact-lines { display: grid; gap: 0.6rem; }
@media (max-width: 860px) {
  .profile, .profile.flip { grid-template-columns: 1fr; gap: var(--space-l); }
  .profile.flip .profile-media { order: 0; }
  .profile-media { max-width: 420px; }
}
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Ligne de contact copiable */
.copy-line {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 0.7rem;
  padding: 0.55rem 0.55rem 0.55rem 0.95rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
}
.copy-line > .i { grid-column: 1; grid-row: 1 / span 2; color: var(--teal); }
.copy-line .who { grid-column: 2; grid-row: 1; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.3; }
.copy-line a, .copy-line .val { grid-column: 2; font-weight: 560; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; min-width: 0; line-height: 1.35; }
.copy-line a:hover { color: var(--teal-deep); text-decoration: underline; }
.copy-line .copy-btn { grid-column: 3; grid-row: 1 / span 2; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding: 0.35rem 0.75rem;
  border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft); cursor: pointer;
  font-size: 0.85rem; font-weight: 550; transition: background-color .2s, color .2s, border-color .2s;
}
.copy-btn:hover { color: var(--teal-deep); border-color: var(--teal); }
.copy-btn.is-done { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.copy-btn .i { width: 1em; height: 1em; color: currentColor; }

/* ---------- Bilans ---------- */
.intro-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--space-xl); align-items: start; }
.note-card { padding: 1.3rem 1.4rem; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.6rem; }
.note-card .hand { font-size: 1.2rem; color: var(--accent); }
@media (max-width: 860px) { .intro-cols { grid-template-columns: 1fr; gap: var(--space-l); } }

.age-switch { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.35rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: var(--space-m); }
.age-switch button {
  min-height: 44px; padding: 0.45rem 1rem; border-radius: 12px; border: 0; background: transparent; cursor: pointer;
  font-weight: 550; color: var(--ink-soft); transition: background-color .25s, color .25s;
}
.age-switch button[aria-pressed="true"] { background: var(--teal); color: var(--on-teal); }
.age-switch button:not([aria-pressed="true"]):hover { background: var(--tint); color: var(--ink); }
.age-label { font-family: var(--font-hand); font-size: 1.15rem; color: var(--ink-soft); margin-right: 0.5rem; }

.age-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-s); align-items: start; }
.age-col {
  border-radius: var(--r-l); background: var(--surface); border: 1.5px solid var(--line); padding: 1.35rem; display: flex; flex-direction: column; gap: 0.9rem;
  transition: border-color .35s, box-shadow .35s, opacity .35s, transform .35s var(--ease-out);
}
.age-cols.has-focus .age-col { opacity: .55; }
.age-cols.has-focus .age-col.is-focus { opacity: 1; border-color: var(--teal); box-shadow: 0 26px 50px -34px rgb(var(--shadow-rgb) / .8); transform: translateY(-4px); }
.age-col header { display: flex; flex-direction: column; gap: 0.25rem; padding-bottom: 0.9rem; border-bottom: 1px dashed var(--line); }
.age-range { font-family: var(--font-display); font-weight: 700; font-stretch: 84%; font-size: var(--step-3); line-height: 1; letter-spacing: -0.03em; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.age-col h3 { font-size: var(--step-1); }
.test { display: flex; flex-direction: column; gap: 0.35rem; }
.test + .test { padding-top: 0.9rem; border-top: 1px solid var(--line); }
.test-kind { font-size: 0.8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.test-tools { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tool {
  display: inline-block; padding: 0.22rem 0.55rem; border-radius: 7px; background: var(--tint); color: var(--ink);
  font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
}
.tool.alt { background: var(--tint-rose); }
.test p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 960px) { .age-cols { grid-template-columns: 1fr; } .age-cols.has-focus .age-col { opacity: 1; } }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-s); position: relative; isolation: isolate; }
.step { position: relative; padding: 1.4rem 1.3rem 1.3rem; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.5rem; }
.step-num {
  width: 46px; height: 46px; display: grid; place-items: center; position: relative; color: var(--on-teal);
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 0.3rem;
}
.step-num::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--teal) 50%, var(--teal-deep) 50%); border-radius: 4px; z-index: 0; }
.step-num span { position: relative; z-index: 1; }
.step:nth-child(2) .step-num::before { background: linear-gradient(135deg, var(--velours) 50%, color-mix(in srgb, var(--velours) 75%, #000) 50%); }
.step:nth-child(2) .step-num { color: var(--on-velours); }
.step:nth-child(3) .step-num::before { background: linear-gradient(135deg, var(--moutarde) 50%, color-mix(in srgb, var(--moutarde) 78%, #000) 50%); }
.step:nth-child(3) .step-num { color: #132E2C; }
.step h3 { font-size: var(--step-1); }
.step p { color: var(--ink-soft); font-size: 0.97rem; }
.steps::before {
  content: ""; position: absolute; top: 46px; left: 8%; right: 8%; height: 2px; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }

.links-row { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; margin-top: var(--space-l); }

/* ---------- Suivi psychologique ---------- */
.keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-s); margin-bottom: var(--space-xl); }
.keyfact { padding: 1.3rem; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; gap: 1rem; }
.keyfact .label { font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.keyfact .value { font-family: var(--font-display); font-size: var(--step-2); font-weight: 650; font-stretch: 88%; line-height: 1.1; }
.clock { width: 74px; height: 74px; flex: none; }
.clock circle { fill: none; stroke-width: 9; }
.clock .track { stroke: var(--tint); }
.clock .arc { stroke: var(--velours); stroke-linecap: butt; stroke-dasharray: 188.5 251.3; transform: rotate(-90deg); transform-origin: 50% 50%; }
.is-entering .clock .arc { animation: arc 1.2s .2s var(--ease-out) both; }
@keyframes arc { from { stroke-dasharray: 0 251.3; } }
.clock text { font-family: var(--font-display); font-weight: 700; font-size: 20px; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.keyfact .tile { width: 54px; height: 54px; flex: none; cursor: default; }
@media (max-width: 860px) { .keyfacts { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--space-xl); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: var(--space-l); } }
.indications { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
.indications li {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); font-size: 0.97rem; line-height: 1.45;
}
.indications li::before { content: ""; width: 12px; height: 12px; flex: none; margin-top: 0.38em; background: linear-gradient(135deg, var(--teal) 50%, var(--moutarde) 50%); }
.indications li.full { grid-column: 1 / -1; }
.indications small { display: block; color: var(--ink-soft); margin-top: 0.15rem; font-size: 0.9rem; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.tool-patch {
  position: relative; overflow: hidden; isolation: isolate; min-height: 112px; padding: 1rem; border-radius: 16px;
  display: flex; align-items: flex-end; font-weight: 600; line-height: 1.3; background: var(--surface); border: 1px solid var(--line);
}
.tool-patch .tile { position: absolute; top: -1px; right: -1px; width: 48px; height: 48px; z-index: -1; cursor: default; transition: transform .7s var(--ease-spring); }
.tool-patch:hover .tile { --r: 2; }
.tool-patch.span2 { grid-column: span 2; min-height: 92px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: var(--space-xl); align-items: start; }
.faq-index { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 24px); display: flex; flex-direction: column; gap: 0.75rem; }
.faq-index ol { list-style: none; display: grid; gap: 0.2rem; counter-reset: q; border-left: 2px solid var(--line); }
.faq-index button {
  width: 100%; text-align: left; display: flex; gap: 0.6rem; padding: 0.55rem 0.8rem; margin-left: -2px; border: 0; background: none; cursor: pointer;
  border-left: 2px solid transparent; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.4; transition: color .2s, border-color .2s, background-color .2s;
  border-radius: 0 10px 10px 0;
}
.faq-index button:hover { color: var(--ink); background: var(--tint); }
.faq-index button.is-active { color: var(--ink); border-left-color: var(--accent); font-weight: 550; }
.faq-index .n { font-variant-numeric: tabular-nums; color: var(--teal-deep); font-weight: 600; min-width: 1.4em; }
.faq-list { display: flex; flex-direction: column; gap: var(--space-s); }
.qa { padding: clamp(1.2rem, 1rem + 1vw, 1.75rem); border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.8rem; scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color .4s, box-shadow .4s; }
.qa.is-active { border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); box-shadow: 0 20px 40px -32px rgb(var(--shadow-rgb) / .7); }
.qa h2 { font-size: var(--step-2); display: flex; gap: 0.75rem; align-items: baseline; }
.qa h2 .n { font-family: var(--font-hand); color: var(--accent); font-size: 0.85em; flex: none; }
.qa p, .qa li { color: var(--ink); }
.qa ol { list-style: none; display: grid; gap: 0.75rem; counter-reset: s; }
.qa ol li { position: relative; padding-left: 2.6rem; counter-increment: s; }
.qa ol li::before {
  content: counter(s); position: absolute; left: 0; top: 0.05em; width: 1.8rem; height: 1.8rem; display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem; color: var(--on-teal); background: linear-gradient(135deg, var(--teal) 50%, var(--teal-deep) 50%); border-radius: 4px;
}
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq-index { position: static; } }

/* ---------- Tarifs ---------- */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); }
.price {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end;
  padding: 1.5rem 1.5rem 1.4rem; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.price:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -32px rgb(var(--shadow-rgb) / .75); }
.price h2 { font-size: var(--step-1); line-height: 1.3; }
.price .kind { font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 0.4rem; display: block; }
.amount { font-family: var(--font-display); font-weight: 700; font-stretch: 82%; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); line-height: .9; letter-spacing: -0.04em; color: var(--teal-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.amount sup { font-size: 0.45em; vertical-align: top; margin-left: 0.08em; position: relative; top: 0.25em; }
.price .tile { position: absolute; top: 0; left: 0; width: 22px; height: 22px; cursor: default; }
.price.featured { background: var(--ink); border-color: var(--ink); }
.price.featured h2, .price.featured .amount { color: var(--bg); }
.price.featured .kind { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.pay-note { display: flex; align-items: center; gap: 0.75rem; margin-top: var(--space-m); font-size: var(--step-1); }
.pay-note .hand { font-size: 1.35rem; color: var(--accent); }
.good-to-know { margin-top: var(--space-xl); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: var(--space-l); padding: clamp(1.3rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-l); background: var(--tint); }
.good-to-know ul { list-style: none; display: grid; gap: 0.7rem; }
.good-to-know li { display: flex; gap: 0.75rem; align-items: flex-start; }
.good-to-know li .i { color: var(--teal-deep); margin-top: 0.22em; }
@media (max-width: 760px) { .prices, .good-to-know { grid-template-columns: 1fr; } }

/* ---------- ATYS ---------- */
.atys-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--space-xl); align-items: center; }
.day-badge { display: inline-flex; align-items: center; gap: 0.55rem; width: fit-content; padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--teal); color: var(--on-teal); font-weight: 600; font-size: 0.9rem; letter-spacing: .06em; text-transform: uppercase; }
.day-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--moutarde); }
.statement { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.6rem); font-weight: 600; font-stretch: 90%; line-height: 1.15; letter-spacing: -0.02em; }
.statement strong { color: var(--teal-deep); font-weight: 700; }
.atys-logo { padding: clamp(1.5rem, 1rem + 3vw, 3rem); aspect-ratio: 4 / 3; position: relative; overflow: visible; }
.atys-logo img { width: 72%; height: auto; }
.atys-logo .quilt { position: absolute; --t: 36px; --cols: 2; left: -18px; bottom: -18px; }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-s); }
.figure { padding: 1.5rem 1.3rem; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.5rem; position: relative; overflow: hidden; }
.figure .big { font-family: var(--font-display); font-weight: 700; font-stretch: 84%; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.figure:nth-child(1) .big { color: var(--teal-deep); }
.figure:nth-child(2) .big { color: var(--accent); }
.figure:nth-child(3) .big { color: color-mix(in srgb, var(--moutarde) 60%, var(--ink)); }
.figure .tile { position: absolute; top: 0; right: 0; width: 30px; height: 30px; cursor: default; }
.quote-block { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(3.5rem, 2.5rem + 3vw, 5rem); border-radius: var(--r-l); background: var(--tint-rose); }
.quote-block::before { content: "“"; position: absolute; left: clamp(1rem, 0.5rem + 1.5vw, 1.75rem); top: 0.1em; font-family: var(--font-display); font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: 1; color: var(--accent); }
.quote-block p { font-size: var(--step-1); line-height: 1.5; }
@media (max-width: 860px) { .atys-hero { grid-template-columns: 1fr; } .figures { grid-template-columns: 1fr; } .atys-logo { max-width: 420px; } }

/* ---------- Danse thérapie ---------- */
.danse-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-xl); align-items: center; }
.danse-intro .photo { aspect-ratio: 4 / 3; --cut: 52px; }
.accroche { font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); font-weight: 650; font-stretch: 88%; line-height: 1.08; letter-spacing: -0.025em; }
.groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-s); }
.group {
  position: relative; padding: 1.4rem 1.25rem; min-height: 170px; display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
  border-radius: 46% 54% 42% 58% / 38% 40% 60% 62%;
  background: var(--surface); border: 1px solid var(--line); text-align: center; align-items: center;
  transition: border-radius .9s var(--ease-out), transform .5s var(--ease-out), background-color .3s;
}
.group:hover { border-radius: 58% 42% 55% 45% / 52% 44% 56% 48%; transform: translateY(-4px) rotate(-1deg); }
.group .age { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); font-stretch: 86%; color: var(--teal-deep); line-height: 1; }
.group .what { font-weight: 500; line-height: 1.35; max-width: 18ch; }
.group:nth-child(2) { background: var(--tint-rose); border-color: transparent; }
.group:nth-child(2) .age { color: var(--accent); }
.group:nth-child(3) { background: color-mix(in srgb, var(--teal) 16%, var(--surface)); border-color: transparent; }
.group:nth-child(4) { background: color-mix(in srgb, var(--moutarde) 22%, var(--surface)); border-color: transparent; }
@media (max-width: 980px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .groups { grid-template-columns: 1fr; } .group { min-height: 140px; } }
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-s); }
.info-card { padding: clamp(1.3rem, 1rem + 1.2vw, 2rem); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-s); }
.info-card h2 { font-size: var(--step-2); }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Publications ---------- */
.book { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: var(--space-xl); align-items: start; }
.book + .book { margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: 1px solid var(--line); }
.book-cover { perspective: 900px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 24px); }
.book-cover .cover {
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 2deg)); transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s; border-radius: 4px 10px 10px 4px; overflow: hidden;
  box-shadow: 18px 26px 40px -22px rgb(var(--shadow-rgb) / .7), inset 6px 0 10px -6px rgb(0 0 0 / .4);
  position: relative; max-width: 340px;
}
.book-cover .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgb(255 255 255 / 0) 40%, rgb(255 255 255 / .22) 50%, rgb(255 255 255 / 0) 60%); background-size: 260% 100%; background-position: var(--shine, 100%) 0; pointer-events: none; }
.book-cover img { width: 100%; }
.book-body { display: flex; flex-direction: column; gap: var(--space-s); min-width: 0; }
.book-body h2 { font-size: var(--step-4); font-stretch: 84%; }
.book-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.book-body ul { list-style: none; display: grid; gap: 0.5rem; }
.book-body ul li { display: flex; gap: 0.7rem; align-items: baseline; }
.book-body ul li::before { content: ""; width: 10px; height: 10px; flex: none; background: linear-gradient(135deg, var(--teal) 50%, var(--velours) 50%); transform: translateY(-1px); }
.signoff { font-family: var(--font-hand); font-size: 1.25rem; color: var(--accent); }
@media (max-width: 820px) { .book { grid-template-columns: 1fr; } .book-cover { position: static; max-width: 280px; } }

/* ---------- Partenaires ---------- */
.partners { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-s); }
.partners > li { display: flex; min-width: 0; }
.partner {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 0.8rem; padding: 1.3rem; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.partner:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); box-shadow: 0 22px 40px -30px rgb(var(--shadow-rgb) / .7); text-decoration: none; }
.partner .plate { height: 110px; padding: 1rem; border: 1px solid var(--line); }
.partner .plate img { max-height: 78px; width: auto; max-width: 100%; object-fit: contain; }
.partner h2 { font-size: 1.08rem; line-height: 1.3; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; font-stretch: 100%; }
.partner p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.5; }
.partner .go { margin-top: auto; font-size: 0.9rem; font-weight: 560; color: var(--teal-deep); }
@media (max-width: 960px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partners { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-s); }
.way { padding: 1.4rem; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.9rem; position: relative; overflow: hidden; }
.way .way-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--teal-deep); }
.way .way-ico .i { width: 24px; height: 24px; }
.way h2 { font-size: var(--step-2); }
.way .btn { margin-top: auto; }
.way.primary { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.way.primary h2, .way.primary p { color: var(--on-teal); }
.way.primary .way-ico { background: color-mix(in srgb, var(--on-teal) 18%, transparent); color: var(--on-teal); }
.way.primary .btn { --btn-bg: var(--on-teal); --btn-fg: var(--teal-deep); --btn-bd: var(--on-teal); }
.way .tile { position: absolute; top: 0; right: 0; width: 40px; height: 40px; cursor: default; }
@media (max-width: 920px) { .ways { grid-template-columns: 1fr; } }

.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-s); align-items: stretch; }
.access-card { padding: clamp(1.3rem, 1rem + 1.2vw, 2rem); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.access-card .addr { font-family: var(--font-display); font-size: var(--step-2); font-weight: 650; font-stretch: 88%; line-height: 1.15; }
.bus-row { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.bus { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.1rem; padding: 0 0.5rem; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.stop { font-weight: 560; }
.map-art {
  position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 340px; border: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--tint);
  display: grid; place-items: center;
}
.map-art.is-loaded { background: var(--tint); }
.map-art iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; text-align: center; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); max-width: 36ch; }
.map-placeholder .quilt { --t: 30px; --cols: 3; filter: drop-shadow(0 12px 18px rgb(var(--shadow-rgb) / .18)); }
.map-addr { font-family: var(--font-display); font-weight: 650; font-stretch: 90%; font-size: var(--step-1); line-height: 1.25; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.map-addr .i { width: 26px; height: 26px; color: var(--velours); }
.map-note { font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } }

.info-box { padding: 1.3rem 1.4rem; border-radius: var(--r-l); background: var(--tint-rose); display: flex; flex-direction: column; gap: 0.75rem; }
.info-box h2 { font-size: var(--step-1); }
.info-box ul { list-style: none; display: grid; gap: 0.5rem; }
.info-box li { display: flex; gap: 0.7rem; align-items: flex-start; }
.info-box li .i { color: var(--accent); margin-top: 0.22em; }

.form-wrap { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: var(--space-xl); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: var(--space-l); } }
.form { padding: clamp(1.3rem, 1rem + 1.5vw, 2.2rem); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field label, .field legend { font-weight: 560; font-size: 0.95rem; }
.req { color: var(--velours); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--ink-soft) 80%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); background: var(--surface); }
.field [aria-invalid="true"] { border-color: var(--velours); }
.field-error { color: var(--velours); font-size: 0.88rem; font-weight: 500; display: flex; gap: 0.35rem; align-items: center; }
.field-help { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.counter.is-near { color: var(--velours); font-weight: 600; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.who-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.who-pick label {
  position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.8rem; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 560; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.who-pick label:hover { border-color: color-mix(in srgb, var(--teal) 50%, var(--line)); }
.who-pick input { position: absolute; opacity: 0; pointer-events: none; }
.who-pick img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.who-pick label:has(input:checked) { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent); }
.who-pick label:has(input:focus-visible) { outline: 3px solid var(--moutarde); outline-offset: 2px; }
.who-pick .tick { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; }
.who-pick label:has(input:checked) .tick { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.who-pick .tick .i { width: 14px; height: 14px; opacity: 0; }
.who-pick label:has(input:checked) .tick .i { opacity: 1; }
@media (max-width: 460px) { .who-pick { grid-template-columns: 1fr; } }
.error-summary { padding: 1rem 1.1rem; border-radius: 14px; border: 1.5px solid var(--velours); background: color-mix(in srgb, var(--velours) 8%, var(--surface)); }
.error-summary h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: 0.35rem; }
.error-summary ul { padding-left: 1.1rem; }
.error-summary a { color: var(--velours); font-weight: 560; }
.form-ready, .form-sent { padding: clamp(1.3rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-l); background: var(--tint); display: flex; flex-direction: column; gap: 0.9rem; }
.form-ready h3, .form-sent h3 { font-size: var(--step-2); }
.form-note { font-size: 0.92rem; color: var(--velours); font-weight: 500; }
.form-sent { background: color-mix(in srgb, var(--teal) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--line)); }
.form-ready pre {
  margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-body); font-size: 0.95rem; line-height: 1.55;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; max-height: 280px; overflow: auto;
}

/* ---------- Pages légales ---------- */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-m); }
.prose h3 { font-size: var(--step-1); margin-top: 0.5rem; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 0.55rem; }
.prose li { position: relative; padding-left: 1.4rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; background: linear-gradient(135deg, var(--teal) 50%, var(--moutarde) 50%); }
.prose a { overflow-wrap: anywhere; }
.legal-list { list-style: none; display: grid; gap: 0.7rem; }
.legal-list li { padding: 1rem 1.2rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.legal-list li::before { display: none; }

/* ---------- Pied de page ---------- */
.rdv-band { background: var(--deep); color: var(--on-deep); position: relative; }
.rdv-band .wrap { padding-block: var(--space-xl); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-l); align-items: center; }
.rdv-band h2 { color: var(--on-deep); font-size: var(--step-4); font-stretch: 84%; }
.rdv-band .lead { color: color-mix(in srgb, var(--on-deep) 78%, transparent); margin-top: 0.75rem; font-size: var(--step-0); max-width: 38ch; }
.rdv-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); }
.person-mini {
  display: flex; flex-direction: column; gap: 0.75rem; padding: 1.1rem; border-radius: var(--r-m);
  background: color-mix(in srgb, var(--on-deep) 7%, transparent); border: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent);
}
.person-mini .who { display: flex; align-items: center; gap: 0.75rem; }
.person-mini img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.person-mini h3 { color: var(--on-deep); font-size: 1.15rem; }
.person-mini .small { font-size: 0.85rem; color: color-mix(in srgb, var(--on-deep) 72%, transparent); }
.person-mini .tel { color: var(--on-deep); font-weight: 560; text-decoration: none; font-variant-numeric: tabular-nums; }
.person-mini .tel:hover { text-decoration: underline; }
.person-mini .btn { --btn-bg: var(--moutarde); --btn-fg: #132E2C; --btn-bd: var(--moutarde); }
@media (max-width: 900px) { .rdv-band .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .rdv-people { grid-template-columns: 1fr; } }

.footer-main { padding-block: var(--space-xl) var(--space-l); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .9fr); gap: var(--space-l); }
.footer-main h3 { font-size: 0.82rem; font-family: var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 0.9rem; }
.footer-main .addr-title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 650; line-height: 1.25; margin-bottom: 0.5rem; text-transform: none; letter-spacing: -0.01em; color: var(--ink); }
.footer-main ul { list-style: none; display: grid; gap: 0.45rem; }
.footer-main a { color: var(--ink); text-decoration: none; }
.footer-main a:hover { color: var(--teal-deep); text-decoration: underline; }
.footer-main .link-arrow { color: var(--teal-deep); margin-top: 0.8rem; }
.footer-bottom { padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.88rem; color: var(--ink-soft); }
.footer-bottom nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--ink-soft); }
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-main > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }

/* Avis Psychologue.net (pied de page) */
.reviews { display: flex; flex-direction: column; gap: 0.7rem; max-width: 320px; }
.footer-main .reviews-card {
  display: grid; gap: 0.4rem; padding: 1rem 1.15rem 1.05rem; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.footer-main .reviews-card:hover { transform: translateY(-3px); text-decoration: none; color: var(--ink); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); box-shadow: 0 18px 34px -26px rgb(var(--shadow-rgb) / .7); }
.score-row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.score { display: inline-flex; align-items: baseline; gap: 0.1rem; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.score strong { font-size: 2.3rem; line-height: 1; font-weight: 700; font-stretch: 86%; letter-spacing: -0.03em; }
.score span { color: var(--ink-soft); font-size: 1.05rem; }
.stars {
  --star: 1.35rem; display: block; width: calc(var(--star) * 5); height: calc(var(--star) * 0.86);
  background: linear-gradient(90deg, var(--moutarde) calc(var(--rating) / 5 * 100%), var(--line) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M12 1.5l3.1 6.3 6.9 1-5 4.9 1.2 6.9L12 17.3l-6.2 3.3L7 13.7 2 8.8l6.9-1z'/%3E%3C/svg%3E") 0 0 / var(--star) 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M12 1.5l3.1 6.3 6.9 1-5 4.9 1.2 6.9L12 17.3l-6.2 3.3L7 13.7 2 8.8l6.9-1z'/%3E%3C/svg%3E") 0 0 / var(--star) 100% repeat-x;
}
.reco { font-weight: 600; color: var(--ink-soft); font-size: 0.92rem; }
.portal-by { font-size: 0.85rem; color: var(--ink-soft); }
.footer-main .portal-by a { color: var(--ink-soft); }
.footer-main .portal-by a span { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Visionneuse photo ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; width: 100%; overflow: visible; color: #fff; }
.lightbox::backdrop { background: rgb(8 18 17 / .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 18px; object-fit: contain; }
.lightbox figcaption { font-size: 0.95rem; opacity: .9; text-align: center; }
.lightbox .lb-bar { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 12px); right: max(12px, env(safe-area-inset-right, 0px)); display: flex; gap: 0.5rem; }
.lightbox .lb-nav { position: fixed; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); }
.lightbox .lb-next { right: max(12px, env(safe-area-inset-right, 0px)); }
.lightbox .icon-btn { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .25); color: #fff; }
.lightbox .icon-btn:hover { background: rgb(255 255 255 / .22); }

/* ---------- Notification ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  transform: translate(-50%, calc(100% + 40px)); background: var(--ink); color: var(--bg);
  visibility: hidden; opacity: 0;
  padding: 0.75rem 1.1rem; border-radius: 14px; font-weight: 550; font-size: 0.95rem;
  box-shadow: 0 18px 36px -18px rgb(0 0 0 / .55); transition: transform .35s var(--ease-spring);
  display: flex; align-items: center; gap: 0.5rem; max-width: calc(100vw - 32px);
}
.toast { transition: transform .35s var(--ease-spring), opacity .25s, visibility 0s linear .35s; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; opacity: 1; transition: transform .35s var(--ease-spring), opacity .25s, visibility 0s; }
.toast .i { color: var(--moutarde); }

/* ---------- Transitions de page ---------- */
main [tabindex="-1"]:focus { outline: none; }
main.is-entering [data-reveal] { animation: rise .65s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
::view-transition-old(root) { animation: vt-out .22s ease-in both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
@media (hover: none) {
  .path:hover, .partner:hover, .price:hover, .btn:hover, .group:hover { transform: none; }
}

/* ---------- Page introuvable ---------- */
.notfound { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-l); align-items: center; }
.notfound .quilt { --t: 54px; --cols: 3; }
@media (max-width: 700px) { .notfound { grid-template-columns: 1fr; } }
