/* Cabinet d'orthodontie du Dr Bonan et Collaborateurs, Herblay-sur-Seine
   Direction : « la galerie des sourires ». Un mur gris chaud, une typographie serrée, les photos apportent la couleur.
   Trois ambiances tirées du vrai cabinet : la maison (le fauteuil lilas), les enfants (les chaises colorées de la salle
   d'attente), les adultes (les suspensions dorées de l'accueil, le soir). */

@font-face { font-family: 'Instrument Sans'; src: url(polices/instrument-sans.woff2) format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url(polices/instrument-sans-italique.woff2) format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(polices/instrument-serif-italique.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(polices/instrument-serif.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url(polices/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }

:root {
  --mur: #ECEAE6;
  --mur-2: #E3E0DA;
  --papier: #F8F7F4;
  --blanc: #FFFFFF;
  --encre: #22104A;
  --graphite: #4B3D58;
  --cendre: #776A82;
  --filet: rgba(45, 26, 62, .14);
  --filet-fort: rgba(45, 26, 62, .28);
  --accent: #8F74F2;            /* le fauteuil lilas de la salle de soins */
  --surligne: #E4DCFD;
  --sombre: #3510A3;
  --sombre-texte: #F1EEE9;
  --lueur: rgba(255, 255, 255, .42);

  --soleil: #F2C230;            /* les chaises de la salle d'attente */
  --coquelicot: #E2553F;
  --pomme: #8DBE3A;
  --prune: #4E0CE4;

  --champagne: #BBA8FA;         /* les suspensions de l'accueil */

  --f-sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-titre: var(--f-sans);
  --f-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --poids-titre: 600;
  --serre: -0.045em;

  --r: 8px;
  --r-s: 4px;
  --r-img: 6px;
  --gouttiere: clamp(16px, 4.2vw, 64px);
  --max: 1480px;
  --sec: clamp(76px, 10vw, 150px);
  --ease: cubic-bezier(.22, .7, .12, 1);
  --ease-doux: cubic-bezier(.45, 0, .2, 1);
}

.theme-enfants {
  --f-titre: 'Bricolage Grotesque', var(--f-sans);
  --poids-titre: 700;
  --serre: -0.035em;
  --r: 14px;
  --r-img: 18px;
  --accent: var(--soleil);
  --surligne: #F7E3A0;
  --papier: #F7F4EC;
}

.theme-adultes {
  --mur: #1A0F45;
  --mur-2: #221455;
  --papier: #2A1A60;
  --encre: #F1ECE4;
  --graphite: #D3CABE;
  --cendre: #A0968A;
  --filet: rgba(241, 236, 228, .13);
  --filet-fort: rgba(241, 236, 228, .3);
  --accent: var(--champagne);
  --surligne: rgba(205, 180, 236, .3);
  --sombre: #2B1170;
  --lueur: rgba(255, 236, 200, .5);
  --poids-titre: 500;
  --serre: -0.04em;
  --r: 4px;
  --r-img: 4px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mur);
  color: var(--encre);
  font: 400 17px/1.62 var(--f-sans);
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
::selection { background: var(--surligne); color: var(--encre); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-titre); font-weight: var(--poids-titre); letter-spacing: var(--serre); line-height: 1.04; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.passer { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: var(--mur); padding: 10px 16px; border-radius: var(--r-s); }
.passer:focus { top: 12px; }

.enveloppe { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gouttiere); }

/* ---------- Typographie ---------- */
.t-xl { font-size: clamp(48px, 7.4vw, 118px); line-height: .95; letter-spacing: calc(var(--serre) - .005em); }
.t-l { font-size: clamp(40px, 5.6vw, 88px); line-height: .98; }
.t-m { font-size: clamp(32px, 3.9vw, 58px); line-height: 1.03; }
.t-s { font-size: clamp(23px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -0.025em; }
.chapo { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--graphite); max-width: 38em; }
.sur { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 550 14px/1.3 var(--f-sans); letter-spacing: .01em; color: var(--cendre); }
.sur::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.discret { color: var(--cendre); font-size: 15px; }
.theme-adultes h1 em, .theme-adultes h2 em, .theme-adultes h3 em, .italique {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent);
}
.theme-maison h1 em, .theme-maison h2 em, .theme-enfants h1 em, .theme-enfants h2 em { font-style: normal; color: var(--cendre); }
mark, .surligne {
  color: inherit;
  background: linear-gradient(transparent 56%, var(--surligne) 56%, var(--surligne) 90%, transparent 90%);
  padding: 0 .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* enfants : le mot important souligné d'un sourire */
.theme-enfants mark {
  background: none;
  padding-bottom: .18em;
  background-image: var(--sourire, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 3 Q60 17 117 3' fill='none' stroke='%23F2C230' stroke-width='4.2' stroke-linecap='round'/%3E%3C/svg%3E"));
  background-repeat: no-repeat;
  background-size: 100% .42em;
  background-position: 0 100%;
}
.c-coquelicot { --sourire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 3 Q60 17 117 3' fill='none' stroke='%23E2553F' stroke-width='4.2' stroke-linecap='round'/%3E%3C/svg%3E"); --c: var(--coquelicot); }
.c-pomme { --sourire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 3 Q60 17 117 3' fill='none' stroke='%238DBE3A' stroke-width='4.2' stroke-linecap='round'/%3E%3C/svg%3E"); --c: var(--pomme); }
.c-prune { --sourire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3 3 Q60 17 117 3' fill='none' stroke='%234E0CE4' stroke-width='4.2' stroke-linecap='round'/%3E%3C/svg%3E"); --c: var(--prune); }
.c-soleil { --c: var(--soleil); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--encre); border-radius: var(--r);
  background: var(--encre); color: var(--mur);
  font: 600 15.5px/1.2 var(--f-sans); letter-spacing: -0.015em; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
  cursor: pointer;
}
.btn::after { /* la lueur qui passe sur le bouton */
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, var(--lueur) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 1s var(--ease);
  mix-blend-mode: soft-light;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 2px 15px rgba(0, 0, 0, .12); }
.btn:hover::after { transform: translateX(130%); }
.btn--clair { background: transparent; color: var(--encre); border-color: var(--filet-fort); }
.btn--clair::after { mix-blend-mode: normal; background: linear-gradient(105deg, transparent 30%, var(--surligne) 50%, transparent 70%); }
.btn--clair:hover { border-color: var(--encre); }
.btn .fl { width: 16px; height: 16px; flex: none; transition: transform .5s var(--ease); }
.btn:hover .fl { transform: translateX(3px); }
.theme-adultes .btn { background: var(--encre); color: #1A0F45; border-color: var(--encre); }
.theme-adultes .btn--clair { background: transparent; color: var(--encre); border-color: var(--filet-fort); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--filet-fort); padding-bottom: 3px; transition: border-color .3s, gap .4s var(--ease); }
.lien-fleche:hover { border-color: var(--encre); gap: 12px; }
.lien-fleche svg { width: 15px; height: 15px; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.entete.defile { background: color-mix(in srgb, var(--mur) 93%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--filet); }
.entete-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.marque svg { width: 36px; height: 21px; flex: none; }
.marque svg path { transition: transform .8s var(--ease); transform-box: fill-box; transform-origin: 50% 0; }
.marque:hover svg path:nth-child(1) { transform: translateY(1.2px) rotate(-7deg); }
.marque:hover svg path:nth-child(2) { transform: translateY(-1px) rotate(5deg); }
.marque:hover svg path:nth-child(3) { transform: rotate(-4deg); }
.marque:hover svg path:nth-child(4) { transform: translateY(1px) rotate(6deg); }
.marque:hover svg path:nth-child(5) { transform: translateY(-1.2px) rotate(-5deg); }
.marque:hover svg path:nth-child(6) { transform: translateY(.8px) rotate(7deg); }
.marque-texte { display: grid; line-height: 1.12; }
.marque-nom { font: 600 16px/1.15 var(--f-sans); letter-spacing: -0.025em; }
.marque-nom span { font-weight: 450; color: var(--graphite); }
.marque-sous { font: 500 12.5px/1.2 var(--f-sans); color: var(--cendre); letter-spacing: .01em; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { position: relative; padding: 8px 11px; font: 500 15px/1.4 var(--f-sans); text-decoration: none; border-radius: var(--r-s); color: var(--graphite); transition: color .25s; }
.menu a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--encre); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu .pastille { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 7px; vertical-align: .1em; }
.entete-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.tel { font: 600 15px/1 var(--f-sans); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.tel:hover { text-decoration: underline; }
.burger { display: none; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border: 1px solid var(--filet-fort); border-radius: var(--r); background: transparent; color: var(--encre); font: 600 15px/1 var(--f-sans); cursor: pointer; }
.burger i { display: grid; gap: 4px; }
.burger i b { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }

.panneau { position: fixed; inset: 0; z-index: 80; background: #3510A3; color: #F1EEE9; padding: 22px var(--gouttiere) 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 26px; transform: translateY(-102%); transition: transform .65s var(--ease); visibility: hidden; }
.panneau.ouvert { transform: none; visibility: visible; }
.panneau-haut { display: flex; justify-content: space-between; align-items: center; }
.panneau-haut .marque-nom span, .panneau-haut .marque-sous { color: #B9B2A9; }
.panneau-fermer { height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid rgba(241, 238, 233, .3); background: transparent; color: inherit; font: 600 15px/1 var(--f-sans); cursor: pointer; }
.panneau-groupes { display: grid; gap: 26px; }
.panneau-groupe h2 { font: 700 13px/1.3 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; color: #9F978D; margin-bottom: 8px; }
.panneau-groupe a { display: block; padding: 7px 0; font: 600 25px/1.2 var(--f-sans); letter-spacing: -0.03em; text-decoration: none; }
.panneau-groupe a small { display: block; font: 400 14px/1.3 var(--f-sans); letter-spacing: 0; color: #B9B2A9; margin-top: 2px; }
.panneau-bas { margin-top: auto; display: grid; gap: 10px; }
.panneau .btn { background: #F1EEE9; color: #3510A3; border-color: #F1EEE9; width: 100%; }
.panneau .btn--clair { background: transparent; color: #F1EEE9; border-color: rgba(241, 238, 233, .3); }

/* barre d'action du téléphone */
.barre-mobile { display: none; }

/* ---------- Accueil : le collage qui s'aligne ---------- */
.h-accueil { position: relative; padding-top: clamp(28px, 6vh, 72px); }
.h-accueil-grille { position: relative; z-index: 3; min-height: calc(100svh - 76px - clamp(28px, 6vh, 72px)); display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; pointer-events: none; }
.h-texte { width: min(46%, 640px); pointer-events: auto; }
.h-texte h1 { margin-bottom: 28px; }
.h-texte .chapo { margin-bottom: 34px; max-width: 30em; }
.portes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; }
.porte {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 18px; min-height: 104px;
  border-radius: var(--r); text-decoration: none; border: 1px solid var(--filet-fort);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.porte b { font: 650 19px/1.2 var(--f-sans); letter-spacing: -0.03em; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.porte span { font-size: 14px; color: var(--cendre); line-height: 1.35; }
.porte svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.porte:hover { transform: translateY(-2px); box-shadow: 0 2px 15px rgba(0, 0, 0, .1); }
.porte:hover svg { transform: translateX(4px); }
.porte--enfants { background: var(--papier); }
.porte--enfants .chaises { margin-bottom: 10px; }
.porte--adultes { background: #3510A3; color: #F1EEE9; border-color: #3510A3; }
.porte--adultes span { color: #B5ADA2; }
.porte--adultes .or { display: block; width: 34px; height: 2px; background: var(--champagne); margin: 4px 0 14px; border-radius: 2px; }
.porte::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-130%); transition: transform 1.1s var(--ease); }
.porte--adultes::after { background: linear-gradient(105deg, transparent 30%, rgba(205, 180, 236, .22) 50%, transparent 70%); }
.porte:hover::after { transform: translateX(130%); }
.h-infos { margin-top: 26px; font-size: 14.5px; color: var(--cendre); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.statut { display: inline-flex; align-items: center; gap: 8px; color: var(--graphite); font-weight: 550; }
.statut::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9C968F; box-shadow: 0 0 0 4px rgba(156, 150, 143, .18); }
.statut.ouvert::before { background: #4F9D69; box-shadow: 0 0 0 4px rgba(79, 157, 105, .18); animation: pouls 2.6s ease-in-out infinite; }
@keyframes pouls { 50% { box-shadow: 0 0 0 7px rgba(79, 157, 105, .05); } }

.chaises { display: flex; gap: 5px; align-items: flex-end; }
.chaises i { display: block; width: 12px; height: 15px; border-radius: 5px 5px 2px 2px; background: var(--c); }
.chaises i:nth-child(1) { --c: #FFFFFF; box-shadow: inset 0 0 0 1px var(--filet-fort); }
.chaises i:nth-child(2) { --c: var(--soleil); }
.chaises i:nth-child(3) { --c: var(--coquelicot); }
.chaises i:nth-child(4) { --c: var(--encre); }
.chaises i:nth-child(5) { --c: var(--pomme); }
.chaises i:nth-child(6) { --c: var(--prune); }

.collage { position: relative; z-index: 2; display: flex; gap: 12px; padding: 0 var(--gouttiere); max-width: var(--max); margin: 0 auto; }
.collage .tuile { flex: 1; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-s); background: var(--mur-2); }
.collage .tuile img { width: 100%; height: 100%; object-fit: cover; }
.collage--vivant { position: absolute; inset: 0; display: block; padding: 0; max-width: none; pointer-events: none; }
.collage--vivant .tuile { position: absolute; left: 0; top: 0; flex: none; aspect-ratio: auto; will-change: transform, width, height; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.collage--vivant .tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-140%); pointer-events: none; }
.collage.aligne .tuile::after { transform: translateX(140%); transition: transform 1.3s var(--ease-doux); transition-delay: calc(var(--i) * 70ms); }
.h-rangee { position: relative; z-index: 3; }
.h-rangee-legende { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: clamp(40px, 6vw, 80px); }
.h-rangee-legende p { margin: 0; font: 600 clamp(21px, 2vw, 28px)/1.2 var(--f-sans); letter-spacing: -0.03em; max-width: 26em; }
.h-rangee-legende p span { color: var(--cendre); font-weight: 500; }
.jauge { display: grid; grid-template-columns: auto 160px auto; align-items: center; gap: 12px; font: 600 13px/1 var(--f-sans); color: var(--cendre); letter-spacing: .02em; flex: none; }
.jauge-barre { height: 3px; border-radius: 3px; background: var(--filet); overflow: hidden; }
.jauge-barre i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: var(--encre); border-radius: 3px; }
.jauge b { font-variant-numeric: tabular-nums; color: var(--encre); min-width: 3.4em; text-align: right; }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec--serre { padding-block: calc(var(--sec) * .62); }
.sec--papier { background: var(--papier); }
.sec--sombre { background: var(--sombre); color: var(--sombre-texte); --encre: #F1EEE9; --graphite: #D2CBC1; --cendre: #A39B91; --filet: rgba(241, 238, 233, .14); --filet-fort: rgba(241, 238, 233, .3); }
.theme-adultes .sec--sombre { background: #2B1170; }
.sec--sombre .btn { background: #F1EEE9; color: #3510A3; border-color: #F1EEE9; }
.sec--sombre .btn--clair { background: transparent; color: #F1EEE9; border-color: rgba(241, 238, 233, .3); }
.sec-tete { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5.5vw, 76px); }
.sec-tete .chapo { margin: 0; }
.sec-tete--seule { grid-template-columns: minmax(0, 860px); }
.sec-tete--seule .chapo { margin-top: 22px; }

/* deux univers, côte à côte */
.univers { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.univers-pan { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 64px); text-decoration: none; overflow: hidden; isolation: isolate; min-height: 640px; }
.univers-pan--enfants { background: #F4F1EA; color: var(--encre); }
.univers-pan--adultes { background: #1A0F45; color: #F1ECE4; }
.univers-img { position: absolute; inset: 0 0 auto 0; height: 54%; z-index: -1; overflow: hidden; }
.univers-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.6s var(--ease); }
.univers-img { -webkit-mask-image: linear-gradient(#000 62%, transparent 99%); mask-image: linear-gradient(#000 62%, transparent 99%); }
.univers-pan:hover .univers-img img { transform: scale(1.06); }
.univers-pan .sur { color: inherit; opacity: .7; }
.univers-pan h2 { font-size: clamp(32px, 3.4vw, 52px); margin-bottom: 26px; max-width: 13em; }
.univers-pan--enfants h2 { font-family: 'Bricolage Grotesque', var(--f-sans); font-weight: 700; letter-spacing: -0.035em; }
.univers-pan--adultes h2 { font-weight: 500; }
.univers-pan--adultes h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--champagne); letter-spacing: -0.01em; }
.univers-points { display: grid; gap: 0; margin-bottom: 30px; max-width: 34em; }
.univers-points li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(45, 26, 62, .14); font-size: 16.5px; line-height: 1.45; }
.univers-pan--adultes .univers-points li { border-color: rgba(241, 236, 228, .14); }
.univers-points li b { font: 600 13px/1.9 var(--f-sans); color: inherit; opacity: .55; font-variant-numeric: tabular-nums; }
.univers-pan .lien-fleche { align-self: flex-start; border-color: currentColor; }
.univers-pan--adultes .lien-fleche { color: var(--champagne); }

/* mur de galerie, avec cartels */
.galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px) clamp(14px, 2vw, 30px); align-items: start; }
.galerie figure { margin: 0; }
.galerie--accueil figure:nth-child(1) { grid-column: 1 / 7; }
.galerie--accueil figure:nth-child(2) { grid-column: 7 / 10; margin-top: 16%; }
.galerie--accueil figure:nth-child(3) { grid-column: 10 / 13; margin-top: 34%; }
.galerie--accueil figure:nth-child(4) { grid-column: 2 / 8; margin-top: 2%; }
.galerie--accueil .galerie-fin { grid-column: 9 / 13; align-self: center; }
.galerie--accueil .galerie-fin p { color: var(--graphite); }
.galerie--six figure { grid-column: span 4; }
.galerie--six figure:nth-child(3n+2) { margin-top: 8%; }
.galerie--six figure:nth-child(3n) { margin-top: 3%; }
.galerie .cadre { overflow: hidden; border-radius: var(--r-s); background: var(--mur-2); }
.galerie img { width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.galerie figure:hover img { transform: scale(1.03); }
.cartel { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin-top: 12px; font-size: 14px; line-height: 1.4; }
.cartel b { grid-row: span 2; font: 600 12px/1.6 var(--f-sans); color: var(--cendre); font-variant-numeric: tabular-nums; }
.cartel strong { font-weight: 600; letter-spacing: -0.01em; }
.cartel span { color: var(--cendre); }

/* étapes */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: etape; border-top: 1px solid var(--filet-fort); }
.etapes li { padding: 26px clamp(14px, 2vw, 30px) 10px 0; border-right: 1px solid var(--filet); }
.etapes li + li { padding-left: clamp(14px, 2vw, 30px); }
.etapes li:last-child { border-right: 0; }
.etapes .num { display: block; font: 300 clamp(44px, 4.6vw, 72px)/1 var(--f-titre); letter-spacing: -0.05em; color: var(--cendre); margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.theme-enfants .etapes .num { font-weight: 300; color: var(--c, var(--cendre)); }
.etapes h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.03em; margin-bottom: 10px; line-height: 1.15; }
.etapes p { font-size: 16px; color: var(--graphite); }

/* duo texte + photo fondue au bord */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.duo--inverse .duo-media { order: -1; }
.duo-media { position: relative; }
.duo-media img { width: 100%; height: auto; border-radius: var(--r-img); }
.fondu img, img.fondu { border-radius: 0; -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 58%, transparent 100%); }
.fondu-g img { border-radius: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.fondu-d img { border-radius: 0; -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 22%); mask-image: linear-gradient(270deg, transparent 0, #000 22%); }
.au-bord-d { margin-right: calc(-1 * var(--gouttiere)); }
.au-bord-g { margin-left: calc(-1 * var(--gouttiere)); }
.texte p { color: var(--graphite); }
.texte p strong, .texte li strong { color: var(--encre); font-weight: 600; }
.texte h3 { font-size: clamp(21px, 1.7vw, 25px); margin: 34px 0 12px; letter-spacing: -0.03em; }
.texte > :first-child { margin-top: 0; }

.points { display: grid; gap: 0; margin: 22px 0 6px; }
.points li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--filet); color: var(--graphite); line-height: 1.5; }
.points li:last-child { border-bottom: 1px solid var(--filet); }
.points li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 16px; height: 8px; border: 1.6px solid var(--encre); border-top: 0; border-radius: 0 0 9px 9px; opacity: .8; }
.theme-enfants .points li::before { border-color: var(--c, var(--soleil)); border-width: 2.4px; opacity: 1; }
.theme-adultes .points li::before { border: 0; width: 14px; height: 1.5px; top: 25px; background: var(--accent); border-radius: 0; }
.points li strong { color: var(--encre); font-weight: 600; }

/* équipe */
.equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 72px); }
.membre { position: relative; }
.membre-photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; }
.membre-photo img { position: absolute; left: 50%; bottom: 0; width: 86%; height: auto; transform: translateX(-50%); transition: transform 1.2s var(--ease); }
.membre:hover .membre-photo img { transform: translateX(-50%) translateY(-6px); }
.membre h3 { font-size: clamp(25px, 2.3vw, 34px); margin: 22px 0 6px; }
.membre .role { color: var(--cendre); font-size: 15.5px; margin-bottom: 14px; }
.membre ul { display: grid; gap: 4px; font-size: 15px; color: var(--graphite); }
.membre ul li { padding-left: 16px; position: relative; }
.membre ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1.5px; background: var(--cendre); }
.equipe-aussi { margin-top: clamp(36px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--filet); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px clamp(20px, 4vw, 72px); }
.equipe-aussi p { margin: 0; color: var(--graphite); }
.equipe-aussi strong { color: var(--encre); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; display: block; }

/* trois colonnes de faits */
.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.trois > div { border-top: 1px solid var(--filet-fort); padding-top: 22px; }
.trois h3 { font-size: clamp(22px, 1.9vw, 28px); margin-bottom: 12px; }
.trois p { color: var(--graphite); font-size: 16px; }
.trois .gros { display: block; font: 300 clamp(48px, 5vw, 80px)/1 var(--f-titre); letter-spacing: -0.05em; margin-bottom: 18px; color: var(--encre); }
.trois .gros em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--accent); }

/* informations pratiques */
.pratique { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.horaires { width: 100%; border-collapse: collapse; margin: 6px 0 26px; font-size: 16px; }
.horaires th, .horaires td { padding: 11px 0; border-top: 1px solid var(--filet); text-align: left; font-weight: 400; }
.horaires th { font-weight: 550; width: 40%; }
.horaires td { color: var(--graphite); font-variant-numeric: tabular-nums; }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { color: var(--encre); font-weight: 650; }
.horaires tr.aujourdhui th::after { content: " · aujourd'hui"; font-weight: 450; color: var(--cendre); }
.coordonnees { display: grid; gap: 14px; margin-bottom: 26px; }
.coordonnees div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--filet); font-size: 16px; }
.coordonnees dt { color: var(--cendre); font-size: 14.5px; padding-top: 2px; }
.coordonnees dd { margin: 0; }
.coordonnees a { font-weight: 600; }
.plan { position: sticky; top: 110px; aspect-ratio: 16 / 10; }
.plan img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 70% 66% at 50% 50%, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse 70% 66% at 50% 50%, #000 50%, transparent 100%); }
.theme-adultes .plan img { filter: invert(.9) hue-rotate(180deg) brightness(.85) contrast(.95); }
.plan-repere { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.plan-repere span { background: var(--encre); color: var(--mur); font: 600 13.5px/1.2 var(--f-sans); padding: 8px 12px; border-radius: var(--r-s); white-space: nowrap; display: flex; align-items: center; gap: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.plan-repere span svg { width: 22px; height: 15px; }
.plan-repere::after { content: ""; width: 2px; height: 16px; background: var(--encre); }
.plan-repere i { position: absolute; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--encre); box-shadow: 0 0 0 6px color-mix(in srgb, var(--encre) 18%, transparent); }
.plan-gare { position: absolute; left: 26.3%; top: 21.6%; transform: translate(-50%, -50%); font: 600 12.5px/1 var(--f-sans); background: var(--mur); color: var(--graphite); padding: 6px 9px; border-radius: var(--r-s); border: 1px solid var(--filet-fort); white-space: nowrap; }
.plan-credit { position: absolute; right: 8%; bottom: 6%; font-size: 11px; color: var(--cendre); }

/* questions fréquentes */
.faq { border-top: 1px solid var(--filet-fort); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font: 600 clamp(18px, 1.5vw, 21px)/1.35 var(--f-sans); letter-spacing: -0.02em; }
.theme-adultes .faq summary { font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: var(--r); border: 1px solid var(--filet-fort); transition: transform .5s var(--ease), background-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details[open] summary i { background: var(--encre); color: var(--mur); }
.faq .rep { padding: 0 60px 24px 0; color: var(--graphite); max-width: 52em; }
.faq .rep p:last-child { margin-bottom: 0; }

/* bande d'appel */
.appel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.appel .t-l { max-width: 12em; }
.appel-droite p { color: var(--graphite); }

/* tableau d'honoraires */
.tableau-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * var(--gouttiere)); padding-inline: var(--gouttiere); }
.tableau { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 16px 18px 16px 0; border-top: 1px solid var(--filet); }
.tableau thead th { font: 600 13px/1.3 var(--f-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--cendre); border-top: 1px solid var(--filet-fort); }
.tableau td { color: var(--graphite); }
.tableau td:first-child { color: var(--encre); font-weight: 550; width: 42%; }
.note { font-size: 14.5px; color: var(--cendre); margin-top: 18px; max-width: 60em; }

/* fil d'Ariane + têtes de pages */
.ariane { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--cendre); margin-bottom: 28px; }
.ariane a { text-decoration: none; }
.ariane a:hover { color: var(--encre); text-decoration: underline; }
.ariane span[aria-hidden] { opacity: .5; }
.h-page { position: relative; padding-top: clamp(24px, 4vw, 56px); }
.h-page-grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(88svh - 76px); }
.h-page-texte h1 { margin-bottom: 26px; }
.h-page-texte .chapo { margin-bottom: 32px; }
.h-page-media { position: relative; align-self: stretch; display: flex; align-items: center; margin-right: calc(-1 * var(--gouttiere)); }
.h-page-media img { width: 100%; height: 100%; max-height: 78svh; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(transparent 0, #000 12%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(transparent 0, #000 12%, #000 86%, transparent 100%); mask-composite: intersect; }
.h-page--simple .h-page-grille { grid-template-columns: minmax(0, 940px); min-height: 0; padding-bottom: clamp(32px, 5vw, 72px); }

/* sommaire de page */
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.sommaire a { padding: 9px 14px; border-radius: var(--r-s); border: 1px solid var(--filet); font-size: 14.5px; text-decoration: none; color: var(--graphite); transition: border-color .3s, color .3s, background-color .3s; }
.sommaire a:hover { border-color: var(--encre); color: var(--encre); }

/* sources */
.sources { font-size: 14px; color: var(--cendre); border-top: 1px solid var(--filet); padding-top: 20px; margin-top: 10px; }
.sources a { color: var(--graphite); }

/* ---------- Enfants : la toise ---------- */
.toise { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.toise-col { position: sticky; top: 110px; align-self: start; }
.toise-graduations { position: relative; display: grid; gap: 0; padding-left: 64px; }
.toise-graduations::before { content: ""; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: repeating-linear-gradient(var(--filet-fort) 0 1.5px, transparent 1.5px 22px), var(--mur-2); }
.toise-remplissage { position: absolute; left: 22px; top: 8px; width: 4px; height: calc((100% - 16px) * var(--t, 0)); border-radius: 4px; background: linear-gradient(var(--soleil), var(--coquelicot) 40%, var(--pomme) 70%, var(--prune)); transition: height .2s linear; }
.age { position: relative; padding: 4px 0 52px; opacity: .38; transform: translateX(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.age.vu { opacity: 1; transform: none; }
.age::before { content: ""; position: absolute; left: -50px; top: 10px; width: 18px; height: 18px; border-radius: 6px; background: var(--mur); border: 3px solid var(--c, var(--soleil)); transition: background-color .5s; }
.age.vu::before { background: var(--c, var(--soleil)); }
.age-num { font: 700 clamp(40px, 4.4vw, 66px)/1 'Bricolage Grotesque', var(--f-sans); letter-spacing: -0.04em; display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.age-num small { font: 600 16px/1 var(--f-sans); letter-spacing: 0; color: var(--cendre); }
.age h3 { font-size: clamp(21px, 1.8vw, 26px); margin-bottom: 10px; }
.age p { color: var(--graphite); max-width: 36em; margin: 0; }
.age:last-child { padding-bottom: 6px; }

.cartes-age { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.carte-age { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--papier); border-radius: var(--r-img); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.carte-age:hover { transform: translateY(-4px); box-shadow: 0 2px 15px rgba(0, 0, 0, .08); }
.carte-age-img { aspect-ratio: 4 / 3; overflow: hidden; }
.carte-age-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.carte-age:hover .carte-age-img img { transform: scale(1.04); }
.carte-age-corps { padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.carte-age-corps .tranche { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; font: 650 13.5px/1 var(--f-sans); padding: 7px 10px; border-radius: 8px; background: color-mix(in srgb, var(--c) 22%, transparent); margin-bottom: 10px; }
.carte-age-corps h3 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 8px; }
.carte-age-corps p { color: var(--graphite); }
.carte-age-corps .lien-fleche { margin-top: auto; align-self: flex-start; }

.encart { border-radius: var(--r-img); padding: clamp(26px, 3.4vw, 52px); background: var(--papier); }
.encart--soleil { background: #FBF0C9; }
.encart--prune { background: #EEE8FE; }
.encart h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 14px; }
.tu { font-family: 'Bricolage Grotesque', var(--f-sans); }

/* ---------- Adultes ---------- */
.theme-adultes body, body.theme-adultes { background: var(--mur); }
.projecteur { position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), rgba(205, 180, 236, .07), transparent 70%); }
.theme-adultes main, .theme-adultes .pied { position: relative; z-index: 1; }
.objections { border-top: 1px solid var(--filet-fort); }
.objection { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px clamp(24px, 5vw, 80px); padding: clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid var(--filet); }
.objection h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 2.9vw, 44px); letter-spacing: -0.015em; line-height: 1.08; color: var(--encre); }
.objection h3 b { display: block; font: 600 12.5px/1.4 var(--f-sans); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.objection p { color: var(--graphite); margin: 0 0 .7em; }
.objection p strong { color: var(--encre); font-weight: 600; }
.trois-voies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--filet-fort); }
.voie { padding: 30px clamp(16px, 2.4vw, 36px) 20px 0; border-right: 1px solid var(--filet); display: flex; flex-direction: column; }
.voie + .voie { padding-left: clamp(16px, 2.4vw, 36px); }
.voie:last-child { border-right: 0; }
.voie .num { font: 400 15px/1 var(--f-serif); font-style: italic; color: var(--accent); margin-bottom: 24px; }
.voie h3 { font-size: clamp(25px, 2.3vw, 34px); margin-bottom: 12px; }
.voie p { color: var(--graphite); font-size: 16px; }
.voie .visibilite { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; font-size: 13.5px; color: var(--cendre); }
.visibilite-barre { height: 2px; background: var(--filet); position: relative; }
.visibilite-barre i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: var(--accent); }
.voie .lien-fleche { margin-top: 18px; align-self: flex-start; }

/* ---------- Pied de page ---------- */
.pied { padding: clamp(64px, 8vw, 110px) 0 28px; border-top: 1px solid var(--filet); }
.pied-haut { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 32px clamp(20px, 3vw, 48px); }
.pied-marque p { color: var(--cendre); font-size: 15px; margin-top: 18px; max-width: 22em; }
.pied h2 { font: 650 13px/1.3 var(--f-sans); letter-spacing: .05em; text-transform: uppercase; color: var(--cendre); margin-bottom: 14px; }
.pied ul { display: grid; gap: 4px; }
.pied li a, .pied li { font: 500 15px/1.5 var(--f-sans); text-decoration: none; color: var(--graphite); }
.pied li a:hover { color: var(--encre); text-decoration: underline; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 20px; border-top: 1px solid var(--filet); font-size: 12.5px; color: var(--cendre); }
.pied-bas a { color: var(--cendre); }
.pied-geant { font: 600 10.05vw/.82 var(--f-sans); letter-spacing: -0.06em; color: var(--encre); opacity: .07; margin: clamp(40px, 6vw, 80px) 0 0 -.04em; white-space: nowrap; overflow: hidden; user-select: none; }


/* retouches */
.theme-adultes mark { background: none; color: var(--accent); padding: 0; }
.fondu-bande img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(transparent 0, #000 16%, #000 80%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(transparent 0, #000 16%, #000 80%, transparent 100%); mask-composite: intersect; }
.theme-enfants .trois > div { border-top: 3px solid var(--c, var(--filet-fort)); border-radius: 2px 2px 0 0; }
.theme-enfants .h-page { background: radial-gradient(70% 60% at 0% 0%, rgba(242, 194, 48, .10), transparent 70%); }
.theme-enfants h1 mark { padding-bottom: .06em; background-size: 100% .2em; }
.theme-enfants .carte-age-corps .tranche { background: color-mix(in srgb, var(--c) 26%, var(--papier)); }

/* ---------- Apparitions au défilement ---------- */
.anime [data-ap] { opacity: 0; transform: translateY(42px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.anime [data-ap].vu { opacity: 1; transform: none; filter: none; }
.anime [data-ap="photo"] { transform: scale(1.05); filter: blur(10px); }
.anime [data-ap="photo"].vu { transform: none; filter: none; transition-duration: 1.6s, 1.8s, 1.4s; }
.anime .h-entree > * { animation: entree 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes entree { from { opacity: 0; transform: translateY(26px); filter: blur(5px); } }
.capture *, .capture *::before, .capture *::after { animation: none !important; transition: none !important; }
.capture [data-ap] { opacity: 1 !important; transform: none !important; filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .anime [data-ap] { opacity: 1; transform: none; filter: none; }
}

/* ---------- Écrans moyens ---------- */
@media (max-width: 1240px) {
  .menu { display: none; }
  .burger { display: inline-flex; }
  .entete-actions { margin-left: auto; }
}
@media (max-width: 1080px) {
  .h-texte { width: 100%; max-width: 720px; }
  .h-accueil-grille { min-height: 0; padding-bottom: 28px; }
  .univers { grid-template-columns: 1fr; min-height: 0; }
  .univers-pan { min-height: 88svh; }
  .sec-tete, .appel, .pratique, .duo, .toise, .objection { grid-template-columns: 1fr; }
  .toise-col { position: static; }
  .duo--inverse .duo-media { order: 0; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .etapes li:nth-child(2) { border-right: 0; }
  .etapes li:nth-child(3) { padding-left: 0; }
  .etapes li:nth-child(n+3) { border-top: 1px solid var(--filet); }
  .trois, .trois-voies { grid-template-columns: 1fr; }
  .voie, .voie + .voie { padding: 28px 0 22px; border-right: 0; border-bottom: 1px solid var(--filet); }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
  .h-page-grille { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .h-page-media { margin-left: calc(-1 * var(--gouttiere)); order: 2; }
  .h-page-media img { max-height: 62svh; -webkit-mask-image: linear-gradient(transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 16%, #000 84%, transparent 100%); }
  .galerie--accueil figure:nth-child(1) { grid-column: 1 / -1; }
  .galerie--accueil figure:nth-child(2) { grid-column: 1 / 7; margin-top: 0; }
  .galerie--accueil figure:nth-child(3) { grid-column: 7 / 13; margin-top: 12%; }
  .galerie--accueil figure:nth-child(4) { grid-column: 1 / -1; margin-top: 0; }
  .galerie--accueil .galerie-fin { grid-column: 1 / -1; }
  .galerie--six figure { grid-column: span 6; }
  .galerie--six figure:nth-child(n) { margin-top: 0; }
  .galerie--six figure:nth-child(even) { margin-top: 10%; }
  .plan { position: relative; top: 0; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .entete-in { height: 64px; gap: 12px; }
  .marque svg { width: 32px; height: 22px; }
  .marque-nom { font-size: 15px; }
  .marque-sous { font-size: 12px; }
  .entete .tel, .entete .btn { display: none; }
  .burger { padding: 0 12px; }
  .h-accueil-grille { min-height: 0; }
  .portes { grid-template-columns: 1fr 1fr; gap: 8px; }
  .porte { padding: 14px 14px; min-height: 0; }
  .porte b { font-size: 16.5px; }
  .porte span { font-size: 13px; }
  .h-rangee-legende { flex-direction: column; align-items: flex-start; gap: 16px; }
  .jauge { grid-template-columns: auto 1fr auto; width: 100%; }
  .univers-pan { min-height: 0; padding-top: 74vw; }
  .univers-img { height: 82vw; }
  .etapes { grid-template-columns: 1fr; }
  .etapes li, .etapes li + li { padding: 22px 0 8px; border-right: 0; border-top: 1px solid var(--filet); }
  .etapes li:first-child { border-top: 0; }
  .etapes .num { margin-bottom: 14px; }
  .equipe, .equipe-aussi, .cartes-age { grid-template-columns: 1fr; }
  .pied-haut { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .coordonnees div { grid-template-columns: 92px 1fr; }
  .faq .rep { padding-right: 0; }
  .toise-graduations { padding-left: 48px; }
  .toise-graduations::before, .toise-remplissage { left: 14px; }
  .age::before { left: -42px; }
  .plan { margin-inline: calc(-1 * var(--gouttiere)); }
  .barre-mobile { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; padding: 8px; border-radius: 12px; background: color-mix(in srgb, var(--mur) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 6px 26px rgba(0, 0, 0, .14), 0 0 0 1px var(--filet); transform: translateY(140%); transition: transform .6s var(--ease); }
  .barre-mobile.visible { transform: none; }
  .barre-mobile .btn { min-height: 46px; }
  .pied { padding-bottom: 96px; }
  .tableau { font-size: 15px; }
  .galerie--six figure { grid-column: 1 / -1; }
  .galerie--six figure:nth-child(n) { margin-top: 0; }
}

/* 19/10/2026 : demande du cabinet, « enlever la couleur noire, mettre une couleur violette » (fauteuils prune du cabinet) */
:root { --violet: #4E0CE4; }
.btn { background: var(--violet); border-color: var(--violet); color: #fff; }
.btn--clair { background: transparent; color: var(--encre); border-color: var(--filet-fort); }
.theme-adultes .btn { background: #E6DEFD; color: #2E0E8C; border-color: #E6DEFD; }
.theme-adultes .btn--clair { background: transparent; color: var(--encre); border-color: var(--filet-fort); }
.panneau .btn { background: #F1EEE9; color: #2E0E8C; border-color: #F1EEE9; }
.marque svg { color: var(--violet); }
.theme-adultes .marque svg { color: #E6DEFD; }
.membre-photo--initiales { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #EEE8FE, #BBA8FA); border-radius: var(--r-img); }
.membre-photo--initiales span { font: 600 clamp(64px, 9vw, 120px)/1 var(--f-titre); letter-spacing: -0.04em; color: #4E0CE4; }

/* 20/10/2026 : vrai logo du cabinet (envoyé le 19/10 à 23h20) et violet calé sur ce logo (#4E0CE4) */
.marque-logo { display: block; height: 64px; width: auto; }
.logo-clair { display: none; }
.theme-adultes .logo-fonce, .panneau .logo-fonce { display: none; }
.theme-adultes .logo-clair, .panneau .logo-clair { display: block; }
.pied-marque .marque-logo { height: 92px; }
@media (max-width: 720px) {
  .marque-logo { height: 48px; }
  .pied-marque .marque-logo { height: 80px; }
}

/* Photos envoyées par le cabinet (26/10/2026) */
.equipe-aussi--photos figure { margin: 0; }
.assistante-photo { aspect-ratio: 4 / 5; max-width: 340px; overflow: hidden; border-radius: var(--r-img); background: var(--mur-2); margin-bottom: 16px; }
.assistante-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.equipe-aussi--photos figcaption { color: var(--graphite); }
.galerie-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.galerie-photos figure { margin: 0; }
.galerie-photos .cadre { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-s); background: var(--mur-2); }
.galerie-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.galerie-photos figure:hover img { transform: scale(1.03); }
.galerie-photos figcaption { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--cendre); }
@media (max-width: 1080px) { .galerie-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .galerie-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .assistante-photo { max-width: none; } }

/* Portraits des praticiennes sur fond uni (27/10/2026) */
.membre-photo--portrait { aspect-ratio: 4 / 5; max-width: 440px; border-radius: var(--r-img); background: #fff; }
.membre-photo--portrait img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: none; }
.membre:hover .membre-photo--portrait img { transform: none; }
.assistante-photo { background: #fff; }

/* tableau d'honoraires sur téléphone : une carte par acte, rien ne déborde */
@media (max-width: 640px) {
  .tableau-wrap { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .tableau { min-width: 0; }
  .tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tableau, .tableau tbody, .tableau tr, .tableau td { display: block; width: 100%; }
  .tableau tr { padding: 18px 0; border-top: 1px solid var(--filet); }
  .tableau tbody tr:first-child { border-top-color: var(--filet-fort); }
  .tableau td { border: 0; padding: 0; }
  .tableau td:first-child { width: 100%; margin-bottom: 10px; }
  .tableau td[data-label] { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 4px 0; }
  .tableau td[data-label]::before { content: attr(data-label); font: 600 12px/1.6 var(--f-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--cendre); }
}

/* Instagram : pastille aux couleurs d'Instagram, bien visible (demande du cabinet, 29/10) */
.insta { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 1px 2px rgba(34, 16, 74, .14); transition: transform .3s var(--ease), box-shadow .3s; }
.insta svg { width: 24px; height: 24px; }
a.insta:hover, .lien-insta:hover .insta { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(214, 36, 159, .3); }
.lien-insta { display: inline-flex; align-items: center; gap: 10px; }
.lien-insta .insta { width: 30px; height: 30px; border-radius: 9px; }
.lien-insta .insta svg { width: 18px; height: 18px; }
.panneau-bas .lien-insta { justify-content: center; }
/* Moyens de paiement (page Honoraires) */
.paiement { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--filet); }
.paiement h2 { font: 600 13px/1.3 var(--f-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--cendre); margin: 0 6px 0 0; }
.paiement ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.paiement li { padding: 8px 15px; border: 1px solid var(--filet-fort); border-radius: 999px; font: 550 15px/1.2 var(--f-sans); color: var(--encre); }
.pied li { min-width: 0; }
.pied .lien-insta { flex-wrap: wrap; gap: 6px 9px; overflow-wrap: anywhere; }
