/* =====================================================================
   Museau, clinique vétérinaire et toilettage (modèle de démonstration)
   Deux modes : :root[data-animal="chien"] et :root[data-animal="chat"].
   Cellulaire : jusqu'à 760 px (mise en page refaite, pas rétrécie).
   ===================================================================== */

@font-face { font-family: "Unbounded"; src: url("../polices/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../polices/fraunces-italique.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../polices/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --encre: #2A1E19;
  --encre-douce: #6B5B52;
  --papier: #F5EFE6;
  --lait: #FFFDF9;
  --nuit: #1E1512;
  --rouge: #E5322D;
  --rouge-texte: #D12A25;   /* rouge foncé quand il porte du texte blanc (contraste 5,2:1) */
  --rouge-fonce: #B8221E;
  --vert: #2FA36B;
  --laiton: #C9A35C;
  --heros: #BCD7EE;
  --heros-fonce: #8DB6DB;
  --accent: #FF6B35;
  --accent-fonce: #C8461A;
  --accent-titre: #E4571F;  /* mot en italique sur fond clair (3,2:1 en grand) */
  --texte-sur-accent: #2A1E19;
  --doux: #F1E3D3;
  --courbe: cubic-bezier(.22, 1, .36, 1);
  --courbe-vague: cubic-bezier(.65, 0, .35, 1);
  --f-titre: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-ital: "Fraunces", Georgia, serif;
  --f-texte: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --h-bandeau: 40px;
  --h-barre: 88px;
  --gouttiere: clamp(16px, 4vw, 56px);
  --ombre-pilule: 0 10px 30px rgba(42, 30, 25, .12);
  --ombre-photo: 0 20px 50px rgba(42, 30, 25, .14);
  --rayon-photo: 28px;
  --ratio: var(--ratio-chien, .8824); /* format des images de la tête (écrit par fabriquer-pages.py) */
  color-scheme: light;
}
:root[data-animal="chat"] {
  --ratio: var(--ratio-chat, .8824);
  --heros: #F3C9CF;
  --heros-fonce: #E3A3AD;
  --accent: #7C4DFF;
  --accent-fonce: #5B34D6;
  --accent-titre: #7C4DFF;
  --texte-sur-accent: #FFFDF9;
  --doux: #ECE4F7;
}
/* Contenus propres à un mode : on cache l'autre (lisible sans JavaScript, mode chien) */
:root:not([data-animal="chat"]) [data-chat] { display: none !important; }
:root[data-animal="chat"] [data-chien] { display: none !important; }

/* Vague de couleur au changement de mode (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(animal) { animation: animal-sort .25s ease-in both; }
::view-transition-new(animal) { animation: animal-entre .55s cubic-bezier(.34, 1.56, .64, 1) .12s both; }
@keyframes animal-sort { to { transform: translateY(60px); opacity: 0; } }
@keyframes animal-entre { from { transform: translateY(80px); opacity: 0; } }
html.sans-vague * { transition: none !important; }

/* ------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--h-bandeau) + 80px); }
body {
  margin: 0; background: var(--papier); color: var(--encre);
  font: 400 18px/1.55 var(--f-texte); overflow-x: clip;
  transition: background-color .4s;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.evitement { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--encre); color: var(--lait); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.evitement:focus { top: 12px; }
.sans-js { background: var(--encre); color: var(--lait); padding: 12px 20px; margin: 0; font-size: 15px; position: relative; z-index: 60; }
.conteneur { width: min(100% - 2 * var(--gouttiere), 1280px); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 140px); position: relative; }
.section--doux { background: var(--doux); transition: background-color .4s; }

.etiquette { font: 700 13px/1.3 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-douce); margin-bottom: 14px; }
.titre { font: 700 clamp(34px, 4.45vw, 64px)/1.04 var(--f-titre); letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance; }
.titre em, .heros__titre em, .banniere__titre em {
  font-family: var(--f-ital); font-style: italic; font-weight: 600; color: var(--accent-titre);
  letter-spacing: 0; font-size: 1.08em;
}
.sous-titre { font-size: clamp(18px, 1.55vw, 21px); color: var(--encre-douce); max-width: 60ch; }
.section__tete { margin-bottom: clamp(36px, 4vw, 56px); }
.section__tete--ligne { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.photo { border-radius: var(--rayon-photo); overflow: hidden; box-shadow: var(--ombre-photo); position: relative; background: var(--doux); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* Safari : height:100% sur un parent dont la hauteur vient d'aspect-ratio */

/* Consignes selon l'outil de pointage et la largeur */
.cell-seul, .doigt-seul { display: none; }
@media (max-width: 760px) { .ordi-seul { display: none !important; } .cell-seul { display: inline; } }
@media (hover: none) { .souris-seul { display: none !important; } .doigt-seul { display: inline; } }

/* ------------------------------------------------------------- boutons */
.pilule {
  --h: 60px; position: relative; display: inline-flex; align-items: center; gap: 16px; min-height: var(--h);
  padding: 0 8px 0 26px; border-radius: 999px; border: 0; text-decoration: none; isolation: isolate; overflow: hidden;
  font: 700 16px/1.2 var(--f-texte); color: var(--encre); transition: transform .1s, background-color .3s, color .3s;
  -webkit-tap-highlight-color: transparent;
}
.pilule:active { transform: scale(.97); }
.pilule--principale { background: var(--lait); box-shadow: var(--ombre-pilule); }
.pilule__texte { position: relative; z-index: 1; transition: color .3s .05s; }
.pilule__rond {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--accent); color: var(--texte-sur-accent); display: grid; place-items: center; transition: background-color .4s;
}
.pilule__fleches { display: flex; width: 22px; overflow: hidden; }
.pilule__fleches svg { width: 22px; height: 22px; flex: none; transition: transform .3s var(--courbe); transform: translateX(-100%); }
.pilule--principale::before {
  content: ""; position: absolute; inset: 0; z-index: 0; background: var(--accent);
  clip-path: circle(22px at calc(100% - 30px) 50%); transition: clip-path .45s var(--courbe-vague), background-color .4s; opacity: 0;
}
@media (hover: hover) {
  .pilule--principale:hover::before { clip-path: circle(150% at calc(100% - 30px) 50%); opacity: 1; }
  .pilule--principale:hover .pilule__texte { color: var(--texte-sur-accent); }
  .pilule--principale:hover .pilule__fleches svg { transform: translateX(0); }
  .pilule--pleine:hover { background: var(--accent-fonce); color: var(--lait); }
  .pilule--fantome:hover { background: var(--encre); color: var(--lait); }
}
.pilule--principale::before { opacity: 1; }
.pilule--pleine { background: var(--accent); color: var(--texte-sur-accent); padding: 0 28px; justify-content: center; }
.pilule--fantome { background: transparent; box-shadow: inset 0 0 0 1.5px var(--encre); padding: 0 26px; justify-content: center; }
.lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 3px; min-height: 44px; }
.lien-fleche svg { width: 20px; height: 20px; transition: transform .3s var(--courbe); }
.lien-fleche:hover svg { transform: translateX(4px); }
.lien-mode { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; min-height: 44px; }
.rond-bouton { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--lait); box-shadow: var(--ombre-pilule); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.rond-bouton svg { width: 22px; height: 22px; }
.rond-bouton:hover { background: var(--accent); color: var(--texte-sur-accent); }

/* ------------------------------------------------------------- en-tête (I1 à I4) */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; }
.bandeau-urgence { height: var(--h-bandeau); background: var(--rouge-texte); color: #fff; overflow: hidden; transition: height .35s var(--courbe); }
.bandeau-urgence__dedans { height: var(--h-bandeau); width: min(100% - 2 * var(--gouttiere), 1280px); margin: auto; display: flex; align-items: center; justify-content: center; gap: 28px; font: 700 15px/1 var(--f-texte); }
.bandeau-urgence a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
.bandeau-urgence__tel { min-height: var(--h-bandeau) !important; }
.bandeau-urgence__nuit { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 500; }
.pouls { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none; }
.pouls::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: pouls 1.4s ease-out infinite; }
@keyframes pouls { from { transform: scale(1); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.barre {
  height: var(--h-barre); width: min(100% - 2 * var(--gouttiere), 1340px); margin: 0 auto; display: flex; align-items: center; gap: 28px;
  transition: height .3s var(--courbe);
}
.entete::after { content: ""; position: absolute; left: 0; right: 0; top: var(--h-bandeau); bottom: 0; z-index: -1; background: rgba(245, 239, 230, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(42, 30, 25, .08); opacity: 0; transition: opacity .3s; }
.entete.est-posee::after { opacity: 1; }
.entete.est-posee .barre { height: 72px; }
.page-clinique .entete:not(.est-posee) .nav a, .page-clinique .entete:not(.est-posee) .logo { color: var(--lait); }
.page-clinique .entete:not(.est-posee) .logo__narine, .page-clinique .entete:not(.est-posee) .logo__trait { fill: var(--nuit); stroke: var(--nuit); }
.page-clinique .entete:not(.est-posee) .nav a:hover, .page-clinique .entete:not(.est-posee) .nav a[aria-current="page"] { background: rgba(255, 253, 249, .18); }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--encre); text-decoration: none; flex: none; }
.logo__svg { height: 30px; width: auto; overflow: visible; }
.logo__truffe { transform-box: fill-box; transform-origin: 50% 60%; }
.logo__narine { fill: var(--papier); }
.logo__trait { stroke: var(--papier); }
.logo--lait .logo__narine, .logo--lait .logo__trait { fill: var(--nuit); stroke: var(--nuit); }
.logo__truffe .truffe-chien, .logo__truffe .truffe-chat { transition: opacity .3s, transform .3s var(--courbe); transform-box: fill-box; transform-origin: 50% 50%; }
.logo__truffe .truffe-chat { opacity: 0; transform: scale(.6); }
.moustaches path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s var(--courbe); }
:root[data-animal="chat"] .truffe-chien { opacity: 0; transform: scale(.6); }
:root[data-animal="chat"] .truffe-chat { opacity: 1; transform: none; }
:root[data-animal="chat"] .moustaches path { stroke-dashoffset: 0; transition-delay: .15s; }
.logo__air path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.renifle .truffe-chien, .renifle .truffe-chat { animation: renifle .25s ease-in-out 2; }
:root[data-animal="chat"] .renifle .truffe-chat { animation: renifle .25s ease-in-out 2; }
.renifle .logo__air path { animation: air .5s ease-out forwards; }
@keyframes renifle { 50% { transform: scaleX(1.12); } }
@keyframes air { 30% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 0; } }

.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 999px; transition: background-color .25s; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 253, 249, .7); }
.barre__rdv { --h: 52px; font-size: 15px; padding-left: 22px; }
.barre__rdv .pilule__rond { width: 38px; height: 38px; }
.bouton-menu { display: none; }

/* Menu plein écran (cellulaire, I3) */
.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--accent); color: var(--texte-sur-accent);
  display: flex; flex-direction: column; justify-content: space-between; padding: 110px 24px max(28px, env(safe-area-inset-bottom));
  clip-path: circle(0 at var(--mx, 90%) var(--my, 60px)); transition: clip-path .5s var(--courbe-vague), background-color .4s; overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu.est-ouvert { clip-path: circle(150vmax at var(--mx, 90%) var(--my, 60px)); }
.menu__liens a { display: block; font: 700 34px/1.25 var(--f-titre); letter-spacing: -.02em; text-decoration: none; padding: 6px 0; opacity: 0; transform: translateY(24px); transition: opacity .35s, transform .45s var(--courbe); }
.menu.est-ouvert .menu__liens a { opacity: 1; transform: none; }
.menu.est-ouvert li:nth-child(1) a { transition-delay: .12s; } .menu.est-ouvert li:nth-child(2) a { transition-delay: .17s; }
.menu.est-ouvert li:nth-child(3) a { transition-delay: .22s; } .menu.est-ouvert li:nth-child(4) a { transition-delay: .27s; }
.menu.est-ouvert li:nth-child(5) a { transition-delay: .32s; } .menu.est-ouvert li:nth-child(6) a { transition-delay: .37s; }
.menu.est-ouvert li:nth-child(7) a { transition-delay: .42s; }
.menu__bas { display: grid; gap: 16px; justify-items: start; margin-top: 28px; }
.menu__urgence { display: inline-flex; gap: 10px; align-items: center; background: var(--rouge-texte); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; min-height: 48px; }
.menu__urgence svg { width: 20px; height: 20px; }
.menu__etiquette { color: inherit; opacity: .85; margin: 0; }

/* ------------------------------------------------------------- bascule chien / chat (I5, I6) */
.bascule { position: relative; display: inline-flex; gap: 6px; padding: 6px; background: var(--lait); border-radius: 999px; box-shadow: var(--ombre-pilule); }
.bascule button { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: var(--encre-douce); transition: color .3s; }
.bascule button svg { width: 30px; height: 30px; }
.bascule button[aria-checked="true"] { color: var(--texte-sur-accent); }
.bascule__pastille, .bascule--menu button[aria-checked="true"] { background: var(--accent); }
.bascule__pastille { position: absolute; z-index: 0; top: 6px; left: 6px; width: 52px; height: 52px; border-radius: 50%; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), background-color .4s; }
:root[data-animal="chat"] .bascule__pastille { transform: translateX(58px); }
.bascule--menu { box-shadow: none; }
.bascule--principale { position: absolute; right: 28px; bottom: 28px; z-index: 6; }
.bascule--principale.est-fixe { position: fixed; right: 24px; bottom: 24px; z-index: 45; }
@media (min-width: 761px) { .section-calme .bascule--principale.est-fixe { opacity: 0; visibility: hidden; pointer-events: none; } }
.bascule--principale.est-fixe { transition: opacity .3s, visibility .3s; }
.bascule--principale.rebond { animation: rebond .4s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes rebond { 40% { transform: scale(1.08); } }

/* ------------------------------------------------------------- bannière (I7) */
main { display: block; }
.heros { padding: calc(var(--h-bandeau) + 12px) 24px 0; }
.heros__carte {
  position: relative; height: calc(100svh - var(--h-bandeau) - 24px); min-height: 640px; max-height: 1000px;
  border-radius: 36px; background: var(--heros); overflow: hidden; isolation: isolate; container-type: size;
  transition: background-color .4s; animation: carte-entre .6s var(--courbe) both;
}
.heros__carte { touch-action: pan-y; }
.heros__carte::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 70%, rgba(255, 255, 255, .35), transparent); z-index: -1; }
@keyframes carte-entre { from { transform: scale(.96); } }
.heros__mot { position: absolute; left: 50%; top: calc(var(--h-barre) + 2%); width: min(86%, 1220px); transform: translate(-50%, var(--mot-y, 0)); color: var(--lait); z-index: 0; animation: mot-entre .7s var(--courbe) .1s both; }
@keyframes mot-entre { from { opacity: 0; translate: 0 40px; } }
.heros__animal {
  /* l'animal vit dans l'espace libre entre le texte (à gauche) et les puces (à droite) : il ne passe jamais sur du texte */
  --tw: min(30cqw, 400px); --g: calc(clamp(28px, 4vw, 60px) + var(--tw) + 3cqw); --a: calc(100cqw - var(--g) - var(--dr, 240px));
  --w: min(calc(77cqh * var(--ratio)), var(--a));
  position: absolute; bottom: 0; width: var(--w); height: auto; aspect-ratio: var(--ratio); left: calc(var(--g) + (var(--a) - var(--w)) / 2); transform: translate(0, var(--animal-y, 0));
  z-index: 2; view-transition-name: animal; animation: animal-monte .9s cubic-bezier(.34, 1.4, .64, 1) .25s both;
}
@keyframes animal-monte { from { opacity: 0; translate: 0 30px; } }
.heros__tete { position: absolute; inset: 0; transform-origin: 50% 92%; will-change: transform; }
.heros__face, .heros__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.heros__canvas { opacity: 0; transition: opacity .2s; }
.heros.seq-prete .heros__canvas { opacity: 1; }
.heros.seq-prete .heros__face { visibility: hidden; }
.heros__ombre { position: absolute; left: 18%; right: 18%; bottom: -14px; height: 40px; border-radius: 50%; background: rgba(42, 30, 25, .18); filter: blur(16px); }
.heros__traits { position: absolute; width: 16%; top: 22%; color: var(--encre); pointer-events: none; }
.heros__traits--g { left: -6%; } .heros__traits--d { right: -6%; }
.heros__traits path, .trait-excitation path, .dessins__traits path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .4s var(--courbe), opacity .15s; }
.heros__traits.est-visible path { stroke-dashoffset: 0; opacity: 1; }
.heros__traits.est-visible path:nth-child(2) { transition-delay: .06s; } .heros__traits.est-visible path:nth-child(3) { transition-delay: .12s; }
.heros__question { position: absolute; width: 7%; right: 16%; top: 4%; color: var(--encre); opacity: 0; transition: opacity .2s; }
.heros__question path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--courbe); }
.heros__question.est-visible { opacity: 1; }
.heros__question.est-visible path { stroke-dashoffset: 0; }
.heros__coeurs { position: absolute; inset: 0; pointer-events: none; }
.coeur-vole { position: absolute; width: 34px; height: 34px; color: var(--accent-fonce); animation: coeur-monte .9s var(--courbe) forwards; }
@keyframes coeur-monte { from { opacity: 0; transform: translateY(10px) scale(.6); } 25% { opacity: 1; } to { opacity: 0; transform: translateY(-90px) scale(1.1); } }
.heros__texte { position: absolute; left: clamp(28px, 4vw, 60px); bottom: 128px; width: min(30%, 400px); z-index: 4; }
.heros__titre { font: 700 clamp(34px, 3.2vw, 50px)/1.04 var(--f-titre); letter-spacing: -.02em; margin-bottom: 14px; }
.heros__phrase { font-size: 17px; color: var(--encre); max-width: 34ch; }
.heros .etiquette { color: var(--encre); opacity: .8; }
.heros__puces { position: absolute; right: clamp(28px, 4vw, 60px); bottom: 128px; z-index: 4; display: grid; gap: 10px; justify-items: end; }
.heros__puces li { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 253, 249, .78); padding: 9px 16px 9px 12px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.heros__puces svg { width: 18px; height: 18px; color: var(--accent-fonce); }
.heros__rdv { position: absolute; left: clamp(20px, 3vw, 40px); bottom: 28px; z-index: 5; --h: 72px; min-width: 330px; justify-content: space-between; font-size: 17px; padding-left: 30px; }
.heros__rdv .pilule__rond { width: 52px; height: 52px; }
.heros__bascule-place { position: absolute; right: 0; bottom: 0; }
.heros__indice { text-align: center; font-size: 14px; color: var(--encre-douce); padding: 14px 0 0; }

/* ------------------------------------------------------------- ruban (I8) */
.ruban { position: relative; height: 230px; margin-top: -10px; overflow: hidden; }
.ruban__svg { width: 100%; height: 100%; overflow: visible; }
.ruban__bande { fill: none; stroke: var(--accent); stroke-width: 64; stroke-linecap: butt; transition: stroke .4s; }
.ruban__texte { font: 700 22px/1 var(--f-titre); fill: var(--texte-sur-accent); letter-spacing: .02em; text-transform: uppercase; }

/* ------------------------------------------------------------- trouveur (I9 à I11) */
.trouveur__grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.phrase { font: 600 clamp(26px, 2.6vw, 38px)/1.65 var(--f-titre); letter-spacing: -.01em; margin: 34px 0 30px; max-width: 24ch; }
.trou { position: relative; display: inline-block; white-space: nowrap; }
.trou__bouton {
  font: italic 600 1.05em/1.2 var(--f-ital); letter-spacing: 0; color: var(--accent-titre); background: none; border: 0; padding: 0 6px 2px;
  border-bottom: 3px solid var(--accent); cursor: pointer; min-height: 44px; transition: color .3s, border-color .3s;
}
.trou__bouton::after { content: ""; display: inline-block; width: .32em; height: .32em; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-.18em) rotate(45deg); margin-left: .3em; }
.trou__mot { display: inline-block; }
.trou__mot.entre { animation: mot-tourne .3s var(--courbe); }
@keyframes mot-tourne { from { transform: rotate(-8deg) translateY(6px); opacity: 0; } }
.trou__liste {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; display: flex; flex-direction: column; gap: 4px; min-width: 220px;
  background: var(--lait); border-radius: 22px; padding: 8px; box-shadow: 0 20px 50px rgba(42, 30, 25, .18);
  font: italic 600 22px/1.2 var(--f-ital); letter-spacing: 0; animation: liste-ouvre .25s var(--courbe);
}
.trou__liste[hidden] { display: none; }
@keyframes liste-ouvre { from { opacity: 0; transform: translateY(-6px); } }
.trou__liste [role="option"] { padding: 10px 16px; border-radius: 999px; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.trou__liste [role="option"]:hover, .trou__liste [role="option"].est-focus { background: var(--doux); }
.trou__liste [aria-selected="true"] { background: var(--accent); color: var(--texte-sur-accent); }
.trou__select { display: none; }
.reponse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--courbe); margin-top: 26px; }
.reponse.est-ouverte { grid-template-rows: 1fr; }
.reponse__dedans { overflow: hidden; min-height: 0; }
.reponse__carte { background: var(--lait); border-radius: 28px; padding: clamp(22px, 2.6vw, 34px); box-shadow: var(--ombre-photo); display: grid; gap: 14px; }
.reponse__titre { font: 700 22px/1.2 var(--f-titre); }
.r-cascade { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--courbe); }
.reponse.est-ouverte .r-cascade { opacity: 1; transform: none; }
.reponse__ligne { display: grid; gap: 4px; }
.reponse__etiq { font: 700 12px/1.3 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-douce); }
.reponse__val { font: 700 20px/1.3 var(--f-titre); }
.reponse__prix { color: var(--accent-fonce); }
.reponse__phrase { color: var(--encre-douce); font-size: 16px; }
.reponse__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reponse__qui { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.reponse__qui img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.reponse__heures { display: flex; flex-wrap: wrap; gap: 10px; }
.heure-pilule { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--accent); background: transparent; font-weight: 700; transition: background-color .25s, color .25s; }
.heure-pilule:hover, .heure-pilule:focus-visible { background: var(--accent); color: var(--texte-sur-accent); }
.reponse__note { font-size: 15px; }
.reponse__mention { font-size: 13px; color: var(--encre-douce); padding: 12px 6px 4px; }
.trouveur__photo { aspect-ratio: 4 / 5; margin-top: 40px; overflow: visible; }
.trouveur__photo img { border-radius: var(--rayon-photo); }
.trait-excitation { position: absolute; width: 90px; left: -60px; top: -40px; color: var(--encre); }
.est-vu .trait-excitation path, .trait-excitation.est-vu path { stroke-dashoffset: 0; opacity: 1; transition-duration: .6s; }
.trait-excitation path:nth-child(2) { transition-delay: .1s; } .trait-excitation path:nth-child(3) { transition-delay: .2s; }

/* ------------------------------------------------------------- examen (I12 à I14) */
.examen { position: relative; }
.examen__piste { height: 800svh; position: relative; }
.examen__scene { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.examen__tete { position: absolute; z-index: 5; left: calc(var(--gouttiere) - 16px); top: calc(var(--h-bandeau) + 84px); width: min(38%, 490px); padding: 12px 16px 14px; border-radius: 24px; background: rgba(245, 239, 230, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.examen__tete .titre { font-size: clamp(30px, 3.2vw, 48px); }
.examen__tete .sous-titre { font-size: 17px; }
.rail { position: absolute; z-index: 5; left: calc(var(--gouttiere) - 14px); bottom: 40px; display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 10px 14px; border-radius: 22px; background: rgba(245, 239, 230, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rail__patte { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 4px 8px 4px 0; min-height: 44px; color: var(--encre-douce); font-weight: 700; font-size: 14px; }
.rail__patte svg { width: 26px; height: 26px; color: transparent; stroke: var(--encre-douce); stroke-width: 1.4px; transition: color .3s, stroke .3s, transform .3s var(--courbe); }
.rail__patte.est-passe svg { stroke: var(--accent-fonce); }
.rail__patte.est-actif { color: var(--encre); }
.rail__patte.est-actif svg { color: var(--accent); stroke: var(--accent); transform: scale(1.25) rotate(-12deg); }
.examen__vue { position: absolute; inset: 0; }
.examen__monde { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.examen__animal { width: 100%; height: auto; }
.examen__fil { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.examen__fil path { fill: none; stroke: var(--encre); stroke-width: 2; stroke-dasharray: 4 7; stroke-linecap: round; }
.examen__point, .examen__anneau { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; pointer-events: none; will-change: transform; }
.examen__point { background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 255, 255, .7); }
.examen__point::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--accent); animation: pouls 1.6s ease-out infinite; }
.examen__anneau { width: 120px; height: 120px; margin: -60px 0 0 -60px; border: 4px solid var(--rouge); opacity: 0; transition: opacity .3s; }
.examen.au-coeur .examen__anneau { opacity: 1; animation: battement 1.1s infinite; }
@keyframes battement { 0%, 40%, 100% { scale: 1; } 12% { scale: 1.18; } 26% { scale: 1.08; } 32% { scale: 1.16; } }
.examen__cartes { position: absolute; z-index: 6; right: var(--gouttiere); top: 50%; width: min(32%, 400px); transform: translateY(-40%); }
.examen__carte {
  position: absolute; inset: 0 0 auto; background: var(--lait); border-radius: 26px; padding: 28px 30px; box-shadow: var(--ombre-photo);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .35s, transform .45s var(--courbe); pointer-events: none;
}
.examen__carte.est-active { opacity: 1; transform: none; pointer-events: auto; }
.examen__num { font: 700 12px/1 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-fonce); margin-bottom: 10px; }
.examen__carte h3 { font: 700 24px/1.15 var(--f-titre); letter-spacing: -.01em; margin-bottom: 10px; }
.examen__carte p:not(.examen__num) { font-size: 16px; color: var(--encre-douce); }
.examen__lien { display: inline-flex; align-items: center; min-height: 46px; margin-top: 8px; font-weight: 700; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.examen__trace { width: 180px; margin-top: 10px; }
.examen__trace path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.examen__carte.est-active .examen__trace path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s ease-out .2s; }
.examen__liste { display: none; }

/* ------------------------------------------------------------- salon et brossage (I15 à I19) */
.salon__grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.salon__texte .titre { font-size: clamp(32px, 3.7vw, 54px); }
.salon__intro { font-size: 18px; margin-bottom: 18px; max-width: 42ch; }
.salon__prix { font: 700 22px/1.3 var(--f-titre); margin-bottom: 10px; }
.salon__invite { margin-top: 18px; color: var(--encre-douce); }
.salon__photo { margin-top: 32px; aspect-ratio: 16 / 10; max-width: 420px; overflow: visible; }
.salon__photo img { border-radius: var(--rayon-photo); }
.brossage { position: relative; display: grid; justify-items: center; gap: 18px; }
.brossage__outils { display: flex; gap: 8px; background: var(--lait); padding: 6px; border-radius: 999px; box-shadow: var(--ombre-pilule); }
.brossage__outil { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font-weight: 700; transition: background-color .3s, color .3s; }
.brossage__outil svg { width: 22px; height: 22px; }
.brossage__outil[aria-pressed="true"] { background: var(--accent); color: var(--texte-sur-accent); }
.brossage__zone { position: relative; width: min(100%, 620px); }
.brossage__scene { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 253, 249, .9), rgba(255, 253, 249, 0)); touch-action: pan-y; }
.brossage.est-actif .brossage__scene, .brossage.a-la-brosse .brossage__scene { cursor: none; }
.brossage__scene > img, .brossage__scene > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.brossage__apres { opacity: .9; transition: opacity .6s; filter: drop-shadow(0 18px 18px rgba(42, 30, 25, .16)); }
.brossage__avant { transition: opacity .6s; }
.brossage__poils, .brossage__effets { pointer-events: none; }
.brossage__curseur { position: absolute; left: 0; top: 0; width: 80px; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; z-index: 3; }
.brossage__curseur svg { width: 80px; filter: drop-shadow(0 6px 6px rgba(42, 30, 25, .25)); }
.brossage__sechoir-svg { display: none; }
.brossage[data-outil="sechoir"] .brossage__brosse-svg { display: none; }
.brossage[data-outil="sechoir"] .brossage__sechoir-svg { display: block; }
.brossage.curseur-visible .brossage__curseur { opacity: 1; }
.brossage__bandana { position: absolute; width: 30%; left: 35%; top: 40%; opacity: 0; pointer-events: none; transform: translateY(-60px) rotate(-8deg); }
.brossage.est-fini .brossage__bandana { animation: bandana-tombe .9s cubic-bezier(.34, 1.56, .64, 1) .35s forwards; }
@keyframes bandana-tombe { from { opacity: 0; transform: translateY(-80px) rotate(-14deg); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
.brossage__prendre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; }
.brossage__prendre:active { transform: translate(-50%, -50%) scale(.97); }
.brossage.a-la-brosse .brossage__prendre, .brossage.est-fini .brossage__prendre { display: none; }
.brossage.est-fini .consigne-brosse { display: none; }
.brossage__consigne { text-align: center; color: var(--encre-douce); font-size: 15px; margin-top: 8px; min-height: 24px; }
.brossage__compteur { width: min(100%, 420px); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.brossage__pct { font: 700 22px/1 var(--f-titre); display: flex; align-items: center; gap: 2px; }
.brossage__palier { justify-self: end; font: italic 600 19px/1 var(--f-ital); color: var(--accent-fonce); min-height: 20px; }
.brossage__palier.entre { animation: mot-tourne .35s var(--courbe); }
.brossage__barre { grid-column: 1 / -1; height: 10px; border-radius: 999px; background: rgba(42, 30, 25, .1); overflow: hidden; }
.brossage__barre span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform .2s linear, background-color .4s; }
.brossage__seche { grid-column: 1 / -1; font: 700 15px/1 var(--f-titre); color: #3E7FB8; margin-top: 6px; }
.brossage__seche-barre { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: rgba(62, 127, 184, .14); overflow: hidden; }
.brossage__seche-barre span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8ECFF5, #3E7FB8); transform-origin: 0 50%; transform: scaleX(0); transition: transform .25s linear; }
.brossage__poils { transition: opacity .6s; }
.brossage__apres { transition: opacity .6s, filter .2s, transform .3s; }
.brossage__actions { display: flex; gap: 12px; }
.brossage__fin { display: grid; justify-items: center; gap: 14px; text-align: center; animation: mot-tourne .5s var(--courbe); }
.brossage__fin[hidden] { display: none; }
.brossage__fin-phrase { font: italic 600 26px/1.2 var(--f-ital); color: var(--accent-fonce); }
.brossage__fin-boutons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.roller { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; font-variant-numeric: tabular-nums; }
.roller__chiffre { display: inline-block; height: 1em; overflow: hidden; }
.roller__bande { display: flex; flex-direction: column; transition: transform .4s var(--courbe); }
.roller__bande span { height: 1em; line-height: 1; text-align: center; }

/* ------------------------------------------------------------- carnet (I20 à I23) */
.carnet__grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); }
.carnet__dessin { position: relative; max-width: 420px; margin: 26px 0 12px; }
.dessins { width: 100%; overflow: visible; }
.dessin { opacity: 0; transform: scale(.94); transform-origin: 160px 250px; transition: opacity .3s, transform .3s var(--courbe); }
.dessin.est-actif { opacity: 1; transform: none; }
.dessins .t, .dessins .f, .dessins .l { stroke: var(--encre); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dessins .t { fill: none; }
.dessins .f { fill: var(--doux); transition: fill .4s; }
.dessins .l { fill: var(--lait); }
.dessins .p { fill: var(--encre); }
.dessins .gris { fill: none; stroke: #A59B95; stroke-width: 2.4; stroke-linecap: round; }
.queue { animation: remue var(--remue, 1.3s) ease-in-out infinite alternate; }
.queue--lente { --remue: 2.4s; }
@keyframes remue { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.dessins__traits path { stroke-width: 3; }
.carnet.bouge .dessins__traits path { stroke-dashoffset: 0; opacity: 1; }
.carnet__champs { display: grid; gap: 22px; max-width: 460px; }
.champ { display: grid; gap: 8px; }
.champ label { font-weight: 700; font-size: 15px; }
.champ input[type="text"], .rdv__champ input, .rdv__champ select {
  min-height: 54px; padding: 0 18px; border-radius: 16px; border: 1.5px solid rgba(42, 30, 25, .2); background: var(--lait); font-size: 17px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.champ input[type="text"]:focus, .rdv__champ input:focus, .rdv__champ select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); outline: none; }
.champ__erreur, .rdv__msg { font-size: 14px; color: var(--encre-douce); }
.champ__erreur::before, .rdv__msg::before { content: "• "; color: var(--accent-fonce); font-weight: 700; }
.champ__haut { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.carnet__age, .forfaits__taille-texte { font: 700 20px/1.2 var(--f-titre); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; --p: 33%; }
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(42, 30, 25, .14) var(--p)); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; background: rgba(42, 30, 25, .14); }
input[type="range"]::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -11px; border-radius: 50%; background: var(--lait); border: 3px solid var(--encre); box-shadow: 0 4px 12px rgba(42, 30, 25, .2); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--lait); border: 3px solid var(--encre); }
.carnet__bornes, .forfaits__crans { display: flex; justify-content: space-between; font-size: 14px; color: var(--encre-douce); font-weight: 500; }
.carnet__frise-titre { font: 700 22px/1.2 var(--f-titre); margin-bottom: 18px; }
.frise { position: relative; display: grid; gap: 0; }
.frise::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; border-left: 2px dashed rgba(42, 30, 25, .25); }
.repere { position: relative; display: grid; grid-template-columns: 32px 1fr auto; column-gap: 16px; padding: 10px 0; align-items: start; }
.repere__point { grid-row: span 3; position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--papier); border: 2px solid rgba(42, 30, 25, .3); display: grid; place-items: center; color: transparent; transition: background-color .3s, border-color .3s, color .3s; }
.repere__point svg { width: 18px; height: 18px; }
.repere__ech { font: 700 12px/1.3 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-douce); }
.repere__titre { font: 700 17px/1.25 var(--f-titre); }
.repere__texte { grid-column: 2 / 4; font-size: 15px; color: var(--encre-douce); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--courbe), opacity .3s; }
.repere__statut { grid-column: 3; grid-row: 1 / 3; align-self: center; font: 700 12px/1 var(--f-texte); letter-spacing: .06em; text-transform: uppercase; }
.repere__statut span { display: none; padding: 6px 10px; border-radius: 999px; }
.repere.est-fait .repere__point { background: var(--encre); border-color: var(--encre); color: var(--lait); }
.repere.est-fait .st-fait { display: inline-block; background: rgba(42, 30, 25, .08); }
.repere.est-prochain .repere__point { border-color: var(--accent); background: var(--accent); animation: pouls-repere 1.4s infinite; }
.repere.est-prochain .st-prochain { display: inline-block; background: var(--accent); color: var(--texte-sur-accent); }
.repere.est-prochain .repere__texte { max-height: 140px; opacity: 1; margin-top: 4px; }
.repere.est-tard .st-tard { display: inline-block; color: var(--encre-douce); }
@keyframes pouls-repere { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.carnet__prochain { margin: 22px 0 18px; font: 600 19px/1.4 var(--f-texte); background: var(--lait); border-radius: 20px; padding: 16px 20px; box-shadow: var(--ombre-pilule); }
.carnet__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.carnet__ok { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--vert); }
.carnet__ok svg { width: 24px; height: 24px; }
.carnet__ok path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace .5s var(--courbe) forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.carnet__mention { margin-top: 22px; font-weight: 700; font-size: 15px; }
.carnet__mention-longue { font-size: 13px; color: var(--encre-douce); margin-top: 6px; max-width: 60ch; }

/* ------------------------------------------------------------- équipe (I24) */
.equipe__cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; width: min(100% - 2 * var(--gouttiere), 1280px); margin-inline: auto; }
.carte-equipe { perspective: 900px; }
.carte-equipe__corps { position: relative; transform-style: preserve-3d; transition: transform .6s var(--courbe); will-change: transform; }
.carte-equipe.est-retournee .carte-equipe__corps { transform: rotateY(180deg) !important; }
.carte-equipe__face { background: var(--lait); border-radius: 28px; padding: 14px 14px 22px; box-shadow: 0 14px 40px rgba(42, 30, 25, .1); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.carte-equipe__verso { position: absolute; inset: 0; transform: rotateY(180deg); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; background: var(--encre); color: var(--lait); }
.carte-equipe__verso .etiquette { color: var(--accent); margin: 0; }
.carte-equipe__verso-titre { font: italic 600 26px/1.15 var(--f-ital); }
.carte-equipe__faits { display: grid; gap: 10px; font-size: 16px; flex: 1; align-content: start; }
.carte-equipe__faits li { padding-left: 26px; position: relative; }
.carte-equipe__faits li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.carte-equipe__revenir { color: var(--lait); box-shadow: inset 0 0 0 1.5px var(--lait); align-self: start; --h: 48px; }
.carte-equipe__photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--doux); }
.carte-equipe__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carte-equipe__reflet { position: absolute; inset: 0; background: radial-gradient(circle at var(--rx, 50%) var(--ry, 0%), rgba(255, 255, 255, .35), transparent 55%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.carte-equipe:hover .carte-equipe__reflet { opacity: 1; }
.medaille { position: relative; display: block; margin: -30px auto 6px; width: 74px; height: 92px; border: 0; background: none; padding: 0; transform-origin: 50% 0; z-index: 2; will-change: transform; }
.medaille__anneau { position: absolute; left: 50%; top: 0; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; border: 3px solid #A9853F; }
.medaille__disque { position: absolute; left: 50%; top: 18px; width: 68px; height: 68px; margin-left: -34px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, #E9CD8E, var(--laiton) 55%, #A9853F); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), 0 6px 12px rgba(42, 30, 25, .25); font: italic 600 13px/1.05 var(--f-ital); color: #3A2A12; padding: 6px; }
.carte-equipe__nom { font: 700 20px/1.2 var(--f-titre); text-align: center; }
.carte-equipe__role { text-align: center; font-weight: 700; color: var(--accent-fonce); font-size: 15px; margin-top: 4px; }
.carte-equipe__spec { text-align: center; color: var(--encre-douce); font-size: 15px; }
.carte-equipe__tourner { display: block; margin: 10px auto 0; background: none; border: 0; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.carte-equipe__jours { text-align: center; font-size: 14px; color: var(--encre-douce); margin-top: 12px; }

/* ------------------------------------------------------------- avis : corde à linge (I26) */
.avis { overflow: hidden; }
.avis__tete { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-bottom: 24px; }
.avis__note { text-align: right; }
.avis__chiffres { font: 700 44px/1 var(--f-titre); display: flex; align-items: baseline; gap: 10px; justify-content: flex-end; }
.avis__chiffres { font-size: clamp(28px, 3vw, 44px); }
.avis__etoiles { font-size: 22px; color: var(--laiton); letter-spacing: 2px; }
.avis__nombre { font-weight: 700; margin-top: 6px; }
.avis__mention { font-size: 13px; color: var(--encre-douce); max-width: 34ch; margin-left: auto; }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filtres button { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(42, 30, 25, .25); background: var(--lait); font-weight: 700; transition: background-color .25s, color .25s, border-color .25s; }
.filtres button[aria-pressed="true"] { background: var(--encre); color: var(--lait); border-color: var(--encre); }
.corde { position: relative; height: 640px; cursor: grab; touch-action: pan-y; outline-offset: -6px; user-select: none; -webkit-user-select: none; }
.corde.saisie { cursor: grabbing; }
.corde__fil { position: absolute; left: 0; top: 0; width: 100%; height: 120px; overflow: visible; pointer-events: none; }
.corde__fil path { fill: none; stroke: #B48A5C; stroke-width: 4; stroke-linecap: round; }
.corde__rang { position: absolute; left: 0; top: 0; display: flex; gap: 34px; padding: 0 var(--gouttiere); will-change: transform; }
.avis-carte { position: relative; flex: none; width: 300px; padding-top: 40px; transform-origin: 50% 0; transition: opacity .3s; }
.avis-carte.tombe { animation: tombe .3s ease-in forwards; }
@keyframes tombe { to { transform: translateY(40px); opacity: 0; } }
.avis-carte__pince { position: absolute; left: 50%; top: 22px; width: 24px; margin-left: -12px; z-index: 2; }
.avis-carte__papier { background: var(--lait); border-radius: 6px 6px 22px 22px; padding: 14px 14px 20px; box-shadow: 0 14px 30px rgba(42, 30, 25, .14); }
.avis-carte__photo { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--heros); border-radius: 4px 4px 16px 16px; margin-bottom: 14px; transition: background-color .4s; pointer-events: none; }
.avis-carte__etoiles { color: var(--laiton); letter-spacing: 2px; font-size: 16px; }
.avis-carte__texte { font: italic 600 17px/1.4 var(--f-ital); margin: 8px 0 12px; }
.avis-carte__sig { font-weight: 700; font-size: 15px; }
.avis-carte__date { font-size: 13px; color: var(--encre-douce); }
.avis__vide { position: absolute; left: var(--gouttiere); top: 200px; font-weight: 700; }
.avis__bas { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.avis__consigne { color: var(--encre-douce); font-size: 15px; }
.avis__fleches { display: flex; gap: 10px; }

/* ------------------------------------------------------------- rendez-vous (I25) */
.rdv { background: var(--heros); transition: background-color .4s; overflow: hidden; overflow: clip; } /* clip : ne crée pas de conteneur de défilement, la barre Suivant peut coller */
.rdv__tete { margin-bottom: 36px; }
.rdv__grille > *, .rdv__form, .rdv__etape, .rdv__jours, .rdv__heures { min-width: 0; }
.rdv__grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
.rdv__form { background: var(--lait); border-radius: 30px; padding: clamp(22px, 3vw, 40px); box-shadow: var(--ombre-photo); position: relative; }
.rdv__prerempli { background: var(--doux); border-radius: 14px; padding: 10px 14px; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.rdv__progres { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 30px; }
.rdv__progres::before { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; border-top: 2px dashed rgba(42, 30, 25, .25); }
.rdv__progres button { position: relative; display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 0; font-size: 13px; font-weight: 700; color: var(--encre-douce); min-height: 44px; width: 100%; }
.rdv__progres button:disabled { cursor: default; }
.rdv__trace { width: 44px; height: 44px; border-radius: 50%; background: var(--lait); display: grid; place-items: center; }
.rdv__trace svg { width: 26px; height: 26px; color: transparent; stroke: rgba(42, 30, 25, .3); stroke-width: 1.3px; transition: color .3s, stroke .3s; }
.rdv__progres button[aria-current="step"] { color: var(--encre); }
.rdv__progres button[aria-current="step"] .rdv__trace svg { stroke: var(--accent); stroke-width: 1.8px; }
.rdv__progres button.est-fait .rdv__trace svg { color: var(--accent); stroke: var(--accent); animation: empreinte .3s var(--courbe); }
@keyframes empreinte { from { transform: scale(1.4); opacity: 0; } }
.rdv__resume-cell { display: none; }
.rdv__erreur-generale { background: #FFF1E8; border-radius: 14px; padding: 12px 16px; font-weight: 700; margin-bottom: 16px; }
.rdv__erreur-generale::before { content: "• "; color: var(--accent-fonce); }
.rdv__etape { border: 0; padding: 0; margin: 0; min-width: 0; animation: etape-entre .4s var(--courbe); }
@keyframes etape-entre { from { opacity: 0; transform: translateX(16px); } }
.rdv__titre-etape { font: 700 26px/1.2 var(--f-titre); padding: 0; margin-bottom: 6px; }
.rdv__aide { color: var(--encre-douce); margin-bottom: 20px; font-size: 16px; }
.rdv__note { font-size: 14px; color: var(--encre-douce); margin-top: 6px; }
.rdv__note-toilettage { font-weight: 700; color: var(--encre); background: var(--doux); padding: 10px 14px; border-radius: 12px; margin: 0 0 14px; }
.rdv__animaux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.rdv__animal input, .rdv__tuile input, .rdv__pro input { position: absolute; opacity: 0; pointer-events: none; }
.rdv__animal-carte { display: grid; justify-items: center; gap: 8px; padding: 22px 14px; border-radius: 22px; border: 2px solid rgba(42, 30, 25, .14); font: 700 18px/1.2 var(--f-titre); cursor: pointer; transition: border-color .25s, background-color .25s, transform .2s; }
.rdv__animal-carte svg { width: 54px; height: 54px; }
.rdv__animal input:checked + .rdv__animal-carte, .rdv__tuile input:checked + span, .rdv__pro input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--lait)); }
.rdv__animal input:focus-visible + span, .rdv__tuile input:focus-visible + span, .rdv__pro input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.rdv__autre-lien { background: none; border: 0; padding: 0; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; color: var(--encre-douce); }
.rdv__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.rdv__champ { display: grid; gap: 6px; margin-top: 10px; }
.rdv__champ label { font-weight: 700; font-size: 15px; }
.rdv__champ.a-erreur input, .rdv__champ.a-erreur select { border-color: var(--accent-fonce); }
.rdv__tuiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rdv__tuile span { display: grid; justify-items: start; gap: 6px; height: 100%; padding: 16px; border-radius: 18px; border: 2px solid rgba(42, 30, 25, .14); cursor: pointer; transition: border-color .25s, background-color .25s; }
.rdv__tuile svg { width: 32px; height: 32px; color: var(--accent-fonce); }
.rdv__tuile b { font-size: 15px; line-height: 1.2; }
.rdv__tuile small { font-size: 13px; color: var(--encre-douce); }
.rdv__pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rdv__pro span { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 16px 10px; border-radius: 20px; border: 2px solid rgba(42, 30, 25, .14); cursor: pointer; height: 100%; transition: border-color .25s, background-color .25s, opacity .25s; }
.rdv__pro img, .rdv__pro-patte { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
.rdv__pro-patte { display: grid; place-items: center; background: var(--accent); color: var(--texte-sur-accent); }
.rdv__pro-patte svg { width: 32px; }
.rdv__pro b { font-size: 15px; line-height: 1.2; }
.rdv__pro small { font-size: 13px; color: var(--encre-douce); }
.rdv__pro.est-indispo span { opacity: .35; cursor: not-allowed; }
.rdv__jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 20px; }
.jour { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; border: 2px solid rgba(42, 30, 25, .14); background: var(--lait); min-height: 64px; font-size: 13px; line-height: 1.2; transition: border-color .2s, background-color .2s; }
.jour b { font: 700 20px/1.1 var(--f-titre); }
.jour[aria-checked="true"] { border-color: var(--accent); background: var(--accent); color: var(--texte-sur-accent); }
.jour:disabled { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.jour small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.rdv__heures-titre { font-weight: 700; margin-bottom: 10px; }
.rdv__heures { display: flex; flex-wrap: wrap; gap: 8px; }
.heure { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 2px solid rgba(42, 30, 25, .16); background: var(--lait); font-weight: 700; transition: border-color .2s, background-color .2s; }
.heure[aria-checked="true"] { background: var(--encre); color: var(--lait); border-color: var(--encre); }
.rdv__case { display: flex; align-items: center; gap: 12px; margin-top: 18px; min-height: 44px; font-weight: 500; cursor: pointer; }
.rdv__case input { width: 24px; height: 24px; accent-color: var(--accent); }
.rdv__piege { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rdv__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.rdv__suivant { margin-left: auto; min-width: 180px; }
.rdv__fiche { position: sticky; top: calc(var(--h-bandeau) + 96px); transition: transform .6s var(--courbe); }
.rdv__fiche-papier { position: relative; background: var(--lait); border-radius: 26px; padding: 26px; box-shadow: var(--ombre-photo); background-image: repeating-linear-gradient(transparent 0 39px, rgba(141, 182, 219, .35) 39px 40px); background-position: 0 92px; }
.rdv__fiche-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rdv__fiche-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--heros); border: 3px solid var(--lait); box-shadow: 0 4px 12px rgba(42, 30, 25, .15); }
.rdv__fiche-titre { font: 700 18px/1.2 var(--f-titre); }
.rdv__lignes div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 9px 0; min-height: 40px; align-items: center; }
.rdv__lignes dt { font: 700 12px/1 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-douce); }
.rdv__lignes dd { font: italic 600 18px/1.25 var(--f-ital); }
.rdv__lignes dd.est-vide { color: rgba(42, 30, 25, .35); }
.rdv__lignes dd.vient-de-changer { animation: mot-tourne .35s var(--courbe); }
.rdv__tampon { display: none; position: relative; width: fit-content; margin: 18px 4px 4px auto; z-index: 3; opacity: 0; pointer-events: none; transform: rotate(-8deg) scale(1.6); }
.rdv--confirme .rdv__tampon { display: block; }
.rdv__tampon span { display: block; padding: 10px 18px; border: 4px solid var(--accent-fonce); border-radius: 14px; color: var(--accent-fonce); font: 800 22px/1.1 var(--f-titre); text-transform: uppercase; letter-spacing: .02em; background: rgba(255, 253, 249, .6); mix-blend-mode: multiply; }
.rdv--confirme .rdv__tampon { animation: tampon .25s cubic-bezier(.3, 0, .2, 1) .35s forwards; }
@keyframes tampon { to { opacity: .92; transform: rotate(-8deg) scale(1); } }
.rdv--confirme .rdv__fiche-papier { animation: secousse .3s ease .6s; }
@keyframes secousse { 25% { transform: translate(-4px, 2px) rotate(-.6deg); } 60% { transform: translate(3px, -1px) rotate(.4deg); } }
.rdv--confirme .rdv__form { display: none; }
.rdv--confirme .rdv__grille { grid-template-columns: minmax(0, 560px); justify-content: center; }
.rdv--confirme .rdv__fiche { position: relative; top: 0; }
.rdv__confirmation { margin-top: 20px; display: grid; gap: 10px; }
.rdv__confirmation-titre { font: 700 32px/1.1 var(--f-titre); }
.rdv__confirmation-demo { font-size: 14px; color: var(--encre-douce); font-weight: 700; }
.rdv__confirmation-boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.rdv__confettis { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10; }

/* ------------------------------------------------------------- urgence (I27, I28) */
.urgence { position: relative; background: var(--nuit); color: var(--lait); padding-block: clamp(80px, 9vw, 140px); overflow: hidden; isolation: isolate; }
.urgence__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; z-index: -1; }
.urgence::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 21, 18, .92), rgba(30, 21, 18, .55)); z-index: -1; }
.urgence .etiquette, .urgence .sous-titre { color: rgba(255, 253, 249, .78); }
.urgence .titre em { color: #FF8B66; }
.urgence__grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 90px); align-items: start; }
.etat { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 253, 249, .1); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 15px; margin: 22px 0 6px; }
.etat__pastille { width: 10px; height: 10px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px rgba(47, 163, 107, .25); }
.etat[data-couleur="orange"] .etat__pastille { background: #F2A33A; box-shadow: 0 0 0 4px rgba(242, 163, 58, .25); }
.etat[data-couleur="gris"] .etat__pastille { background: #9A8F89; box-shadow: 0 0 0 4px rgba(154, 143, 137, .25); }
.urgence__numero-zone { position: relative; margin: 16px 0 22px; }
.urgence__coeur { position: absolute; left: -8%; top: 50%; width: 116%; height: 160px; transform: translateY(-50%); pointer-events: none; }
.urgence__numero { position: relative; display: inline-block; white-space: nowrap; font: 800 clamp(40px, 4.5vw, 68px)/1 var(--f-titre); letter-spacing: -.03em; text-decoration: none; color: var(--lait); }
.bouton-urgence { display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 0 28px 0 22px; border-radius: 999px; background: var(--rouge-texte); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 12px 30px rgba(209, 42, 37, .35); transition: background-color .25s, transform .1s; }
.bouton-urgence:hover { background: var(--rouge-fonce); }
.bouton-urgence:active { transform: scale(.97); }
.bouton-urgence svg { width: 22px; height: 22px; }
.urgence__liste-titre { font: 700 24px/1.2 var(--f-titre); margin-bottom: 16px; }
.urgence__liste { counter-reset: u; display: grid; gap: 12px; }
.urgence__liste li { counter-increment: u; position: relative; padding: 14px 16px 14px 56px; background: rgba(255, 253, 249, .08); border-radius: 16px; font-size: 17px; }
.urgence__liste li::before { content: counter(u); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--rouge-texte); display: grid; place-items: center; font: 700 14px/1 var(--f-titre); }
.urgence__rassure { margin: 20px 0 10px; font: italic 600 21px/1.35 var(--f-ital); }
.urgence__nuit-bouton { background: none; border: 0; color: var(--lait); font-weight: 700; padding: 0; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; display: inline-flex; gap: 8px; }
.urgence__nuit { background: rgba(255, 253, 249, .1); border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; font-size: 16px; animation: mot-tourne .3s var(--courbe); }
.horaires { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
.horaires th, .horaires td { text-align: left; padding: 7px 0; border-bottom: 1px solid rgba(255, 253, 249, .12); font-weight: 400; }
.horaires td { text-align: right; }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { font-weight: 700; color: #fff; }
.horaires tr.aujourdhui th::after { content: " · aujourd'hui"; font-weight: 500; color: rgba(255, 253, 249, .6); }
.horaires__note { font-size: 14px; color: rgba(255, 253, 249, .7); margin-top: 10px; }

/* ------------------------------------------------------------- FAQ (I29) */
.faq__grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 90px); align-items: start; }
.faq__gauche { position: sticky; top: calc(var(--h-bandeau) + 100px); }
.faq__gauche > p:not(.etiquette) { color: var(--encre-douce); margin-bottom: 24px; max-width: 34ch; }
.faq__item { border-bottom: 1.5px solid rgba(42, 30, 25, .14); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; text-align: left; background: none; border: 0; padding: 22px 0; min-height: 64px; font: 700 18px/1.35 var(--f-texte); }
.faq__icone { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lait); box-shadow: var(--ombre-pilule); display: grid; place-items: center; color: var(--accent-fonce); transition: transform .35s var(--courbe), background-color .3s; }
.faq__icone svg { position: absolute; width: 20px; height: 20px; transition: opacity .25s, transform .35s var(--courbe); }
.faq__croix { opacity: 0; transform: rotate(-45deg); }
.faq__q[aria-expanded="true"] .faq__icone { transform: rotate(45deg); background: var(--accent); color: var(--texte-sur-accent); }
.faq__q[aria-expanded="true"] .faq__patte { opacity: 0; }
.faq__q[aria-expanded="true"] .faq__croix { opacity: 1; transform: rotate(-45deg); }
.faq__r { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--courbe); }
.faq__r > div { overflow: hidden; min-height: 0; }
.faq__r p { padding: 0 60px 22px 0; color: var(--encre-douce); }
.faq__item.est-ouvert .faq__r { grid-template-rows: 1fr; }

/* ------------------------------------------------------------- pied (I30, I31) */
.pied { position: relative; background: var(--nuit); color: rgba(255, 253, 249, .82); padding-top: clamp(70px, 8vw, 110px); overflow: hidden; }
.pied a { color: rgba(255, 253, 249, .9); text-decoration: none; }
.pied a:hover { color: var(--lait); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.pied__pattes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.empreinte { position: absolute; left: 0; top: 0; width: 26px; height: 26px; color: rgba(255, 253, 249, .5); opacity: 0; will-change: transform, opacity; }
.empreinte.efface { animation: efface 1.2s ease-out forwards; }
@keyframes efface { from { opacity: 1; } to { opacity: 0; } }
.pied__grille { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr; gap: 40px; }
.logo--lait { color: var(--lait); }
.pied__etiquette { color: rgba(255, 253, 249, .6); margin: 14px 0 8px; font-size: 12px; }
.pied__phrase { font: italic 600 22px/1.3 var(--f-ital); color: var(--lait); margin-bottom: 18px; }
.pied__adresse { font-style: normal; margin-bottom: 12px; }
.pied__tels a { display: inline-block; padding: 4px 0; }
.pied__titre { font: 700 14px/1 var(--f-titre); letter-spacing: .04em; text-transform: uppercase; color: var(--lait); margin-bottom: 16px; }
.pied__liste li { padding: 4px 0; font-size: 16px; }
.pied__liste a { display: inline-flex; min-height: 36px; align-items: center; }
.pied__liste li.aujourdhui { color: var(--lait); font-weight: 700; }
.pied .etat { margin: 0 0 12px; }
.pied__reseaux { display: flex; gap: 10px; margin-top: 18px; }
.pied__reseaux a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 253, 249, .08); }
.pied__reseaux svg { width: 20px; height: 20px; }
.pied__geant { position: relative; z-index: 1; color: var(--lait); width: min(92vw, 1500px); margin: clamp(50px, 6vw, 90px) auto 0; transform-origin: 50% 100%; transition: transform .5s var(--courbe); }
.pied__geant-svg { width: 100%; height: auto; overflow: visible; }
.pied__geant .logo__narine, .pied__geant .logo__trait { fill: var(--nuit); stroke: var(--nuit); }
.pied__bas { position: relative; z-index: 1; padding-right: 150px !important; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; font-size: 14px; border-top: 1px solid rgba(255, 253, 249, .12); margin-top: 26px; }
.demo a { text-decoration: underline !important; text-underline-offset: 3px; }

/* ------------------------------------------------------------- barre du bas, cellulaire (I4) */
.barre-bas { display: none; }

/* ------------------------------------------------------------- page Toilettage */
.banniere { padding: calc(var(--h-bandeau) + 12px) 24px 0; }
.banniere__carte { position: relative; height: calc(100svh - var(--h-bandeau) - 24px); min-height: 600px; max-height: 960px; border-radius: 36px; overflow: hidden; background: var(--heros); isolation: isolate; animation: carte-entre .6s var(--courbe) both; }
.banniere__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.banniere__carte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245, 239, 230, .92) 0%, rgba(245, 239, 230, .7) 34%, rgba(245, 239, 230, 0) 62%); z-index: 1; pointer-events: none; }
.bulles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.banniere__texte { position: absolute; z-index: 3; left: clamp(28px, 4.5vw, 72px); bottom: clamp(40px, 7vw, 96px); width: min(46%, 600px); }
.banniere__titre { font: 700 clamp(36px, 4.6vw, 70px)/1.03 var(--f-titre); letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance; }
.banniere__phrase { font-size: 18px; max-width: 40ch; margin-bottom: 26px; }
.banniere__consigne { position: absolute; z-index: 3; right: 28px; top: calc(var(--h-barre) + 16px); background: rgba(255, 253, 249, .85); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; pointer-events: none; }
.forfaits__grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.forfaits__visuel { background: var(--doux); border-radius: 32px; padding: clamp(20px, 3vw, 40px); position: relative; transition: background-color .4s; }
.forfaits__silhouettes { position: relative; aspect-ratio: 360 / 250; }
.silhouette { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(.92); transform-origin: 50% 94%; transition: opacity .35s, transform .45s var(--courbe); overflow: visible; }
.silhouette.est-active { opacity: 1; transform: none; }
.silhouette .sol { stroke: rgba(42, 30, 25, .25); stroke-width: 2; stroke-dasharray: 3 7; fill: none; }
.silhouette .corps, .silhouette .patte-sil, .silhouette .queue-sil, .silhouette .frange, .silhouette .moust { stroke: var(--encre); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.silhouette .corps { fill: var(--lait); }
.silhouette .patte-sil { stroke-width: 9; }
.silhouette .queue-sil, .silhouette .frange, .silhouette .moust { fill: none; }
.silhouette .queue-sil--longue { stroke-width: 10; }
.silhouette .oeil { fill: var(--encre); }
.silhouette .frange { opacity: 0; transition: opacity .3s; }
.silhouette .criniere { opacity: 0; fill: var(--lait); stroke: var(--encre); stroke-width: 3; stroke-dasharray: 2 6; transition: opacity .3s; }
.forfaits__silhouettes.pelage-long .frange, .silhouette[data-poil="long"] .frange { opacity: 1; }
.forfaits__silhouettes.pelage-boucle .corps { stroke-dasharray: 1 6; stroke-width: 6; }
.forfaits__silhouettes.lion .criniere { opacity: 1; }
.forfaits__affiche { display: flex; gap: 30px; margin-top: 18px; }
.forfaits__bloc { display: grid; gap: 4px; }
.forfaits__bloc .etiquette { margin: 0; }
.forfaits__prix { font: 800 clamp(40px, 4vw, 58px)/1 var(--f-titre); color: var(--accent-fonce); display: inline-flex; align-items: center; }
.forfaits__duree { font: 700 22px/1.2 var(--f-titre); }
.forfaits__chien, .forfaits__chat { display: grid; gap: 20px; margin: 26px 0; }
.pilules-choix { display: flex; flex-wrap: wrap; gap: 10px; }
.pilules-choix button { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid rgba(42, 30, 25, .25); background: var(--lait); font-weight: 700; transition: background-color .25s, color .25s; }
.pilules-choix button[aria-checked="true"] { background: var(--accent); color: var(--texte-sur-accent); border-color: var(--accent); }
.case-lion { display: flex; gap: 12px; align-items: center; min-height: 48px; cursor: pointer; }
.case-lion input { width: 24px; height: 24px; accent-color: var(--accent); }
.case-lion span { display: grid; }
.case-lion small { color: var(--encre-douce); font-size: 14px; }
.forfaits__inclus-titre { font: 700 18px/1.2 var(--f-titre); margin-bottom: 12px; }
.forfaits__inclus { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 16px; font-size: 16px; }
.forfaits__inclus li { padding-left: 24px; position: relative; }
.forfaits__inclus li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent-fonce); border-bottom: 2.5px solid var(--accent-fonce); transform: rotate(-45deg); }
.forfaits__mention { font-size: 13px; color: var(--encre-douce); margin-bottom: 22px; }
.journee__piste { height: 520svh; position: relative; }
.journee__scene { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--h-bandeau) + 60px); }
.journee__tete { margin-bottom: 30px; }
.journee__tete .titre { font-size: clamp(30px, 3.4vw, 50px); }
.journee__rang { display: flex; gap: 28px; padding: 0 var(--gouttiere); will-change: transform; }
.journee__carte { flex: none; width: min(420px, 34vw); background: var(--lait); border-radius: 28px; padding: 16px 16px 24px; box-shadow: 0 14px 40px rgba(42, 30, 25, .1); }
.journee__visuel { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; margin-bottom: 16px; background: var(--doux); display: grid; place-items: center; transition: background-color .4s; }
.journee__visuel { position: relative; }
.journee__visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journee__picto svg { width: 42%; color: var(--accent-fonce); }
.journee__picto path, .journee__picto circle, .journee__picto rect { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--courbe); }
.journee__carte.est-vue .journee__picto path, .journee__carte.est-vue .journee__picto circle, .journee__carte.est-vue .journee__picto rect { stroke-dashoffset: 0; }
.journee__num { font: 700 12px/1 var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-fonce); margin: 0 6px 8px; }
.journee__carte h3 { font: 700 24px/1.2 var(--f-titre); margin: 0 6px 8px; }
.journee__carte p:not(.journee__num) { margin: 0 6px; font-size: 16px; color: var(--encre-douce); }
.journee__ligne { position: relative; height: 40px; margin: 34px var(--gouttiere) 0; }
.journee__pointilles { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 4px; transform: translateY(-50%); overflow: visible; }
.journee__pointilles path { stroke: var(--encre); stroke-width: 2.5; stroke-dasharray: 4 9; stroke-linecap: round; fill: none; }
.journee__patte { position: absolute; left: 0; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; color: var(--accent); will-change: transform; }
.journee__patte svg { width: 100%; height: 100%; transform: rotate(90deg); }
.journee__empreintes span { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: var(--accent-fonce); opacity: .55; animation: empreinte .3s var(--courbe); }
.journee__empreintes svg { transform: rotate(90deg); }
.loupes__grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); }
.loupe-carte figcaption { margin-top: 16px; font-size: 16px; color: var(--encre-douce); }
.loupe-carte figcaption b { font: 700 22px/1.2 var(--f-titre); color: var(--encre); margin-right: 10px; }
.loupe { position: relative; aspect-ratio: 1; background: var(--lait); border-radius: 32px; overflow: hidden; box-shadow: var(--ombre-photo); cursor: none; touch-action: pan-y; }
.loupe__avant { width: 100%; height: 100%; object-fit: contain; }
.loupe__lentille {
  --t: 220px; position: absolute; left: 0; top: 0; width: var(--t); height: var(--t); margin: calc(var(--t) / -2) 0 0 calc(var(--t) / -2); border-radius: 50%;
  border: 3px solid var(--lait); box-shadow: 0 14px 40px rgba(42, 30, 25, .3), inset 0 0 0 1px rgba(42, 30, 25, .1); background-color: var(--lait); background-repeat: no-repeat;
  pointer-events: none; will-change: transform;
}
.loupe__etiq { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); background: var(--encre); color: var(--lait); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.loupe__autour { position: absolute; left: 18px; top: 18px; background: rgba(255, 253, 249, .9); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ------------------------------------------------------------- page La clinique */
.banniere__cadre { position: absolute; inset: 0; }
.banniere--clinique .banniere__carte::after { background: linear-gradient(90deg, rgba(30, 21, 18, .62) 0%, rgba(30, 21, 18, .35) 45%, rgba(30, 21, 18, 0) 70%), linear-gradient(180deg, rgba(30, 21, 18, .7) 0%, rgba(30, 21, 18, .35) 45%, rgba(30, 21, 18, 0) 66%); }
.banniere--clinique .banniere__texte { color: var(--lait); width: min(58%, 720px); top: calc(var(--h-barre) + 34px); bottom: auto; }
.banniere--clinique .banniere__titre { font-size: clamp(34px, 3.9vw, 58px); }
.banniere--clinique .etiquette { color: rgba(255, 253, 249, .85); }
.banniere--clinique .banniere__titre em { color: #FFB3BF; }
.banniere--clinique .banniere__photo { object-position: 50% 60%; }
.portes { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.porte { position: absolute; left: var(--x, 44%); top: var(--y, 70%); transform: translate(-50%, -50%); pointer-events: auto; display: flex; align-items: center; gap: 10px; background: var(--lait); border: 0; border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 700; font-size: 14px; box-shadow: var(--ombre-pilule); min-height: 44px; transition: transform .3s var(--courbe); }
.porte--chat { left: var(--x, 58%); }
.porte:hover { transform: translate(-50%, -50%) scale(1.06); }
.porte__point { position: relative; width: 32px; height: 32px; border-radius: 50%; background: #BCD7EE; }
.porte--chat .porte__point { background: #F3C9CF; }
.porte__point::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid currentColor; animation: pouls 1.8s ease-out infinite; }
:root:not([data-animal="chat"]) .porte--chien, :root[data-animal="chat"] .porte--chat { background: var(--accent); color: var(--texte-sur-accent); }
.visite__piste { height: 480svh; position: relative; }
.visite__scene { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--h-bandeau) + 70px); }
.visite__tete { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.visite__tete .titre { font-size: clamp(30px, 3.4vw, 50px); }
.plan { flex: none; width: 300px; }
.plan__svg { width: 100%; overflow: visible; }
.plan__mur { fill: var(--lait); stroke: var(--encre); stroke-width: 3; }
.plan__piece { cursor: pointer; outline: none; }
.plan__piece rect { fill: var(--doux); stroke: var(--encre); stroke-width: 1.5; transition: fill .35s; }
.plan__piece text { font: 700 11px var(--f-texte); fill: var(--encre); text-anchor: middle; pointer-events: none; }
.plan__piece:hover rect, .plan__piece:focus-visible rect { fill: color-mix(in srgb, var(--accent) 35%, var(--lait)); }
.plan__piece.est-active rect { fill: var(--accent); }
.plan__piece.est-active text { fill: var(--texte-sur-accent); }
.plan__porte { stroke-width: 7; stroke-linecap: round; }
.plan__porte--chien { stroke: #8DB6DB; } .plan__porte--chat { stroke: #E3A3AD; }
.plan__point { fill: var(--encre); stroke: var(--lait); stroke-width: 3; transition: cx .5s var(--courbe), cy .5s var(--courbe); }
.plan__indicateur { font-size: 14px; font-weight: 700; color: var(--encre-douce); margin-top: 8px; text-align: right; }
.visite__rang { display: flex; gap: 32px; padding: 0 var(--gouttiere); will-change: transform; }
.visite__carte { flex: none; width: min(860px, 62vw); display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: end; }
.visite__carte .photo { aspect-ratio: 16 / 10; }
.visite__texte h3 { font: 700 26px/1.15 var(--f-titre); margin-bottom: 10px; }
.visite__texte p { color: var(--encre-douce); }
.equipe--clinique .equipe__cartes { margin-top: 10px; }
.promesses__grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 90px); align-items: start; }
.promesses__photo { aspect-ratio: 4 / 3; margin-top: 30px; }
.promesses__liste { display: grid; gap: 16px; }
.promesse { display: grid; grid-template-columns: 72px 1fr; gap: 4px 20px; background: var(--lait); border-radius: 24px; padding: 20px 22px; box-shadow: 0 10px 30px rgba(42, 30, 25, .08); }
.promesse__dessin { grid-row: span 2; width: 72px; height: 72px; color: var(--accent-fonce); fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.promesse__dessin path, .promesse__dessin rect, .promesse__dessin circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--courbe); }
.promesse.est-vue .promesse__dessin path, .promesse.est-vue .promesse__dessin rect, .promesse.est-vue .promesse__dessin circle { stroke-dashoffset: 0; }
.promesse h3 { font: 700 19px/1.25 var(--f-titre); align-self: end; }
.promesse p { color: var(--encre-douce); font-size: 16px; }

/* ------------------------------------------------------------- page légale */
.legal__bandeau { height: 42vh; height: 42svh; min-height: 260px; margin: calc(var(--h-bandeau) + 12px) 24px 0; border-radius: 36px; overflow: hidden; }
.legal__bandeau img { width: 100%; height: 100%; object-fit: cover; }
.legal__article { max-width: 760px; padding-block: 50px 110px; }
.legal__article h2 { font: 700 24px/1.2 var(--f-titre); margin: 38px 0 10px; }
.legal__article p { color: var(--encre-douce); }
.legal__intro { font-size: 20px; color: var(--encre) !important; margin-top: 10px; }
.lien-retour { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; margin-bottom: 20px; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Apparition douce des sections */
.revele { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .8s var(--courbe); }
.revele.est-vu { opacity: 1; transform: none; }

/* =====================================================================
   Tablette (761 à 1100 px)
   ===================================================================== */
@media (max-width: 1100px) {
  .nav a { padding: 0 9px; font-size: 14px; }
  .barre { gap: 14px; }
  .equipe__cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rdv__grille { grid-template-columns: minmax(0, 1fr); }
  .rdv__fiche { position: relative; top: 0; max-width: 560px; }
  .rdv__tuiles { grid-template-columns: repeat(2, 1fr); }
  .heros__texte { width: 28%; }
  .heros__animal { --tw: 31cqw; --dr: 140px; }
  .heros__puces { display: none; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .visite__carte { grid-template-columns: 1fr; width: 70vw; }
}
@media (max-width: 960px) and (min-width: 761px) {
  .heros__animal { --tw: 40cqw; --dr: 130px; --w: min(calc(66cqh * var(--ratio)), var(--a)); }
  .heros__texte { width: 40%; }
  .nav { display: none; }
  .barre__rdv { margin-left: auto; }
  .trouveur__grille, .salon__grille, .carnet__grille, .faq__grille, .urgence__grille, .forfaits__grille, .promesses__grille { grid-template-columns: 1fr; }
  .faq__gauche { position: static; }
  .examen__tete { width: 44%; }
  .examen__cartes { width: 40%; }
  .heros__texte { width: 40%; bottom: 120px; }
}


/* Tablette en portrait (761 à 960 px) : texte sous le mot géant, animal grand en dessous */
@media (max-width: 960px) and (min-width: 761px) and (orientation: portrait) {
  .heros__texte { top: calc(var(--h-barre) + 15cqw); bottom: auto; width: 64%; }
  .heros__animal { left: 50%; bottom: 0; transform: translate(-50%, var(--animal-y, 0)); width: min(86%, calc(52cqh * var(--ratio))); height: auto; }
}
/* =====================================================================
   Cellulaire (jusqu'à 760 px) : mise en page refaite
   ===================================================================== */
@media (max-width: 760px) {
  :root { --h-bandeau: 44px; --h-barre: 64px; --rayon-photo: 20px; } /* bandeau à 44 px (cible tactile) plutôt que 36 */
  body { font-size: 16px; }
  .titre { font-size: 34px; }
  .sous-titre { font-size: 17px; }
  .etiquette { font-size: 12px; }
  .section { padding-block: 72px; }
  .bandeau-urgence__dedans { font-size: 14px; gap: 0; }
  .bandeau-urgence .bandeau-urgence__nuit { display: none; }
  .entete.bandeau-replie .bandeau-urgence { height: 0; }
  .entete.bandeau-replie::after { top: 0; }
  .entete.est-posee .barre { height: 56px; }
  .barre { gap: 10px; }
  .nav, .barre__rdv { display: none; }
  .logo__svg { height: 24px; }
  .bouton-menu { display: grid; place-items: center; align-content: center; gap: 6px; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--lait); box-shadow: var(--ombre-pilule); position: relative; z-index: 80; }
  .bouton-menu span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--encre); transition: transform .3s var(--courbe); }
  .bouton-menu[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .bouton-menu[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .menu-ouvert .entete { z-index: 90; }
  .menu-ouvert .bandeau-urgence { height: 0; }
  .menu-ouvert .entete::after { opacity: 0; }

  /* bannière */
  .heros { padding: calc(var(--h-bandeau) + 8px) 12px 0; }
  .heros__carte { height: calc(100svh - var(--h-bandeau) - 20px); min-height: 600px; max-height: 860px; border-radius: 28px; }
  .heros__mot { top: calc(var(--h-barre) + 8px); width: 90%; }
  .heros__texte { left: 20px; right: 20px; width: auto; top: calc(var(--h-barre) + 22vw); bottom: auto; }
  .heros__titre { font-size: 30px; margin-bottom: 8px; }
  .heros__phrase { font-size: 15px; max-width: 30ch; }
  .heros .etiquette { margin-bottom: 8px; font-size: 11px; }
  .heros__animal { left: 50%; bottom: 74px; height: auto; width: min(92%, calc(46cqh * var(--ratio))); transform: translate(-50%, var(--animal-y, 0));
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%); mask-image: linear-gradient(to top, transparent 0, #000 22%); }
  .heros__ombre { display: none; }
  .heros__rdv { left: 12px; right: 122px; bottom: 12px; min-width: 0; --h: 56px; font-size: 14px; padding-left: 14px; padding-right: 6px; gap: 6px; white-space: nowrap; }
  .heros__rdv .pilule__texte { overflow: hidden; text-overflow: clip; }
  .heros__rdv .pilule__rond { width: 44px; height: 44px; }
  .heros__bascule-place { bottom: 0; }
  .bascule--principale { right: 12px; bottom: 12px; transform: scale(.85); transform-origin: 100% 100%; }
  /* au cellulaire, la bascule fixe se range dans la barre du bas (elle ne cache jamais de texte) */
  .bascule--principale.est-fixe { right: 10px; bottom: calc(9px + env(safe-area-inset-bottom)); transform: scale(.85); transform-origin: 100% 100%; transition: opacity .3s, visibility .3s; }
  body:not(.barre-visible) .bascule--principale.est-fixe { opacity: 0; visibility: hidden; pointer-events: none; }
  .heros__traits { width: 20%; }
  .heros__indice { font-size: 13px; padding: 10px 16px 0; }

  .ruban { height: 150px; }
  .ruban__bande { stroke-width: 44; }
  .ruban__texte { font-size: 14px; }

  /* trouveur */
  .trouveur__grille { grid-template-columns: 1fr; }
  .trouveur__photo { order: -1; aspect-ratio: 4 / 3; margin-top: 0; }
  .trait-excitation { width: 60px; left: auto; right: -6px; top: -36px; transform: scaleX(-1); }
  .phrase { font-size: 24px; line-height: 1.5; margin: 24px 0; }
  .trou { display: block; margin: 4px 0; white-space: normal; }
  .trou__bouton, .trou__liste { display: none !important; }
  .trou__select {
    display: inline-block; -webkit-appearance: none; appearance: none; font: italic 600 26px/1.2 var(--f-ital); color: var(--accent-titre);
    background: var(--lait) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232A1E19' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center / 20px;
    border: 0; border-bottom: 3px solid var(--accent); border-radius: 999px; padding: 8px 46px 8px 18px; min-height: 52px; max-width: 100%;
  }
  .trouveur__voir { width: 100%; justify-content: space-between; --h: 56px; }
  .reponse__duo { grid-template-columns: 1fr 1fr; }

  /* examen : épinglage sur 600 vh, animal zoomé en haut, tiroir en bas */
  .examen__piste { height: 600svh; }
  .examen__tete { left: 16px; right: 16px; width: auto; top: calc(var(--h-barre) + 6px); }
  .examen__tete .etiquette, .examen__tete .sous-titre { display: none; }
  .examen__tete .titre { font-size: 24px; margin-bottom: 0; }
  .rail { left: 10px; right: 10px; top: calc(var(--h-barre) + 46px); bottom: auto; flex-direction: row; justify-content: space-between; gap: 0; }
  .rail__patte { padding: 0; width: 44px; justify-content: center; }
  .rail__patte svg { width: 28px; height: 28px; }
  .rail__nom { display: none; }
  .examen__cartes { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; transform: none; height: 196px; }
  .examen__carte { inset: auto 0 0; padding: 18px 20px; border-radius: 22px; min-height: 160px; }
  .examen__carte h3 { font-size: 19px; margin-bottom: 6px; }
  .examen__carte p:not(.examen__num) { font-size: 15px; }
  .examen__trace { width: 120px; margin-top: 4px; }
  .examen__lien { margin-top: 2px; }
  .examen__anneau { width: 90px; height: 90px; margin: -45px 0 0 -45px; }

  /* salon */
  .salon__grille { grid-template-columns: 1fr; }
  .salon__photo { display: none; }
  .brossage__zone { width: 100%; }
  .brossage__scene { width: min(84vw, 100%); margin-inline: auto; touch-action: none; }
  .brossage__prendre { display: none; }
  .brossage__compteur { width: 100%; }
  .brossage__fin-phrase { font-size: 22px; }

  /* carnet */
  .carnet__grille { grid-template-columns: 1fr; }
  .carnet__dessin { margin: 18px auto 8px; max-width: 300px; }
  input[type="range"]::-webkit-slider-thumb { width: 32px; height: 32px; }

  /* équipe : défilement horizontal à accrochage */
  .equipe__cartes { display: flex; gap: 16px; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px calc(50% - 130px) 30px; scrollbar-width: none; }
  .equipe__cartes::-webkit-scrollbar { display: none; }
  .carte-equipe { flex: none; width: 260px; scroll-snap-align: center; }
  .carte-equipe__verso { padding: 24px 20px; }
  .carte-equipe__verso-titre { font-size: 22px; }
  .carte-equipe__faits { font-size: 15px; }

  /* avis */
  .avis__tete { grid-template-columns: 1fr; }
  .avis__note { text-align: left; }
  .avis__chiffres { justify-content: flex-start; }
  .avis__mention { margin-left: 0; }
  .filtres { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gouttiere)); padding: 0 var(--gouttiere) 6px; scrollbar-width: none; }
  .filtres::-webkit-scrollbar { display: none; }
  .filtres button { flex: none; }
  .corde { height: auto; cursor: auto; touch-action: auto; }
  .corde__rang { position: relative; overflow-x: auto; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; gap: 16px; padding: 0 calc(50% - 120px) 30px; scrollbar-width: none; transform: none !important; }
  .corde__rang::-webkit-scrollbar { display: none; }
  .avis-carte { width: 240px; scroll-snap-align: center; scroll-snap-stop: always; }
  .avis-carte__texte { font-size: 16px; }
  .avis__fleches { display: none; }

  /* rendez-vous : une étape par écran, barre collée en bas de la section */
  .rdv__grille { grid-template-columns: minmax(0, 1fr); }
  .rdv__fiche { display: none; }
  .rdv--confirme .rdv__fiche { display: block; }
  .rdv__tampon span { font-size: 18px; }
  .rdv__form { padding: 18px 16px 0; border-radius: 24px; }
  .rdv__progres { margin-bottom: 14px; }
  .rdv__etiq { display: none; }
  .rdv__progres button[aria-current="step"] .rdv__etiq { display: block; position: absolute; top: 46px; white-space: nowrap; font-size: 12px; }
  .rdv__progres { margin-bottom: 30px; }
  .rdv__resume-cell { display: block; background: var(--doux); border-radius: 12px; padding: 8px 12px; font: italic 600 15px/1.3 var(--f-ital); margin-bottom: 14px; }
  .rdv__titre-etape { font-size: 22px; }
  .rdv__tuiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rdv__tuile span { padding: 12px; }
  .rdv__ligne { grid-template-columns: 1fr; gap: 0; }
  .rdv__pros { grid-template-columns: 1fr 1fr; }
  .rdv__jours { grid-template-columns: repeat(7, minmax(64px, 1fr)); overflow-x: auto; scroll-snap-type: x proximity; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .rdv__jours::-webkit-scrollbar { display: none; }
  .jour { scroll-snap-align: start; }
  .rdv__nav { position: sticky; bottom: 0; background: var(--lait); margin: 24px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(42, 30, 25, .1); border-radius: 0 0 24px 24px; z-index: 3; }
  .rdv__nav .pilule { --h: 52px; }
  .rdv__suivant { min-width: 0; flex: 1; }

  /* urgence */
  .urgence__grille { grid-template-columns: 1fr; }
  .urgence__numero { font-size: 44px; white-space: normal; }
  .urgence__numero span { display: block; }
  .urgence__coeur { height: 110px; }
  .bouton-urgence { width: 100%; justify-content: center; }
  .urgence__liste li { font-size: 16px; }

  /* FAQ */
  .faq__grille { grid-template-columns: 1fr; }
  .faq__gauche { position: static; }
  .faq__q { font-size: 17px; padding: 18px 0; }
  .faq__r p { padding-right: 0; }

  /* pied */
  .pied__grille { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .pied__marque { grid-column: 1 / -1; }
  .pied__geant { width: 92vw; }
  .pied__liste a, .pied__tels a { min-height: 44px; display: inline-flex; align-items: center; }
  .pied__tels br { display: none; }
  .pied__tels { display: grid; }
  .pied__bas { padding-right: 0 !important; flex-direction: column; gap: 8px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  /* barre du bas (I4) */
  .barre-bas {
    display: grid; grid-template-columns: 1fr 1fr 104px; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 44;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 239, 230, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -6px 24px rgba(42, 30, 25, .1); transform: translateY(100%); transition: transform .35s var(--courbe);
  }
  .barre-bas.est-visible { transform: none; }
  .barre-bas a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
  .barre-bas__urgence { background: var(--rouge-texte); color: #fff; }
  .barre-bas__urgence svg { width: 20px; height: 20px; }
  .barre-bas__rdv { background: var(--lait); box-shadow: inset 0 0 0 1.5px var(--encre); }

  /* toilettage */
  .banniere { padding: calc(var(--h-bandeau) + 8px) 12px 0; }
  .banniere__carte { height: calc(100svh - var(--h-bandeau) - 20px); min-height: 580px; border-radius: 28px; }
  .banniere__photo { object-position: 72% 50%; }
  .banniere__carte::after { background: linear-gradient(0deg, rgba(245, 239, 230, .96) 0%, rgba(245, 239, 230, .8) 38%, rgba(245, 239, 230, 0) 62%); }
  .banniere__texte { left: 20px; right: 20px; bottom: 22px; width: auto; }
  .banniere__titre { font-size: 32px; }
  .banniere__phrase { font-size: 15px; margin-bottom: 18px; }
  .banniere__texte .pilule { width: 100%; justify-content: space-between; --h: 56px; }
  .banniere__consigne { right: auto; left: 16px; top: calc(var(--h-barre) + 10px); }
  .forfaits__grille { grid-template-columns: 1fr; }
  .forfaits__inclus { grid-template-columns: 1fr; }
  .forfaits .pilule--pleine { width: 100%; }
  .journee__piste { height: auto; }
  .journee__scene { position: relative; height: auto; padding: 72px 0; display: block; }
  .journee__rang { flex-direction: column; gap: 18px; padding: 0 var(--gouttiere) 0 calc(var(--gouttiere) + 34px); transform: none !important; }
  .journee__carte { width: 100%; }
  .journee__ligne { position: absolute; left: var(--gouttiere); top: 260px; bottom: 72px; width: 24px; height: auto; margin: 0; }
  .journee__pointilles { left: 50%; top: 0; bottom: 0; width: 4px; height: 100%; transform: translateX(-50%) rotate(0); }
  .journee__pointilles path { d: path("M2 0V100"); }
  .journee__patte { left: 50%; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .journee__patte svg, .journee__empreintes svg { transform: rotate(180deg); }
  .journee__empreintes span { left: 50% !important; }
  .loupes__grille { grid-template-columns: 1fr; }
  .loupe { cursor: auto; }
  .loupe__lentille { --t: 160px; }

  /* clinique */
  .banniere--clinique .banniere__carte::after { background: linear-gradient(180deg, rgba(30, 21, 18, .88) 0%, rgba(30, 21, 18, .72) 42%, rgba(30, 21, 18, .1) 68%, rgba(30, 21, 18, .45) 100%); }
  .banniere--clinique .banniere__texte { width: auto; bottom: 96px; }
  .banniere--clinique .banniere__titre { font-size: 28px; }
  .portes { inset: auto 16px 22px; display: flex; gap: 10px; pointer-events: auto; }
  .porte { position: static; transform: none; flex: 1; justify-content: center; }
  .porte:hover { transform: none; }
  .visite__piste { height: auto; }
  .visite__scene { position: relative; height: auto; padding: 72px 0; display: block; overflow: hidden; overflow: clip; } /* clip : le plan peut coller */
  .visite__tete { flex-direction: column; align-items: stretch; }
  .plan { width: 100%; max-width: 340px; position: sticky; top: 70px; }
  .visite__rang { overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 0 var(--gouttiere) 10px; transform: none !important; scrollbar-width: none; }
  .visite__rang::-webkit-scrollbar { display: none; }
  .visite__carte { width: 86vw; grid-template-columns: 1fr; gap: 14px; scroll-snap-align: center; }
  .visite__texte h3 { font-size: 21px; }
  .promesses__grille { grid-template-columns: 1fr; }
  .promesse { grid-template-columns: 56px 1fr; padding: 16px; }
  .promesse__dessin { width: 56px; height: 56px; }
  .legal__bandeau { margin: calc(var(--h-bandeau) + 8px) 12px 0; border-radius: 26px; height: 30vh; height: 30svh; }
}
@media (max-width: 360px) {
  .heros__rdv { justify-content: center; padding: 0 10px; font-size: 13px; letter-spacing: -.01em; }
  .heros__rdv .pilule__rond { display: none; }
  .heros__titre { font-size: 26px; }
  .heros__phrase { display: none; }
  .titre { font-size: 30px; }
  .phrase { font-size: 21px; }
  .trou__select { font-size: 22px; }
  .rdv__pros { grid-template-columns: 1fr; }
  .urgence__numero { font-size: 38px; }
}

/* =====================================================================
   Mouvement réduit
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .examen__piste { height: auto; }
  .examen__scene { position: relative; height: auto; overflow: visible; padding: 90px 0 20px; }
  .examen__tete { position: static; width: min(100% - 2 * var(--gouttiere), 1280px); margin: 0 auto; }
  .examen__tete .etiquette, .examen__tete .sous-titre { display: block; }
  .rail, .examen__vue, .examen__cartes { display: none; }
  .examen__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding-bottom: 90px; }
  .examen__item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; background: var(--lait); border-radius: 22px; padding: 14px; }
  .examen__vignette { width: 96px; height: 96px; border-radius: 16px; background-color: var(--heros); background-repeat: no-repeat; }
  .examen__item h3 { font: 700 17px/1.2 var(--f-titre); margin-bottom: 4px; }
  .examen__item p:not(.examen__num) { font-size: 15px; color: var(--encre-douce); }
  .journee__piste, .visite__piste { height: auto; }
  .journee__scene, .visite__scene { position: relative; height: auto; }
  .journee__rang, .visite__rang { flex-wrap: wrap; transform: none !important; }
  .journee__ligne { display: none; }
  .revele { opacity: 1; transform: none; }
  .heros__mot, .heros__animal, .heros__carte { animation: none; }
  .queue { animation: none; }
}
