/* ==========================================================================
   ADP · Plomberie & Climatisation — thème « Nuit tricolore »
   Fond noir demandé par le client, accents vert / jaune / rouge.
   Signature : liseré tricolore en haut de page, cartes à bord coloré
   (plomberie = vert, dépannage = rouge, climatisation = jaune).
   ========================================================================== */

/* --------------------------------------------------------------------------
   POLICE AUTO-HÉBERGÉE (sous-ensemble latin, zéro requête tierce)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Fond noir, accents vert / jaune / rouge */
  --bg:         #0C0E0C;
  --bg-2:       #121512;   /* sections alternées */
  --card:       #181C18;
  --line:       #2A302A;

  --text:       #F0F4EF;
  --text-soft:  #A2AEA2;

  --green:      #3DDC68;   /* accent texte / CTA */
  --green-mid:  #22B14C;
  --green-glow: rgba(61, 220, 104, .14);
  --green-dim:  #16311E;

  --sun:        #FACC15;
  --sun-dim:    #3A3110;

  --red:        #F0564F;
  --red-dim:    #3B1715;

  --ok:         #3DDC68;
  --ko:         #F0564F;

  /* Typo */
  --fs-h1:   clamp(1.9rem, 3.6vw, 2.9rem);
  --fs-h2:   clamp(1.45rem, 2.4vw, 1.9rem);
  --fs-h3:   1.14rem;
  --fs-body: clamp(.95rem, 1vw, 1rem);

  --radius:  12px;
  --tri:     linear-gradient(90deg, var(--green) 0 33.3%, var(--sun) 33.3% 66.6%, var(--red) 66.6% 100%);
}

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

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background:
    linear-gradient(162deg, #101E12 0%, #0C0E0C 34%, #15140B 68%, #170F10 100%);
  -webkit-font-smoothing: antialiased;
}

/* Liseré tricolore, signature du site */
body::before {
  content: ''; position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 4px; background: var(--tri);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--text);
}

::selection { background: rgba(61, 220, 104, .35); }
::placeholder { color: var(--text-soft); opacity: .5; }

.wrap { width: min(1140px, 100% - 2.4rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 400;
  background: var(--green); color: #08130B; padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: .95rem;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.btn--plain {
  background: var(--green); color: #08130B;
  box-shadow: 0 0 24px var(--green-glow);
}
.btn--plain:hover { background: #58E37D; box-shadow: 0 0 34px rgba(61, 220, 104, .28); }

.btn--line { border: 1.5px solid var(--line); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--green); color: var(--green); }

.btn--night { background: var(--text); color: #0C0E0C; }
.btn--night:hover { background: #FFF; }

.btn--ghost-night { border: 1.5px solid var(--line); color: var(--text); }
.btn--ghost-night:hover { border-color: var(--sun); color: var(--sun); }

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 12, 10, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  display: flex; align-items: center; gap: 2rem;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #FFF;              /* le logo est peint sur fond blanc */
  box-shadow: 0 0 0 2px var(--line);
}
.brand__name { font-weight: 800; font-size: 1.32rem; line-height: 1; letter-spacing: .01em; color: var(--text); }
.brand__job {
  display: block;
  font-size: .64rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sun);
  margin-top: .26rem;
}

.nav-main { display: flex; gap: 1.7rem; }
.nav-main a {
  position: relative;
  font-weight: 600; font-size: .95rem; color: var(--text-soft);
  padding: .3rem 0;
}
.nav-main a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 3px; border-radius: 2px;
  background: var(--tri);
  transition: right .22s ease;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--text); }
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { right: 0; }

.header__tel {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--green); color: #08130B;
  font-weight: 750; font-size: .88rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.header__tel:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(61, 220, 104, .25); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 9px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.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); }

/* Volet mobile sous le header */
.nav-sheet {
  position: fixed; z-index: 99;
  top: 74px; left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: .8rem 1.2rem 1.4rem;
  display: grid; gap: .2rem;
  transform: translateY(-110%);
  transition: transform .24s ease;
  box-shadow: 0 24px 40px rgba(0, 0, 0, .5);
}
.nav-sheet.open { transform: translateY(0); }
.nav-sheet a {
  padding: .85rem .3rem;
  font-weight: 600; font-size: 1.06rem;
  border-bottom: 1px solid var(--line);
}
.nav-sheet a[aria-current="page"] { color: var(--green); }
.nav-sheet .nav-sheet__tel {
  margin-top: .7rem;
  text-align: center;
  background: var(--green); color: #08130B;
  border-radius: 9px; padding: .95rem;
  font-weight: 800; border-bottom: none;
}

/* --------------------------------------------------------------------------
   HERO — repris du site TFS, aux couleurs ADP (halos animés, titre en
   dégradé tricolore, stats, widget Plomberie / Clim)
   -------------------------------------------------------------------------- */
:root { --fs-hero: clamp(2.3rem, 5.4vw, 4rem); }

.hero {
  position: relative;
  min-height: 88svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

/* Halos animés vert / rouge / jaune (parallaxe légère au survol via JS) */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  transition: background 1s ease, opacity 1s ease;
  will-change: transform;
}
.hero__blob--1 {
  width: 560px; height: 560px;
  top: -160px; right: -100px;
  background: var(--green);
  opacity: .2;
  animation: blob-drift 14s ease-in-out infinite alternate;
}
.hero__blob--2 {
  width: 460px; height: 460px;
  bottom: -180px; left: -120px;
  background: var(--red);
  opacity: .12;
  animation: blob-drift 18s ease-in-out infinite alternate-reverse;
}
.hero__blob--3 {
  width: 300px; height: 300px;
  top: 40%; left: 42%;
  background: var(--sun);
  opacity: .1;
  animation: blob-drift 22s ease-in-out infinite alternate;
}
@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(50px, 36px) scale(1.12); }
}

/* Mode « clim » du widget : les halos basculent vers le jaune */
.hero.is-clim .hero__blob--1 { background: var(--sun); opacity: .16; }
.hero.is-clim .hero__blob--3 { background: var(--green); opacity: .14; }

/* Grain léger pour la matière */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 26px 26px;
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(61, 220, 104, .5);
  animation: dot-pulse 2.2s ease-out infinite;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(61, 220, 104, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(61, 220, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 104, 0); }
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  color: #FFF;
  margin: 0 0 22px;
  line-height: 1.06;
}
.grad-text {
  background: linear-gradient(100deg, var(--green) 0%, var(--sun) 52%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__desc {
  max-width: 540px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, .72);
  margin: 0 0 12px;
}
.hero__direct {
  font-weight: 750;
  font-size: 1.02rem;
  color: var(--sun);
  margin: 0 0 34px;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.btn--primary {
  background: linear-gradient(135deg, #3DDC68, #1B8A40);
  color: #04120A;
  box-shadow: 0 10px 26px rgba(61, 220, 104, .3);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(61, 220, 104, .4);
}
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #FFF;
}
.btn--ghost:hover {
  border-color: #FFF;
  background: rgba(255, 255, 255, .14);
  transform: translateY(-3px);
}

.hero__stats {
  display: flex; align-items: center;
  gap: clamp(20px, 3.5vw, 44px);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat strong {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: #FFF;
}
.stat span { font-size: .8rem; color: rgba(255, 255, 255, .5); }
.stat-sep { width: 1px; height: 40px; background: rgba(255, 255, 255, .14); flex-shrink: 0; }

/* ---------- Widget Plomberie / Clim (repris du widget été-hiver TFS) ---------- */
.climate {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
.climate__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 18px;
}
.climate__toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 6px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
}
.climate__mode {
  padding: 11px 10px;
  border-radius: 999px;
  font-weight: 700; font-size: .88rem;
  color: rgba(255, 255, 255, .55);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.climate__mode.active--plomb {
  background: linear-gradient(135deg, #3DDC68, #1B8A40);
  color: #04120A;
  box-shadow: 0 6px 18px rgba(61, 220, 104, .4);
}
.climate__mode.active--clim {
  background: linear-gradient(135deg, #FACC15, #D9A80C);
  color: #221A02;
  box-shadow: 0 6px 18px rgba(250, 204, 21, .35);
}

.climate__temp {
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(3.4rem, 6vw, 4.8rem);
  line-height: 1;
  filter: drop-shadow(0 0 30px rgba(61, 220, 104, .4));
  transition: filter .5s ease;
}
.climate.mode-clim .climate__temp { filter: drop-shadow(0 0 30px rgba(250, 204, 21, .45)); }

.climate__desc {
  margin-top: 18px;
  text-align: center;
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
  min-height: 2.6em;
}

/* Souffle animé */
.climate__flow { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.climate__flow span {
  width: 34px; height: 3px; border-radius: 2px;
  background: var(--green);
  opacity: .5;
  animation: flow 1.6s ease-in-out infinite;
  transition: background .5s ease;
}
.climate__flow span:nth-child(2) { animation-delay: .2s; }
.climate__flow span:nth-child(3) { animation-delay: .4s; }
.climate.mode-clim .climate__flow span { background: var(--sun); }
@keyframes flow {
  0%, 100% { transform: translateY(0);   opacity: .35; }
  50%      { transform: translateY(7px); opacity: .8; }
}

/* --------------------------------------------------------------------------
   SECTIONS
   -------------------------------------------------------------------------- */
.sec { padding: clamp(2.8rem, 5.5vw, 4.5rem) 0; }
.sec--tint { background: rgba(255, 255, 255, .028); border-block: 1px solid var(--line); }

.sec-head { max-width: 44rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.sec-head--mid { margin-inline: auto; text-align: center; }
.sec-kicker {
  font-size: .78rem; font-weight: 750; letter-spacing: .15em;
  text-transform: uppercase; color: var(--sun);
  margin-bottom: .55rem;
}
.sec-head h2 { font-size: var(--fs-h2); margin-bottom: .6rem; }
.sec-head p { color: var(--text-soft); }

/* --------------------------------------------------------------------------
   SERVICES — cartes sombres à bord coloré
   vert = plomberie · rouge = dépannage · jaune = climatisation
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.svc {
  --accent: var(--green);
  --accent-dim: var(--green-dim);
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }

.svc--urgent { --accent: var(--red);  --accent-dim: var(--red-dim); }
.svc--sun    { --accent: var(--sun);  --accent-dim: var(--sun-dim); }

.svc__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 11px;
  background: var(--accent-dim); color: var(--accent);
  margin-bottom: 1rem;
}

.svc h3, .svc h2 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.svc > p { color: var(--text-soft); font-size: .93rem; margin-bottom: 1rem; }

.svc ul { display: grid; gap: .45rem; margin-bottom: 1.2rem; }
.svc ul li {
  position: relative; padding-left: 1.35rem;
  font-size: .9rem; color: var(--text-soft);
}
.svc ul li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800; font-size: .85rem;
}

.svc__more {
  margin-top: auto;
  font-weight: 700; font-size: .92rem; color: var(--accent);
}
.svc__more:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   POURQUOI ADP — 4 arguments, icônes tricolores
   -------------------------------------------------------------------------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }

.why__item h3 { font-size: 1rem; margin: .75rem 0 .3rem; }
.why__item p { color: var(--text-soft); font-size: .89rem; }
.why__item svg {
  display: block;
  width: 42px; height: 42px; padding: 10px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
}
.why__item:nth-child(4n+1) svg { color: var(--green); }
.why__item:nth-child(4n+2) svg { color: var(--sun); }
.why__item:nth-child(4n+3) svg { color: var(--red); }
.why__item:nth-child(4n+4) svg { color: var(--green); }

/* --------------------------------------------------------------------------
   ZONE D'INTERVENTION
   -------------------------------------------------------------------------- */
.zone { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }

.zone__home {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .92rem; color: var(--green);
  background: var(--green-dim);
  border-radius: 999px; padding: .45rem 1rem;
  margin-top: .9rem;
}
.zone__home::before { content: '📍'; }

.towns { display: flex; flex-wrap: wrap; gap: .5rem; }
.towns li {
  font-weight: 550; font-size: .9rem; color: var(--text);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 9px; padding: .45rem .95rem;
}
.towns li.is-base { background: var(--green); border-color: var(--green); color: #08130B; font-weight: 750; }
.towns__more { color: var(--text-soft); font-size: .88rem; margin-top: .8rem; }

/* --------------------------------------------------------------------------
   PARTENAIRE (recommandation TFS)
   -------------------------------------------------------------------------- */
.buddy {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.4rem; align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sun);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.buddy img { width: 56px; height: 56px; border-radius: 11px; }
.buddy strong { display: block; font-size: 1rem; margin-bottom: .15rem; color: var(--text); }
.buddy p { color: var(--text-soft); font-size: .92rem; }
.buddy__links { display: grid; gap: .4rem; justify-items: start; }
.buddy__links a { font-weight: 700; font-size: .95rem; color: var(--sun); }
.buddy__links a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   FAQ — <details> natifs
   -------------------------------------------------------------------------- */
.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: .7rem; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .95rem 1.2rem;
}
.faq details[open] { border-color: var(--green); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 650; font-size: .98rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.35rem; line-height: 1; color: var(--sun);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { color: var(--text-soft); padding-top: .7rem; font-size: .94rem; }
.faq details a { color: var(--green); font-weight: 650; text-decoration: underline; }

/* --------------------------------------------------------------------------
   BANDE D'APPEL — verte, pleine énergie
   -------------------------------------------------------------------------- */
.banner {
  position: relative; overflow: clip;
  background: linear-gradient(120deg, #1B8A40, #22B14C 55%, #2FCB5B);
  color: #06130A;
  border-radius: 16px;
  padding: clamp(1.7rem, 4vw, 2.7rem) clamp(1.4rem, 3.5vw, 2.6rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
}
.banner strong { display: block; font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 800; margin-bottom: .3rem; color: #06130A; }
.banner p { color: rgba(6, 19, 10, .75); font-size: .96rem; font-weight: 550; }
.banner > div:first-child { flex: 1 1 300px; }
.banner__go { display: flex; flex-wrap: wrap; gap: .8rem; }
.banner .btn--night { background: #0C0E0C; color: #FFF; }
.banner .btn--night:hover { background: #1A1E1A; }
.banner .btn--ghost-night { border-color: rgba(6, 19, 10, .5); color: #06130A; }
.banner .btn--ghost-night:hover { border-color: #06130A; }

/* --------------------------------------------------------------------------
   EN-TÊTE DES PAGES INTÉRIEURES
   -------------------------------------------------------------------------- */
.page-top {
  background:
    radial-gradient(560px 260px at 90% -30%, rgba(250, 204, 21, .07), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 3rem) 0;
}
.page-top .crumbs {
  display: flex; gap: .5rem;
  font-size: .84rem; color: var(--text-soft);
  margin-bottom: .9rem;
}
.page-top .crumbs a { color: var(--green); font-weight: 600; }
.page-top .crumbs li + li::before { content: '›'; margin-right: .5rem; }
.page-top h1 { font-size: var(--fs-h1); margin-bottom: .7rem; }
.page-top__lede { color: var(--text-soft); max-width: 40rem; }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.reach { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }

.reach__phone {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 800;
  color: var(--green);
  margin: .5rem 0 1.2rem;
}
.reach__phone:hover { color: #58E37D; }

.reach address {
  font-style: normal; color: var(--text-soft); line-height: 1.8; font-size: .95rem;
  padding-left: 1rem; border-left: 3px solid var(--line);
  margin-bottom: 1.2rem;
}
.reach address strong { color: var(--text); }
.reach address a { color: var(--green); font-weight: 600; }
.reach address a:hover { text-decoration: underline; }

.reach__sep { border: none; border-top: 1px dashed var(--line); margin: 1.6rem 0; }

/* Formulaire */
.f-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  overflow: hidden;
}
.f-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--tri);
}

.f-pot { position: absolute; left: -9999px; }

.f-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.f-field { display: grid; gap: .3rem; margin-bottom: 1rem; }
.f-field label { font-weight: 650; font-size: .9rem; color: var(--text); }
.f-field .must { color: var(--sun); }

.f-field input,
.f-field select,
.f-field textarea {
  font: inherit; color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: .75rem .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.f-field textarea { resize: vertical; min-height: 115px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}
.f-field input.invalid, .f-field textarea.invalid { border-color: var(--ko); background: #1E1212; }
.f-err { min-height: 1.1em; font-size: .8rem; color: var(--ko); }

.f-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.f-foot small { color: var(--text-soft); }

#submitBtn .while-loading { display: none; }
#submitBtn.loading .while-loading { display: inline; }
#submitBtn.loading .while-idle { display: none; }
#submitBtn:disabled { opacity: .65; cursor: wait; }

.f-note { display: none; margin-top: 1.1rem; padding: .95rem 1.1rem; border-radius: 9px; font-size: .93rem; }
.f-note.visible { display: block; }
.f-note--ok { background: var(--green-dim); border: 1px solid var(--green-mid); color: var(--green); }
.f-note--ko { background: var(--red-dim); border: 1px solid var(--red); color: var(--red); }
.f-note a { font-weight: 700; text-decoration: underline; color: inherit; }

/* --------------------------------------------------------------------------
   FOOTER — colonnes, liseré tricolore
   -------------------------------------------------------------------------- */
.site-foot {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  background: #080A08;
  border-top: 4px solid transparent;
  border-image: var(--tri) 1;
  color: var(--text-soft);
  font-size: .92rem;
}
.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.4rem;
  padding: 2.8rem 0 2.2rem;
}
.foot-grid h4 {
  color: var(--text); font-size: .8rem; font-weight: 750;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.site-foot .brand { margin: 0 0 .9rem; }
.foot-desc { max-width: 26rem; font-size: .9rem; }

.foot-list { display: grid; gap: .55rem; }
.foot-list a { display: inline-flex; align-items: center; gap: .5rem; }
.foot-list a:hover { color: var(--green); text-decoration: underline; }
.foot-list svg { flex: none; opacity: .7; }

.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem;
  font-size: .84rem; color: #6E7A6E;
}
.foot-bottom button { font-weight: 650; color: var(--text-soft); text-decoration: underline; padding: 0; }
.foot-bottom button:hover { color: var(--text); }
.foot-bottom a { color: var(--text-soft); font-weight: 600; }
.foot-bottom a:hover { color: var(--text); }
.foot-bottom .spacer { margin-left: auto; }

/* --------------------------------------------------------------------------
   MODAL MENTIONS LÉGALES
   -------------------------------------------------------------------------- */
.legal[hidden] { display: none; }
.legal {
  position: fixed; inset: 0; z-index: 350;
  display: grid; place-items: center; padding: 1.2rem;
}
.legal__veil { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px); }
.legal__box {
  position: relative;
  width: min(680px, 100%); max-height: 84vh; overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
}
.legal__box h2 { font-size: 1.4rem; margin-bottom: 1.1rem; }
.legal__box p { margin-bottom: 1rem; color: var(--text-soft); font-size: .92rem; }
.legal__box p strong { color: var(--text); }
.legal__box a { color: var(--green); font-weight: 600; text-decoration: underline; }
.legal__x {
  position: sticky; top: 0; float: right;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--card);
}
.legal__x:hover { border-color: var(--green); color: var(--green); }

/* --------------------------------------------------------------------------
   RÉVÉLATIONS AU SCROLL (discrètes)
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .climate { max-width: 460px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.4rem; }
  .zone, .reach { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-main, .header__tel { display: none; }
  .burger { display: flex; }
  .svc-grid { grid-template-columns: 1fr; }
  .buddy { grid-template-columns: 1fr; }
  .f-duo { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .foot-bottom .spacer { display: none; }
}

@media (max-width: 480px) {
  .why { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.12rem; }
}
