/*
 * Ciel Vert Burkina Faso — feuille de style du thème enfant (refonte 2026, #808).
 *
 * 1. Jetons du design system « Ciel Vert » (tokens.json, thème clair)
 * 2. Styles typographiques générés (titre-xl … bouton)
 * 3. Composants du design system (components/bundle.css) : Bouton, Pastille, TableauDosage,
 *    CarteProduit, CarteSecteur, Temoignage, DemandeFiche, EnTete
 * 4. Composants de page de la maquette validée (Bandeau, FilAriane, BandeLogos, Etapes, Encadre,
 *    FAQ, Comparatif, CarteMateriel, AvantApres, FormulaireDevis, Coordonnees, PiedDePage…)
 * 5. Intégration WordPress : blocs natifs, Gravity Forms, marqueurs, en-tête collant, éditeur
 *
 * Toute couleur, taille ou espace vient d'un jeton : ne pas écrire de valeur en dur.
 */

:root {
  /* Jetons du design system « Ciel Vert » (thème clair de tokens.json) */
  --bleu-ciel: #1776bc;
  --bleu-profond: #0a59a5;
  --bleu-clair: #73a1d7;
  --bleu-titre: #1776bc;
  --vert-feuille: #539d44;
  --vert-profond: #288342;
  --vert-clair: #8db876;
  --menthe: #b6e8ce;
  --fond: #ffffff;
  --fond-doux: #f3f7f6;
  --surface: #ffffff;
  --trait: #d5e0de;
  --trait-fort: #7a8c95;
  --encre: #13232e;
  --encre-douce: #4a5b66;
  --lien: #0a59a5;
  --vert-texte: #22703a;
  --action: #1776bc;
  --action-survol: #0a59a5;
  --sur-action: #ffffff;
  --focus: #1776bc;
  --succes: #22703a;
  --attention: #8a5a00;
  --danger: #b3261e;
  --font-titre: Jost, "Century Gothic", "Avenir Next", sans-serif;
  --font-texte: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --espace-1: 4px;
  --espace-2: 8px;
  --espace-3: 12px;
  --espace-4: 16px;
  --espace-5: 24px;
  --espace-6: 32px;
  --espace-7: 48px;
  --espace-8: 64px;
  --espace-9: 96px;
  --rayon-s: 4px;
  --rayon-m: 8px;
  --rayon-l: 16px;
  --rayon-rond: 999px;
  --largeur-page: 1200px;
  --largeur-texte: 680px;
  --hauteur-controle: 48px;
  --ombre-carte: 0 1px 2px rgba(19,35,46,0.08), 0 4px 12px rgba(19,35,46,0.06);
  /* Pied de page sur encre : valeurs du thème sombre des mêmes jetons */
  --pied-texte: #e8eff1;
  --pied-texte-doux: #a9b9c1;
  --pied-trait: #2a3f4c;
  --pied-lien: #73a1d7;
}
/* ---------- Composants du design system (bundle.css) ---------- */
.cv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Bouton ---------- */
.cv-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--espace-2); min-height: var(--hauteur-controle); padding: 0 var(--espace-5); border-radius: var(--rayon-m); border: 1px solid transparent; font-family: var(--font-texte); text-decoration: none; cursor: pointer; white-space: nowrap; }
.cv-btn svg { width: 20px; height: 20px; flex: none; }
.cv-btn--principal { background: var(--action); color: var(--sur-action); }
.cv-btn--principal:hover, .cv-btn--principal:active { background: var(--action-survol); }
.cv-btn--secondaire { background: var(--surface); color: var(--encre); border-color: var(--trait-fort); }
.cv-btn--secondaire:hover { border-color: var(--encre); }
.cv-btn--whatsapp { background: var(--surface); color: var(--vert-texte); border-color: var(--trait-fort); }
.cv-btn--whatsapp:hover { border-color: var(--vert-texte); }
.cv-btn:focus-visible, .cv-lien-fleche:focus-visible, .cv-champ input:focus-visible, .cv-nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cv-btn[disabled] { opacity: .5; cursor: not-allowed; }
.cv-lien-fleche { display: inline-flex; align-items: center; gap: var(--espace-1); color: var(--lien); text-decoration: none; border-radius: var(--rayon-s); }
.cv-lien-fleche svg { width: 18px; height: 18px; transition: transform .15s ease; }
.cv-lien-fleche:hover { text-decoration: underline; text-underline-offset: 3px; }
.cv-lien-fleche:hover svg { transform: translateX(3px); }

/* ---------- Pastille ---------- */
.cv-pastilles { display: flex; flex-wrap: wrap; gap: var(--espace-2); margin: 0; padding: 0; list-style: none; }
.cv-pastille { display: inline-flex; align-items: center; gap: var(--espace-2); min-height: 28px; padding: 0 10px; border-radius: var(--rayon-rond); background: var(--fond-doux); border: 1px solid var(--trait); color: var(--encre-douce); font-family: var(--font-texte); font-size: 14px; font-weight: 600; line-height: 1; }
.cv-pastille::before { content: ""; width: 8px; height: 8px; border-radius: var(--rayon-rond); background: var(--trait-fort); }
.cv-pastille--produit { background: var(--menthe); border-color: transparent; color: var(--encre); }
.cv-pastille--produit::before { background: var(--vert-feuille); }
.cv-pastille--secteur::before { background: var(--bleu-ciel); }

/* ---------- Tableau de dosage ---------- */
.cv-dosage { border: 1px solid var(--trait); border-radius: var(--rayon-m); overflow: hidden; background: var(--surface); }
.cv-dosage__entete, .cv-dosage__ligne { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--espace-5); padding: var(--espace-3) var(--espace-5); }
.cv-dosage__entete { background: var(--menthe); color: var(--encre); }
.cv-dosage__ligne { border-top: 1px solid var(--trait); align-items: start; padding-block: var(--espace-5); }
.cv-dosage__ligne > * { min-width: 0; margin: 0; }
.cv-dosage__application { margin: 0; color: var(--encre); }
.cv-dosage__usages { margin: var(--espace-1) 0 0; color: var(--encre-douce); }
.cv-dosage__mode { color: var(--encre); }
.cv-dosage__chiffre { display: block; color: var(--vert-texte); font-variant-numeric: tabular-nums; }
.cv-dosage__proportion { display: block; margin-top: var(--espace-1); color: var(--encre-douce); }
.cv-jauge { position: relative; height: 8px; margin-top: var(--espace-3); border-radius: var(--rayon-s); background: var(--fond-doux); box-shadow: inset 0 0 0 1px var(--trait); }
.cv-jauge__plein { position: absolute; inset: 0 auto 0 0; width: calc(var(--dose, 0) * 10%); border-radius: var(--rayon-s); background: var(--vert-feuille); }
.cv-jauge__graduation { display: flex; justify-content: space-between; margin-top: 4px; color: var(--encre-douce); font-size: 11px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .cv-dosage__entete { display: none; }
  .cv-dosage__ligne { grid-template-columns: minmax(0, 1fr); gap: var(--espace-3); }
}

/* ---------- Carte produit ---------- */
.cv-produits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--espace-6); width: 100%; min-width: 0; }
.cv-produit { display: flex; flex-direction: column; border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); overflow: hidden; }
.cv-produit:hover { box-shadow: var(--ombre-carte); }
.cv-produit__visuel { position: relative; display: flex; align-items: flex-end; justify-content: space-between; aspect-ratio: 4 / 3; max-width: 100%; padding: var(--espace-5); background: var(--menthe); }
.cv-produit__visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv-produit__code { position: relative; font-family: var(--font-titre); font-size: 64px; line-height: 1; font-weight: 600; color: var(--bleu-titre); font-variant-numeric: tabular-nums; }
.cv-produit__corps { display: flex; flex-direction: column; gap: var(--espace-3); padding: var(--espace-5); flex: 1; }
.cv-produit__corps > * { margin: 0; }
.cv-produit__nom { color: var(--encre); }
.cv-produit__desc { color: var(--encre-douce); }
.cv-produit__dose { color: var(--vert-texte); font-variant-numeric: tabular-nums; }
.cv-produit__pied { margin-top: auto; padding-top: var(--espace-2); }

/* ---------- Carte secteur ---------- */
.cv-secteurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--espace-6); width: 100%; min-width: 0; }
.cv-secteur { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--espace-4); padding: var(--espace-5); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); }
.cv-secteur__picto { width: 48px; height: 48px; border-radius: var(--rayon-m); background: var(--fond-doux); display: grid; place-items: center; }
.cv-secteur__picto img { width: 36px; height: 36px; }
.cv-secteur__corps { display: flex; flex-direction: column; gap: var(--espace-2); }
.cv-secteur__corps > * { margin: 0; }
.cv-secteur__salissures { color: var(--encre-douce); }
.cv-secteur__produit { color: var(--encre); }
.cv-secteur__produit strong { font-weight: 600; }

/* ---------- Témoignage ---------- */
.cv-temoignage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--espace-6); align-items: center; }
.cv-temoignage__video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--rayon-l); background: var(--bleu-profond); display: grid; place-items: center; overflow: hidden; }
.cv-temoignage__video button { width: 64px; height: 64px; border-radius: var(--rayon-rond); border: 0; background: var(--sur-action); color: var(--action); display: grid; place-items: center; cursor: pointer; }
.cv-temoignage__video button:focus-visible { outline: 2px solid var(--sur-action); outline-offset: 3px; }
.cv-temoignage__video svg { width: 26px; height: 26px; margin-left: 3px; }
.cv-temoignage__duree { position: absolute; right: var(--espace-3); bottom: var(--espace-3); padding: 2px 8px; border-radius: var(--rayon-s); background: var(--fond); color: var(--encre); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cv-temoignage figure { margin: 0; display: flex; flex-direction: column; gap: var(--espace-4); }
.cv-temoignage blockquote { margin: 0; color: var(--encre); }
.cv-temoignage blockquote::before { content: "«\00a0"; color: var(--vert-feuille); font-family: var(--font-titre); font-weight: 600; }
.cv-temoignage blockquote::after { content: "\00a0»"; color: var(--vert-feuille); font-family: var(--font-titre); font-weight: 600; }
.cv-temoignage figcaption { color: var(--encre-douce); }
.cv-temoignage figcaption strong { color: var(--encre); font-weight: 600; }
.cv-temoignage__conseil { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-3); padding: var(--espace-6); border-radius: var(--rayon-l); background: var(--menthe); color: var(--encre); }
.cv-temoignage__conseil > * { margin: 0; }
.cv-temoignage__conseil .cv-actions { margin-top: var(--espace-2); }
.cv-temoignage__picto { width: 56px; height: 56px; padding: 6px; border-radius: var(--rayon-m); background: var(--surface); }
.cv-temoignage__clients { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-4) var(--espace-6); margin: 0; padding: 0; list-style: none; }
.cv-temoignage__clients img { width: auto; height: 36px; }
@media (max-width: 640px) { .cv-temoignage { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Demande de fiche ---------- */
.cv-fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: var(--espace-6); padding: var(--espace-6); border-radius: var(--rayon-m); background: var(--menthe); color: var(--encre); }
.cv-fiche > div > * { margin: 0; }
.cv-fiche__intro { display: flex; flex-direction: column; gap: var(--espace-2); }
.cv-fiche form { display: flex; flex-direction: column; gap: var(--espace-3); }
.cv-champ { display: flex; flex-direction: column; gap: var(--espace-1); }
.cv-champ label { font-weight: 600; font-size: 15px; }
.cv-champ__ligne { display: flex; gap: var(--espace-2); flex-wrap: wrap; }
.cv-champ input { flex: 1 1 220px; min-width: 0; min-height: var(--hauteur-controle); padding: 0 var(--espace-4); border: 1px solid var(--trait-fort); border-radius: var(--rayon-s); background: var(--surface); color: var(--encre); font: inherit; font-size: 17px; }
.cv-champ input::placeholder { color: var(--encre-douce); }
.cv-champ--erreur input { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.cv-champ__erreur { display: flex; gap: var(--espace-1); align-items: flex-start; color: var(--danger); font-size: 15px; line-height: 22px; }
.cv-champ__erreur svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.cv-fiche__mention { color: var(--encre-douce); margin: 0; }
@media (max-width: 640px) { .cv-fiche { grid-template-columns: minmax(0, 1fr); padding: var(--espace-5); } }

/* ---------- En-tête ---------- */
.cv-entete { display: flex; align-items: center; justify-content: space-between; gap: var(--espace-5); padding: var(--espace-3) var(--espace-5); background: var(--fond); border-bottom: 1px solid var(--trait); }
.cv-entete__logo { display: block; flex: none; padding: 6px 8px; border-radius: var(--rayon-s); background: #ffffff; }
.cv-entete__logo img { display: block; height: 40px; width: auto; }
.cv-nav { display: flex; gap: var(--espace-5); margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.cv-nav a { color: var(--encre); text-decoration: none; font-weight: 600; font-size: 16px; padding: var(--espace-2) 0; border-bottom: 2px solid transparent; border-radius: 2px; }
.cv-nav a:hover, .cv-nav a[aria-current="page"] { border-bottom-color: var(--vert-feuille); }
.cv-entete__actions { display: flex; align-items: center; gap: var(--espace-3); }
.cv-entete__langue { color: var(--encre-douce); font-weight: 600; font-size: 14px; text-decoration: none; }
.cv-entete__menu { display: none; }
@media (max-width: 1100px) { .cv-nav { display: none; } .cv-entete__menu { display: inline-flex; } }
@media (max-width: 560px) { .cv-entete { padding-inline: var(--espace-4); } .cv-entete__langue, .cv-entete__whatsapp, .cv-entete__devis { display: none; } }

/* ---------- Styles typographiques (tokens.json) ---------- */
.titre-xl { font-family: var(--font-titre); font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.01em; }
.titre-l { font-family: var(--font-titre); font-size: 36px; line-height: 42px; font-weight: 600; }
.titre-m { font-family: var(--font-titre); font-size: 28px; line-height: 34px; font-weight: 600; }
.titre-s { font-family: var(--font-titre); font-size: 21px; line-height: 28px; font-weight: 600; }
.dosage { font-family: var(--font-titre); font-size: 40px; line-height: 40px; font-weight: 600; }
.surtitre { font-family: var(--font-texte); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; }
.texte-l { font-family: var(--font-texte); font-size: 19px; line-height: 30px; font-weight: 400; }
.texte { font-family: var(--font-texte); font-size: 17px; line-height: 27px; font-weight: 400; }
.texte-s { font-family: var(--font-texte); font-size: 15px; line-height: 22px; font-weight: 400; }
.legende { font-family: var(--font-texte); font-size: 13px; line-height: 18px; font-weight: 400; }
.bouton { font-family: var(--font-texte); font-size: 16px; line-height: 20px; font-weight: 600; }

/* ---------- Page ---------- */
body.cv-site { background: var(--fond); color: var(--encre); font-family: var(--font-texte); min-width: 0; }
:where(.cv-site, .editor-styles-wrapper) *, :where(.cv-site, .editor-styles-wrapper) *::before, :where(.cv-site, .editor-styles-wrapper) *::after { box-sizing: border-box; }
:where(.cv-site, .editor-styles-wrapper) :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
:where(.cv-site, .editor-styles-wrapper) :where(h1, h2, h3) { text-wrap: balance; }
:where(.cv-site, .editor-styles-wrapper) a { color: var(--lien); }
:where(.cv-site, .editor-styles-wrapper) img { max-width: 100%; height: auto; }
.cv-conteneur { width: 100%; max-width: calc(var(--largeur-page) + 2 * var(--espace-6)); margin-inline: auto; padding-inline: var(--espace-6); }
.cv-section { padding-block: var(--espace-9); }
.cv-section--doux { background: var(--fond-doux); }
.cv-section--filet { border-top: 1px solid var(--trait); }
.cv-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--espace-5); margin-bottom: var(--espace-7); }
.cv-tete__texte { display: flex; flex-direction: column; gap: var(--espace-3); max-width: var(--largeur-texte); }
.cv-tete__intro { color: var(--encre-douce); }
.cv-bloc + .cv-bloc { margin-top: var(--espace-9); }
.cv-marqueur { display: inline-flex; align-items: center; gap: var(--espace-1); padding: 2px 8px; border: 1px dashed var(--attention); border-radius: var(--rayon-s); color: var(--attention); font-family: var(--font-texte); font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0; vertical-align: middle; }

/* ---------- En-tête : alignement sur la grille et sous-menus ---------- */
.cv-entete--page { position: relative; padding-inline: max(var(--espace-6), calc((100% - var(--largeur-page)) / 2)); }
.cv-nav { align-items: center; }
.cv-nav > li { position: relative; display: flex; align-items: center; }
.cv-nav > li > a { display: inline-flex; align-items: center; gap: 4px; }
.cv-entete__whatsapp { width: var(--hauteur-controle); padding: 0; }
.cv-nav__parent svg { width: 16px; height: 16px; flex: none; }
.cv-sousmenu { display: none; position: absolute; top: 100%; left: -14px; z-index: 40; min-width: 270px; margin: 0; padding: var(--espace-2); list-style: none; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon-m); box-shadow: var(--ombre-carte); white-space: normal; }
.cv-nav > li:hover > .cv-sousmenu, .cv-nav > li:focus-within > .cv-sousmenu { display: block; }
.cv-sousmenu a { display: block; padding: 10px 12px; border-bottom: 0; border-radius: var(--rayon-s); }
.cv-sousmenu a:hover { background: var(--fond-doux); }
.cv-sousmenu__tout { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--trait); }
.cv-sousmenu__tout a { color: var(--lien); }

/* ---------- Fil d'Ariane ---------- */
.cv-ariane { padding-top: var(--espace-5); }
.cv-ariane ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2); margin: 0; padding: 0; list-style: none; color: var(--encre-douce); }
.cv-ariane li { display: inline-flex; align-items: center; gap: var(--espace-2); }
.cv-ariane li + li::before { content: ""; width: 6px; height: 6px; margin-right: 2px; border-top: 1.5px solid var(--trait-fort); border-right: 1.5px solid var(--trait-fort); transform: rotate(45deg); }
.cv-ariane a { color: var(--lien); text-decoration: none; }
.cv-ariane a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cv-ariane [aria-current="page"] { color: var(--encre); font-weight: 600; }

/* ---------- Bandeau ---------- */
.cv-bandeau { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--espace-8); align-items: center; padding-block: var(--espace-8) var(--espace-9); }
.cv-bandeau--accueil { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.cv-bandeau--page { padding-block: var(--espace-6) var(--espace-8); }
.cv-bandeau--seul { grid-template-columns: minmax(0, 1fr); padding-bottom: var(--espace-8); }
.cv-bandeau--seul .cv-bandeau__chapo { max-width: 760px; }
.cv-bandeau__texte { display: flex; flex-direction: column; gap: var(--espace-5); align-items: flex-start; }
.cv-bandeau__surtitre { color: var(--vert-texte); }
.cv-bandeau__chapo { color: var(--encre-douce); max-width: 600px; }
.cv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-4); }
.cv-bandeau__tel { color: var(--encre-douce); }
.cv-bandeau__tel a { color: var(--lien); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv-bandeau__tel a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Visuel d'accueil : photo terrain et carte de dilution */
.cv-bandeau__visuel { position: relative; margin: 0 0 var(--espace-7); }
.cv-bandeau__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 30% 50%; border-radius: var(--rayon-l); background: var(--fond-doux); }
.cv-carte-dose { position: absolute; right: var(--espace-5); bottom: calc(-1 * var(--espace-7)); width: 300px; padding: var(--espace-5); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); }
.cv-carte-dose__surtitre { color: var(--vert-texte); }
.cv-carte-dose__titre { margin-top: var(--espace-1); font-family: var(--font-titre); font-weight: 600; font-size: 21px; line-height: 28px; color: var(--encre); }

.cv-preuve-photo { display: flex; flex-direction: column; gap: var(--espace-3); margin: 0; }
.cv-preuve-photo figcaption { color: var(--encre-douce); max-width: 520px; }

/* Vitrine de la gamme (variante sans photo) */
.cv-vitrine { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--espace-4); padding: var(--espace-6); border-radius: var(--rayon-l); background: var(--menthe); }
.cv-vitrine__etiquette { display: flex; flex-direction: column; gap: var(--espace-2); min-width: 0; padding: var(--espace-5); border-radius: var(--rayon-m); background: var(--surface); }
.cv-vitrine__etiquette--grande { grid-row: span 2; justify-content: space-between; }
.cv-vitrine__marque { color: var(--encre-douce); }
.cv-vitrine__code { font-family: var(--font-titre); font-weight: 600; font-size: 52px; line-height: 1; letter-spacing: -0.01em; color: var(--bleu-titre); font-variant-numeric: tabular-nums; }
.cv-vitrine__etiquette--grande .cv-vitrine__code { font-size: 80px; line-height: .9; letter-spacing: -0.02em; }
.cv-vitrine__jauges { display: grid; gap: var(--espace-3); margin: var(--espace-2) 0 0; padding: var(--espace-4) 0 0; list-style: none; border-top: 1px solid var(--trait); }
.cv-vitrine__jauge { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--espace-3); align-items: baseline; color: var(--encre-douce); }
.cv-vitrine__jauge strong { color: var(--vert-texte); font-weight: 700; font-variant-numeric: tabular-nums; }
.cv-vitrine__jauge .cv-jauge { grid-column: 1 / -1; margin-top: 6px; height: 6px; }
.cv-vitrine__nom { font-family: var(--font-titre); font-weight: 600; font-size: 19px; line-height: 24px; color: var(--encre); }
.cv-vitrine__usage { color: var(--encre-douce); }
.cv-vitrine__dose { color: var(--vert-texte); font-weight: 700; font-variant-numeric: tabular-nums; }
.cv-vitrine__pied { grid-column: 1 / -1; }

/* Visuel de fiche produit : le code sur fond menthe */
.cv-visuel-produit { display: flex; flex-direction: column; justify-content: space-between; gap: var(--espace-6); aspect-ratio: 5 / 4; padding: var(--espace-6); border-radius: var(--rayon-l); background: var(--menthe); overflow: hidden; }
.cv-visuel-produit__haut { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--espace-4); color: var(--encre); }
.cv-visuel-produit__code { display: block; font-family: var(--font-titre); font-weight: 600; font-size: 176px; line-height: .82; letter-spacing: -0.03em; color: var(--bleu-titre); font-variant-numeric: tabular-nums; }
.cv-visuel-produit__nom { margin-top: var(--espace-4); font-family: var(--font-titre); font-weight: 500; font-size: 24px; line-height: 30px; color: var(--encre); }

/* Chiffres clés sous le bandeau d'une fiche */
.cv-faits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--espace-6); margin: 0; padding: var(--espace-6) 0 0; list-style: none; border-top: 1px solid var(--trait); }
.cv-fait { display: flex; flex-direction: column; gap: var(--espace-1); }
.cv-fait__chiffre { color: var(--vert-texte); font-variant-numeric: tabular-nums; }
.cv-fait__texte { color: var(--encre-douce); }

/* Emplacement photo à fournir */
.cv-photo { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--espace-2); min-width: 0; padding: var(--espace-5); border: 1px solid var(--trait); border-radius: var(--rayon-l); background: var(--fond-doux); color: var(--encre-douce); text-align: center; }
.cv-section--doux .cv-photo { background: var(--surface); }
.cv-photo > svg { width: 28px; height: 28px; color: var(--trait-fort); }
.cv-photo__picto { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--rayon-rond); background: var(--surface); }
.cv-photo__picto img { width: 45px; height: 45px; }
.cv-photo--bandeau { aspect-ratio: 5 / 4; }
.cv-photo--43 { aspect-ratio: 4 / 3; }
.cv-photo__etiquette { position: absolute; top: var(--espace-4); left: var(--espace-4); }

/* ---------- BandeLogos ---------- */
.cv-logos { padding-block: var(--espace-7); border-block: 1px solid var(--trait); }
.cv-logos__rangee { display: flex; flex-direction: column; gap: var(--espace-5); }
.cv-logos__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--espace-2) var(--espace-5); }
.cv-logos__groupes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--espace-5) var(--espace-6); margin: 0; padding: 0; list-style: none; }
.cv-logos__groupe { display: flex; flex-direction: column; gap: var(--espace-2); min-width: 0; }
.cv-logos__secteur { color: var(--encre-douce); font-size: 12px; }
.cv-logos__images { display: flex; flex-wrap: wrap; gap: var(--espace-2); align-items: center; }
.cv-logos__images img { display: block; height: 44px; width: auto; }
.cv-logos__grille { display: flex; flex-wrap: wrap; gap: var(--espace-4) var(--espace-5); margin: 0; padding: 0; list-style: none; }
.cv-logos__grille img { display: block; height: 48px; width: auto; }
.cv-logos__nom { display: flex; align-items: center; min-height: 28px; font-family: var(--font-titre); font-weight: 600; font-size: 19px; line-height: 22px; letter-spacing: 0.01em; color: var(--encre); }

/* ---------- Grilles ---------- */
.cv-grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cv-grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-6); }
.cv-secteur--autre { grid-template-columns: minmax(0, 1fr); align-content: start; background: var(--fond-doux); }
.cv-secteur--autre .cv-btn { align-self: flex-start; margin-top: var(--espace-2); }
.cv-secteur__corps .cv-lien-fleche { margin-top: auto; }

/* ---------- Atouts (Pourquoi nos produits) ---------- */
.cv-atouts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: var(--espace-8); align-items: start; }
.cv-atouts__intro { display: flex; flex-direction: column; gap: var(--espace-4); }
.cv-atouts__intro p { color: var(--encre-douce); }
.cv-atouts__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-7) var(--espace-6); margin: 0; padding: 0; list-style: none; }
.cv-atout { display: flex; flex-direction: column; gap: var(--espace-2); padding-top: var(--espace-5); border-top: 1px solid var(--trait-fort); }
.cv-atout__chiffre { margin-bottom: var(--espace-2); color: var(--vert-texte); font-variant-numeric: tabular-nums; }
.cv-atout p { color: var(--encre-douce); }

/* ---------- L'entreprise ---------- */
.cv-entreprise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--espace-8); align-items: center; }
.cv-entreprise__texte { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-5); }
.cv-entreprise__texte > p { color: var(--encre); }
.cv-engagements { display: grid; gap: var(--espace-4); width: 100%; margin: var(--espace-2) 0 0; padding: var(--espace-5) 0 0; list-style: none; border-top: 1px solid var(--trait); }
.cv-engagement { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--espace-4); }
.cv-engagement h3 { font-family: var(--font-titre); font-size: 17px; line-height: 27px; font-weight: 600; }
.cv-engagement p { color: var(--encre-douce); }
.cv-mosaique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 230px); gap: var(--espace-4); }
.cv-mosaique > :first-child { grid-row: span 2; }
.cv-mosaique img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--rayon-l); }

/* ---------- FAQ ---------- */
.cv-faq-bloc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: var(--espace-8); align-items: start; }
.cv-faq-bloc__tete { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-5); }
.cv-faq { border-top: 1px solid var(--trait); }
.cv-faq details { border-bottom: 1px solid var(--trait); }
.cv-faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--espace-4); padding: var(--espace-5) 0; list-style: none; cursor: pointer; color: var(--encre); }
.cv-faq summary::-webkit-details-marker { display: none; }
.cv-faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--rayon-s); }
.cv-faq summary h3 { font-size: 19px; line-height: 26px; }
.cv-faq summary svg { width: 22px; height: 22px; flex: none; color: var(--bleu-ciel); transition: transform .15s ease; }
.cv-faq details[open] summary svg { transform: rotate(45deg); }
.cv-faq__reponse { max-width: var(--largeur-texte); padding-bottom: var(--espace-5); color: var(--encre-douce); }

/* ---------- Encadré ---------- */
.cv-encadre { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--espace-4); padding: var(--espace-5); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--fond-doux); }
.cv-section--doux .cv-encadre { background: var(--surface); }
.cv-encadre__icone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--rayon-rond); background: var(--surface); }
.cv-section--doux .cv-encadre__icone { background: var(--fond-doux); }
.cv-encadre__icone svg { width: 22px; height: 22px; }
.cv-encadre--attention .cv-encadre__icone { color: var(--attention); }
.cv-encadre--attention .cv-encadre__titre { color: var(--attention); }
.cv-encadre--info .cv-encadre__icone { color: var(--bleu-ciel); }
.cv-encadre__corps { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-2); }

/* ---------- Listes à coches, salissures ---------- */
.cv-deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--espace-8); align-items: start; }
.cv-pile { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-5); }
.cv-pile > p { color: var(--encre); max-width: var(--largeur-texte); }
.cv-coches { display: grid; gap: var(--espace-3); margin: 0; padding: 0; list-style: none; }
.cv-coches li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--espace-3); align-items: start; }
.cv-coches svg { width: 22px; height: 22px; margin-top: 3px; color: var(--vert-feuille); }
.cv-salissures { display: grid; width: 100%; margin: 0; padding: 0; list-style: none; border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); }
.cv-salissures li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: var(--espace-3); align-items: baseline; padding: var(--espace-4) var(--espace-5); }
.cv-salissures li + li { border-top: 1px solid var(--trait); }
.cv-salissures li::before { content: ""; width: 10px; height: 10px; border-radius: var(--rayon-rond); background: var(--vert-feuille); transform: translateY(-1px); }
.cv-salissures strong { font-weight: 600; }

/* ---------- Étapes ---------- */
.cv-etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--espace-6); margin: 0; padding: 0; list-style: none; }
.cv-etape { display: flex; flex-direction: column; gap: var(--espace-3); padding-top: var(--espace-5); border-top: 1px solid var(--trait-fort); }
.cv-etape__num { font-family: var(--font-titre); font-weight: 600; font-size: 40px; line-height: 1; color: var(--vert-texte); font-variant-numeric: tabular-nums; }
.cv-etape p { color: var(--encre-douce); }

/* ---------- Produit conseillé ---------- */
.cv-conseil { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: var(--espace-6); align-items: start; }
.cv-conseil .cv-dosage__ligne, .cv-conseil .cv-dosage__entete { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); }
@media (max-width: 640px) { .cv-conseil .cv-dosage__ligne { grid-template-columns: minmax(0, 1fr); } }
.cv-materiels > .cv-secteur--autre { align-self: stretch; align-content: center; }
.cv-section--doux .cv-logos__grille img { box-sizing: content-box; padding: 6px 10px; border: 1px solid var(--trait); border-radius: var(--rayon-s); background: #ffffff; }

/* ---------- Avant / après ---------- */
.cv-avant-apres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-4); max-width: 880px; margin: 0; }
.cv-avant-apres figcaption { grid-column: 1 / -1; color: var(--encre-douce); }
.cv-materiels + .cv-bloc { margin-top: var(--espace-9); }
.cv-avant-apres__photo { position: relative; min-width: 0; }
.cv-avant-apres__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--rayon-l); background: var(--fond-doux); }
.cv-avant-apres figcaption strong { color: var(--encre); }

/* ---------- Carte matériel (variante compacte) ---------- */
.cv-materiels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--espace-6); }
.cv-materiel { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); }
.cv-materiel:hover { box-shadow: var(--ombre-carte); }
.cv-materiel__visuel { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--trait); background: var(--fond-doux); color: var(--trait-fort); }
.cv-materiel__visuel svg { width: 72px; height: 72px; }
.cv-materiel__visuel--photo { background: #ffffff; }
.cv-materiel__visuel img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; padding: var(--espace-4); }
.cv-materiel__corps { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-3); padding: var(--espace-5); }

/* ---------- Appel final ---------- */
.cv-appel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--espace-7); align-items: center; }
.cv-appel__texte { display: flex; flex-direction: column; gap: var(--espace-3); }
.cv-appel__texte p { color: var(--encre-douce); max-width: 560px; }
.cv-appel__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-4); }
.cv-tels { display: flex; flex-wrap: wrap; gap: 0 var(--espace-5); margin: 0; padding: 0; list-style: none; }
.cv-tels a { display: inline-flex; align-items: center; gap: var(--espace-2); min-height: 44px; color: var(--lien); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv-tels a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cv-tels svg { width: 18px; height: 18px; flex: none; }

/* ---------- Pied de page ---------- */
.cv-pied { padding-block: var(--espace-8) var(--espace-6); background: var(--encre); color: var(--pied-texte); }
.cv-pied__grille { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--espace-6); }
.cv-pied__marque { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-4); max-width: 360px; }
.cv-pied__marque img { display: block; height: 48px; width: auto; }
.cv-pied__phrase { color: var(--pied-texte-doux); }
.cv-pied__devise { font-family: var(--font-titre); font-weight: 500; font-size: 19px; line-height: 26px; color: var(--vert-clair); }
.cv-pied__col { display: flex; flex-direction: column; gap: var(--espace-4); }
.cv-pied__titre { color: var(--pied-texte-doux); }
.cv-pied ul { display: grid; gap: var(--espace-2); margin: 0; padding: 0; list-style: none; }
.cv-pied a { color: var(--pied-texte); text-decoration: none; }
.cv-pied a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cv-pied a:focus-visible { outline: 2px solid var(--bleu-clair); outline-offset: 2px; border-radius: 2px; }
.cv-pied__contact { color: var(--pied-texte-doux); }
.cv-pied__contact a { font-variant-numeric: tabular-nums; }
.cv-pied__devis { color: var(--pied-lien) !important; font-weight: 600; }
.cv-pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--espace-3) var(--espace-5); margin-top: var(--espace-7); padding-top: var(--espace-5); border-top: 1px solid var(--pied-trait); color: var(--pied-texte-doux); }
.cv-pied__bas ul { display: flex; flex-wrap: wrap; gap: var(--espace-2) var(--espace-5); }
.cv-pied__bas a { color: var(--pied-texte-doux); }

/* ---------- Comparatif (aide au choix, grille des secteurs, germes) ---------- */
.cv-tableau { width: 100%; overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); }
.cv-comparatif { width: 100%; border-collapse: collapse; font-family: var(--font-texte); }
.cv-comparatif th { padding: var(--espace-3) var(--espace-5); background: var(--menthe); color: var(--encre); text-align: left; font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; }
.cv-comparatif td { padding: var(--espace-4) var(--espace-5); border-top: 1px solid var(--trait); vertical-align: top; font-size: 15px; line-height: 22px; color: var(--encre-douce); }
.cv-comparatif td:first-child { font-family: var(--font-titre); font-size: 17px; line-height: 24px; font-weight: 600; color: var(--encre); }
.cv-comparatif a { color: var(--lien); font-weight: 600; text-decoration: none; }
.cv-comparatif a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cv-comparatif__dose { color: var(--vert-texte); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv-comparatif__actif { display: inline-flex; align-items: center; gap: var(--espace-1); color: var(--vert-texte); font-weight: 700; }
.cv-comparatif__actif svg { width: 18px; height: 18px; }
.cv-tableau__note { margin-top: var(--espace-3); color: var(--encre-douce); }

/* ---------- TableauDosage, variante d'échelle 0 à 50 % (Ciel Vert 840) ---------- */
.cv-dosage--50 .cv-jauge__plein { width: calc(var(--dose, 0) * 2%); }

/* ---------- Sommaire d'ancres ---------- */
.cv-sommaire { display: flex; flex-wrap: wrap; gap: var(--espace-2); margin: 0; padding: 0; list-style: none; }
.cv-sommaire a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--espace-4); border: 1px solid var(--trait-fort); border-radius: var(--rayon-m); background: var(--surface); color: var(--encre); font-size: 15px; font-weight: 600; text-decoration: none; }
.cv-sommaire a:hover { border-color: var(--encre); }

/* ---------- Carte matériel complète (page Matériel) ---------- */
.cv-liste-materiels { display: grid; gap: var(--espace-6); }
.cv-materiel--complet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); scroll-margin-top: 96px; }
.cv-materiel--complet .cv-materiel__visuel { aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--trait); }
.cv-materiel--complet .cv-materiel__visuel img { max-height: 420px; }
.cv-materiel--complet .cv-materiel__corps { gap: var(--espace-4); padding: var(--espace-6); }
.cv-materiel__usage { color: var(--encre-douce); }
.cv-caracs { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); width: 100%; margin: 0; border-top: 1px solid var(--trait); }
.cv-caracs dt, .cv-caracs dd { margin: 0; padding: var(--espace-2) 0; border-bottom: 1px solid var(--trait); font-size: 15px; line-height: 22px; }
.cv-caracs dt { padding-right: var(--espace-4); color: var(--encre-douce); }
.cv-caracs dd { color: var(--encre); font-variant-numeric: tabular-nums; }
.cv-materiel__avec { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2); color: var(--encre-douce); }

/* ---------- Formulaire de devis ---------- */
.cv-devis { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--espace-6); align-items: start; }
.cv-devis__carte { display: flex; flex-direction: column; gap: var(--espace-5); padding: var(--espace-6); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); scroll-margin-top: 96px; }
.cv-devis form { display: flex; flex-direction: column; gap: var(--espace-5); }
.cv-devis__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-4) var(--espace-5); }
.cv-champ--large { grid-column: 1 / -1; }
.cv-champ__note { color: var(--encre-douce); font-weight: 400; }
.cv-devis .cv-champ input, .cv-etats .cv-champ input { width: 100%; flex: none; }
.cv-champ select, .cv-champ textarea { width: 100%; min-height: var(--hauteur-controle); padding: 0 var(--espace-4); border: 1px solid var(--trait-fort); border-radius: var(--rayon-s); background: var(--surface); color: var(--encre); font: inherit; font-size: 17px; }
.cv-champ select { appearance: none; padding-right: var(--espace-7); }
.cv-champ textarea { min-height: 112px; padding: var(--espace-3) var(--espace-4); resize: vertical; }
.cv-champ select:focus-visible, .cv-champ textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cv-select { position: relative; }
.cv-select svg { position: absolute; top: 50%; right: 14px; width: 18px; height: 18px; transform: translateY(-50%); color: var(--encre-douce); pointer-events: none; }
.cv-indicatif { display: flex; }
.cv-indicatif__prefixe { display: flex; align-items: center; padding: 0 var(--espace-3); border: 1px solid var(--trait-fort); border-right: 0; border-radius: var(--rayon-s) 0 0 var(--rayon-s); background: var(--fond-doux); color: var(--encre-douce); font-weight: 600; font-variant-numeric: tabular-nums; }
.cv-indicatif input { flex: 1 1 auto !important; width: auto !important; min-width: 0; border-radius: 0 var(--rayon-s) var(--rayon-s) 0 !important; }
.cv-precisions { padding-top: var(--espace-3); border-top: 1px solid var(--trait); }
.cv-precisions summary { display: inline-flex; align-items: center; gap: var(--espace-2); min-height: 44px; list-style: none; cursor: pointer; color: var(--lien); font-weight: 600; }
.cv-precisions summary::-webkit-details-marker { display: none; }
.cv-precisions summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--rayon-s); }
.cv-precisions summary svg { width: 18px; height: 18px; transition: transform .15s ease; }
.cv-precisions[open] summary svg { transform: rotate(45deg); }
.cv-precisions .cv-devis__grille { margin-top: var(--espace-3); }
.cv-devis__envoi { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-3); }
.cv-devis__mention { color: var(--encre-douce); }

/* ---------- Coordonnées ---------- */
.cv-coordonnees { display: flex; flex-direction: column; gap: var(--espace-5); padding: var(--espace-6); border-radius: var(--rayon-m); background: var(--fond-doux); }
.cv-coordonnees dl { display: grid; gap: var(--espace-5); margin: 0; }
.cv-coord dt { display: flex; align-items: center; gap: var(--espace-2); color: var(--encre); font-weight: 600; }
.cv-coord dt svg { width: 20px; height: 20px; flex: none; color: var(--bleu-ciel); }
.cv-coord dd { margin: var(--espace-1) 0 0 28px; color: var(--encre-douce); }
.cv-coord dd a { color: var(--lien); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.cv-coord dd a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Logos par secteur, témoignages en grille ---------- */
.cv-logos-secteurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-6); }
.cv-logos-secteur { display: flex; flex-direction: column; gap: var(--espace-4); padding: var(--espace-5); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); }
.cv-logos-secteur__tete { display: flex; align-items: center; gap: var(--espace-3); }
.cv-logos-secteur__tete img { width: 36px; height: 36px; }
.cv-temoignages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--espace-6); }
.cv-temoignages .cv-temoignage { grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--espace-4); }
.cv-temoignages .cv-temoignage__video { aspect-ratio: 16 / 10; }

/* ---------- Pages simples, messages ---------- */
.cv-prose { display: flex; flex-direction: column; gap: var(--espace-4); max-width: var(--largeur-texte); }
.cv-prose h2 { margin-top: var(--espace-5); }
.cv-prose ul { display: grid; gap: var(--espace-2); margin: 0; padding-left: 1.2em; }
.cv-prose li::marker { color: var(--vert-feuille); }
.cv-message { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-5); max-width: 760px; padding-block: var(--espace-8) var(--espace-9); }
.cv-message__icone { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--rayon-rond); background: var(--menthe); color: var(--succes); }
.cv-message__icone--neutre { background: var(--fond-doux); color: var(--bleu-ciel); }
.cv-message__icone svg { width: 32px; height: 32px; }
.cv-message > p { color: var(--encre-douce); }
.cv-liens-utiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--espace-4); width: 100%; margin: var(--espace-4) 0 0; padding: 0; list-style: none; }
.cv-lien-utile { display: flex; flex-direction: column; gap: var(--espace-2); height: 100%; padding: var(--espace-5); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); color: var(--encre); text-decoration: none; }
.cv-lien-utile:hover { box-shadow: var(--ombre-carte); }
.cv-lien-utile span { color: var(--encre-douce); }
.cv-fiches { display: grid; gap: var(--espace-5); }
.cv-confirmation { display: flex; align-items: flex-start; gap: var(--espace-2); margin: 0; color: var(--succes); font-weight: 600; }
.cv-confirmation svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }

/* ---------- Panneau du menu (téléphone), cookies ---------- */
.cv-panneau { display: flex; flex-direction: column; gap: var(--espace-5); padding: var(--espace-4) var(--espace-4) var(--espace-5); background: var(--fond); }
.cv-panneau__nav { display: grid; margin: 0; padding: 0; list-style: none; }
.cv-panneau__nav > li { border-bottom: 1px solid var(--trait); }
.cv-panneau__nav a { display: flex; align-items: center; min-height: 48px; color: var(--encre); font-size: 17px; font-weight: 600; text-decoration: none; }
.cv-panneau__nav a[aria-current="page"] { color: var(--vert-texte); }
.cv-panneau__sous { margin: 0 0 var(--espace-3); padding: 0 0 0 var(--espace-4); list-style: none; border-left: 2px solid var(--trait); }
.cv-panneau__sous a { min-height: 40px; color: var(--encre-douce); font-size: 16px; font-weight: 400; }
.cv-panneau__actions { display: flex; flex-direction: column; gap: var(--espace-3); }
.cv-panneau__actions .cv-btn { width: 100%; }

.cv-atouts__liste--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .cv-atouts__liste--3 { grid-template-columns: minmax(0, 1fr); }
  .cv-materiel--complet, .cv-devis, .cv-logos-secteurs, .cv-temoignages { grid-template-columns: minmax(0, 1fr); }
  .cv-materiel--complet .cv-materiel__visuel { aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--trait); }
  .cv-liens-utiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cv-tableau { overflow: visible; border: 0; background: none; }
  .cv-comparatif thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cv-comparatif, .cv-comparatif tbody, .cv-comparatif tr, .cv-comparatif td { display: block; }
  .cv-comparatif tr { margin-bottom: var(--espace-3); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); }
  .cv-comparatif td { padding: var(--espace-1) var(--espace-4); border-top: 0; }
  .cv-comparatif td:first-child { padding-top: var(--espace-4); }
  .cv-comparatif td:last-child { padding-bottom: var(--espace-4); }
  .cv-comparatif td[data-label]::before { content: attr(data-label) " : "; color: var(--encre-douce); font-weight: 600; }
  .cv-devis__carte, .cv-coordonnees { padding: var(--espace-5); }
  .cv-devis__grille, .cv-caracs { grid-template-columns: minmax(0, 1fr); }
  .cv-caracs dt { padding-bottom: 0; border-bottom: 0; }
  .cv-materiel--complet .cv-materiel__corps { padding: var(--espace-5); }
}

/* ---------- Barre de devis sur téléphone ---------- */
.cv-barre-mobile { display: none; }

/* ---------- Points de rupture du cahier : 1100, 900, 640, 600, 560 px ---------- */
@media (max-width: 1100px) {
  .cv-logos__groupes, .cv-logos__groupes--7 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--espace-5); }
}
@media (max-width: 900px) {
  .cv-bandeau, .cv-atouts, .cv-entreprise, .cv-faq-bloc, .cv-appel, .cv-deux, .cv-conseil, .cv-logos__rangee { grid-template-columns: minmax(0, 1fr); }
  .cv-bandeau { gap: var(--espace-7); }
  .cv-bandeau__visuel { margin-bottom: 0; }
  .cv-carte-dose { position: relative; right: auto; bottom: auto; width: auto; max-width: 420px; margin: calc(-1 * var(--espace-7)) var(--espace-4) 0; }
  .cv-grille-3, .cv-materiels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-pied__marque { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .cv-section { padding-block: var(--espace-8); }
  .cv-bloc + .cv-bloc { margin-top: var(--espace-8); }
  .cv-conteneur { padding-inline: var(--espace-4); }
  .cv-entete--page { padding-inline: var(--espace-4); }
  .cv-bandeau { padding-block: var(--espace-6) var(--espace-8); }
  .cv-grille-3, .cv-materiels, .cv-etapes, .cv-atouts__liste, .cv-faits, .cv-grille-2 { grid-template-columns: minmax(0, 1fr); }
  .cv-logos__groupes, .cv-logos__groupes--7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-tete { margin-bottom: var(--espace-6); }
  .cv-vitrine { padding: var(--espace-4); gap: var(--espace-3); }
  .cv-vitrine__etiquette { padding: var(--espace-4); }
  .cv-vitrine__etiquette--grande .cv-vitrine__code { font-size: 64px; }
  .cv-vitrine__code { font-size: 36px; }
  .cv-visuel-produit__code { font-size: 112px; }
  .cv-mosaique { grid-template-rows: repeat(2, 150px); }
  .cv-engagement { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cv-atouts__liste { gap: var(--espace-6); }
  .cv-pied__grille { grid-template-columns: minmax(0, 1fr); }
  .cv-avant-apres { grid-template-columns: minmax(0, 1fr); }
  .cv-produit__visuel { aspect-ratio: 16 / 7 !important; }
  .cv-produit__code { font-size: 52px; }
}
@media (max-width: 600px) {
  .titre-xl { font-size: 34px; line-height: 38px; }
  .titre-l { font-size: 28px; line-height: 34px; }
}
@media (max-width: 560px) {
  .cv-barre-mobile { display: flex; position: sticky; bottom: 0; z-index: 30; gap: var(--espace-2); padding: var(--espace-3) var(--espace-4); border-top: 1px solid var(--trait); background: var(--fond); }
  .cv-barre-mobile .cv-btn { flex: 1 1 0; padding-inline: var(--espace-3); }
}
@media (prefers-reduced-motion: reduce) {
  .cv-faq summary svg, .cv-lien-fleche svg { transition: none; }
}

/* =====================================================================
   Intégration WordPress (thème enfant Ciel Vert)
   ===================================================================== */

/* ---------- Base ---------- */
body.cv-site { margin: 0; font-size: 17px; line-height: 27px; -webkit-font-smoothing: antialiased; }
:where(.cv-site, .editor-styles-wrapper) :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
:where(.cv-site) [id] { scroll-margin-top: 96px; }
.cv-site .wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.cv-site .cv-principal { flex: 1 0 auto; }
.cv-site .wp-site-blocks > * { margin-block: 0; }
.cv-site .skip-link.screen-reader-text:focus { z-index: 100000; background: var(--fond); color: var(--lien); }
.cv-dosage__chiffre, .cv-comparatif__dose, .cv-fait__chiffre, .cv-atout__chiffre, .cv-etape__num { font-variant-numeric: tabular-nums; }
.cv-comparatif th { text-transform: uppercase; }

/* Sections consécutives du même fond : un seul espace entre elles */
.cv-section:not(.cv-section--doux) + .cv-section:not(.cv-section--doux),
.cv-section--doux + .cv-section--doux { padding-top: 0; }
.cv-bandeau + .cv-section:not(.cv-section--doux),
.cv-bandeau-zone + .cv-section:not(.cv-section--doux) { padding-top: 0; }
.cv-section--devis { padding-top: 0; }
.cv-bandeau--seul + .cv-section--devis { margin-top: calc(-1 * var(--espace-4)); }
.cv-logos + .cv-section:not(.cv-section--doux) { padding-top: var(--espace-9); }

/* ---------- En-tête collant, panneau du menu ---------- */
.cv-zone-entete { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
@media (max-width: 600px) { .admin-bar .cv-zone-entete { top: 0; } }
.cv-entete__nav { display: flex; align-items: center; }
.cv-nav > li > a[aria-current="page"] { border-bottom-color: var(--vert-feuille); }
.cv-sousmenu a[aria-current="page"] { font-weight: 700; }
.cv-panneau__actions { display: none; }
.cv-entete__menu-libelle { pointer-events: none; }
@media (max-width: 1100px) {
  .cv-entete__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 72px - var(--wp-admin--admin-bar--height, 0px)); overflow-y: auto; padding: var(--espace-3) var(--espace-6) var(--espace-5); background: var(--fond); border-bottom: 1px solid var(--trait); box-shadow: var(--ombre-carte); }
  .cv-entete--ouvert .cv-entete__nav { display: block; }
  .cv-entete--ouvert .cv-nav { display: grid; gap: 0; white-space: normal; }
  .cv-nav > li { display: block; border-bottom: 1px solid var(--trait); }
  .cv-nav > li > a { display: flex; align-items: center; min-height: 48px; padding: 0; border-bottom: 0; font-size: 17px; }
  .cv-nav > li > a[aria-current="page"] { color: var(--vert-texte); }
  .cv-nav__parent svg { display: none; }
  .cv-sousmenu, .cv-nav > li:hover > .cv-sousmenu, .cv-nav > li:focus-within > .cv-sousmenu { display: block; position: static; min-width: 0; margin: 0 0 var(--espace-3); padding: 0 0 0 var(--espace-4); border: 0; border-left: 2px solid var(--trait); border-radius: 0; background: none; box-shadow: none; }
  .cv-sousmenu a { display: flex; align-items: center; min-height: 40px; padding: 0; color: var(--encre-douce); font-size: 16px; font-weight: 400; }
  .cv-sousmenu a:hover { background: none; text-decoration: underline; }
  .cv-sousmenu__tout { margin-top: 0; padding-top: 0; border-top: 0; }
  .cv-sousmenu__tout a { color: var(--lien); }
}
@media (max-width: 640px) { .cv-entete__nav { padding-inline: var(--espace-4); } }
@media (max-width: 560px) {
  .cv-panneau__actions { display: flex; flex-direction: column; gap: var(--espace-3); margin-top: var(--espace-5); }
  .cv-panneau__actions .cv-btn { width: 100%; }
  .cv-barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; padding-bottom: calc(var(--espace-3) + env(safe-area-inset-bottom)); }
  body.cv-site { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
.cv-btn--whatsapp .cv-marqueur { margin-left: var(--espace-2); }

/* ---------- Pied de page ---------- */
.cv-pied__macaron { height: 50px; width: auto; }
.cv-pied__cookies { padding: 0; border: 0; background: none; color: var(--pied-texte-doux); font: inherit; cursor: pointer; }
.cv-pied__cookies:hover { text-decoration: underline; text-underline-offset: 3px; }
.cv-pied__bas p { margin: 0; }

/* ---------- Bandeaux ---------- */
.cv-bandeau-zone .cv-bandeau { padding-bottom: var(--espace-7); }
.cv-faits { margin-bottom: var(--espace-8); }
.cv-bandeau__photo--54 { aspect-ratio: 5 / 4; object-position: 52% 50%; }
.cv-bandeau__visuel--produit { margin-bottom: 0; }
.cv-bandeau__visuel--produit img { aspect-ratio: 5 / 4; object-fit: contain; background: var(--menthe); }
.cv-echelle-50 .cv-jauge__plein { width: calc(var(--dose, 0) * 2%); }

/* ---------- Cartes : variantes ---------- */
.cv-produit--compact .cv-produit__visuel { aspect-ratio: 16 / 7; }
.cv-produit--conseil .cv-produit__visuel { aspect-ratio: 16 / 9; }
.cv-produit__visuel--photo { padding: 0; background: #ffffff; }
.cv-produit__visuel--photo img { object-fit: cover; object-position: 50% 0; }
.cv-produit--compact .cv-produit__visuel--photo { background: var(--menthe); }
.cv-produit--compact .cv-produit__visuel--photo img { object-fit: contain; object-position: 50% 50%; padding: var(--espace-4); filter: drop-shadow(0 2px 6px rgba(19, 35, 46, 0.18)); }
.cv-produits.cv-grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cv-etapes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cv-etapes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cv-etapes--1 { grid-template-columns: minmax(0, 1fr); }
.cv-logos__grille--etale { justify-content: center; gap: var(--espace-5) var(--espace-7); }
.cv-dosage--sans-mode .cv-dosage__entete, .cv-dosage--sans-mode .cv-dosage__ligne { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.cv-materiel__visuel img { aspect-ratio: auto; }
.cv-conseil__note { margin-top: var(--espace-5); max-width: var(--largeur-texte); }
@media (max-width: 640px) { .cv-produits.cv-grille-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Témoignage vidéo (façade, lecteur chargé au clic) ---------- */
.cv-temoignage__video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv-temoignage__video button { position: relative; z-index: 1; }
.cv-temoignage__video iframe, .cv-temoignage__video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cv-temoignage--attente .cv-temoignage__video p { margin: 0; }

/* ---------- Section libre : blocs natifs à l'intérieur ---------- */
.cv-libre { min-width: 0; }
.cv-libre--texte { max-width: var(--largeur-texte); }
.cv-libre > * + * { margin-top: var(--espace-4); }
.cv-libre > * + :is(.wp-block-columns, .cv-composant, .cv-encadre, .cv-fiche, .wp-block-image, .cv-pile, .wp-block-table),
.cv-libre > :is(.wp-block-columns, .cv-composant, .cv-encadre, .wp-block-image, .cv-pile, .wp-block-table) + * { margin-top: var(--espace-8); }
.cv-libre > .cv-composant--dosage + .cv-fiche { margin-top: var(--espace-6); }
.cv-libre > .wp-block-heading + * { margin-top: var(--espace-5); }
.cv-libre > .cv-encadre + .cv-composant--dosage { margin-top: var(--espace-7); }
:where(.cv-libre, .cv-prose) h2.wp-block-heading { font-family: var(--font-titre); font-size: 28px; line-height: 34px; font-weight: 600; }
:where(.cv-libre, .cv-prose) h3.wp-block-heading { font-family: var(--font-titre); font-size: 21px; line-height: 28px; font-weight: 600; }
:where(.cv-libre, .cv-prose) h2.wp-block-heading:not(:first-child) { margin-top: var(--espace-7); }
:where(.cv-libre) p { font-size: 17px; line-height: 27px; max-width: var(--largeur-texte); }
:where(.cv-libre) p.has-texte-l-font-size { font-size: 19px; line-height: 30px; color: var(--encre-douce); }
.cv-libre ul.wp-block-list, .cv-libre ol.wp-block-list { display: grid; gap: var(--espace-2); max-width: var(--largeur-texte); margin: 0; padding-left: 1.2em; }
.cv-libre .wp-block-list li::marker { color: var(--vert-feuille); }
.cv-libre .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-8); align-items: start; margin: 0; }
.cv-libre .wp-block-columns.are-vertically-aligned-center { align-items: center; }
.cv-libre .wp-block-column { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-5); min-width: 0; }
.cv-libre .wp-block-column > * { margin: 0; }
.cv-libre .wp-block-column > .cv-encadre, .cv-libre .wp-block-column > .wp-block-image, .cv-libre .wp-block-column > .cv-pile { width: 100%; }
.cv-libre .wp-block-image { margin: 0; }
.cv-libre .wp-block-image img { display: block; width: 100%; height: auto; border-radius: var(--rayon-l); object-fit: cover; }
.cv-libre .wp-block-image.is-style-photo-32 img { aspect-ratio: 3 / 2; }
.cv-libre .wp-block-image figcaption { margin-top: var(--espace-3); color: var(--encre-douce); font-size: 13px; line-height: 18px; }
.cv-libre .wp-block-table table { width: 100%; border-collapse: collapse; }
.cv-libre .wp-block-table th, .cv-libre .wp-block-table td { padding: var(--espace-3) var(--espace-4); border: 1px solid var(--trait); text-align: left; }
.cv-composant { min-width: 0; }
.cv-libre .cv-pile > p { color: var(--encre); }
@media (max-width: 900px) { .cv-libre .wp-block-columns { grid-template-columns: minmax(0, 1fr); gap: var(--espace-7); } }

/* ---------- Pages simples (mentions, confidentialité) ---------- */
.cv-prose > * + * { margin-top: var(--espace-4); }

/* ---------- Marqueurs de travail (visibles des rédacteurs connectés seulement) ---------- */
.cv-bloc-vide, .cv-a-fournir { margin: var(--espace-4) auto; max-width: var(--largeur-page); padding: var(--espace-4); border: 1px dashed var(--attention); border-radius: var(--rayon-s); background: #fffaf0; color: var(--attention); font-size: 14px; line-height: 20px; }
.cv-a-fournir .cv-marqueur { margin-right: var(--espace-2); }

/* ---------- Formulaires Gravity Forms au design du système (DemandeFiche, FormulaireDevis) ---------- */
.cv-site .gform_wrapper { margin: 0; }
.cv-site .gform_wrapper form { display: block; margin: 0; }
.cv-site .gform_heading, .cv-site .gform_required_legend { display: none; }
.cv-site .gform_validation_container, .cv-site .gform_hidden, .cv-site .gfield--type-hidden, .cv-site .gfield_visibility_hidden, .cv-site .gfield_visibility_administrative, .cv-site .gform_ajax_spinner { display: none !important; }
.cv-site .gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--espace-4) var(--espace-5); margin: 0; padding: 0; border: 0; }
.cv-site .gfield { grid-column: 1 / -1; display: flex; flex-direction: column; gap: var(--espace-1); min-width: 0; margin: 0; padding: 0; border: 0; }
.cv-site .gfield--width-half { grid-column: span 6; }
.cv-site .gfield_label, .cv-site .gfield legend.gfield_label { display: block; padding: 0; color: var(--encre); font-size: 15px; line-height: 22px; font-weight: 600; }
.cv-site .gfield_required { margin-left: 4px; color: var(--encre-douce); font-weight: 400; }
.cv-site .gfield_required .gfield_required { margin: 0; }
.cv-site .cv-champ__note { color: var(--encre-douce); font-weight: 400; }
.cv-site .ginput_container { min-width: 0; }
.cv-site .gfield input[type="text"], .cv-site .gfield input[type="email"], .cv-site .gfield input[type="tel"], .cv-site .gfield input[type="number"], .cv-site .gfield select, .cv-site .gfield textarea {
  width: 100%; min-height: var(--hauteur-controle); margin: 0; padding: 0 var(--espace-4); border: 1px solid var(--trait-fort); border-radius: var(--rayon-s); background-color: var(--surface); color: var(--encre); font: inherit; font-size: 17px; line-height: 24px;
}
.cv-site .gfield textarea { min-height: 112px; padding: var(--espace-3) var(--espace-4); resize: vertical; }
.cv-site .gfield select { appearance: none; padding-right: var(--espace-7); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5b66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.cv-site .gfield ::placeholder { color: var(--encre-douce); opacity: 1; }
.cv-site .gfield input:focus-visible, .cv-site .gfield select:focus-visible, .cv-site .gfield textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cv-site .gfield_error input, .cv-site .gfield_error select, .cv-site .gfield_error textarea { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.cv-site .gfield_validation_message, .cv-site .gfield_description.validation_message { display: flex; gap: var(--espace-1); align-items: flex-start; margin: var(--espace-1) 0 0; color: var(--danger); font-size: 15px; line-height: 22px; }
.cv-site .gfield_validation_message::before, .cv-site .gform_submission_error svg { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.cv-site .gform_submission_error svg { background: none; -webkit-mask: none; mask: none; }
.cv-site .gform_validation_errors { margin: 0 0 var(--espace-4); padding: var(--espace-3) var(--espace-4); border: 1px solid var(--danger); border-radius: var(--rayon-s); background: var(--surface); }
.cv-site .gform_validation_errors:focus { outline: none; }
.cv-site .gform_submission_error { display: flex; gap: var(--espace-2); align-items: flex-start; margin: 0; color: var(--danger); font-family: var(--font-texte); font-size: 15px; line-height: 22px; font-weight: 600; }
.cv-site .gform_validation_errors ol { margin: var(--espace-2) 0 0; padding-left: 1.2em; font-size: 15px; }
.cv-site .gform_validation_errors ol a { color: var(--danger); }
.cv-site .gfield_description:not(.validation_message) { color: var(--encre-douce); font-size: 13px; line-height: 18px; }
.cv-site .gfield_checkbox, .cv-site .gfield_radio { display: flex; flex-wrap: wrap; gap: 0 var(--espace-5); margin: 0; padding: 0; }
.cv-site .gchoice { display: flex; align-items: center; gap: var(--espace-2); min-height: 44px; }
.cv-site .gchoice input { width: 20px; height: 20px; margin: 0; accent-color: var(--action); }
.cv-site .gchoice label { font-weight: 600; font-size: 16px; }
.cv-site .gform_footer, .cv-site .gform-footer { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-3); margin: var(--espace-5) 0 0; padding: 0; }
.cv-site .gform_button[disabled] { opacity: .6; cursor: progress; }
.cv-site .gform_confirmation_message { margin: 0; }
.cv-indicatif { display: flex; width: 100%; }
.cv-indicatif input { border-radius: 0 var(--rayon-s) var(--rayon-s) 0 !important; }
.cv-confirmation::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.cv-confirmation a { color: var(--lien); }

/* Demande de fiche : champ et bouton sur la même ligne (DemandeFiche) */
.cv-fiche__formulaire { display: flex; flex-direction: column; gap: var(--espace-3); min-width: 0; }
.cv-fiche .gform_wrapper form { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: var(--espace-2) var(--espace-3); }
.cv-fiche .gform-body, .cv-fiche .gform_body { flex: 1 1 240px; min-width: 0; }
.cv-fiche .gform_footer, .cv-fiche .gform-footer { flex: 0 0 auto; margin: 26px 0 0; }
.cv-fiche--multi .gform_wrapper form { display: block; }
.cv-fiche--multi .gform_footer, .cv-fiche--multi .gform-footer { margin-top: var(--espace-4); }
.cv-fiche .gform_confirmation_message .cv-confirmation { font-size: 17px; line-height: 27px; }
@media (max-width: 640px) { .cv-fiche .gform_footer, .cv-fiche .gform-footer { flex-basis: 100%; margin-top: 0; } .cv-fiche .gform_button { width: 100%; } }

/* Demande de devis : précisions facultatives repliées */
.cv-devis__carte .gform_wrapper { margin-top: 0; }
.cv-precisions { grid-column: 1 / -1; padding-top: var(--espace-3); border-top: 1px solid var(--trait); }
.cv-precisions__grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--espace-4) var(--espace-5); margin-top: var(--espace-3); }
.cv-devis .gform_footer .cv-devis__mention { margin: 0; color: var(--encre-douce); font-size: 13px; line-height: 18px; }
@media (max-width: 640px) { .cv-site .gfield--width-half { grid-column: 1 / -1; } }

/* ---------- Bandeau de consentement ---------- */
.cv-cookies { position: fixed; left: var(--espace-4); bottom: var(--espace-4); z-index: 60; display: flex; align-items: center; gap: var(--espace-3); max-width: min(440px, calc(100vw - 2 * var(--espace-4))); padding: 6px 6px 6px var(--espace-4); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: rgba(255, 255, 255, 0.96); box-shadow: 0 2px 10px rgba(19, 35, 46, 0.08); color: var(--encre-douce); font-size: 13px; line-height: 18px; }
.cv-cookies[hidden] { display: none; }
.cv-cookies p { margin: 0; }
.cv-cookies a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cv-cookies__actions { display: flex; flex: none; gap: 2px; }
.cv-cookies__bouton { min-height: 32px; padding: 0 10px; border: 0; border-radius: var(--rayon-s); background: transparent; color: var(--encre-douce); font: inherit; font-weight: 600; cursor: pointer; }
.cv-cookies__bouton:hover { background: var(--fond-doux); color: var(--encre); }
.cv-cookies__bouton--ok { background: var(--fond-doux); color: var(--encre); }
.cv-cookies__bouton:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
@media (max-width: 560px) { .cv-cookies { left: var(--espace-3); right: var(--espace-3); bottom: calc(76px + env(safe-area-inset-bottom)); max-width: none; } }

/* ---------- Éditeur de blocs ---------- */
.editor-styles-wrapper .cv-zone-entete, .editor-styles-wrapper .cv-entete { position: relative; top: auto; }
.editor-styles-wrapper .cv-barre-mobile { display: none; }

/* ---------- Animations coupées sur demande ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- Impression ---------- */
@media print {
  .cv-zone-entete, .cv-barre-mobile, .cv-cookies, .cv-pied, .cv-actions, .cv-fiche__formulaire { display: none !important; }
  body.cv-site { padding: 0; }
}

/* ---------- Accueil plein écran : avant / après (9 novembre 2026, v2) ----------
   Rendu : wp-content/novamira-sandbox/cielvert-accueil-plein-ecran.php.
   Ordinateur : titre dans un panneau encre à gauche (44 %), photos à droite (56 %), chacune dans son cadre,
   séparées par un trait blanc oblique (55 % en haut, 45 % en bas). Les deux photos ont le même cadrage. */
.cv-plein { --cv-entete-h: 77px; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: calc(100vh - var(--cv-entete-h)); min-height: calc(100svh - var(--cv-entete-h)); background: var(--encre); color: #ffffff; overflow: hidden; }
.cv-plein__visuel { grid-column: 2; grid-row: 1; position: relative; margin: 0; min-height: 100%; background: var(--encre); }
.cv-plein__cadre { position: absolute; top: 0; bottom: 0; width: 55%; overflow: hidden; }
.cv-plein__cadre--avant { left: 0; clip-path: polygon(0 0, 100% 0, 81.82% 100%, 0 100%); }
.cv-plein__cadre--apres { right: 0; clip-path: polygon(18.18% 0, 100% 0, 100% 100%, 0 100%); }
.cv-plein__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.cv-plein__trait { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cv-plein__trait line { stroke: #ffffff; stroke-width: 6px; vector-effect: non-scaling-stroke; }
.cv-plein__etiquette { position: absolute; top: var(--espace-5); z-index: 1; padding: 6px 12px; border-radius: var(--rayon-s); font-family: var(--font-titre); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.cv-plein__etiquette--avant { left: var(--espace-5); background: rgba(19, 35, 46, .82); color: #ffffff; }
.cv-plein__etiquette--apres { right: var(--espace-5); background: var(--menthe); color: var(--encre); }
.cv-plein__contenu { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: var(--espace-8) var(--espace-7) var(--espace-8) clamp(var(--espace-6), calc((100vw - var(--largeur-page)) / 2), 9vw); }
.cv-plein .cv-bandeau__surtitre { color: var(--menthe); }
.cv-plein h1.titre-xl { color: #ffffff; font-size: clamp(32px, 1.2vw + 18px, 46px); line-height: 1.12; text-wrap: balance; }
.cv-plein__legende { color: rgba(255, 255, 255, .94); max-width: 560px; }
.cv-plein .cv-actions { display: flex; flex-wrap: wrap; gap: var(--espace-3); }
.cv-plein__btn-clair { background: transparent; color: #ffffff; border: 2px solid rgba(255, 255, 255, .85); }
.cv-plein__btn-clair:hover { background: rgba(255, 255, 255, .12); border-color: #ffffff; }
.cv-plein .cv-btn:focus-visible, .cv-plein__entrer:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
.cv-plein__entrer { margin-top: var(--espace-3); display: inline-flex; align-items: center; gap: var(--espace-2); color: #ffffff; font-size: 15px; font-weight: 600; letter-spacing: .03em; text-decoration: none; opacity: .92; white-space: nowrap; }
.cv-plein__entrer:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.cv-plein__ancre { display: block; height: 0; scroll-margin-top: 77px; }
@media (prefers-reduced-motion: no-preference) {
  html:has(.cv-plein) { scroll-behavior: smooth; }
}
@media (max-width: 900px) {
  .cv-plein { display: flex; flex-direction: column; }
  .cv-plein__visuel { height: 50vh; height: 50svh; min-height: 260px; }
  .cv-plein__contenu { flex: 1; justify-content: flex-start; padding: var(--espace-6); }
}
@media (max-width: 600px) {
  .cv-plein__visuel { height: 36vh; height: 36svh; min-height: 220px; }
  .cv-plein__etiquette { top: var(--espace-3); font-size: 12px; padding: 5px 10px; }
  .cv-plein__etiquette--avant { left: var(--espace-3); }
  .cv-plein__etiquette--apres { right: var(--espace-3); }
  .cv-plein__trait line { stroke-width: 4px; }
  .cv-plein__contenu { padding: var(--espace-4) var(--espace-4) var(--espace-5); }
  .cv-plein .cv-bandeau__texte { gap: var(--espace-3); }
  .cv-plein h1.titre-xl { font-size: 29px; line-height: 33px; }
  .cv-plein__entrer { margin-top: 0; font-size: 14px; }
}
@media (max-width: 560px) {
  .cv-plein { min-height: calc(100vh - var(--cv-entete-h) - 74px); min-height: calc(100svh - var(--cv-entete-h) - 74px - env(safe-area-inset-bottom)); }
  .cv-plein__btn-clair { display: none; }
}
@media print {
  .cv-plein { min-height: 0; }
  .cv-plein__entrer { display: none; }
}
