/* Rhiino V2 · direction « Contraste » (choisie le 11/11/2026). Une seule feuille, rangée par composants. */

/* ── Police ── */
@font-face {
  font-family: 'Archivo';
  src: url('archivo.woff2') format('woff2');
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}

/* ── Jetons ── */
:root {
  --fond: #14180f;
  --surface: #1e2318;
  --surface-2: #272d20;
  --texte: #f2f2ec;
  --texte-2: #c3c8bb;
  --discret: #8f9586;
  --trait: rgba(242, 242, 236, 0.1);
  --citron: #c5f135;
  --citron-clair: #d4f75e;
  --sur-citron: #14180f;
  --rayon: 20px;
  --rayon-s: 14px;
  --largeur: 1240px;
  --gouttiere: 24px;
  --police: 'Archivo', system-ui, sans-serif;
  --titre-large: 118%;
  /* Échelle des titres (retour de Maxime, 11/11) : un H1, un H2 nettement plus petit, pas de troisième taille géante. */
  --t-h1: clamp(2.1rem, 3.6vw, 3.3rem);
  --t-h2: clamp(1.6rem, 2.5vw, 2.2rem);
  --sortie: cubic-bezier(.22, 1, .36, 1);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { font-family: var(--police); background: var(--fond); color: var(--texte); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
sup.r { font-size: .55em; vertical-align: .6em; line-height: 0; }
h1, h2, h3, h4 { font-stretch: var(--titre-large); font-weight: 760; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--citron); outline-offset: 3px; border-radius: 6px; }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--citron); color: var(--sur-citron); border-radius: 8px; font-weight: 650; }
.evitement:focus { left: 8px; }
.fl { display: inline-block; transition: transform .15s ease; }
a:hover > .fl { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.bandeau-preversion { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; padding: 8px 16px; background: var(--citron); color: var(--sur-citron); font-size: .82rem; }
.bandeau-preversion a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ── En-tête ── */
.entete { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 16px max(var(--gouttiere), calc((100% - var(--largeur)) / 2 + var(--gouttiere))); background: color-mix(in srgb, var(--fond) 90%, transparent); backdrop-filter: blur(12px); }
.logo img { width: 190px; height: auto; }
.menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.menu-liens { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 5px; border-radius: 999px; background: var(--surface); font-weight: 500; font-size: .93rem; }
.menu-liens > li > a, .menu-dd > button { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: var(--texte-2); cursor: pointer; }
.menu-liens > li > a:hover, .menu-dd > button:hover, .menu-dd > button[aria-expanded="true"] { background: var(--surface-2); color: var(--texte); }
.menu-liens [aria-current="page"] { color: var(--texte); background: var(--surface-2); }
.menu-dd { position: relative; }
.menu-dd svg { transition: transform .15s ease; transform-box: fill-box; transform-origin: center; }
.menu-dd > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-panneau { display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: min(720px, 90vw); grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 24px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--trait); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.menu-dd > button[aria-expanded="true"] + .menu-panneau { display: grid; }
.menu-panneau-titre { font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--citron); margin-bottom: 10px; }
.menu-panneau ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.menu-panneau a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: .92rem; color: var(--texte-2); }
.menu-panneau a:hover { background: var(--surface-2); color: var(--texte); }
.menu-panneau svg { width: 18px; height: 18px; color: var(--citron); flex-shrink: 0; }
.menu-actions { display: flex; align-items: center; gap: 18px; }
.menu-espace { font-size: .93rem; font-weight: 500; color: var(--texte-2); }
.menu-espace:hover { color: var(--texte); }
.burger { display: none; }

/* ── Boutons et liens ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 24px; border-radius: 999px; font-weight: 650; font-size: 1rem; line-height: 1.2; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:active { transform: scale(.98); }
.btn--principal { background: var(--citron); color: var(--sur-citron); }
.btn--principal:hover { background: var(--citron-clair); }
.btn--second { border: 1.5px solid rgba(242, 242, 236, .25); }
.btn--second:hover { border-color: var(--texte); }
.btn--petit { padding: 10px 18px; font-size: .92rem; }
.lien-fleche { display: inline-flex; gap: 6px; margin-top: 28px; font-weight: 650; color: var(--citron); }
.lien-fleche:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Sections ── */
section { max-width: var(--largeur); margin: 0 auto; padding: 104px var(--gouttiere); }
section + section { padding-top: 32px; }
.section-separee { padding-top: 104px !important; background: linear-gradient(var(--trait), var(--trait)) no-repeat top center / calc(100% - 2 * var(--gouttiere)) 1px; }
.surtitre { display: inline-block; font-size: .8rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--citron); margin-bottom: 18px; }
.section-tete { max-width: 820px; margin-bottom: 48px; }
h2 { font-size: var(--t-h2); }
.chapo { margin-top: 20px; font-size: 1.15rem; color: var(--texte-2); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.coches { list-style: none; display: grid; gap: 9px; }
.coches li { position: relative; padding-left: 26px; }
.coches li::before { content: ''; position: absolute; left: 1px; top: .48em; width: 12px; height: 7px; border-left: 2px solid var(--citron); border-bottom: 2px solid var(--citron); transform: rotate(-45deg); }
.coches--2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.carte { padding: 32px; background: var(--surface); border-radius: var(--rayon); }
.carte h3 { font-size: 1.35rem; }
.carte p { margin-top: 10px; color: var(--texte-2); }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.num { counter-reset: num; }
.num > .carte h3::before { counter-increment: num; content: counter(num, decimal-leading-zero); display: block; margin-bottom: 22px; font-size: .95rem; color: var(--citron); letter-spacing: .05em; }

/* ── Fil d'Ariane ── */
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .85rem; color: var(--discret); margin-bottom: 28px; }
.ariane li + li::before { content: '/'; margin-right: 8px; opacity: .6; }
.ariane a:hover { color: var(--texte); }

/* ── Accueil : hero (titre en face du carrousel des réalisations) ── */
.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; padding-top: 56px; }
.hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-stretch: 120%; font-weight: 800; }
.marque { color: var(--citron); }
.hero .chapo { margin-top: 22px; }
.reperes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--trait); font-size: .9rem; line-height: 1.4; color: var(--texte-2); }
.reperes li { display: grid; align-content: start; gap: 4px; padding: 0 20px; border-left: 1px solid var(--trait); }
.reperes li:first-child { padding-left: 0; border-left: 0; }
.reperes strong { color: var(--texte); font-size: 1rem; font-weight: 650; }

/* ── Carrousel des réalisations ── */
.slider { min-width: 0; }
.slider-piste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--rayon); scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-piste::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.slide-lien { display: block; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.slide:hover img { transform: scale(1.02); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10, 12, 8, .85)); pointer-events: none; }
.slide-legende { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; display: grid; gap: 2px; }
.slide-legende strong { font-stretch: 112%; font-weight: 760; font-size: 1.25rem; }
.slide-legende span { font-size: .88rem; color: var(--texte-2); }
.slider-commandes { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.slider-btn, .slider-pause { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--surface); color: var(--texte); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.slider-btn:hover, .slider-pause:hover { background: var(--citron); color: var(--sur-citron); }
.slider-pause { margin-left: auto; }
.slider-pause .ic-lecture, .slider-pause[aria-pressed="true"] .ic-pause { display: none; }
.slider-pause[aria-pressed="true"] .ic-lecture { display: inline; }
.slider-points { display: flex; gap: 6px; padding: 0 6px; }
.slider-points button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(242, 242, 236, .25); cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.slider-points button[aria-current] { width: 24px; background: var(--citron); }
figcaption { margin-top: 12px; font-size: .85rem; color: var(--discret); }

/* ── En-tête de page intérieure ── */
.page-tete { padding-top: 48px; padding-bottom: 72px; }
.page-tete h1 { font-size: var(--t-h1); font-stretch: 118%; font-weight: 800; max-width: 18ch; }
.page-tete--aside { display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 56px; align-items: end; }
.page-tete--aside .ariane { grid-column: 1 / -1; }
.page-tete--aside h1 { max-width: none; }
.page-tete-aside img { border-radius: var(--rayon); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
/* En-tête à photo pleine largeur (pages métier) : texte à gauche sur un dégradé, la photo reste lisible à droite. */
.page-tete--image { position: relative; max-width: none; margin: 0; padding: 0 !important; min-height: min(78vh, 680px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.page-tete-fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.page-tete--image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 24, 15, .94) 0%, rgba(20, 24, 15, .82) 38%, rgba(20, 24, 15, .25) 70%, rgba(20, 24, 15, .1) 100%), linear-gradient(0deg, var(--fond) 0%, transparent 22%); }
.page-tete-contenu { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 48px var(--gouttiere) 88px; }
.page-tete--image .page-tete-texte { max-width: 640px; }
.page-tete--image h1 { max-width: none; }
.page-tete--image .chapo { color: #dfe2d9; }
.page-tete--image .ariane ol { color: #b9beb0; }
.page-tete--image + section { padding-top: 56px !important; }
.encart-prix { padding: 32px; border-radius: var(--rayon); background: var(--citron); color: var(--sur-citron); }
.encart-prix .ep-label { font-size: .8rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; opacity: .7; }
.encart-prix .ep-prix { margin-top: 8px; font-size: 1rem; }
.encart-prix .ep-prix strong { font-size: 3rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; }
.encart-prix .ep-ou { margin-top: 4px; font-size: .95rem; opacity: .8; }
.encart-prix ul { list-style: none; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(20, 24, 15, .18); display: grid; gap: 6px; font-size: .95rem; }
.encart-prix li strong { font-weight: 700; }

/* ── Offre : étapes, formules, packs, besoins ── */
.etape { padding: 56px 0 0; }
.etape + .etape { margin-top: 56px; border-top: 1px solid var(--trait); }
.etape-tete { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: end; margin-bottom: 32px; }
.etape-num { font-stretch: 125%; font-weight: 800; font-size: 3.4rem; line-height: .8; color: var(--citron); }
.etape-tete h3 { font-size: 1.6rem; }
.etape-tete p { margin-top: 8px; color: var(--texte-2); }
.bascule { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); }
.bascule button { font-weight: 650; font-size: .93rem; padding: 9px 20px; border: 0; border-radius: 999px; background: none; color: var(--texte-2); cursor: pointer; }
.bascule button[aria-pressed="true"] { background: var(--texte); color: var(--fond); }
[data-mode="comptant"] .prix-flex, [data-mode="flex"] .prix-comptant { display: none; }

.formules { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: stretch; }
.formules--2 { grid-template-columns: 1fr 1fr; }
.formule { display: flex; flex-direction: column; padding: 32px; background: var(--surface); border-radius: var(--rayon); border: 1.5px solid transparent; }
.formule--phare { background: var(--citron); color: var(--sur-citron); }
.formule--actuelle { border-color: var(--citron); }
.formule--phare.formule--actuelle { border-color: transparent; box-shadow: 0 0 0 4px var(--fond), 0 0 0 6px var(--citron); }
.formule-pour { font-size: .78rem; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; color: var(--discret); }
.formule--phare .formule-pour, .formule--phare .prix-note, .formule--phare .formule-resume, .formule--phare .prix { color: rgba(20, 24, 15, .72); }
.formule-nom { font-size: 1.9rem; margin-top: 8px; }
.formule-resume { margin-top: 10px; color: var(--texte-2); min-height: 3.1em; }
.prix { margin-top: 24px; color: var(--texte-2); }
.prix strong { font-size: 2.6rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; color: var(--texte); }
.formule--phare .prix strong { color: var(--sur-citron); }
.prix-note { font-size: .88rem; color: var(--discret); margin-bottom: 24px; }
.formule .coches { font-size: .95rem; }
.formule--phare .coches li::before { border-color: var(--sur-citron); }
.formule-delai { margin-top: auto; padding-top: 24px; font-weight: 650; font-size: .92rem; }
.formule .lien-fleche { margin-top: 14px; align-self: flex-start; font-size: .95rem; }
.formule--phare .lien-fleche { color: var(--sur-citron); text-decoration: underline; text-underline-offset: 4px; }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pack { display: flex; flex-direction: column; padding: 28px; background: var(--surface); border-radius: var(--rayon); border: 1.5px solid transparent; }
.pack--phare { border-color: var(--citron); }
.pack h3 { font-size: 1.3rem; }
.pack .prix { margin-top: 10px; }
.pack .prix strong { font-size: 2.1rem; }
.pack-rubrique { margin-top: 18px; font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--discret); }
.pack-communs { margin-top: 10px; gap: 7px; font-size: .95rem; }
.pack-plus { margin-top: auto; padding-top: 18px; }
.pack-plus .pack-heures { margin-top: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pack-heures { margin-top: 14px; }
.pack-heures strong { color: var(--citron); }
.pack-extra { font-size: .9rem; color: var(--discret); margin-top: 4px; }
/* Étape 04 de /offres/ : crédits IA compris et paliers (16/11/2026). */
.packs--4 { grid-template-columns: repeat(4, 1fr); }
.pack-modules { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; color: var(--texte-2); }
.pack-modules::before { content: 'Modules : '; color: var(--discret); }
.pack--recommande { position: relative; }
.pack-badge { position: absolute; top: -11px; left: 26px; padding: 3px 10px; border-radius: 999px; background: var(--citron); color: var(--sur-citron); font-size: .72rem; font-weight: 650; letter-spacing: .02em; }
@media (max-width: 1100px) { .packs--4 { grid-template-columns: repeat(2, 1fr); } }

.besoins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.besoin { padding: 28px; background: var(--surface); border-radius: var(--rayon); }
.besoin h3 { font-size: 1.2rem; color: var(--citron); margin-bottom: 12px; }
.besoin ul { list-style: none; }
.besoin li + li { border-top: 1px solid var(--trait); }
.besoin a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-weight: 500; }
.besoin a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.besoin-prix { flex-shrink: 0; font-size: .88rem; color: var(--discret); font-variant-numeric: tabular-nums; }

/* ── Tableau comparatif ── */
.comparatif-cadre { overflow-x: auto; border-radius: var(--rayon); background: var(--surface); }
.comparatif { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.comparatif th, .comparatif td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--trait); }
.comparatif thead th { font-stretch: var(--titre-large); font-weight: 760; font-size: 1.1rem; }
.comparatif thead th.phare { color: var(--citron); }
.comparatif tbody th { font-weight: 500; color: var(--texte-2); width: 34%; }
.comparatif tbody tr:last-child > * { border-bottom: 0; }
.comparatif .oui { color: var(--citron); font-weight: 700; }
.comparatif .non { color: var(--discret); }
.comparatif td.phare { background: rgba(197, 241, 53, .05); }

/* ── Étapes numérotées ── */
.etapes-liste { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: et; }
.etapes-liste li { padding: 28px; border-radius: var(--rayon); background: var(--surface); }
.etapes-liste li::before { counter-increment: et; content: counter(et); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px; border-radius: 50%; background: var(--citron); color: var(--sur-citron); font-weight: 800; }
.etapes-liste h3 { font-size: 1.15rem; }
.etapes-liste p { margin-top: 8px; color: var(--texte-2); font-size: .95rem; }

/* ── Mise en avant (aplat) ── */
.aplat { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 28px; background: var(--surface-2); }
.aplat h2 { font-size: var(--t-h2); }
.aplat p { margin-top: 16px; color: var(--texte-2); }
.aplat--citron { background: var(--citron); color: var(--sur-citron); }
.aplat--citron p { color: rgba(20, 24, 15, .78); }
.aplat--citron .coches li::before { border-color: var(--sur-citron); }
.aplat--citron .lien-fleche { color: var(--sur-citron); text-decoration: underline; text-underline-offset: 4px; }

/* ── Catalogue des fonctionnalités ── */
.ancres { position: sticky; top: 90px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; background: var(--fond); }
.ancres a { padding: 9px 18px; border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .93rem; color: var(--texte-2); }
.ancres a:hover { background: var(--citron); color: var(--sur-citron); }
.compris { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 14px 28px; align-items: start; padding: 32px; border-radius: var(--rayon); border: 1.5px solid var(--citron); }
.compris-titre { font-stretch: var(--titre-large); font-weight: 760; font-size: 1.25rem; max-width: 12ch; }
.compris h3 { font-size: 1.05rem; }
.compris p { margin-top: 6px; font-size: .92rem; color: var(--texte-2); }
.besoin-bloc { padding-top: 72px; }
.besoin-bloc > header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 28px; }
.besoin-bloc h2 { font-size: var(--t-h2); }
.besoin-bloc > header p { color: var(--texte-2); max-width: 46ch; }
.fonctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fonction { display: flex; flex-direction: column; padding: 26px; border-radius: var(--rayon); background: var(--surface); transition: background-color .15s ease; }
a.fonction:hover { background: var(--surface-2); }
.fonction h3 { font-size: 1.2rem; }
.fonction p { margin-top: 8px; color: var(--texte-2); font-size: .95rem; }
.fonction-pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
.fonction-prix { font-weight: 650; font-variant-numeric: tabular-nums; }
.fonction-plus { color: var(--citron); font-weight: 650; font-size: .92rem; }
.note-besoin { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 20px 26px; border-radius: var(--rayon); border: 1.5px dashed rgba(197, 241, 53, .5); }
.note-besoin a { color: var(--citron); font-weight: 650; }

/* ── Métier ── */
.douleurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--rayon); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split h2 { font-size: var(--t-h2); margin-bottom: 28px; }
.ville { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.puces span, .puces a { padding: 7px 14px; border-radius: 999px; background: var(--surface-2); font-size: .9rem; color: var(--texte-2); }
.puces a:hover { background: var(--citron); color: var(--sur-citron); }
.secteurs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.secteurs a { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px 16px 18px; border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 1.05rem; transition: background-color .15s ease, color .15s ease; }
.secteurs a:hover { background: var(--citron); color: var(--sur-citron); }
.secteurs svg { width: 22px; height: 22px; color: var(--citron); }
.secteurs a:hover svg { color: var(--sur-citron); }

/* ── Réalisations ── */
.rea-grille { display: grid; grid-template-columns: 1.6fr 1fr; grid-auto-rows: 270px; gap: 14px; }
.rea { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; background: var(--surface); }
.rea:first-child { grid-row: span 2; }
.rea img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rea:hover img { transform: scale(1.03); }
.rea::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(10, 12, 8, .85)); pointer-events: none; }
.rea-nom, .rea-lieu { position: absolute; left: 20px; right: 20px; z-index: 1; }
.rea-nom { bottom: 42px; font-weight: 760; font-stretch: 112%; font-size: 1.25rem; }
.rea-lieu { bottom: 18px; font-size: .88rem; color: var(--texte-2); }

/* ── Cartes d'articles ── */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-carte { display: flex; flex-direction: column; border-radius: var(--rayon); overflow: hidden; background: var(--surface); }
.article-carte img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article-carte div { padding: 22px 24px 26px; }
.article-carte .cat { font-size: .75rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--citron); }
.article-carte h3 { margin-top: 8px; font-size: 1.15rem; line-height: 1.2; }
/* Survol sans soulignement (16/11/2026, demande de Maxime) : le titre passe en citron. */
.article-carte h3 { transition: color .15s ease; }
.article-carte:hover h3 { color: var(--citron); }

/* ── Article ── */
.article-tete { max-width: 900px; padding-bottom: 40px; }
.article-tete h1 { font-size: clamp(2rem, 3.4vw, 3rem); font-stretch: 112%; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 28px; font-size: .9rem; color: var(--discret); }
.article-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.article-meta strong { color: var(--texte); font-weight: 600; }
.article-couverture { padding-top: 0; padding-bottom: 0; }
.article-couverture img { border-radius: var(--rayon); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-corps { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 64px; justify-content: center; }
.sommaire { position: sticky; top: 116px; align-self: start; }
.sommaire p { font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--citron); margin-bottom: 12px; }
.sommaire ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--trait); }
.sommaire a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .9rem; color: var(--texte-2); line-height: 1.35; }
.sommaire a:hover { color: var(--texte); border-left-color: var(--citron); }
.prose { font-size: 1.08rem; line-height: 1.75; color: #dfe2d9; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 1.85rem; color: var(--texte); }
.prose h3 { margin-top: 1.8em; font-size: 1.3rem; color: var(--texte); }
.prose strong { color: var(--texte); }
.prose a { color: var(--citron); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--citron); }
.prose img { border-radius: var(--rayon-s); }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 3px solid var(--citron); color: var(--texte); }
.encart-article { margin: 2.4em 0; padding: 28px; border-radius: var(--rayon); background: var(--citron); color: var(--sur-citron); }
.encart-article p { color: rgba(20, 24, 15, .8); margin-top: 8px; }
.encart-article strong { color: var(--sur-citron); font-size: 1.2rem; font-stretch: var(--titre-large); }
.encart-article .btn { margin-top: 16px; background: var(--sur-citron); color: var(--citron); text-decoration: none; }
.auteur { display: flex; gap: 20px; align-items: center; margin-top: 3em; padding: 24px; border-radius: var(--rayon); background: var(--surface); font-size: .95rem; color: var(--texte-2); line-height: 1.55; }
.auteur img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.auteur strong { display: block; color: var(--texte); font-size: 1.05rem; }

/* ── FAQ ── */
.faq-liste { display: grid; gap: 10px; max-width: 900px; }
.faq details { border-radius: var(--rayon-s); background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-weight: 650; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { position: relative; padding-right: 74px; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 26px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; }
/* Icône : pastille + deux traits (le vertical se couche à l'ouverture : + devient −) */
.faq summary::after { background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat, var(--surface-2); color: var(--citron); }
.faq details[open]:not([data-ouvert=""]) summary::after { background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, var(--surface-2); }
.faq summary:focus-visible { outline: 2px solid var(--citron); outline-offset: 2px; border-radius: var(--rayon-s); }
.faq details[open]:not([data-ouvert=""]) summary { color: var(--citron); }
.faq-rep { padding: 0 26px 24px; color: var(--texte-2); max-width: 70ch; overflow: hidden; }
.faq-rep p + p { margin-top: .8em; }
.faq-lien { font-size: .95rem; }
/* Page /faq/ : recherche, sommaire des rubriques, rubriques */
.faq-recherche { margin-bottom: 22px; }
.faq-sommaire { margin-top: 0; }
.faq-sommaire a span { margin-left: 6px; padding: 0; background: none; color: inherit; opacity: .6; font-size: .85em; }
.faq-sommaire.faq-cachee { display: none; }
.faq-rubrique { scroll-margin-top: 90px; }
.faq details { scroll-margin-top: 110px; }
.faq details.faq-cachee, .faq-rubrique.faq-cachee { display: none; }
.faq-vide { text-align: center; color: var(--texte-2); }

/* ── Appel final ── */
.appel { margin: 32px var(--gouttiere) var(--gouttiere); max-width: none; padding: 112px 24px !important; border-radius: 32px; background: var(--citron); color: var(--sur-citron); text-align: center; }
.appel h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-stretch: 120%; font-weight: 800; }
.appel p { margin: 18px auto 0; max-width: 52ch; font-size: 1.1rem; color: rgba(20, 24, 15, .75); }
.appel .actions { justify-content: center; }
.appel .btn--principal { background: var(--sur-citron); color: var(--citron); }
.appel .btn--principal:hover { background: #000; }
.appel .btn--second { border-color: rgba(20, 24, 15, .3); }
.appel .btn--second:hover { border-color: var(--sur-citron); }

/* ── Pied de page ── */
.pied { max-width: var(--largeur); margin: 0 auto; padding: 72px var(--gouttiere) 40px; font-size: .92rem; color: var(--texte-2); }
.pied-haut { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.pied-marque img { width: 170px; height: auto; margin-bottom: 16px; }
.pied-marque p { max-width: 30ch; }
.pied-contact { margin-top: 14px; color: var(--discret); }
.pied-titre { font-weight: 650; color: var(--texte); margin-bottom: 12px; }
.pied ul { list-style: none; display: grid; gap: 7px; }
.pied a:hover { color: var(--citron); }
.pied-villes { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--trait); color: var(--discret); line-height: 2; }
.pied-villes a { margin-right: 14px; color: var(--texte-2); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: .82rem; color: var(--discret); }
.pied-bas a { margin-left: 16px; }

/* ── Page d'index des maquettes ── */
.maquettes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.maquettes a { display: block; padding: 28px; border-radius: var(--rayon); background: var(--surface); }
.maquettes a:hover { background: var(--surface-2); }
.maquettes small { display: block; margin-top: 8px; color: var(--texte-2); font-size: .92rem; }

/* ── Tablette ── */
@media (max-width: 1180px) {
  .entete { justify-content: space-between; }
  .entete { backdrop-filter: none; background: var(--fond); }
  .logo, .burger { position: relative; z-index: 2; }
  .burger { display: grid; place-items: center; place-content: center; gap: 6px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--surface); cursor: pointer; }
  .burger span { display: block; width: 18px; height: 2px; background: var(--texte); border-radius: 2px; transition: transform .2s ease; }
  body.menu-ouvert .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-ouvert .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu { display: none; position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 96px var(--gouttiere) 32px; background: var(--fond); overflow-y: auto; }
  body.menu-ouvert { overflow: hidden; }
  body.menu-ouvert .menu { display: flex; }
  .menu-liens { flex-direction: column; margin: 0; padding: 0; background: none; font-size: 1.35rem; font-stretch: 112%; font-weight: 650; }
  .menu-liens > li { border-bottom: 1px solid var(--trait); }
  .menu-liens > li > a, .menu-dd > button { width: 100%; justify-content: space-between; padding: 18px 4px; border-radius: 0; color: var(--texte); }
  .menu-liens > li > a:hover, .menu-dd > button:hover, .menu-dd > button[aria-expanded="true"], .menu-liens [aria-current="page"] { background: none; }
  .menu-panneau { position: static; transform: none; width: auto; grid-template-columns: 1fr; gap: 20px; margin-bottom: 16px; padding: 0 4px; border: 0; box-shadow: none; background: none; font-stretch: 100%; font-weight: 500; }
  .menu-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 28px; }
  .menu-actions .btn { justify-content: center; padding: 16px; font-size: 1rem; }
  .menu-espace { text-align: center; }
  .formules, .besoins, .fonctions { grid-template-columns: 1fr 1fr; }
  .formule--phare { grid-column: span 2; order: -1; }
  .formules--2 .formule--phare { grid-column: auto; order: 0; }
  .etapes-liste { grid-template-columns: 1fr 1fr; }
  .pied-haut { grid-template-columns: repeat(3, 1fr); }
  .pied-marque { grid-column: 1 / -1; }
  .compris { grid-template-columns: repeat(2, 1fr); }
  .compris-titre { grid-column: 1 / -1; max-width: none; }
  .article-corps { grid-template-columns: minmax(0, 720px); }
  .sommaire { position: static; padding: 20px 24px; border-radius: var(--rayon); background: var(--surface); }
  .ancres { top: 90px; }
}

@media (max-width: 1024px) and (min-width: 761px) {
  .page-tete--image::after { background: linear-gradient(90deg, rgba(20, 24, 15, .95) 0%, rgba(20, 24, 15, .88) 55%, rgba(20, 24, 15, .45) 85%, rgba(20, 24, 15, .3) 100%), linear-gradient(0deg, var(--fond) 0%, transparent 22%); }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
}

/* ── Mobile ── */
@media (max-width: 760px) {
  :root { --gouttiere: 16px; }
  body { font-size: 16px; }
  .entete { padding: 12px var(--gouttiere); }
  .logo img { width: 160px; }
  .ancres { top: 73px; }
  section { padding: 72px var(--gouttiere); }
  section + section { padding-top: 24px; }
  .section-separee { padding-top: 72px !important; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; }
  .hero h1 { font-stretch: 110%; }
  .slide-legende strong { font-size: 1.1rem; }
  .page-tete { padding-top: 28px; padding-bottom: 48px; }
  .page-tete h1 { font-stretch: 108%; }
  .page-tete--aside { grid-template-columns: 1fr; row-gap: 32px; }
  .page-tete--image { min-height: 0; align-items: flex-end; }
  .page-tete-fond { object-position: 72% top; height: 62%; }
  .page-tete--image::after { background: linear-gradient(180deg, rgba(20, 24, 15, .75) 0, transparent 22%), linear-gradient(0deg, var(--fond) 38%, rgba(20, 24, 15, .7) 58%, rgba(20, 24, 15, .1) 100%); }
  .page-tete-contenu { padding: 32px var(--gouttiere) 40px; }
  .page-tete--image .ariane { margin-bottom: 150px; }
  .page-tete--image h1 { font-stretch: 108%; }
  .etape-tete { grid-template-columns: 1fr; gap: 12px; }
  .etape-num { font-size: 3rem; }
  .etape-tete h3 { font-size: 1.5rem; }
  .bascule { justify-self: start; }
  .formules, .formules--2, .besoins, .packs, .grille-3, .grille-2, .fonctions, .douleurs, .ville, .articles, .etapes-liste, .maquettes { grid-template-columns: 1fr; }
  .formule--phare { grid-column: auto; order: 0; }
  .formule-resume { min-height: 0; }
  .coches--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split img { aspect-ratio: 4 / 3; }
  .aplat { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .compris { grid-template-columns: 1fr; padding: 24px; }
  .rea-grille { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .rea:first-child { grid-row: auto; }
  .secteurs a { padding: 12px 18px 12px 14px; font-size: .95rem; }
  .carte, .formule, .pack, .besoin { padding: 24px; }
  .appel { margin: 24px 12px 12px; padding: 72px 20px !important; border-radius: 24px; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .pied-bas a { margin: 0 16px 0 0; }
  .article-couverture img { aspect-ratio: 16 / 10; }
  .auteur { flex-direction: column; align-items: flex-start; }
  .ancres { overflow-x: auto; flex-wrap: nowrap; margin: 0 calc(-1 * var(--gouttiere)); padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
  .ancres a { flex-shrink: 0; }
}

/* ── Utilitaires ── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sans-haut { padding-top: 0 !important; }
.etape-tete h2 { font-size: var(--t-h2); }
.split--haut { align-items: start; }
.surtitre--espace { margin-top: 36px; }

/* ── Partage d'un article ── */
.partage-titre { font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--citron); margin-bottom: 10px; }
.partage-liens { display: flex; flex-wrap: wrap; gap: 8px; }
.partage-liens a, .partage-liens button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--surface); color: var(--texte); cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.partage-liens a:hover, .partage-liens button:hover { background: var(--citron); color: var(--sur-citron); }
.partage-liens a:active, .partage-liens button:active { transform: scale(.94); }
.partage-liens svg { fill: currentColor; }
.partage-retour { min-height: 1.4em; margin-top: 8px; font-size: .85rem; color: var(--citron); }
.partage--tete { display: none; align-items: center; gap: 14px; margin-top: 22px; }
.partage--tete .partage-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.partage--tete .partage-retour { margin: 0; }
.partage--tete .partage-liens a, .partage--tete .partage-liens button { width: 38px; height: 38px; }
.partage--fin { margin-top: 3em; padding: 24px; border-radius: var(--rayon); border: 1.5px solid var(--trait); }
.partage--fin .partage-titre { font-size: .8rem; }
.partage--fin .partage-retour { min-height: 0; }
.article-cote { position: sticky; top: 116px; align-self: start; display: grid; gap: 28px; }
.article-cote .sommaire { position: static; }
@media (max-width: 1180px) {
  .article-cote { position: static; }
  .partage--cote { display: none; }
  .partage--tete { display: flex; }
}

/* ── Fond de carte des pages ville (retour de Maxime, 11/11) ──
   Dessin vectoriel des rues et de l'eau (site-v2/outils/carte-ville.mjs), rendu en 3200 × 1800. Données OpenStreetMap (ODbL) :
   l'attribution reste visible. Bande pleine largeur, contenu dans la largeur du site. */
.fond-carte { position: relative; isolation: isolate; max-width: none; overflow: hidden; padding: 104px max(var(--gouttiere), calc((100% - var(--largeur)) / 2 + var(--gouttiere))) !important; }
.page-tete--image + .fond-carte { padding-top: 104px !important; }
.fond-carte-img { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.fond-carte-img img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.fond-carte::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--fond) 0%, transparent 22%, transparent 78%, var(--fond) 100%), radial-gradient(ellipse at 75% 45%, transparent 35%, rgba(20, 24, 15, .5) 100%), linear-gradient(90deg, rgba(20, 24, 15, .45) 0%, transparent 55%); }
.fond-carte-credit { position: absolute; right: 12px; bottom: 8px; font-size: .7rem; color: var(--discret); }
@media (max-width: 760px) {
  .fond-carte, .page-tete--image + .fond-carte { padding-top: 72px !important; padding-bottom: 72px !important; }
}

/* ════ Lot 2 : socle commun à toutes les pages ════ */

/* ── Petits éléments ── */
.lien-bouton { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lien-bouton:hover { color: var(--citron); }
.appel-ecrire { margin-top: 22px !important; font-size: .98rem !important; }
.appel-ecrire .lien-bouton { font-weight: 650; color: var(--sur-citron); }
.appel-ecrire .lien-bouton:hover { color: #000; }
.pied-contact .lien-bouton { color: var(--texte-2); }
.pied-bas .lien-bouton { margin-left: 16px; }
.menu-tous { display: inline-flex !important; gap: 6px; margin-top: 10px; color: var(--citron) !important; font-weight: 650; }
.note { margin-top: 16px; color: var(--discret); font-size: .9rem; max-width: 80ch; }
.note--grande { font-size: 1.1rem; color: var(--texte-2); }
.carte-etiquette { font-size: .78rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--citron); margin: 0 0 10px !important; }
.carte .coches { margin-top: 18px; font-size: .95rem; color: var(--texte-2); }
.carte--phare { box-shadow: inset 0 0 0 1.5px var(--citron); }
.version-prix { color: var(--texte) !important; }
.version-prix strong { color: var(--citron); font-size: 1.15rem; }
.bareme { list-style: none; display: grid; gap: 8px; align-self: start; }
.bareme li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: var(--rayon-s); background: var(--surface); color: var(--texte-2); }
.bareme strong { color: var(--citron); white-space: nowrap; }
.bareme--large { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }

/* ── Métiers : page mère, villes ── */
.secteurs-hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.secteur-bloc { padding: 28px; border-radius: var(--rayon); background: var(--surface); }
.secteur-bloc-tete { display: flex; align-items: center; gap: 12px; }
.secteur-bloc-tete svg { width: 26px; height: 26px; color: var(--citron); flex-shrink: 0; }
.secteur-bloc-tete h2 { font-size: 1.35rem; flex: 1; }
.secteur-bloc-tete:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.puces--grandes a { padding: 10px 20px; font-size: 1rem; }
.groupes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.groupe { padding: 0 0 24px; border-radius: var(--rayon); background: var(--surface); overflow: hidden; }
.groupe img { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; opacity: .85; }
.groupe h3 { margin: 18px 22px 0; font-size: 1.2rem; }
.groupe .puces { margin: 12px 22px 0; }

/* ── Blog, réalisations ── */
.ancres--statiques { position: static; margin-bottom: 28px; padding: 0; }
.ancres a[aria-current="page"] { background: var(--citron); color: var(--sur-citron); }
.articles--grille { row-gap: 22px; }
.article-carte div { display: flex; flex-direction: column; flex: 1; }
.article-carte time { margin-top: auto; padding-top: 14px; font-size: .85rem; color: var(--discret); }
.rea-grille--toutes { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 340px; }
.rea-grille--toutes .rea:first-child { grid-row: auto; }
.rea-couverture { width: 100%; border-radius: var(--rayon); }
/* Page structurée d'une réalisation (20/11/2026) : texte à gauche, fiche du projet à droite, qui suit le défilement. */
.page-tete--rea h1 { max-width: 26ch; font-size: clamp(1.9rem, 3vw, 2.7rem); }
.page-tete--rea .chapo { max-width: 68ch; }
.rea-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.rea-page .prose { max-width: 760px; }
.rea-page .prose > h2:first-child { margin-top: 0; }
.prose .rea-points { list-style: none; padding: 0; display: grid; gap: 14px; }
.prose .rea-points li { margin: 0; padding: 18px 20px; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon-s); }
.prose .rea-points h3 { margin: 0; font-size: 1.08rem; }
.rea-points p { margin-top: 6px; font-size: 1rem; line-height: 1.6; color: var(--texte-2); }
.rea-modules { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rea-modules > span:first-child { flex-basis: 100%; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--discret); }
.prose .rea-modules a, .rea-module { padding: 6px 14px; border: 1px solid var(--trait); border-radius: 999px; font-size: .92rem; color: var(--texte); text-decoration: none; }
.prose .rea-modules a:hover { border-color: var(--citron); color: var(--citron); }
.rea-citation footer { margin-top: 8px; font-size: .95rem; color: var(--texte-2); }
.rea-fiche { position: sticky; top: 104px; padding: 26px; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); }
.rea-fiche dl { margin-top: 14px; display: grid; }
.rea-fiche dl > div { padding: 12px 0; border-top: 1px solid var(--trait); }
.rea-fiche dt { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--discret); }
.rea-fiche dd { margin: 3px 0 0; font-weight: 600; }
.rea-fiche dd a { color: var(--citron); }
.rea-fiche .lien-fleche { margin-top: 16px; word-break: break-word; }
.rea-liens { list-style: none; padding: 0; display: grid; gap: 14px; }
.rea-liens .lien-fleche { margin-top: 0; }
@media (max-width: 960px) {
  .rea-page { grid-template-columns: 1fr; gap: 36px; }
  .rea-fiche { position: static; order: -1; }
}
.prose--seule { max-width: 760px; }
.prose--legale { font-size: 1rem; }
.prose--legale h2 { font-size: 1.45rem; }
.prose--legale table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose--legale th, .prose--legale td { padding: 10px 12px; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: top; }

/* ── Plan de la préversion ── */
.plan { display: grid; gap: 10px; max-width: 980px; }
.plan details { border-radius: var(--rayon-s); background: var(--surface); }
.plan summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; cursor: pointer; list-style: none; }
.plan summary::-webkit-details-marker { display: none; }
.plan summary span { color: var(--discret); }
.plan ul { list-style: none; columns: 2; gap: 24px; padding: 0 24px 20px; font-size: .92rem; }
.plan li { break-inside: avoid; padding: 3px 0; }
.plan a { color: var(--texte-2); }
.plan a:hover { color: var(--citron); }

/* ── Fenêtres : « Créer mon devis », offre de saison, contact ── */
body.dlg-ouverte { overflow: hidden; }
.dlg { position: fixed; inset: 0; z-index: 2147483600; display: grid; place-items: center; padding: 20px; background: rgba(10, 12, 8, .76); backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s ease; }
.dlg--on { opacity: 1; }
.dlg-carte { position: relative; width: 100%; max-width: 760px; max-height: calc(100dvh - 40px); overflow: auto; padding: 40px 36px 34px; border-radius: 26px; background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: translateY(14px); transition: transform .3s var(--sortie); }
.dlg--on .dlg-carte { transform: none; }
.dlg-carte h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.dlg-intro { margin-top: 10px; color: var(--texte-2); }
.dlg-intro a { color: var(--citron); text-decoration: underline; text-underline-offset: 3px; }
.dlg-fermer { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--trait); border-radius: 50%; background: var(--fond); cursor: pointer; color: var(--texte-2); }
.dlg-fermer:hover { color: var(--texte); border-color: var(--texte-2); }
.dlg-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.dlg-opt { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 20px; border: 1.5px solid var(--trait); border-radius: var(--rayon); background: var(--fond); transition: border-color .15s ease, transform .15s ease; }
.dlg-opt:hover, .dlg-opt:focus-visible { border-color: var(--citron); transform: translateY(-2px); outline: none; }
.dlg-opt--guide { border-color: rgba(197, 241, 53, .4); }
.dlg-opt strong { font-stretch: 112%; font-size: 1.2rem; font-weight: 760; }
.dlg-opt-texte { flex: 1; color: var(--texte-2); font-size: .95rem; }
.dlg-opt-pied { display: flex; justify-content: space-between; font-size: .85rem; color: var(--discret); }
.dlg-go { font-weight: 700; color: var(--citron); font-size: .92rem; }
.dlg-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(197, 241, 53, .14); color: var(--citron); }
.dlg-ico svg { width: 24px; height: 24px; }
.dlg-badge { position: absolute; top: 18px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--citron); color: var(--sur-citron); font-size: .72rem; font-weight: 700; }
.dlg--saison .dlg-carte { max-width: 460px; text-align: center; background: var(--surface-2); }
.saison-titre { color: var(--citron); text-transform: uppercase; letter-spacing: .04em; }
.saison-image { max-width: min(260px, 80%); max-height: 200px; margin: 18px auto 0; border-radius: 16px; }
.saison-texte { margin-top: 18px; color: var(--texte-2); }
.saison-texte strong { color: var(--citron); }
.saison-cta { width: 100%; justify-content: center; margin-top: 24px; }
.saison-plus-tard { margin-top: 14px; color: var(--texte-2); font-size: .9rem; }
.saison-note { margin-top: 14px; font-size: .78rem; color: var(--discret); }
.saison-onglet { position: fixed; right: 0; top: 50%; z-index: 30; padding: 16px 9px; border: 0; border-radius: 12px 0 0 12px; background: var(--citron); color: var(--sur-citron); font-weight: 700; font-size: .82rem; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); cursor: pointer; box-shadow: -4px 6px 18px rgba(0, 0, 0, .25); }
.saison-onglet:hover { background: var(--citron-clair); }
.dlg-ouverte .saison-onglet { display: none; }

/* ── Formulaire de contact (aucun champ natif : cases et listes dessinées) ── */
.formulaire { display: grid; gap: 16px; margin-top: 24px; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { display: grid; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--texte-2); border: 0; }
.champ em { color: var(--citron); font-style: normal; }
.champ input, .champ textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--trait); border-radius: 12px; background: var(--fond); color: var(--texte); font: inherit; font-weight: 400; font-size: 1rem; }
.champ textarea { resize: vertical; min-height: 110px; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--citron); }
.champ--ville { position: relative; }
.suggestions { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; margin-top: 4px; list-style: none; padding: 6px; border-radius: 12px; background: var(--surface-2); box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.suggestions li { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-weight: 400; color: var(--texte); }
.suggestions li span { color: var(--discret); }
.suggestions li:hover, .suggestions li[aria-selected="true"] { background: var(--fond); }
.champ--choix legend { margin-bottom: 8px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.pastille { position: relative; }
.pastille input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pastille span { display: block; padding: 7px 14px; border: 1.5px solid var(--trait); border-radius: 999px; font-weight: 500; font-size: .88rem; color: var(--texte-2); cursor: pointer; }
.pastille input:checked + span { border-color: var(--citron); background: var(--citron); color: var(--sur-citron); }
.pastille input:focus-visible + span { outline: 3px solid var(--citron); outline-offset: 2px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire-retour:empty { display: none; }
.formulaire-retour { padding: 12px 16px; border-radius: 12px; font-size: .95rem; }
.formulaire-retour.erreur { background: rgba(255, 120, 100, .12); color: #ffb4a6; }
.formulaire-retour.succes { background: rgba(197, 241, 53, .12); color: var(--citron); }
.formulaire .btn { justify-self: start; border: 0; cursor: pointer; }
.formulaire .btn:disabled { opacity: .6; cursor: wait; }

/* ── Bandeau cookies (cookie-consent.js, commun au site) : habillage V2 ── */
#rhiino-cc { font-family: var(--police) !important; }
#rhiino-cc .rcc-box { max-width: var(--largeur) !important; background: var(--surface-2) !important; border-color: var(--trait) !important; border-radius: var(--rayon) !important; padding: 22px 26px !important; }
#rhiino-cc .rcc-text { font-size: .95rem !important; color: var(--texte-2) !important; }
#rhiino-cc .rcc-btn { font-family: var(--police) !important; border-radius: 999px !important; padding: 11px 22px !important; font-weight: 650 !important; }

@media (max-width: 1180px) {
  .groupes { grid-template-columns: repeat(2, 1fr); }
  .bareme--large { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .secteurs-hub, .groupes, .rea-grille--toutes, .champs-2, .dlg-choix, .bareme--large { grid-template-columns: 1fr; }
  .rea-grille--toutes { grid-auto-rows: 240px; }
  .plan ul { columns: 1; }
  .dlg { place-items: end center; padding: 0; }
  .dlg-carte { max-height: 94dvh; padding: 30px 18px 22px; border-radius: 24px 24px 0 0; }
  .dlg-carte h2 { margin-right: 44px; }
  .dlg-opt { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 4px; padding: 16px; }
  .dlg-ico { grid-row: span 2; width: 40px; height: 40px; }
  .dlg-opt-texte, .dlg-opt-pied { grid-column: 2; }
  .saison-onglet { top: auto; bottom: 14px; left: 50%; right: auto; writing-mode: horizontal-tb; transform: translateX(-50%); border-radius: 999px; padding: 11px 18px; }
  .pied-bas .lien-bouton { margin-left: 0; }
}

/* ── Carrousel des photos de la ville (pages ville et métier × ville) ── */
.slider--photos .slide { aspect-ratio: 16 / 7; }
.slider--photos .slide::after { display: none; }
.slider--photos .slide:hover img { transform: none; }
@media (max-width: 760px) { .slider--photos .slide { aspect-ratio: 4 / 3; } }

/* ── « Notre origine » (pages ville et métier × ville) ── */
.origine { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.origine .section-tete { margin-bottom: 24px; }
.origine p { color: var(--texte-2); max-width: 64ch; }
.origine p + p { margin-top: 14px; }
.origine p strong { color: var(--texte); }
.origine a { color: var(--citron); text-decoration: underline; text-underline-offset: 3px; }
.origine-carte { display: grid; justify-items: center; gap: 16px; padding: 36px 28px; border-radius: var(--rayon); background: var(--surface); text-align: center; }
.origine-carte img { width: 140px; height: auto; border-radius: 18px; }
.origine-carte p { font-size: .92rem; color: var(--discret); }
@media (max-width: 760px) { .origine { grid-template-columns: 1fr; gap: 28px; } }

/* ── Assistant Maxx (chat-widget.js, commun au site) : habillage V2 complet ──
   Les pages V2 ne chargent pas chat-widget.css : tout l'habillage de la bulle et du panneau est ici. */
.rchat-btn { position: fixed; right: 24px; bottom: 24px; z-index: 9990; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--citron); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.rchat-btn:hover { transform: scale(1.08); }
.rchat-btn svg { width: 26px; height: 26px; stroke: var(--sur-citron); fill: none; }
.rchat-badge { position: absolute; top: 0; right: 0; display: none; width: 16px; height: 16px; border: 2.5px solid var(--fond); border-radius: 50%; background: #ff8a65; }
.rchat-btn.has-notif .rchat-badge { display: block; }
.rchat-panel { position: fixed; right: 24px; bottom: 96px; z-index: 9991; display: flex; flex-direction: column; width: 370px; max-height: min(560px, calc(100dvh - 130px)); overflow: hidden; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); font-family: var(--police); transform-origin: bottom right; }
.rchat-panel[hidden] { display: none !important; }
.rchat-panel.rchat-in { animation: rchatOuvre .26s cubic-bezier(.34, 1.4, .64, 1) both; }
@keyframes rchatOuvre { from { opacity: 0; transform: scale(.9) translateY(12px); } to { opacity: 1; transform: none; } }
.rchat-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding: 14px 16px; background: var(--surface-2); border-bottom: 1px solid var(--trait); }
.rchat-header-info { display: flex; align-items: center; gap: 10px; }
.rchat-avatar { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: var(--citron); flex-shrink: 0; }
.rchat-avatar img { width: 26px; height: 26px; object-fit: contain; }
.rchat-header-name { font-stretch: 112%; font-weight: 760; font-size: .95rem; color: var(--texte); line-height: 1.2; }
.rchat-header-status { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: .75rem; color: var(--discret); }
.rchat-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--citron); }
.rchat-close { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--trait); border-radius: 50%; background: var(--fond); color: var(--texte-2); cursor: pointer; }
.rchat-close:hover { color: var(--texte); border-color: var(--texte-2); }
.rchat-close svg { width: 12px; height: 12px; stroke: currentColor; }
.rchat-messages { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 18px 14px 8px; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.rchat-bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.55; animation: rchatBulle .2s ease both; }
@keyframes rchatBulle { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.rchat-bubble.bot { align-self: flex-start; border-bottom-left-radius: 4px; background: var(--surface-2); color: var(--texte); }
.rchat-bubble.user { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--citron); color: var(--sur-citron); }
.rchat-bubble strong { font-weight: 700; }
.rchat-bubble a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rchat-bubble.bot a { color: var(--citron); }
.rchat-typing { display: flex; align-items: center; gap: 5px; align-self: flex-start; width: fit-content; padding: 12px 14px; border-radius: 16px; border-bottom-left-radius: 4px; background: var(--surface-2); }
.rchat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--discret); animation: rchatPoint 1.1s infinite; }
.rchat-typing span:nth-child(2) { animation-delay: .18s; }
.rchat-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes rchatPoint { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.rchat-chips { display: flex; flex-wrap: wrap; gap: 7px; flex-shrink: 0; max-height: 140px; overflow-y: auto; padding: 8px 14px 12px; }
.rchat-chip { padding: 7px 13px; border: 1.5px solid var(--trait); border-radius: 999px; background: transparent; color: var(--texte-2); font: 500 .82rem/1.3 var(--police); white-space: nowrap; cursor: pointer; }
.rchat-chip:hover { border-color: var(--citron); background: var(--citron); color: var(--sur-citron); }
.rchat-input-bar { display: flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 10px 14px 14px; border-top: 1px solid var(--trait); }
.rchat-input-bar[hidden] { display: none !important; }
#rchat-input { flex: 1; padding: 10px 16px; border: 1.5px solid var(--trait); border-radius: 999px; background: var(--fond); color: var(--texte); font: 400 .9rem var(--police); outline: none; }
#rchat-input:focus { border-color: var(--citron); }
#rchat-input::placeholder { color: var(--discret); }
#rchat-send { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--citron); cursor: pointer; }
#rchat-send svg { width: 15px; height: 15px; stroke: var(--sur-citron); fill: none; }
.rchat-lead-confirm { padding: 8px 12px; border: 1px solid var(--citron); border-radius: 10px; background: rgba(197, 241, 53, .1); color: var(--citron); font-size: .8rem; text-align: center; }
.dlg-ouverte .rchat-btn, .menu-ouvert .rchat-btn { display: none; }
@media (max-width: 760px) {
  .rchat-btn { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .rchat-panel { right: 10px; left: 10px; bottom: 76px; width: auto; max-height: calc(100dvh - 120px); }
  .saison-onglet { bottom: 18px; left: 16px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .rchat-panel.rchat-in, .rchat-bubble, .rchat-typing span { animation: none !important; } }
.origine-carte p strong { color: var(--texte-2); font-weight: 650; }

/* Boutons rendus en <button> (« Être prévenu », « Nous écrire ») : même aspect que les liens-boutons. */
button.btn { border: 0; background: none; cursor: pointer; font-family: inherit; }
button.btn--principal { background: var(--citron); color: var(--sur-citron); }
button.btn--second { border: 1.5px solid rgba(242, 242, 236, .25); color: var(--texte); }
.appel button.btn--principal { background: var(--sur-citron); color: var(--citron); }
.encart-prix + .note, .grille-3 + .note--grande { margin-top: 22px; }

/* ── Méga menu Fonctionnalités : panneau calé sur l'en-tête (pleine largeur utile), cinq colonnes ── */
.menu-dd--mega { position: static; }
.menu-panneau--mega { left: 50%; top: calc(100% - 6px); width: min(1192px, calc(100vw - 48px)); grid-template-columns: 1fr; gap: 0; padding: 28px 28px 20px; }
.mm-colonnes { display: grid; grid-template-columns: repeat(4, 1fr) 1.05fr; gap: 24px; }
.menu-panneau--mega ul { grid-template-columns: 1fr; gap: 1px; }
.menu-panneau--mega .mm-titre { display: block; padding: 0 8px; margin-bottom: 8px; border-radius: 0; color: var(--citron); font-size: .75rem; }
.menu-panneau--mega .mm-titre:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }
.menu-panneau--mega li a { display: grid; gap: 1px; padding: 7px 8px; }
.mm-nom { color: var(--texte); font-size: .9rem; font-weight: 550; line-height: 1.25; }
.mm-prix { font-size: .78rem; color: var(--discret); font-variant-numeric: tabular-nums; }
.menu-panneau--mega li a:hover .mm-prix { color: var(--citron); }
.mm-badge { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--citron); font-style: normal; font-size: .68rem; font-weight: 700; vertical-align: 1px; }
.mm-compris { padding: 16px 12px 10px; border-radius: var(--rayon-s); background: var(--surface-2); align-self: start; }
.mm-compris .mm-badge { background: var(--fond); }
.mm-compris li a:hover { background: var(--fond); }
.mm-pied { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; margin-top: 18px; padding: 14px 8px 0; border-top: 1px solid var(--trait); }
.mm-pied .menu-tous { margin-top: 0; padding: 0; }
.mm-pied .menu-tous:hover, .mm-pied .mm-second:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }
.mm-pied .mm-second { display: inline-flex; gap: 6px; padding: 0; color: var(--texte-2); font-weight: 600; }
@media (max-width: 1180px) {
  .menu-panneau--mega { padding: 0 4px 8px; }
  .mm-colonnes { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .mm-compris { grid-column: 1 / -1; padding: 12px 8px 6px; }
  .mm-pied { border-top: 0; padding-top: 4px; }
}
@media (max-width: 760px) {
  .mm-colonnes { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-panneau--mega .mm-prix { display: none; }
  .menu-panneau--mega ul { grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .menu-panneau--mega li a { padding: 6px 8px; }
}

/* ════ Animations (demande de Maxime, 11/11/2026) ════
   Toutes coupées si l'utilisateur réduit les animations (règle de la base). L'apparition au défilement est dans
   scripts/animations.mjs (Motion) : rien n'est masqué sans ce script. Le titre principal ne joue pas sur l'opacité (LCP). */

/* Entrée de l'en-tête de page */
@keyframes v2-monte { from { opacity: 0; transform: translateY(18px); } }
@keyframes v2-glisse { from { transform: translateY(16px); } }
.page-tete-texte > *, .hero-texte > *, .article-tete > .chapo, .article-tete > .article-meta { animation: v2-monte .6s var(--sortie) both; }
.page-tete-texte > h1, .hero-texte > h1 { animation-name: v2-glisse; }
.page-tete-texte > :nth-child(2), .hero-texte > :nth-child(2) { animation-delay: .05s; }
.page-tete-texte > :nth-child(3), .hero-texte > :nth-child(3), .article-tete > .chapo { animation-delay: .12s; }
.page-tete-texte > :nth-child(4), .hero-texte > :nth-child(4), .article-tete > .article-meta { animation-delay: .19s; }
.page-tete-texte > :nth-child(5), .hero-texte > :nth-child(5) { animation-delay: .26s; }
.page-tete-aside, .hero > .slider { animation: v2-monte .7s .14s var(--sortie) both; }
/* Photo d'en-tête : légèrement agrandie pour pouvoir défiler moins vite que le texte (scripts/animations.mjs). */
@media (prefers-reduced-motion: no-preference) { .page-tete-fond { transform: scale(1.08); } }

/* Menus déroulants */
@keyframes v2-panneau { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.menu-dd > button[aria-expanded="true"] + .menu-panneau { animation: v2-panneau .22s ease both; }

/* Fond de carte des villes : lente respiration */
@keyframes v2-carte { to { transform: scale(1.07) translate(-1%, 1%); } }
.fond-carte-img img { animation: v2-carte 32s ease-in-out infinite alternate; }

/* Survol : les cartes cliquables se soulèvent */
.fonction, .article-carte, .secteur-bloc, .groupe, .dlg-opt { transition: transform .25s var(--sortie), box-shadow .25s ease, background-color .15s ease, border-color .15s ease; }
.fonction:hover, .article-carte:hover, .secteur-bloc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.article-carte img, .groupe img { transition: transform .5s ease; }
.article-carte:hover img { transform: scale(1.04); }
.secteurs a svg, .menu-secteurs a svg { transition: transform .25s var(--sortie); }
.secteurs a:hover svg, .menu-secteurs a:hover svg { transform: scale(1.12) rotate(-6deg); }
.formule { transition: transform .3s var(--sortie); }
.formule:hover { transform: translateY(-4px); }

@media (max-width: 1180px) {
  @keyframes v2-panneau-mobile { from { opacity: 0; transform: translateY(-6px); } }
  .menu-dd > button[aria-expanded="true"] + .menu-panneau { animation-name: v2-panneau-mobile; }
}

/* ── Filtre par secteur (réalisations) ── */
.filtre { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filtre[hidden] { display: none; }
.filtre button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--surface); color: var(--texte-2); font: 600 .93rem var(--police); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.filtre button span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--texte-2); font-size: .78rem; }
.filtre button:hover { background: var(--surface-2); color: var(--texte); }
.filtre button[aria-pressed="true"] { background: var(--citron); color: var(--sur-citron); }
.filtre button[aria-pressed="true"] span { background: rgba(20, 24, 15, .15); color: var(--sur-citron); }
.filtre-etat { min-height: 1.4em; margin-bottom: 14px; color: var(--discret); font-size: .9rem; }
.rea[hidden] { display: none; }
@keyframes v2-filtre { from { opacity: 0; transform: scale(.97); } }
.filtre-entre { animation: v2-filtre .35s ease both; }

/* Articles : une photo en hauteur ne s'étale plus sur toute la colonne. */
.prose img { max-height: 620px; width: auto; margin-inline: auto; }

/* ── Pictogrammes des besoins (méga menu, catalogue) ── */
.menu-panneau--mega .mm-titre { display: inline-flex; align-items: center; gap: 8px; }
.menu-panneau--mega .mm-titre .picto-besoin { width: 18px; height: 18px; color: var(--citron); flex-shrink: 0; }
.besoin-bloc h2 { display: flex; align-items: center; gap: 14px; }
.besoin-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--citron); color: var(--sur-citron); flex-shrink: 0; }
.ancres a { display: inline-flex; align-items: center; gap: 8px; }
.ancres .picto-besoin { color: var(--citron); }
.ancres a:hover .picto-besoin, .ancres a[aria-current="page"] .picto-besoin { color: var(--sur-citron); }
.compris-titre { display: inline-flex; align-items: center; gap: 8px; }
.compris-titre .picto-besoin { color: var(--citron); }
.compris-titre { display: grid; justify-items: start; align-content: start; gap: 10px; }
.compris-titre .picto-besoin { width: 30px; height: 30px; }

/* ── Recherche « Votre métier » (page Métiers, accueil) ── */
.trouve-metier { position: relative; max-width: 760px; margin-bottom: 36px; }
.trouve-titre { display: block; margin-bottom: 12px; font-weight: 650; color: var(--texte); }
.trouve-champ { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border: 1.5px solid var(--trait); border-radius: 999px; background: var(--surface); transition: border-color .15s ease; }
.trouve-champ:focus-within { border-color: var(--citron); }
.trouve-champ svg { color: var(--citron); flex-shrink: 0; }
.trouve-champ input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: none; color: var(--texte); font: 400 1.05rem var(--police); outline: none; }
.trouve-champ input::placeholder { color: var(--discret); }
.trouve-champ .btn { flex-shrink: 0; }
.trouve-liste { top: calc(100% - 26px); left: 12px; right: 12px; }
.trouve-liste li { display: flex; justify-content: space-between; gap: 16px; }
.trouve-liste li strong { font-weight: 600; }
.trouve-liste li span { color: var(--discret); font-size: .85rem; text-align: right; }
.trouve-aide { min-height: 1.4em; margin-top: 10px; color: var(--texte-2); font-size: .92rem; }
.trouve-aide .lien-bouton { color: var(--citron); }
.rea-grille--secteur { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.rea-grille--secteur .rea:first-child { grid-row: auto; }
@media (max-width: 760px) {
  .trouve-champ { flex-wrap: wrap; padding: 8px 8px 8px 16px; border-radius: 22px; }
  .trouve-champ .btn { width: 100%; justify-content: center; }
  .trouve-liste { top: 108px; left: 0; right: 0; }
  .rea-grille--secteur { grid-template-columns: 1fr; grid-auto-rows: 230px; }
}

/* ════ Reprise du 13/11/2026 : finitions de mise en page et d'animation ════ */

/* ── Atouts : trois arguments posés sur un filet, sans carte ni numéro (ce n'est pas une suite d'étapes) ── */
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.atout { padding-top: 22px; border-top: 1.5px solid rgba(197, 241, 53, .6); }
.atout h3 { font-size: 1.35rem; }
.atout p { margin-top: 10px; color: var(--texte-2); max-width: 40ch; }

/* ── Catalogue : une rangée incomplète s'étire au lieu de laisser une carte seule ── */
@media (min-width: 1181px) {
  .fonctions { grid-template-columns: repeat(6, 1fr); }
  .fonctions > * { grid-column: span 2; }
  .fonctions > :nth-last-child(2):nth-child(3n + 1), .fonctions > :last-child:nth-child(3n + 2) { grid-column: span 3; }
  .fonctions > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
  .fonctions > :last-child:nth-child(3n + 1) p { flex: 1; margin-top: 0; }
  .fonctions > :last-child:nth-child(3n + 1) .fonction-pied { margin-top: 0; padding-top: 0; gap: 28px; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .fonctions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ── Bascule Comptant / Flex : la pastille glisse (mesurée par scripts/site.js), le prix change en fondu ── */
.bascule { position: relative; }
.bascule button { position: relative; z-index: 1; transition: color .2s ease; }
.bascule--pastille::before { content: ''; position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--pastille-l); border-radius: 999px; background: var(--texte); transform: translateX(var(--pastille-x)); transition: transform .35s var(--sortie), width .35s var(--sortie); }
.bascule--pastille button[aria-pressed="true"] { background: none; }
@keyframes v2-prix { from { opacity: 0; } }
.mode-joue .prix-comptant, .mode-joue .prix-flex { animation: v2-prix .35s ease both; }

/* ── FAQ : accordéon, la réponse se déplie en hauteur (site.js, bloc « FAQ ») ── */
.faq summary { transition: color .15s ease; }
.faq summary:hover { color: var(--citron); }
.faq details > summary:hover::after { color: var(--sur-citron); background-color: var(--citron); }

/* ── En-tête : filet dès que la page a défilé ; barre de lecture d'un article ── */
.entete { transition: box-shadow .2s ease; }
.entete--defile { box-shadow: 0 1px 0 var(--trait); }
.lecture { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--citron); transform: scaleX(0); transform-origin: left; }

/* ── D'une page à l'autre : fondu court, l'en-tête ne bouge pas ── */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  @keyframes v2-page-sort { to { opacity: 0; } }
  @keyframes v2-page-entre { from { opacity: 0; } }
  ::view-transition-old(root) { animation: v2-page-sort .12s ease both; }
  ::view-transition-new(root) { animation: v2-page-entre .26s ease both; }
  .entete { view-transition-name: entete; }
  ::view-transition-group(entete) { animation: none; }
  ::view-transition-old(entete) { display: none; }
  ::view-transition-new(entete) { animation: none; }
}

@media (max-width: 760px) {
  .atouts { grid-template-columns: 1fr; gap: 28px; }
  .reperes { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .reperes li { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--trait); }
  .reperes li:first-child { padding-top: 0; border-top: 0; }
}

/* ── « Compris dans chaque site » : cinq éléments (Module Tarifs ajouté le 13/11/2026), titres cliquables ── */
/* Six éléments depuis le 13/11/2026 (Blog compris) : le titre sur sa ligne, puis trois colonnes. */
.compris { grid-template-columns: repeat(3, 1fr); gap: 22px 32px; }
.compris-titre { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; max-width: none; }
.compris h3 a { text-decoration: underline; text-decoration-color: rgba(197, 241, 53, .5); text-underline-offset: 4px; }
.compris h3 a:hover { color: var(--citron); }
.carte--version .lien-fleche { margin-top: 20px; font-size: .95rem; }
@media (max-width: 1180px) { .compris { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .compris { grid-template-columns: 1fr; } }
.atouts + .note--grande { margin-top: 36px; }

/* ════ Bandes de fond (retour de Maxime, 13/11/2026) : une section sur deux sur un fond moins foncé ════
   La classe est posée par bandes() de lib/gabarit.mjs. Le fond s'étend à toute la largeur de la fenêtre sans créer de
   défilement horizontal (border-image) ; cartes, filets et textes discrets suivent par leurs jetons. */
.bande { --fond: #20261a; --surface: #2b3124; --surface-2: #363d2c; --trait: rgba(242, 242, 236, .13); --discret: #a3a99a; padding-top: 96px !important; padding-bottom: 96px; background: none; border-image: conic-gradient(var(--fond) 0 0) fill 0 / 0 / 0 100vmax; }
.bande + section:not(.appel) { padding-top: 96px !important; background: none; }
.bande + .appel { margin-top: var(--gouttiere); }
.bande .formule--phare.formule--actuelle { box-shadow: 0 0 0 4px var(--fond), 0 0 0 6px var(--citron); }
@media (max-width: 760px) {
  .bande, .bande + section:not(.appel) { padding-top: 64px !important; }
  .bande { padding-bottom: 64px; }
}

/* ── Visuel de l'interface (pages de fonctionnalité, cadrage § 13) : écran ou boucle dans un cadre ── */
.visuel-cadre { max-width: 1080px; }
.visuel-ecran { position: relative; overflow: hidden; border-radius: var(--rayon); border: 1px solid var(--trait); background: var(--surface); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.visuel-ecran video, .visuel-ecran img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.visuel-pause { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(20, 24, 15, .82); color: #f2f2ec; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.visuel-pause:hover { background: var(--citron); color: var(--sur-citron); }
.visuel-pause .ic-lecture, .visuel-pause[aria-pressed="true"] .ic-pause { display: none; }
.visuel-pause[aria-pressed="true"] .ic-lecture { display: inline; }
.visuel-cadre figcaption { margin-top: 14px; }
@media (max-width: 760px) { .visuel-ecran { border-radius: var(--rayon-s); } .visuel-pause { right: 8px; bottom: 8px; width: 38px; height: 38px; } }

/* ── Plateformes citées sous un visuel (Channel manager) : logos fournis, sinon noms composés ── */
.plateformes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; max-width: 1080px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--trait); }
.plateformes > p:first-child { font-weight: 650; color: var(--texte-2); }
.plateformes ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
/* Chaque marque sur une pastille claire : les logos officiels sont dessinés pour un fond blanc. */
.plateformes li { display: grid; place-items: center; height: 52px; padding: 0 22px; border-radius: 14px; background: #fff; }
.plateformes li span { font-stretch: 112%; font-weight: 760; font-size: 1.1rem; letter-spacing: -.01em; color: #14180f; }
.plateformes li img { display: block; height: 22px; width: auto; }
.plateformes-note { flex-basis: 100%; font-size: .82rem; color: var(--discret); }

/* ── Paliers selon la taille (Channel manager, 13/11/2026) ── */
.paliers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.palier h3 { font-size: 1.2rem; }
.palier-camping { margin-top: 6px !important; font-size: .9rem; color: var(--discret) !important; }
.palier-prix { margin-top: 14px !important; color: var(--texte-2); }
.palier-prix + .palier-prix { margin-top: 4px !important; }
.palier-prix strong { color: var(--citron); font-size: 1.25rem; font-stretch: 112%; }
@media (max-width: 1180px) { .paliers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .paliers { grid-template-columns: 1fr; } }

/* ── Modules par secteur (pages secteur et métier, MODULES_SECTEURS) ── */
.fonction-badge { align-self: flex-start; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--citron); color: var(--citron); font-size: .78rem; font-weight: 650; letter-spacing: .02em; }
.fonction--bientot { background: transparent; border: 1.5px dashed rgba(197, 241, 53, .45); }
.fonction--bientot:hover { transform: none; box-shadow: none; }
.compris--secteur { margin-top: 14px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .compris--secteur { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .compris--secteur { grid-template-columns: 1fr; } }

/* Seconde rangée sous le visuel : systèmes de paiement (mêmes pastilles claires). */
.plateformes--paiement { margin-top: 24px; padding-top: 24px; }
.plateformes--paiement li img { height: 26px; }
/* Quatre atouts : une rangée de quatre sur grand écran, deux par deux sur tablette (jamais trois plus un). */
@media (min-width: 1181px) { .atouts:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); gap: 32px 28px; } }
@media (min-width: 761px) and (max-width: 1180px) { .atouts:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
.fonction-plus { white-space: nowrap; }
.plateformes-ou { flex-basis: 100%; font-weight: 650; color: var(--texte-2); }
.plateformes--paiement li span { font-size: 1rem; }
.plateformes--paiement li img { height: auto; max-height: 26px; max-width: 124px; }
