/* =========================================================================
   RD Garden - Feuille de style
   Mobile-first. Ordre : base mobile -> @media 768px -> @media 1024px.
   Version non minifiee et commentee (garder pour maintenance).
   ========================================================================= */

/* ------------------------------------------------------------------ Fonts */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------ Variables */
:root {
  --vert-profond: #17331f;   /* fonds fonces, footer, sections sombres */
  --vert-fonce:   #1e4429;
  --vert:         #2c7a44;   /* boutons et accents principaux */
  --vert-hover:   #22623a;   /* survol des boutons */
  --vert-vif:     #5bb06a;   /* pictos sur fond fonce */
  --creme:        #f7f4ec;   /* fond clair principal */
  --creme-2:      #efeadd;   /* alternance de sections */
  --creme-3:      #f1ede2;   /* cartes sur fond fonce */
  --texte:        #1f2a20;   /* texte principal */
  --texte-doux:   #566056;   /* texte secondaire */
  --bord:         #e2ddcf;   /* bordures douces */
  --blanc:        #ffffff;

  --rayon:    16px;   /* arrondi cartes */
  --rayon-sm: 10px;   /* arrondi champs / petits elements */
  --rayon-pill: 999px;

  --ombre:    0 10px 30px rgba(23, 51, 31, 0.08);
  --ombre-sm: 0 4px 14px rgba(23, 51, 31, 0.06);

  --wrap:      1140px;
  --wrap-narrow: 760px;

  --titre: 'Fraunces', Georgia, 'Times New Roman', serif;
  --corps: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--creme);
  overflow-x: hidden;            /* garde-fou anti scroll horizontal */
  -webkit-font-smoothing: antialiased;
}

img,
picture,
svg { max-width: 100%; display: block; height: auto; }

a { color: var(--vert); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.15;
  color: var(--vert-profond);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

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

button { font-family: inherit; }

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

/* Accessibilite : lien d'evitement + textes masques visuellement */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--vert-profond);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------ Conteneurs */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: 56px 0; }
/* Decale l'ancrage pour ne pas passer sous l'en-tete fixe */
section[id], [id="haut"] { scroll-margin-top: 76px; }
.section--alt { background: var(--creme-2); }
.section--dark { background: var(--vert-profond); color: #eaf0ea; }

.center { text-align: center; }
.nowrap { white-space: nowrap; }

.section-head {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
}
.section-head h2 { font-size: 1.75rem; }
.section-head p { color: var(--texte-doux); margin: 0; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: #cfe0d3; }

.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vert);
  margin: 0 0 12px;
}

/* ------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--rayon-pill);
  font-family: var(--corps);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--vert); color: #fff; }
.btn--primary:hover { background: var(--vert-hover); color: #fff; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }

.btn--light { background: #fff; color: var(--vert-profond); }
.btn--light:hover { background: var(--creme-2); color: var(--vert-profond); }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
.btn--lg { min-height: 54px; padding: 15px 28px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* Lien-CTA en bas des cartes services */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--vert);
}
.link-cta::after { content: '→'; transition: transform .18s ease; }
.link-cta:hover { text-decoration: none; }
.link-cta:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------ Cartes */
.card {
  background: var(--blanc);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-sm);
}
.card__body { padding: 22px; }

/* =========================================================================
   SECTION 1 : BARRE SUPERIEURE
   ========================================================================= */
.topbar {
  background: var(--vert-profond);
  color: #dbe7dd;
  font-size: 0.86rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar__info { margin: 0; }
.topbar__mail { display: none; color: #bcd6c2; font-weight: 500; }
.topbar__mail:hover { color: #fff; }
.topbar__cta {
  white-space: nowrap;
  background: var(--vert-vif);
  color: #10251a;
}
.topbar__cta:hover { background: #6cc07b; color: #10251a; }
.contact-phone { color: #bcd6c2; font-weight: 600; }

/* =========================================================================
   EN-TETE
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--bord);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 56px; width: auto; object-fit: contain; }
.main-nav { display: none; }
.site-header__cta { display: none; }

/* =========================================================================
   SECTION 2 : HERO
   ========================================================================= */
.hero {
  position: relative;
  background: var(--vert-profond);
  color: #fff;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
/* Image en plein cadre, positionnee en absolu pour couvrir toute la hauteur
   du hero (evite toute bande verte residuelle en bas). */
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Voile sombre AU-DESSUS de la photo (z-index -1) et SOUS le texte (z-index auto).
   Assez fonce pour garantir la lisibilite du texte blanc et des CTA sur une photo claire. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 24, 15, 0.78) 0%, rgba(11, 24, 15, 0.55) 55%, rgba(11, 24, 15, 0.70) 100%),
    linear-gradient(90deg, rgba(11, 24, 15, 0.55) 0%, rgba(11, 24, 15, 0.15) 70%);
}
.hero__inner { padding-top: 56px; padding-bottom: 56px; }
.hero__content { max-width: 640px; }
.hero .eyebrow { color: #9fe0ac; }
.hero h1 {
  color: #fff;
  font-size: 2.05rem;
  line-height: 1.12;
}
.hero__lead {
  font-size: 1.08rem;
  color: #e6efe7;
  margin-bottom: 20px;
}
.reassure { display: grid; gap: 10px; margin: 0 0 26px; }
.reassure li {
  position: relative;
  padding-left: 30px;
  color: #eef4ef;
  font-weight: 500;
}
.reassure li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--vert-vif) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23133218' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hero__actions { display: grid; gap: 12px; margin-bottom: 16px; }
.hero__micro { font-size: 0.9rem; color: #cfe0d3; margin: 0; }

/* =========================================================================
   SECTION 3 : BANDEAU DE PREUVES
   ========================================================================= */
.proofs { background: var(--vert-fonce); color: #eaf3ec; padding: 26px 0; }
.proofs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.proof { display: flex; align-items: center; gap: 14px; }
.proof__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--vert-vif);
}
.proof__icon svg { width: 24px; height: 24px; }
.proof p { margin: 0; font-weight: 600; font-size: 0.98rem; }

/* =========================================================================
   SECTION 4 : PROBLEME ET BENEFICE
   ========================================================================= */
.benefit__grid { display: grid; gap: 28px; }
.benefit__text h2 { font-size: 1.7rem; }
.benefit__text p { color: var(--texte-doux); }
.benefit__media .ba { border-radius: var(--rayon); box-shadow: var(--ombre); }

/* =========================================================================
   SECTION 5 : SERVICES
   ========================================================================= */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card { display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--texte-doux); }
.service-card__note {
  font-size: 0.85rem;
  color: var(--texte-doux);
  background: var(--creme-2);
  border-left: 3px solid var(--vert);
  padding: 8px 12px;
  border-radius: 6px;
}
.service-card__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--creme-2);
  color: var(--vert);
  margin-bottom: 14px;
}
.service-card__icon svg { width: 28px; height: 28px; }

/* =========================================================================
   SECTION 6 : FORMULES
   ========================================================================= */
.formules__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
.formule { padding: 24px; position: relative; }
.formule__num {
  font-family: var(--titre);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vert-vif);
  display: block;
  margin-bottom: 8px;
}
.formule h3 { font-size: 1.2rem; }
.formule p { color: var(--texte-doux); margin: 0; }

/* =========================================================================
   SECTION 7 : POURQUOI CHOISIR
   ========================================================================= */
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 30px;
}
.why__item { }
.why__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(91, 176, 106, 0.16);
  color: var(--vert-vif);
  margin-bottom: 14px;
}
.why__icon svg { width: 24px; height: 24px; }
.why__item h3 { color: #fff; font-size: 1.15rem; }
.why__item p { color: #cbdccf; margin: 0; }

/* =========================================================================
   SECTION 8 : PROCESSUS
   ========================================================================= */
.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
}
.process__step {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 22px;
  box-shadow: var(--ombre-sm);
}
.process__num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  font-weight: 700;
  font-family: var(--titre);
  margin-bottom: 12px;
}
.process__step h3 { font-size: 1.12rem; }
.process__step p { color: var(--texte-doux); margin: 0; }

/* =========================================================================
   COMPARATEUR AVANT / APRES (curseur glissant)
   Utilise dans la section "probleme / benefice".
   ========================================================================= */
.ba {
  --split: 50%;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--creme-2);
  touch-action: none;             /* le drag ne fait pas defiler la page */
  user-select: none;
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* Couche "avant" au-dessus, revelee de la gauche vers le curseur */
.ba__before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }

.ba__label {
  position: absolute;
  bottom: 12px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: var(--rayon-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--vert-profond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__label--before { left: 12px; }
.ba__label--after { right: 12px; }

.ba__divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.ba__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--vert-profond);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.ba__handle svg { width: 22px; height: 22px; }
/* La zone de saisie (range) couvre toute l'image : clic, drag et clavier */
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.ba:focus-within .ba__handle { outline: 3px solid var(--vert); outline-offset: 2px; }

/* =========================================================================
   SECTION 10 : ZONE
   ========================================================================= */
.zone__grid { display: grid; gap: 28px; }
.zone__text h2 { font-size: 1.7rem; }
.zone__text p { color: var(--texte-doux); }
.zone__micro { font-size: 0.88rem; color: var(--texte-doux); margin-top: 12px; }
.zone__map {
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  border: 1px solid var(--bord);
}
.zone__map svg { width: 100%; height: auto; display: block; }

/* =========================================================================
   SECTION 11 : FAQ
   ========================================================================= */
.faq__list { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--rayon-sm);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--vert-profond);
  cursor: pointer;
}
.faq__chev {
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-right: 2px solid var(--vert);
  border-bottom: 2px solid var(--vert);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: -4px;
}
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(-135deg); margin-top: 4px; }
.faq__a { padding: 0 18px 18px; }
.faq__a p { margin: 0; color: var(--texte-doux); }
.faq__foot { text-align: center; margin-top: 22px; color: var(--texte-doux); }

/* =========================================================================
   SECTION 12 : FORMULAIRE
   ========================================================================= */
.form-card { padding: 22px; }

/* Honeypot : totalement masque, hors flux visuel et hors lecture normale */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.steps {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.steps__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texte-doux);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--bord);
}
.steps__item::before {
  content: attr(data-dot);
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bord);
  color: var(--texte-doux);
  font-size: 0.85rem;
}
.steps__item.is-active { color: var(--vert-profond); border-bottom-color: var(--vert); }
.steps__item.is-active::before { background: var(--vert); color: #fff; }
.steps__item.is-done::before {
  background: var(--vert);
  color: #fff;
  content: '✓';
}

.form-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step.is-active { display: block; }

.field { margin-bottom: 18px; }
.field > label,
.field__label {
  display: block;
  font-weight: 600;
  font-size: 0.96rem;
  margin-bottom: 8px;
  color: var(--vert-profond);
}
.field__opt { font-weight: 400; color: var(--texte-doux); font-size: 0.85rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--texte);
  background: #fff;
  border: 1.5px solid var(--bord);
  border-radius: var(--rayon-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(44, 122, 68, 0.18);
}
input[type="file"] {
  width: 100%;
  padding: 10px;
  background: var(--creme-2);
  border: 1.5px dashed var(--bord);
  border-radius: var(--rayon-sm);
  font-size: 0.92rem;
}
input.is-invalid,
textarea.is-invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14); }

.field__hint { font-size: 0.84rem; color: var(--texte-doux); margin: 6px 0 0; }
.field__error { font-size: 0.86rem; color: #c0392b; margin: 6px 0 0; min-height: 0; }
.field__error:empty { display: none; }

/* Cases a cocher et boutons radio */
.checks { display: grid; gap: 8px; }
.check,
.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1.5px solid var(--bord);
  border-radius: var(--rayon-sm);
  cursor: pointer;
  background: #fff;
  font-size: 0.96rem;
}
.check input,
.radio input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--vert); cursor: pointer; }
.check:hover,
.radio:hover { border-color: var(--vert); }
.check:has(input:checked),
.radio:has(input:checked) {
  border-color: var(--vert);
  background: rgba(44, 122, 68, 0.07);
}

.radios--pill { display: flex; flex-wrap: wrap; gap: 8px; }
.radios--pill .radio { flex: 1 1 auto; justify-content: center; text-align: center; min-width: 120px; }

.check--privacy { border: 0; padding: 0; min-height: 0; align-items: flex-start; }
.check--privacy input { margin-top: 2px; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0; }

.form-back {
  background: none;
  border: 0;
  color: var(--vert);
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  margin-bottom: 12px;
}
.form-micro { font-size: 0.85rem; color: var(--texte-doux); text-align: center; margin: 12px 0 0; }
.form-error-global {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: var(--rayon-sm);
  color: #a5281c;
  font-size: 0.92rem;
}

/* Message de succes */
.form-success { text-align: center; padding: 20px 6px; }
.form-success__icon {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(44, 122, 68, 0.14);
  color: var(--vert);
}
.form-success__icon svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--texte-doux); }
.form-success__micro { font-size: 0.86rem; }

/* =========================================================================
   SECTION 13 : CTA FINAL
   ========================================================================= */
.final-cta { text-align: center; }
.final-cta h2 { color: #fff; font-size: 1.8rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.final-cta__text { color: #cfe0d3; max-width: 620px; margin: 0 auto 24px; }
.final-cta__micro { color: #a9c5b0; font-size: 0.9rem; margin-top: 16px; }

/* =========================================================================
   SECTION 14 : FOOTER
   ========================================================================= */
.site-footer { background: #122a19; color: #c4d6c9; padding: 48px 0 26px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.footer__logo { height: 56px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer__slogan { font-family: var(--titre); font-style: italic; color: #9fc4a7; margin: 0 0 8px; }
.footer__desc { color: #a9c1af; font-size: 0.94rem; }
.footer__title { font-size: 1rem; color: #fff; margin-bottom: 14px; font-family: var(--corps); font-weight: 700; }
.footer__list { display: grid; gap: 8px; }
.footer__list li { color: #b6cbbc; font-size: 0.94rem; }
.footer__list a { color: #b6cbbc; }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  color: #8fa896;
}
.footer__bottom p { margin: 0; }

/* =========================================================================
   SECTION 15 : BARRE CTA FIXE MOBILE
   ========================================================================= */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 244, 236, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--bord);
  box-shadow: 0 -6px 20px rgba(23, 51, 31, 0.08);
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-cta.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
/* Evite que la barre fixe recouvre le footer en bas de page */
body { padding-bottom: 0; }

/* Reduit les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* =========================================================================
   PAGE POLITIQUE DE CONFIDENTIALITE
   ========================================================================= */
.legal { }
.legal h1 { font-size: 1.9rem; margin-bottom: 12px; }
.legal__intro { color: var(--texte-doux); margin-bottom: 8px; }
.legal section { margin-top: 30px; }
.legal h2 { font-size: 1.25rem; margin-bottom: 10px; }
.legal p { color: var(--texte); }
.legal__list { display: grid; gap: 6px; margin: 0 0 1em; padding-left: 20px; list-style: disc; color: var(--texte-doux); }
.legal__list li { padding-left: 4px; }
.legal__back { margin-top: 36px; }

/* =========================================================================
   TABLETTE : 768px et plus
   ========================================================================= */
@media (min-width: 768px) {
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 2.1rem; }

  .topbar__mail { display: inline; }
  .topbar__cta { display: none; }        /* email visible -> plus besoin du bouton */

  .main-nav { display: flex; gap: 22px; }
  .main-nav a { color: var(--vert-profond); font-weight: 600; font-size: 0.96rem; }
  .site-header__cta { display: inline-flex; }

  .hero__inner { padding-top: 96px; padding-bottom: 96px; }
  .hero h1 { font-size: 2.8rem; }
  .hero__actions { display: flex; flex-wrap: wrap; }
  .reassure { grid-template-columns: 1fr 1fr; }

  .proofs__grid { grid-template-columns: 1fr 1fr; gap: 22px; }

  .benefit__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }

  .services__grid { grid-template-columns: 1fr 1fr; }

  .formules__grid { grid-template-columns: repeat(3, 1fr); }

  .why__grid { grid-template-columns: 1fr 1fr; gap: 26px 32px; }

  .process__steps { grid-template-columns: repeat(2, 1fr); }

  .zone__grid { grid-template-columns: 1fr 1fr; align-items: center; }

  .grid-2 { grid-template-columns: 1fr 1fr; gap: 16px; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .footer__bottom { display: flex; justify-content: space-between; }

  /* La barre CTA fixe mobile n'apparait qu'en dessous de 768px */
  .mobile-cta { display: none; }
}

/* =========================================================================
   DESKTOP : 1024px et plus
   ========================================================================= */
@media (min-width: 1024px) {
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head h2 { font-size: 2.35rem; }

  .hero h1 { font-size: 3.2rem; }
  .hero__content { max-width: 680px; }
  .hero__lead { font-size: 1.15rem; }

  .proofs__grid { grid-template-columns: repeat(4, 1fr); }

  .why__grid { grid-template-columns: repeat(4, 1fr); }

  /* Processus : ligne horizontale a 4 etapes avec trait de liaison */
  .process__steps { grid-template-columns: repeat(4, 1fr); position: relative; }
  .process__step { text-align: left; }

  .benefit__grid { gap: 48px; }
  .zone__grid { gap: 48px; }

  .form-card { padding: 34px; }
}
