/*
 * La Combe aux Sapins — feuille de style du site public de l'élevage. 16.10.2026 (GELEV-01)
 * 16.10.2026 (GELEV-04) : NOUVEL HABILLAGE « carnet de montagne et signalétique jurassienne », demandé par Flo
 * (« trop souvent la même typo, et les photos en cathédrales ») : ce site ne doit rappeler aucune autre démo.
 *  - Titres en Zilla Slab 600/700 (empattements carrés : enseigne en bois, étiquette de fromagerie) ; texte,
 *    boutons et étiquettes en Archivo variable ; surtitres, étiquettes et chiffres-clés en Archivo ÉTROIT
 *    (font-stretch ≈ 78 %) en capitales espacées, comme sur un panneau de sentier.
 *  - Plus d'italique dans les titres : les mots mis en avant (<em>, gardé sur 5 titres clés seulement) deviennent
 *    une « plaque » jaune gentiane à pointe, façon panneau directionnel.
 *  - Photos en « tirage » : coins droits, fine bordure papier, ombre décalée PLEINE (non floue) couleur mousse,
 *    comme une photo punaisée sur un panneau. Plus aucune arche ni aucun rond sur les photos d'animaux.
 *  - Cartes à coins de 4–6 px, filet fin, ombres sèches ; boutons rectangulaires ; le bouton principal jaune
 *    prend la forme d'une flèche de sentier ; pastilles d'état en étiquettes rectangulaires.
 *  - Bandes sombres : courbes de niveau très discrètes (assets/css/courbes-de-niveau.svg, relief imaginaire).
 * Inchangé : palette (sapin, mousse, crème, gentiane, airelle, myrtille), frise de sapins, mobile d'abord
 * (390 px, aucun défilement horizontal), effets récents en amélioration progressive (@view-transition,
 * animation-timeline sous @supports, repli IntersectionObserver), tout coupé avec prefers-reduced-motion.
 * Polices auto-hébergées (assets/fonts, licence SIL OFL 1.1, voir OFL.txt) : aucun appel à un service tiers.
 */

/* ---------- Polices (16.10.2026, GELEV-04) ---------- */
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-600-latin.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-600-latin-ext.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-700-latin-ext.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo variable : axes graisse (100–900) ET chasse (62–125 %), un seul fichier par sous-ensemble. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2-variations"), url("../fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable-latin-ext.woff2") format("woff2-variations"), url("../fonts/archivo-variable-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Jetons de couleur, de forme et d'espacement ---------- */
:root {
  --sapin: #0F2B22;
  --sapin-2: #173B30;
  --sapin-3: #22493C;
  --nuit: #0A1E17;
  --mousse: #2F5D4A;
  --mousse-2: #3E7259;
  --mousse-3: #4C8466;
  --creme: #F6EFE1;
  --creme-2: #EFE5D0;
  --lait: #FFFBF3;
  --papier: #FFFDF8;
  --bois: #E9DBBE;
  --bois-2: #DCC8A2;
  --gentiane: #E2A72E;
  --gentiane-2: #F0BE4F;
  --gentiane-fonce: #8C5B05;
  --airelle: #A8362B;
  --myrtille: #3D4C7A;
  --encre: #13201A;
  --encre-2: #3B4842;
  --sur-sombre: #F6EFE1;
  --sur-sombre-2: #C6D3C9;
  --ligne: rgba(19, 32, 26, .14);
  --ligne-forte: rgba(19, 32, 26, .26);
  --ligne-claire: rgba(246, 239, 225, .2);
  /* 16.10.2026 (GELEV-04) : coins droits ou presque, ombres sèches. */
  --rayon: 5px;
  --rayon-petit: 3px;
  --ombre: 0 1px 0 rgba(15, 43, 34, .10), 0 10px 16px -12px rgba(15, 43, 34, .45);
  --ombre-forte: 0 2px 0 rgba(15, 43, 34, .14), 0 18px 26px -18px rgba(15, 43, 34, .7);
  /* Le « tirage » : bordure papier + ombre décalée pleine. */
  --tirage-bord: 6px;
  --tirage-decalage: 6px;
  --tirage-papier: var(--papier);
  --tirage-ombre: var(--mousse);
  --tirage-filet: rgba(19, 32, 26, .12);
  --balise: var(--gentiane-fonce);
  --focus: var(--sapin);
  --titre: "Zilla Slab", Rockwell, "Roboto Slab", "DejaVu Serif", Georgia, serif;
  --texte: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --etroit: 78%;
  --courbe: cubic-bezier(.2, .7, .2, 1);
  --enveloppe: 1240px;
  --gouttiere: clamp(16px, 4.2vw, 44px);
  --entete: 68px;
  color-scheme: light;
}
/* Fonds sombres : ombre des tirages plus claire, balises et focus en gentiane. */
.ruban-demo, .entete, .heros, .intro--sapin, .bande--sapin, .bande--mousse, .carnet-tete, .pied, .resultat, .budget__carte,
.barre-action, .menu-mobile__panneau, .encart-quiz, .hiver__carte, .introuvable, .frise__semaine--courante, .comparatif thead {
  --tirage-ombre: var(--mousse-3);
  --balise: var(--gentiane);
  --focus: var(--gentiane);
}
.formulaire, .bande-gw { --focus: var(--sapin); --balise: var(--gentiane-fonce); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--creme); color: var(--encre);
  font: 400 1.0625rem/1.62 var(--texte); font-stretch: 100%; overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
strong, b { font-weight: 650; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 700; line-height: 1.06; letter-spacing: -.012em; margin: 0 0 .45em; text-wrap: balance; }
h3, h4 { font-weight: 600; letter-spacing: -.004em; }
em { font-style: italic; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gentiane); color: var(--sapin); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gentiane); color: var(--sapin); padding: 10px 16px; border-radius: 3px; font-weight: 650; text-decoration: none; }
.evitement:focus { top: 12px; }
main { display: block; }
main:focus { outline: none; }
.enveloppe { width: 100%; max-width: var(--enveloppe); margin-inline: auto; padding-inline: var(--gouttiere); }
.enveloppe--etroite { max-width: 780px; }
.enveloppe--moyenne { max-width: 980px; }
.centre { text-align: center; }
p.centre { margin-top: clamp(28px, 4vw, 44px); margin-bottom: 0; }
.discret { color: var(--encre-2); font-size: .93rem; }
.vide { background: var(--lait); border: 1px dashed var(--bois-2); border-radius: var(--rayon); padding: 22px; text-align: center; color: var(--encre-2); }
.vide--clair { background: rgba(255, 255, 255, .06); border-color: var(--ligne-claire); color: var(--sur-sombre); }
.vide a, .vide--clair a { font-weight: 650; }

/*
 * Étiquettes « panneau de sentier » et chiffres-clés : Archivo étroit. 16.10.2026 (GELEV-04)
 * (Liste unique des éléments concernés, pour que le style reste le même partout.)
 */
.surtitre, .titre-petit, .carte-petit__race, .race__icone, .pastille, .ruban-demo__pastille, .decompte__l,
.parent-medaillon figcaption span, .fiche__faits dt, .vignette small, .parent-ligne small, .portee__faits dt, .repro__faits dt,
.tests thead th, .arbre__case small, .liste-carte__espece, .quiz__etape, .resultat__surtitre, .budget__titre, .pied__titre,
.note-demo__titre, .courbe__tableau th, .titre-etiquette, .liste-carte__titre span, .ancienne__titre span, .repro__affixe,
.logo__sous, .frise__num span, .mosaique__item figcaption, .duo__image figcaption, .fiche__film figcaption, .direct,
.comparatif thead th, .direct-liste__titre {
  font-family: var(--texte); font-stretch: var(--etroit); font-weight: 700; font-style: normal; letter-spacing: .13em; text-transform: uppercase;
}
.direct-liste strong, .decompte__n, .chiffre dd, .engagement__num, .conseil__num, .parcours__num, .quiz__num, .frise__num,
.budget__total, .budget__flottant strong, .curseur output, .fiche__montant, .carte-petit__prix, .liste-carte__inscrits strong,
.introuvable__code, .barre-action p > span {
  font-family: var(--texte); font-stretch: 75%; font-weight: 800; font-style: normal; letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums;
}

/*
 * Plaque de titre : les mots mis en avant (<em> dans un titre) sur fond gentiane, texte sapin, coins droits et
 * pointe à droite comme un panneau directionnel. inline-block : la plaque ne se coupe jamais en deux morceaux
 * d'une ligne à l'autre (elle passe entière à la ligne suivante). 16.10.2026 (GELEV-04)
 */
:is(h1, h2, h3) em, .plaque {
  font-style: normal; display: inline-block; color: var(--sapin); background: var(--gentiane);
  padding: .05em .6em .09em .22em; margin: .04em .02em .04em 0; line-height: 1.02;
  border-radius: 3px 0 0 3px; text-shadow: none;
  clip-path: polygon(0 0, calc(100% - .38em) 0, 100% 50%, calc(100% - .38em) 100%, 0 100%);
}
.insecable { white-space: nowrap; }

/* ---------- Boutons (16.10.2026, GELEV-04 : rectangles, flèche de sentier pour le principal) ---------- */
.bouton {
  --pointe: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .72em 1.3em; border-radius: 3px; border: 1.5px solid transparent;
  font: 650 1rem/1.2 var(--texte); letter-spacing: .005em; text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .3s var(--courbe), background-color .2s, color .2s, border-color .2s, box-shadow .3s var(--courbe);
}
.bouton .ico { transition: transform .3s var(--courbe); }
.bouton:hover { transform: translateY(-2px); text-decoration: none; }
.bouton:hover .ico { transform: translateX(3px); }
/* Bouton principal : panneau jaune à pointe. Le bouton reste un vrai rectangle jaune (contraste mesurable, zone
   cliquable ≥ 44 px, contour de focus jamais rogné) ; la pointe est dessinée par ::after juste à sa droite, dans une
   marge réservée (margin-right) : elle ne déborde jamais de son conteneur. 16.10.2026 (GELEV-04) */
.bouton--gentiane {
  position: relative; background-color: var(--gentiane); color: var(--sapin); border: 0; border-radius: 3px 0 0 3px;
  margin-right: var(--pointe); padding: .72em 1.15em .72em 1.3em; filter: drop-shadow(0 2px 0 rgba(10, 30, 23, .3));
}
.bouton--gentiane::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(100% - 1px); width: calc(var(--pointe) + 1px);
  background-color: inherit; clip-path: polygon(0 0, 100% 50%, 0 100%); pointer-events: auto;
}
.bouton--gentiane .ico { display: none; }
.bouton--gentiane:hover { transform: translateX(3px); background-color: var(--gentiane-2); }
.bouton--gentiane.bouton--plein { width: calc(100% - var(--pointe)); }
.bouton--sapin { background: var(--sapin); color: var(--sur-sombre); }
.bouton--sapin:hover { background: var(--sapin-3); }
.bouton--contour { border-color: var(--sapin); color: var(--sapin); background: transparent; }
.bouton--contour:hover { background: var(--sapin); color: var(--sur-sombre); }
.bouton--contour-clair { border-color: rgba(246, 239, 225, .6); color: var(--sur-sombre); background: rgba(15, 43, 34, .3); }
.bouton--contour-clair:hover { background: var(--sur-sombre); color: var(--sapin); border-color: var(--sur-sombre); }
.bouton--petit { --pointe: 12px; min-height: 44px; padding: .5em 1em; font-size: .93rem; }
.bouton--gentiane.bouton--petit { padding: .5em .9em .5em 1em; }
.bouton--plein { width: 100%; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.lien-fleche { display: inline-flex; align-items: center; gap: .5em; font-weight: 650; color: var(--mousse); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.lien-fleche .ico { transition: transform .3s var(--courbe); }
.lien-fleche:hover .ico { transform: translateX(4px); }
.lien-fleche--clair { color: var(--gentiane); }

/* ---------- Ruban de démonstration (haut de page) ---------- */
.ruban-demo {
  background: var(--nuit); color: var(--sur-sombre); font-size: .82rem; line-height: 1.4;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px;
  padding: 8px var(--gouttiere); text-align: center; position: relative; z-index: 51;
}
.ruban-demo p { margin: 0; }
.ruban-demo__pastille { display: inline-block; background: var(--gentiane); color: var(--sapin); font-size: .7rem; letter-spacing: .1em; padding: 3px 7px 2px; border-radius: 2px; margin-right: 6px; vertical-align: 1px; }
.ruban-demo__lien { color: var(--sapin); background: var(--sur-sombre); font-weight: 700; text-decoration: none; padding: 4px 11px; border-radius: 3px; white-space: nowrap; transition: background .2s; }
.ruban-demo__lien:hover { background: var(--gentiane); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; height: var(--entete); background: rgba(15, 43, 34, .97); color: var(--sur-sombre); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(246, 239, 225, .1); }
.entete__in { height: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gouttiere); display: flex; align-items: center; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.logo__marque { width: 40px; height: 40px; flex: none; color: var(--sur-sombre); }
.logo__texte { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
/* 16.10.2026 (GELEV-04) : logo texte en Zilla Slab, sous-titre en étroit espacé. */
.logo__nom { font-family: var(--titre); font-weight: 700; font-size: 1.34rem; letter-spacing: -.008em; white-space: nowrap; }
/* line-height généreux : overflow:hidden ne doit pas rogner l'accent des capitales (É). */
.logo__sous { font-size: .64rem; font-weight: 600; letter-spacing: .17em; line-height: 1.4; color: var(--sur-sombre-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a { display: block; padding: 9px 11px; border-radius: 3px; text-decoration: none; font-weight: 550; font-size: .95rem; color: var(--sur-sombre); transition: background .2s, box-shadow .2s; }
.nav a:hover { background: rgba(246, 239, 225, .1); }
.nav a[aria-current="page"] { color: var(--gentiane-2); box-shadow: inset 0 -3px 0 var(--gentiane); border-radius: 3px 3px 0 0; }
.entete__action { display: none; }
.menu-mobile { margin-left: auto; }
.menu-mobile__bouton { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 3px; border: 1.5px solid rgba(246, 239, 225, .4); cursor: pointer; font-weight: 650; font-size: .95rem; }
.menu-mobile__bouton::-webkit-details-marker { display: none; }
.menu-mobile__bouton .ico { width: 20px; height: 20px; }
.menu-mobile[open] .menu-mobile__bouton { background: var(--sur-sombre); color: var(--sapin); }
.menu-mobile__panneau { position: fixed; left: 0; right: 0; top: var(--entete); bottom: 0; background: var(--sapin); padding: 24px var(--gouttiere) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; border-top: 1px solid var(--ligne-claire); }
.menu-mobile__panneau ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile__panneau li { border-bottom: 1px solid var(--ligne-claire); }
.menu-mobile__panneau li a { display: block; padding: 12px 0; font-family: var(--titre); font-weight: 700; font-size: 1.75rem; line-height: 1.1; text-decoration: none; }
.menu-mobile__panneau li a[aria-current="page"] { color: var(--gentiane); }
.menu-mobile__panneau li a[aria-current="page"]::after { content: ""; display: inline-block; width: .28em; height: .28em; margin-left: .4em; vertical-align: .2em; background: currentColor; transform: rotate(45deg); }
.menu-mobile__contact { display: grid; gap: 10px; margin: 0; }
.menu-mobile__contact a { display: inline-flex; gap: 10px; align-items: center; color: var(--sur-sombre-2); text-decoration: none; }
html.menu-ouvert { overflow: hidden; }
@media (min-width: 720px) { .entete__action { display: inline-flex; margin-left: auto; } .menu-mobile { margin-left: 0; } }
@media (min-width: 1100px) {
  .nav { display: block; }
  .entete__action { margin-left: 8px; }
  .menu-mobile { display: none; }
}
@media (max-width: 400px) { .logo__nom { font-size: 1.16rem; } .logo__marque { width: 34px; height: 34px; } .menu-mobile__bouton span { display: none; } }

/* En-tête transparent au-dessus du grand visuel de l'accueil, qui se remplit au défilement. */
.js .p-accueil .entete { background: transparent linear-gradient(180deg, rgba(10, 30, 23, .6), rgba(10, 30, 23, 0)); border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .3s, border-color .3s; }
.js .p-accueil .entete.entete--pleine { background: rgba(15, 43, 34, .97) none; border-bottom-color: rgba(246, 239, 225, .1); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }

/* ---------- Bandes ---------- */
.bande { position: relative; padding-block: clamp(64px, 10vw, 128px); }
.bande--serree { padding-block: clamp(40px, 6vw, 76px); }
.bande--creme { background: var(--creme); }
.bande--blanc { background: var(--lait); }
.bande--sapin { background: var(--sapin); color: var(--sur-sombre); }
.bande--mousse { background: linear-gradient(160deg, var(--mousse) 0%, var(--sapin-2) 100%); color: var(--sur-sombre); }
.bande--bois { background: radial-gradient(120% 60% at 50% 0%, #F3E8D2 0%, var(--bois) 70%); }
.bande--sapin a:not(.bouton) { color: var(--gentiane-2); }
/* 16.10.2026 (GELEV-04) : courbes de niveau très discrètes sous le contenu des bandes sombres (carte de randonnée). */
.bande--sapin, .bande--mousse, .carnet-tete { isolation: isolate; }
.bande--sapin::before, .bande--mousse::before, .carnet-tete::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("courbes-de-niveau.svg") 50% 30% / cover no-repeat; opacity: .075;
}
.bande--mousse::before { opacity: .055; }
.bande__decor { position: absolute; left: 0; right: 0; bottom: 100%; height: 64px; color: var(--sapin); pointer-events: none; }
.bande__decor svg { width: 100%; height: 100%; display: block; }
.bande__decor use { fill: currentColor; }

/* Titres de section. 16.10.2026 (GELEV-04) : surtitre en étroit espacé, précédé d'une balise en losange (comme
   les losanges jaunes peints sur les arbres des sentiers), sauf s'il porte déjà une icône. */
.surtitre { display: inline-flex; align-items: flex-start; gap: 10px; font-size: .8rem; line-height: 1.35; letter-spacing: .15em; color: var(--mousse); margin: 0 0 14px; }
.surtitre:not(:has(.ico))::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .42em; background: var(--balise); transform: rotate(45deg); }
.surtitre .ico { width: 1.35em; height: 1.35em; margin-top: -.02em; }
.surtitre:has(.ico) { align-items: center; }
.surtitre--clair, .bande--sapin .surtitre, .bande--mousse .surtitre { color: var(--gentiane); }
.titre-section { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.titre-section__titre { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.chapeau { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--encre-2); max-width: 64ch; }
.bande--sapin .chapeau, .bande--mousse .chapeau { color: var(--sur-sombre-2); }
.titre-ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.titre-ligne .titre-section { margin-bottom: 0; }
.titre-grand { font-size: clamp(2rem, 4.2vw, 3rem); }
.titre-moyen { font-size: clamp(1.55rem, 3vw, 2.1rem); display: flex; align-items: center; gap: 12px; }
.titre-moyen .ico { width: 28px; height: 28px; color: var(--mousse); }
.titre-petit { font-size: .8rem; letter-spacing: .15em; color: var(--encre-2); margin: 40px 0 16px; display: flex; align-items: center; gap: 12px; }
.titre-petit::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3; }
.bande--sapin .titre-petit { color: var(--sur-sombre-2); }
.sous-titre-clair { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: clamp(48px, 6vw, 80px); }
/* Étiquette jointe à un titre (« Portée B » + BRUME × CASSIS), à la place de l'ancienne fin de titre en italique. */
.titre-etiquette { display: inline-block; vertical-align: .32em; margin-left: .12em; padding: .45em .7em .4em; border: 1.5px solid currentColor; border-radius: 3px; font-size: clamp(.74rem, .3em, 1rem); line-height: 1.1; color: var(--mousse); white-space: nowrap; }
.bande--sapin .titre-etiquette, .bande--mousse .titre-etiquette { color: var(--gentiane); }
.signature { font-family: var(--titre); font-weight: 600; font-size: 1.35rem; color: var(--mousse); }
.signature::before { content: "— "; }
.lettrine { font-size: clamp(1.1rem, 1.7vw, 1.26rem); line-height: 1.7; }
.lettrine::first-letter { font-family: var(--titre); font-weight: 700; float: left; font-size: 3.9em; line-height: .8; margin: .08em .1em 0 0; color: var(--mousse); }

/* ---------- Grand haut de page (accueil) ---------- */
.heros { position: relative; margin-top: calc(-1 * var(--entete)); min-height: max(640px, calc(100svh - 34px)); display: grid; grid-template-rows: 1fr auto; color: var(--sur-sombre); overflow: hidden; isolation: isolate; background: var(--sapin); }
.heros__fond { position: absolute; inset: 0; z-index: -2; }
.heros__fond > *, .heros__fond .paysage { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.heros__video { opacity: 0; transition: opacity 1.2s ease; }
.heros__video.est-prete { opacity: 1; }
/* 16.10.2026 (GELEV-02) : sur téléphone, la photo est recadrée vers la droite pour garder les chiens dans l'image. */
@media (max-width: 899px) { .heros__fond > img, .heros__fond > video { object-position: 74% 50%; } }
.heros__voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 30, 23, .72) 0%, rgba(10, 30, 23, .2) 30%, rgba(10, 30, 23, .35) 55%, rgba(10, 30, 23, .9) 88%, rgba(10, 30, 23, .96) 100%); }
.heros__voile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 23, .6), rgba(10, 30, 23, .1) 70%); }
@media (max-width: 899px) { .heros__voile::after { background: rgba(10, 30, 23, .32); } }
.heros__contenu { align-self: end; padding-top: calc(var(--entete) + 56px); padding-bottom: 28px; }
.heros__surtitre { max-width: 100%; }
.heros__titre { font-size: clamp(2.6rem, 8vw, 6.1rem); line-height: 1; letter-spacing: -.02em; max-width: 12.5ch; margin-bottom: .34em; text-shadow: 0 2px 26px rgba(0, 0, 0, .3); }
.heros__chapeau { font-size: clamp(1.04rem, 1.7vw, 1.24rem); max-width: 52ch; color: #EDE6D6; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.heros__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 26px; }
.heros__bandeau { padding-bottom: clamp(20px, 4vw, 40px); }
.direct-liste { list-style: none; margin: 0; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; background: rgba(10, 30, 23, .62); border: 1px solid rgba(246, 239, 225, .18); border-radius: 4px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .95rem; }
.direct-liste strong { font-size: 1.7rem; line-height: 1; color: var(--gentiane); margin-right: 2px; }
.direct-liste li { display: flex; align-items: baseline; gap: 6px; }
.direct-liste__titre { width: 100%; letter-spacing: normal; text-transform: none; }
@media (min-width: 900px) { .direct-liste__titre { width: auto; } .direct-liste li + li:not(.direct-liste__titre)::before { content: ""; width: 1px; height: 22px; background: rgba(246, 239, 225, .25); align-self: center; margin-right: 16px; } }

/* Pastille « en direct » (étiquette rectangulaire, le voyant reste rond) */
.direct { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 650; letter-spacing: .1em; line-height: 1; padding: 6px 10px 5px 9px; border-radius: 2px; background: rgba(47, 93, 74, .12); color: var(--mousse); vertical-align: middle; white-space: nowrap; }
.direct__point { width: 8px; height: 8px; border-radius: 50%; background: #2FA36B; box-shadow: 0 0 0 0 rgba(47, 163, 107, .6); }
.heros .direct, .intro .direct, .bande--sapin .direct, .carnet-tete .direct { background: rgba(246, 239, 225, .14); color: var(--sur-sombre); }
@media (prefers-reduced-motion: no-preference) { .direct__point { animation: pulsation 2.2s ease-out infinite; } }
@keyframes pulsation { 0% { box-shadow: 0 0 0 0 rgba(47, 163, 107, .6); } 70% { box-shadow: 0 0 0 9px rgba(47, 163, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 163, 107, 0); } }

/* ---------- En-têtes de page (pages intérieures) ---------- */
.intro { position: relative; overflow: hidden; isolation: isolate; }
.intro--sapin { background: var(--sapin); color: var(--sur-sombre); }
.intro__decor { position: absolute; inset: 0; z-index: -2; }
.intro__decor > *, .intro__decor .paysage { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro__decor .ambiance--attente { aspect-ratio: auto !important; }
.intro--sapin::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 30, 23, .94) 0%, rgba(10, 30, 23, .82) 45%, rgba(10, 30, 23, .45) 100%), linear-gradient(0deg, rgba(10, 30, 23, .6), transparent 50%); }
.intro__in { padding-block: clamp(44px, 8vw, 104px) clamp(48px, 8vw, 96px); }
.intro--haute .intro__in { padding-block: clamp(64px, 12vw, 160px) clamp(56px, 10vw, 128px); }
.intro--courte .intro__in { padding-block: clamp(36px, 6vw, 64px); }
.intro__titre { font-size: clamp(2.3rem, 6.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.018em; max-width: 18ch; margin-bottom: .32em; }
.intro__chapeau { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--sur-sombre-2); max-width: 58ch; margin: 0; }
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--sur-sombre-2); margin-bottom: 28px; }
.fil a { color: var(--sur-sombre); text-decoration: none; border-bottom: 1px solid rgba(246, 239, 225, .35); }
.fil--sombre { color: var(--encre-2); margin-bottom: 0; }
.fil--sombre a { color: var(--encre); border-bottom-color: var(--ligne-forte); }
.sommaire, .sous-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.sommaire a, .sous-nav a { display: inline-block; padding: 8px 13px; border-radius: 3px; border: 1px solid rgba(246, 239, 225, .32); color: var(--sur-sombre); text-decoration: none; font-size: .9rem; font-weight: 550; background: rgba(10, 30, 23, .4); transition: background .2s, color .2s; }
.sommaire a:hover, .sous-nav a:hover { background: var(--sur-sombre); color: var(--sapin); }
.sous-nav a[aria-current="page"] { background: var(--gentiane); border-color: var(--gentiane); color: var(--sapin); font-weight: 700; }

/* ---------- Visuels, tirages et paysages ---------- */
.cadre-visuel { position: relative; overflow: hidden; border-radius: 2px; }
.cadre-visuel .visuel { transition: transform .9s var(--courbe); }
/* Visuel d'attente du logiciel (initiale sur l'aplat de la robe) : même typo que les titres, jamais d'italique. */
.ge-attente span { font-family: var(--titre) !important; font-weight: 700 !important; font-style: normal !important; letter-spacing: -.01em !important; }
.ambiance { display: block; width: 100%; height: auto; object-fit: cover; }
/* 16.10.2026 (GELEV-04) : une photo de fond d'en-tête remplit toute la hauteur (sur téléphone, elle s'arrêtait à son ratio). */
.intro__decor > .ambiance, .hiver__image > .ambiance { height: 100%; }
.ambiance--attente { position: relative; overflow: hidden; background: var(--sapin-2); }
.ambiance--attente > .paysage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.paysage use { fill: currentColor; }
/*
 * Le « tirage » (signature de l'habillage, 16.10.2026, GELEV-04) : photo à coins droits, fine bordure papier,
 * ombre décalée pleine couleur mousse — une photo punaisée sur un panneau. Les visuels d'attente, placés dans le
 * même cadre, prennent la même forme. Deux tailles : grande (portraits, ambiances) et vignette.
 */
.parent-medaillon .cadre-visuel, .portee__parent .cadre-visuel, .cadre-visuel--fiche, .carnet-tete__visuel .cadre-visuel,
.race__visuel .cadre-visuel, .repro__visuel .cadre-visuel, .duo__image, .mosaique__item, .carte-plan, .fiche__film,
.vignette .cadre-visuel, .parent-ligne .cadre-visuel, .ancienne__petits .cadre-visuel, .retraite .cadre-visuel, .nouvelle__photo {
  border: var(--tirage-bord) solid var(--tirage-papier); border-radius: 3px; background: var(--tirage-papier);
  box-shadow: 0 0 0 1px var(--tirage-filet), var(--tirage-decalage) var(--tirage-decalage) 0 var(--tirage-ombre);
}
.vignette .cadre-visuel, .parent-ligne .cadre-visuel, .ancienne__petits .cadre-visuel, .retraite .cadre-visuel, .nouvelle__photo { --tirage-bord: 3px; --tirage-decalage: 4px; }
.cadre-visuel--fiche { --tirage-bord: 8px; --tirage-decalage: 10px; }
/* Dans une carte claire, le papier du tirage se détache en crème. */
.race, .repro, .vignette, .parent-ligne, .ancienne { --tirage-papier: var(--creme-2); }

/* ---------- Pastilles de statut (étiquettes rectangulaires), puces ---------- */
.pastille { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; line-height: 1; letter-spacing: .1em; padding: 6px 9px 5px; border-radius: 2px; white-space: nowrap; border: 1px solid rgba(15, 43, 34, .16); }
.pastille--disponible { background: var(--gentiane); color: var(--sapin); }
.pastille--option { background: #F5E3B8; color: #5E4004; }
.pastille--reserve { background: #F3D5CF; color: #7A231B; }
.pastille--vendu { background: #E4E2DA; color: #34332D; }
.pastille--garde { background: #D4E6DA; color: #1C4632; }
.pastille--avenir { background: #DCE3F2; color: #253563; }
.pastille--repro { background: var(--sapin); color: var(--sur-sombre); border-color: rgba(246, 239, 225, .2); }
.puces { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.puce { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 3px; border: 1px solid var(--ligne-forte); background: var(--papier); font-size: .88rem; }
.puces--clair .puce { background: rgba(246, 239, 225, .1); border-color: var(--ligne-claire); color: var(--sur-sombre); }

/* Badge « annonce vérifiée » */
.verifiee { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 3px; background: #E5F0E8; color: #163D2C; font-size: .88rem; line-height: 1.35; border-left: 3px solid var(--mousse); }
.verifiee .ico { width: 22px; height: 22px; color: var(--mousse); margin-top: 1px; }
.verifiee strong { display: block; font-size: .95rem; }
.verifiee small { display: block; color: #335A47; font-size: .8rem; margin-top: 2px; }

/* ---------- Cartes de petits : chaque petit est un tirage, la légende dans la marge du papier ---------- */
.carte-petit { position: relative; display: flex; flex-direction: column; height: 100%; padding: 8px; background: var(--papier); border: 1px solid rgba(19, 32, 26, .08); border-radius: 4px; box-shadow: 5px 5px 0 var(--tirage-ombre); transition: transform .35s var(--courbe), box-shadow .35s var(--courbe); }
.carte-petit:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--tirage-ombre); }
.carte-petit:hover .visuel { transform: scale(1.045); }
.carte-petit__lien { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.carte-petit__lien:hover { text-decoration: none; }
.carte-petit__visuel { position: relative; }
.carte-petit__visuel .pastille { position: absolute; top: 10px; left: 10px; z-index: 1; box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.carte-petit__corps { padding: 14px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.carte-petit__race { font-size: .72rem; letter-spacing: .12em; color: var(--mousse); margin: 0 0 6px; }
.carte-petit__nom { font-size: 1.95rem; line-height: 1; margin: 0 0 8px; }
.carte-petit__details { font-size: .92rem; color: var(--encre-2); margin: 0 0 12px; }
.carte-petit__prix { font-size: 1.9rem; line-height: 1; color: var(--sapin); margin: auto 0 12px; }
.carte-petit__note { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 650; color: var(--encre-2); margin: auto 0 12px; }
.carte-petit__voir { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .92rem; color: var(--mousse); padding-top: 10px; border-top: 1px dashed var(--ligne-forte); }
.carte-petit__voir .ico { transition: transform .3s var(--courbe); }
.carte-petit:hover .carte-petit__voir .ico { transform: translateX(4px); }
.carte-petit__pied { padding: 4px 8px 6px; display: grid; gap: 10px; }

/* Défilement horizontal (téléphone) / grille (ordinateur) */
.defile { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 316px); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gouttiere)); padding: 8px var(--gouttiere) 28px; scrollbar-width: thin; scroll-padding-inline: var(--gouttiere); }
.defile__item { scroll-snap-align: start; min-width: 0; }
.defile--compact { grid-auto-columns: min(70%, 260px); }
.defile--compact .carte-petit__nom { font-size: 1.65rem; }
@media (min-width: 960px) {
  .defile { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding: 8px 0 0; gap: 28px 26px; }
  .defile--compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
.grille-petits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(22px, 2.6vw, 30px); }
.carte-petit[hidden] { display: none; }
@media (max-width: 559px) { .grille-petits .carte-petit__visuel .visuel { aspect-ratio: 4 / 3 !important; } }

/* Mentions légales d'annonce */
.mentions { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: clamp(20px, 3vw, 32px); }
.mentions__titre { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.mentions__liste { display: grid; gap: 0; margin: 0 0 16px; }
.mentions__liste div { display: grid; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--ligne); }
.mentions__liste dt { font-size: .82rem; color: var(--encre-2); }
.mentions__liste dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
@media (min-width: 640px) { .mentions__liste div { grid-template-columns: 1fr 1.2fr; gap: 16px; } }
.mentions__note { font-size: .88rem; color: var(--encre-2); }
.mentions--replie { background: transparent; border: 0; padding: 0; border-radius: 0; }
.mentions--replie summary { cursor: pointer; font-size: .84rem; font-weight: 650; color: var(--mousse); list-style: none; display: inline-flex; align-items: center; gap: 7px; }
.mentions--replie summary::-webkit-details-marker { display: none; }
.mentions--replie summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 2px; border: 1.5px solid currentColor; font-size: .8rem; line-height: 1; }
.mentions--replie[open] summary::before { content: "–"; }
.mentions--replie .mentions__liste { margin: 8px 0 0; font-size: .86rem; }
.mentions--replie .mentions__liste div { grid-template-columns: 1fr; gap: 0; padding: 7px 0; }

/* Filtres de la liste */
.filtres { display: grid; gap: 12px; margin-bottom: 30px; }
@media (min-width: 980px) { .filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; } .filtres__compte { width: 100%; } }
.filtres[hidden] { display: none; }
.filtres__groupe { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 14px; border-radius: 3px; border: 1.5px solid var(--bois-2); background: var(--papier); color: var(--encre); font-weight: 650; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filtre span { font-size: .76rem; font-stretch: 85%; background: var(--creme-2); padding: 2px 6px; border-radius: 2px; }
.filtre:hover { border-color: var(--sapin); }
.filtre[aria-pressed="true"] { background: var(--sapin); border-color: var(--sapin); color: var(--sur-sombre); box-shadow: inset 0 -3px 0 var(--gentiane); }
.filtre[aria-pressed="true"] span { background: rgba(246, 239, 225, .18); }
.filtres__compte { margin: 4px 0 0; font-size: .9rem; color: var(--encre-2); }
.legende { display: grid; gap: 14px; margin-top: 44px; padding: 22px; background: var(--papier); border-radius: var(--rayon); border: 1px solid var(--ligne); font-size: .92rem; }
.legende p { display: flex; gap: 12px; margin: 0; }
.legende .ico { width: 22px; height: 22px; color: var(--mousse); margin-top: 2px; }

/* Note « coulisses de la démo » */
.note-demo { margin-top: 28px; padding: 16px 18px; border-radius: 4px; border: 1.5px dashed #C99A3A; background: #FFF5DB; color: #3D2E0B; font-size: .9rem; }
.note-demo p { margin: 0; }
.note-demo__titre { display: flex; align-items: center; gap: 8px; font-size: .76rem; letter-spacing: .13em; color: #7A5206; margin-bottom: 6px !important; }
.note-demo a { font-weight: 700; color: #5E3E00; }

/* ---------- Prochaine portée, compte à rebours ---------- */
.bande--prochaine { overflow: visible; }
.prochaine { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .prochaine { grid-template-columns: 1.25fr 1fr; } }
.decompte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 12px); margin: 4px 0 26px; max-width: 540px; }
.decompte__case { text-align: center; padding: clamp(12px, 2vw, 16px) 4px clamp(10px, 1.6vw, 14px); border-radius: 4px; border: 1px solid var(--ligne-claire); background: rgba(246, 239, 225, .05); }
.decompte__n { display: block; font-size: clamp(2.3rem, 7vw, 3.6rem); line-height: 1; color: var(--gentiane); }
.decompte__l { display: block; margin-top: 6px; font-size: .68rem; letter-spacing: .14em; color: var(--sur-sombre-2); }
.decompte--clair .decompte__case { background: var(--sapin); border-color: var(--sapin); }
.prochaine__liste { display: flex; gap: 12px; align-items: flex-start; color: var(--sur-sombre-2); max-width: 54ch; }
.prochaine__liste .ico { color: var(--gentiane); width: 22px; height: 22px; margin-top: 2px; }
.prochaine__parents { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; padding-right: 6px; }
/* 16.10.2026 (GELEV-04) : les parents ne sont plus en arche mais en tirages, décalés comme sur un panneau. */
.parent-medaillon { margin: 0; }
.parent-medaillon:nth-child(2) { margin-top: 48px; }
.parent-medaillon figcaption { margin-top: 16px; font-size: .9rem; color: var(--sur-sombre-2); }
.parent-medaillon figcaption span { display: block; font-size: .7rem; color: var(--gentiane); }
.parent-medaillon figcaption strong { display: block; font-family: var(--titre); font-weight: 700; font-size: 1.6rem; color: var(--sur-sombre); line-height: 1.1; margin: 2px 0; }

/* ---------- Nos deux races ---------- */
.races { display: grid; gap: 26px; }
@media (min-width: 1000px) { .races { grid-template-columns: 1fr 1fr; } }
.race { display: grid; gap: 6px 4px; padding: 14px; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); transition: transform .4s var(--courbe), box-shadow .4s var(--courbe); }
.race:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
@media (min-width: 640px) { .race { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.race__visuel { padding: 0 6px 6px 0; }
.race__visuel .cadre-visuel, .race__visuel { height: 100%; }
.race__visuel .visuel { aspect-ratio: 3 / 2 !important; }
@media (min-width: 640px) { .race__visuel .visuel { height: 100% !important; aspect-ratio: auto !important; } }
.race__corps { padding: clamp(12px, 2vw, 18px) clamp(6px, 1.4vw, 14px) 6px; }
.race__icone { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--mousse); margin-bottom: 8px; }
.race__icone .ico { width: 22px; height: 22px; }
.race__nom { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; }
.race--chien { border-top: 4px solid var(--myrtille); }
.race--chat { border-top: 4px solid var(--gentiane); }
.traits { display: grid; gap: 8px; margin: 18px 0; }
.trait { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; }
.trait dt { color: var(--encre-2); }
.trait dd { margin: 0; }
.jauge { display: inline-flex; gap: 3px; }
.jauge i { width: 18px; height: 8px; border-radius: 1px; background: var(--creme-2); }
.jauge i.plein { background: var(--mousse); }
.race__infos { font-size: .88rem; color: var(--encre-2); }
.encart-quiz { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 22px clamp(20px, 3vw, 32px); border-radius: var(--rayon); background: var(--sapin); color: var(--sur-sombre); }
.encart-quiz p { margin: 0; max-width: 60ch; }
.encart-quiz strong { font-family: var(--titre); font-weight: 700; font-size: 1.45rem; display: block; color: var(--gentiane); margin-bottom: 2px; }

/* ---------- La vie à la Combe : tirages punaisés sur le panneau de bois ---------- */
.mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.mosaique__item { position: relative; margin: 0; overflow: hidden; }
.mosaique__item--une { grid-column: span 2; }
.mosaique__item .ambiance { aspect-ratio: 1 / 1 !important; height: 100%; transition: transform 1.2s var(--courbe); }
.mosaique__item--une .ambiance { aspect-ratio: 3 / 2 !important; }
.mosaique__item:hover .ambiance { transform: scale(1.04); }
@media (min-width: 720px) { .mosaique { gap: 22px; } .mosaique__item .ambiance { aspect-ratio: 4 / 3 !important; } .mosaique__item--une .ambiance { aspect-ratio: 16 / 9 !important; } }
@media (min-width: 1100px) {
  .mosaique { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 24px; }
  .mosaique__item--une { grid-column: span 2; grid-row: span 2; }
  .mosaique__item .ambiance, .mosaique__item--une .ambiance { aspect-ratio: auto !important; height: 100%; }
}
.mosaique__item figcaption { position: absolute; left: 0; bottom: 0; max-width: calc(100% - 8px); padding: 7px 10px 6px; background: var(--sapin); color: var(--sur-sombre); font-size: .66rem; line-height: 1.25; letter-spacing: .12em; border-radius: 0 2px 0 0; }
@media (min-width: 720px) { .mosaique__item figcaption { padding: 8px 12px 7px; font-size: .72rem; } }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: clamp(40px, 5vw, 60px) 0; }
@media (min-width: 900px) { .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chiffre { display: flex; flex-direction: column-reverse; padding: 18px 20px 16px; border-radius: 4px; background: rgba(255, 253, 248, .82); border: 1px solid rgba(139, 99, 64, .24); border-top: 4px solid var(--sapin); }
.chiffre dt { font-size: .86rem; color: var(--encre-2); }
.chiffre dd { margin: 0 0 6px; font-size: clamp(3rem, 7vw, 4.4rem); line-height: .95; color: var(--sapin); }
.chiffres--clair .chiffre { background: var(--papier); }

/* ---------- Avis vérifiés, nouvelles ---------- */
.note-geante { font-size: 1.2em; }
.etoiles { display: inline-flex; gap: 3px; vertical-align: middle; }
.etoile { width: 20px; height: 20px; color: rgba(246, 239, 225, .25); }
.etoile--pleine { color: var(--gentiane); }
.etoiles--grandes .etoile { width: 34px; height: 34px; }
.avis-grille { display: grid; gap: 18px; }
@media (min-width: 900px) { .avis-grille { grid-template-columns: repeat(3, 1fr); } }
.avis { margin: 0; padding: clamp(22px, 3vw, 28px); border-radius: var(--rayon); background: rgba(246, 239, 225, .06); border: 1px solid var(--ligne-claire); display: flex; flex-direction: column; gap: 14px; }
.avis__texte { margin: 0; font-family: var(--titre); font-weight: 600; font-size: 1.2rem; line-height: 1.34; }
.avis__texte p { margin: 0; }
.avis__texte p::before { content: "« "; color: var(--gentiane); }
.avis__texte p::after { content: " »"; color: var(--gentiane); }
.avis__auteur { margin-top: auto; display: grid; gap: 2px; font-size: .88rem; color: var(--sur-sombre-2); padding-top: 12px; border-top: 1px dashed var(--ligne-claire); }
.avis__auteur strong { color: var(--sur-sombre); font-size: 1rem; }
.avis__verifie { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .8rem; font-weight: 650; color: #9FDDBC; }
.avis__reponse { border-left: 3px solid var(--gentiane); padding: 4px 0 4px 14px; font-size: .92rem; color: var(--sur-sombre-2); }
.avis__reponse p { margin: 0; }
.avis__reponse-titre { font-weight: 700; color: var(--sur-sombre) !important; margin-bottom: 4px !important; }
.avis-grille--clair .avis, .avis--seul { background: var(--papier); border-color: var(--ligne); color: var(--encre); box-shadow: var(--ombre); }
.avis-grille--clair .avis__auteur, .avis--seul .avis__auteur { color: var(--encre-2); border-top-color: var(--ligne-forte); }
.avis-grille--clair .avis__auteur strong, .avis--seul .avis__auteur strong { color: var(--encre); }
.avis-grille--clair .avis__verifie { color: var(--mousse); }
.avis-grille--clair .avis__texte p::before, .avis-grille--clair .avis__texte p::after, .avis--seul .avis__texte p::before, .avis--seul .avis__texte p::after { color: var(--gentiane-fonce); }
.avis-grille--clair .etoile, .avis--seul .etoile { color: var(--creme-2); }
.avis-grille--clair .etoile--pleine, .avis--seul .etoile--pleine { color: var(--gentiane); }
.avis-grille--clair .avis__reponse, .avis--seul .avis__reponse { color: var(--encre-2); }
.avis-grille--clair .avis__reponse-titre, .avis--seul .avis__reponse-titre { color: var(--encre) !important; }
@media (min-width: 900px) { .avis-grille--clair { grid-template-columns: repeat(2, 1fr); } }
.nouvelles { display: grid; gap: 18px; }
@media (min-width: 800px) { .nouvelles { grid-template-columns: repeat(2, 1fr); } }
.nouvelle { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--rayon); background: rgba(246, 239, 225, .06); border: 1px solid var(--ligne-claire); }
.nouvelle blockquote { margin: 0; font-size: 1rem; }
.nouvelle blockquote p { margin: 0; }
.nouvelle figcaption { grid-column: 2; font-size: .84rem; color: var(--sur-sombre-2); }
.nouvelle__photo { width: 96px; height: 96px; object-fit: cover; grid-row: span 2; }
.nouvelle__pastille { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 3px; background: rgba(226, 167, 46, .15); color: var(--gentiane); grid-row: span 2; }

/* ---------- Listes d'attente ---------- */
.listes { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .listes { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.liste-carte { padding: 20px 22px; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.liste-carte p { margin: 0 0 6px; }
.liste-carte__espece { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; color: var(--mousse); }
.liste-carte__titre { font-family: var(--titre); font-weight: 700; font-size: 1.65rem; line-height: 1.05; }
.liste-carte__titre span { display: block; margin-top: 6px; font-size: .74rem; line-height: 1.3; color: var(--encre-2); }
.liste-carte__etat { font-size: .9rem; color: var(--encre-2); }
.liste-carte__inscrits { padding-top: 8px; border-top: 1px dashed var(--ligne-forte); }
.liste-carte__inscrits strong { font-size: 2.1rem; line-height: 1; color: var(--gentiane-fonce); margin-right: 4px; }
.listes--sombre .liste-carte { background: rgba(246, 239, 225, .06); border-color: var(--ligne-claire); box-shadow: none; color: var(--sur-sombre); }
.listes--sombre .liste-carte__titre span { color: var(--sur-sombre-2); }
.listes--sombre .liste-carte__inscrits { border-top-color: var(--ligne-claire); }
.listes--sombre .liste-carte__inscrits strong { color: var(--gentiane); }

/* ---------- Outils ---------- */
.outils { display: grid; gap: 18px; }
@media (min-width: 860px) { .outils { grid-template-columns: 1fr 1fr; } }
.outil { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3.4vw, 34px); border-radius: var(--rayon); background: rgba(246, 239, 225, .08); border: 1px solid rgba(246, 239, 225, .22); color: var(--sur-sombre); text-decoration: none; transition: transform .4s var(--courbe), background .3s; }
.outil:hover { transform: translateY(-4px); background: rgba(246, 239, 225, .14); text-decoration: none; }
.outil__icone { display: flex; gap: 6px; color: var(--gentiane); }
.outil__icone .ico { width: 40px; height: 40px; }
.outil__titre { font-family: var(--titre); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.08; }
.outil__texte { color: var(--sur-sombre-2); }
.outil__lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gentiane); margin-top: 6px; }

/* ---------- Fiche d'un petit ---------- */
.fiche-entete { padding-block: 18px 0; }
.fiche { padding-block: 24px clamp(48px, 7vw, 96px); }
.fiche__grille { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .fiche__grille { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } .fiche__infos { position: sticky; top: calc(var(--entete) + 24px); } }
.fiche__medias { display: grid; gap: 22px; padding-right: 10px; }
.fiche__film { margin: 0; overflow: hidden; }
.fiche__film video { border-radius: 1px; }
.fiche__film figcaption { display: flex; align-items: center; gap: 8px; padding: 9px 4px 3px; color: var(--encre-2); font-size: .72rem; }
.fiche__film figcaption .ico { width: 18px; height: 18px; color: var(--mousse); }
.fiche__vignettes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vignette { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 10px 12px 12px 10px; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--ligne); text-decoration: none; transition: transform .4s var(--courbe), box-shadow .4s; min-width: 0; }
.vignette:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.vignette span { font-family: var(--titre); font-weight: 700; font-size: 1.25rem; line-height: 1.05; min-width: 0; overflow-wrap: anywhere; }
.vignette small { display: block; font-size: .66rem; letter-spacing: .12em; color: var(--mousse); margin-bottom: 2px; }
.fiche__nom { font-size: clamp(3rem, 10vw, 5.6rem); line-height: .95; letter-spacing: -.025em; margin-bottom: .14em; }
.fiche__accroche { font-family: var(--titre); font-weight: 600; font-size: clamp(1.2rem, 2.1vw, 1.45rem); line-height: 1.25; color: var(--mousse); margin-bottom: 18px; }
.fiche__prix { display: grid; gap: 14px; padding: clamp(18px, 2.6vw, 24px); border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--ligne); border-top: 4px solid var(--gentiane); box-shadow: var(--ombre); margin-bottom: 22px; }
.fiche__prix p { margin: 0; }
.fiche__montant { font-size: clamp(2.5rem, 6vw, 3.3rem); line-height: 1; color: var(--sapin); }
.fiche__montant--petit { font-family: var(--titre); font-stretch: 100%; font-weight: 700; letter-spacing: -.01em; font-size: clamp(1.5rem, 3.4vw, 2rem); }
.fiche__prix--attente { background: #FBF5E8; border-top-color: var(--bois-2); }
.fiche__option { display: flex; gap: 10px; font-size: .9rem; color: var(--encre-2); }
.fiche__option .ico { width: 20px; height: 20px; color: var(--gentiane-fonce); margin-top: 2px; }
.fiche__faits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 0 0 18px; }
.fiche__faits dt { font-size: .72rem; letter-spacing: .12em; color: var(--mousse); }
.fiche__faits dd { margin: 2px 0 0; font-weight: 650; }
.fiche__faits small { font-weight: 400; color: var(--encre-2); }
.fiche__regle { display: flex; gap: 10px; font-size: .88rem; color: var(--encre-2); padding: 14px 16px; border-radius: 4px; background: var(--creme-2); }
.fiche__regle .ico { width: 20px; height: 20px; color: var(--mousse); margin-top: 1px; }
.fiche-sante { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .fiche-sante { grid-template-columns: 1.15fr 1fr; } }
.parents-liste { display: grid; gap: 14px; align-content: start; }
.parents-liste .titre-petit { margin-top: 0; }
.parent-ligne { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; padding: 12px 14px 14px 12px; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--ligne); text-decoration: none; transition: transform .4s var(--courbe), box-shadow .4s; }
.parent-ligne:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.parent-ligne small { display: block; font-size: .68rem; letter-spacing: .12em; color: var(--mousse); }
.parent-ligne strong { display: block; font-family: var(--titre); font-weight: 700; font-size: 1.28rem; line-height: 1.08; margin: 2px 0 4px; }
.parent-ligne > span { font-size: .9rem; color: var(--encre-2); min-width: 0; }
.parent-ligne__tests { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 650; color: var(--mousse); font-size: .84rem; }
.barre-action { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 43, 34, .97); color: var(--sur-sombre); box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .6); border-top: 3px solid var(--gentiane); transform: translateY(0); transition: transform .35s var(--courbe); }
.barre-action p { margin: 0; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.barre-action strong { font-family: var(--titre); font-weight: 700; font-size: 1.3rem; }
.barre-action p > span { font-size: 1.05rem; color: var(--gentiane); }
.barre-action.est-cachee { transform: translateY(115%); visibility: hidden; transition: transform .35s var(--courbe), visibility 0s .35s; }
.p-petit .pied { padding-bottom: 76px; }
@media (min-width: 960px) { .barre-action { display: none; } .p-petit .pied { padding-bottom: 0; } }

/* Soins */
.soins { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.soin { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 4px; background: var(--papier); border: 1px dashed var(--bois-2); }
.soin__icone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 3px; border: 1.5px solid var(--bois-2); color: var(--encre-2); }
.soin__texte strong { display: block; font-weight: 650; line-height: 1.3; }
.soin__texte small { color: var(--encre-2); }
.soin--fait { border-style: solid; border-color: transparent; background: #E8F1EA; }
.soin--fait .soin__icone { background: var(--mousse); border-color: var(--mousse); color: var(--sur-sombre); }

/* Courbe de poids */
.courbe { margin: 0; padding: clamp(14px, 3vw, 28px); border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--ligne); box-shadow: var(--ombre); color: var(--encre-2); }
.bande--blanc .courbe { background: #FFFFFF; }
.courbe__svg { width: 100%; height: auto; display: block; overflow: visible; }
.courbe__svg--large { display: none; }
@media (min-width: 640px) { .courbe__svg--large { display: block; } .courbe__svg--etroit { display: none; } }
/* Le dessin large seulement si la courbe elle-même est large (colonne du carnet, téléphone…). */
@supports (container-type: inline-size) {
  .courbe { container-type: inline-size; }
  @container (max-width: 699px) { .courbe__svg--large { display: none; } .courbe__svg--etroit { display: block; } }
}
.courbe__grille { stroke: rgba(19, 32, 26, .1); stroke-width: 1; }
.courbe__grille--zero { stroke: rgba(19, 32, 26, .35); }
.courbe__texte { fill: #4A5650; font: 500 11px var(--texte); }
.courbe__trace { fill: none; stroke: var(--mousse); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.courbe__point { fill: #FFFFFF; stroke: var(--mousse); stroke-width: 2.2; }
.courbe__point--dernier { fill: var(--gentiane); stroke: var(--sapin); stroke-width: 2.5; }
.courbe__etiquette { fill: var(--sapin); font: 800 15px var(--texte); }
.courbe__tableau { margin-top: 12px; }
.courbe__tableau summary { cursor: pointer; font-weight: 650; color: var(--mousse); font-size: .9rem; }
.courbe__tableau table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .9rem; }
.courbe__tableau th, .courbe__tableau td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--ligne); }
.courbe__tableau th { font-size: .72rem; letter-spacing: .12em; color: var(--mousse); }

/* ---------- Formulaires ---------- */
.formulaire-bloc { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .formulaire-bloc { grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); } }
.formulaire { background: var(--papier); color: var(--encre); border-radius: 6px; padding: clamp(20px, 3.4vw, 34px); box-shadow: var(--ombre-forte); border-top: 4px solid var(--gentiane); }
.formulaire--clair { box-shadow: var(--ombre); border: 1px solid var(--ligne); border-top: 4px solid var(--gentiane); }
.formulaire a, .bande .formulaire a:not(.bouton) { color: var(--mousse); }
.pm { margin: 0 .07em; }
.formulaire__grille { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .formulaire__grille { grid-template-columns: 1fr 1fr; } .champ--large { grid-column: 1 / -1; } }
.champ { display: grid; gap: 6px; min-width: 0; }
.champ label { font-weight: 650; font-size: .92rem; }
.champ__requis { color: var(--airelle); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 3px; border: 1.5px solid #C6B793; background: #FFFFFF; color: var(--encre);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.champ select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sapin) 50%), linear-gradient(135deg, var(--sapin) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--mousse); box-shadow: 0 0 0 3px rgba(226, 167, 46, .5); }
.champ input::placeholder, .champ textarea::placeholder { color: #707A74; }
.champ__aide { font-size: .82rem; color: var(--encre-2); }
.champ__erreur { font-size: .86rem; font-weight: 650; color: var(--airelle); }
.champ--erreur input, .champ--erreur textarea, .champ--erreur select { border-color: var(--airelle); }
.formulaire__note { font-size: .84rem; color: var(--encre-2); }
.liste-coches { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.liste-coches li { display: flex; align-items: center; gap: 10px; }
.liste-coches .ico { width: 22px; height: 22px; padding: 3px; border-radius: 2px; background: var(--gentiane); color: var(--sapin); }
.liste-coches--sombre .ico { background: var(--mousse); color: var(--sur-sombre); }
.message { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 4px; margin-bottom: 18px; font-size: .95rem; }
.message .ico { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.message p { margin: 0 0 4px; }
.message ul { margin: 6px 0 0; padding-left: 18px; }
.message__titre { font-weight: 700; }
.message--ok { background: #E3F0E6; color: #133A28; border: 1.5px solid #8DBB9F; }
.message--erreur { background: #F8E2DD; color: #5E1A13; border: 1.5px solid #D99A90; }
.message--info { background: #F1EAD8; color: var(--encre); border: 1px solid var(--bois-2); }
.message:focus { outline: none; }
.depot { display: block; position: relative; cursor: pointer; }
.depot input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.depot__zone { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 14px; border-radius: 4px; border: 2px dashed #C6B793; background: #FFFFFF; color: var(--encre-2); font-weight: 650; text-align: center; overflow-wrap: anywhere; }
.depot input:focus-visible + .depot__zone { border-color: var(--mousse); box-shadow: 0 0 0 3px rgba(226, 167, 46, .5); }
.depot:hover .depot__zone { border-color: var(--mousse); }
.notation { border: 0; padding: 0; margin: 0 0 16px; }
.notation legend { font-weight: 650; font-size: .92rem; margin-bottom: 6px; }
.notation__etoiles { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.notation__etoiles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.notation__etoiles label { cursor: pointer; padding: 2px; border-radius: 3px; }
.notation__etoiles svg { width: 40px; height: 40px; color: #D9CCAE; transition: color .15s, transform .2s var(--courbe); }
.notation__etoiles input:checked ~ label svg, .notation__etoiles label:hover svg, .notation__etoiles label:hover ~ label svg { color: var(--gentiane); }
.notation__etoiles label:hover svg { transform: scale(1.12); }
.notation__etoiles input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Portées : frise semaine par semaine ---------- */
.portee__entete { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; margin-bottom: 8px; }
@media (min-width: 900px) { .portee__entete { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.portee__parents { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; max-width: 460px; padding-right: 6px; }
.portee__parent { text-decoration: none; display: grid; gap: 10px; align-content: start; }
.portee__parent:nth-child(2) { margin-top: 36px; }
.portee__parent span { font-family: var(--titre); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.portee__faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px 22px; margin: 18px 0 24px; }
.portee__faits dt { font-size: .72rem; letter-spacing: .12em; color: var(--mousse); }
.portee__faits dd { margin: 2px 0 0; font-weight: 650; }
.frise-cadre { margin-inline: calc(-1 * var(--gouttiere)); -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 60px), transparent); }
.frise { list-style: none; margin: 0; padding: 10px var(--gouttiere) 24px; display: grid; align-items: start; grid-auto-flow: column; grid-auto-columns: minmax(232px, 262px); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gouttiere); scrollbar-width: thin; position: relative; }
.frise__semaine { scroll-snap-align: start; position: relative; padding: 16px 16px 14px; border-radius: 4px; background: var(--papier); border: 1.5px solid var(--ligne); display: flex; flex-direction: column; gap: 4px; }
.bande--blanc .frise__semaine { background: var(--creme); }
/* Liaison entre les semaines : tracé de sentier en pointillés. */
.frise__semaine::before { content: ""; position: absolute; top: 26px; left: -15px; width: 15px; height: 2px; background: repeating-linear-gradient(90deg, var(--bois-2) 0 4px, transparent 4px 7px); }
.frise__semaine:first-child::before { display: none; }
.frise__num { margin: 0; font-size: 1.85rem; line-height: 1; color: var(--mousse); display: flex; align-items: center; gap: 10px; }
.frise__num span { font-size: .64rem; letter-spacing: .1em; font-weight: 700; background: var(--gentiane); color: var(--sapin); padding: 4px 7px 3px; border-radius: 2px; }
.frise__date { margin: 0; font-size: .8rem; color: var(--encre-2); }
.frise__titre { font-size: 1.3rem; margin: 6px 0 2px; }
.frise__texte { font-size: .9rem; margin: 0; color: var(--encre-2); }
.frise__regle { font-size: .8rem; font-weight: 650; margin: 8px 0 0; color: var(--sapin); }
.frise__soin { display: flex; align-items: flex-start; gap: 6px; font-size: .8rem; font-weight: 650; margin: 8px 0 0; color: var(--encre-2); line-height: 1.3; }
.frise__soin .ico { width: 16px; height: 16px; margin-top: 1px; }
.frise__soin--fait { color: var(--mousse); }
.frise__semaine--passee { background: transparent; }
.frise__semaine--passee .frise__num { color: var(--encre-2); }
.frise__semaine--courante { background: var(--sapin) !important; border-color: var(--sapin); color: var(--sur-sombre); box-shadow: 5px 5px 0 var(--gentiane); }
.frise__semaine--courante .frise__num { color: var(--gentiane); }
.frise__semaine--courante .frise__date, .frise__semaine--courante .frise__texte, .frise__semaine--courante .frise__soin { color: var(--sur-sombre-2); }
.frise__semaine--courante .frise__soin--fait { color: #9FDDBC; }
.frise__semaine--courante .frise__regle { color: var(--gentiane); }
.frise__semaine--avenir { border-style: dashed; border-color: var(--bois-2); }
.frise__semaine--apres { background: var(--creme-2); border-style: dotted; }
.anciennes { display: grid; gap: 18px; }
@media (min-width: 860px) { .anciennes { grid-template-columns: 1fr 1fr; } }
.ancienne { padding: 22px; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--ligne); }
.ancienne__titre { font-size: 1.75rem; font-weight: 700; }
.ancienne__titre span { display: block; margin-top: 6px; font-size: .74rem; line-height: 1.3; color: var(--mousse); }
.ancienne p { color: var(--encre-2); font-size: .92rem; }
.ancienne__petits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 16px; }
.ancienne__petits li { width: 72px; text-align: center; font-size: .84rem; }
.ancienne__petits .cadre-visuel { margin-bottom: 6px; }

/* ---------- Reproducteurs ---------- */
.reproducteurs { display: grid; gap: clamp(26px, 3.4vw, 40px); }
.repro { display: grid; gap: 8px clamp(20px, 3vw, 32px); padding: clamp(14px, 2vw, 18px); background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); scroll-margin-top: calc(var(--entete) + 16px); }
.bande--blanc .repro { background: var(--creme); --tirage-papier: var(--papier); }
@media (min-width: 900px) { .repro { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: start; } }
.repro__visuel { position: relative; padding: 0 6px 6px 0; }
.repro__visuel .pastille { position: absolute; top: 14px; left: 14px; }
.repro__corps { padding: clamp(10px, 2vw, 16px) clamp(4px, 1vw, 8px) 4px; min-width: 0; }
.repro__nom { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; margin-bottom: 4px; line-height: .98; }
.repro__affixe { font-size: .76rem; letter-spacing: .12em; color: var(--mousse); margin-bottom: 16px; }
.repro__marques { color: var(--encre-2); font-size: .94rem; }
.repro__faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 20px; margin: 0 0 18px; }
.repro__faits dt { font-size: .72rem; letter-spacing: .12em; color: var(--mousse); }
.repro__faits dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.repro__details { border-top: 1px solid var(--ligne); padding: 12px 0; }
.repro__details summary { cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; align-items: center; list-style: none; min-height: 32px; }
.repro__details summary::-webkit-details-marker { display: none; }
.repro__details summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 3px; border: 1.5px solid currentColor; font-size: 1.1rem; line-height: 1; color: var(--mousse); transition: transform .3s; }
.repro__details[open] summary::after { content: "–"; }
.tests { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .92rem; }
.tests th, .tests td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tests thead th { font-size: .7rem; letter-spacing: .12em; color: var(--mousse); }
.tests tbody th { font-weight: 650; }
.tests tbody th small { display: block; font-weight: 400; color: var(--encre-2); font-size: .8rem; }
@media (max-width: 640px) {
  .tests thead { display: none; }
  .tests tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne); }
  .tests th, .tests td { border: 0; padding: 0; }
  .tests tbody th { grid-column: 1 / -1; }
}
.preuve { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 5px 9px; border-radius: 2px; white-space: nowrap; }
.preuve .ico { width: 15px; height: 15px; }
.preuve--verifie { background: var(--mousse); color: var(--sur-sombre); }
.preuve--declare { border: 1.5px dashed #9A8659; color: #5A4A27; background: #FBF4E2; }
.preuve--grande { font-size: 1rem; padding: 9px 15px; }
.preuve--grande .ico { width: 20px; height: 20px; }
.arbre { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.arbre__col { display: grid; gap: 10px; }
.arbre__case { display: block; padding: 10px 12px; border-radius: 3px; background: var(--creme-2); font-size: .86rem; font-weight: 650; overflow-wrap: anywhere; border-left: 3px solid var(--mousse); }
.arbre__case small { display: block; font-size: .66rem; letter-spacing: .12em; color: var(--mousse); }
.arbre__col--gp .arbre__case { font-weight: 500; font-size: .8rem; background: transparent; border: 1px solid var(--ligne); }
.repro__portees { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 12px 0 0; }
.repro__portees .ico { color: var(--mousse); margin-top: 2px; }
.preuves__grille { display: grid; gap: 18px; }
@media (min-width: 800px) { .preuves__grille { grid-template-columns: 1fr 1fr; } }
.preuves__carte { padding: 24px; border-radius: var(--rayon); background: rgba(246, 239, 225, .06); border: 1px solid var(--ligne-claire); }
.preuves__carte p { margin: 14px 0 0; color: var(--sur-sombre-2); }
.retraites { display: flex; flex-wrap: wrap; gap: 22px 28px; }
.retraite { margin: 0; width: min(100%, 280px); display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; }
.retraite figcaption { font-size: .88rem; color: var(--encre-2); }
.retraite strong { display: block; font-family: var(--titre); font-weight: 700; font-size: 1.4rem; color: var(--encre); line-height: 1.1; }

/* ---------- L'élevage ---------- */
.duo { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .duo--inverse .duo__image { order: 2; } }
.duo__image { margin: 0 10px 10px 0; --tirage-bord: 8px; --tirage-decalage: 10px; }
.duo__image figcaption { padding: 10px 4px 4px; color: var(--encre-2); font-size: .7rem; line-height: 1.35; }
.engagements { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 700px) { .engagements { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .engagements { grid-template-columns: repeat(4, 1fr); } }
.engagement { padding: 24px 22px; border-radius: var(--rayon); background: rgba(246, 239, 225, .06); border: 1px solid var(--ligne-claire); border-top: 3px solid var(--gentiane); }
.engagement__num { display: block; font-size: 2.6rem; line-height: 1; color: var(--gentiane); margin-bottom: 12px; }
.engagement h3 { font-size: 1.5rem; }
.engagement p { color: var(--sur-sombre-2); margin: 0; }
.programme { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.programme li { display: flex; gap: 14px; align-items: flex-start; }
.programme .ico { width: 38px; height: 38px; padding: 8px; border-radius: 3px; background: var(--sapin); color: var(--gentiane); flex: none; }
.hiver { position: relative; min-height: 560px; display: grid; align-items: center; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 8vw, 96px); background: #DCE4E6; }
.hiver__image { position: absolute; inset: 0; z-index: -1; }
.hiver__image > *, .hiver__image .paysage { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hiver__image .ambiance--attente { aspect-ratio: auto !important; }
.intro__decor > .ambiance--attente, .hiver__image > .ambiance--attente { position: absolute; inset: 0; width: 100%; height: 100%; }
.hiver__carte { max-width: 560px; margin-left: auto; padding: clamp(24px, 4vw, 38px); border-radius: var(--rayon); background: rgba(15, 43, 34, .92); color: var(--sur-sombre); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--ombre-forte); border-top: 4px solid var(--gentiane); }
.hiver__carte .surtitre { color: var(--gentiane); }
.hiver__carte p:last-child { margin-bottom: 0; color: var(--sur-sombre-2); }
.cartes-infos { display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 820px) { .cartes-infos { grid-template-columns: repeat(3, 1fr); } }
.carte-info { padding: 22px; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--ligne); }
.carte-info .ico { width: 30px; height: 30px; color: var(--mousse); }
.carte-info h3 { font-size: 1.4rem; margin: 10px 0 6px; }
.carte-info p { margin: 0; color: var(--encre-2); font-size: .95rem; }

/* ---------- Adopter : le parcours comme un sentier balisé ---------- */
.parcours { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; position: relative; display: grid; gap: 18px; }
.parcours::before { content: ""; position: absolute; left: 23px; top: 20px; bottom: 20px; width: 2px; background: repeating-linear-gradient(180deg, var(--mousse) 0 8px, transparent 8px 14px); }
.parcours__etape { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; position: relative; }
.parcours__num { width: 48px; height: 48px; border-radius: 3px; display: grid; place-items: center; background: var(--sapin); color: var(--gentiane); font-size: 1.6rem; box-shadow: 0 0 0 6px var(--creme); }
.parcours__carte { padding: 18px 20px; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--ligne); box-shadow: var(--ombre); transition: transform .4s var(--courbe); }
.parcours__carte:hover { transform: translateX(4px); }
.parcours__carte h3 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; margin-bottom: 6px; }
.parcours__carte h3 .ico { width: 24px; height: 24px; color: var(--mousse); }
.parcours__carte p { margin: 0; color: var(--encre-2); }
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 4px; background: rgba(246, 239, 225, .06); border: 1px solid var(--ligne-claire); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-family: var(--titre); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 3px; border: 1.5px solid var(--gentiane); color: var(--gentiane); font-family: var(--texte); font-size: 1.2rem; transition: transform .3s var(--courbe); }
.faq__item[open] summary::after { content: "–"; background: var(--gentiane); color: var(--sapin); }
.faq__item p { margin: 0; padding: 0 18px 18px; color: var(--sur-sombre-2); }

/* ---------- Quiz ---------- */
.quiz { background: var(--papier); border-radius: 6px; padding: clamp(20px, 4vw, 42px); box-shadow: var(--ombre-forte); border: 1px solid var(--ligne); border-top: 4px solid var(--sapin); }
.quiz__tete { margin-bottom: 18px; }
.quiz__etape { margin: 0 0 8px; font-size: .78rem; letter-spacing: .13em; color: var(--mousse); }
.quiz__progression { height: 8px; border-radius: 1px; background: var(--creme-2); overflow: hidden; }
.quiz__progression span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--mousse) 0 14px, var(--mousse-2) 14px 16px); transition: width .5s var(--courbe); }
.quiz__question { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.quiz__question legend { font-family: var(--titre); font-weight: 700; font-size: clamp(1.55rem, 3.8vw, 2.25rem); line-height: 1.12; margin-bottom: 18px; padding: 0; display: flex; gap: 14px; align-items: baseline; }
.quiz__num { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 3px; background: var(--sapin); color: var(--gentiane); font-size: 1.35rem; transform: translateY(-3px); }
.quiz__choix { display: grid; gap: 10px; }
.quiz__option { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 18px; min-height: 58px; border-radius: 4px; border: 1.5px solid var(--bois-2); background: #FFFFFF; cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s, transform .3s var(--courbe); }
.quiz__option:hover { border-color: var(--mousse); transform: translateX(3px); }
.quiz__option input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 2px solid var(--mousse); background: #FFFFFF; display: grid; place-items: center; cursor: pointer; }
.quiz__option input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sapin); transform: scale(0); transition: transform .2s var(--courbe); }
.quiz__option input:checked::after { transform: scale(1); }
.quiz__option:has(input:checked) { border-color: var(--sapin); background: #EAF2EC; box-shadow: inset 4px 0 0 var(--sapin); }
.quiz__option input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.quiz__nav[hidden] { display: none; }
.quiz__confidentialite { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; font-size: .86rem; color: var(--encre-2); }
.quiz__confidentialite .ico { width: 20px; height: 20px; color: var(--mousse); }
.quiz--js .quiz__question { display: none; }
.quiz--js .quiz__question.est-active { display: block; }
@media (prefers-reduced-motion: no-preference) { .quiz--js .quiz__question.est-active { animation: entree .5s var(--courbe) both; } }
@keyframes entree { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.quiz-resultat { margin-top: 0; }
.quiz-resultat:focus { outline: none; }
.resultat { position: relative; isolation: isolate; overflow: hidden; background: var(--sapin); color: var(--sur-sombre); border-radius: 6px; padding: clamp(22px, 4.4vw, 46px); box-shadow: var(--ombre-forte); }
.resultat::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("courbes-de-niveau.svg") 50% 30% / cover no-repeat; opacity: .075; }
.resultat__surtitre { color: var(--gentiane); font-size: .78rem; letter-spacing: .14em; margin-bottom: 12px; }
.resultat__titre { font-size: clamp(1.9rem, 5.4vw, 3.5rem); line-height: 1.08; }
.resultat__intro { color: var(--sur-sombre-2); font-size: 1.06rem; max-width: 60ch; }
.resultat__barres { display: grid; gap: 14px; margin: 26px 0; }
.resultat__barre { display: grid; gap: 6px; }
.resultat__barre-tete { display: flex; justify-content: space-between; font-weight: 650; font-size: .95rem; }
.resultat__jauge { height: 12px; border-radius: 1px; background: rgba(246, 239, 225, .12); overflow: hidden; }
.resultat__jauge span { display: block; height: 100%; width: 0; transition: width 1s var(--courbe) .2s; }
.resultat__jauge--chien span { background: linear-gradient(90deg, #7F90C4, #AAB4BE); }
.resultat__jauge--chat span { background: linear-gradient(90deg, var(--gentiane), #F6D891); }
.resultat h3 { font-size: 1.5rem; margin-top: 26px; }
.resultat__raisons { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.resultat__raisons li { display: flex; gap: 10px; align-items: flex-start; color: var(--sur-sombre-2); }
.resultat__raisons .ico { width: 20px; height: 20px; color: var(--gentiane); margin-top: 3px; }
.resultat__alerte { margin-top: 22px; padding: 16px 18px; border-radius: 4px; background: rgba(226, 167, 46, .12); border: 1px solid rgba(226, 167, 46, .4); color: var(--sur-sombre); }
.resultat__alerte p { margin: 0 0 6px; }
.resultat__alerte p:last-child { margin: 0; }
.resultat .boutons { margin-top: 28px; }
.tableau-defile { overflow-x: auto; border-radius: var(--rayon); border: 1px solid var(--ligne); background: var(--papier); }
.comparatif { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .94rem; }
.comparatif th, .comparatif td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.comparatif thead th { background: var(--sapin); color: var(--sur-sombre); font-size: .78rem; letter-spacing: .12em; }
.comparatif thead th .ico { margin-right: 6px; color: var(--gentiane); }
.comparatif tbody th { font-weight: 700; color: var(--sapin); width: 28%; }
.comparatif tr:last-child th, .comparatif tr:last-child td { border-bottom: 0; }
.comparatif--chiffres td { font-variant-numeric: tabular-nums; }

/* ---------- Simulateur de budget ---------- */
.budget { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .budget { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .budget__resultat { position: sticky; top: calc(var(--entete) + 20px); } }
.budget__reglages { display: grid; gap: 16px; }
.budget__groupe { border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--papier); padding: 18px 18px 20px; margin: 0; min-width: 0; display: grid; gap: 14px; }
.budget__groupe legend { float: left; width: 100%; font-family: var(--titre); font-weight: 700; font-size: 1.4rem; line-height: 1.1; padding: 0; margin: 0; }
.budget__fixe { margin: 0; font-size: .92rem; color: var(--encre-2); }
.budget__fixe strong { color: var(--encre); }
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segments--trois { grid-template-columns: 1fr; }
@media (min-width: 560px) { .segments--trois { grid-template-columns: repeat(3, 1fr); } }
.segment { position: relative; display: block; cursor: pointer; }
.segment input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segment > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; height: 100%; padding: 10px 12px; text-align: center; border-radius: 4px; border: 1.5px solid var(--bois-2); background: #FFFFFF; font-weight: 650; font-size: .92rem; line-height: 1.2; transition: background .2s, color .2s, border-color .2s; }
.segment > span .ico { width: 24px; height: 24px; }
.segment small { font-weight: 500; font-size: .8rem; color: var(--encre-2); }
.segment input:checked + span { background: var(--sapin); border-color: var(--sapin); color: var(--sur-sombre); box-shadow: inset 0 -3px 0 var(--gentiane); }
.segment input:checked + span small { color: var(--gentiane); }
.segment input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.curseur { display: grid; gap: 8px; font-weight: 650; font-size: .92rem; }
.curseur > span { display: flex; justify-content: space-between; gap: 12px; }
.curseur output { font-size: 1.3rem; color: var(--sapin); white-space: nowrap; }
.curseur input[type="range"] { width: 100%; accent-color: var(--mousse); height: 30px; cursor: pointer; }
.interrupteur { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 650; font-size: .94rem; }
.interrupteur input { appearance: none; -webkit-appearance: none; flex: none; width: 50px; height: 28px; border-radius: 3px; background: var(--bois-2); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.interrupteur input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 2px; background: #FFFFFF; box-shadow: 0 1px 0 rgba(0, 0, 0, .25); transition: transform .25s var(--courbe); }
.interrupteur input:checked { background: var(--mousse); }
.interrupteur input:checked::after { transform: translateX(22px); }
.interrupteur small { display: block; font-weight: 500; color: var(--encre-2); }
.budget__resultat { display: grid; gap: 14px; }
.budget__carte { position: relative; isolation: isolate; overflow: hidden; background: var(--sapin); color: var(--sur-sombre); border-radius: 6px; padding: clamp(22px, 3.6vw, 34px); box-shadow: var(--ombre-forte); border-top: 4px solid var(--gentiane); }
.budget__titre { margin: 0 0 6px; font-size: .76rem; letter-spacing: .14em; color: var(--gentiane); }
.budget__total { margin: 0; font-size: clamp(3.1rem, 9vw, 4.6rem); line-height: 1; }
.budget__mois { color: var(--sur-sombre-2); }
.budget__mois strong { color: var(--sur-sombre); }
.budget__barre { display: flex; height: 16px; border-radius: 1px; overflow: hidden; background: rgba(246, 239, 225, .12); margin: 16px 0; gap: 2px; }
.budget__barre span { height: 100%; transition: width .6s var(--courbe); }
.budget__postes { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: .94rem; }
.budget__postes li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; }
.budget__postes i { width: 12px; height: 12px; border-radius: 1px; }
.budget__postes strong { font-variant-numeric: tabular-nums; }
.budget__suivantes { font-size: .9rem; color: var(--sur-sombre-2); }
.budget__suivantes strong { color: var(--gentiane); }
.budget__avertissement { display: flex; gap: 10px; margin: 0; padding: 14px; border-radius: 4px; background: rgba(246, 239, 225, .08); font-size: .84rem; color: var(--sur-sombre-2); }
.budget__avertissement .ico { width: 20px; height: 20px; color: var(--gentiane); margin-top: 1px; }
.budget__avertissement strong { color: var(--sur-sombre); }
.budget__flottant { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 4px; background: var(--sapin); color: var(--sur-sombre); box-shadow: var(--ombre-forte); border-left: 4px solid var(--gentiane); font-weight: 650; }
.budget__flottant strong { font-size: 1.55rem; color: var(--gentiane); }
.budget__flottant[hidden] { display: none; }
@media (min-width: 1000px) { .budget__flottant { display: none; } }

/* ---------- Carnet privé ---------- */
.carnet-tete { background: var(--sapin); color: var(--sur-sombre); padding-block: clamp(36px, 6vw, 80px); position: relative; overflow: hidden; }
.carnet-tete__in { display: grid; gap: 28px; align-items: center; position: relative; }
@media (min-width: 760px) { .carnet-tete__in { grid-template-columns: 220px 1fr; gap: 36px; } }
.carnet-tete__visuel { width: min(220px, 60vw); }
.carnet-tete .puces { margin: 18px 0 0; }
.carnet-grille { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 980px) { .carnet-grille { grid-template-columns: 1fr 1.2fr; } }
.carnet-bloc .titre-petit { margin-top: 18px; }
.conseils { display: grid; gap: 16px; }
@media (min-width: 820px) { .conseils { grid-template-columns: repeat(3, 1fr); } }
.conseil { padding: 24px; border-radius: var(--rayon); background: var(--creme); border: 1px solid var(--ligne); border-top: 3px solid var(--gentiane); }
.conseil__num { font-size: 2.4rem; line-height: 1; color: var(--gentiane-fonce); }
.conseil h3 { font-size: 1.45rem; margin: 10px 0 6px; }
.conseil p { margin: 0; color: var(--encre-2); }
.carnet-contacts { display: grid; gap: 14px; margin-top: 28px; padding: 20px; border-radius: var(--rayon); background: var(--creme-2); }
@media (min-width: 820px) { .carnet-contacts { grid-template-columns: 1fr 1fr; } }
.carnet-contacts p { display: flex; gap: 12px; margin: 0; }
.carnet-contacts .ico { width: 24px; height: 24px; color: var(--mousse); }
.carnet-contacts strong { display: block; }
.carnet-contacts a { color: var(--mousse); font-weight: 650; }
.historique { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.historique li { padding: 14px 16px; border-radius: 4px; background: rgba(246, 239, 225, .06); border: 1px solid var(--ligne-claire); }
.historique p { margin: 0 0 6px; }
.historique small { color: var(--sur-sombre-2); }
.etat { font-weight: 700; }
.etat--publiee { color: #9FDDBC; }
.etat--a_valider { color: var(--gentiane); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .contact { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); } }
.contact__infos { display: grid; gap: 22px; justify-items: start; }
.carte-plan { width: calc(100% - 6px); overflow: hidden; }
.plan { display: block; width: 100%; height: auto; }
.plan use { fill: currentColor; }
.coordonnees { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.coordonnees li { display: flex; gap: 14px; align-items: flex-start; }
.coordonnees .ico { width: 40px; height: 40px; padding: 9px; border-radius: 3px; background: var(--sapin); color: var(--gentiane); }
.coordonnees strong { display: block; }
.coordonnees a { color: var(--mousse); font-weight: 650; overflow-wrap: anywhere; }

/* ---------- Pages légales ---------- */
.texte-legal h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 1.6em; }
.texte-legal p { color: var(--encre-2); }
.texte-legal .message { color: var(--encre); }
.texte-legal .message .ico { color: var(--mousse); }

/* ---------- Page introuvable ---------- */
.introuvable { position: relative; min-height: 76vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; color: var(--sur-sombre); background: var(--sapin); }
.introuvable__fond { position: absolute; inset: 0; z-index: -2; }
.introuvable__fond .paysage { width: 100%; height: 100%; display: block; }
.introuvable::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 30, 23, .85), rgba(10, 30, 23, .74) 60%, rgba(10, 30, 23, .88)); }
.introuvable__in { padding-block: 72px; }
.introuvable__code { font-size: clamp(6rem, 22vw, 13rem); line-height: .82; margin: 0 0 .1em; color: var(--gentiane); }
.introuvable .boutons { margin-top: 28px; }

/* ---------- Bande GoodWebsites (avant le pied) et pied de page ---------- */
.bande-gw { background: var(--gentiane); color: var(--sapin); position: relative; z-index: 1; }
.bande-gw__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 26px 92px; }
.bande-gw__texte { margin: 0; max-width: 68ch; font-size: .98rem; }
.bande-gw__texte strong { font-family: var(--titre); font-weight: 700; font-size: 1.42rem; display: block; line-height: 1.12; }
.bande-gw__lien { display: inline-flex; align-items: center; min-height: 50px; padding: 12px 20px; border-radius: 3px; background: var(--sapin); color: var(--sur-sombre); font-weight: 700; text-decoration: none; transition: transform .3s var(--courbe), background .2s; }
.bande-gw__lien:hover { background: var(--nuit); transform: translateY(-2px); }
@media (max-width: 420px) { .bande-gw__lien { font-size: .9rem; padding: 12px 16px; } }
.pied { position: relative; background: var(--nuit); color: var(--sur-sombre-2); padding-top: 24px; z-index: 2; }
.pied__sapins { position: absolute; left: 0; right: 0; bottom: 100%; height: 72px; color: var(--nuit); pointer-events: none; }
.pied__sapins svg { width: 100%; height: 100%; display: block; }
.pied__sapins use { fill: currentColor; }
.pied__grille { display: grid; gap: 36px; padding-block: 32px 40px; }
@media (min-width: 900px) { .pied__grille { grid-template-columns: 1.4fr 1fr 1.1fr; } }
.logo--pied { color: var(--sur-sombre); margin-bottom: 14px; }
.logo--pied .logo__sous { white-space: normal; }
.pied__marque p { max-width: 46ch; font-size: .94rem; }
.pied__titre { font-size: .76rem; letter-spacing: .16em; color: var(--gentiane); margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { color: var(--sur-sombre); text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.pied__contact .ico { color: var(--gentiane); margin-top: 2px; }
.pied__contact .bouton { margin-top: 16px; }
.pied__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-block: 18px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(246, 239, 225, .12); font-size: .84rem; }
.pied__legal p { margin: 0; }
.pied__gw a { color: var(--gentiane); font-weight: 700; }

/* ---------- Animations liées au défilement (amélioration progressive) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .revele { animation: revele linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .courbe__trace { stroke-dasharray: 1; animation: trace linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    .courbe__aire { animation: fondu linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
  }
  @supports (animation-timeline: scroll()) {
    .heros .couche--1 { animation: parallaxe-1 linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .heros .couche--2 { animation: parallaxe-2 linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .heros .couche--3 { animation: parallaxe-3 linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .heros .couche--4 { animation: parallaxe-4 linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .heros__contenu { animation: heros-contenu linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  }
  /* Repli (Firefox…) : IntersectionObserver ajoute .est-visible. */
  .sans-timeline .revele { opacity: 0; translate: 0 26px; transition: opacity .8s var(--courbe), translate .8s var(--courbe); }
  .sans-timeline .revele.est-visible { opacity: 1; translate: 0 0; }
  .sans-timeline .courbe__trace { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--courbe) .2s; }
  .sans-timeline .courbe.est-visible .courbe__trace { stroke-dashoffset: 0; }
}
@keyframes revele { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes parallaxe-1 { to { transform: translateY(30px); } }
@keyframes parallaxe-2 { to { transform: translateY(70px); } }
@keyframes parallaxe-3 { to { transform: translateY(120px); } }
@keyframes parallaxe-4 { to { transform: translateY(180px); } }
@keyframes heros-contenu { to { opacity: .2; translate: 0 -60px; } }

/* ---------- Transitions entre pages (Chrome 126+, Safari 18.2+) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .carte-petit:hover, .race:hover, .outil:hover, .bouton:hover, .parcours__carte:hover, .vignette:hover, .parent-ligne:hover, .quiz__option:hover { transform: none; }
}

/* ---------- Impression ---------- */
@media print {
  .ruban-demo, .entete, .bande-gw, .pied, .barre-action, .menu-mobile, .filtres { display: none !important; }
  .bande--sapin, .intro--sapin, .carnet-tete { background: #FFFFFF !important; color: #000000 !important; }
  .bande--sapin::before, .bande--mousse::before, .carnet-tete::before, .resultat::before { display: none; }
}
