/* =========================================================
   CASINCA ENTRETIEN – feuille de style
   ========================================================= */
:root {
  /* Palette paysagisme (cahier des charges). Les teintes "texte" sont un peu
     plus foncées que les teintes de base pour respecter les contrastes AA. */
  --vert-profond: #1F3D2B;   /* titres, sections sombres */
  --vert-nuit: #16301F;      /* footer */
  --vert-feuille: #3F7A1F;   /* vert feuille lisible (texte, boutons) */
  --vert-clair: #6FAE3B;     /* vert feuille d'origine : icônes, décors, texte sur fond sombre */
  --sable: #F4EFE3;          /* fond de page */
  --sable-fonce: #E4DCC8;    /* filets, champs */
  --gris-clair: #FBF8F1;     /* sections alternées (sable très clair) */
  --terre: #B5592C;          /* terre cuite des boutons (texte blanc lisible) */
  --terre-fonce: #964620;
  --terre-vif: #C8693A;      /* terre cuite d'origine : grands aplats, badges */
  --encre: #1B2A20;
  --gris: #4F5B52;
  --blanc: #FFFFFF;

  --font-titre: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-texte: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --radius-lg: 14px;
  --ombre: 0 12px 30px -18px rgba(31, 61, 43, .4);
  --header-h: 68px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--sable);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-titre); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--vert-profond); color: var(--blanc); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--terre); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7em 1.3em;
  font: 700 1rem/1 var(--font-texte);
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: .9em 1.7em; font-size: 1.08rem; }
.btn-clay { background: var(--terre); color: var(--blanc); }
.btn-clay:hover { background: var(--terre-fonce); }
.btn-light { background: var(--blanc); color: var(--vert-profond); }
.btn-light:hover { background: var(--sable); }
.btn-phone { background: var(--vert-feuille); color: var(--blanc); padding-inline: 1em; }
.btn-phone:hover { background: var(--vert-profond); }

.pulse { position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(111, 174, 59, .55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 174, 59, .55); }
  70% { box-shadow: 0 0 0 14px rgba(111, 174, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 174, 59, 0); }
}

/* ---------- Header ---------- */
/* Barre de progression de lecture, tout en haut de l'écran (créée par main.js) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 150; pointer-events: none;
  background: linear-gradient(90deg, var(--vert-feuille), var(--terre-vif));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  box-shadow: 0 1px 6px rgba(200, 105, 58, .35);
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 239, 228, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 6px 20px -14px rgba(31, 61, 43, .5); border-color: var(--sable-fonce); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-text { font-family: var(--font-titre); font-size: 1.45rem; line-height: 1; color: var(--vert-profond); letter-spacing: .02em; }
.brand-text strong { font-weight: 800; }
.brand-text span { font-weight: 600; color: var(--vert-feuille); }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) {
  text-decoration: none; font-weight: 500; color: var(--encre); position: relative; padding: .4em 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--vert-feuille); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }

.phone-label { display: none; }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; border: 0; border-radius: 12px;
  background: var(--vert-profond); cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--blanc); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
@media (max-width: 1199px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--sable); padding: 8px 16px 24px;
    border-bottom: 1px solid var(--sable-fonce);
    box-shadow: 0 20px 30px -20px rgba(31, 61, 43, .4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .main-nav li a:not(.btn) { display: block; padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--sable-fonce); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-devis { width: 100%; margin-top: 16px; }
  .js .main-nav:not(.open) { pointer-events: none; }
}

@media (min-width: 1200px) {
  :root { --header-h: 78px; }
  .burger { display: none; }
  .main-nav { display: flex; align-items: center; gap: 28px; }
  .main-nav ul { display: flex; gap: 22px; }
  .main-nav a, .btn { white-space: nowrap; }
  .brand img { width: 44px; height: 44px; }
}
/* ---------- Hero (photo en fond plein écran, texte par-dessus) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--vert-profond); color: #fff;
  min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding: 56px 0 72px;
}
.hero-grid { display: grid; }
.hero-content { max-width: 640px; }
.hero h1 {
  font-size: clamp(2.6rem, 9vw, 5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1;
  color: #fff; margin-bottom: .35em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.22rem); max-width: 560px; margin: 0 0 28px; color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { flex: 1 1 150px; max-width: 220px; }
.hero-credit {
  display: inline-flex; align-items: baseline; gap: 8px; margin-top: 24px; padding-bottom: 4px;
  color: #fff; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .45);
  transition: border-color .25s;
}
.hero-credit strong { color: #F4B08A; font-weight: 600; white-space: nowrap; }
.hero-credit span { transition: transform .25s var(--ease); }
.hero-credit:hover { border-color: #fff; }
.hero-credit:hover span { transform: translateX(4px); }

.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 32, 21, .35) 0%, rgba(14, 32, 21, .6) 45%, rgba(14, 32, 21, .72) 100%);
}
@media (min-width: 960px) {
  .hero-media::after { background: linear-gradient(90deg, rgba(14, 32, 21, .86) 0%, rgba(14, 32, 21, .62) 50%, rgba(14, 32, 21, .15) 100%); }
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: kenburns 24s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Titre mot par mot */
.split-words .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .word > span { display: inline-block; }
.js .split-words .word > span { transform: translateY(105%); opacity: 0; animation: wordUp .8s var(--ease) forwards; animation-delay: calc(var(--i) * 100ms + 100ms); }
@keyframes wordUp { to { transform: none; opacity: 1; } }
.js .hero-sub, .js .hero-actions, .js .hero-credit, .js .hero-media { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }
.js .hero-media { animation: fadeIn 1s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.js .hero-sub { animation-delay: .6s; }
.js .hero-actions { animation-delay: .75s; }
.js .hero-credit { animation-delay: .9s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Étiquette -50 % posée sur la photo */
.badge-50 {
  position: absolute; right: 40px; bottom: 110px; z-index: 1;
  display: none; align-items: baseline; gap: 8px; padding: 10px 14px; border-radius: 10px;
  background: var(--blanc); color: var(--encre); text-decoration: none; box-shadow: var(--ombre);
  transition: transform .3s var(--ease);
}
@media (min-width: 960px) { .badge-50 { display: flex; } }
.badge-50:hover { transform: translateY(-3px); }
.badge-big { font-weight: 600; font-size: 1.6rem; line-height: 1; color: var(--terre); letter-spacing: -.02em; }
.badge-small { font-size: .85rem; color: var(--gris); }
.hero-rating { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 14px; color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .95rem; }
.hero-rating .stars { color: #F2B632; letter-spacing: 1px; }
.hero-rating strong { color: #fff; }
.hero-rating:hover { color: #fff; }
.js .hero-rating { opacity: 0; animation: fadeUp .8s var(--ease) 1s forwards; }
/* ---------- Points forts ---------- */
.strengths { background: var(--vert-profond); color: var(--blanc); position: relative; z-index: 1; }
.strengths-list {
  list-style: none; margin: 0 auto; padding: 22px 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px;
}
.strengths-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .98rem; line-height: 1.25; }
.strengths-list svg {
  flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px;
  background: rgba(123, 196, 127, .16); fill: none; stroke: var(--vert-clair); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.strengths-list a { color: var(--vert-clair); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 760px) {
  .strengths-list { grid-template-columns: repeat(4, auto); justify-content: space-between; padding: 26px 0; }
  .strengths-list li { font-size: 1.05rem; }
}

/* ---------- Bandeau défilant ---------- */
.ticker { background: var(--vert-feuille); color: var(--blanc); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker-list li {
  font-family: var(--font-titre); font-weight: 600; font-size: 1.15rem; white-space: nowrap;
  display: flex; align-items: center; padding-left: 22px;
}
.ticker-list li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vert-clair); margin-left: 22px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Devis express ---------- */
.express { background: var(--gris-clair); }
.express-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .express-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } .express .section-head { text-align: left; margin: 0; position: sticky; top: calc(var(--header-h) + 24px); } }
.express-alt { margin-top: 18px; font-weight: 600; }
.express-alt a { color: var(--vert-feuille); }
.express-form { background: var(--blanc); border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--ombre); border: 1px solid var(--sable-fonce); }
@media (min-width: 640px) { .express-form { padding: 32px; } }
.express-progress { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: st; }
.express-progress li { counter-increment: st; font-size: .82rem; font-weight: 600; color: var(--gris); padding-top: 10px; border-top: 4px solid var(--sable-fonce); transition: border-color .3s, color .3s; }
.express-progress li::before { content: counter(st) ". "; }
.express-progress li.is-active, .express-progress li.is-done { border-color: var(--vert-clair); color: var(--encre); }
.express-step { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.express-step legend { font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; color: var(--encre); margin-bottom: 14px; padding: 0; }
.js .express-step { display: none; margin: 0; }
.js .express-step.is-active { display: block; animation: fadeUp .45s var(--ease); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--sable-fonce); background: var(--sable); font-weight: 500; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover span { border-color: var(--vert-feuille); }
.chip input:checked + span { background: var(--vert-profond); border-color: var(--vert-profond); color: var(--blanc); }
.chip input:focus-visible + span { outline: 2px solid var(--vert-feuille); outline-offset: 2px; }
.chip:active span { transform: scale(.96); }
.chips-big { display: grid; grid-template-columns: 1fr 1fr; }
.chips-big .chip span { display: block; text-align: center; padding: 18px 10px; border-radius: var(--radius); font-weight: 600; }
.express-back { background: none; border: 0; padding: 8px 0; margin-top: 14px; color: var(--gris); font: inherit; font-weight: 600; cursor: pointer; }
.express-back:hover { color: var(--encre); }
.express-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.express-actions .express-back { margin-top: 0; }
.btn-whatsapp-outline { width: 100%; box-sizing: border-box; background: transparent; color: #12833F; box-shadow: inset 0 0 0 1px #25D366; font-weight: 600; }
.btn-whatsapp-outline:hover { background: #EAF9F0; }
.express-form .field-error { margin: 0; }
.express-form .field-error:empty { display: none; }
.express-note { font-size: .82rem; color: var(--gris); margin: 10px 0 16px; }
.express-note a { color: inherit; }

/* ---------- Bandeau débroussaillement ---------- */
.band-obligation { background: var(--terre); color: var(--blanc); padding: 36px 0; }
.band-inner { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .band-inner { grid-template-columns: auto 1fr auto; gap: 28px; } }
.band-icon { color: #FBD9C4; }
.band-obligation h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; color: var(--blanc); margin: 0 0 6px; }
.band-obligation p { margin: 0; color: #FBE6D8; max-width: 640px; }
.band-obligation .btn-light { color: var(--terre-fonce); }
/* ---------- Bouton WhatsApp flottant ---------- */
.fab-wa {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: var(--blanc); box-shadow: 0 12px 28px -8px rgba(18, 90, 50, .55);
  animation: flotte 3.2s ease-in-out infinite; transition: background .2s;
}
.fab-wa:hover { background: #1EBE5A; }
@keyframes flotte { 50% { transform: translateY(-6px); } }
@media (min-width: 1200px) { .fab-wa { left: auto; right: 24px; bottom: 24px; width: 60px; height: 60px; } }

/* ---------- Calendrier ---------- */
.calendrier { background: var(--gris-clair); }
.cal { max-width: 880px; margin: 0 auto; }
.cal-months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (min-width: 640px) { .cal-months { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 960px) { .cal-months { grid-template-columns: repeat(12, 1fr); } }
.cal-months button { font: inherit; font-weight: 600; font-size: .92rem; padding: 10px 4px; border-radius: 8px; border: 1px solid var(--sable-fonce); background: var(--blanc); color: var(--encre); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cal-months button:hover { border-color: var(--vert-feuille); }
.cal-months button[aria-selected="true"] { background: var(--vert-profond); border-color: var(--vert-profond); color: var(--blanc); }
.cal-months button.is-now::after { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--terre-vif); margin: 3px auto 0; }
.cal-panel { margin-top: 14px; background: var(--blanc); border-radius: var(--radius-lg); border-left: 5px solid var(--vert-clair); padding: 24px 26px; min-height: 130px; }
.cal-title { margin: 0 0 6px; font-size: 1.4rem; font-weight: 600; color: var(--encre); }
.cal-tip { margin: 0; font-size: 1.08rem; color: var(--gris); }
.cal-panel.swap { animation: fadeUp .4s var(--ease); }

.rappel { max-width: 880px; margin: 40px auto 0; padding: 26px; border-radius: var(--radius-lg); background: var(--vert-profond); color: var(--blanc); display: grid; gap: 16px; }
.rappel h3 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 600; color: var(--blanc); }
.rappel p { margin: 0; color: #C9D6C8; }
.rappel-fields { display: grid; gap: 10px; }
@media (min-width: 760px) { .rappel-fields { grid-template-columns: 1fr 1fr auto; } }
.rappel-fields input { font: inherit; padding: 13px 14px; border-radius: 8px; border: 1px solid transparent; background: var(--blanc); color: var(--encre); min-width: 0; }
.rappel-fields input[aria-invalid="true"] { border-color: #F59B8B; box-shadow: 0 0 0 3px rgba(245, 155, 139, .35); }
.rappel .rappel-note { font-size: .82rem; }
.rappel-note a { color: inherit; }
.rappel .form-status { margin: 0; min-height: 0; }
.rappel .form-status.ok { color: #BFE59E; }
.rappel .form-status.err { color: #FFC2B5; }

/* ---------- Professionnels ---------- */
.pros { background: var(--sable); }
.pros-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .pros-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.pros-ref { margin-top: 16px; padding: 12px 16px; border-left: 4px solid var(--terre-vif); background: #fff; border-radius: 8px; }
.pros-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pros-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pros-list li { padding: 14px 20px; border-radius: var(--radius); background: var(--blanc); border: 1px solid var(--sable-fonce); font-weight: 600; font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--gris-clair); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--blanc); border: 1px solid var(--sable-fonce); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font-weight: 600; font-size: 1.08rem; color: var(--encre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sable); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; color: var(--vert-profond); transition: transform .3s var(--ease), background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--vert-clair); color: var(--blanc); }
.faq summary:focus-visible { outline: 2px solid var(--vert-feuille); outline-offset: 2px; border-radius: var(--radius); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--gris); }
.faq details[open] p { animation: fadeUp .35s var(--ease); }

/* ---------- Instagram ---------- */
.insta { background: var(--sable); }
.insta-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 22px; }
.insta-head h2 { margin: 0; font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.insta-handle { color: var(--vert-feuille); font-weight: 600; }
.insta-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.insta-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .insta-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.insta-grid a { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.insta-grid a:hover img { transform: scale(1.05); }
/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Bouton flottant mobile ---------- */
.fab-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--vert-feuille); color: var(--blanc); font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(31, 61, 43, .6);
  transform: translateY(120px); transition: transform .4s var(--ease);
}
.fab-call.show { transform: none; }
.fab-call::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: pulse 2.4s infinite; }
@media (min-width: 1200px) { .fab-call { display: none; } }
@media (min-width: 1380px) { .phone-label { display: inline; } }

/* ---------- Sections : commun ---------- */
.section { position: relative; padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 110px 0; } }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section h2 { font-size: clamp(2.1rem, 6vw, 3.2rem); font-weight: 700; color: var(--vert-profond); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vert-feuille);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lead { font-size: 1.12rem; color: var(--gris); margin: 0; }
.fineprint { font-size: .88rem; color: var(--gris); margin: 28px 0 0; }
.fineprint a { color: var(--vert-profond); font-weight: 700; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Services ---------- */
.services { background: var(--sable); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
  position: relative; overflow: hidden;
  background: var(--blanc); border-radius: var(--radius-lg); padding: 28px 26px 26px;
  border: 1px solid rgba(30, 74, 43, .08);
  box-shadow: 0 2px 0 rgba(30, 74, 43, .04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--vert-feuille), var(--vert-clair));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover, .js .card.reveal.is-visible:hover { transition-delay: 0s; transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(31, 61, 43, .45); border-color: rgba(111, 174, 59, .35); }
.card:hover::after { transform: scaleX(1); }
.card h3 { font-size: 1.55rem; font-weight: 700; color: var(--vert-profond); margin: 18px 0 8px; }
.card p { margin: 0; color: var(--gris); }
.card-icon {
  width: 64px; height: 64px; padding: 10px; border-radius: 18px;
  background: var(--sable); fill: none; stroke: var(--vert-profond); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .35s, stroke .35s, transform .45s var(--ease);
}
.card:hover .card-icon { background: var(--vert-profond); stroke: var(--vert-clair); transform: rotate(-6deg) scale(1.05); }
/* L'icône se dessine au trait quand la carte apparaît */
.js .card.reveal .card-icon * { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.4s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 200ms); }
.js .card.reveal.is-visible .card-icon * { stroke-dashoffset: 0; }
.tag-50 {
  position: absolute; top: 20px; right: 20px;
  padding: 4px 10px; border-radius: 999px; background: var(--terre); color: var(--blanc);
  font-family: var(--font-titre); font-weight: 800; font-size: 1rem; letter-spacing: .02em;
}
.card-feature { background: var(--vert-profond); border-color: transparent; }
.card-feature h3 { color: var(--blanc); }
.card-feature p { color: #CFCFCA; }
.card-feature .card-icon { background: rgba(123, 196, 127, .16); stroke: var(--vert-clair); }
.card-feature:hover .card-icon { background: var(--vert-clair); stroke: var(--vert-profond); }
.card-link { display: inline-flex; gap: 6px; margin-top: 16px; color: var(--vert-clair); font-weight: 700; text-decoration: none; }
.card-link span { transition: transform .3s var(--ease); }
.card-link:hover span { transform: translateX(4px); }
.card:not(.card-feature) .card-link { color: var(--vert-feuille); }
@media (min-width: 1000px) { .card-feature { grid-column: 2 / span 2; } }

/* ---------- Crédit d'impôt ---------- */
.credit { background: var(--vert-profond); color: var(--blanc); overflow: hidden; isolation: isolate; }
.credit h2 { color: var(--blanc); font-size: clamp(2.4rem, 8vw, 4.2rem); line-height: .95; }
.credit .lead { color: #CFCFCA; }
.credit .lead strong { color: var(--blanc); }
.eyebrow-light { color: var(--vert-clair); }
.credit-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .credit-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; } }

.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; color: #CFCFCA; }
.steps strong { color: var(--blanc); }
.step-n {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--vert-clair); color: var(--vert-nuit); font-family: var(--font-titre); font-weight: 800; font-size: 1.2rem;
}

.credit-cards { display: grid; gap: 18px; }
.example, .simulator {
  background: var(--sable); color: var(--encre); border-radius: var(--radius-lg); padding: 26px;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .55);
}
.example-label { margin: 0; font-weight: 700; color: var(--gris); }
.example-amounts { display: flex; align-items: baseline; gap: 18px; margin: 6px 0 16px; }
.price-old {
  position: relative; font-family: var(--font-titre); font-weight: 700; font-size: 2.2rem; color: #8A8A85;
}
.price-old::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; background: var(--terre);
  transform: rotate(-8deg) scaleX(var(--strike, 1)); transform-origin: left; transition: transform .6s var(--ease) .2s;
}
.js .example:not(.is-visible) .price-old::after { --strike: 0; }
.price-new { font-family: var(--font-titre); font-weight: 800; font-size: clamp(4rem, 16vw, 5.6rem); line-height: .9; color: var(--terre); }
.bar { display: flex; height: 46px; border-radius: 12px; overflow: hidden; background: var(--sable-fonce); font-size: .82rem; font-weight: 700; }
.bar > div { display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap; transition: flex-basis 1.6s var(--ease); }
.bar-you { flex: 0 0 50%; background: var(--terre); color: var(--blanc); }
.bar-state { flex: 1 1 auto; background: var(--vert-clair); color: var(--vert-nuit); }
.js .example:not(.is-visible) .bar-you { flex-basis: 100%; }

.sim-label { display: block; font-family: var(--font-titre); font-weight: 700; font-size: 1.7rem; color: var(--vert-profond); margin-bottom: 12px; }
.sim-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 0; padding: 4px; margin: 0 0 12px; background: var(--sable-fonce); border-radius: 10px; }
.sim-mode label { position: relative; text-align: center; padding: 9px 6px; border-radius: 8px; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--gris); transition: background .2s, color .2s; }
.sim-mode input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sim-mode label:has(input:checked) { background: var(--blanc); color: var(--encre); box-shadow: 0 2px 6px -3px rgba(31,61,43,.4); }
.sim-mode label:has(input:focus-visible) { outline: 2px solid var(--vert-feuille); outline-offset: 2px; }
.sim-input { position: relative; }
.sim-input input {
  width: 100%; height: 60px; padding: 0 48px 0 18px;
  font: 700 1.6rem var(--font-texte); color: var(--encre);
  background: var(--blanc); border: 2px solid var(--sable-fonce); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.sim-input input:focus { outline: none; border-color: var(--vert-feuille); box-shadow: 0 0 0 4px rgba(111, 174, 59, .2); }
.sim-input span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 1.4rem; color: var(--gris); }
.sim-help { margin: 6px 0 16px; font-size: .88rem; color: var(--gris); }
.sim-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim-result { background: var(--blanc); border-radius: 14px; padding: 12px 14px; }
.sim-result span { display: block; font-size: .82rem; color: var(--gris); font-weight: 500; }
.sim-result strong { font-family: var(--font-titre); font-size: 2rem; color: var(--vert-profond); line-height: 1.1; }
.sim-pay { background: var(--terre); }
.sim-pay span { color: #F7E3D6; }
.sim-pay strong { color: var(--blanc); }
.sim-cta { width: 100%; margin-top: 16px; }
.sim-results strong.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.08); } }
.sim-result strong { display: inline-block; }

.legal-note {
  grid-column: 1 / -1; margin: 0; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .85rem; color: #B5B5AF; max-width: 900px;
}

/* ---------- Boutons supplémentaires ---------- */
.btn-outline { background: transparent; color: var(--vert-profond); box-shadow: inset 0 0 0 2px var(--vert-profond); }
.btn-outline:hover { background: var(--vert-profond); color: var(--blanc); }
.btn-green { background: var(--vert-profond); color: var(--blanc); }
.btn-green:hover { background: var(--vert-nuit); }

/* ---------- Réalisations ---------- */
.realisations { background: var(--blanc); }
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense;
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; } }
.gallery li { min-width: 0; }
.gallery-sub { margin: 40px 0 16px; text-align: center; font-size: clamp(1.3rem, 3vw, 1.6rem); }
.gallery-ba { grid-auto-rows: 240px; }
@media (min-width: 760px) { .gallery-ba { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 300px; } }
.gallery li:has(.g-wide) { grid-column: span 2; }
.gallery li:has(.g-tall) { grid-row: span 2; }
.g-item {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; background: var(--vert-profond);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31, 61, 43, .55)) , url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 44px no-repeat;
  opacity: 0; transition: opacity .35s;
}
.g-label { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(22, 48, 31, .85); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.g-label-apres { background: var(--terre); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
/* Apparition : les vignettes « montent » avec un léger zoom */
.gallery li.reveal { opacity: 1; transform: none; }
.js .gallery li.reveal > .g-item { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .gallery li.reveal.is-visible > .g-item { opacity: 1; transform: none; }
.gallery-more { margin: 32px 0 0; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 24, 14, .94); color: var(--blanc);
}
.lightbox[open] { display: grid; place-items: center; animation: lbIn .3s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; }
.lightbox img { width: min(1100px, 92vw); height: auto; max-height: 80vh; object-fit: contain; margin: 0 auto; border-radius: 10px; animation: lbImg .4s var(--ease); }
@keyframes lbImg { from { opacity: 0; transform: scale(.96); } }
.lightbox figcaption { margin-top: 12px; font-size: .95rem; color: #CFCFCA; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .14); color: var(--blanc); font-size: 1.9rem; line-height: 1; cursor: pointer;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 16px; right: 16px; font-size: 1.3rem; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Pourquoi nous ---------- */
.why { background: var(--sable); overflow: hidden; }
.why-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .why-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; } }
.why-head .lead { margin-bottom: 26px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-list li {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius-lg);
  background: var(--blanc); border: 1px solid rgba(30, 74, 43, .08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.why-list li:hover, .js .why-list li.reveal.is-visible:hover { transition-delay: 0s; transform: translateY(-4px); box-shadow: 0 18px 34px -22px rgba(31, 61, 43, .45); }
.why-list svg {
  flex: none; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--vert-profond);
  fill: none; stroke: var(--vert-clair); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.why-list h3 { font-size: 1.45rem; color: var(--vert-profond); margin: 2px 0 4px; }
.why-list p { margin: 0; color: var(--gris); font-size: 1rem; }
/* Version compacte, dans la section Devis express */
.why-compact { margin: 22px 0 0; gap: 10px; text-align: left; }
@media (min-width: 640px) and (max-width: 959px) { .why-compact { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .why-compact { grid-template-columns: 1fr; } }
.why-compact li { padding: 14px 16px; gap: 14px; align-items: center; }
.why-compact svg { width: 36px; height: 36px; }
.why-compact h3 { font-size: 1.05rem; margin: 0 0 2px; }
.why-compact p { font-size: .92rem; }
@media (max-width: 639px) {
  .why-compact { grid-template-columns: 1fr 1fr; gap: 8px; }
  .why-compact li { padding: 10px 12px; gap: 10px; }
  .why-compact svg { width: 28px; height: 28px; }
  .why-compact h3 { font-size: .95rem; margin: 0; }
  .why-compact p { display: none; }
}

/* ---------- Avis ---------- */
.reviews { background: var(--blanc); }
.rating { margin: 8px 0 0; font-size: 1.1rem; color: var(--gris); }
.rating strong { color: var(--vert-profond); }
.stars { color: #E0A526; letter-spacing: .12em; }
.carousel { max-width: 920px; margin: 0 auto; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 6px 2px 10px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: center; margin: 0; position: relative;
  background: var(--sable); border-radius: var(--radius-lg); padding: 34px 28px 28px;
}
.review::before {
  content: "“"; position: absolute; right: 22px; top: -6px;
  font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--vert-feuille); opacity: .25;
}
.review .stars { font-size: 1.2rem; }
.review blockquote { margin: 12px 0 18px; }
.review blockquote p { margin: 0; font-size: clamp(1.15rem, 3.4vw, 1.4rem); line-height: 1.45; color: var(--encre); }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--vert-profond); }
.avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--vert-profond); color: var(--blanc); font-family: var(--font-titre); font-size: 1.3rem;
}
@media (min-width: 860px) {
  .carousel-track { grid-auto-columns: calc(50% - 10px); }
}
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.car-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--sable); color: var(--vert-profond); font-size: 1.7rem; line-height: 1;
  transition: background-color .2s, color .2s;
}
.car-btn:hover { background: var(--vert-profond); color: var(--blanc); }
.car-btn:disabled { opacity: .4; cursor: default; background: var(--sable); color: var(--vert-profond); }
.car-dots { display: flex; gap: 4px; }
.car-dots button { width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.car-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--sable-fonce); transition: width .3s var(--ease), background-color .3s; }
.car-dots button[aria-current="true"]::before { width: 24px; background: var(--vert-feuille); }
.carousel.all-visible .carousel-nav { display: none; }
.reviews-cta { margin: 34px 0 0; }

/* ---------- Zone d'intervention ---------- */
.zone { background: var(--sable); }
.zone-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .zone-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.towns { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li {
  padding: .45em .95em; border-radius: 999px; background: var(--blanc); border: 1px solid rgba(30, 74, 43, .12);
  font-weight: 500; font-size: .95rem; color: var(--vert-profond);
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.towns li:hover { background: var(--vert-profond); color: var(--blanc); transform: translateY(-2px); }
.towns .town-more { background: transparent; border-style: dashed; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; background: var(--vert-profond); box-shadow: var(--ombre); position: relative; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
@media (min-width: 960px) { .map, .map iframe { min-height: 440px; } }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 28px; text-align: center; color: var(--blanc);
  background:
    radial-gradient(circle at 30% 40%, rgba(123, 196, 127, .25), transparent 40%),
    repeating-linear-gradient(35deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 26px),
    var(--vert-profond);
}
.map-placeholder svg { color: var(--vert-clair); animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.map-placeholder p { margin: 0; color: #CFCFCA; }
.map-placeholder strong { color: var(--blanc); font-size: 1.15rem; }
.map-placeholder .btn-green { background: var(--vert-feuille); }
.map-placeholder .btn-green:hover { background: var(--vert-profond); }
.map-note { font-size: .8rem; }

/* ---------- Contact ---------- */
.contact { background: var(--vert-profond); color: var(--blanc); overflow: hidden; }
.contact h2 { color: var(--blanc); }
.contact .lead { color: #CFCFCA; }
.contact-grid { display: grid; gap: 40px; position: relative; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.contact-direct { display: grid; gap: 12px; margin-top: 26px; }
.contact-big {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  text-decoration: none; color: var(--blanc); font-weight: 700; font-size: 1.15rem; word-break: break-word;
  transition: background-color .25s, transform .25s var(--ease);
}
.contact-big:hover { background: rgba(255, 255, 255, .16); transform: translateX(4px); }
.contact-big svg { flex: none; color: var(--vert-clair); }
.contact-big small { display: block; font-size: .8rem; font-weight: 500; color: #B5B5AF; }
.contact-badge { display: flex; gap: 12px; align-items: center; margin: 22px 0 0; color: #CFCFCA; font-size: .95rem; }
.contact-badge span {
  flex: none; padding: 6px 10px; border-radius: 10px; background: var(--terre); color: var(--blanc);
  font-family: var(--font-titre); font-weight: 800; font-size: 1.2rem;
}

.quote-form {
  background: var(--sable); color: var(--encre); border-radius: var(--radius-lg); padding: 26px 20px;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .55);
}
@media (min-width: 640px) { .quote-form { padding: 34px 32px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 700; font-size: .95rem; color: var(--vert-profond); }
.field label span { color: var(--terre); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem var(--font-texte); color: var(--encre);
  background: var(--blanc); border: 2px solid var(--sable-fonce); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--vert-feuille); box-shadow: 0 0 0 4px rgba(111, 174, 59, .2); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { font-size: .85rem; color: #B3261E; font-weight: 500; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--gris); }
.field-check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--vert-feuille); }
.field-check a { color: var(--vert-profond); font-weight: 700; }
.field-check.invalid label { color: #B3261E; }
.form-req { font-size: .8rem; color: var(--gris); margin: 10px 0 14px; }
.form-req span { color: var(--terre); }
.form-submit { width: 100%; }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.form-status { margin: 12px 0 0; font-weight: 700; min-height: 1.4em; }
.form-status.ok { color: var(--vert-profond); }
.form-status.err { color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--vert-nuit); color: #B5B5AF; padding: 64px 0 96px; font-size: .95rem; }
@media (min-width: 1200px) { .site-footer { padding-bottom: 28px; } }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.brand-light .brand-text { color: var(--blanc); }
.brand-light .brand-text span { color: var(--vert-clair); }
.footer-brand p { max-width: 340px; margin: 16px 0 18px; }
.footer-title { font-size: 1.3rem; color: var(--blanc); margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a, .footer-bottom a { color: #E8E8E3; text-decoration: none; word-break: break-word; }
.footer-list a:hover, .footer-bottom a:hover { color: var(--vert-clair); text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--blanc); transition: background-color .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--vert-feuille); transform: translateY(-3px); }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; display: grid; gap: 6px; }
.footer-bottom p { margin: 0; }
@media (min-width: 960px) { .footer-bottom { grid-template-columns: 1fr auto; } }

/* ---------- Pages légales ---------- */
.legal-page { padding: 56px 0 80px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); color: var(--vert-profond); }
.legal-page h2 { font-size: 1.7rem; color: var(--vert-profond); margin-top: 1.6em; }
.legal-page p, .legal-page li { color: var(--encre); }
.legal-page a { color: var(--vert-profond); font-weight: 700; }
.todo { background: #FFE9A8; padding: 0 .3em; border-radius: 4px; }
.back-link { display: inline-flex; margin-bottom: 26px; }

/* Section provisoire */
.placeholder-section { padding: 80px 0; text-align: center; color: var(--gris); }

/* =========================================================
   Style « Moderne épuré »
   ========================================================= */
h1, h2, h3 { letter-spacing: -.02em; }
.section h2 { font-weight: 600; font-size: clamp(2rem, 5.5vw, 3rem); color: var(--encre); letter-spacing: -.03em; line-height: 1.05; }
.lead { color: var(--gris); }
.btn { border-radius: 8px; font-weight: 600; }
.btn:hover { box-shadow: none; }
.btn-dark { background: var(--vert-profond); color: var(--blanc); }
.btn-dark:hover { background: var(--vert-nuit); }
.brand-text { font-size: 1.25rem; letter-spacing: -.01em; }
.brand-text strong { font-weight: 700; color: #0F3D1E; }   /* vert foncé du logo */
.brand-text span { font-weight: 500; color: var(--vert-feuille); }
.brand img { width: 48px; height: 48px; }
/* Sur fond noir (footer), l'emblème est posé sur une pastille blanche */
.brand-light img { background: var(--blanc); border-radius: 50%; padding: 3px; }
.brand-light .brand-text strong { color: var(--blanc); }
.site-header { background: rgba(244, 239, 227, .92); }
.site-header.scrolled { box-shadow: none; }
.main-nav a:not(.btn)::after { background: var(--encre); height: 1px; }
.pulse::after, .fab-call::after { animation-duration: 3s; } .fab-wa { animation: none; }

/* Points forts : bande claire avec filets */
.strengths { background: var(--gris-clair); color: var(--encre); border-top: 1px solid var(--sable-fonce); border-bottom: 1px solid var(--sable-fonce); }
.strengths-list li { font-weight: 500; }
.strengths-list svg { background: transparent; stroke: var(--vert-feuille); padding: 6px; width: 34px; height: 34px; }
.strengths-list a { color: var(--vert-feuille); }

/* Bandeau défilant discret */
.ticker { background: var(--vert-profond); color: var(--blanc); padding: 15px 0; }

/* Sections */
.services { background: var(--sable); }
.realisations, .reviews { background: var(--gris-clair); }
.why, .zone { background: var(--sable); }
.card, .why-list li { border: 1px solid var(--sable-fonce); box-shadow: none; border-radius: var(--radius-lg); }
.card:hover, .js .card.reveal.is-visible:hover, .why-list li:hover, .js .why-list li.reveal.is-visible:hover { box-shadow: none; border-color: var(--encre); transform: translateY(-3px); }
.card::after { display: none; }
.card h3 { font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }
.card-icon { background: transparent; padding: 0; width: 44px; height: 44px; stroke: var(--vert-feuille); stroke-width: 1.6; border-radius: 0; }
.card:hover .card-icon { background: transparent; stroke: var(--encre); transform: none; }
.card-feature .card-icon, .card-feature:hover .card-icon { background: transparent; stroke: var(--vert-clair); }
.tag-50 { border-radius: 6px; font-family: var(--font-texte); font-weight: 600; font-size: .85rem; padding: 3px 8px; }
.why-list svg { background: transparent; stroke: var(--vert-feuille); padding: 0; width: 32px; height: 32px; border-radius: 0; }
.why-list h3 { font-weight: 600; font-size: 1.2rem; }

/* Crédit d'impôt : la seule grande section noire */
.credit { background: var(--vert-profond); }
.credit h2 { font-weight: 600; letter-spacing: -.035em; }
.step-n { background: transparent; color: var(--vert-clair); border: 1px solid rgba(255, 255, 255, .25); font-family: var(--font-texte); font-weight: 600; font-size: 1rem; }
.example, .simulator { box-shadow: none; background: var(--blanc); }
.price-new { font-weight: 600; letter-spacing: -.04em; color: var(--terre); }
.price-old { font-weight: 500; }
.bar { border-radius: 8px; }
.bar-you { background: var(--terre-vif); }
.bar-state { background: #DCEBCB; color: var(--vert-profond); }
.sim-label { font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.sim-result { background: var(--sable); }
.sim-result strong { font-weight: 600; font-size: 1.7rem; color: var(--encre); }
.sim-pay { background: var(--terre); }
.sim-input input, .field input, .field select, .field textarea { border-width: 1px; border-radius: 8px; }

/* Galerie, avis */
.g-item { border-radius: var(--radius); }
.review { background: var(--sable); border: 1px solid var(--sable-fonce); }
.review::before { display: none; }
.avatar { background: var(--gris-clair); color: var(--encre); font-family: var(--font-texte); font-weight: 600; font-size: 1rem; }
.stars { color: var(--vert-feuille); }
.star-off { color: var(--sable-fonce); }
.review-tags { margin: 10px 0 18px; font-size: .95rem; color: var(--gris); }
.review { display: flex; flex-direction: column; }
.review figcaption { margin-top: auto; }

/* Zone */
.towns li { border-radius: 8px; }
.map-placeholder { background: var(--vert-profond); }

/* Contact : fond clair, formulaire blanc */
.contact { background: var(--gris-clair); color: var(--encre); border-top: 1px solid var(--sable-fonce); }
.contact h2 { color: var(--encre); }
.credit h2 { color: var(--blanc); }
.contact .lead { color: var(--gris); }
.contact-big { background: var(--sable); border-color: var(--sable-fonce); color: var(--encre); border-radius: var(--radius); }
.contact-big:hover { background: var(--sable-fonce); }
.contact-big svg { color: var(--vert-feuille); }
.contact-big small { color: var(--gris); }
.contact-badge { color: var(--gris); }
.contact-badge span { font-family: var(--font-texte); font-weight: 600; font-size: 1rem; border-radius: 6px; }
.quote-form { background: var(--sable); border: 1px solid var(--sable-fonce); box-shadow: none; }
.field label { color: var(--encre); font-weight: 600; }

/* Footer */
.site-footer { background: var(--vert-nuit); }
.footer-title { font-weight: 600; font-size: 1rem; letter-spacing: 0; }
.socials a { border-radius: 8px; }
.legal-page h1, .legal-page h2 { font-weight: 600; color: var(--encre); }
/* ---------- Mouvement réduit ---------- */
/* Alternance des fonds (clair / sable) dans l'ordre de la page */
.section.realisations, .section.calendrier, .section.pros, .section.contact { background: var(--sable); }
.section.zone { background: var(--gris-clair); }
.section.insta { background: var(--blanc); }
/* ---------- Pages secondaires ---------- */
.page { background: var(--gris-clair); padding-bottom: 72px; }
.breadcrumb { padding-top: 18px; font-size: .9rem; color: var(--gris); }
.breadcrumb a { color: var(--gris); }
.page-hero { padding: 28px 0 44px; }
.page-hero h1 { font-size: clamp(2.3rem, 7vw, 3.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; color: var(--encre); margin: 0 0 16px; max-width: 900px; }
.page-hero .lead { max-width: 720px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.prose { max-width: 800px; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 600; letter-spacing: -.02em; color: var(--vert-profond); margin: 44px 0 12px; }
.prose p, .prose li { color: #34413A; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--vert-feuille); }
.prose a { color: var(--vert-feuille); font-weight: 600; }
.callout { background: var(--blanc); border-left: 4px solid var(--vert-clair); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; font-size: .98rem; }
.todo-block { margin: 12px 0; }
.page-cta { margin: 52px 0 8px; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--vert-profond); }
.prose .page-cta h2 { margin-top: 0; color: var(--blanc); }
.prose .page-cta p { color: #C9D6C8; }
.prose .page-cta a:not(.btn) { color: var(--blanc); }
.prose .page-cta .btn-light { color: var(--vert-profond); }
.page-cta-note { margin: 16px 0 0; font-size: .95rem; }
.sources { font-size: .95rem; }
.sources-date, .related { font-size: .92rem; color: var(--gris); }
.related { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--sable-fonce); }
/* Liens de services sur les pages communes */
.prose .svc-links { list-style: none; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .prose .svc-links { grid-template-columns: 1fr 1fr; } }
.svc-links li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--blanc); border: 1px solid var(--sable-fonce); border-radius: var(--radius); padding: 12px 16px; }
.tag-mini { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--terre); color: var(--blanc); font-size: .8rem; font-weight: 700; }
.callout small { display: block; margin-top: 8px; color: var(--gris); }
/* Communes cliquables (accueil) */
.towns a { color: inherit; text-decoration: none; }
.towns li:has(a) { padding: 0; }
.towns li a { display: block; padding: .45em .95em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-media img { transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-list[aria-hidden="true"] { display: none; } .ticker-list { flex-wrap: wrap; justify-content: center; } .ticker-list li:nth-child(n+6) { display: none; }
}
