/* ==========================================================================
   Paysagiste de proximité — style.css
   1. Réglages de base et jetons de couleur
   2. Éléments communs (boutons, titres de section, animations)
   3. En-tête
   4. Bannière
   5. Services, techniques, pourquoi, déroulement, questions
   6. Bande de rappel
   7. Formulaire et parcours de qualification
   8. Pied de page
   9. Adaptations tablette et mobile
   ========================================================================== */

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:root {
  /* Vert de l'arbre, du plus sombre au plus clair */
  --vert-900: #0B3A1E;
  --vert-800: #14532D;
  --vert: #15803D;
  --vert-600: #16A34A;
  --vert-400: #4ADE80;
  --vert-100: #DCFCE7;
  --vert-050: #F2FBF4;
  /* Accents */
  --lime: #A3E635;
  --sable: #EADFC8;
  --ambre: #D97706;
  /* Textes et fonds */
  --ink: #12211A;
  --ink-2: #1F3329;
  --dim: #4B5B52;
  --dim-clair: rgba(255, 255, 255, .82);
  --blanc: #FFFFFF;
  --creme: #F8FBF7;
  --creme-2: #EEF5EC;
  --line: rgba(18, 33, 26, .09);
  --line-2: rgba(18, 33, 26, .17);
  /* Dégradés */
  --deg-vert: linear-gradient(118deg, var(--vert) 0%, var(--vert-600) 55%, #22C55E 100%);
  --deg-fonce: linear-gradient(135deg, var(--vert-900) 0%, var(--vert-800) 55%, #17612F 100%);
  --deg-texte: linear-gradient(100deg, var(--vert) 0%, var(--vert-600) 45%, #65A30D 100%);
  --deg-clair: linear-gradient(180deg, var(--vert-050) 0%, var(--blanc) 100%);
  /* Ombres et rayons */
  --sh-sm: 0 2px 6px rgba(11, 58, 30, .06);
  --sh: 0 10px 28px rgba(11, 58, 30, .09);
  --sh-lg: 0 22px 54px rgba(11, 58, 30, .14);
  --sh-vert: 0 8px 22px rgba(21, 128, 61, .30);
  --r: 14px;
  --r-lg: 22px;
  --maxw: 1240px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--blanc); -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(44px, 5.5vw, 76px) 0; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.16; letter-spacing: -0.022em; color: var(--ink); }
h1 { font-size: clamp(33px, 5vw, 52px); }
h2 { font-size: clamp(25px, 3.5vw, 37px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); }
p { color: var(--dim); }
em { font-style: normal; color: var(--vert); font-weight: inherit; }

/* Texte en dégradé : réservé aux titres, jamais au corps de texte. */
.degrade {
  background: var(--deg-texte);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.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; }

/* ---------- 2. Éléments communs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border: 0; border-radius: 12px;
  font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { position: relative; overflow: hidden; background: var(--deg-vert); color: #fff; box-shadow: var(--sh-vert); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(21, 128, 61, .38); }
/* Reflet qui traverse le bouton au survol. */
.btn-primary::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn-primary:hover::after { animation: reflet .75s ease; }
@keyframes reflet { to { transform: translateX(120%); } }

.btn-clair { background: #fff; color: var(--vert-800); box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.btn-clair:hover { color: var(--vert-800); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .2); }

.section-marker {
  display: inline-block; margin-bottom: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--vert);
}
.section-marker-clair { color: var(--vert-400); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 12px; }
.section-sub { font-size: 17px; color: var(--dim); }

/* Apparition au défilement, pilotée par script.js. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary:hover::after { animation: none; }
  .point { animation: none; }
}

/* ---------- 3. En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.est-defile { box-shadow: 0 6px 22px rgba(11, 58, 30, .1); background: rgba(255, 255, 255, .97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; }
/* Le logo porte déjà le nom de l'entreprise : il remplace le texte à côté,
   donc il est nettement plus grand. */
.logo-img { width: auto; height: 46px; max-width: 260px; object-fit: contain; flex-shrink: 0; }
.logo-text strong { display: block; font-size: 16px; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.logo-text em { display: block; font-size: 12.5px; font-style: normal; font-weight: 500; color: var(--vert); }
.nav-desktop { display: flex; gap: 4px; }
.nav-desktop a {
  position: relative; padding: 8px 14px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .15s, background .15s;
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--deg-vert); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav-desktop a:hover { color: var(--vert-800); }
.nav-desktop a:hover::after { transform: scaleX(1); }
.header-ctas { display: flex; gap: 10px; }
.header-ctas .btn { padding: 10px 18px; font-size: 14px; }
.menu-toggle { display: none; width: 38px; height: 38px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; }
.nav-mobile {
  display: none; flex-direction: column; gap: 4px; padding: 14px 22px;
  background: var(--creme); border-top: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px 14px; border-radius: 9px; font-weight: 600; color: var(--ink); }
.nav-mobile .btn { margin-top: 6px; color: #fff; }

/* ---------- 4. Bannière ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: var(--vert-900); }
.hero-fond { position: absolute; inset: 0; }
.hero-fond img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
/* Voile dégradé : l'image seule ne laisserait pas lire le texte blanc. Plus
   dense à gauche, où se trouve le texte, plus clair à droite sous le
   formulaire, dont la carte blanche se détache d'elle-même. */
.hero-voile {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 44, 23, .90) 0%, rgba(9, 48, 25, .80) 36%,
    rgba(11, 58, 30, .50) 64%, rgba(11, 58, 30, .28) 100%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr;
  grid-template-areas: "title visual" "text visual"; gap: 0 40px; align-items: start;
}
.hero-title { grid-area: title; margin-bottom: 18px; }
.hero-text { grid-area: text; }
.hero-visual { grid-area: visual; align-self: center; }
.hero-lead { font-size: 18px; color: var(--dim); margin-bottom: 28px; max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }

.pastille {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  padding: 7px 15px; border-radius: 50px;
  background: rgba(21, 128, 61, .08); border: 1px solid rgba(21, 128, 61, .2);
  font-size: 13px; font-weight: 600; color: var(--vert-800);
}
.point { width: 8px; height: 8px; border-radius: 50%; background: var(--vert-600); animation: battement 1.8s infinite; }
@keyframes battement {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); }
  70% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--vert-800); }
.trust-item span { display: block; font-size: 13px; color: var(--dim); }

/* ---------- 5. Services ---------- */
.section-services { background: var(--blanc); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(21, 128, 61, .3); }
.service-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--creme-2); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-image img { transform: scale(1.06); }
/* Voile vert qui se lève au survol, pour lier l'image au reste de la charte. */
.service-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 58, 30, 0) 45%, rgba(11, 58, 30, .35) 100%);
  opacity: .75; transition: opacity .3s ease;
}
.service-card:hover .service-image::after { opacity: .3; }
.service-corps { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.service-corps h3 { margin-bottom: 10px; }
.service-corps p { font-size: 15px; margin-bottom: 16px; }
.lien-devis {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-size: 14.5px; font-weight: 700; color: var(--vert);
}
.lien-devis svg { width: 16px; height: 16px; transition: transform .18s ease; }
.lien-devis:hover { color: var(--vert-800); }
.lien-devis:hover svg { transform: translateX(4px); }

/* ---------- 5b. Techniques ---------- */
.section-techniques { background: var(--creme); }
.tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tech-card {
  position: relative; padding: 30px 26px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.tech-num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 15px; background: var(--deg-vert); color: #fff;
  font-size: 20px; font-weight: 800; letter-spacing: -1px; box-shadow: var(--sh-vert);
}
.tech-card h3 { margin-bottom: 10px; }
.tech-card p { font-size: 15px; }

/* ---------- 5c. Pourquoi un professionnel ---------- */
.section-pourquoi { background: var(--deg-fonce); color: #fff; }
.section-pourquoi h2 { color: #fff; }
.section-pourquoi em { color: var(--vert-400); }
.section-pourquoi p { color: var(--dim-clair); }
.pourquoi-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center; }
.pourquoi-texte h2 { margin-bottom: 16px; }
.pourquoi-texte > p { font-size: 17px; margin-bottom: 24px; }
.pourquoi-pts { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.pourquoi-pts li { position: relative; padding-left: 30px; font-size: 15px; color: var(--dim-clair); }
.pourquoi-pts li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%;
  background: var(--vert-600); color: #fff; font-size: 12px; font-weight: 800;
}
.pourquoi-pts strong { color: #fff; }
/* Largeur plafonnée et bloc calé à droite : le badge « 24h » étant ancré sur
   ce conteneur, le réduire ici le garde aligné sur l'image. */
.pourquoi-visuel { position: relative; width: 100%; max-width: 480px; margin-left: auto; }
.pourquoi-visuel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.visuel-badge {
  position: absolute; bottom: -18px; left: -18px; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); max-width: 250px;
}
.badge-num {
  font-size: 30px; font-weight: 800; line-height: 1;
  background: var(--deg-texte); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.badge-text { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); }

/* ---------- 5d. Déroulement ---------- */
.section-deroulement { background: var(--blanc); }
.etapes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.etape-card {
  position: relative; padding: 28px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.etape-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: rgba(21, 128, 61, .28); }
.etape-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--vert-100); color: var(--vert-800);
  font-size: 16px; font-weight: 800;
}
.etape-card h3 { font-size: 18px; margin-bottom: 8px; }
.etape-card p { font-size: 14.5px; }

/* ---------- 5e. Questions fréquentes ---------- */
.section-faq { background: var(--creme); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-liste { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-sm); transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: rgba(21, 128, 61, .3); box-shadow: var(--sh); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 700; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: 0 0 26px; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--vert-100); color: var(--vert-800);
  font-size: 17px; font-weight: 800; transition: transform .25s ease, background .2s ease;
}
.faq-item[open] summary::after { content: '−'; background: var(--deg-vert); color: #fff; transform: rotate(180deg); }
.faq-item p { padding: 0 22px 20px; font-size: 15px; }

/* ---------- 7. Formulaire ---------- */
/* Questions et formulaire forment un seul bloc continu : même fond, aucun
   filet, et l'espace vertical entre les deux est réduit pour qu'on ne devine
   aucune limite. */
.section-contact { background: var(--creme); }
.section-faq { padding-bottom: clamp(32px, 3.5vw, 46px); }
.section-contact { padding-top: clamp(32px, 3.5vw, 46px); }
.contact-single { max-width: 720px; }
.contact-single .section-head { margin-bottom: 26px; }

.contact-form { background: #fff; padding: 30px; border-radius: var(--r-lg); box-shadow: var(--sh); }
.contact-form label { display: block; min-width: 0; margin-bottom: 14px; }
.contact-form label > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(21, 128, 61, .14);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form input.invalid, .contact-form textarea.invalid { border-color: #DC2626; background: #FEF2F2; }
.contact-form .field-error { display: block; margin-top: 4px; font-size: .8rem; font-weight: 600; color: #B91C1C; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.contact-form .form-row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.hero-form .contact-form { padding: 26px 32px; box-shadow: var(--sh-lg); }
.hero-form-title { font-size: clamp(21px, 2vw, 25px); line-height: 1.2; margin-bottom: 6px; color: var(--ink); }

.form-sous-titre {
  display: flex; align-items: center; gap: 8px; margin: 0 0 18px;
  font-size: 14px; font-weight: 700; color: var(--vert);
}
.form-sous-titre svg { width: 17px; height: 17px; flex: 0 0 17px; }
.section-head .form-sous-titre { justify-content: center; margin: 10px 0 0; }

/* Case de consentement, obligatoire, au-dessus du bouton. */
.contact-form .consent-field { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; margin: 4px 0 18px; }
.contact-form input[type="checkbox"] {
  width: 18px; height: 18px; flex: 0 0 18px; padding: 0; margin-top: 2px;
  accent-color: var(--vert); cursor: pointer;
}
.contact-form .consent-label { display: block; flex: 1; margin: 0; font-size: 13px; line-height: 1.5; color: var(--dim); cursor: pointer; }
.contact-form .consent-label a { color: var(--vert-800); text-decoration: underline; }
.contact-form input[type="checkbox"].invalid { outline: 2px solid #DC2626; outline-offset: 2px; }
.contact-form .consent-field .field-error { flex-basis: 100%; margin-left: 28px; }

.form-feedback .ok { margin-top: 14px; padding: 14px 18px; border-radius: 10px; font-weight: 600; background: rgba(21, 128, 61, .1); color: var(--vert-800); }
.form-feedback .err { margin-top: 14px; padding: 14px 18px; border-radius: 10px; background: #FEF2F2; color: #B91C1C; }

/* ---------- 7b. Parcours de qualification ---------- */
.parcours-corps { display: flex; flex-direction: column; min-height: 320px; }
.parcours-noscript { font-size: 14px; color: var(--dim); margin: 0; }

.parcours-entete { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.parcours-compte { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vert); white-space: nowrap; }
.parcours-jauge { flex: 1; height: 6px; border-radius: 999px; background: var(--creme-2); overflow: hidden; }
.parcours-jauge > span { display: block; height: 100%; border-radius: 999px; background: var(--deg-vert); transition: width .35s ease; }

.parcours-etape { display: flex; flex-direction: column; justify-content: center; flex: 1 1 auto; min-width: 0; border: 0; padding: 0; margin: 0 0 18px; }
.parcours-etape:focus { outline: none; }
.parcours-titre { display: block; width: 100%; padding: 0; margin-bottom: 6px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; line-height: 1.3; color: var(--ink); }
.parcours-aide { font-size: 13px; color: var(--dim); margin: 0 0 14px; }
.parcours-titre + .parcours-options { margin-top: 18px; }

.parcours-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.parcours-options.est-1col { grid-template-columns: minmax(0, 1fr); }
.parcours-options.est-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Taille des cartes selon le nombre de rangées, pour occuper la hauteur fixe. */
.parcours-options.est-large { gap: 12px; }
.parcours-options.est-large .parcours-option { padding: 25px 18px; }
.contact-form .est-large .parcours-option > label { font-size: 16px; }
.parcours-options.est-aeree { gap: 12px; }
.parcours-options.est-aeree .parcours-option { padding: 17px 18px; }
.contact-form .est-aeree .parcours-option > label { font-size: 16px; }
.parcours-options.est-moyenne { gap: 11px; }
.parcours-options.est-moyenne .parcours-option { padding: 16px 17px; }
.parcours-options.est-compacte { gap: 8px; }
.parcours-options.est-compacte .parcours-option { padding: 10px 13px; }
.contact-form .est-compacte .parcours-option > label { font-size: 14.5px; line-height: 1.3; }

.parcours-option {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.parcours-option:hover { border-color: var(--vert); background: rgba(21, 128, 61, .05); transform: translateY(-1px); }
.parcours-option.est-cochee { border-color: var(--vert); background: rgba(21, 128, 61, .07); box-shadow: inset 0 0 0 1px var(--vert); }
.contact-form .parcours-option input[type="radio"],
.contact-form .parcours-option input[type="checkbox"] {
  width: 18px; height: 18px; flex: 0 0 18px; margin: 0; padding: 0; accent-color: var(--vert); cursor: pointer;
}
/* Le halo de focus des champs ne doit pas s'appliquer aux puces : la première
   réponse paraîtrait présélectionnée. Le liseré clavier, lui, reste visible. */
.contact-form .parcours-option input[type="radio"]:focus,
.contact-form .parcours-option input[type="checkbox"]:focus { box-shadow: none; outline: none; }
.contact-form .parcours-option input[type="radio"]:focus-visible,
.contact-form .parcours-option input[type="checkbox"]:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }
.contact-form .parcours-option > label {
  flex: 1; min-width: 0; margin: 0; font-size: 15.5px; line-height: 1.35;
  color: var(--ink-2); cursor: pointer; overflow-wrap: anywhere;
}
.contact-form .parcours-precision { flex-basis: 100%; margin-top: 2px; padding: 9px 12px; font-size: 14px; }
.contact-form .parcours-libre { margin-bottom: 0; }

.parcours-nav { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.parcours-nav .parcours-suivant { flex: 1; }
.parcours-retour {
  flex: 0 0 auto; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 12px;
  background: #fff; color: var(--dim); font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: border-color .15s, color .15s;
}
.parcours-retour:hover { border-color: var(--vert); color: var(--vert-800); }

/* Hauteur fixe là où la bannière est sur deux colonnes : la colonne de texte
   ne bouge plus d'une question à l'autre. */
@media (min-width: 981px) {
  .hero-grid { grid-template-columns: 55fr 45fr; column-gap: 44px;
    grid-template-areas: ". visual" "title visual" "text visual" ". visual";
    grid-template-rows: 1fr auto auto 1fr; }
  .hero-form { width: 100%; justify-self: stretch; }
  .parcours-corps { height: 520px; min-height: 0; }
  /* overflow-y est un filet de sécurité si une liste ne tient pas dans la
     hauteur fixe. Mais il coupe aussi le soulèvement du survol sur la première
     rangée : ce padding lui réserve la place, et la marge négative annule le
     décalage, la hauteur du bloc reste donc identique. */
  .parcours-options { overflow-y: auto; padding-top: 3px; margin-top: -3px; }
}

/* ---------- 8. Pied de page ---------- */
.site-footer { background: var(--deg-fonce); color: rgba(255, 255, 255, .72); padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 36px; }
.foot-brand .logo-text strong { color: #fff; font-size: 18px; }
.foot-brand .logo-text em { color: var(--vert-400); }
.foot-brand p { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .66); }
.foot-nav h3, .foot-contact h3 { margin-bottom: 14px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav a { font-size: 14px; color: rgba(255, 255, 255, .72); transition: color .15s; }
.foot-nav a:hover { color: #fff; }
.foot-contact p { font-size: 14px; color: rgba(255, 255, 255, .66); margin-bottom: 16px; }
.foot-bottom { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; text-align: center; color: #fff; }
.foot-bottom p { color: #fff; }
.foot-bottom a { color: #fff; }
.foot-bottom a { text-decoration: underline; }
.foot-bottom a:hover { text-decoration-thickness: 2px; }

/* ---------- 9. Tablette et mobile ---------- */
@media (max-width: 1080px) {
  .services-grid, .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 980px) {
  /* Bannière empilée : texte, boutons, formulaire, puis garanties. */
  .hero-text { display: contents; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "title" "lead" "ctas" "visual" "trust"; gap: 24px; }
  .hero-title { margin-bottom: 0; }
  .hero-lead { grid-area: lead; margin-bottom: 0; }
  .hero-ctas { grid-area: ctas; margin-bottom: 0; }
  .hero-trust { grid-area: trust; border-top: 0; padding-top: 0; }
  .pourquoi-grid { grid-template-columns: 1fr; gap: 36px; }
  .pourquoi-visuel { order: -1; }
  .visuel-badge { left: 14px; right: 14px; bottom: -14px; max-width: none; }
}

@media (max-width: 720px) {
  .nav-desktop, .header-ctas { display: none; }
  .menu-toggle { display: block; }
  .services-grid, .tech-grid, .etapes-grid, .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .hero { padding: 32px 0 44px; }
  .section-head { margin-bottom: 26px; }
  /* « Demander un devis gratuit » ne tient pas à côté d'un second bouton sur
     un écran étroit : les deux passent l'un sous l'autre, pleine largeur. */
  .hero-ctas .btn { flex: 1 1 0; justify-content: center; }
  /* Les trois garanties tiennent sur une seule ligne. */
  .hero-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .trust-item strong { font-size: 13px; }
  .trust-item span { font-size: 11.5px; line-height: 1.3; }
}

@media (max-width: 560px) {
  .contact-form { padding: 22px 18px; }
  .hero-form .contact-form { padding-left: 20px; padding-right: 20px; }
  /* Colonnes étroites : césure autorisée, et texte plus petit sur deux colonnes. */
  .contact-form .parcours-option > label { -webkit-hyphens: auto; hyphens: auto; }
  .contact-form .est-2col .parcours-option > label { font-size: 14px; }
  .est-2col .parcours-option { padding-left: 11px; padding-right: 11px; gap: 8px; }
}

/* ---------- Page de remerciement ---------- */
.merci { padding: clamp(50px, 7vw, 96px) 0; background: var(--deg-clair); text-align: center; }
.merci-card { max-width: 660px; margin: 0 auto; padding: clamp(32px, 5vw, 52px) clamp(22px, 5vw, 48px);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.merci-icone { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; display: grid;
  place-items: center; background: var(--vert-100); color: var(--vert-800); }
.merci-icone svg { width: 32px; height: 32px; }
.merci h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin-bottom: 12px; }
.merci p { font-size: 17px; line-height: 1.6; color: var(--dim); margin: 0 auto 12px; max-width: 48ch; }
.merci-etapes { display: grid; gap: 12px; max-width: 460px; margin: 26px auto 22px; text-align: left; }
.merci-etapes li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.merci-etapes span { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--deg-vert); color: #fff; font-weight: 700; font-size: 13px; }
.merci .merci-astuce { font-size: 14px; margin-bottom: 26px; }

/* ---------- Déroulement : visuel à gauche, étapes à droite ---------- */
.deroulement-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.deroulement-visuel img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 30%;
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.section-deroulement .etapes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .deroulement-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .section-deroulement .etapes-grid { grid-template-columns: 1fr; }
}

/* Le champ « Précisions » de l'écran adresse doit rester bas : la hauteur du
   formulaire est fixe et cet écran est le plus chargé. */
.contact-form .parcours-etape textarea[name="precisions"] { min-height: 62px; }

/* ---------- Bannière sur image : textes en clair ---------- */
.hero h1, .hero .hero-form-title { color: #fff; }
.hero .hero-form-title { color: var(--ink); }
.hero-lead { color: rgba(255, 255, 255, .88); }
.hero .degrade { background: linear-gradient(100deg, var(--vert-400), var(--lime));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.pastille { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .28); color: #fff; }
.hero-trust { border-top-color: rgba(255, 255, 255, .2); }
.hero .trust-item strong { color: var(--vert-400); }
.hero .trust-item span { color: rgba(255, 255, 255, .76); }

/* Bouton secondaire sur fond sombre : contour clair plutôt qu'aplat noir. */
.btn-contour { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.btn-contour:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: #fff; transform: translateY(-2px); }

/* Pied de page : le nom reste écrit, le logo n'y figurant pas. */
.foot-brand .logo-text strong { display: block; }
@media (max-width: 720px) { .logo-img { height: 34px; max-width: 180px; } }

/* Mobile : le texte occupe toute la largeur, le voile doit donc être dense
   partout, et non seulement à gauche. */
@media (max-width: 980px) {
  .hero-voile { background: linear-gradient(180deg, rgba(8, 44, 23, .86) 0%, rgba(9, 48, 25, .90) 55%, rgba(11, 58, 30, .94) 100%); }
  .hero-fond img { object-position: center 30%; }
}

/* ---------- Motif de feuilles du pied de page ----------
   Tuile fournie, conçue pour se raccorder. Posée DERRIÈRE le contenu
   (z-index négatif dans un contexte isolé) : le texte reste au premier plan.
   Un dégradé l'estompe vers le bas, où le texte est dense. */
.site-footer { position: relative; isolation: isolate; }
.site-footer::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: url("svg-elagueur/motif-fond-feuilles.svg") repeat;
  background-size: 200px 200px;
  opacity: .12;
}
.site-footer::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, transparent 58%, rgba(11, 58, 30, .5) 88%, rgba(11, 58, 30, .75) 100%);
}

/* Numéro de chaque service, posé sur l'angle libre de la photo : le voile
   dégradé de l'image se concentre en bas, le coin haut gauche reste net. */
.service-num {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 13px; background: var(--deg-vert); color: #fff;
  font-size: 16px; font-weight: 800; letter-spacing: -0.5px;
  box-shadow: 0 6px 16px rgba(11, 58, 30, .45);
  transition: transform .25s ease;
}
.service-card:hover .service-num { transform: translateY(-2px) scale(1.06); }

/* Champ de date : Safari et Chrome lui donnent une hauteur propre, on la
   ramène à celle des autres champs. */
.contact-form input[type="date"] { min-height: 46px; }

/* ==========================================================================
   Décors : petits SVG placés dans les zones vides du design
   --------------------------------------------------------------------------
   Purement décoratifs (aria-hidden dans le HTML), jamais cliquables, et
   toujours derrière le contenu. Masqués sous 980 px, où il n'y a plus d'espace
   libre : ils viendraient se superposer au texte.
   ========================================================================== */
.separateur { display: block; width: 260px; max-width: 70%; height: auto; margin: 18px auto 0; opacity: .85; }
.section-head-left .separateur, .section-head:not(.section-head-center) .separateur { margin-left: 0; }

.deco { position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: contain; }

/* Sections concernées : relative pour ancrer les décors, overflow pour que
   ceux qui débordent soient coupés net au bord. */
.section-services, .section-pourquoi, .section-faq, .section-contact { position: relative; overflow: hidden; }
.section-services > .container, .section-pourquoi > .container,
.section-faq > .container, .section-contact > .container { position: relative; z-index: 1; }

/* Haie en bas de la section services. Les cartes viennent volontairement se
   poser dessus : la haie monte légèrement derrière elles, ce qui évite tout
   filet de fond visible entre les deux à n'importe quelle largeur. */
@media (min-width: 981px) { .section-services { padding-bottom: 112px; } }
.deco-haie { left: 0; right: 0; bottom: -2px; height: 130px;
  background-image: url("svg-elagueur/haie-bas-de-section.svg");
  background-size: 1600px auto; background-position: center bottom; opacity: .5; }

/* Branche au trait blanc, pour la seule section à fond sombre. Elle mord sur
   le bord gauche : seule une partie est visible, le texte n'est pas gêné. */
.deco-branche-claire { left: -265px; top: -60px; width: 400px; height: 700px;
  background-image: url("svg-elagueur/branche-chene-contour-blanc.svg"); opacity: .16; }

/* Feuilles volantes dans la colonne gauche des questions, sous le texte. */
.deco-feuilles { left: -60px; bottom: -100px; width: 360px; height: 330px;
  background-image: url("svg-elagueur/feuilles-volantes.svg"); opacity: .5; }

/* Section contact : branche suspendue à droite et coupe de tronc à gauche,
   de part et d'autre du formulaire, qui ne fait que 720 px de large. */
.deco-suspendue { right: -60px; top: -40px; width: 380px; height: 460px;
  background-image: url("svg-elagueur/branche-suspendue-droite.svg"); opacity: .55; }
.deco-tronc { left: -110px; bottom: -80px; width: 380px; height: 360px;
  background-image: url("svg-elagueur/anneaux-tronc.svg"); opacity: .3; }

@media (max-width: 1240px) {
  .deco-suspendue { right: -150px; }
  .deco-tronc { left: -190px; }
  .deco-feuilles { left: -140px; }
}
@media (max-width: 980px) {
  .deco { display: none; }
  .separateur { width: 200px; margin-top: 14px; }
}

/* Boutons de la bannière : deux libellés, le long sur grand écran et le court
   sur mobile, pour qu'ils tiennent côte à côte sans être rognés. */
.txt-court { display: none; }
@media (max-width: 560px) {
  .hero-ctas { flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .btn { padding: 14px 10px; font-size: 14.5px; gap: 6px; min-width: 0; }
  /* La flèche prendrait la place du texte sur une si petite largeur. */
  .hero-ctas .btn svg { display: none; }
  .hero-ctas .txt-long { display: none; }
  .hero-ctas .txt-court { display: inline; }
}
