/* ===================================================================
   ENTRE NOUS — Premium Website Stylesheet
   Palette : vert forêt + chaleur terracotta/ambre + fond ivoire chaud
=================================================================== */
:root{
  /* Vert forêt */
  --green: #2E6B3F;
  --green-dark: #17381F;
  --green-light: #74C98A;
  --green-tint: #eaf2ec;
  --green-tint-2: #f5faf6;
  /* Chaleur */
  --amber: #C98A4B;
  --amber-dark: #9C5F2B;
  --amber-light: #F0D9B5;
  --cream: #FBF7F1;
  --cream-2: #F6EFE4;
  /* Anthracite / béton (textes, accents sobres) */
  --ink: #26241F;
  --ink-soft: #4D473D;
  --anthracite: #35322B;
  --grey-50: #F7F4EE;
  --grey-100: #EFE9DD;
  --grey-200: #E1D8C6;
  --white: #ffffff;
  /* Une seule ombre et un seul rayon pour tout le site */
  --shadow: 0 1px 2px rgba(38,36,31,0.06), 0 8px 24px rgba(38,36,31,0.08);
  --shadow-sm: var(--shadow); --shadow-md: var(--shadow); --shadow-lg: var(--shadow);
  --radius: 6px;
  --radius-sm: 6px;
  --line: #E1D8C6;
  /* Échelle typographique : 13 / 14 / 16 / 18 / 22, titres fluides */
  --fs-xs: 0.8125rem; --fs-sm: 0.875rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.375rem;
  --fs-h2: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);
  --section-y: clamp(72px, 3.5rem + 4vw, 112px);
  --ease: cubic-bezier(.22,.9,.3,1);
  --font-head: 'Barlow Semi Condensed', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
h1,h2,h3,h4,h5{ font-family:var(--font-head); font-weight:700; line-height:1.15; margin:0; color:var(--ink); }
p{ margin:0; }
.container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
}
/* ===================== SCROLL PROGRESS ===================== */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:var(--green);
  z-index:9999;
  transition:width .08s linear;
}
/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; padding:12px 24px;
  border-radius:var(--radius);
  font-weight:600; font-size:var(--fs-base); line-height:1.2;
  border:1px solid transparent;
  transition:background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space:nowrap;
}
.btn svg{ transition:transform .2s ease; flex-shrink:0; }
.btn:hover svg{ transform:translateX(3px); }
.btn-primary{ background:var(--green); color:#fff; }
.btn-primary:hover{ background:var(--green-dark); }
.btn-primary:disabled{ opacity:.7; cursor:wait; }
.btn-ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,0.7); }
.btn-ghost:hover{ background:rgba(255,255,255,0.12); }
/* bouton "Retour" dans le formulaire (fond blanc) */
.devis-form .btn-ghost{ color:var(--ink); border-color:var(--line); }
.devis-form .btn-ghost:hover{ background:var(--grey-50); }
.btn-lg{ min-height:52px; padding:14px 28px; }
.btn-sm{ min-height:44px; padding:10px 18px; font-size:var(--fs-sm); }
/* ===================== HEADER ===================== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:14px 0;
  transition:all .4s var(--ease);
}
.site-header.scrolled{
  padding:8px 0;
  background:rgba(251,247,241,0.97);
  box-shadow:0 1px 0 var(--line);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; }
/* Encart du logo : le pont gravé reste sur fond crème, aussi sur la photo du hero */
.brand-logo{
  display:flex; align-items:center; justify-content:center;
  width:150px; height:80px; padding:6px 10px;
  border-radius:var(--radius);
  background:var(--cream);
  border:1px solid rgba(255,255,255,0.6);
  transition:width .3s var(--ease), height .3s var(--ease);
  flex-shrink:0; overflow:hidden;
}
.brand-logo img{ width:100%; height:100%; object-fit:contain; object-position:center; }
.site-header.scrolled .brand-logo{ width:112px; height:60px; border-color:var(--line); }
.main-nav{ display:flex; gap:32px; }
.nav-link{
  font-weight:500; font-size:0.95rem; color:rgba(255,255,255,0.9);
  position:relative; padding:6px 0;
  transition:color .35s var(--ease);
}
.site-header.scrolled .nav-link{ color:var(--ink-soft); }
.nav-link::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--amber); transition:width .35s var(--ease);
}
.site-header.scrolled .nav-link::after{ background:var(--green); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }
.nav-link:hover{ color:var(--amber-light); }
.site-header.scrolled .nav-link:hover{ color:var(--green); }
.header-actions{ display:flex; align-items:center; gap:16px; }
/* ---- Switch langue FR / EN ---- */
.lang-switch{
  display:flex; align-items:center; gap:6px;
  font-size:var(--fs-sm); font-weight:600; letter-spacing:0.02em;
  color:rgba(255,255,255,0.85);
  padding:6px 4px; min-height:44px;
}
.site-header.scrolled .lang-switch{ color:var(--ink-soft); }
.lang-switch .lang-sep{ opacity:0.5; }
.lang-opt{
  padding:3px 7px; border-radius:6px; transition:all .25s var(--ease);
}
.lang-opt.active{ background:var(--amber); color:#fff; }
.site-header.scrolled .lang-opt.active{ background:var(--green); }
.burger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:44px; height:44px; padding:11px 7px; margin-right:-7px;
}
.burger span{
  display:block; height:2px; width:100%; background:#fff;
  transition:all .35s var(--ease);
  border-radius:2px;
}
.site-header.scrolled .burger span{ background:var(--ink); }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.mobile-nav{
  position:fixed; inset:0; z-index:999;
  background:var(--green-dark);
  display:flex; align-items:center; justify-content:center;
  transform:translateY(-100%);
  transition:transform .5s var(--ease);
}
.mobile-nav.open{ transform:translateY(0); }
.mobile-nav nav{ display:flex; flex-direction:column; align-items:center; gap:26px; }
.mobile-link{ padding:6px 12px; font-size:1.6rem; font-family:var(--font-head); font-weight:600; color:#fff; }
.mobile-link:hover{ color:var(--amber-light); }
@media(max-width:860px){
  .main-nav, .header-actions .btn-sm{ display:none; }
  .burger{ display:flex; }
  .brand-logo{ width:112px; height:60px; }
  .site-header.scrolled .brand-logo{ width:96px; height:52px; }
}
/* ===================== HERO ===================== */
.hero{
  position:relative; min-height:100vh; min-height:100svh;
  display:flex; flex-direction:column; justify-content:center;
  overflow:hidden;
  padding:132px 0 48px;
  background:var(--green-dark);
}
.hero-bg{
  position:absolute; inset:0;
  transform:scale(1.12);
  will-change:transform;
}
.hero-bg img{ width:100%; height:100%; object-fit:cover; object-position:center 55%; }
/* Voile : sombre à gauche sous le texte, plus léger à droite pour laisser voir la photo,
   renforcé en bas sous les chiffres clés */
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(14,22,16,0.55) 0%, rgba(14,22,16,0) 22%, rgba(14,22,16,0) 60%, rgba(14,22,16,0.8) 100%),
    linear-gradient(95deg, rgba(16,32,20,0.9) 0%, rgba(16,32,20,0.74) 42%, rgba(16,32,20,0.3) 100%);
}
.hero-content{ position:relative; z-index:2; color:#fff; }
.hero-content > :not(.hero-badges){ max-width:760px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:600; font-size:0.85rem; letter-spacing:0.06em; text-transform:uppercase;
  color:#f0dcb8; margin-bottom:20px;
}
.dot-pulse{ width:8px; height:8px; background:var(--amber); }
.hero-title{
  font-size:var(--fs-h1);
  font-weight:700; line-height:1.05; letter-spacing:-0.01em;
  margin-bottom:22px;
  color:#fff;
}
.hero-title span{ display:block; }
.hero-title em{ font-style:normal; color:var(--amber-light); }
.hero-sub{
  font-size:var(--fs-md); line-height:1.6; color:rgba(255,255,255,0.92); max-width:620px;
  margin-bottom:32px;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-badges{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  margin-top:clamp(36px, 6vh, 64px);
  background:rgba(12,20,14,0.55);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:var(--radius);
  overflow:hidden;
}
.badge-item{
  display:flex; flex-direction:column; gap:6px;
  padding:22px 26px;
}
.badge-item + .badge-item{ border-left:1px solid rgba(255,255,255,0.12); }
.badge-value{
  font-family:var(--font-head); font-weight:700; font-size:2.25rem; color:#fff;
  line-height:1.1; white-space:nowrap;
}
.badge-value .badge-suffix{ color:var(--amber-light); font-size:0.6em; font-weight:700; margin-left:3px; }
.badge-value .badge-prefix{ color:var(--amber-light); }
.badge-label{ font-size:var(--fs-sm); color:rgba(255,255,255,0.82); line-height:1.4; }
.badge-item--main .badge-value{ font-size:2.5rem; }
@media(max-width:1023px){
  .hero-badges{ grid-template-columns:repeat(2,1fr); }
  .badge-item:nth-child(3){ border-left:none; }
  .badge-item:nth-child(n+3){ border-top:1px solid rgba(255,255,255,0.12); }
}
@media(max-width:760px){
  .hero{ min-height:0; padding:112px 0 36px; }
  .hero-overlay{
    background:
      linear-gradient(180deg, rgba(14,22,16,0.7) 0%, rgba(14,22,16,0.72) 50%, rgba(14,22,16,0.9) 100%);
  }
  .hero-sub{ font-size:var(--fs-base); }
  .badge-item{ padding:16px 16px; }
  .badge-value{ font-size:1.6rem; }
  .badge-item--main .badge-value{ font-size:1.8rem; }
}
/* ===================== REVEAL ANIMATIONS ===================== */
.reveal-up, .reveal-left, .reveal-right{
  opacity:0;
  transition:opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay:var(--d, 0s);
}
.reveal-up, .reveal-left, .reveal-right{ transform:translateY(20px); }
.reveal-up.in-view, .reveal-left.in-view, .reveal-right.in-view{
  opacity:1; transform:translate(0,0);
}
.hero-content .reveal-up{ transition-delay:var(--d,0s); }
.hero-content .reveal-up.in-view{ opacity:1; transform:translateY(0); }
/* ===================== SECTION HEAD ===================== */
.section-eyebrow{
  font-weight:600; font-size:var(--fs-xs); letter-spacing:0.1em; text-transform:uppercase;
  color:var(--amber-dark); margin-bottom:12px;
}
.section-eyebrow.light{ color:var(--amber-light); }
.section-title{
  font-size:var(--fs-h2); font-weight:700; letter-spacing:-0.005em;
  margin-bottom:16px; line-height:1.1;
}
.section-title.light{ color:#fff; }
.section-lead{ font-size:var(--fs-md); line-height:1.65; color:var(--ink-soft); max-width:62ch; }
.section-lead.light{ color:rgba(255,255,255,0.78); }
.section-head{ margin:0 0 48px; max-width:760px; }
section{ padding:var(--section-y) 0; position:relative; }
/* ===================== ABOUT ===================== */
.about-grid{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px; align-items:stretch;
}
/* la photo prend la hauteur du texte d'en face : plus de vide sous l'une ou l'autre colonne */
.about-media{ position:relative; }
.about-media-frame{ position:relative; border-radius:var(--radius); overflow:hidden; height:100%; min-height:420px; }
.about-media-frame img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%; }
/* Légende posée en bas du cadre : elle ne déborde plus de la photo */
.media-chip{
  position:absolute; left:0; right:0; bottom:0;
  background:rgba(23,56,31,0.92); color:#fff;
  padding:14px 20px; display:flex; flex-direction:column; gap:2px;
}
.media-chip strong{ font-family:var(--font-head); font-size:var(--fs-md); font-weight:600; color:#fff; }
.media-chip span{ font-size:var(--fs-sm); color:rgba(255,255,255,0.85); }
.about-facts{
  display:grid; grid-template-columns:1fr 1fr; gap:0; margin:32px 0 0;
  border-top:1px solid var(--line);
}
.about-facts > div{ padding:16px 16px 16px 0; border-bottom:1px solid var(--line); }
.about-facts > div:nth-child(odd){ padding-right:24px; }
.about-facts dt{ font-size:var(--fs-xs); font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--amber-dark); margin-bottom:4px; }
.about-facts dd{ margin:0; font-size:var(--fs-base); color:var(--ink); line-height:1.45; }
/* bandeau pleine largeur sous le duo photo / texte */
.about-points{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; margin-top:64px; padding-top:40px; border-top:1px solid var(--line); }
.about-point{ display:flex; flex-direction:column; gap:14px; align-items:flex-start; }
.point-icon{
  width:40px; height:40px; border-radius:var(--radius); flex-shrink:0;
  background:var(--green-tint); color:var(--green);
  display:flex; align-items:center; justify-content:center;
}
.about-point h3{ font-size:var(--fs-md); margin-bottom:4px; }
.about-point p{ font-size:var(--fs-base); line-height:1.55; color:var(--ink-soft); }
@media(max-width:900px){
  .about-grid{ grid-template-columns:1fr; gap:50px; }
  .about-points{ grid-template-columns:1fr 1fr; margin-top:40px; padding-top:0; border-top:0; }
  .about-media-frame{ height:auto; min-height:0; }
  .about-media-frame img{ position:static; height:auto; aspect-ratio:4/3; }
  /* sur une colonne, la légende passe sous la photo pour ne pas masquer le geste */
  .media-chip{ position:static; }
}
/* ===================== SERVICES ===================== */
.services{ background:var(--grey-50); }
.service-cards{
  display:grid; grid-template-columns:1fr 1fr; gap:34px;
}
.service-card{
  padding:0; width:100%; font:inherit; color:inherit;
  text-align:left; background:#fff; border-radius:var(--radius);
  overflow:hidden; border:1px solid var(--line);
  transition:border-color .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column;
}
.service-card:hover{ border-color:var(--green); box-shadow:var(--shadow); }
.service-card-media{ height:260px; overflow:hidden; position:relative; }
.service-card-media img{ width:100%; height:100%; object-fit:cover; }
.service-card-body{ padding:28px 28px 8px; position:relative; }
.service-icon{
  width:44px; height:44px; border-radius:var(--radius);
  background:var(--green); color:#fff;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.service-card[data-card="tp"] .service-icon{ background:var(--amber-dark); }
.service-card-body h3{ font-size:var(--fs-lg); margin-bottom:8px; }
.service-card-body p{ color:var(--ink-soft); font-size:var(--fs-base); line-height:1.55; margin-bottom:16px; }
.service-expand{
  display:inline-flex; align-items:center; gap:6px;
  font-weight:600; font-size:var(--fs-sm); color:var(--green);
  padding-bottom:22px;
}
.service-expand svg{ transition:transform .4s var(--ease); }
.service-card.open .service-expand svg{ transform:rotate(180deg); }
.service-card-details{
  max-height:0; overflow:hidden;
  transition:max-height .5s var(--ease), padding .5s var(--ease);
  background:var(--grey-50);
  padding:0 28px;
}
.service-card.open .service-card-details{ max-height:300px; padding:20px 28px 26px; }
.service-card-details ul{ display:flex; flex-direction:column; gap:10px; }
.service-card-details li{
  position:relative; padding-left:20px; font-size:var(--fs-base); color:var(--ink);
  opacity:0; transform:translateX(-10px);
  transition:opacity .4s var(--ease), transform .4s var(--ease);
}
.service-card.open .service-card-details li{ opacity:1; transform:translateX(0); }
.service-card.open .service-card-details li:nth-child(1){ transition-delay:.05s; }
.service-card.open .service-card-details li:nth-child(2){ transition-delay:.12s; }
.service-card.open .service-card-details li:nth-child(3){ transition-delay:.19s; }
.service-card.open .service-card-details li:nth-child(4){ transition-delay:.26s; }
.service-card.open .service-card-details li:nth-child(5){ transition-delay:.33s; }
.service-card-details li::before{
  content:''; position:absolute; left:0; top:11px; width:8px; height:2px;
  background:var(--amber-dark);
}
@media(max-width:860px){
  .service-cards{ grid-template-columns:1fr; }
}
/* ===================== PROCESS ===================== */
.process-track{
  position:relative;
  display:grid; grid-template-columns:repeat(3,1fr); gap:40px;
}
.process-line{
  position:absolute; top:25px; left:calc(100%/6); right:calc(100%/6);
  height:2px; background:var(--grey-200); z-index:0;
}
.process-line-fill{
  display:block; height:100%; width:0%;
  background:var(--green);
  transition:width 1.2s var(--ease);
}
.process-step{ position:relative; z-index:1; text-align:center; }
.process-num{
  width:52px; height:52px; border-radius:50%; margin:0 auto 20px;
  background:#fff; border:2px solid var(--green);
  color:var(--green); font-family:var(--font-head); font-weight:700; font-size:1.375rem;
  display:flex; align-items:center; justify-content:center;
}
.process-step h3{ font-size:var(--fs-lg); margin-bottom:8px; }
.process-step p{ color:var(--ink-soft); font-size:var(--fs-base); line-height:1.55; max-width:300px; margin:0 auto; }
@media(max-width:860px){
  .process-track{ grid-template-columns:1fr; gap:46px; }
  .process-line{ display:none; }
}
/* ===================== AUDIENCE ===================== */
.audience{ background:var(--grey-50); }
.audience-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.audience-card{
  background:#fff; border-radius:var(--radius); padding:32px 28px;
  border:1px solid var(--line);
}
.audience-icon{
  width:44px; height:44px; border-radius:var(--radius);
  background:var(--green-tint); color:var(--green);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px;
}
.audience-card h3{ font-size:var(--fs-lg); margin-bottom:10px; }
.audience-card p{ color:var(--ink-soft); font-size:var(--fs-base); line-height:1.55; }
@media(max-width:860px){ .audience-cards{ grid-template-columns:1fr; } }
/* ===================== CONTACT ===================== */
.contact{ background:var(--green-dark); position:relative; overflow:hidden; }
.contact-grid{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:60px; align-items:flex-start;
  position:relative; z-index:1;
}
.contact-info{ display:flex; flex-direction:column; gap:16px; margin-top:34px; }
.contact-info-item{
  display:flex; align-items:center; gap:12px; color:rgba(255,255,255,0.9); font-size:var(--fs-base);
}
.contact-info-item svg{ color:var(--amber-light); flex-shrink:0; }
/* ---- Icônes réseaux sociaux ---- */
.liens-reseaux{ display:flex; gap:12px; margin-top:28px; }
.reseau-ic{
  width:44px; height:44px; border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.3);
  color:#fff;
  transition:all .3s var(--ease);
}
.reseau-ic:hover{ background:rgba(255,255,255,0.16); border-color:rgba(255,255,255,0.6); }
.liens-reseaux--pied .reseau-ic{
  background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.15);
  width:44px; height:44px;
}
.liens-reseaux--pied .reseau-ic:hover{ background:rgba(255,255,255,0.12); }
.contact-form-wrap{
  background:#fff; border-radius:var(--radius); padding:36px;
}
.form-progress{ margin-bottom:30px; }
.form-progress-bar{
  height:4px; background:var(--grey-200); overflow:hidden; margin-bottom:18px;
}
.form-progress-bar span{
  display:block; height:100%; width:25%;
  background:var(--green);
  transition:width .5s var(--ease);
}
.form-progress-steps{ display:flex; justify-content:space-between; }
.fp-step{
  width:30px; height:30px; border-radius:50%; background:var(--grey-100); color:var(--ink-soft);
  display:flex; align-items:center; justify-content:center; font-size:var(--fs-sm); font-weight:600;
  transition:all .4s var(--ease);
}
.fp-step.active{ background:var(--green); color:#fff; }
.fp-step.done{ background:var(--amber); color:#fff; }
.form-step{ display:none; animation:stepIn .5s var(--ease); }
.form-step.active{ display:block; }
@keyframes stepIn{ from{ opacity:0; transform:translateX(16px);} to{ opacity:1; transform:translateX(0);} }
.form-step-title{ font-size:var(--fs-lg); margin-bottom:20px; }
.choice-grid{ display:grid; grid-template-columns:1fr; gap:14px; margin-bottom:10px; }
.choice-grid.two-col{ grid-template-columns:1fr 1fr; }
.choice-grid.small{ gap:10px; }
.choice-card{
  position:relative; display:flex; align-items:center; gap:10px;
  border:1.5px solid var(--grey-200); border-radius:var(--radius-sm);
  padding:14px 16px; min-height:52px; cursor:pointer; font-weight:600; font-size:var(--fs-base);
  transition:all .3s var(--ease);
}
.choice-card.small{ padding:12px 14px; font-weight:400; font-size:var(--fs-base); min-height:48px; }
.choice-card input{ position:absolute; opacity:0; pointer-events:none; }
.choice-card:has(input:focus-visible){ outline:3px solid var(--amber); outline-offset:2px; }
.choice-check{
  width:20px; height:20px; border-radius:50%; border:2px solid var(--grey-200);
  display:flex; align-items:center; justify-content:center; font-size:0.7rem; color:#fff;
  flex-shrink:0; transition:all .3s var(--ease);
}
.choice-card:hover{ border-color:var(--green); }
.choice-card input:checked ~ .choice-check{ background:var(--green); border-color:var(--green); }
.choice-card:has(input:checked){ border-color:var(--green); background:var(--green-tint-2); }
.sub-options{ display:none; margin-bottom:18px; }
.sub-options.show{ display:block; animation:stepIn .4s var(--ease); }
.sub-options-title{ font-size:var(--fs-sm); font-weight:600; color:var(--ink-soft); margin-bottom:12px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:var(--fs-sm); font-weight:600; margin-bottom:8px; color:var(--ink-soft); }
.field input, .field textarea, .field select{
  width:100%; padding:13px 16px; border-radius:var(--radius-sm);
  border:1.5px solid var(--grey-200); font-family:inherit; font-size:16px; color:var(--ink);
  transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
  background:#fff;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color:var(--green); box-shadow:0 0 0 4px rgba(46,107,63,0.12);
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
/* champ anti-spam invisible */
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; overflow:hidden; }
.form-error{
  display:none; margin:6px 0 14px; padding:12px 14px;
  border-radius:var(--radius-sm); background:#fdecec; color:#9b1c1c;
  font-size:var(--fs-sm); border:1px solid #f5c2c2;
}
.form-error.show{ display:block; }
.form-nav{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:10px; }
.form-success{
  display:none; text-align:center; padding:30px 10px;
}
.form-success.show{ display:block; animation:stepIn .6s var(--ease); }
.success-check{
  width:84px; height:84px; border-radius:50%; margin:0 auto 20px;
  background:var(--green-tint); color:var(--green);
  display:flex; align-items:center; justify-content:center;
}
.success-check svg circle{ stroke-dasharray:64; stroke-dashoffset:64; animation:drawCircle .6s var(--ease) forwards; }
.success-check svg path{ stroke-dasharray:20; stroke-dashoffset:20; animation:drawCheck .4s var(--ease) .5s forwards; }
@keyframes drawCircle{ to{ stroke-dashoffset:0; } }
@keyframes drawCheck{ to{ stroke-dashoffset:0; } }
.form-success h3{ font-size:var(--fs-lg); margin-bottom:10px; }
.form-success p{ color:var(--ink-soft); max-width:380px; margin:0 auto; }
@media(max-width:900px){
  .contact-grid{ grid-template-columns:1fr; gap:40px; }
  .field-row, .choice-grid.two-col{ grid-template-columns:1fr; }
  .contact-form-wrap{ padding:26px; }
}
/* ===================== FOOTER ===================== */
.site-footer{ background:var(--ink); color:rgba(255,255,255,0.7); padding:70px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:50px; }
.footer-brand-logo{ margin-bottom:4px; }
.brand-logo--footer{ width:180px; height:96px; border-color:transparent; }
.footer-brand p{ margin-top:16px; font-size:var(--fs-sm); line-height:1.6; max-width:300px; color:rgba(255,255,255,0.75); }
.footer-col .footer-title{ color:#fff; font-family:var(--font-body); font-size:var(--fs-xs); font-weight:600; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:8px; }
.footer-col a{ display:block; font-size:var(--fs-sm); padding:11px 0; min-height:44px; margin-bottom:2px; transition:color .3s; }
.footer-col a:hover{ color:var(--amber-light); }
.footer-note{ font-size:var(--fs-sm); color:rgba(255,255,255,0.7); display:block; margin-top:4px; }
.footer-legal-btn{
  min-height:44px; padding:0;
  font-size:var(--fs-sm); color:rgba(255,255,255,0.75); text-decoration:underline;
  text-underline-offset:3px; transition:color .3s;
}
.footer-legal-btn:hover{ color:var(--amber-light); }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  align-items:center; padding-top:16px; padding-bottom:16px;
  border-top:1px solid rgba(255,255,255,0.12);
  font-size:var(--fs-sm); color:rgba(255,255,255,0.75);
}
@media(max-width:760px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:28px; }
  .footer-brand{ grid-column:1 / -1; }
  .footer-brand p{ max-width:none; }
}
/* ===================== MENTIONS LEGALES (modal) ===================== */
.legal-overlay{
  position:fixed; inset:0; z-index:2000;
  background:rgba(23,25,20,0.65);
  backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:0; pointer-events:none;
  transition:opacity .35s var(--ease);
}
.legal-overlay.show{ opacity:1; pointer-events:auto; }
.legal-modal{
  background:#fff; border-radius:var(--radius); max-width:640px; width:100%;
  max-height:80vh; overflow-y:auto; padding:40px;
  position:relative; box-shadow:var(--shadow-lg);
  transform:translateY(20px); transition:transform .35s var(--ease);
}
.legal-overlay.show .legal-modal{ transform:translateY(0); }
.legal-modal h3{ font-size:1.4rem; margin-bottom:20px; }
.legal-body p{ font-size:0.9rem; color:var(--ink-soft); margin-bottom:16px; line-height:1.65; }
.legal-body strong{ color:var(--ink); }
.legal-close{
  position:absolute; top:14px; right:14px; width:44px; height:44px; border-radius:var(--radius);
  background:var(--grey-100); display:flex; align-items:center; justify-content:center;
  font-size:1rem; color:var(--ink-soft); transition:all .25s var(--ease);
}
.legal-close:hover{ background:var(--amber); color:#fff; }
/* ===================== MISC RESPONSIVE ===================== */
@media(max-width:600px){
  .hero{ padding-top:104px; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-cta .btn{ justify-content:center; }
  .liens-reseaux{ flex-wrap:wrap; }
}

/* ===================== ACCESSIBILITE / MOBILE ===================== */
.skip-link{
  position:fixed; top:-60px; left:16px; z-index:10000;
  background:var(--green-dark); color:#fff; padding:12px 18px; border-radius:var(--radius-sm);
  font-weight:600; transition:top .2s;
}
.skip-link:focus{ top:12px; }
:focus-visible{ outline:3px solid var(--amber); outline-offset:3px; }
.btn:focus-visible, .reseau-ic:focus-visible{ outline-offset:4px; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible{ outline:none; }
section[id]{ scroll-margin-top:84px; }
/* Les animations d'apparition (translateX) ne doivent jamais élargir la page */
main{ overflow-x:hidden; overflow-x:clip; }
/* clip et non hidden : un conteneur hidden reste défilable par le focus d'un champ,
   ce qui décalait le formulaire de devis sur mobile */
.hero, .contact{ overflow:clip; }
/* une colonne de grille ne doit jamais s'élargir sur le contenu d'un bouton */
.contact-grid > *, .about-grid > *{ min-width:0; }
.section-title, .hero-title, .form-step-title{ text-wrap:balance; overflow-wrap:break-word; hyphens:manual; }
body.nav-open{ overflow:hidden; }
@media(max-width:600px){
  .container{ padding:0 20px; }
  .contact-form-wrap{ padding:22px 18px; }
  .form-nav{ flex-wrap:wrap; }
  .form-nav .btn{ flex:1 1 auto; justify-content:center; padding:14px 18px; }
  .form-nav > span:empty{ display:none; }
  .about-facts{ grid-template-columns:1fr; }
  .about-points{ grid-template-columns:1fr; gap:24px; }
  .about-point{ flex-direction:row; }
  .about-facts > div:nth-child(odd){ padding-right:0; }
  .legal-modal{ padding:56px 22px 26px; }
}
@media(max-width:380px){
  .footer-grid{ grid-template-columns:1fr; }
  .header-actions{ gap:8px; }
}
@media(prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal-up, .reveal-left, .reveal-right{ opacity:1; transform:none; }
  .hero-bg{ transform:none !important; }
}
