/* =====================================================================
   LIRISCOM — Home 2026  ·  Design system "eco-tech raffiné"
   Tout est scopé sous .home-2026 pour ne pas impacter les autres pages.
   Palette : verts existants conservés à l'identique.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Transition entre pages (View Transitions) : essayée puis retirée.
   `@view-transition { navigation: auto }` ne corrige pas le saut vers les
   ancres. Mesuré : à l'évènement `pagereveal`, quand le navigateur capture la
   nouvelle page, scrollY vaut encore 0 — il ne peut pas savoir où se trouve
   #prime-N avant d'avoir analysé la page. Le fondu enchaînait donc vers le
   HAUT de la page cible, puis sautait quand même, en gardant l'image fautive
   à l'écran 220 ms de plus. Ne pas réintroduire sans relire cette mesure.
   --------------------------------------------------------------------- */

.home-2026 {
  /* — Couleurs marque (inchangées) — */
  --green-900: #053a2b;
  --green-800: #0A7F5D;   /* vert principal */
  --green-700: #0e6e52;
  --green-600: #1c8a68;
  --green-500: #2F9275;   /* vert cards */
  --green-400: #28B78D;   /* vert gradient mid */
  --green-300: #56EA99;   /* vert clair CTA */
  --green-200: #6FEDA8;   /* vert menthe accents */
  --green-100: #c8f5dd;

  --ink: #07261d;         /* presque noir vert, pour le texte */
  --ink-soft: #41594f;    /* texte secondaire */
  --paper: #F8F9FA;       /* fond existant */
  --paper-2: #eef3f0;     /* fond alterné chaud */
  --white: #ffffff;
  --line: rgba(7, 38, 29, .10);

  /* — Dégradés signature — */
  --grad-brand: linear-gradient(100deg, var(--green-300) 0%, var(--green-400) 42%, var(--green-800) 100%);
  --grad-hero: radial-gradient(120% 120% at 15% 10%, #0c5a42 0%, #063a2b 55%, #042519 100%);
  --grad-ink: linear-gradient(180deg, #0a3d2d, #062317);

  /* — Typo — */
  --font-display: "Bricolage Grotesque", "Bricolage Grotesque repli Arial", "Bricolage Grotesque repli Roboto", "Poppins", sans-serif;
  --font-body: "Manrope", "Manrope repli Arial", "Manrope repli Roboto", "Poppins", sans-serif;

  /* — Rayons — */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --r-xl: 42px;

  /* — Ombres : trois niveaux discrets, proches du neutre —
     Les valeurs précédentes (jusqu'à 90px de flou et 50px de décalage) faisaient
     léviter chaque carte au-dessus de la page ; c'est ce qui donnait l'impression
     de « trop ». Ici l'ombre situe l'élément, elle ne le met plus en scène. */
  --shadow-sm: 0 1px 2px rgba(7, 38, 29, .05);
  --shadow: 0 4px 16px -8px rgba(7, 38, 29, .16);
  --shadow-lg: 0 16px 40px -20px rgba(7, 38, 29, .22);

  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip (et non hidden) : empêche le débordement horizontal SANS créer de
     conteneur de défilement, sinon le position:sticky de la navbar casse. */
  overflow-x: clip;
}

/* La barre de défilement était masquée par ces règles, mais `scrollbar-width`
   ne se propage au viewport que depuis l'élément racine — or seule index.php
   portait la classe sur son <html>. Résultat mesuré : barre de 0 px sur
   l'accueil contre 15 px sur les 19 autres pages, donc tout le contenu se
   décalait de 7 px à chaque aller-retour avec l'accueil. La barre est
   désormais visible partout, et elle sert de repère de position sur des pages
   qui font 15 000 px de haut.

   Règle non scopée sous .home-2026, volontairement : la classe n'est pas sur
   <html> sur 19 pages sur 20. Sans effet sur les pages de infos/, qui ne
   chargent pas cette feuille.

   `stable` réserve la gouttière en permanence : aucune page ne décale plus,
   qu'elle dépasse la hauteur de l'écran ou non. */
html { scrollbar-gutter: stable; }

/* Police de corps partout sauf icônes FontAwesome (<i>) */
.home-2026 *:not(i) { font-family: var(--font-body); }

.home-2026 h1, .home-2026 h2, .home-2026 h3,
.home-2026 h4, .home-2026 .display {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 700;
}

.home-2026 p { color: var(--ink-soft); }
.home-2026 a { color: inherit; text-decoration: none; }
.home-2026 img { max-width: 100%; }

/* ---------- Layout helpers ---------- */
.home-2026 .wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
}
.home-2026 .section { position: relative; padding: clamp(70px, 11vw, 150px) 0; }
.home-2026 .section--tight { padding: clamp(50px, 7vw, 90px) 0; }
.home-2026 .section--paper2 { background: var(--paper-2); }

/* ---------- Eyebrow / titres de section ---------- */
.home-2026 .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-700);
}
.home-2026 .eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green-400);
  border-radius: 2px;
}
.home-2026 .section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.home-2026 .section-head--center { margin-inline: auto; text-align: center; }
/* L'eyebrow est un inline-flex : centrer le texte ne suffit pas, il faut centrer
   son contenu (filet + libellé). Évite de le répéter en style inline. */
.home-2026 .section-head--center .eyebrow { justify-content: center; }
.home-2026 .section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin: 18px 0 0;
}
.home-2026 .section-head p { margin-top: 18px; font-size: 1.05rem; }

/* ---------- Boutons ---------- */
.home-2026 .btn {
  --btn-bg: var(--grad-brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 0;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  color: #fff;
  cursor: pointer;
  background: var(--btn-bg);
  /* Pas d'ombre : un halo vert sous une pastille verte, c'est la signature
     visuelle qu'on cherche justement à retirer. Le survol se joue sur la
     couleur et sur la flèche, comme pour .link-arrow — un seul idiome. */
  transition: filter .22s ease;
}
.home-2026 .btn i { transition: transform .22s ease; }
.home-2026 .btn:hover { filter: brightness(.94); }
.home-2026 .btn:hover i { transform: translateX(3px); }
.home-2026 .btn:active { filter: brightness(.88); }
.home-2026 .btn:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; }
.home-2026 .btn--light {
  --btn-bg: #fff;
  color: var(--green-800);
}
.home-2026 .btn--ghost {
  --btn-bg: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .45);
  box-shadow: none;
}
/* Un fond transparent ne s'assombrit pas : sur .btn--ghost le survol se lit
   sur la bordure, et brightness() ne ferait que ternir le texte blanc. */
.home-2026 .btn--ghost:hover { border-color: #fff; filter: none; }
/* CTA principal dans les héros sombres (page-hero) : un bouton vert sur fond
   vert foncé manque de contraste → pastille blanche, texte vert (style --light).
   Les boutons secondaires .btn--ghost et les .btn--light explicites sont conservés. */
.home-2026 .page-hero__cta .btn:not(.btn--light):not(.btn--ghost) {
  --btn-bg: #fff;
  color: var(--green-800);
}
/* Les pastilles claires passent au vert menthe : assombrir du blanc ne se voit pas. */
.home-2026 .btn--light:hover,
.home-2026 .page-hero__cta .btn:not(.btn--light):not(.btn--ghost):hover {
  --btn-bg: var(--green-100);
  filter: none;
}
.home-2026 .btn--sm { padding: 12px 22px; font-size: .92rem; }
/* jamais de soulignage (même au survol, malgré le a:hover de Bootstrap) + texte blanc */
.home-2026 .btn--sm,
.home-2026 .btn--sm:hover,
.home-2026 .btn--sm:focus { color: #fff; text-decoration: none; }

.home-2026 .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green-700);
}
/* Seule la flèche bouge. Animer `gap` change la largeur du lien à chaque survol
   et fait sauter le texte autour : c'était l'un des tremblements constatés. */
.home-2026 .link-arrow i { transition: transform .22s ease; }
.home-2026 .link-arrow:hover i { transform: translateX(3px); }

/* La navbar est désormais autonome : voir assets/css/navbar.css (namespace .lc-nav). */

/* =====================================================================
   HERO
   ===================================================================== */
.home-2026 .hero {
  position: relative;
  min-height: clamp(620px, 94vh, 940px);
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--grad-hero);
  overflow: hidden;
  isolation: isolate;
}
.home-2026 .hero__bg { position: absolute; inset: 0; z-index: -2; opacity: .9; }
.home-2026 .hero__veil { /* assombrit le bas pour la lisibilité + transition douce */
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(86, 234, 153, .16), transparent 60%),
    linear-gradient(180deg, rgba(4, 37, 25, .20) 0%, rgba(4, 37, 25, .26) 55%, rgba(4, 37, 25, .38) 100%);
}
.home-2026 .hero__veil::after { /* grain subtil */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  opacity: .04;
  mix-blend-mode: overlay;
}
.home-2026 .hero__inner { position: relative; z-index: 2; padding: 60px 0; }
.home-2026 .hero__inner > * { max-width: 560px; } /* accroche / boutons calés à gauche */
.home-2026 .hero__inner .hero__title { max-width: 640px; } /* titre un peu plus large (2 lignes) */
.home-2026 .hero__logo3d { /* marque 3D à droite, par-dessus le fond Vanta */
  position: absolute;
  top: 0; right: 0; bottom: 0; left: auto;
  width: min(48%, 640px);
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}
@media (max-width: 900px) { .home-2026 .hero__logo3d { display: none; } }
.home-2026 .hero .eyebrow { color: var(--green-200); }
.home-2026 .hero .eyebrow::before { background: var(--green-200); }
.home-2026 .hero__title {
  color: #fff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1;
  margin: 24px 0 0;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.home-2026 .hero__title .accent {
  display: inline-block;
  background: linear-gradient(102deg, var(--green-300) 0%, var(--green-200) 55%, #d6fff0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .08em; /* évite que les jambages (p, g) soient coupés par le clip */
}
.home-2026 .hero__lead {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 620px;
  margin: 26px 0 0;
}
.home-2026 .hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.home-2026 .hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 54px);
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.home-2026 .hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #fff;
}
.home-2026 .hero__stat span { font-size: .9rem; color: rgba(255, 255, 255, .7); }

.home-2026 .hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.home-2026 .hero__scroll i {
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 14px;
  position: relative;
}
.home-2026 .hero__scroll i::after {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--green-200);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* =====================================================================
   À PROPOS / FONDATEUR
   ===================================================================== */
.home-2026 .about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.home-2026 .about__media { position: relative; }
/* fondateur.png est un détourage circulaire, avec son anneau vert déjà dans
   l'image : le cadre arrondi et l'ombre portée s'appliquaient à sa boîte et non
   à la photo, et le halo dégradé flouté ajoutait un second cerne par-dessus le
   premier. La photo se suffit. */
.home-2026 .about__media img {
  width: 100%;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.home-2026 .about__badge {
  position: absolute;
  right: -14px; bottom: 26px;
  z-index: 2;
  background: #fff;
  border-radius: var(--r);
  padding: 16px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-2026 .about__badge strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-800); }
.home-2026 .about__badge span { font-size: .82rem; color: var(--ink-soft); line-height: 1.2; }
.home-2026 .about__text h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.home-2026 .about__text p { margin-top: 16px; }
.home-2026 .about__signature {
  margin-top: 26px;
  font-family: var(--font-display);
  color: var(--green-700);
}

/* =====================================================================
   STEPS (timeline modernisée)
   ===================================================================== */
.home-2026 .steps { background: var(--grad-ink); color: #fff; overflow: hidden; }
.home-2026 .steps::before { /* glow d'ambiance */
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(86, 234, 153, .18), transparent 60%);
  pointer-events: none;
}
.home-2026 .steps .section-head h2 { color: #fff; }
.home-2026 .steps .section-head p { color: rgba(255, 255, 255, .78); }
.home-2026 .steps .eyebrow { color: var(--green-200); }
.home-2026 .steps .eyebrow::before { background: var(--green-200); }
.home-2026 .steps__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}
.home-2026 .step {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
}
/* Pas de survol : une étape n'est pas cliquable. Faire réagir un bloc de texte
   au passage de la souris promet une action qui n'existe pas. */
.home-2026 .step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--green-200), var(--green-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.home-2026 .step__num::before { content: "0" counter(step); }
.home-2026 .step h3 { color: #fff; font-size: 1.1rem; margin: 18px 0 10px; letter-spacing: -.01em; }
.home-2026 .step p { color: rgba(255, 255, 255, .68); font-size: .94rem; }
.home-2026 .step__line { width: 36px; height: 3px; border-radius: 3px; background: var(--green-300); margin-top: 18px; }

/* =====================================================================
   CARTES (audience + services)
   ---------------------------------------------------------------------
   L'ancien .tilt inclinait les cartes en 3D au passage de la souris ; c'est
   l'effet qui datait le plus la page. Supprimé ici et dans index.php.
   ===================================================================== */

/* — Audience (Particuliers / Pro / Artisans) — */
.home-2026 .audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.home-2026 .aud-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
  transition: border-color .3s ease;
}
.home-2026 .aud-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
/* La carte contient un bouton : le survol se limite au filet dégradé qui se
   trace en haut — le seul geste conservé, parce qu'il désigne la carte visée. */
.home-2026 .aud-card:hover { border-color: rgba(10, 127, 93, .28); }
.home-2026 .aud-card:hover::before { transform: scaleX(1); }
.home-2026 .aud-card__icon {
  width: 92px; height: 92px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 24px;
  background: var(--green-100);
}
.home-2026 .aud-card__icon img { width: 52px; height: 52px; object-fit: contain; }
.home-2026 .aud-card h3 { font-size: 1.5rem; }
.home-2026 .aud-card p { margin: 10px 0 24px; }

/* — Services (8 cartes image) — */
.home-2026 .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-2026 .svc-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.home-2026 .svc-card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform .45s ease;
}
/* Zoom ramené de 1.1 à 1.06 : la photo respire au survol sans « gonfler ». */
.home-2026 .svc-card:hover .svc-card__img { transform: scale(1.06); }
.home-2026 .svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 37, 25, .05) 0%, rgba(4, 37, 25, .45) 45%, rgba(4, 37, 25, .9) 100%);
}
.home-2026 .svc-card__body { padding: 28px; color: #fff; }
.home-2026 .svc-card__body h3 { color: #fff; font-size: 1.35rem; }
.home-2026 .svc-card__body .hairline { width: 40px; height: 3px; background: var(--green-300); border-radius: 3px; margin: 14px 0; }
.home-2026 .svc-card__body .link-arrow { color: var(--green-200); }

/* =====================================================================
   POURQUOI NOUS (forces)
   ===================================================================== */
.home-2026 .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.home-2026 .why-card { text-align: center; padding: 16px; }
.home-2026 .why-card__icon {
  width: 110px; height: 110px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--green-100));
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
}
.home-2026 .why-card__icon img { width: 56px; height: 56px; object-fit: contain; }
.home-2026 .why-card__icon svg { width: 48px; height: 48px; color: var(--green-700); }

/* --- cartes partenaires (ENGIE / Tête de Réseau EDF) --- */
.home-2026 .partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 30px);
}
.home-2026 .partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.home-2026 .partner-card__brand { height: 58px; display: flex; align-items: center; margin-bottom: 20px; }
.home-2026 .partner-card__brand img { max-height: 54px; width: auto; }
.home-2026 .partner-card__badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: .04em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-2026 .partner-card h3 { font-size: 1.35rem; margin: 0 0 10px; }
.home-2026 .partner-card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.home-2026 .partner-card p + p { margin-top: 10px; }
@media (max-width: 760px) { .home-2026 .partner-grid { grid-template-columns: 1fr; } }

/* --- zone flux LinkedIn (widget SociableKit) --- */
.home-2026 .li-feed { max-width: 1040px; margin: 8px auto 0; }
.home-2026 .li-feed iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 20px;
}
.home-2026 .why-card h3 { font-size: 1.4rem; }
.home-2026 .why-card p { margin-top: 12px; font-size: .98rem; }

/* --- cartes offres d'emploi (page Rejoignez-nous) --- */
.home-2026 .job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 44px);
  box-shadow: var(--shadow-sm);
}
.home-2026 .job-card + .job-card { margin-top: 26px; }
.home-2026 .job-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; justify-content: space-between; margin-bottom: 4px; }
.home-2026 .job-card__head h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.home-2026 .job-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 100px;
  background: var(--green-100); color: var(--green-800);
  font-weight: 700; font-size: .82rem; white-space: normal;
}
.home-2026 .job-card h4 { font-size: 1.05rem; color: var(--green-800); margin: 1.4em 0 .2em; }

/* =====================================================================
   ATEE
   ===================================================================== */
.home-2026 .atee {
  text-align: center;
  background: var(--paper-2);
}
.home-2026 .atee__card {
  max-width: 760px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 60px);
  box-shadow: var(--shadow);
}
.home-2026 .atee__card img { max-width: 320px; margin-top: 24px; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.home-2026 .contact { background: var(--grad-hero); color: #fff; overflow: hidden; }
.home-2026 .contact::before {
  content: "";
  position: absolute;
  bottom: -20%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(86, 234, 153, .16), transparent 60%);
  pointer-events: none;
}
.home-2026 .contact .section-head h2 { color: #fff; }
.home-2026 .contact .eyebrow { color: var(--green-200); }
.home-2026 .contact .eyebrow::before { background: var(--green-200); }
.home-2026 .contact__grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 26px;
  align-items: stretch;
}
.home-2026 .form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
}
.home-2026 .form-card h3 { font-size: 1.7rem; }
.home-2026 .form-card > p { margin: 8px 0 26px; }
.home-2026 .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.home-2026 .form-field { display: flex; flex-direction: column; gap: 7px; }
.home-2026 .form-field.full { grid-column: 1 / -1; }
.home-2026 .form-field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.home-2026 .form-field input,
.home-2026 .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: .98rem;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.home-2026 .form-field input:focus,
.home-2026 .form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green-400);
  box-shadow: 0 0 0 4px rgba(40, 183, 141, .15);
}
.home-2026 .form-field textarea { resize: vertical; min-height: 110px; }
.home-2026 .code-hint {
  background: var(--green-100);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: .9rem;
  color: var(--green-800);
  margin-top: 4px;
}
.home-2026 .code-hint b { font-size: 1.05rem; letter-spacing: .1em; }
.home-2026 .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .85rem; color: var(--ink-soft); }
.home-2026 .consent input { margin-top: 4px; accent-color: var(--green-700); }
.home-2026 .consent a { color: var(--green-700); font-weight: 600; }
.home-2026 .rgpd { font-size: .72rem; color: #6b7d76; margin-top: 14px; line-height: 1.5; }
.home-2026 .rgpd a { color: var(--green-700); }
.home-2026 .form-card .btn { margin-top: 22px; }

.home-2026 .contact__aside {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.home-2026 .info-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-lg);
  padding: 30px;
  backdrop-filter: blur(8px);
}
.home-2026 .info-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.home-2026 .info-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.home-2026 .info-row:last-child { border-bottom: 0; }
.home-2026 .info-row i { color: var(--green-200); font-size: 1.1rem; margin-top: 3px; width: 22px; text-align: center; }
.home-2026 .info-row span { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.home-2026 .info-row b { display: block; color: #fff; font-weight: 700; }
.home-2026 .info-card iframe { width: 100%; height: 200px; border: 0; border-radius: var(--r); margin-top: 6px; }
/* Carte « Où nous trouver ? » sans accord (#51) : texte clair sur le fond sombre de la carte. */
.home-2026 .info-card .lc-tiers__repli,
.home-2026 .info-card .lc-tiers__action { color: rgba(255, 255, 255, .85); }
.home-2026 .info-card .lc-tiers__repli a { color: #fff; }

/* Le footer est désormais autonome : voir assets/css/footer.css (namespace .lc-foot). */

/* =====================================================================
   PAGES INTÉRIEURES — composants partagés (Particuliers, Pro, Artisans…)
   ===================================================================== */

/* ---------- Hero de page (sans Vanta) ---------- */
.home-2026 .page-hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: clamp(130px, 19vh, 210px) 0 clamp(70px, 10vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.home-2026 .page-hero::before { /* glow d'ambiance */
  content: "";
  position: absolute;
  top: -30%; right: -8%;
  width: 46vw; height: 46vw;
  background: radial-gradient(circle, rgba(86, 234, 153, .20), transparent 62%);
  pointer-events: none;
  z-index: -1;
}
.home-2026 .page-hero::after { /* fines lignes décoratives en bas */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(4, 37, 25, .35));
  z-index: -1;
}
.home-2026 .page-hero__inner { max-width: 820px; }
.home-2026 .page-hero .eyebrow { color: var(--green-200); }
.home-2026 .page-hero .eyebrow::before { background: var(--green-200); }
.home-2026 .page-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  margin: 20px 0 0;
}
.home-2026 .page-hero p {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  max-width: 620px;
  margin: 22px 0 0;
}
.home-2026 .page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
/* fil d'ariane optionnel */
.home-2026 .crumb { font-size: .82rem; color: rgba(255, 255, 255, .6); letter-spacing: .04em; }
.home-2026 .crumb a { color: rgba(255, 255, 255, .8); }
.home-2026 .crumb a:hover { color: #fff; }

/* --- héros « split » : texte large à gauche + 1 image à droite (page Partenaire) --- */
.home-2026 .page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.home-2026 .page-hero--split .page-hero__body { max-width: 660px; }
.home-2026 .page-hero--split .page-hero__body p { max-width: none; } /* le texte s'étale sur toute la colonne */
.home-2026 .page-hero__figure { margin: 0; }
.home-2026 .page-hero__figure img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 35%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .42);
}
@media (max-width: 900px) {
  .home-2026 .page-hero__grid { grid-template-columns: 1fr; }
  .home-2026 .page-hero--split .page-hero__body { max-width: none; }
  .home-2026 .page-hero__figure { max-width: 480px; }
  .home-2026 .page-hero__figure img { aspect-ratio: 16 / 11; }
}

/* --- accroche + badge de héros de page (page Partenaire) --- */
.home-2026 .page-hero__tagline {
  color: var(--green-200);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.5rem) !important;
  margin-top: 16px !important;
}
.home-2026 .page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px !important;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(86, 234, 153, .12);
  border: 1px solid rgba(86, 234, 153, .35);
  color: #fff !important;
  font-weight: 600;
  font-size: .98rem !important;
}
.home-2026 .page-hero__badge i { color: var(--green-300); }

/* ---------- Section du simulateur (simulateur.php) ---------- */
/* Le titre, l'intro et l'outil tiennent dans UNE section, pas dans un hero
   suivi d'une section claire : le simulateur est le contenu de la page, son
   titre l'annonce à un centimètre de lui. D'où ce fond sombre porté par la
   section entière — celui des heros et de la section contact, `--grad-hero`.
   Deux écarts assumés avec le motif de .steps et .contact :
     1. pas d'`overflow: hidden`. Les listes déroulantes des étapes 2 et 3 sont
        en position absolue et doivent pouvoir déborder de leur cadre ; c'est
        déjà la raison pour laquelle .sim-root n'en a pas (assets/css/simulateur.css).
     2. le glow d'ambiance est donc dans le fond lui-même, et non dans un
        pseudo-élément débordant qu'il faudrait couper. Rien ne dépasse.
   Le simulateur, lui, reste une carte claire posée dessus : c'est le bundle qui
   la peint (src/public/public.css côté Simulateur-cee). */
.home-2026 .section--simulateur {
  background:
    radial-gradient(80% 60% at 88% 0%, rgba(86, 234, 153, .16), transparent 62%),
    var(--grad-hero);
  color: #fff;
  /* Beaucoup moins de retrait que les autres sections (70 à 150 px) : ici tout
     ce qui précède le simulateur le repousse vers le bas, et l'objet de la page
     est de pouvoir simuler sans défiler. */
  padding: clamp(26px, 4vw, 44px) 0 clamp(44px, 6vw, 72px);
}
/* Le bloc de titre est centré, mais il ne doit pas s'étirer : `section-head`
   plafonne à 720 px, `--center` le recentre dans la largeur du simulateur. */
.home-2026 .section--simulateur .section-head { margin-bottom: clamp(22px, 3vw, 34px); }
.home-2026 .section--simulateur .section-head h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 20px 0 0;
}
.home-2026 .section--simulateur .section-head p { color: rgba(255, 255, 255, .8); }
.home-2026 .section--simulateur .eyebrow { color: var(--green-200); }
.home-2026 .section--simulateur .eyebrow::before { background: var(--green-200); }
/* La mention légale sous le simulateur : #6b7d76 sur ce fond serait illisible. */
.home-2026 .section--simulateur .rgpd { color: rgba(255, 255, 255, .62); }
.home-2026 .section--simulateur .rgpd a { color: var(--green-200); }

/* ---------- Mot-clef (.key) : surlignage vert d'un terme dans une phrase ----------
   Utilitaire transverse, volontairement indépendant de son conteneur. La règle
   vivait auparavant dans .prose, ce qui obligeait à la recopier pour chaque
   nouveau contexte (.cdp-steps, .faq__body…) et laissait le mot en noir partout
   ailleurs — dans un .section-head, par exemple. Une seule règle désormais :
   .key colore le terme, où qu'il soit posé. */
.home-2026 .key { color: var(--green-700); font-weight: 700; }

/* ---------- Prose (blocs de texte riches) ---------- */
.home-2026 .prose > * + * { margin-top: 1.05em; }
.home-2026 .prose p { color: var(--ink-soft); }
.home-2026 .prose h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 1.4em;
}
.home-2026 .prose strong { color: var(--green-700); font-weight: 700; }
.home-2026 .prose a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.home-2026 .prose a:hover { color: var(--green-800); }
/* Un lien stylé en .btn dans .prose garde son apparence de bouton :
   pas de soulignage ni couleur de lien (sinon texte vert souligné sur fond vert). */
.home-2026 .prose a.btn,
.home-2026 .prose a.btn:hover { text-decoration: none; font-weight: 700; }
.home-2026 .prose a.btn:not(.btn--light):not(.btn--ghost),
.home-2026 .prose a.btn:not(.btn--light):not(.btn--ghost):hover { color: #fff; }
.home-2026 .prose ul { list-style: none; padding: 0; margin-top: 1em; }
.home-2026 .prose ul li {
  position: relative;
  padding-left: 28px;
  margin-top: 10px;
  color: var(--ink-soft);
}
.home-2026 .prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
}

/* Liste « check » (conditions, points clés) */
.home-2026 .checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.home-2026 .checklist--cols { grid-template-columns: 1fr 1fr; gap: 14px 36px; }
@media (max-width: 680px) { .home-2026 .checklist--cols { grid-template-columns: 1fr; } }
.home-2026 .checklist li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-soft);
}
.home-2026 .checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: -1px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: .8rem;
  font-weight: 700;
}

/* Cartes « bénéfices » côte à côte (ex. section #info artisans : Pour vos clients / Pour vous) */
.home-2026 .benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(40px, 6vw, 64px);
}
.home-2026 .benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.home-2026 .benefit-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-800);
}
.home-2026 .benefit-card__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--green-100);
  color: var(--green-800);
}
.home-2026 .benefit-card__icon svg { width: 24px; height: 24px; }
.home-2026 .benefit-card .checklist { margin-top: 20px; }
@media (max-width: 760px) { .home-2026 .benefit-grid { grid-template-columns: 1fr; } }

/* Encadré d'alerte */
.home-2026 .callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: var(--green-100);
  border: 1px solid rgba(10, 127, 93, .18);
  color: var(--green-800);
  font-size: .95rem;
}
.home-2026 .callout i { color: var(--green-700); font-size: 1.1rem; margin-top: 2px; }
.home-2026 .callout--warn { background: #fff4f2; border-color: #f3c7bd; color: #9a3412; }
.home-2026 .callout--warn i { color: #c2410c; }

/* ---------- Section « feature » (média + texte alternés) ---------- */
.home-2026 .feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.home-2026 .feature--reverse .feature__media { order: 2; }
.home-2026 .feature__media {
  position: relative;
  min-height: 360px;
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.home-2026 .feature__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 37, 25, .35));
}
.home-2026 .feature__tag {
  position: absolute;
  left: 20px; top: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .92);
  color: var(--green-800);
  font-weight: 700;
  font-size: .82rem;
  /* Ombre propre, un peu plus marquée que --shadow-sm : la pastille est posée
     sur une photo, sans bordure pour la détacher du fond. */
  box-shadow: 0 2px 6px rgba(4, 37, 25, .20);
}
.home-2026 .feature__body h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
.home-2026 .feature__body .eyebrow { margin-bottom: 14px; }

/* Mini-grille d'items (offres coup de pouce, etc.) */
.home-2026 .chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
/* Variante pleine largeur, centrée : utilisée par la section Coup de pouce, qui
   n'a plus de colonne image et dispose donc de toute la page. */
.home-2026 .chip-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: clamp(30px, 4vw, 44px) auto 0;
}
.home-2026 .chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .25s ease;
}
.home-2026 .chip img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }

/* Les puces ne se soulèvent plus au survol (pas d'ombre portée) : elles répondent
   par leur seule bordure. Le survol est porté par .chip-grid--wide, la grille des
   offres, et non par .chip : les puces de rejoignez-nous.php (« Dynamique »,
   « Humaine »…) sont purement décoratives et doivent rester inertes.
   Une puce qui mène quelque part porte un souligné permanent : comme le survol
   ne les distingue plus, l'affordance ne dépend donc pas d'un état, ce qui la rend
   aussi visible au clavier et au tactile. Plus aucune offre n'a de lien depuis le
   retrait de « Thermostat », le 28/09/2026 : la règle reste pour la prochaine. */
.home-2026 .chip-grid--wide .chip:hover { border-color: var(--green-300); }
.home-2026 .chip a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--green-300);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
/* La puce cliquable délègue son rembourrage au lien : toute sa surface devient
   la cible du clic, et pas seulement le libellé. */
.home-2026 .chip:has(a) { padding: 0; }
.home-2026 .chip:has(a) > a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: inherit;
}
.home-2026 .chip a:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }

/* Frise / image pleine largeur dans une section */
.home-2026 .inline-figure { margin-top: 26px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.home-2026 .inline-figure img { display: block; width: 100%; }

/* Bannière média (en-tête des sections longues, pleine largeur) */
.home-2026 .media-banner {
  position: relative;
  height: clamp(180px, 26vw, 300px);
  border-radius: var(--r-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.home-2026 .media-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 37, 25, .15), rgba(4, 37, 25, .5));
}

/* ---------- Tableaux de données (barèmes MPR) ---------- */
.home-2026 .table-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-top: 22px;
  -webkit-overflow-scrolling: touch;
}
.home-2026 .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
  background: #fff;
  min-width: 640px;
}
.home-2026 .data-table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--green-800);
  background: var(--green-100);
}
.home-2026 .data-table th,
.home-2026 .data-table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
  color: var(--ink);
}
.home-2026 .data-table th { background: var(--paper-2); font-weight: 700; }
.home-2026 .data-table thead th { background: var(--grad-ink); color: #fff; border-color: rgba(255,255,255,.12); }
.home-2026 .data-table tbody th { text-align: left; font-weight: 600; }
.home-2026 .data-table--center-head tbody th { text-align: center; } /* 1re colonne centrée (tableaux revenus) */
.home-2026 .table-note { font-size: .78rem; font-style: italic; color: #6b7d76; margin-top: 8px; }

/* ---------- Bande CTA de fin de page ---------- */
.home-2026 .cta-band { background: var(--grad-ink); color: #fff; overflow: hidden; }
.home-2026 .cta-band::before {
  content: "";
  position: absolute;
  bottom: -25%; right: -8%;
  width: 44vw; height: 44vw;
  background: radial-gradient(circle, rgba(86, 234, 153, .16), transparent 62%);
  pointer-events: none;
}
.home-2026 .cta-band__inner { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.home-2026 .cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.home-2026 .cta-band p { color: rgba(255, 255, 255, .78); margin: 16px 0 30px; }
.home-2026 .cta-band .eyebrow { color: var(--green-200); justify-content: center; }
.home-2026 .cta-band .eyebrow::before { background: var(--green-200); }

/* ---------- Bandeau de logos partenaires ---------- */
.home-2026 .cdp-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  margin: 26px 0;
}
.home-2026 .cdp-logos img { max-height: 62px; width: auto; object-fit: contain; }

/* ---------- Étapes numérotées (liste ordonnée stylée) ---------- */
.home-2026 .cdp-steps { list-style: none; counter-reset: cdp; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.home-2026 .cdp-steps li {
  counter-increment: cdp;
  position: relative;
  padding: 18px 22px 18px 66px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
}
.home-2026 .cdp-steps li::before {
  content: counter(cdp);
  position: absolute;
  left: 18px; top: 16px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------- Accordéon FAQ (balises <details> natives) ---------- */
.home-2026 .faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.home-2026 .faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.home-2026 .faq-item[open] { box-shadow: var(--shadow); border-color: rgba(10, 127, 93, .25); }
.home-2026 .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
}
.home-2026 .faq-item summary::-webkit-details-marker { display: none; }
.home-2026 .faq-item summary:hover { color: var(--green-700); }
.home-2026 .faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform .3s, background .3s, color .3s;
}
.home-2026 .faq-item[open] summary::after { content: "\2212"; background: var(--grad-brand); color: #fff; }
.home-2026 .faq__body { padding: 0 26px 24px; }
.home-2026 .faq__body > * + * { margin-top: .8em; }
.home-2026 .faq__body p, .home-2026 .faq__body li { color: var(--ink-soft); }
.home-2026 .faq__body ul { padding-left: 1.15em; margin-top: .6em; }

/* =====================================================================
   REVEAL
   ---------------------------------------------------------------------
   L'état initial était posé par GSAP, donc après la première peinture : le
   contenu s'affichait puis disparaissait avant de revenir en fondu. Il est
   maintenant pré-masqué ici, avant toute peinture, via la classe posée par
   layout/reveal.php. Voir ce fichier pour le filet de sécurité.
   Fallback sans JS ou en reduced-motion : la classe n'est jamais posée, donc
   tout reste visible.
   ===================================================================== */
.home-2026 .reveal { will-change: transform, opacity; }
html.reveal-armed .home-2026 .reveal { opacity: 0; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .home-2026 .about { grid-template-columns: 1fr; }
  .home-2026 .about__media { max-width: 460px; margin-inline: auto; }
  .home-2026 .audience-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .home-2026 .services-grid { grid-template-columns: repeat(2, 1fr); }
  .home-2026 .steps__grid { grid-template-columns: repeat(3, 1fr); }
  .home-2026 .why-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .home-2026 .contact__grid { grid-template-columns: 1fr; }

  /* Pages intérieures */
  .home-2026 .feature { grid-template-columns: 1fr; gap: 32px; }
  .home-2026 .feature--reverse .feature__media { order: 0; }
  .home-2026 .feature__media { min-height: 260px; }
}
@media (max-width: 620px) {
  .home-2026 { font-size: 17px; }
  .home-2026 .services-grid { grid-template-columns: 1fr; }
  .home-2026 .steps__grid { grid-template-columns: 1fr; }
  .home-2026 .form-grid { grid-template-columns: 1fr; }
  .home-2026 .hero__cta .btn { flex: 1 1 100%; justify-content: center; }

  /* Pages intérieures */
  .home-2026 .chip-grid { grid-template-columns: 1fr; }
  .home-2026 .page-hero__cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* =====================================================================
   ACCESSIBILITÉ — respect du reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .home-2026 *,
  .home-2026 *::before,
  .home-2026 *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .home-2026 .reveal { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   FICHES CEE — base documentaire (Domaine > Catégorie > Opération > Versions)
   ===================================================================== */
.home-2026 .fc-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.home-2026 .fc-search { position: relative; flex: 1 1 320px; }
.home-2026 .fc-search input { width: 100%; padding: 14px 18px 14px 48px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font: inherit; box-shadow: var(--shadow-sm); outline: none; }
.home-2026 .fc-search input:focus { border-color: var(--green-300); box-shadow: 0 0 0 4px var(--green-100); }
.home-2026 .fc-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--green-700); }
.home-2026 .fc-count { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.home-2026 .fc-count b { color: var(--green-800); }

/* ----- Domaine (secteur) ----- */
.home-2026 .domain + .domain { margin-top: 18px; }
.home-2026 .domain { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.home-2026 .domain > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.6vw, 32px); }
.home-2026 .domain > summary::-webkit-details-marker { display: none; }
.home-2026 .domain__ico { flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.home-2026 .domain__ico svg { width: 25px; height: 25px; }
.home-2026 .domain__name { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.home-2026 .domain__n { margin-left: auto; flex: none; font-size: .8rem; font-weight: 700; color: var(--green-800); background: var(--green-100); padding: 5px 13px; border-radius: 100px; }
.home-2026 .domain__chev { flex: none; width: 24px; height: 24px; color: var(--green-700); transition: transform .3s; }
.home-2026 .domain[open] > summary .domain__chev { transform: rotate(180deg); }
.home-2026 .domain__body { padding: 0 clamp(20px, 2.6vw, 32px) clamp(20px, 2.6vw, 30px); }

/* ----- Catégorie ----- */
.home-2026 .cat-group { padding-top: 14px; }
.home-2026 .cat-head { font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.home-2026 .cat-head span { color: var(--green-700); }

/* ----- Cartes opérations ----- */
.home-2026 .fc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; align-items: start; }
.home-2026 .fc-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 14px; transition: border-color .25s ease, background .25s ease; }
.home-2026 .fc-card:hover { border-color: var(--green-300); background: #fff; }
.home-2026 .fc-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.home-2026 .fc-code { font-family: var(--font-display); font-weight: 800; color: var(--green-800); font-size: .9rem; }
.home-2026 .fc-vbadge { margin-left: auto; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #a05a00; background: #fff1e0; padding: 3px 9px; border-radius: 100px; }
.home-2026 .fc-title { font-size: .97rem; line-height: 1.36; font-weight: 600; color: var(--ink); margin: 0 0 12px; }

.home-2026 .fc-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--green-800); font-size: .84rem; text-decoration: none; }
.home-2026 .fc-cta svg { width: 15px; height: 15px; transition: transform .22s ease; }
.home-2026 .fc-cta:hover svg { transform: translateX(3px); }

/* déroulant des versions */
.home-2026 .fc-versions { border-top: 1px dashed var(--line); }
.home-2026 .fc-versions > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 0 2px; font-size: .84rem; font-weight: 700; color: var(--green-800); }
.home-2026 .fc-versions > summary::-webkit-details-marker { display: none; }
.home-2026 .fc-versions > summary .vchev { width: 15px; height: 15px; transition: transform .3s; }
.home-2026 .fc-versions[open] > summary .vchev { transform: rotate(180deg); }
.home-2026 .fc-vlist { list-style: none; margin: 6px 0 2px; padding: 0; }
.home-2026 .fc-vlist li { margin: 0; }
.home-2026 .fc-vlist a { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; padding: 7px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); transition: background .2s; }
.home-2026 .fc-vlist a:hover { background: var(--green-100); }
.home-2026 .fc-vtag { flex: none; font-family: var(--font-display); font-weight: 800; font-size: .74rem; color: var(--green-800); background: #fff; border: 1px solid var(--green-200); padding: 1px 7px; border-radius: 6px; }
.home-2026 .fc-vtag.is-annex { color: #6b30c2; border-color: #d9c7f5; }
.home-2026 .fc-vdate { font-size: .78rem; color: var(--ink-soft); }
.home-2026 .fc-vcur { font-size: .7rem; font-weight: 700; color: #0a7f5d; }

.home-2026 .fc-empty { display: none; padding: 50px; text-align: center; color: var(--ink-soft); }

/* =====================================================================
   Lot 7 — classes issues des styles en ligne des lots 1 à 6
   ---------------------------------------------------------------------
   Une classe par jeu de valeurs, valeurs reprises telles quelles. Chaque
   sélecteur est au moins aussi spécifique que la règle qui fixe déjà la même
   propriété sur l'élément (.cdp-steps, .prose h3, .section-head…), sans
   !important. Le même bloc porte les modificateurs posés quand les grandes
   images ont été retirées (accueil, Devenez partenaire, Qui sommes-nous) et
   la taille du logo ATEE de l'accueil.
   ===================================================================== */
.home-2026 .cdp-steps.forme-max820,
.home-2026 .prose.forme-max820 { max-width: 820px; margin-inline: auto; }
.home-2026 .prose h3.forme-h3compact { font-size: 1.3rem; }
.home-2026 .section-head.forme-gap-section { margin-top: clamp(48px, 7vw, 80px); }
.home-2026 p.forme-art-cta { text-align: center; margin-top: clamp(38px, 5vw, 56px); }
.home-2026 p.forme-part-cta { text-align: center; margin-top: 40px; }
.home-2026 p.forme-part-suite { text-align: center; margin-top: 14px; }
.home-2026 a.forme-lien-identite { color: var(--green-800); font-weight: 700; text-decoration: underline; }
.home-2026 .page-hero__cta.forme-cta-centre { justify-content: center; }

/* Blocs « feature » dont l'image a été retirée : une seule colonne. La classe
   .feature elle-même ne change pas. */
.home-2026 .feature.feature--sans-media { grid-template-columns: 1fr; }

/* Accueil : ligne « Membre de l'ATEE » et son logo, dans la présentation.
   Les règles .atee, .atee__card ne servent plus (section retirée). */
.home-2026 .about__atee { display: flex; align-items: center; gap: 14px; }
.home-2026 .about__atee img { flex: none; width: auto; height: 48px; }

/* =====================================================================
   Lot 9 — FAQ : catégories et recherche (faq.php, body.faq-page)
   ---------------------------------------------------------------------
   Règles nouvelles seulement, toutes sous .faq-page : .faq et .faq-item
   restent communs et ne changent pas.
   ===================================================================== */
/* `hidden` doit l'emporter sur le display:grid de .faq et sur tout autre
   display posé par une classe : c'est lui que pose la recherche. */
.faq-page [hidden] { display: none !important; }

/* Rangée des quatre thèmes, dans le héros sombre : elle passe à la ligne
   plutôt que de déborder sur mobile. */
.faq-page .faq-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.faq-page .faq-cats a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 10px 18px;
  border: 1.5px solid rgba(255, 255, 255, .45);
  border-radius: 100px;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.3;
  transition: border-color .22s ease, background-color .22s ease;
}
.faq-page .faq-cats a:hover { border-color: #fff; background-color: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.faq-page .faq-cats a:focus-visible { outline: 2px solid var(--green-200); outline-offset: 3px; }

/* Champ de recherche : même largeur que la liste des questions. */
.faq-page .faq-search { max-width: 860px; margin: 0 auto clamp(36px, 5vw, 56px); }
.faq-page .faq-search label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.faq-page .faq-search input {
  width: 100%;
  padding: 14px 22px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font: inherit;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.faq-page .faq-search input:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; border-color: var(--green-400); }
.faq-page .faq-search__compte { margin: 10px 0 0; font-size: .9rem; color: var(--ink-soft); }
.faq-page .faq-search__vide {
  margin: 14px 0 0;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
}
.faq-page .faq-search__vide a { color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-page .faq-search__vide a:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }

/* Focus clavier des questions : .faq-item coupe ce qui dépasse
   (overflow: hidden), le contour est donc tracé à l'intérieur. */
.faq-page .faq-item summary:focus-visible { outline: 2px solid var(--green-700); outline-offset: -4px; border-radius: var(--r); }
