/* ============================================================
   GH FLUIDES — Design system
   ------------------------------------------------------------
   Sommaire :
   1.  Variables (couleurs, typo, espacements)  → personnalisables
   2.  Reset & base
   3.  Utilitaires (container, boutons, badges)
   4.  Header + navigation + menu mobile
   5.  Hero + trustbar
   6.  Sections génériques
   7.  Services
   8.  Pourquoi nous
   9.  Zones d'intervention
   10. Aides & certification
   11. Formulaires (devis + recrutement)
   12. Recrutement / FAQ / CTA final
   13. Footer
   14. Boutons flottants mobile
   15. Modales
   16. Animations (reveal au scroll)
   17. Responsive
   ============================================================ */

/* ============ 1. VARIABLES ============ */
:root {
  /* ============================================================
     Palette OFFICIELLE GH FLUIDES
     ROUGE #E30013 = LA couleur d'action (boutons, CTA, liens, icônes).
     BLEU MARINE #0A2540 = structure / fonds sombres.
     Bleu "clim" (froid) = focus & fonds d'icônes (structure).
     ORANGE = UNIQUEMENT la flamme du logo/favicon, nulle part ailleurs.
     ============================================================ */
  --brand-red:    #E30013;  /* rouge officiel de marque (bulle du logo) */
  --brand-orange: #F06020;  /* orange RÉSERVÉ à la flamme du logo/favicon */

  /* Surfaces sombres = charbon chaud profond (hero, footer, sections sombres) */
  --navy:        #1B1315;   /* charbon chaud profond */
  --navy-800:    #2A1C1E;   /* partenaire de dégradé */

  /* --blue = accent d'action (rouge). --blue-bright/soft = bleu clim (structure) */
  --blue:        #E30013;   /* rouge d'action (icônes, liens) */
  --blue-bright: #2E86DE;   /* bleu clim vif — anneau de focus (accessibilité) */
  --blue-soft:   #EAF3FB;   /* bleu clim très clair (fonds d'icônes) */

  --flame-1:     #E30013;   /* rouge (dégradé) */
  --flame-2:     #C1000F;   /* rouge foncé (dégradé / hover) */
  --flame-3:     #FF3B47;   /* rouge vif — accents sur fonds sombres (contraste) */
  --flame:       #E30013;   /* ACCENT PRINCIPAL = rouge d'action */

  --ink:         #10233A;   /* texte principal (encre marine) */
  --muted:       #5A6B7B;   /* texte secondaire (gris froid) */
  --line:        #E3EAF1;   /* bordures (froides) */
  --bg:          #FFFFFF;
  --bg-tint:     #F5F9FD;   /* fond section clair */
  --bg-soft:     #EEF4FA;
  --white:       #FFFFFF;

  /* Dégradés */
  --grad-flame: linear-gradient(135deg, var(--flame-1) 0%, var(--flame-2) 100%);
  --grad-navy:  linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 100%);

  /* Typo */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Rayons & ombres */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(16, 35, 58, 0.06);
  --shadow:    0 12px 32px rgba(16, 35, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 35, 58, 0.16);
  --shadow-flame: 0 10px 26px rgba(227, 0, 19, 0.25);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ 2. RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* L'attribut HTML [hidden] doit TOUJOURS l'emporter, même sur une
   règle display: grid/flex (sinon modales & menu mobile restent
   visibles). !important garantit le masquage tant que le JS n'a pas
   retiré l'attribut hidden. */
[hidden] { display: none !important; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }

.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* Accessibilité : lien d'évitement */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px; }

/* ============ 3. UTILITAIRES ============ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--flame); margin-bottom: 14px;
}
.eyebrow--light { color: var(--flame-3); }

/* Boutons */
.btn {
  --btn-bg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 24px; border: 2px solid transparent; border-radius: var(--r-pill);
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary { background: var(--grad-flame); color: #fff; box-shadow: var(--shadow-flame); background-size: 140% 140%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(227,0,19,.42); background-position: 100% 0; }

.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--ghost { background: var(--blue-soft); color: var(--navy); }
.btn--ghost:hover { background: #dcebf8; }

.btn--outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn--lg { padding: 17px 30px; font-size: 1.06rem; }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--block { display: flex; width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill); font-weight: 700; font-size: .9rem;
}
.badge--rge { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.badge--rge .ico { fill: var(--flame-3); }

/* ============ 4. HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

.header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.header__logo { display: flex; }
.header__logo img { height: 52px; width: auto; }

.header__nav { display: flex; gap: 6px; margin-left: auto; }
.header__nav a {
  font-weight: 600; font-size: .95rem; color: var(--ink); padding: 9px 13px; border-radius: var(--r-sm);
  transition: background .18s, color .18s; position: relative;
}
.header__nav a:hover { background: var(--blue-soft); color: var(--navy); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { font-size: .95rem; padding: 11px 16px; }
.header__phone .ico { fill: var(--flame); }

.header__burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px;
}
.header__burger span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: transform .25s, opacity .2s; }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 22px;
  border-top: 1px solid var(--line); background: #fff;
}
.mobile-menu a { padding: 13px 8px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu__cta { margin-top: 12px; justify-content: center; }

/* ============ 5. HERO ============ */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--grad-navy); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; opacity: .9;
  background:
    radial-gradient(60% 60% at 82% 12%, rgba(227,0,19,.36) 0%, rgba(227,0,19,0) 60%),
    radial-gradient(50% 55% at 8% 88%, rgba(227,0,19,.22) 0%, rgba(227,0,19,0) 60%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
}
/* Filigrane logo (goutte GH) en fond du hero — subtil, non cliquable */
.hero__watermark {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  right: -2%; top: 50%; transform: translateY(-50%);
  height: 124%; width: auto; opacity: .33;
  filter: drop-shadow(0 24px 46px rgba(0,0,0,.4));
}
@media (max-width: 1024px) {
  .hero__watermark { right: -8%; top: 5%; transform: none; height: 58%; opacity: .22; }
}
@media (max-width: 620px) {
  .hero__watermark { right: -14%; height: 42%; opacity: .17; }
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 70px 24px 84px;
}

.hero__title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin: 20px 0 18px; }
.hero__title-accent {
  background: var(--grad-flame); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.86); max-width: 620px; }

.hero__promises { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.hero__promises li { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; }
.hero__promises .ico { fill: var(--flame-3); width: 24px; height: 24px; }
.hero__promises strong { font-weight: 800; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero__cta .btn--outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.hero__cta .btn--outline:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.hero__cta .btn--outline .ico { fill: var(--flame-3); }

.hero__trust { font-size: .9rem; color: rgba(255,255,255,.6); }

/* Carte hero */
.hero__card {
  background: rgba(255,255,255,.98); color: var(--ink);
  border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.5);
}
.hero__card-head h2 { font-size: 1.5rem; }
.hero__card-head p { color: var(--muted); margin: 6px 0 20px; }
.hero__card-anchor {
  display: flex; align-items: center; gap: 14px; padding: 12px 0;
  border-bottom: 1px dashed var(--line); font-weight: 600; color: var(--ink);
  transition: color .18s;
}
.hero__card-anchor:hover { color: var(--flame); }
.hero__card-step {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  background: var(--blue-soft); color: var(--navy); border-radius: 50%; font-weight: 800; font-size: .95rem;
}
.hero__card .btn--block { margin-top: 22px; }
.hero__card-call { display: block; text-align: center; margin-top: 14px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.hero__card-call:hover { color: var(--flame); }

/* Trustbar */
.trustbar { background: var(--navy-800); color: #fff; }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 24px; }
.trustbar__item { display: flex; flex-direction: column; text-align: center; gap: 2px; }
.trustbar__item strong { font-size: 1.16rem; color: var(--flame-3); }
.trustbar__item span { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ============ 6. SECTIONS ============ */
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--grad-navy); color: #fff; }

.section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }
.section__lead { font-size: 1.12rem; color: var(--muted); margin-top: 16px; }
.section--dark .section__lead { color: rgba(255,255,255,.82); }
.section__cta { text-align: center; margin-top: 48px; }

/* ============ 7. SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--grad-flame); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue-soft); margin-bottom: 20px;
}
.service-card__icon svg { width: 32px; height: 32px; fill: var(--blue); }
.service-card:hover .service-card__icon { background: linear-gradient(135deg, rgba(227,0,19,.12), rgba(227,0,19,.18)); }
.service-card:hover .service-card__icon svg { fill: var(--flame); }
.service-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 1rem; }
.service-card__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--flame); font-size: .96rem;
}
.service-card__link::after { content: "→"; transition: transform .2s; }
.service-card:hover .service-card__link::after { transform: translateX(4px); }
/* Lien Urgence des services — même format que "Demander un devis", en rouge */
.service-card__link--urgence { color: var(--brand-red); font-weight: 800; }
.service-card__link--urgence:hover { color: #C1000F; }

/* ============ 8. POURQUOI ============ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-flame); margin-bottom: 18px; box-shadow: var(--shadow-flame);
}
.why-card__icon svg { width: 28px; height: 28px; fill: #fff; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .98rem; }

/* ============ 9. ZONES ============ */
.zones-wrap { max-width: 980px; margin: 0 auto; }
.zones-groups { display: grid; gap: 20px; }
.zone-group {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.zone-group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.zone-group__pin {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--blue-soft);
}
.zone-group__pin svg { width: 22px; height: 22px; fill: var(--blue); }
.zone-group__title { font-size: 1.18rem; }
.zone-group__meta { font-size: .9rem; color: var(--muted); font-weight: 600; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.zone-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: var(--r-pill); background: var(--bg-soft);
  font-weight: 600; font-size: .95rem; color: var(--navy);
  transition: background .18s, transform .18s;
}
.zone-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--flame); }
.zone-chip:hover { background: #e2edf7; transform: translateY(-1px); }

.zone-group--soon { opacity: .95; border-style: dashed; background: var(--bg-tint); }
.zone-group--soon .zone-group__pin { background: #FDE7E9; }
.zone-group--soon .zone-group__pin svg { fill: var(--flame); }
.zone-badge-soon {
  font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--flame); background: #FDE7E9; padding: 3px 9px; border-radius: var(--r-pill);
}

.zones-note { margin-top: 22px; text-align: center; color: var(--muted); }
.zones-note a { color: var(--flame); font-weight: 700; }
.zones-note__soon { margin-top: 6px; font-size: .95rem; }

/* ============ Badge RGE QualiPac (logo officiel sur chip blanc) ============ */
.rge-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.rge-badge img { height: 64px; width: auto; }
.rge-badge--lg { padding: 16px 22px; margin-bottom: 22px; border-radius: 18px; box-shadow: var(--shadow); }
.rge-badge--lg img { height: 104px; }

/* ============ 10. AIDES ============ */
.aides__inner { max-width: 900px; margin: 0 auto; }
.aides__content { text-align: center; }
.aides__lead { font-size: 1.12rem; color: rgba(255,255,255,.86); margin: 16px auto 34px; max-width: 720px; }
.aides__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; margin-bottom: 28px; }
.aide-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r);
  padding: 24px; backdrop-filter: blur(4px);
}
.aide-card h3 { font-size: 1.16rem; margin-bottom: 8px; color: var(--flame-3); }
.aide-card p { color: rgba(255,255,255,.8); font-size: .96rem; }
.aides__disclaimer { font-size: .88rem; color: rgba(255,255,255,.55); max-width: 680px; margin: 0 auto 28px; }

/* ============ 11. FORMULAIRES ============ */
.devis__inner, .recrut__inner {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: start;
}
.devis__points { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.devis__points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.devis__points .ico { fill: var(--flame); }

.devis__direct { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.devis__direct p { color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.devis__direct .ico { fill: var(--flame); }
.devis__mail { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 700; }

.devis__form-wrap, .recrut__form-wrap { position: relative; }

.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px;
}
.recrut__form-title { font-size: 1.35rem; margin-bottom: 4px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: grid; gap: 7px; }
.form-group label { font-weight: 700; font-size: .93rem; }
.form-group .optional { font-weight: 500; color: var(--muted); }

.lead-form input, .lead-form select, .lead-form textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color .18s, box-shadow .18s; width: 100%;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(46,134,222,.14);
}
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form input.is-invalid, .lead-form select.is-invalid { border-color: var(--flame-1); box-shadow: 0 0 0 4px rgba(227,0,19,.12); }
/* Flash de mise en évidence quand "Dépannage urgent" est pré-sélectionné via un bouton Urgence */
.lead-form select.is-flash { animation: fieldFlash 1.6s ease; }
@keyframes fieldFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227,0,19,0); }
  25%, 65% { border-color: var(--brand-red); box-shadow: 0 0 0 4px rgba(227,0,19,.28); }
}

.form-error { color: var(--flame-1); font-size: .84rem; font-weight: 600; min-height: 0; }
.form-error:empty { display: none; }

.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--muted); cursor: pointer; }
.form-consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--flame); }

.form-submit { margin-top: 6px; position: relative; }
.form-submit__spinner {
  display: none; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.5);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
.form-submit.is-loading .form-submit__label { opacity: .7; }
.form-submit.is-loading .form-submit__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-legal { font-size: .82rem; color: var(--muted); }
.form-legal a { color: var(--blue); font-weight: 600; }

/* Honeypot masqué */
.hidden-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Message de succès */
.form-success {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 44px 32px; box-shadow: var(--shadow); text-align: center;
  animation: pop .4s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.form-success__icon {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--grad-flame); box-shadow: var(--shadow-flame);
}
.form-success__icon svg { width: 34px; height: 34px; fill: #fff; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.form-success a { color: var(--flame); font-weight: 700; }

/* ============ 12. RECRUTEMENT / FAQ / CTA ============ */
.recrut__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.recrut__list li { position: relative; padding-left: 28px; color: var(--muted); }
.recrut__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--flame); font-weight: 800;
}

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item.is-open { box-shadow: var(--shadow-sm); border-color: var(--blue); }
.faq-item__q {
  width: 100%; text-align: left; background: none; border: 0; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.faq-item__icon { flex: none; width: 26px; height: 26px; position: relative; transition: transform .3s var(--ease); }
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--flame); border-radius: 2px;
}
.faq-item__icon::before { width: 16px; height: 2.5px; }
.faq-item__icon::after { width: 2.5px; height: 16px; transition: transform .3s var(--ease); }
.faq-item.is-open .faq-item__icon::after { transform: scaleY(0); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.faq-item__a-inner { padding: 0 24px 22px; color: var(--muted); }

.finalcta { background: var(--grad-flame); color: #fff; }
.finalcta__inner { text-align: center; padding: clamp(56px, 7vw, 88px) 24px; }
.finalcta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.finalcta p { font-size: 1.14rem; margin: 14px auto 30px; max-width: 620px; color: rgba(255,255,255,.94); }
.finalcta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.finalcta .btn--primary { background: #fff; color: var(--flame); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.finalcta .btn--primary:hover { background: #fff; transform: translateY(-2px); }

/* ============ 13. FOOTER ============ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 64px 24px 44px;
}
.footer__brand img { height: 54px; width: auto; opacity: .98; margin-bottom: 16px; }
.footer__brand p { font-size: .96rem; margin-bottom: 18px; }
.footer__badge {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 8px 14px; border-radius: var(--r-pill);
}
.footer__badge .ico { fill: var(--flame-3); }
.footer__col h3 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; letter-spacing: 0; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer__col a { font-size: .96rem; transition: color .18s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { font-size: .96rem; }
.footer__col .btn { margin-top: 16px; }

.footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: .84rem; color: rgba(255,255,255,.55); }
.footer__legal p { margin-bottom: 6px; }
.footer__links a { color: rgba(255,255,255,.7); }
.footer__links a:hover { color: #fff; }

/* ============ 14. FLOATING CTA (mobile) ============ */
.floating-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,35,58,.1);
}
.floating-cta a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: var(--r-pill); font-weight: 800; font-size: 1rem;
}
.floating-cta svg { width: 20px; height: 20px; fill: currentColor; }
.floating-cta__call { background: var(--blue-soft); color: var(--navy); }
.floating-cta__quote { background: var(--grad-flame); color: #fff; box-shadow: var(--shadow-flame); }

/* ============ 15. MODALES ============ */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,37,64,.6); backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal__box {
  position: relative; background: #fff; color: var(--ink); border-radius: var(--r-lg);
  max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 40px; box-shadow: var(--shadow-lg);
  animation: pop .3s var(--ease);
}
.modal__box h2 { font-size: 1.6rem; margin-bottom: 18px; }
.modal__box h3 { font-size: 1.08rem; margin: 20px 0 6px; color: var(--navy); }
.modal__box p { color: var(--muted); font-size: .98rem; }
.modal__box a { color: var(--blue); font-weight: 600; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--bg-soft); font-size: 1.6rem; line-height: 1; color: var(--navy); display: grid; place-items: center;
}
.modal__close:hover { background: #e2edf7; }

/* ============ 16. ANIMATIONS REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 17. RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { max-width: 460px; }
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .devis__inner, .recrut__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .header__nav, .header__phone { display: none; }
  .header__burger { display: flex; }
  .header__actions { margin-left: auto; }
  .aides__cards { grid-template-columns: 1fr; }
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lead-form { padding: 24px 20px; }
  .footer__inner { grid-template-columns: 1fr; }
  .floating-cta { display: flex; }
  /* Laisse la place aux boutons flottants */
  main { padding-bottom: 4px; }
  .finalcta__inner { padding-bottom: 96px; }
  .hero__cta .btn { flex: 1; }
  .modal__box { padding: 28px 22px; }
}

/* Masque les boutons flottants quand le formulaire est visible (via JS) */
.floating-cta.is-hidden { transform: translateY(120%); transition: transform .3s var(--ease); }

/* ===== DÉBUT PROMO TVA (temporaire, retirable) =====
   Section 100% isolée. Pour la retirer : supprimer ce bloc CSS,
   le bloc HTML <section id="promo-tva"> dans index.html, et le bloc
   JS correspondant dans main.js. Aucun style global n'est modifié. */
.promo-tva { padding: clamp(48px, 6vw, 84px) 0; background: var(--bg-tint); }
.promo-tva__inner {
  display: grid; grid-template-columns: .82fr 1.18fr; gap: 30px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 22px;
}
.promo-tva__figure {
  background: var(--grad-flame); color: #fff; border-radius: 28px; padding: 40px 34px;
  box-shadow: var(--shadow-flame);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
}
.promo-tva__new {
  font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.22); padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 12px;
}
.promo-tva__pct { font-size: clamp(3.6rem, 7vw, 5.2rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.promo-tva__pct-sign { font-size: .48em; font-weight: 700; margin-left: 4px; vertical-align: super; }
.promo-tva__old { font-size: 1.05rem; font-weight: 600; opacity: .95; }
.promo-tva__old em { font-style: normal; text-decoration: line-through; opacity: .78; }
.promo-tva__hook {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25);
  font-size: 1.12rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em;
}
.promo-tva__content { padding: 8px 24px 8px 6px; }
.promo-tva__badge {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--flame); background: #FDE7E9; padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.promo-tva__title { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; margin-bottom: 14px; }
.promo-tva__text { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.promo-tva__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.promo-tva__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.promo-tva__list svg { width: 20px; height: 20px; fill: var(--flame); flex: none; }
.promo-tva__legal { font-size: .82rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 820px) {
  .promo-tva__inner { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .promo-tva__figure { padding: 34px 26px; align-items: center; text-align: center; border-radius: 24px; }
  .promo-tva__content { padding: 6px 12px 12px; }
}
/* ===== FIN PROMO TVA ===== */
