/* ==========================================================================
   TEVENNEC DIGITAL : design system (styles.css v2.6)
   Thème tevennec-theme, assets/css/styles.css. Aucun préprocesseur.
   v2.1 (16/10/2026) : fusion des ajouts des pages des silos IA, Sites
   internet, Maintenance et sécurité (design-system-notes.md).
   v2.2 (27/10/2026) : légende du phare de l'accueil (.phare-legende-titre),
   .phare-legende h3 retiré.
   v2.3 (04/11/2026) : boutons des blocs core (a.wp-block-button__link) au
   rendu de .btn-principal ; CTA de pilier empilé en fin d'article
   (.article-pied) ; formulaire de recherche du thème (.tev-recherche).
   v2.4 (04/11/2026) : le panneau du mega-menu s'ouvre aussi quand son parent
   a une URL (.nav-drop-ligne : lien et bouton distincts).
   v2.5 (12/11/2026) : phare de l'accueil, légendes au passage du faisceau
   (tour de 30 s, points en retrait, .phare-commande, pause et hors champ).
   v2.6 (13/11/2026) : .tev-mention-media ajoutée puis retirée le même jour
   (mention des images générées reportée dans les mentions légales).
   Mobile first : les règles de base visent le mobile, les @media (min-width)
   ajoutent. Seuils : 720px (tablette), 1024px (bureau), 1120px (navigation).

   Sommaire
    1. Polices
    2. Jetons
    3. Couleur de pilier (p-* sur <body>, c-* sur un composant)
    4. Base
    5. Typographie
    6. Mise en page : conteneur, sections, grilles, piles
    7. Composants de base : icônes, boutons, liens, badges, traits, puces
    8. Cartes
    9. Listes, chiffres, étapes, déroulé, FAQ, fiche
   10. Cartes tarifaires
   11. CTA : section CTA, CTA de pilier, encart
   12. Médias
   13. Structure produite par le thème : évitement, header, mega-menu,
       burger, fil d'Ariane, footers
   14. Gabarits : héros, article, blog, réalisation, landing
   15. Modules animés : phare, carte de France, illustrations
   16. Utilitaires, préférences et impression
   ========================================================================== */


/* 1. POLICES ===============================================================
   Sous-ensembles latins variables, auto-hébergés (cahier §8.4).
   Fraunces : wght 300-500, opsz 9-144 conservé (taille optique auto),
   SOFT 0 et WONK 0 figés dans le fichier. Outfit : wght 400-800.
   Les « repli » alignent les métriques de Georgia et Arial pour limiter
   le décalage de mise en page pendant le chargement (font-display: swap). */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces repli";
  src: local("Georgia");
  size-adjust: 105.2%;
  ascent-override: 92.97%;
  descent-override: 24.24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Outfit repli";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 99.82%;
  ascent-override: 100.18%;
  descent-override: 26.05%;
  line-gap-override: 0%;
}


/* 2. JETONS ================================================================ */

:root {
  /* Charte */
  --vert: #286461;     --vert-clair: #F5F7F7;
  --bleu: #263155;     --bleu-clair: #F8FAFF;
  --violet: #632859;   --violet-clair: #F8F4F6;
  --taupe: #5F5347;    --taupe-clair: #F8F6F2;
  /* Jaune : logo, survol de liens sur fond sombre, sections jaune clair. Jamais un bouton. */
  --jaune: #F6DC3E;    --jaune-clair: #FFFDF2;  --bd-jaune: rgba(246, 220, 62, .55);
  --vert-fonce: #1E4C4A;
  --blanc: #FFFFFF;    --gris-clair: #F5F5F5;

  /* Texte */
  --texte: #14181F;
  --texte-doux: #3B4353;
  --texte-meta: #626A7C;
  --texte-inverse: #FFFFFF;
  --texte-inverse-doux: rgba(255, 255, 255, .78);

  /* Bordures */
  --bd-neutre: rgba(38, 49, 85, .13);
  --bd-vert: rgba(40, 100, 97, .26);
  --bd-bleu: rgba(38, 49, 85, .2);
  --bd-violet: rgba(99, 40, 89, .22);
  --bd-taupe: rgba(95, 83, 71, .24);
  --bd-inverse: rgba(255, 255, 255, .16);

  /* Polices */
  --police-titre: "Fraunces", "Fraunces repli", Georgia, serif;
  --police-texte: "Outfit", "Outfit repli", Arial, sans-serif;

  /* Échelle typographique (fluide entre 360 et 1180 px) */
  --t-xs: .78rem;
  --t-sm: .875rem;
  --t-base: 1rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.125rem, 1.07rem + .25vw, 1.25rem);
  --t-h4: 1.0625rem;
  --t-h3: clamp(1.15rem, 1.07rem + .4vw, 1.35rem);
  --t-h2: clamp(1.65rem, 1.33rem + 1.4vw, 2.5rem);
  --t-h1: clamp(2.05rem, 1.6rem + 2.1vw, 3.35rem);
  --t-chiffre: clamp(1.6rem, 1.45rem + .7vw, 2rem);

  /* Espacements */
  --esp-1: .25rem;
  --esp-2: .5rem;
  --esp-3: .75rem;
  --esp-4: 1rem;
  --esp-5: 1.5rem;
  --esp-6: 2rem;
  --esp-7: 2.75rem;
  --esp-8: 3.5rem;
  --section: clamp(3.5rem, 2.6rem + 4vw, 5.5rem);
  --gouttiere: 1.25rem;

  /* Dimensions */
  --largeur: 1180px;
  --largeur-texte: 720px;
  --hauteur-header: 4rem;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 100px;

  /* Ombres : quasi nulles au repos, légères au survol (cadre §4) */
  --ombre: 0 1px 3px rgba(38, 49, 85, .045);
  --ombre-survol: 0 4px 14px rgba(38, 49, 85, .08);
  --ombre-panneau: 0 18px 38px rgba(20, 24, 31, .16);

  /* Mouvement et focus */
  --duree: .2s;
  --focus: var(--vert);
}

@media (min-width: 720px) {
  :root { --gouttiere: 2rem; }
}
@media (min-width: 1120px) {
  :root { --hauteur-header: 4.5rem; }
}


/* 3. COULEUR DE PILIER =====================================================
   Une seule mécanique : p-* sur <body> (page), c-* sur n'importe quel
   élément (portée locale, ex. colonne du mega-menu, carte d'un autre pilier).
   Les composants lisent --pilier, --pilier-clair et --pilier-bd. */

:root,
.p-marque, .c-marque { --pilier: var(--bleu);   --pilier-clair: var(--bleu-clair);   --pilier-bd: var(--bd-bleu); }
.p-bleu,   .c-bleu   { --pilier: var(--bleu);   --pilier-clair: var(--bleu-clair);   --pilier-bd: var(--bd-bleu); }
.p-vert,   .c-vert   { --pilier: var(--vert);   --pilier-clair: var(--vert-clair);   --pilier-bd: var(--bd-vert); }
.p-violet, .c-violet { --pilier: var(--violet); --pilier-clair: var(--violet-clair); --pilier-bd: var(--bd-violet); }
.p-taupe,  .c-taupe  { --pilier: var(--taupe);  --pilier-clair: var(--taupe-clair);  --pilier-bd: var(--bd-taupe); }


/* 4. BASE ================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hauteur-header) + 1rem);
}
body {
  font-family: var(--police-texte);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
ul[class], ol[class] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--duree), opacity var(--duree); }
a:hover { opacity: .75; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }

::selection { background: rgba(38, 49, 85, .14); color: inherit; }


/* 5. TYPOGRAPHIE =========================================================== */

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-optical-sizing: auto;
  line-height: 1.18;
  letter-spacing: -.005em;
  color: var(--bleu);
  text-wrap: balance;
  text-transform: none; /* Fraunces jamais en capitales */
}
h1 { font-size: var(--t-h1); font-weight: 400; }
h2 { font-size: var(--t-h2); font-weight: 400; }
h3 { font-size: var(--t-h3); font-weight: 500; }
h4 { font-size: var(--t-h4); font-weight: 500; }

p { color: var(--texte-doux); line-height: 1.72; text-wrap: pretty; }
strong, b { font-weight: 600; color: var(--texte); }

/* Nom de la marque : toujours TEVENNEC DIGITAL en capitales, toujours en Outfit,
   y compris au milieu d'un titre en Fraunces. <span class="marque">TEVENNEC DIGITAL</span> */
.marque { font-family: var(--police-texte); font-weight: 700; font-size: .84em; letter-spacing: .03em; font-optical-sizing: none; white-space: nowrap; }

/* Phrase d'accroche au-dessus d'un H1 (ex-.baseline) */
.surtitre { font-family: var(--police-titre); font-size: var(--t-md); color: var(--pilier); }
/* Chapô d'un héros ou d'un article */
.chapo { font-size: var(--t-md); color: var(--texte); max-width: 36rem; }
/* Note discrète sous un bloc (ex-.tarif-note, .note) */
.note { font-size: var(--t-sm); color: var(--texte-meta); max-width: 52rem; }
.note a { color: var(--pilier); font-weight: 500; }
.meta { font-size: var(--t-xs); color: var(--texte-meta); }

/* Texte courant : flux vertical automatique (pages texte, articles, blocs rédigés) */
.prose { max-width: var(--largeur-texte); }
.prose > * + * { margin-top: 1rem; }
.prose > h2 { margin-top: 2.6rem; }
.prose > h3 { margin-top: 1.9rem; }
.prose > h2 + *, .prose > h3 + * { margin-top: .7rem; }
.prose > :is(.reponse-directe, .citation, .encart-cta, .cta-pilier, figure) { margin-block: 2rem; }
.prose p, .prose li { font-size: var(--t-md); line-height: 1.8; }
.prose a { color: var(--pilier); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.25rem; color: var(--texte-doux); }
.prose ul > li::before { content: ""; position: absolute; left: .2rem; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--pilier); }
.prose ol > li { color: var(--texte-doux); padding-left: .25rem; }
.prose ol > li::marker { color: var(--pilier); font-weight: 600; }
.prose img, .prose figure { border-radius: var(--radius); }
.prose figcaption { font-size: var(--t-xs); color: var(--texte-meta); margin-top: .5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--bd-neutre); }
.prose th { color: var(--texte); font-weight: 600; }


/* Tableaux de .prose : sous 720 px, chaque ligne devient un bloc et chaque
   cellule affiche l'intitulé de sa colonne (attribut data-label, écrit dans
   le HTML). <table class="tableau-empile"> */
@media (max-width: 719.98px) {
  .tableau-empile thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tableau-empile, .tableau-empile tbody, .tableau-empile tr, .tableau-empile td { display: block; width: 100%; }
  .tableau-empile tr { padding: 1rem 1.1rem; border: 1px solid var(--pilier-bd); border-radius: var(--radius-sm); background: var(--blanc); }
  .tableau-empile tr + tr { margin-top: .75rem; }
  .tableau-empile td { padding: .35rem 0; border-bottom: 0; }
  .tableau-empile td::before { content: attr(data-label); display: block; font-size: var(--t-xs); font-weight: 600; color: var(--pilier); }
  .tableau-empile td:first-child { font-weight: 600; color: var(--texte); }
}


/* 6. MISE EN PAGE ========================================================== */

.container { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.container-texte { max-width: calc(var(--largeur-texte) + 2 * var(--gouttiere)); }

.section { padding-block: var(--section); }
.section-serree { padding-block: calc(var(--section) * .6); }

/* Fonds de section (remplacent les style="background:…" des prototypes) */
.fond-blanc  { background: var(--blanc); }
.fond-gris   { background: var(--gris-clair); }
.fond-pilier { background: var(--pilier-clair); }
.fond-jaune  { background: var(--jaune-clair); border-block: 1px solid var(--bd-jaune); }
.fond-sombre { background: var(--bleu); --focus: var(--blanc); }
.fond-sombre :is(h1, h2, h3, h4, strong) { color: var(--texte-inverse); }
.fond-sombre p { color: var(--texte-inverse-doux); }

/* En-tête de section */
.section-header { max-width: 41rem; margin-bottom: var(--esp-7); }
.section-header > p { margin-top: .9rem; }
.section-header-large { max-width: 46rem; }
.section-header-centre { margin-inline: auto; text-align: center; }
.section-header-centre .trait { margin-inline: auto; }

/* En-tête de section avec lien à droite */
.head-row { display: flex; flex-direction: column; align-items: flex-start; gap: var(--esp-4); margin-bottom: var(--esp-7); }
.head-row .section-header { margin-bottom: 0; }

/* Grilles de cartes : une colonne sur mobile */
.grille, .grid-2, .grid-3, .grid-4, .grid-5 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grille + .grille, .grid-3 + .grid-3 { margin-top: 1.25rem; }

/* Deux colonnes texte et visuel (remplacent les *-inner des prototypes) */
.duo { display: grid; gap: var(--esp-7); align-items: center; }
.duo-haut { align-items: start; }

/* Piles et groupes */
.pile { display: flex; flex-direction: column; gap: var(--esp-4); align-items: flex-start; }
.pile-serree { gap: var(--esp-2); }
.pile-large { gap: var(--esp-6); }
.boutons { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.5rem; }
.boutons-centre { justify-content: center; }
.colle { position: static; }

@media (min-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: var(--esp-6); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .duo { grid-template-columns: 1fr 1fr; gap: var(--esp-8); }
  .duo-texte  { grid-template-columns: 1.12fr .88fr; }
  .duo-visuel { grid-template-columns: .88fr 1.12fr; }
  .duo-etroit { grid-template-columns: .72fr 1.28fr; }
  .duo-aside  { grid-template-columns: 1.35fr .65fr; gap: 4rem; }
  .colle { position: sticky; top: calc(var(--hauteur-header) + 1.5rem); }
}


/* Quatre cartes sur une seule ligne dès 720 px, jamais en 2x2.
   <div class="grid-4 grid-4-ligne">. Entre 720 et 1023 px, les cartes
   resserrent leurs marges intérieures. */
@media (min-width: 720px) {
  .grid-4-ligne { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
@media (min-width: 720px) and (max-width: 1023.98px) {
  .grid-4-ligne > .carte { padding-inline: 1.1rem; padding-bottom: 1.4rem; }
  .grid-4-ligne > .carte:not(.carte-image) { padding-top: 1.4rem; }
  .grid-4-ligne > .carte-image > .media:first-child { margin-inline: -1.1rem; }
}


/* 7. COMPOSANTS DE BASE ==================================================== */

/* Icône du sprite : <svg class="i"><use href="#i-…"/></svg> */
.i {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Pastille d'icône */
.ico {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 2.875rem; height: 2.875rem; border-radius: var(--radius-sm);
  background: var(--pilier-clair); color: var(--pilier);
}
.ico .i { width: 1.375rem; height: 1.375rem; stroke-width: 1.7; }
.ico-sm { width: 2.125rem; height: 2.125rem; }
.ico-sm .i { width: 1.0625rem; height: 1.0625rem; stroke-width: 1.8; }
.ico-blanc { background: var(--blanc); }
.ico-inverse { background: rgba(255, 255, 255, .1); color: var(--blanc); }

/* Logo */
.logo-lien { display: inline-flex; flex-shrink: 0; color: var(--bleu); text-decoration: none; }
.logo-lien:hover { opacity: 1; }
.logo-svg { display: block; width: auto; height: 1.375rem; }
.logo-bloc { fill: var(--bleu); }
.logo-ondes { fill: var(--jaune); }
.logo-mot { fill: currentColor; }
@media (min-width: 380px) { .logo-svg { height: 1.625rem; } }
@media (min-width: 720px) { .logo-svg { height: 1.875rem; } }

/* Boutons */
.btn, a.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.5rem; padding: .6rem 1.15rem;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--police-texte); font-size: .84rem; font-weight: 800; line-height: 1.1;
  text-decoration: none; text-align: center; white-space: nowrap;
  transition: transform var(--duree), box-shadow var(--duree), background-color var(--duree), color var(--duree), border-color var(--duree);
}
.btn:hover, a.wp-block-button__link:hover { opacity: 1; transform: translateY(-2px); box-shadow: var(--ombre-survol); }
.btn:active { transform: none; }
.btn .i { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.btn-lg { min-height: 2.875rem; padding: .75rem 1.6rem; font-size: .92rem; }
.btn-bloc { display: flex; width: 100%; white-space: normal; }
/* Bouton principal : vert. Sur un fond coloré (pilier, sombre), il passe en blanc
   avec le texte du pilier : jamais de jaune, jamais de vert sur violet.
   Les boutons des blocs core (compositions de l'éditeur, encart CTA, blocs
   synchronisés) prennent le même rendu : a.wp-block-button__link passe devant
   le style par défaut de WordPress et devant « .prose a ». */
.btn-principal, a.wp-block-button__link { background: var(--vert); color: var(--blanc); }
.btn-principal:hover, a.wp-block-button__link:hover { background: var(--vert-fonce); color: var(--blanc); }
:is(.cta-pilier, .tarif-vedette, .carte-pleine, .fond-sombre, .carte-sombre) :is(.btn-principal, a.wp-block-button__link) { background: var(--blanc); color: var(--pilier); }
:is(.cta-pilier, .tarif-vedette, .carte-pleine, .fond-sombre, .carte-sombre) :is(.btn-principal, a.wp-block-button__link):hover { background: var(--pilier-clair); }
.btn-bleu { background: var(--bleu); color: var(--blanc); }
.btn-pilier { background: var(--pilier); color: var(--blanc); }
.btn-outline { border-color: var(--pilier); color: var(--pilier); background: transparent; }
.btn-outline-bleu { border-color: var(--bleu); color: var(--bleu); background: transparent; }
.btn-outline:hover, .btn-outline-bleu:hover { background: var(--blanc); }
.btn-inverse { border-color: rgba(255, 255, 255, .55); color: var(--blanc); background: transparent; }
@media (min-width: 720px) { .btn, a.wp-block-button__link { padding-inline: 1.4rem; font-size: .86rem; } .btn-lg { padding-inline: 1.75rem; font-size: .92rem; } }

/* Lien d'action en Fraunces souligné, flèche qui avance */
.lien {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--police-titre); font-weight: 500; font-size: .97rem;
  color: var(--pilier); text-underline-offset: 4px;
  transition: gap var(--duree), opacity var(--duree);
}
.lien:hover { gap: .65rem; }
.lien .i { width: 1em; height: 1em; stroke-width: 2; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .85rem; border-radius: var(--radius-pill);
  font-size: var(--t-xs); font-weight: 600; line-height: 1.3;
  background: var(--pilier-clair); color: var(--pilier);
  text-decoration: none;
}
.badge .i { width: 1em; height: 1em; }
.badge-blanc { background: var(--blanc); }
.badge-contour { background: transparent; box-shadow: inset 0 0 0 1px var(--pilier-bd); }
a.badge:hover { opacity: 1; box-shadow: inset 0 0 0 1px var(--pilier); }

/* Trait au-dessus d'un titre de section */
.trait { display: block; width: 44px; height: 3px; border-radius: 2px; margin-bottom: 1.1rem; background: var(--pilier); }
.trait-inverse { background: rgba(255, 255, 255, .55); }

/* Pastille de couleur (bandeau des autres piliers, filtres) */
.pastille { display: inline-block; width: .75rem; height: .75rem; border-radius: 4px; background: var(--pilier); flex-shrink: 0; }

/* Liste de puces arrondies (ex-.sub, .zones, .diag-chips, .fiche-projet .puces) */
.puces { display: flex; flex-wrap: wrap; gap: .4rem; }
.puces > li, .puces > span {
  padding: .2rem .7rem; border-radius: var(--radius-pill);
  font-size: var(--t-xs); color: var(--texte-doux);
  background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--bd-neutre);
}
.puces-pilier > li, .puces-pilier > span { background: var(--pilier-clair); color: var(--pilier); box-shadow: none; }


/* 8. CARTES ================================================================
   Règle du cadre : fond teinté clair, bordure de la couleur du pilier,
   ombre quasi nulle au repos, légère au survol. Une base, des variantes. */

.carte {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: .9rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--pilier-bd); border-radius: var(--radius);
  background: var(--pilier-clair); color: inherit;
  text-decoration: none;
  transition: transform var(--duree), box-shadow var(--duree), border-color var(--duree);
}
.carte h3 { color: var(--pilier); }
.carte p { font-size: .92rem; }
.carte > .carte-texte { flex: 1; }
.carte > .ico { background: var(--blanc); }
.carte-pleine > .ico, .carte-sombre > .ico { background: rgba(255, 255, 255, .1); color: var(--blanc); }
.carte > :last-child:is(.lien, .btn) { margin-top: auto; }

/* Carte cliquable (élément <a> ou lien étendu à toute la carte) */
a.carte:hover, .carte-cliquable:hover { opacity: 1; transform: translateY(-3px); box-shadow: var(--ombre-survol); border-color: var(--pilier); }
.carte-cliquable .lien-etendu { text-decoration: none; }
.carte-cliquable .lien-etendu::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Variantes */
.carte-blanche { background: var(--blanc); border-color: var(--bd-neutre); }
.carte-blanche h3 { color: var(--bleu); }
a.carte-blanche:hover { border-color: var(--pilier-bd); }
.carte-contour { background: var(--blanc); }
.carte-pleine { background: var(--pilier); border-color: var(--pilier); --focus: var(--blanc); }
.carte-pleine :is(h3, h4, strong) { color: var(--blanc); }
.carte-pleine p { color: var(--texte-inverse-doux); }
.carte-sombre { background: rgba(255, 255, 255, .07); border-color: var(--bd-inverse); }
.carte-sombre :is(h3, h4) { color: var(--blanc); }
.carte-sombre p { color: var(--texte-inverse-doux); }
.carte-compacte { padding: 1.15rem 1.25rem; gap: .45rem; }
.carte-compacte p { font-size: .82rem; }
/* Icône à gauche, texte à droite (ex-.cas-item, .chantier) */
.carte-ligne { flex-direction: row; gap: 1.1rem; }
.carte-ligne h4 { margin-bottom: .2rem; }
/* Carte d'accentuation (ex-.aa.apres, .tarif mis en avant léger) */
.carte-accent { border-color: var(--pilier); }

@media (min-width: 720px) {
  .carte { padding: 2rem 1.85rem; }
  .carte-compacte { padding: 1.25rem; }
  .carte-ligne { padding: 1.4rem 1.6rem; }
}

/* Pastille d'icône sur une carte blanche : fond clair du pilier (sinon blanc sur blanc) */
.carte-blanche > .ico { background: var(--pilier-clair); }
/* Titre réduit dans les cartes compactes (bloc « Autres métiers » en cinq colonnes) */
.carte-compacte h3 { font-size: var(--t-h4); }
/* Sous un h2 de section, le titre d'une carte en ligne est un h3 : même rendu que le h4 */
.carte-ligne h3 { font-size: var(--t-h4); margin-bottom: .2rem; }

/* Carte avec image pleine largeur en tête (prestations, services).
   <article class="carte carte-image"> puis <div class="media …"> en premier
   enfant. L'image touche les bords, la carte garde ses coins. */
.carte-image { padding-top: 0; overflow: hidden; }
.carte-image > .media:first-child { align-self: stretch; width: auto; margin-inline: -1.4rem; margin-bottom: .35rem; border-radius: 0; }
@media (min-width: 720px) { .carte-image > .media:first-child { margin-inline: -1.85rem; } }


/* Carte de réalisation : sortie de [tev_realisations] (cahier §5.2) */
.real-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--bd-neutre); border-radius: var(--radius);
  background: var(--blanc); color: inherit; text-decoration: none;
  transition: transform var(--duree), box-shadow var(--duree), border-color var(--duree);
}
.real-card:hover { opacity: 1; transform: translateY(-3px); box-shadow: var(--ombre-survol); border-color: var(--pilier-bd); }
.real-card .media { border-radius: 0; }
.real-body { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: 1.4rem 1.5rem 1.6rem; }
.real-body p { font-size: .87rem; }
.real-kpi { font-family: var(--police-titre); font-size: 1.5rem; font-weight: 500; line-height: 1; color: var(--pilier); }

/* Carte d'article : sortie de [tev_articles] et des archives (cahier §5.3) */
.blog-card { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; color: inherit; text-decoration: none; }
.blog-card:hover { opacity: 1; }
.blog-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.blog-card .media { width: 100%; border: 1px solid var(--bd-neutre); }
.blog-card p { font-size: .87rem; }


/* 9. LISTES, CHIFFRES, ÉTAPES, DÉROULÉ, FAQ, FICHE ========================= */

/* Liste à coches (ex-.hub-liste, .tarif li, .inclus, .aa li, .pc li, .rassure) */
.liste-check { display: grid; gap: .7rem; }
.liste-check > li { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: var(--texte-doux); line-height: 1.55; }
.liste-check > li > .i { width: 1.1rem; height: 1.1rem; margin-top: .15rem; color: var(--pilier); stroke-width: 2.2; }
.liste-check-neutre > li > .i { color: var(--texte-meta); }

/* Bloc de points inclus en deux colonnes (ex-.inclus) */
.inclus { display: grid; gap: 0 2.5rem; }
.inclus > li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--bd-neutre); }
.inclus > li > .i { margin-top: .2rem; color: var(--pilier); stroke-width: 2.2; }
.inclus h4 { margin-bottom: .2rem; }
.inclus p { font-size: .88rem; }
@media (min-width: 720px) { .inclus { grid-template-columns: 1fr 1fr; } }

/* Réassurance en ligne (ex-.f-hero .rassure) */
.rassure { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.rassure > li { display: flex; align-items: center; gap: .45rem; font-size: var(--t-sm); color: var(--texte-doux); }
.rassure .i { width: 1rem; height: 1rem; color: var(--pilier); stroke-width: 2.2; }

/* Chiffre clé (ex-.stat-num, .hub-chiffre .n, .cas-kpi .n, .kpi .n, .chiffre-carte .n) */
.chiffres { display: flex; flex-wrap: wrap; gap: 1.5rem 2.75rem; }
.chiffres-filet { padding-top: 1.6rem; border-top: 1px solid var(--bd-neutre); }
.chiffre { display: flex; flex-direction: column; gap: .3rem; }
.chiffre-valeur { font-family: var(--police-titre); font-size: var(--t-chiffre); font-weight: 500; line-height: 1; color: var(--pilier); font-variant-numeric: lining-nums; }
.chiffre-libelle { font-size: var(--t-xs); color: var(--texte-meta); line-height: 1.45; }
.chiffre-grand .chiffre-valeur { font-size: clamp(2rem, 1.7rem + 1.3vw, 2.5rem); }
.chiffre-grand .chiffre-libelle { font-size: .88rem; color: var(--texte-doux); }
.carte-pleine .chiffre-valeur { color: var(--blanc); }
.carte-pleine .chiffre-libelle { color: var(--texte-inverse-doux); }

/* Méthode en étapes, pastilles numérotées */
.etapes { position: relative; display: grid; gap: var(--esp-6); }
.etape { position: relative; display: flex; flex-direction: column; gap: .6rem; }
.etape p { font-size: .9rem; }
.etape-pastille {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 2.875rem; height: 2.875rem; margin-bottom: .5rem; border-radius: 50%;
  background: var(--pilier); color: var(--blanc);
  font-family: var(--police-titre); font-size: 1.05rem; font-weight: 500;
  animation: pulse-etape 5.2s ease-in-out infinite;
}
.etape:nth-child(2) .etape-pastille { animation-delay: 1.3s; }
.etape:nth-child(3) .etape-pastille { animation-delay: 2.6s; }
.etape:nth-child(4) .etape-pastille { animation-delay: 3.9s; }
.etape-ico { display: flex; color: var(--pilier); }
@keyframes pulse-etape { 0%, 100% { box-shadow: 0 0 0 0 rgba(38, 49, 85, 0); } 50% { box-shadow: 0 0 0 8px rgba(38, 49, 85, .1); } }
@media (min-width: 720px) { .etapes, .etapes-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .etapes { grid-template-columns: repeat(4, 1fr); gap: var(--esp-5); }
  .etapes-3 { grid-template-columns: repeat(3, 1fr); }
  .etapes::before { content: ""; position: absolute; top: 1.4375rem; left: 6%; right: 6%; height: 2px; background: var(--pilier); opacity: .16; }
}

/* Déroulé vertical */
.deroule { position: relative; max-width: 50rem; padding-left: 2.6rem; }
.deroule::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--pilier); opacity: .16; }
.deroule-item { position: relative; padding-bottom: 2rem; }
.deroule-item:last-child { padding-bottom: 0; }
.deroule-num {
  position: absolute; left: -2.6rem; top: .25rem;
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 2px solid var(--pilier); background: var(--pilier-clair); color: var(--pilier);
  font-family: var(--police-titre); font-size: .85rem; font-weight: 500;
}
.deroule-quand { font-size: var(--t-xs); color: var(--texte-meta); margin-bottom: .15rem; }
.deroule-item p { font-size: .9rem; margin-top: .3rem; }

/* FAQ en <details>, sans JavaScript */
.faq { border-top: 1px solid var(--bd-neutre); }
.faq details { border-bottom: 1px solid var(--bd-neutre); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.2rem 0; cursor: pointer; list-style: none;
  font-family: var(--police-titre); font-size: 1.05rem; font-weight: 500; color: var(--bleu);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--pilier); }
.faq summary .i { width: 1.1rem; height: 1.1rem; color: var(--pilier); stroke-width: 2; transition: transform var(--duree); }
.faq details[open] summary .i { transform: rotate(90deg); }
.faq details > :not(summary) { padding-bottom: 1.3rem; max-width: 44rem; }

/* Fiche projet en liste de définitions (ex-.fiche, .fiche-projet) */
.fiche { display: grid; gap: 1.1rem 2.5rem; padding: 1.5rem; border: 1px solid var(--pilier-bd); border-radius: var(--radius); background: var(--blanc); }
.fiche dt { font-size: .74rem; color: var(--texte-meta); }
.fiche dd { margin-top: .15rem; font-size: .92rem; font-weight: 500; color: var(--texte); }
@media (min-width: 720px) { .fiche-grille { grid-template-columns: repeat(3, 1fr); padding: 1.75rem 2rem; } }

/* Pour et contre (pages expertises) */
.pour-contre { display: grid; gap: 1.25rem; }
.pour-contre > .carte h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; }
@media (min-width: 720px) { .pour-contre { grid-template-columns: 1fr 1fr; } }

/* Témoignage */
.temoignage { max-width: 51rem; padding: 1.75rem; border: 1px solid var(--pilier-bd); border-radius: var(--radius); background: var(--pilier-clair); }
.temoignage-blanc { background: var(--blanc); margin-inline: auto; }
.temoignage blockquote { font-family: var(--police-titre); font-size: clamp(1.08rem, 1rem + .4vw, 1.2rem); line-height: 1.5; color: var(--bleu); }
.temoignage figcaption { display: flex; align-items: center; gap: .85rem; margin-top: 1.4rem; }
.temoignage figcaption p { font-size: .86rem; }
.avatar {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--pilier-clair); color: var(--pilier);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-grand { width: 3.5rem; height: 3.5rem; }
@media (min-width: 720px) { .temoignage { padding: 2.5rem; } }


/* Sous un h2 de section, les titres de .inclus sont des h3 : même rendu que le h4 */
.inclus h3 { font-size: var(--t-h4); margin-bottom: .2rem; }


/* 10. CARTES TARIFAIRES ====================================================
   Règles du cadre : hauteurs égales, emplacement du badge réservé, CTA
   toujours en bas. Structure :
   <div class="tarifs"><article class="tarif [tarif-vedette]">
     <p class="tarif-badge">[<span class="badge badge-blanc">…</span>]</p>
     <h3 class="tarif-nom">…</h3>
     <p class="tarif-prix"><span class="tarif-montant">690 €</span> <span class="tarif-unite">HT / mois</span></p>
     <p class="tarif-cadrage">…</p> <p class="tarif-accroche">…</p>
     <ul class="liste-check">…</ul> [<p class="tarif-note">…</p>]
     <a class="btn btn-outline btn-bloc" href="…">…</a>
   </article></div> */

.tarifs { display: grid; gap: 1.25rem; align-items: stretch; max-width: 35rem; margin-inline: auto; }
.tarif {
  display: flex; flex-direction: column;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--pilier-bd); border-radius: var(--radius);
  background: var(--pilier-clair);
  transition: border-color var(--duree), transform var(--duree);
}
.tarif:hover { border-color: var(--pilier); transform: translateY(-2px); }
.tarif-badge { display: flex; align-items: center; min-height: 0; }
.tarif-badge:not(:empty) { margin-bottom: 1rem; }
.tarif-nom { font-size: 1.6rem; font-weight: 400; color: var(--bleu); margin-bottom: .75rem; }
.tarif-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .4rem; color: var(--texte-doux); }
.tarif-montant { font-family: var(--police-titre); font-size: clamp(2.2rem, 2rem + 1vw, 2.75rem); font-weight: 500; line-height: 1; letter-spacing: -.01em; color: var(--pilier); }
.tarif-unite { font-size: .92rem; }
.tarif-cadrage { margin-top: .4rem; font-size: var(--t-sm); line-height: 1.5; color: var(--texte-meta); }
.tarif-accroche { margin-top: 1.25rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--bd-neutre); font-size: .95rem; line-height: 1.6; }
.tarif .liste-check { margin-top: 1.4rem; }
.tarif-note { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px dashed var(--bd-neutre); font-size: var(--t-sm); line-height: 1.5; color: var(--texte-meta); }
.tarif > .btn { margin-top: auto; }
.tarif > :nth-last-child(2) { margin-bottom: 1.75rem; }

.tarif-vedette { background: var(--pilier); border-color: var(--pilier); --focus: var(--blanc); }
.tarif-vedette .tarif-nom, .tarif-vedette .tarif-montant { color: var(--blanc); }
.tarif-vedette :is(.tarif-unite, .tarif-cadrage, .tarif-accroche, .tarif-note, .liste-check > li) { color: var(--texte-inverse-doux); }
.tarif-vedette .tarif-accroche { border-bottom-color: var(--bd-inverse); }
.tarif-vedette .tarif-note { border-top-color: rgba(255, 255, 255, .24); }
.tarif-vedette .liste-check .i { color: var(--blanc); }
.tarif-vedette .badge { color: var(--pilier); }

/* Bandeau de cadrage et bloc sur mesure sous la grille */
.tarifs-cadrage { max-width: none; margin-top: 2rem; padding: 1.4rem 1.6rem; border: 1px solid var(--pilier-bd); border-radius: var(--radius); background: var(--pilier-clair); font-size: .95rem; color: var(--texte-doux); }
.tarif-sur-mesure { display: grid; gap: 1.5rem; margin-top: 1.75rem; padding: 1.75rem 1.5rem; border: 1.5px solid var(--bleu); border-radius: var(--radius); }
.tarif-sur-mesure h3 { font-weight: 400; font-size: 1.5rem; margin-bottom: .6rem; }
.tarif-sur-mesure .btn { justify-self: start; }

@media (min-width: 1024px) {
  .tarifs { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 1.75rem; }
  .tarifs-2 { grid-template-columns: repeat(2, 1fr); max-width: 52rem; }
  .tarif { padding: 2.25rem 2rem 2rem; }
  .tarif-badge { min-height: 2.375rem; margin-bottom: 1.25rem; }
  .tarif-badge:not(:empty) { margin-bottom: 1.25rem; }
  .tarif-sur-mesure { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: 2.25rem 2.5rem; }
}


/* Quatre cartes tarifaires sur une seule ligne dès 720 px (contrats de
   maintenance). <div class="tarifs tarifs-4">. Placé après les règles de
   .tarifs : même spécificité, l'ordre décide. Offre attribuée et non
   choisie : cartes sans .tarif-badge ni bouton, un bouton commun suit. */
@media (min-width: 720px) {
  .tarifs-4 { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 1rem; }
  .tarifs-4 .tarif { padding: 1.6rem 1.1rem 1.5rem; }
  .tarifs-4 .tarif-nom { font-size: 1.3rem; }
  .tarifs-4 .liste-check > li { font-size: .85rem; }
}
@media (min-width: 1024px) {
  .tarifs-4 { gap: 1.25rem; }
  .tarifs-4 .tarif { padding: 2rem 1.4rem 1.75rem; }
  .tarifs-4 .tarif-nom { font-size: 1.45rem; }
}


/* 11. CTA ================================================================== */

/* Section CTA de fin de page, jaune clair */
.cta { padding-block: calc(var(--section) * .82); background: var(--jaune-clair); border-block: 1px solid var(--bd-jaune); }
.cta-inner { display: flex; flex-direction: column; gap: var(--esp-6); }
.cta h2 { max-width: 39rem; }
.cta p { max-width: 35rem; margin-top: .8rem; }
@media (min-width: 1024px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; } }

/* CTA de pilier : bloc synchronisé en fin d'article et dans les hubs
   (ex-.renvoi). Couleur du pilier, bouton blanc. */
.cta-pilier {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 1.75rem 1.5rem; border-radius: var(--radius);
  background: var(--pilier); color: var(--blanc); --focus: var(--blanc);
}
.cta-pilier :is(h2, h3) { color: var(--blanc); font-size: var(--t-h3); font-weight: 500; }
.cta-pilier p { color: var(--texte-inverse-doux); margin-top: .5rem; max-width: 33rem; }
.cta-pilier .lien { color: var(--blanc); }
.cta-pilier .ico { background: rgba(255, 255, 255, .12); color: var(--blanc); }
@media (min-width: 720px) {
  .cta-pilier { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; padding: 2.25rem 2.5rem; }
  .cta-pilier .boutons { flex-shrink: 0; }
}
/* Version sidebar : toujours empilée */
.cta-pilier-compact, .cta-pilier.cta-pilier-compact { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
.cta-pilier-compact :is(h2, h3) { font-size: 1.1rem; }
.cta-pilier-compact p { font-size: .88rem; }

/* Encart CTA au fil d'un article (ex-.encart-art), jaune clair */
.encart-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 1.5rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--bd-jaune); border-radius: var(--radius); background: var(--jaune-clair);
}
.encart-cta p { max-width: 26rem; font-size: .92rem; }

/* Réponse directe en tête d'article */
.reponse-directe { padding: 1.4rem 1.6rem; border: 1px solid var(--pilier-bd); border-radius: var(--radius); background: var(--pilier-clair); }
.reponse-directe-titre { margin-bottom: .45rem; font-size: var(--t-xs); font-weight: 700; color: var(--pilier); }
.reponse-directe p { color: var(--texte); }

/* Citation mise en avant (ex-.art-cite) */
.citation { padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--gris-clair); font-family: var(--police-titre); font-size: 1.14rem; line-height: 1.5; color: var(--bleu); }

/* Encart auteur */
.auteur { display: flex; align-items: center; gap: 1.2rem; padding: 1.5rem; border: 1px solid var(--bd-neutre); border-radius: var(--radius); background: var(--blanc); }
.auteur p { margin-top: .2rem; font-size: .88rem; }


/* 12. MÉDIAS ===============================================================
   Conteneur à proportion fixe pour [tev_img] (les tailles d'images ne sont
   pas recadrées, cahier §5.1). Placeholder .media-vide pour les maquettes. */

.media { position: relative; overflow: hidden; width: 100%; border-radius: var(--radius); background: var(--gris-clair); aspect-ratio: 4 / 3; }
.media > img, .media > video, .media > svg { width: 100%; height: 100%; object-fit: cover; }
.media-16-9 { aspect-ratio: 16 / 9; }
.media-16-10 { aspect-ratio: 16 / 10; }
.media-21-9 { aspect-ratio: 16 / 9; }
.media-carre { aspect-ratio: 1; }
.media-cadre { border: 1px solid var(--bd-neutre); }
.media-vide {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.5rem; text-align: center; color: var(--texte-meta); font-size: var(--t-xs);
  background: repeating-linear-gradient(135deg, var(--gris-clair) 0 12px, #EFEFEF 12px 24px);
}
.media-vide .i { width: 1.75rem; height: 1.75rem; stroke-width: 1.5; }
@media (min-width: 1024px) { .media-21-9 { aspect-ratio: 21 / 9; } }

.galerie { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .galerie { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .galerie { grid-template-columns: repeat(3, 1fr); } }


/* 13. STRUCTURE PRODUITE PAR LE THÈME ====================================== */

/* Lien d'évitement */
.tev-evitement {
  position: absolute; top: .5rem; left: .5rem; z-index: 200;
  padding: .6rem 1rem; border-radius: var(--radius-sm);
  background: var(--bleu); color: var(--blanc); font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.tev-evitement:focus { transform: none; }

/* Sprite inline, masqué */
.tev-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- Header ---------------------------------------------------------------
   Une seule structure HTML pour le bureau et le mobile (cahier §6.3). */

.tev-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--blanc); box-shadow: 0 1px 0 rgba(38, 49, 85, .08); }
.tev-nav {
  display: flex; align-items: center; gap: .5rem;
  height: var(--hauteur-header); max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin-inline: auto; padding-inline: var(--gouttiere);
}
.tev-nav > .logo-lien { margin-right: auto; }

.nav-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.nav-actions .btn { min-height: 2.375rem; padding: .5rem .85rem; font-size: .8rem; }
.tev-action-secondaire { display: none; }

.tev-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; margin-right: -.5rem;
  border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--bleu);
}
.tev-burger .i { width: 1.6rem; height: 1.6rem; stroke-width: 2; }
.tev-burger:hover { background: var(--gris-clair); }

/* Liens de la barre : base commune */
.nav-links { display: flex; flex-direction: column; }
.nav-links > li > a,
.nav-drop-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  width: 100%; border: 0; background: none; text-align: left;
  font-family: var(--police-texte); font-weight: 500; color: var(--texte); text-decoration: none;
}
.nav-links > li > a:hover, .nav-drop-btn:hover { opacity: 1; color: var(--vert); }
.nav-links > li > a[aria-current="page"], .nav-links > .est-actif > a, .nav-links > .est-actif > .nav-drop-btn { color: var(--vert); }
/* Chevron dessiné en CSS : aucun SVG à produire par le walker */
.nav-drop-btn::after {
  content: ""; flex-shrink: 0; width: .45em; height: .45em; margin-bottom: .2em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .55; transition: transform var(--duree);
}
.nav-drop-btn[aria-expanded="true"]::after { transform: translateY(.2em) rotate(-135deg); }
/* Parent du mega-menu dont l'URL n'est pas « # » : lien + bouton distincts */
.nav-drop-ligne { display: flex; align-items: center; }
.nav-drop-ligne > a { flex: 1; font-weight: 500; text-decoration: none; color: var(--texte); }
.nav-drop-ligne > .nav-drop-btn { width: auto; padding-inline: .5rem; }

/* Contenu du mega-menu */
.mega-col { display: flex; gap: .85rem; align-items: flex-start; }
.mega-titre { font-size: .92rem; font-weight: 700; line-height: 1.35; color: var(--pilier); }
.mega-titre a { color: inherit; text-decoration: none; }
.mega-titre a:hover { opacity: 1; text-decoration: underline; }
.mega-desc { margin-top: .15rem; font-size: .8rem; line-height: 1.45; color: var(--texte-meta); }
.mega-col ul { list-style: none; display: flex; flex-direction: column; gap: .1rem; margin-top: .45rem; }
.mega-col ul a { display: block; padding: .2rem 0; font-size: .88rem; color: var(--texte-doux); text-decoration: none; }
.mega-col ul a:hover { opacity: 1; color: var(--texte); text-decoration: underline; }
.mega-col ul a[aria-current="page"] { color: var(--pilier); font-weight: 600; }
.mega-foot { background: var(--gris-clair); }
.mega-foot-inner { display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; }
.mega-foot a { font-size: .86rem; font-weight: 500; color: var(--texte); text-decoration: none; }
.mega-foot a:hover { opacity: 1; color: var(--vert); text-decoration: underline; }

/* ---- Mobile et tablette (< 1120 px) : panneau plein écran sous le header -- */
@media (max-width: 1119.98px) {
  .nav-panneau {
    position: fixed; inset: var(--hauteur-header) 0 0 0; z-index: 99;
    overflow-y: auto; overscroll-behavior: contain;
    padding: .5rem var(--gouttiere) 3rem;
    background: var(--blanc); border-top: 1px solid var(--bd-neutre);
    visibility: hidden; opacity: 0; transform: translateY(-.5rem);
    transition: opacity var(--duree), transform var(--duree), visibility 0s linear var(--duree);
  }
  .nav-panneau.est-ouvert { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links { max-width: 40rem; margin-inline: auto; }
  .nav-links > li { border-bottom: 1px solid var(--bd-neutre); }
  .nav-links > li > a, .nav-drop-btn { min-height: 3.25rem; padding-block: .75rem; font-size: 1.125rem; }
  .nav-drop-btn::after { margin-right: .3rem; }

  /* « Nos services » en accordéon */
  .mega { display: none; padding-bottom: 1.25rem; }
  .nav-drop-btn[aria-expanded="true"] + .mega,
  .nav-drop-ligne:has(> .nav-drop-btn[aria-expanded="true"]) + .mega { display: block; }
  .mega-grid { display: grid; gap: 1.4rem 2rem; padding: .25rem 0 1.25rem; }
  .mega-foot { border-radius: var(--radius-sm); }
  .mega-foot-inner { flex-direction: column; padding: .9rem 1rem; }
  .mega-overlay { display: none; }

  /* Verrou sur html seul : un body en overflow hidden devient le conteneur
     de défilement du header sticky, qui remonte alors avec la page. */
  html.est-menu-ouvert { overflow: hidden; }
}
@media (min-width: 560px) and (max-width: 1119.98px) {
  .mega-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 379.98px) {
  .nav-actions { gap: .25rem; }
  .nav-actions .btn { padding-inline: .7rem; }
  .nav-tel { padding-inline: 0; }
}
@media (min-width: 720px) {
  .tev-action-secondaire { display: inline-flex; }
  .nav-actions { gap: .6rem; }
  .nav-actions .btn { min-height: 2.5rem; padding: .6rem 1.15rem; font-size: .84rem; }
}

/* ---- Bureau (≥ 1120 px) : barre horizontale et mega-menu ---------------- */
@media (min-width: 1120px) {
  .tev-nav { gap: 1.5rem; }
  .tev-nav > .logo-lien { margin-right: 0; }
  .tev-burger { display: none; }

  /* Le panneau et les éléments de niveau 0 occupent toute la hauteur du header :
     le bas du lien touche le haut du mega-menu, la zone de survol est continue. */
  .nav-panneau { align-self: stretch; display: flex; margin-inline: auto; }
  .nav-links { flex-direction: row; align-items: stretch; gap: 1.6rem; }
  .nav-links > li { display: flex; align-items: center; }
  .nav-links > li > a, .nav-drop-btn { width: auto; padding-block: .5rem; font-size: .9rem; }

  .nav-drop { position: static; }
  .mega {
    position: absolute; top: 100%; left: 0; right: 0;
    visibility: hidden; opacity: 0; transition: opacity .18s ease, visibility 0s linear .18s;
  }
  .nav-drop-btn[aria-expanded="true"] + .mega,
  .nav-drop-ligne:has(> .nav-drop-btn[aria-expanded="true"]) + .mega { visibility: visible; opacity: 1; transition-delay: 0s; }
  .mega-inner { position: relative; z-index: 1; background: var(--blanc); box-shadow: var(--ombre-panneau); border-top: 1px solid var(--bd-neutre); }
  .mega-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem;
    max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto;
    padding: 2.5rem var(--gouttiere) 2.25rem;
  }
  .mega-foot-inner { max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding: 1rem var(--gouttiere); }
  .mega-overlay {
    position: absolute; top: 100%; left: 0; right: 0; height: 100vh;
    background: rgba(20, 24, 31, .55); pointer-events: none;
  }
}

/* ---- Sans JavaScript (cahier §6.3) --------------------------------------
   Bureau : survol et :focus-within. Mobile : panneau affiché sous le header. */
@media (scripting: none) {
  .tev-burger { display: none; }
  @media (max-width: 1119.98px) {
    .tev-nav { flex-wrap: wrap; height: auto; min-height: var(--hauteur-header); padding-block: .75rem; }
    .nav-panneau { position: static; order: 3; flex-basis: 100%; padding: 0; visibility: visible; opacity: 1; transform: none; border: 0; }
    .mega { display: block; }
  }
  @media (min-width: 1120px) {
    .nav-drop:hover > .mega, .nav-drop:focus-within > .mega { visibility: visible; opacity: 1; transition-delay: 0s; }
  }
}

/* ---- Header des landings : coque commune, contenu réduit ---------------- */
.lp-nav { display: none; }
.nav-tel { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding-inline: .25rem; font-size: .88rem; font-weight: 600; color: var(--texte); text-decoration: none; }
.nav-tel .i { width: 1.15rem; height: 1.15rem; color: var(--pilier); }
.nav-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 480px) { .nav-tel span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; } }
@media (min-width: 720px) {
  .lp-nav { display: flex; gap: 1.5rem; margin-inline: auto; }
  .lp-nav a { font-size: .88rem; font-weight: 500; color: var(--texte); text-decoration: none; }
  .lp-nav a:hover { opacity: 1; color: var(--pilier); }
  .tev-header-landing .tev-nav > .logo-lien { margin-right: 0; }
}

/* ---- Fil d'Ariane ------------------------------------------------------- */
.fil-ariane { background: var(--pilier-clair); }
.fil-ariane ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto;
  padding: .8rem var(--gouttiere); list-style: none;
  font-size: var(--t-xs); color: var(--texte-meta);
}
.fil-ariane li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.fil-ariane a { color: var(--texte-meta); text-decoration: none; }
.fil-ariane a:hover { opacity: 1; color: var(--pilier); text-decoration: underline; }
.fil-ariane [aria-current] { color: var(--texte); font-weight: 500; }

/* ---- Footers (général, blog, landing) ------------------------------------ */
.tev-footer { padding: 3.5rem 0 1.75rem; background: var(--bleu); color: var(--texte-inverse-doux); --focus: var(--blanc); }
.tev-footer .logo-lien { color: var(--blanc); }
.tev-footer .logo-bloc { fill: rgba(255, 255, 255, .12); }
.tev-footer a { color: var(--texte-inverse-doux); text-decoration: none; }
.tev-footer a:hover { opacity: 1; color: var(--jaune); text-decoration: underline; }

.foot-grid { display: grid; gap: 2.5rem; }
.foot-brand p { max-width: 19rem; margin-top: .9rem; font-size: .88rem; color: var(--texte-inverse-doux); }
.foot-adresses { display: grid; gap: .9rem; margin-top: 1.4rem; font-size: .85rem; line-height: 1.55; }
.foot-adresses strong { display: block; color: var(--blanc); font-weight: 600; }
.foot-adresses .i { width: 1rem; height: 1rem; color: var(--blanc); display: inline-block; vertical-align: -.15em; margin-right: .35rem; }
.foot-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
.foot-titre { margin-bottom: .8rem; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--blanc); }
.foot-col ul { display: flex; flex-direction: column; gap: .2rem; list-style: none; }
.foot-col a { display: inline-block; padding-block: .2rem; font-size: .86rem; }

.foot-bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem;
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--bd-inverse);
  font-size: .8rem;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; }
.foot-legal a { display: inline-block; padding-block: .2rem; }

.tev-footer.tev-footer-landing { padding-block: 1.5rem; }
.tev-footer-landing .foot-bas { margin-top: 0; padding-top: 0; border-top: 0; }

@media (min-width: 720px) {
  .foot-nav { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .tev-footer { padding-top: 4.5rem; }
  .foot-grid { grid-template-columns: 1.35fr 3.65fr; gap: 3rem; }
}


/* 14. GABARITS ============================================================= */

/* ---- Héros -----------------------------------------------------------------
   .hero : accueil (jaune clair). .hero-pilier : hubs, prestations, réalisations,
   landings (fond du pilier). Contenu : .duo, ou une colonne. */
.hero { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); background: var(--jaune-clair); border-bottom: 1px solid var(--bd-jaune); overflow: hidden; }
.hero-pilier { background: var(--pilier-clair); border-bottom: 0; }
.hero h1 { margin-block: .9rem 1.1rem; }
.hero .chapo + p { margin-top: 1rem; max-width: 36rem; }
.hero .boutons { margin-top: 2rem; }
.hero .chiffres { margin-top: 2.5rem; }
.hero .rassure { margin-top: 1.6rem; }
.hero-encart { padding: 1.75rem; border: 1px solid var(--pilier-bd); border-radius: var(--radius); background: var(--blanc); }
.hero-encart h2, .hero-encart h3 { font-size: var(--t-h4); font-weight: 500; margin-bottom: 1.1rem; }
.hero-encart .chiffres { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--bd-neutre); gap: 1.25rem 2rem; }

/* ---- Article --------------------------------------------------------------- */
.article-hero { padding-block: 2.5rem 2rem; background: var(--pilier-clair); }
.article-hero .container { max-width: calc(860px + 2 * var(--gouttiere)); }
.article-hero h1 { margin-block: .9rem 1rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; margin-top: 1.4rem; font-size: .82rem; color: var(--texte-meta); }
.article-meta a { color: inherit; }
.article-visuel { max-width: calc(900px + 2 * var(--gouttiere)); margin: 2rem auto 0; padding-inline: var(--gouttiere); }
.article-guide .article-visuel { max-width: calc(var(--largeur) + 2 * var(--gouttiere)); }
.article-grille { display: grid; gap: 3rem; padding-block: 2.5rem var(--section); }
.article-corps { min-width: 0; }
.article-corps.prose { margin-inline: auto; }
.article-pied { display: grid; gap: 2rem; max-width: var(--largeur-texte); margin: 2.75rem auto 0; }
/* CTA de pilier en fin d'article : toujours empilé (la colonne de 720 px
   ne laisse pas la place au texte et aux boutons côte à côte) */
.article-pied .cta-pilier { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

/* Sidebar du blog : passe sous le contenu, sticky au-delà de 1024 px */
.sidebar { display: grid; gap: 1.5rem; align-content: start; }
.sidebar-bloc { padding: 1.4rem; border: 1px solid var(--bd-neutre); border-radius: var(--radius); }
.sidebar-titre { margin-bottom: .8rem; font-size: .82rem; font-weight: 700; color: var(--bleu); }
.sidebar-bloc ul { display: grid; gap: .55rem; list-style: none; }
.sidebar-bloc a { font-size: .9rem; color: var(--texte-doux); text-decoration: none; }
.sidebar-bloc a:hover { opacity: 1; color: var(--pilier); text-decoration: underline; }
.sidebar .cta-pilier { display: none; }
@media (min-width: 1024px) {
  .article-grille { grid-template-columns: minmax(0, var(--largeur-texte)) 18.5rem; justify-content: space-between; gap: 4rem; }
  .article-grille .article-corps.prose { margin-inline: 0; }
  .article-grille .article-pied { margin-inline: 0; }
  .sidebar { position: sticky; top: calc(var(--hauteur-header) + 1.5rem); }
  .sidebar .cta-pilier { display: flex; }
}

/* ---- Archives du blog ------------------------------------------------------ */
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.filtres a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.25rem; padding: .3rem .9rem; border: 1px solid var(--bd-neutre); border-radius: var(--radius-pill); background: var(--blanc); font-size: .84rem; color: var(--texte-doux); text-decoration: none; }
.filtres a:hover { opacity: 1; border-color: var(--pilier); }
.filtres a[aria-current] { border-color: var(--pilier); background: var(--pilier); color: var(--blanc); }
.filtres a[aria-current] .pastille { background: var(--blanc); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding-inline: .6rem; border-radius: var(--radius-pill); font-size: .9rem; text-decoration: none; color: var(--texte-doux); }
.pagination a:hover { opacity: 1; background: var(--pilier-clair); color: var(--pilier); }
.pagination [aria-current] { background: var(--pilier); color: var(--blanc); font-weight: 600; }

/* ---- Recherche (searchform.php : 404, résultats) ------------------------- */
.tev-recherche { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 36rem; }
.tev-recherche input[type="search"] {
  flex: 1 1 14rem; min-height: 2.75rem; padding: .6rem 1.1rem;
  border: 1px solid var(--bd-neutre); border-radius: var(--radius-pill); background: var(--blanc);
  font-size: var(--t-sm); color: var(--texte);
}
.tev-recherche input[type="search"]:focus-visible { border-color: var(--pilier); }
.tev-recherche .btn { min-height: 2.75rem; }

/* ---- Graphique de résultat (réalisations) --------------------------------- */
.graphe { width: 100%; height: auto; }
.graphe text { font-family: var(--police-texte); font-size: 10px; fill: var(--texte-meta); }
.graphe-barre { transform-box: fill-box; transform-origin: bottom; animation: monte .7s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes monte { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---- Landing : carte du formulaire (le formulaire vient de [tev_form]) ---- */
.form-carte { padding: 1.5rem; border: 1px solid var(--pilier-bd); border-radius: var(--radius); background: var(--blanc); }
.form-carte h2, .form-carte h3 { font-size: var(--t-h3); margin-bottom: .4rem; }
.form-carte > p { font-size: .9rem; margin-bottom: 1.25rem; }
.urgence { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .95rem; border: 1px solid var(--pilier-bd); border-radius: var(--radius-pill); background: var(--blanc); font-size: .8rem; font-weight: 600; color: var(--pilier); }
.urgence .i { width: 1rem; height: 1rem; }
@media (min-width: 720px) { .form-carte { padding: 2rem; } }


/* 15. MODULES ANIMÉS =======================================================
   Langage commun : fond transparent, traits fins, anneaux pulsés.
   Le JS (phare.js, carte-france.js) n'est chargé que si la page porte
   data-tev-module="…" ; ces règles restent ici car elles sont légères. */

/* Phare (accueil) */
.phare-wrap { width: 100%; max-width: 30rem; margin-inline: auto; }
.phare { width: 100%; height: auto; aspect-ratio: 440 / 400; }
.phare-faisceau { transform-origin: 220px 150px; animation: balayage 30s linear infinite; }
.phare-lanterne { animation: lueur 3.4s ease-in-out infinite; }
.phare-point { cursor: pointer; }
.phare-point .halo { opacity: 0; transition: opacity var(--duree); }
.phare-point .fil { transition: stroke-opacity var(--duree); }
.phare-point .noyau { transition: r var(--duree), opacity var(--duree); }
/* Séquence automatique (classe est-anime posée par phare.js) : points en retrait
   tant que le faisceau ne les éclaire pas. */
.est-anime .phare-point:not(.est-actif, :hover, :focus-visible) .noyau { opacity: .45; }
.est-en-pause :is(.phare-faisceau, .phare-lanterne),
.est-hors-champ :is(.phare-faisceau, .phare-lanterne) { animation-play-state: paused; }
.phare-point:is(:hover, :focus-visible, .est-actif) .halo { opacity: .2; }
.phare-point:is(:hover, :focus-visible, .est-actif) .fil { stroke-opacity: .5; }
.phare-point:is(:hover, :focus-visible, .est-actif) .noyau { r: 7.5; }
.phare-point:focus { outline: none; }
.phare-point:focus-visible .noyau { stroke: var(--bleu); stroke-width: 2; }
.phare-legende { position: relative; display: grid; place-items: center; min-height: 5.75rem; margin-top: 1.1rem; padding-inline: .5rem; text-align: center; }
.phare-legende > * { grid-area: 1 / 1; transition: opacity var(--duree); }
.phare-legende [hidden] { display: block; opacity: 0; pointer-events: none; }
.phare-legende p { font-size: .87rem; }
/* Titre de la légende : couleur du point actif (classe c-* posée par phare.js
   sur [data-tev-legende="detail"]). Double classe pour passer devant .phare-legende p. */
.phare-legende .phare-legende-titre { margin-bottom: .25rem; font-family: var(--police-titre); font-size: 1.05rem; font-weight: 500; line-height: 1.3; color: var(--pilier); }
/* Bouton pause / reprise : affiché par phare.js (hidden sans le script). */
.phare-commande { display: block; margin: .35rem auto 0; padding: .35rem .6rem; border: 0; background: none; font: inherit; font-size: .8rem; color: var(--texte-meta); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.phare-commande:hover { color: var(--bleu); }
.phare-commande[hidden] { display: none; }
@keyframes balayage { to { transform: rotate(360deg); } }
@keyframes lueur { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* Carte de France (SEO local) */
.carte-fr { width: 100%; max-width: 27.5rem; height: auto; margin-inline: auto; overflow: visible; }
.carte-fr .ville-lbl { font-family: var(--police-texte); font-size: 11px; font-weight: 600; fill: var(--pilier); }
.carte-onde { transform-box: fill-box; transform-origin: center; animation: rayonne 4.4s ease-out infinite; }
.carte-onde-forte { animation: rayonne-fort 5.2s ease-out infinite; }
.carte-legende { max-width: 21rem; margin: .75rem auto 0; font-size: .86rem; text-align: center; }
@keyframes rayonne { 0% { transform: scale(.7); opacity: 0; } 18% { opacity: .5; } 100% { transform: scale(4); opacity: 0; } }
@keyframes rayonne-fort { 0% { transform: scale(.8); opacity: 0; } 15% { opacity: .55; } 100% { transform: scale(3.6); opacity: 0; } }

/* Illustrations SVG des sections (constat, FAQ animée) */
.anim { width: 100%; height: auto; }
.anim text { font-family: var(--police-texte); font-size: 12px; font-weight: 600; }
.anim-fleche { animation: fleche-bas 2.6s ease-in-out infinite; }
.anim-citation { animation: pulse-citation 3s ease-in-out infinite; }
.anim-citation:nth-of-type(2) { animation-delay: .7s; }
.anim-citation:nth-of-type(3) { animation-delay: 1.4s; }
.anim-faq-reponse { animation: faq-ouvre 7s ease-in-out infinite; }
.anim-faq-chevron { transform-origin: center; transform-box: fill-box; animation: faq-chevron 7s ease-in-out infinite; }
@keyframes fleche-bas { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(7px); opacity: 1; } }
@keyframes pulse-citation { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes faq-ouvre { 0%, 12% { opacity: 0; } 22%, 72% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes faq-chevron { 0%, 12% { transform: rotate(0); } 22%, 72% { transform: rotate(90deg); } 82%, 100% { transform: rotate(0); } }


/* Questionnaire d'orientation ou d'estimation : choix en pastilles, résultat
   calculé côté client par assets/js/orientation.js (data-tev-module=
   "orientation"). États est-pret, est-complet, est-actif posés par le JS.
   Sans JS, les questions sont masquées et toutes les réponses restent lisibles. */
.orientation { display: grid; gap: var(--esp-6); padding: 1.5rem; border: 1px solid var(--pilier-bd); border-radius: var(--radius); background: var(--blanc); }
.orientation-questions { display: grid; gap: 1.5rem; }
.orientation-question { min-width: 0; border: 0; }
.orientation-question legend { margin-bottom: .7rem; padding: 0; font-family: var(--police-titre); font-size: var(--t-h4); font-weight: 500; line-height: 1.3; color: var(--bleu); }
.orientation-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.orientation-options label {
  position: relative; display: inline-flex; align-items: center;
  min-height: 2.5rem; padding: .45rem 1rem;
  border: 1px solid var(--bd-neutre); border-radius: var(--radius-pill); background: var(--blanc);
  font-size: var(--t-sm); line-height: 1.3; color: var(--texte-doux); cursor: pointer;
  transition: border-color var(--duree), background-color var(--duree), color var(--duree);
}
.orientation-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.orientation-options label:hover { border-color: var(--pilier); color: var(--texte); }
.orientation-options label:has(input:checked) { border-color: var(--pilier); background: var(--pilier); color: var(--blanc); font-weight: 600; }
.orientation-options label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.orientation-attente { padding: 1rem 1.25rem; border: 1px dashed var(--pilier-bd); border-radius: var(--radius-sm); font-size: var(--t-sm); color: var(--texte-meta); }
.orientation-reponses { display: grid; gap: 1.25rem; }
.orientation-reponse .boutons { margin-top: .25rem; }
.orientation.est-pret .orientation-reponse:not(.est-actif),
.orientation.est-pret [data-tev-si]:not(.est-actif) { display: none; }
.orientation-details { padding-inline: .25rem; }
.orientation.est-pret .orientation-details:not(:has(.est-actif)) { display: none; }
.orientation:not(.est-pret) .orientation-attente,
.orientation.est-complet .orientation-attente { display: none; }
@media (scripting: none) { .orientation-questions { display: none; } }
@media (min-width: 720px) {
  .orientation { padding: 2rem; }
  .orientation-questions { grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; }
}


/* 16. UTILITAIRES, PRÉFÉRENCES, IMPRESSION ================================ */

.visuellement-masque { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.centre { text-align: center; }
.largeur-texte { max-width: var(--largeur-texte); }
.espace-haut { margin-top: var(--esp-6); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .tev-header, .tev-footer .foot-nav, .cta, .cta-pilier, .encart-cta, .sidebar, .tev-evitement { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
