/* COLVEMAT - Landing offre de rentree */

/* --- base/variables.css --- */
/* ============================================================
   DESIGN TOKENS — Colvemat
   Toutes les valeurs du design system (couleurs, espaces, typos,
   durees, z-index, radius, shadows) sont declarees ici.
   Aucune valeur en dur ailleurs : on utilise toujours var(--token).
   ============================================================ */

:root {
  /* ---------- COULEURS : palette charte ---------- */
  --cv-color-yellow:        #e8b923;
  --cv-color-black:         #000000;
  --cv-color-ink:           #1c1b1a;          /* noir profond, texte principal */
  --cv-color-text:          #424242;          /* gris fonce texte courant */
  --cv-color-mute:          #6a6a68;          /* gris secondaire */
  --cv-color-line:          #eeedec;          /* gris clair fonds / dividers */
  --cv-color-line-2:        #e3e2e0;          /* divider un peu plus marque */
  --cv-color-paper:         #f7f6f4;          /* off-white fond alterne */
  --cv-color-white:         #ffffff;

  /* ---------- Jaune : opacites controlees ---------- */
  --cv-yellow-strength:     1;
  --cv-color-yellow-10:     color-mix(in oklab, var(--cv-color-yellow) calc(10% * var(--cv-yellow-strength)), transparent);
  --cv-color-yellow-20:     color-mix(in oklab, var(--cv-color-yellow) calc(20% * var(--cv-yellow-strength)), transparent);
  --cv-color-yellow-40:     color-mix(in oklab, var(--cv-color-yellow) calc(40% * var(--cv-yellow-strength)), transparent);
  --cv-color-yellow-acc:    color-mix(in oklab, var(--cv-color-yellow) calc(100% * var(--cv-yellow-strength)), #d6d4d0);

  /* ---------- Sections sombres ---------- */
  --cv-color-dark:          #1c1b1a;
  --cv-color-dark-2:        #2a2927;
  --cv-color-dark-3:        #2a2825;          /* panneaux header / overlay search */

  /* ---------- Surfaces "on dark" (rgba blanc) ---------- */
  --cv-on-dark-04:          rgba(255, 255, 255, 0.04);
  --cv-on-dark-06:          rgba(255, 255, 255, 0.06);
  --cv-on-dark-08:          rgba(255, 255, 255, 0.08);
  --cv-on-dark-10:          rgba(255, 255, 255, 0.10);
  --cv-on-dark-12:          rgba(255, 255, 255, 0.12);
  --cv-on-dark-14:          rgba(255, 255, 255, 0.14);
  --cv-on-dark-16:          rgba(255, 255, 255, 0.16);
  --cv-on-dark-20:          rgba(255, 255, 255, 0.20);
  --cv-on-dark-22:          rgba(255, 255, 255, 0.22);

  --cv-on-dark-text-45:     rgba(255, 255, 255, 0.45);
  --cv-on-dark-text-55:     rgba(255, 255, 255, 0.55);
  --cv-on-dark-text-60:     rgba(255, 255, 255, 0.60);
  --cv-on-dark-text-65:     rgba(255, 255, 255, 0.65);
  --cv-on-dark-text-70:     rgba(255, 255, 255, 0.70);
  --cv-on-dark-text-72:     rgba(255, 255, 255, 0.72);
  --cv-on-dark-text-78:     rgba(255, 255, 255, 0.78);
  --cv-on-dark-text-85:     rgba(255, 255, 255, 0.85);

  /* ---------- TYPOGRAPHIE ---------- */
  --cv-font-sans: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --cv-text-display-xl: 6rem;        /* 96 */
  --cv-text-display-lg: 4.5rem;      /* 72 */
  --cv-text-display-md: 3.5rem;      /* 56 */
  --cv-text-h1:         3rem;        /* 48 */
  --cv-text-h2:         2.5rem;      /* 40 */
  --cv-text-h3:         2rem;        /* 32 */
  --cv-text-h4:         1.5rem;      /* 24 */
  --cv-text-body-lg:    1.25rem;     /* 20 */
  --cv-text-body-md:    1.0625rem;   /* 17 */
  --cv-text-body-sm:    0.9375rem;   /* 15 */
  --cv-text-caption:    0.8125rem;   /* 13 */
  --cv-text-eyebrow:    0.75rem;     /* 12 */

  /* ---------- ROLES DE TEXTE "CARTE" ----------
     Tokens partages par TOUS les composants de type carte (produit,
     service, actu, agence, marques...). Une carte qui joue un role
     donne utilise toujours le meme token -> changement unique =
     repercussion partout. Redefinis plus gros en mobile (voir bas du
     fichier), comme --cv-gutter, car les cartes passent pleine largeur
     et le texte doit gagner en lisibilite. */
  --cv-text-card-meta:  13px;   /* categorie, date, petit label */
  --cv-text-card-title: 18px;   /* titre de carte */
  --cv-text-card-body:  14.5px; /* specs, lead, description, infos */
  --cv-text-card-price: 14px;   /* prix, montants, captions de carte */

  /* ---------- ESPACES (base 4) ---------- */
  --cv-space-2xs: 0.25rem;   /* 4  */
  --cv-space-xs:  0.5rem;    /* 8  */
  --cv-space-sm:  0.75rem;   /* 12 */
  --cv-space-md:  1rem;      /* 16 */
  --cv-space-lg:  1.5rem;    /* 24 */
  --cv-space-xl:  2rem;      /* 32 */
  --cv-space-2xl: 3rem;      /* 48 */
  --cv-space-3xl: 4rem;      /* 64 */
  --cv-space-4xl: 6rem;      /* 96 */
  --cv-space-5xl: 8rem;      /* 128 */
  --cv-space-6xl: 10rem;     /* 160 */

  /* ---------- LAYOUT ---------- */
  --cv-container:        1200px;
  --cv-container-header: 1184px;
  --cv-gutter:           48px;
  --cv-gutter-mobile:    24px;
  --cv-section-y:        140px;

  /* ---------- RAYONS ---------- */
  --cv-radius-xs:   6px;
  --cv-radius-sm:   8px;
  --cv-radius-md:   10px;
  --cv-radius-lg:   14px;
  --cv-radius-xl:   18px;
  --cv-radius-2xl:  24px;
  --cv-radius-pill: 999px;

  /* ---------- OMBRES ---------- */
  --cv-shadow-header:         0 12px 40px rgba(0, 0, 0, 0.28), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --cv-shadow-header-open:    0 16px 50px rgba(0, 0, 0, 0.32), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --cv-shadow-dropdown:       0 30px 80px -20px rgba(0, 0, 0, 0.55);
  --cv-shadow-search:         0 24px 80px -20px rgba(0, 0, 0, 0.5);
  --cv-shadow-card-hover:     0 18px 40px -22px rgba(0, 0, 0, 0.12);

  /* ---------- TRANSITIONS ---------- */
  --cv-ease-out:    cubic-bezier(.2, .7, .2, 1);
  --cv-ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --cv-ease-arrow:  cubic-bezier(.2, .6, .2, 1);

  --cv-dur-fast:    .18s;
  --cv-dur-base:    .25s;
  --cv-dur-mid:     .35s;
  --cv-dur-slow:    .55s;
  --cv-dur-reveal:  .9s;

  /* ---------- Z-INDEX ---------- */
  --cv-z-base:    1;
  --cv-z-scrim:   49;
  --cv-z-header:  50;
  --cv-z-overlay: 100;
}

/* Tweaks responsive sur les tokens "layout" */
@media (max-width: 1024px) {
  :root {
    --cv-gutter:    32px;
    --cv-section-y: 128px;
  }
}
@media (max-width: 640px) {
  :root {
    --cv-gutter:    24px;
    --cv-section-y: 96px;

    /* Cartes pleine largeur : on agrandit les textes pour la lisibilite */
    --cv-text-card-meta:  14px;
    --cv-text-card-title: 20px;
    --cv-text-card-body:  16px;
    --cv-text-card-price: 15px;
  }
}


/* --- base/reset.css --- */
/* ============================================================
   RESET / BASE
   Minimal, opinionated. Pas de normalize externe.
   ============================================================ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--cv-font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--cv-color-text);
  background: var(--cv-color-white);
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02";
}

img,
svg,
video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

::selection {
  background: var(--cv-color-yellow-40);
  color: var(--cv-color-ink);
}

[hidden] { display: none !important; }


/* --- base/typography.css --- */
/* ============================================================
   TYPOGRAPHIE
   Echelle de titres + textes + eyebrow + ponctuation jaune.
   ============================================================ */

.cv-h-display {
  font-weight: 500;
  color: var(--cv-color-ink);
  line-height: 1.10;
  letter-spacing: -0.06em;
  font-size: clamp(40px, 6vw, 74px);
  margin: 0;
}

.cv-h1 {
  font-weight: 500;
  color: var(--cv-color-ink);
  line-height: 1.10;
  letter-spacing: -0.06em;
  font-size: clamp(38px, 5.2vw, 74px);
  margin: 0;
}

.cv-h2 {
  font-weight: 500;
  color: var(--cv-color-ink);
  line-height: 1.20;
  letter-spacing: -0.04em;
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0;
}

.cv-h3 {
  font-weight: 500;
  color: var(--cv-color-ink);
  line-height: 1.10;
  letter-spacing: -0.04em;
  font-size: clamp(26px, 3vw, 40px);
  margin: 0;
}

.cv-h4 {
  font-weight: 500;
  color: var(--cv-color-ink);
  line-height: 1.20;
  letter-spacing: -0.03em;
  font-size: clamp(20px, 1.8vw, 24px);
  margin: 0;
}

.cv-lead {
  font-weight: 400;
  color: var(--cv-color-text);
  line-height: 1.45;
  letter-spacing: -0.04em;
  font-size: clamp(16px, 1.25vw, 18px);
  margin: 0;
}

.cv-body    { font-size: clamp(16px, 1.1vw, 17px);   line-height: 1.50; letter-spacing: -0.025em;  color: var(--cv-color-text); margin: 0; }
.cv-body-lg { font-size: clamp(16px, 1.35vw, 19px);  line-height: 1.55; letter-spacing: -0.02em;  color: var(--cv-color-text); margin: 0; }
.cv-body-sm { font-size: 14px;   line-height: 1.45; letter-spacing: -0.015em;  color: var(--cv-color-text); margin: 0; }
.cv-caption { font-size: 12px;   line-height: 1.30; letter-spacing: -0.005em; color: var(--cv-color-mute); font-weight: 500; margin: 0; }

/* Point jaune en fin de titre */
.cv-dot { color: var(--cv-color-yellow); }

/* Eyebrow : pastille + label */
.cv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 18px;
  line-height: 1.20;
  color: var(--cv-color-ink);
  letter-spacing: -0.04em;
  text-transform: none;
  font-weight: 500;
  white-space: nowrap;
}
.cv-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--cv-radius-pill);
  background: var(--cv-color-yellow-acc);
}
.cv-eyebrow--on-dark { color: var(--cv-color-white); }

/* Espacements verticaux entre patterns typographiques */
.cv-eyebrow + .cv-h1,
.cv-eyebrow + .cv-h2,
.cv-eyebrow + .cv-h3,
.cv-eyebrow + .cv-h4,
.cv-eyebrow + .cv-h-display { margin-top: 32px; }

.cv-h1 + .cv-lead, .cv-h2 + .cv-lead, .cv-h3 + .cv-lead,
.cv-h1 + .cv-body, .cv-h2 + .cv-body, .cv-h3 + .cv-body,
.cv-h1 + .cv-body-lg, .cv-h2 + .cv-body-lg,
.cv-h1 + p, .cv-h2 + p, .cv-h3 + p { margin-top: 16px; }

/* Les tailles ci-dessus sont fluides (clamp) : elles interpolent en
   continu entre la borne basse (mobile) et la borne haute (desktop)
   selon la largeur du viewport, sans palier brutal. */

/* Mobile : on aere un peu le rythme vertical entre les patterns. */
@media (max-width: 640px) {
  .cv-eyebrow + .cv-h1,
  .cv-eyebrow + .cv-h2,
  .cv-eyebrow + .cv-h3,
  .cv-eyebrow + .cv-h4,
  .cv-eyebrow + .cv-h-display { margin-top: 24px; }

  .cv-h1 + .cv-lead, .cv-h2 + .cv-lead, .cv-h3 + .cv-lead,
  .cv-h1 + .cv-body, .cv-h2 + .cv-body, .cv-h3 + .cv-body,
  .cv-h1 + .cv-body-lg, .cv-h2 + .cv-body-lg,
  .cv-h1 + p, .cv-h2 + p, .cv-h3 + p { margin-top: 20px; }
}


/* --- base/utilities.css --- */
/* ============================================================
   UTILITY CLASSES
   Helpers transverses, jamais des composants entiers.
   ============================================================ */

/* Layout helpers */
.cv-u-row     { display: flex; align-items: center; }
.cv-u-between { justify-content: space-between; }
.cv-u-stack   { display: flex; flex-direction: column; }

.cv-u-gap-8  { gap: 8px;  }
.cv-u-gap-12 { gap: 12px; }
.cv-u-gap-16 { gap: 16px; }
.cv-u-gap-24 { gap: 24px; }
.cv-u-gap-32 { gap: 32px; }

/* Couleurs de texte */
.cv-u-text-ink    { color: var(--cv-color-ink); }
.cv-u-text-mute   { color: var(--cv-color-mute); }
.cv-u-text-white  { color: var(--cv-color-white); }
.cv-u-text-yellow { color: var(--cv-color-yellow-acc); }

/* Chiffres a chasse fixe */
.cv-u-num {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Wraps */
.cv-u-nowrap { white-space: nowrap; }

/* Accessibilite */
.cv-u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ============================================================
   Verrou de defilement : bloque html + body quand une surface
   modale est ouverte (recherche, modale devis, visionneuse PDF,
   drawer filtres, menu mobile).
   ============================================================ */
html:has(.cv-search:not([hidden])),
html:has(.cv-search:not([hidden])) body,
html:has([data-quote-modal]:not([hidden])),
html:has([data-quote-modal]:not([hidden])) body,
html:has(.cv-pdfv:not([hidden])),
html:has(.cv-pdfv:not([hidden])) body,
html:has(.cv-mnav.is-open),
html:has(.cv-mnav.is-open) body,
html:has(body[data-filters-open="true"]) {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}


/* --- atoms/button.css --- */
/* ============================================================
   ATOM : Button
   Systeme : --primary (jaune, texte noir) / --secondary (noir, texte
   blanc) / --on-dark (ghost clair sur sections sombres) / --glass(-cta)
   (header). Tailles : --sm.
   Animation : au survol, le texte du label monte derriere un masque
   (overflow hidden) pour reapparaitre. Aucune fleche.
   Le label DOIT etre : <span class="cv-btn__label"><span>Texte</span></span>.
   ============================================================ */

.cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--cv-radius-pill);
  font-size: clamp(16px, 1.1vw, 17px);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--cv-color-ink);
  background: var(--cv-color-line);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    background   var(--cv-dur-fast) ease,
    color        var(--cv-dur-fast) ease,
    border-color var(--cv-dur-fast) ease;
}

/* Label : masque qui revele le texte. Au survol, le texte monte
   derriere le masque (overflow hidden) pour reapparaitre. */
.cv-btn__label {
  display: inline-flex;
  line-height: 1.5;
}
.cv-btn__char {
  display: inline-block;
  overflow: hidden;
}
.cv-btn__char > span {
  display: inline-block;
  will-change: transform;
}
@keyframes cv-btn-rise {
  0%   { transform: translateY(108%); }
  100% { transform: translateY(0); }
}
.cv-btn.is-anim .cv-btn__char > span {
  animation: cv-btn-rise 0.55s cubic-bezier(0.33, 0, 0.15, 1) both;
  animation-delay: calc(var(--i, 0) * 0.006s);
}

/* ---------- Variantes ---------- */

/* Principal : jaune Colvemat, texte noir */
.cv-btn--primary {
  background: var(--cv-color-yellow);
  color: var(--cv-color-ink);
}
.cv-btn--primary:hover {
  background: color-mix(in oklab, var(--cv-color-yellow) 90%, var(--cv-color-ink));
}

/* Secondaire : noir Colvemat, texte blanc */
.cv-btn--secondary {
  background: var(--cv-color-ink);
  color: var(--cv-color-white);
}
.cv-btn--secondary:hover {
  background: color-mix(in oklab, var(--cv-color-ink) 88%, var(--cv-color-white));
}

/* Ghost clair sur fond sombre (sections sombres, hero) */
.cv-btn--on-dark {
  background: var(--cv-on-dark-08);
  color: var(--cv-color-white);
  border-color: var(--cv-on-dark-10);
}
.cv-btn--on-dark:hover { background: var(--cv-on-dark-14); }

/* Glass (header sur fond sombre) */
.cv-btn--glass-cta {
  background: rgba(255, 255, 255, 0.95);
  color: var(--cv-color-ink);
  border-color: rgba(255, 255, 255, 0.5);
  border-radius: var(--cv-radius-md);
}
.cv-btn--glass-cta:hover {
  background: #d4d2cd;
  color: var(--cv-color-ink);
  border-color: var(--cv-color-ink);
}

.cv-btn--glass {
  background: var(--cv-on-dark-10);
  color: var(--cv-color-white);
  border-color: var(--cv-on-dark-16);
  border-radius: var(--cv-radius-md);
}
.cv-btn--glass:hover {
  background: var(--cv-on-dark-22);
  border-color: rgba(255, 255, 255, 0.32);
}

/* Taille small : meme taille de texte que le corps, hauteur plus dense */
.cv-btn--sm {
  height: 40px;
  padding: 0 18px;
}

/* Mobile : zones tactiles plus grandes (la taille de texte suit le corps) */
@media (max-width: 640px) {
  .cv-btn:not(.cv-btn--sm) {
    height: 52px;
    padding: 0 26px;
  }
  .cv-btn--sm { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .cv-btn.is-anim .cv-btn__char > span { animation: none; }
}

/* ---------- Bouton icone (carre) ---------- */
.cv-btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--cv-radius-pill);
  background: var(--cv-color-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background   var(--cv-dur-fast) ease,
    border-color var(--cv-dur-fast) ease,
    transform    var(--cv-dur-fast) ease;
}
.cv-btn-icon:hover { background: var(--cv-color-line-2); }
.cv-btn-icon--glass {
  background: var(--cv-on-dark-10);
  color: var(--cv-color-white);
  border-color: var(--cv-on-dark-16);
  border-radius: var(--cv-radius-md);
}
.cv-btn-icon--glass:hover {
  background: var(--cv-on-dark-22);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}


/* --- atoms/icon.css --- */
/* ============================================================
   ATOM : Icon helpers
   .cv-icon : conteneur inline-flex pour svg
   .cv-chev : chevron rotatif (utilise dans nav-link, qui ajoute is-open)
   ============================================================ */

.cv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.cv-chev {
  display: inline-flex;
  opacity: 0.7;
  transition: transform var(--cv-dur-base) ease;
}
.cv-chev--open { transform: rotate(180deg); }

/* ============================================================
   Icônes Tabler (SVG inline) : la taille suit le font-size du parent
   ============================================================ */
.cv-ico { display: inline-block; flex: 0 0 auto; width: 1em; height: 1em; vertical-align: middle; }
.cv-plus__item .cv-ico { font-size: 28px; }
.cv-form__success .cv-ico { font-size: 22px; }
.cv-footer__linkedin .cv-ico { font-size: 18px; }
.cv-select__chev .cv-ico { font-size: 16px; }

/* ============================================================
   Icônes Phosphor (héritées) : tailles par contexte
   ============================================================ */
i.ph { display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-style: normal; }
/* Header / nav */
.cv-chev i.ph { font-size: 12px; }
.cv-mega__item-arrow i.ph,
.cv-dropdown__arrow i.ph { font-size: 13px; }
.cv-mega__allcta i.ph { font-size: 15px; }
.cv-btn-icon i.ph { font-size: 16px; }
/* Recherche */
.cv-search__bar i.ph { font-size: 20px; }
.cv-search__close i.ph { font-size: 14px; }
.cv-search__suggest-item i.ph { font-size: 15px; }
/* Formulaire */
.cv-form__success i.ph { font-size: 22px; }
/* Coches (listes à puce jaune) */
.cv-svc-incl__tick i.ph,
.cv-pd-benefits__tick i.ph { font-size: 13px; }
/* Filtres catalogue */
.cv-check__box i.ph { font-size: 12px; }
.cv-cat-group__chev i.ph { font-size: 12px; }
.cv-cat-search__icon i.ph { font-size: 15px; }
.cv-cat-search__clear i.ph { font-size: 14px; }
/* Carte agence */
.cv-agency-card__address i.ph,
.cv-agency-card__tel i.ph { font-size: 13px; }
.cv-map-hint i.ph { font-size: 16px; }

/* Cartes agence, sliders, pagination, visionneuse, select */
.cv-agency-card__address i.ph,
.cv-agency-card__tel i.ph { font-size: 13px; }
.cv-card-slider__nav i.ph { font-size: 15px; }
.cv-agencies__nav-btn i.ph { font-size: 14px; }
.cv-pagination__arrow i.ph { font-size: 16px; }
.cv-article__back i.ph { font-size: 16px; }
.cv-select__chev i.ph { font-size: 12px; }
.cv-product-card__arrow i.ph { font-size: 14px; }
.cv-pdfv__btn i.ph { font-size: 17px; }
.cv-pd-download__action i.ph { font-size: 19px; }
.cv-img-ph i.ph { font-size: 40px; }
.cv-img-ph--lg i.ph { font-size: 64px; }
.cv-feedback__icon i.ph { font-size: 34px; }


/* --- layouts/container.css --- */
/* ============================================================
   LAYOUT : Container
   Largeur max + padding lateral (gouttiere).
   ============================================================ */

.cv-container {
  width: 100%;
  max-width: var(--cv-container);
  margin: 0 auto;
  padding-left: var(--cv-gutter);
  padding-right: var(--cv-gutter);
}


/* --- layouts/section.css --- */
/* ============================================================
   LAYOUT : Section
   Espacement vertical standard. Variante --tight et --no-top/bottom.
   .cv-section--paper : fond off-white pour rythme alterne.
   .cv-section--dark  : fond anthracite (utilise par expertise & agencies).
   ============================================================ */

.cv-section {
  padding-top: var(--cv-section-y);
  padding-bottom: var(--cv-section-y);
}

.cv-section--tight {
  padding-top:    calc(var(--cv-section-y) * 0.55);
  padding-bottom: calc(var(--cv-section-y) * 0.55);
}

.cv-section--no-top    { padding-top: 0; }
.cv-section--no-bottom { padding-bottom: 0; }

/* Premiere section d'une page SANS hero : decale le contenu sous le
   header fixe (16px + 60px = 76px) avec une respiration. */
.cv-section--page-top { padding-top: calc(var(--cv-section-y) * 0.6 + 76px); }

.cv-section--paper { background: var(--cv-color-paper); }

.cv-section--dark {
  background: var(--cv-color-dark);
  color: var(--cv-color-white);
}


/* --- components/reveal.css --- */
/* ============================================================
   COMPONENT : Reveal (animations scroll)
   Pose une opacite/translation au chargement, retiree par JS quand
   l'element entre dans le viewport (classe .is-visible).
   ============================================================ */

.cv-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity   var(--cv-dur-reveal) var(--cv-ease-out),
    transform var(--cv-dur-reveal) var(--cv-ease-out);
}
.cv-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger : applique l'effet sur chaque enfant avec un delay progressif */
.cv-reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity   .8s var(--cv-ease-out),
    transform .8s var(--cv-ease-out);
}
.cv-reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}
.cv-reveal-stagger.is-visible > *:nth-child(1) { transition-delay:   0ms; }
.cv-reveal-stagger.is-visible > *:nth-child(2) { transition-delay:  90ms; }
.cv-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.cv-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.cv-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.cv-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }

/* Revele sans animation (contenu deja a l'ecran au chargement) */
.cv-reveal-instant,
.cv-reveal-instant.cv-reveal-stagger > * {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .cv-reveal,
  .cv-reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* --- components/header.css --- */
/* ============================================================
   COMPONENT : Header
   Header fixe avec capsule glassmorphism. Etats :
     .is-hidden     : header cache (scroll down)
     .is-menu-open  : un menu / dropdown est ouvert (renforce ombre + opacite)
   Le scrim associe (.cv-mega-scrim) vit comme un element soeur du header.
   ============================================================ */

.cv-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--cv-z-header);
  padding: 16px 16px 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  transition:
    transform var(--cv-dur-mid) var(--cv-ease-in-out),
    opacity   var(--cv-dur-base) ease;
}

.cv-header.is-hidden { transform: translateY(calc(-100% - 24px)); }

.cv-header__inner {
  pointer-events: auto;
  width: 100%;
  max-width: var(--cv-container-header);
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 60px;
  padding: 0 10px 0 24px;
  position: relative;
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: var(--cv-shadow-header);
  transition:
    background   var(--cv-dur-mid) ease,
    border-color var(--cv-dur-mid) ease;
}

/* Fond glass via ::before pour pouvoir blur sans toucher au contenu */
.cv-header__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 13, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: inherit;
  z-index: 0;
  transition: background var(--cv-dur-mid) ease;
}
.cv-header__inner > * { position: relative; z-index: 1; }

.cv-header.is-menu-open .cv-header__inner { box-shadow: var(--cv-shadow-header-open); }
.cv-header.is-menu-open .cv-header__inner::before { background: rgba(28, 27, 26, 0.55); }

.cv-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1024px) {
  .cv-header { left: 16px; right: 16px; width: auto; top: 16px; padding: 0; }
}

/* ---------- Logo ---------- */
.cv-logo {
  display: inline-flex;
  align-items: center;
  height: 28px;
  position: relative;
  z-index: 1;
}
.cv-logo__img {
  height: 28px;
  width: auto;
  display: block;
  transition: opacity var(--cv-dur-base) ease;
}
.cv-logo__img--color { opacity: 1; }
.cv-logo__img--white {
  position: absolute;
  inset: 0;
  opacity: 0;
}


/* --- components/custom-select.css --- */
/* Custom select (listes deroulantes) */
.cv-select { position: relative; }
.cv-select__native {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cv-select__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 40px;
  min-width: 200px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1.5px solid var(--cv-color-line-2);
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--cv-color-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--cv-dur-fast) ease;
}
.cv-select.is-open .cv-select__btn { border-bottom-color: var(--cv-color-ink); }
.cv-select__chev {
  display: inline-flex;
  color: var(--cv-color-mute);
  transition: transform var(--cv-dur-fast) ease;
}
.cv-select.is-open .cv-select__chev { transform: rotate(180deg); }
.cv-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 240px;
  overflow-y: auto;
  background: var(--cv-color-white);
  border: 1px solid var(--cv-color-line-2);
  border-radius: var(--cv-radius-sm);
  box-shadow: var(--cv-shadow-dropdown);
  padding: 6px;
  display: none;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity var(--cv-dur-fast) ease,
    transform var(--cv-dur-fast) var(--cv-ease-out);
}
.cv-select.is-open .cv-select__menu {
  display: block;
  opacity: 1;
  transform: none;
}
.cv-select__opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--cv-radius-xs);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--cv-color-ink);
  cursor: pointer;
  transition: background var(--cv-dur-fast) ease;
}
.cv-select__opt:hover { background: var(--cv-color-paper); }
.cv-select__opt.is-selected { background: var(--cv-color-yellow-10); font-weight: 500; }

/* Select souligne (fallback natif) */
.cv-field__select {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--cv-color-line-2);
  background: transparent;
  padding: 7px 22px 7px 2px;
  font-family: inherit;
  font-size: 16px;
  color: var(--cv-color-ink);
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M3 4.5L6 7.5L9 4.5' stroke='%236a6a68' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 12px;
}
.cv-field__select:focus { outline: none; border-bottom-color: var(--cv-color-ink); }


/* --- components/contact-form.css --- */
/* ============================================================
   COMPONENT : Contact form
   Champs en style "souligne" (label au-dessus, filet en bas).
   Bouton d'envoi jaune. Sur fond paper.
   ============================================================ */

.cv-form {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.cv-form__row {
  margin-bottom: 20px;
}
.cv-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

/* ---------- Champ ---------- */
.cv-field {
  display: flex;
  flex-direction: column;
}
.cv-field__label {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cv-color-ink);
  margin-bottom: 3px;
}
.cv-field__req {
  color: #d23b3b;
  margin-left: 1px;
}
.cv-field__opt {
  margin-left: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--cv-color-mute);
}
.cv-field__input,
.cv-field__textarea {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--cv-color-line-2);
  background: transparent;
  padding: 7px 2px;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--cv-color-ink);
  transition: border-color var(--cv-dur-base) ease;
  border-radius: 0;
}
.cv-field__input:focus,
.cv-field__textarea:focus {
  outline: none;
  border-bottom-color: var(--cv-color-ink);
}
.cv-field__textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
/* Champ en erreur */
.cv-field.is-error .cv-field__input,
.cv-field.is-error .cv-field__textarea {
  border-bottom-color: #d23b3b;
}
.cv-field__error {
  margin-top: 6px;
  font-size: 13px;
  color: #d23b3b;
  display: none;
}
.cv-field.is-error .cv-field__error { display: block; }

/* ---------- Consentement (checkbox custom) ---------- */
.cv-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 22px;
}
.cv-consent__box {
  flex: 0 0 auto;
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.cv-consent__box input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cv-consent__mark {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--cv-color-ink);
  border-radius: 5px;
  background: transparent;
  transition: background var(--cv-dur-fast) ease;
  pointer-events: none;
}
.cv-consent__mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid var(--cv-color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--cv-dur-fast) var(--cv-ease-out);
}
.cv-consent__box input:checked ~ .cv-consent__mark { background: var(--cv-color-ink); }
.cv-consent__box input:checked ~ .cv-consent__mark::after { transform: rotate(45deg) scale(1); }
.cv-consent__box input:focus-visible ~ .cv-consent__mark {
  outline: 2px solid var(--cv-color-yellow);
  outline-offset: 2px;
}
.cv-consent__text {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--cv-color-ink);
}
.cv-consent__text a {
  color: var(--cv-color-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cv-consent__text a:hover { color: var(--cv-color-mute); }
.cv-consent.is-error .cv-consent__mark { border-color: #d23b3b; }

/* ---------- Captcha (placeholder) ---------- */
.cv-captcha {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 304px;
  max-width: 100%;
  padding: 14px 12px;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  margin-bottom: 26px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cv-captcha:hover {
  border-color: #b9b9b9;
}
.cv-captcha:focus-visible {
  outline: 2px solid #4285f4;
  outline-offset: 2px;
}
.cv-captcha__check {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cv-captcha[aria-checked="true"] .cv-captcha__check,
.cv-captcha__check[aria-checked="true"] {
  border-color: #1fa463;
  background-color: #fff;
}
.cv-captcha[aria-checked="true"] .cv-captcha__check::after,
.cv-captcha__check[aria-checked="true"]::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 3px;
  width: 7px;
  height: 13px;
  border: solid #1fa463;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  display: block;
}
.cv-captcha__label {
  font-size: 14px;
  color: #3c4043;
  letter-spacing: -0.005em;
  cursor: pointer;
}
.cv-captcha__brand {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #9aa0a6;
  text-align: center;
}
.cv-captcha__brand svg { display: block; }
.cv-captcha__brand span { font-size: 9px; line-height: 1; }

/* ---------- Pied de formulaire ---------- */
.cv-form__note {
  font-size: 14px;
  color: var(--cv-color-mute);
  margin: 0 0 22px;
}
.cv-form__note .cv-field__req { color: #d23b3b; }
.cv-form__actions {
  display: flex;
  justify-content: center;
}

/* ---------- Etat envoye ---------- */
.cv-form__success {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--cv-color-yellow-10);
  border: 1px solid var(--cv-color-yellow-40);
  border-radius: var(--cv-radius-md);
  font-size: 17px;
  color: var(--cv-color-ink);
}
.cv-form.is-sent .cv-form__success { display: flex; }
.cv-form.is-sent .cv-form__body { display: none; }

@media (max-width: 680px) {
  .cv-form__row--2 { grid-template-columns: 1fr; gap: 0; }
  .cv-form__row--2 .cv-field { margin-bottom: 20px; }
  .cv-form__row--2 .cv-field:last-child { margin-bottom: 0; }
  .cv-form__actions { justify-content: stretch; }
  .cv-form__actions .cv-btn { width: 100%; }
}


/* --- components/footer.css --- */
/* ============================================================
   COMPONENT : Footer
   Branding + 3 colonnes liens + credit bas de page.
   Fond sombre, texte clair.
   ============================================================ */

.cv-footer {
  padding: 0 0 32px;
  background: var(--cv-color-dark);
  color: var(--cv-color-white);
}

.cv-footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 120px;
  align-items: start;
  padding: 120px 0 40px;
  border-top: 1px solid var(--cv-on-dark-08);
}

.cv-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.cv-footer__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.cv-footer__cols {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 64px;
  align-items: start;
}
.cv-footer__col {
  display: flex;
  flex-direction: column;
}
.cv-footer__col + .cv-footer__col--social {
  margin-left: 80px;
}
.cv-footer__list {
  display: grid;
  gap: 4px;
}
.cv-footer__eyebrow {
  margin-bottom: 24px;
  color: var(--cv-on-dark-text-55);
}
.cv-footer__eyebrow::before { display: none; }

.cv-footer__list a {
  font-size: 14px;
  color: var(--cv-color-white);
  transition: color var(--cv-dur-fast) ease;
}
.cv-footer__list a:hover { color: var(--cv-on-dark-text-60); }

.cv-footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #0a66c2;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--cv-dur-fast) ease, transform var(--cv-dur-fast) ease;
}
.cv-footer__linkedin i.ph { font-size: 17px; }
.cv-footer__linkedin:hover { background: #08528f; color: #fff !important; transform: translateY(-1px); }

.cv-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
}
.cv-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cv-footer__credit-logo {
  height: 14px;
  width: auto;
  display: block;
}
.cv-footer__bottom-text {
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--cv-on-dark-text-55);
}
a.cv-footer__bottom-text { transition: color var(--cv-dur-fast) ease; }
a.cv-footer__bottom-text:hover { color: var(--cv-color-white); }

.cv-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.cv-footer__legal li {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cv-footer__legal li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cv-on-dark-text-55);
  margin-right: 20px;
  margin-left: -20px;
  transform: translateX(-10px);
  opacity: 0.7;
}

@media (max-width: 1180px) {
  .cv-footer__top {
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 80px 0 40px;
  }
}
@media (max-width: 640px) {
  /* Logo Colvemat centre en haut du footer */
  .cv-footer__brand { align-items: center; }
  /* Sitemap empile a gauche, Reseaux sociaux a cote, groupe centre */
  .cv-footer__cols { grid-template-columns: auto auto; justify-content: center; column-gap: 40px; row-gap: 4px; }
  .cv-footer__col + .cv-footer__col--social { margin-left: 0; }
  .cv-footer__col:nth-child(1) { grid-column: 1; grid-row: 1; }
  .cv-footer__col:nth-child(2) { grid-column: 1; grid-row: 2; }
  .cv-footer__col--social { grid-column: 2; grid-row: 1; margin: 0; }
  /* L'eyebrow vide (alignement 2 colonnes) n'a plus de sens en 1 colonne */
  .cv-footer__eyebrow[aria-hidden="true"] { display: none; }

  /* Bas : liens legaux sur une ligne repartie + credit centre dessous */
  .cv-footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .cv-footer__legal {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 6px;
  }
  .cv-footer__legal li + li::before { display: none; }
  .cv-footer__legal .cv-footer__bottom-text {
    font-size: 11.5px;
    white-space: nowrap;
  }
  .cv-footer__credit { justify-content: center; }
}


/* --- components/floating-contact.css --- */
/* ============================================================
   COMPONENT : Floating contact (FAB)
   Bulle flottante bas-droite, présente sur toutes les pages.
   ============================================================ */
.cv-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 22px 0 12px;
  border-radius: var(--cv-radius-pill);
  background: var(--cv-color-yellow);
  color: var(--cv-color-ink);
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.14);
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform var(--cv-dur-mid) var(--cv-ease-out),
    opacity var(--cv-dur-mid) var(--cv-ease-out),
    box-shadow var(--cv-dur-base) ease,
    background var(--cv-dur-base) ease;
}
.cv-fab.is-in { transform: translateY(0); opacity: 1; }
.cv-fab:hover {
  background: var(--cv-color-yellow-acc, var(--cv-color-yellow));
  box-shadow: 0 20px 44px -10px rgba(0, 0, 0, 0.48), 0 3px 10px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}
.cv-fab__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cv-color-ink);
  color: var(--cv-color-yellow);
  font-size: 22px;
}
.cv-fab__label {
  font-size: 13px;
  line-height: 1.25;
  color: var(--cv-color-ink);
  white-space: nowrap;
}
.cv-fab__label strong { font-weight: 600; font-size: 14px; }

@media (max-width: 640px) {
  .cv-fab {
    right: 16px;
    bottom: 16px;
    height: 54px;
    padding: 0 8px;
    gap: 0;
  }
  .cv-fab__icon { width: 38px; height: 38px; font-size: 20px; }
  .cv-fab__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cv-fab { transition: none; transform: none; opacity: 1; }
}


/* --- pages/offre-rentree.css --- */
/* ============================================================
   PAGE : offre-rentree (landing campagne octobre)
   Deux directions partagent ces styles :
     - .cv-lp-hero            : hero sombre (direction A)
     - .cv-lp-hero--light     : hero clair  (direction B)
     - .cv-offer-card / -row  : deux rendus d'une meme offre
   ============================================================ */

/* ---------- Header allege ---------- */
.cv-header--lp .cv-header__inner { justify-content: space-between; }
.cv-header--lp .cv-header__actions { gap: 12px; }
.cv-lp-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--cv-on-dark-text-78); text-decoration: none; font-size: var(--cv-text-body-sm); font-weight: 500; }
.cv-lp-tel:hover { color: var(--cv-color-white); }
.cv-lp-tel i.ph { font-size: 16px; }
@media (max-width: 640px) { .cv-lp-tel { display: none; } }

/* ---------- Hero commun ---------- */
.cv-lp-hero { position: relative; padding: calc(76px + 88px) 0 88px; background: var(--cv-color-dark); color: var(--cv-color-white); overflow: hidden; }
.cv-lp-hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.cv-lp-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--cv-text-eyebrow); letter-spacing: .12em; font-weight: 600; color: var(--cv-color-yellow); }
.cv-lp-hero__eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--cv-color-yellow); }
.cv-lp-hero__title { margin: 32px 0 0; font-size: clamp(38px, 5.2vw, 74px); line-height: 1.10; letter-spacing: -0.06em; font-weight: 500; }
.cv-lp-hero__lead { margin: 22px 0 0; max-width: 46ch; font-size: var(--cv-text-body-lg); line-height: 1.5; color: var(--cv-on-dark-text-78); }
.cv-lp-hero__note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--cv-on-dark-text-45); }
.cv-lp-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cv-lp-hero__media { position: relative; border-radius: var(--cv-radius-lg); overflow: hidden; background: var(--cv-on-dark-06); aspect-ratio: 4 / 3; }
.cv-lp-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Hero clair (direction B) */
.cv-lp-hero--light { background: var(--cv-color-paper); color: var(--cv-color-ink); }
.cv-lp-hero--light .cv-lp-hero__eyebrow { color: var(--cv-color-ink); }
.cv-lp-hero--light .cv-lp-hero__eyebrow::before { background: var(--cv-color-ink); }
.cv-lp-hero--light .cv-lp-hero__lead { color: var(--cv-color-text); }
.cv-lp-hero--light .cv-lp-hero__note { color: var(--cv-color-mute); }
.cv-lp-hero--light .cv-lp-hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: left; }
.cv-lp-hero--light .cv-lp-hero__title { font-size: clamp(2.6rem, 6vw, var(--cv-text-display-lg)); max-width: 16ch; }
.cv-lp-hero--light .cv-lp-hero__media { aspect-ratio: 21 / 7; background: var(--cv-color-white); }

/* ---------- Compte a rebours ---------- */
.cv-cd { display: flex; align-items: flex-end; gap: 10px; margin-top: 40px; }
.cv-cd__cell { min-width: 74px; padding: 14px 10px 12px; text-align: center; border-radius: var(--cv-radius-sm); background: var(--cv-on-dark-08); border: 1px solid var(--cv-on-dark-12); }
.cv-cd__num { display: block; font-size: 30px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--cv-color-yellow); }
.cv-cd__lab { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .1em; color: var(--cv-on-dark-text-60); }
.cv-cd__sep { padding-bottom: 26px; color: var(--cv-on-dark-text-45); }

/* Bandeau compte a rebours jaune (direction B) */
.cv-cd-band { background: var(--cv-color-yellow); color: var(--cv-color-ink); padding: 22px 0; }
.cv-cd-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cv-cd-band__text { font-size: var(--cv-text-body-md); font-weight: 500; max-width: 42ch; }
.cv-cd-band .cv-cd { margin-top: 0; }
.cv-cd-band .cv-cd__cell { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.12); }
.cv-cd-band .cv-cd__num { color: var(--cv-color-ink); }
.cv-cd-band .cv-cd__lab { color: rgba(0,0,0,0.55); }
.cv-cd-band .cv-cd__sep { color: rgba(0,0,0,0.35); }

/* ---------- En-tete de section ---------- */
.cv-lp-head { max-width: 62ch; margin-bottom: 44px; }
.cv-lp-head__title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.20; letter-spacing: -0.04em; font-weight: 500; color: var(--cv-color-ink); margin: 14px 0 0; }
.cv-lp-head--wide { max-width: none; }
@media (max-width: 640px) { .cv-lp-head__br { display: none; } }
.cv-lp-head__lead { margin: 16px 0 0; font-size: var(--cv-text-body-md); line-height: 1.6; color: var(--cv-color-mute); }

/* ---------- Offre : parties communes ---------- */
.cv-offer__cat { font-size: var(--cv-text-card-meta); color: var(--cv-color-mute); }
.cv-offer__title { margin: 6px 0 0; font-size: var(--cv-text-card-title); font-weight: 500; letter-spacing: -0.015em; color: var(--cv-color-ink); }
.cv-offer__dispo { margin: 4px 0 0; font-size: var(--cv-text-card-body); color: var(--cv-color-text); }
.cv-offer__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.cv-offer__pill { padding: 7px 14px; border-radius: var(--cv-radius-pill); border: 1px solid var(--cv-color-line-2); background: var(--cv-color-white); color: var(--cv-color-text); font: inherit; font-size: var(--cv-text-caption); font-weight: 500; cursor: pointer; transition: all var(--cv-dur-fast) var(--cv-ease-out); }
.cv-offer__pill:hover { border-color: var(--cv-color-ink); color: var(--cv-color-ink); }
.cv-offer__pill.is-active { background: var(--cv-color-ink); border-color: var(--cv-color-ink); color: var(--cv-color-white); }
.cv-offer__prices { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cv-color-line); }
.cv-offer__rent-label { font-size: 11px; letter-spacing: .08em; font-weight: 600; color: var(--cv-color-mute); }
.cv-offer__rent { margin: 6px 0 0; font-size: 28px; line-height: 1.05; font-weight: 600; letter-spacing: -0.025em; color: var(--cv-color-ink); font-variant-numeric: tabular-nums; }
.cv-offer__unit { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.cv-offer__sale { margin: 8px 0 0; font-size: var(--cv-text-card-price); color: var(--cv-color-mute); font-variant-numeric: tabular-nums; }
.cv-offer__media { position: relative; background: var(--cv-color-white); overflow: hidden; }
.cv-offer__media img { padding: 10px; }
.cv-offer__media img { width: 100%; height: 100%; object-fit: contain; }
.cv-offer__badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; padding: 7px 13px; border-radius: var(--cv-radius-pill); background: var(--cv-color-yellow); color: var(--cv-color-ink); font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.cv-offer__cta { margin-top: 18px; }

/* ---------- Direction A : grille de cartes ---------- */
.cv-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cv-offer-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cv-offer-card { display: flex; flex-direction: column; background: var(--cv-color-white); border: 1px solid var(--cv-color-line); border-radius: var(--cv-radius-sm); overflow: hidden; transition: transform var(--cv-dur-base) ease, box-shadow var(--cv-dur-base) ease, border-color var(--cv-dur-base) ease; }
.cv-offer-card:hover { transform: translateY(-3px); box-shadow: var(--cv-shadow-card-hover); border-color: var(--cv-color-line-2); }
.cv-offer-card .cv-offer__media { aspect-ratio: 4 / 3; }
.cv-offer-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.cv-offer-card__body .cv-offer__prices { margin-top: auto; }
.cv-offer-grid--2 .cv-offer-card .cv-offer__media { aspect-ratio: 16 / 10; }

/* ---------- Direction B : lignes ---------- */
.cv-offer-list { display: grid; gap: 16px; }
.cv-offer-row { display: grid; grid-template-columns: 260px 1fr 260px; gap: 32px; align-items: center; padding: 24px; background: var(--cv-color-white); border: 1px solid var(--cv-color-line); border-radius: var(--cv-radius-sm); transition: border-color var(--cv-dur-base) ease, box-shadow var(--cv-dur-base) ease; }
.cv-offer-row:hover { border-color: var(--cv-color-line-2); box-shadow: var(--cv-shadow-card-hover); }
.cv-offer-row .cv-offer__media { aspect-ratio: 4 / 3; border-radius: var(--cv-radius-xs); }
.cv-offer-row .cv-offer__title { font-size: 22px; }
.cv-offer-row__aside { border-left: 1px solid var(--cv-color-line); padding-left: 28px; }
.cv-offer-row__aside .cv-offer__prices { margin-top: 0; padding-top: 0; border-top: none; }

/* ---------- Reassurance ---------- */
.cv-plus { background: var(--cv-color-yellow); color: var(--cv-color-ink); }
.cv-plus__head { max-width: 70ch; }
.cv-plus__head .cv-eyebrow::before { background: var(--cv-color-ink); }
.cv-plus__title { font-size: clamp(26px, 3vw, 40px); line-height: 1.10; letter-spacing: -0.04em; font-weight: 500; color: var(--cv-color-ink); }
.cv-plus__lead { margin: 16px 0 0; font-size: var(--cv-text-body-md); line-height: 1.6; }
.cv-plus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.cv-plus__item { padding: 26px; border: 1px solid rgba(0,0,0,0.14); border-radius: var(--cv-radius-sm); background: rgba(255,255,255,0.35); }
.cv-plus__item i.ph { font-size: 26px; }
.cv-plus__item h3 { margin: 16px 0 0; font-size: var(--cv-text-card-title); font-weight: 600; }
.cv-plus__item p { margin: 8px 0 0; font-size: var(--cv-text-card-body); line-height: 1.55; color: rgba(0,0,0,0.7); }

/* ---------- Distributeur exclusif ---------- */
.cv-lp-brands { background: var(--cv-color-dark); color: var(--cv-color-white); padding: 56px 0; }
.cv-lp-brands__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cv-lp-brands__title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 500; }
.cv-lp-brands__logos { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.cv-lp-brands__logos img { height: 64px; width: auto; object-fit: contain; }

/* ---------- Bloc formulaire ---------- */
.cv-lp-form__head { max-width: 58ch; margin-bottom: 36px; }
.cv-lp-form__head--wide { max-width: none; }
.cv-lp-form__head--wide .cv-lp-head__lead { max-width: 58ch; }
.cv-footer__mentions { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--cv-on-dark-06); max-width: none; font-size: 10.5px; line-height: 1.55; letter-spacing: -0.005em; color: rgba(255,255,255,0.3); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cv-lp-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .cv-offer-grid { grid-template-columns: repeat(2, 1fr); }
  .cv-offer-row { grid-template-columns: 200px 1fr; }
  .cv-offer-row__aside { grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--cv-color-line); padding-left: 0; padding-top: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .cv-offer-row__aside .cv-offer__cta { margin-top: 0; }
  .cv-plus__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cv-lp-hero { padding: calc(76px + 56px) 0 64px; }
  .cv-offer-grid, .cv-offer-grid--2 { grid-template-columns: 1fr; }
  .cv-offer-row { grid-template-columns: 1fr; gap: 20px; }
  .cv-cd__cell { min-width: 62px; }
  .cv-cd__num { font-size: 24px; }
}

/* ---------- Boutons sur fond sombre ---------- */
.cv-btn--on-dark { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.cv-btn--on-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
@media (max-width: 560px) { .cv-header--lp .cv-header__actions .cv-btn--glass-cta { display: none; } }
