/* =========================================================
   HORIZON VERT — LP v2 « conversion » (élagage)
   Même DA que la v1 : éditorial nature contemporain
   ========================================================= */

:root{
  --bg:     #FAF8F3;
  --ink:    #12261E;
  --forest: #1B4332;
  --acid:   #C7F04A;
  --muted:  #6B7A72;
  --line:   #E3DFD4;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 11vw, 120px);

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-text: "Instrument Sans", sans-serif;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px){ body{ font-size: 18px; } }

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

h1,h2,h3{ font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
h2{ font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.03; }
h3{ font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
p{ margin: 0; }

.wrap{ width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow{ font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.eyebrow-light{ color: rgba(250,248,243,.7); }

.hl{ background: linear-gradient(transparent 62%, var(--acid) 62%); padding-inline: .05em; }

/* ---------- Boutons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-text); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-acid{ background: var(--acid); color: var(--ink); }
.btn-acid:hover{ background: #b6e336; }
.btn-dark{ background: var(--ink); color: var(--bg); }
.btn-dark:hover{ background: var(--forest); }
.btn-ghost-light{ background: transparent; color: var(--bg); border-color: rgba(250,248,243,.4); }
.btn-ghost-light:hover{ background: var(--bg); color: var(--ink); }
.btn-block{ width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{ position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner{ display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
.brand{ display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.2rem; }
.brand-mark{ width: 26px; height: 26px; color: var(--forest); flex: none; }
.header-nav{ display: none; gap: 2rem; }
.header-nav a{ font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .15s ease; }
.header-nav a:hover{ color: var(--ink); }
.header-tel{ display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; padding: .55rem 1rem; border: 1px solid var(--ink); border-radius: 999px; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.header-tel svg{ width: 17px; height: 17px; }
.header-tel:hover{ background: var(--ink); color: var(--bg); }
.header-tel span{ display: none; }
@media (min-width: 560px){ .header-tel span{ display: inline; } }
@media (min-width: 900px){ .header-nav{ display: flex; } }

/* =========================================================
   HERO + FORMULAIRE
   ========================================================= */
.hero{ position: relative; overflow: hidden; background: var(--ink); color: var(--bg); }
.hero-bg{ position: absolute; inset: 0; z-index: 0; }
.hero-bg img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .28; }
.hero::after{ content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(18,38,30,.75), rgba(18,38,30,.92)); }

.hero-grid{
  position: relative; z-index: 2;
  display: grid; gap: clamp(32px, 5vw, 56px); align-items: center;
  padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(48px, 8vw, 96px);
}
@media (min-width: 940px){ .hero-grid{ grid-template-columns: 1.05fr .95fr; align-items: center; } }

.hero-copy .eyebrow{ color: var(--acid); }
.hero h1{ font-size: clamp(2.6rem, 6vw, 5rem); margin: .3rem 0 1.4rem; }
.hero-lead{ font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: rgba(250,248,243,.85); max-width: 44ch; margin-bottom: 1.8rem; }

.hero-usp{ list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .7rem; }
.hero-usp li{ display: flex; align-items: center; gap: .7rem; font-weight: 500; color: rgba(250,248,243,.95); }
.hero-usp svg{ width: 20px; height: 20px; flex: none; color: var(--acid); }

.hero-callnote{ display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .6rem; padding-top: 1.4rem; border-top: 1px solid rgba(250,248,243,.18); font-size: .98rem; }
.hero-callnote span{ color: rgba(250,248,243,.7); }
.hero-callnote a{ color: var(--acid); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Carte formulaire */
.hero-form-card{ background: var(--bg); color: var(--ink); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); }
.hff-head{ margin-bottom: 1.4rem; }
.hff-head h2{ font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.hff-head p{ color: var(--muted); font-size: .98rem; }

.field-row{ display: grid; gap: 0; }
@media (min-width: 460px){ .field-row{ grid-template-columns: 1fr 1fr; gap: .9rem; } }

.field{ margin-bottom: .9rem; }
.field label{ display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; }
.field label span{ color: var(--muted); font-weight: 400; }
.field input, .field select{
  width: 100%; font-family: var(--font-text); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0; padding: .8rem 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus{ outline: none; border-color: var(--forest); box-shadow: 0 0 0 2px rgba(27,67,50,.12); }
.field input::placeholder{ color: #a9b2ad; }
.field select{ appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7A72' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field-file input{ padding: .65rem 1rem; font-size: .9rem; }
.field-file input::file-selector-button{ font-family: var(--font-text); font-weight: 600; margin-right: .9rem; padding: .45rem .9rem; border: 1px solid var(--ink); background: transparent; border-radius: 999px; cursor: pointer; }

.devis-form .btn{ margin-top: .5rem; }
.hff-legal{ display: flex; align-items: flex-start; gap: .5rem; margin-top: 1rem; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.hff-legal svg{ width: 16px; height: 16px; flex: none; margin-top: .1rem; color: var(--forest); }

/* =========================================================
   BANDEAU CONFIANCE
   ========================================================= */
.trust{ background: var(--acid); }
.trust-inner{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(18,38,30,.14); border-inline: 1px solid rgba(18,38,30,.14); }
@media (min-width: 720px){ .trust-inner{ grid-template-columns: repeat(4, 1fr); } }
.trust-item{ background: var(--acid); color: var(--ink); text-align: center; padding: 1.3rem 1rem; }
.trust-item strong{ display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; }
.trust-item span{ font-size: .85rem; color: rgba(18,38,30,.7); font-weight: 500; }

/* =========================================================
   POURQUOI UN PRO
   ========================================================= */
.why{ padding-block: var(--section-y); }
.why-grid{ display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 880px){ .why-grid{ grid-template-columns: 1fr 1fr; } }
.why-media img{ width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.why-copy h2{ margin: 0 0 1.2rem; }
.why-copy > p{ color: var(--muted); max-width: 48ch; margin-bottom: 1.6rem; }
.why-list{ list-style: none; margin: 0 0 2rem; padding: 0; }
.why-list li{ position: relative; padding-left: 1.6rem; margin-bottom: .8rem; }
.why-list li::before{ content:""; position:absolute; left:0; top:.55em; width:.6rem; height:.6rem; background: var(--acid); border-radius:999px; }
.why-list span{ font-weight: 600; }

/* =========================================================
   SERVICES (repris de la v1)
   ========================================================= */
.services{ padding-bottom: var(--section-y); }
.section-head{ max-width: 60ch; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2{ margin-bottom: 1.1rem; }
.section-intro{ color: var(--muted); font-size: 1.08rem; }

.services-list{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px){ .services-list{ grid-template-columns: repeat(6, 1fr); } }
.svc{ background: var(--bg); display: flex; flex-direction: column; grid-column: span 2; }
@media (min-width: 720px){
  .svc{ grid-column: span 2; }
  .svc-lg{ grid-column: span 4; flex-direction: row; }
  .svc-text{ grid-column: span 3; }
}
.svc-media{ overflow: hidden; }
.svc-media img{ width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.svc-lg .svc-media{ flex: 1 1 55%; }
.svc-lg .svc-media img{ aspect-ratio: auto; min-height: 260px; }
.svc:hover .svc-media img{ transform: scale(1.04); }
.svc-body{ padding: 1.6rem clamp(1.2rem, 2vw, 1.8rem) 1.8rem; }
.svc-lg .svc-body{ flex: 1 1 45%; align-self: center; }
.svc-body-solo{ padding-top: 2rem; }
.svc-num{ display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--muted); margin-bottom: .7rem; }
.svc-body h3{ margin-bottom: .5rem; }
.svc-body p{ color: var(--muted); font-size: .98rem; }

.section-cta{ margin-top: clamp(40px, 6vw, 64px); text-align: center; }

/* =========================================================
   PROCESS 3 ÉTAPES (section inversée forest)
   ========================================================= */
.process{ background: var(--forest); color: var(--bg); padding-block: var(--section-y); }
.section-head-light h2{ color: var(--bg); }
.steps{ list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(250,248,243,.16); border: 1px solid rgba(250,248,243,.16); }
@media (min-width: 760px){ .steps{ grid-template-columns: repeat(3, 1fr); } }
.steps li{ background: var(--forest); padding: 2rem clamp(1.4rem, 2.2vw, 2rem) 2.2rem; }
.step-num{ display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--acid); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 1.2rem; }
.steps h3{ margin-bottom: .5rem; }
.steps p{ color: rgba(250,248,243,.78); }
.process .section-cta{ text-align: center; }

/* =========================================================
   AVANT / APRÈS
   ========================================================= */
.beforeafter{ padding-block: var(--section-y); }
.ba-grid{ display: grid; gap: 1.2rem; }
@media (min-width: 680px){ .ba-grid{ grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); } }
.ba-item{ position: relative; margin: 0; background: var(--bg); }
.ba-item img{ width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ba-label{ position: absolute; top: 1rem; left: 1rem; background: var(--bg); color: var(--ink); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); }
.ba-label-after{ background: var(--acid); border-color: var(--acid); }

/* =========================================================
   AVIS
   ========================================================= */
.avis{ padding-bottom: var(--section-y); }
.avis-grid{ display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 780px){ .avis-grid{ grid-template-columns: repeat(3, 1fr); } }
.avis-card{ background: var(--bg); margin: 0; padding: 2rem clamp(1.4rem, 2vw, 1.8rem); display: flex; flex-direction: column; gap: 1rem; }
.stars{ display: flex; gap: .15rem; }
.stars svg{ width: 20px; height: 20px; fill: var(--acid); }
.avis-card blockquote{ margin: 0; font-size: 1.05rem; line-height: 1.55; }
.avis-card figcaption{ margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--muted); }

/* =========================================================
   PREUVES / GARANTIES (fond ink)
   ========================================================= */
.preuves{ background: var(--ink); color: var(--bg); padding-block: var(--section-y); }
.preuves-grid{ display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 900px){ .preuves-grid{ grid-template-columns: .85fr 1.15fr; align-items: start; } }
.preuves-head h2{ margin: 0 0 1.2rem; }
.preuves-head p{ color: rgba(250,248,243,.75); margin-bottom: 2rem; max-width: 40ch; }
.preuves-liste{ list-style: none; margin: 0; padding: 0; }
.preuves-liste li{ display: flex; gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid rgba(250,248,243,.16); }
.preuves-liste li:last-child{ border-bottom: 1px solid rgba(250,248,243,.16); }
.preuves-liste svg{ width: 30px; height: 30px; flex: none; color: var(--acid); }
.preuves-liste h3{ margin-bottom: .3rem; }
.preuves-liste p{ color: rgba(250,248,243,.72); font-size: .98rem; }

/* =========================================================
   BANDEAU CTA
   ========================================================= */
.ctaband{ padding-block: var(--section-y); }
.ctaband-inner{ background: var(--acid); color: var(--ink); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 820px){ .ctaband-inner{ grid-template-columns: 1.4fr 1fr; } }
.ctaband-inner h2{ margin-bottom: .8rem; }
.ctaband-inner p{ color: rgba(18,38,30,.8); max-width: 42ch; }
.ctaband-actions{ display: flex; flex-wrap: wrap; gap: .8rem; }
.ctaband-actions .btn-acid{ background: var(--ink); color: var(--bg); }
.ctaband-actions .btn-acid:hover{ background: var(--forest); }
.ctaband-actions .btn-ghost-light{ color: var(--ink); border-color: var(--ink); }
.ctaband-actions .btn-ghost-light:hover{ background: var(--ink); color: var(--acid); }

/* =========================================================
   ZONE
   ========================================================= */
.zone{ padding-bottom: var(--section-y); }
.zone-liste{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.zone-liste li{ border: 1px solid var(--line); padding: .6rem 1.1rem; font-weight: 500; font-size: .98rem; transition: border-color .15s ease; }
.zone-liste li:hover{ border-color: var(--ink); }
.zone-liste li:nth-child(1){ background: var(--forest); color: var(--bg); border-color: var(--forest); }

/* =========================================================
   FAQ
   ========================================================= */
.faq{ padding-bottom: var(--section-y); }
.faq-list{ border-top: 1px solid var(--line); }
.faq details{ border-bottom: 1px solid var(--line); }
.faq summary{ list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker{ display: none; }
.faq-plus{ position: relative; width: 20px; height: 20px; flex: none; }
.faq-plus::before, .faq-plus::after{ content:""; position:absolute; top:50%; left:50%; transform: translate(-50%, -50%); background: var(--ink); }
.faq-plus::before{ width: 16px; height: 2px; }
.faq-plus::after{ width: 2px; height: 16px; transition: transform .2s ease; }
.faq details[open] .faq-plus::after{ transform: translate(-50%, -50%) scaleY(0); }
.faq-answer{ padding: 0 0 1.6rem; max-width: 68ch; }
.faq-answer p{ color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--ink); color: var(--bg); padding-top: var(--section-y); }
.footer-grid{ display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 3rem; }
@media (min-width: 620px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px){ .footer-grid{ grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.brand-light{ color: var(--bg); margin-bottom: 1rem; }
.footer-brand p{ color: rgba(250,248,243,.6); max-width: 34ch; font-size: .95rem; }
.footer-col h3{ font-family: var(--font-text); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); margin-bottom: 1rem; }
.nap{ color: rgba(250,248,243,.72); font-size: .95rem; line-height: 1.7; }
.footer-tel{ font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.footer-tel:hover{ color: var(--acid); }
.footer-bottom{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: 1.6rem; border-top: 1px solid rgba(250,248,243,.16); font-size: .8rem; color: rgba(250,248,243,.5); }
.footer-bottom a{ text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover{ color: var(--acid); }

/* =========================================================
   BARRE STICKY MOBILE
   ========================================================= */
.mobile-callbar{ position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 1px; background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mobile-callbar a{ flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; font-weight: 600; font-size: 1rem; }
.mcb-tel{ background: var(--ink); color: var(--bg); }
.mcb-tel svg{ width: 18px; height: 18px; }
.mcb-devis{ background: var(--acid); color: var(--ink); }
@media (min-width: 768px){ .mobile-callbar{ display: none; } }
@media (max-width: 767px){ body{ padding-bottom: 60px; } }

/* =========================================================
   A11Y
   ========================================================= */
@media (prefers-reduced-motion: reduce){ *{ transition: none !important; scroll-behavior: auto !important; } }
:focus-visible{ outline: 2px solid var(--acid); outline-offset: 2px; }
.btn-acid:focus-visible{ outline-color: var(--ink); }
