:root{
  --charcoal:#141414;
  --charcoal2:#1b1b1b;
  --charcoal3:#242424;
  --ash:#3a3a3a;
  --line:rgba(255,255,255,.10);

  --white:#ffffff;
  --offwhite:#f2f2f2;
  --muted:rgba(242,242,242,.78);

  --red:#b32626;
  --red2:#8f1f1f;

  --max:1120px;
  --radius:16px;
  --shadow:0 16px 55px rgba(0,0,0,.55);
  --shadow2:0 12px 28px rgba(0,0,0,.45);

  --fontTitle:"TIMES", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --fontBody:"Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--fontBody);
  color:var(--offwhite);
  background:var(--charcoal);
  line-height:1.65;
}

.texture{
  background:
    radial-gradient(1000px 700px at 20% 0%, rgba(255,255,255,.08), transparent 55%),
    radial-gradient(900px 650px at 80% 10%, rgba(179,38,38,.06), transparent 55%),
    url("../img/grain-dark.png") repeat,
    linear-gradient(180deg, var(--charcoal), #0f0f0f);
}

.wrap{max-width:var(--max); margin:0 auto; padding:0 18px}
a{color:inherit}
code{background:rgba(255,255,255,.08); padding:2px 6px; border-radius:8px}
h1,h2{font-family:var(--fontTitle); text-transform:uppercase; letter-spacing:.04em}
h1{margin:0 0 1px; font-size:clamp(32px, 4.5vw, 58px); line-height:1.1}
h2{margin:0 0 12px; font-family:oswald; font-size:clamp(22px, 2.2vw, 30px)}
p{font-size:18px; margin:10px 0}
.micro{font-size:14px}
.muted{color:var(--muted)}
.centerTitle{text-align:center}

/* Sticky call */

.stickyCall{
  position:fixed; left:14px; right:14px; bottom:14px;
  display:none; z-index:50;
}
.stickyCall a{
background-color:#333; 
color:#FFF;            
border:none;             
  display:flex; justify-content:center; align-items:center;
  padding:16px 18px;
  border-radius:14px;
  background:linear-gradient(180deg, #999, #333);
  box-shadow:var(--shadow2);
  text-decoration:none;
  font-weight:800;
  font-size:24px;
}

.stickyCall a:hover {
    background-color:#066; 
}

/* HERO */

.hero{
	min-height: 72vh;   /* ou 680px si tu préfères fixe */
  position:relative;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:#000;
  padding:42px 0 70px; /* tu peux garder ici ou dans .hero-content, mais pas aux deux */
}

.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
 
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.50), rgba(0,0,0,.50));
  z-index:2;
}

.hero-content{
  position:relative;
  z-index:3;
}

@media (max-width: 768px){
  .hero-video{ display:none; }
  .hero{
    background:
      linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.50)),
      url("../img/hero-foret.jpg") center/cover no-repeat;
  }
}

.region-badge{
  display:inline-block;
  background:#9e1c1c; /* rouge profond, pas rouge pompier */
  color:#fff;
  padding:6px 14px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:1.5rem;
  border-radius:4px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.15),
    0 6px 18px rgba(0,0,0,.35);
}


.topbar{
  position:relative;
  display:flex; justify-content:space-between; align-items:center;
  gap:14px;
  z-index:2;
  padding:10px 0 26px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:.18em; opacity:.95;
}
.brandDot{width:10px; height:10px; background:var(--red); border-radius:999px; box-shadow:0 0 0 4px rgba(179,38,38,.18)}
.topIcons{display:flex; gap:10px}
.iconLink{
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  text-decoration:none;
}

.heroGrid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:24px;
  align-items:start;
}
.lead{max-width:70ch; font-size:20px; color:rgba(242,242,242,.90)}
.ctaRow{display:flex; flex-wrap:wrap; gap:12px; margin-top:18px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 18px;
  border-radius:10px;
  text-decoration:none;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.15);
}
.btn.primary{
  background:linear-gradient(180deg, #ffffff #cccccc);
  border-color: #cccccc;
  box-shadow: 0 18px 40px #333333);
}
.btn.primary:hover{filter:brightness(1.05)}
.btn.ghost{
  background:rgba(0,0,0,.18);
}
.btn.ghost:hover{background:rgba(255,255,255,.08)}
.smallBtn{padding:10px 14px; border-radius:10px; font-size:13px}

.heroBadge{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:16px;
}
.pill{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.12);
}

.mutedOnHero{color:rgba(242,242,242,.78); margin-top:14px}

/* Hero card */
.heroCard{
	position: relative;
    z-index: 10; 
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
}

.heroPortrait{
  height:240px;
  background:
    url("../img/eric.jpg") top center / cover no-repeat;
}


.heroCardBody{padding:16px 16px 18px}
.kicker{
  font-size:14px; letter-spacing:.18em; text-transform:uppercase;
  color:rgba(242,242,242,.80);
}
.name{
  font-family:var(--fontTitle);
  letter-spacing:.08em;
  font-size:22px;
  margin-top:4px;
}
.telBig{
	font-size:16px;
  display:inline-block;
  margin-top:2px;
  font-weight:900;
  text-decoration:none;
  border-bottom:2px solid rgba(255,255,255,.25);
  padding-bottom:3px;
}
.small{margin-top:10px; font-size:13px; color:rgba(242,242,242,.72)}

/* PANELS */
.panel{
  padding:64px 0;
  border-top:1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(0,0,0,.36), rgba(0,0,0,.52)),
    url("../img/grain-dark.png") repeat;
}
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:start;
}
.quoteCard{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.25);
  box-shadow:var(--shadow2);
  padding:14px;
}
.quoteTop{
  display:flex; gap:12px;
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:10px;
}
.badgeRed{
  width:10px; min-width:10px; height:10px;
  background:var(--red);
  border-radius:999px;
  margin-top:6px;
  box-shadow:0 0 0 4px rgba(179,38,38,.18);
}
.qTitle{font-weight:900; letter-spacing:.05em; text-transform:uppercase; font-size:20px}
.qText{color:rgba(242,242,242,.78); font-size:18px; margin-top:2px}

.divider{
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  margin:34px 0;
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
.step{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.25);
  box-shadow:var(--shadow2);
  padding:16px;
}
.stepN{
  width:34px; height:34px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  background:var(--red);
  font-weight:900;
  box-shadow:0 0 0 6px rgba(179,38,38,.16);
}
.stepT{margin-top:10px; font-size:20px; font-weight:900; letter-spacing:.06em; text-transform:uppercase}
.stepD{margin-top:6px;font-size:18px; color:rgba(242,242,242,.78)}

/* Map */
.mapHeader{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:16px; flex-wrap:wrap;
}
.mapFrame{
  margin-top:16px;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.25);
  box-shadow:var(--shadow2);
  padding:14px;
}
.mapFrame img{width:100%; height:auto; display:block; opacity:.95}
.mapNote{margin-top:12px}

/* Form */
.formShell{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  box-shadow:var(--shadow);
  padding:18px;
}
.formHead{margin-bottom:8px}
.formGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.field{display:flex; flex-direction:column}
.fieldWide{grid-column:1 / -1}
label{
  font-size:18px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:900;
  margin-bottom:6px;
  color:rgba(242,242,242,.85);
}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.30);
  color:var(--offwhite);
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(179,38,38,.55);
  box-shadow: 0 0 0 4px rgba(179,38,38,.12);
}
textarea{min-height:130px; resize:vertical}

.formActions{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:4px;
}
.formActions .btn{width:fit-content}
.formActions .micro{color:rgba(242,242,242,.72)}

/* Alerts */
.alert{
  border-radius:14px;
  padding:12px;
  border:1px solid rgba(255,255,255,.12);
  margin:12px 0 10px;
}
.alert.ok{background:rgba(31,122,46,.18); border-color:rgba(31,122,46,.35)}
.alert.err{background:rgba(179,38,38,.16); border-color:rgba(179,38,38,.35)}
.alert ul{margin:8px 0 0 18px}

/* FAQ */
.faq{
  max-width:920px;
  margin:0 auto;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.20);
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.faqItem{border-top:1px solid rgba(255,255,255,.08)}
.faqItem:first-child{border-top:0}
.faqItem button{
  width:100%;
  text-align:left;
  padding:16px 16px;
  background:none;
  border:0;
  color:var(--offwhite);
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:900;
  letter-spacing:.04em;
}
.faqItem button span{opacity:.7}
.faqAnswer{
  display:none;
  font-size:18px;
  padding:0 16px 16px;
  color:rgba(242,242,242,.78);
}
.faqItem.open .faqAnswer{display:block}

/* Footer */
.footer{
  margin-top:34px;
  padding:26px 0 40px;
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center;
}
.footerLine{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}
.sep{opacity:.6}

/* SR only */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* Responsive */
@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .formGrid{grid-template-columns:1fr}
  .stickyCall{display:block}
}

/* ===== TABLET FIX (iPad / 768–1024) ===== */
@media (max-width: 1024px){
  .hero{ padding:28px 0 44px; }

  .heroGrid{
    display:grid;
    grid-template-columns: 1fr;   /* au lieu de 1fr 420px */
    gap:18px;
    align-items:start;
  }

  .heroCopy h1{
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.03;
  }

  .heroCard{
    max-width: 720px;            /* empêche le “gros bloc” */
    width: 100%;
    margin: 0;                   /* pas centré weird, juste propre */
  }

  .heroPortrait{
    height: 240px;               /* hauteur fixe tablette */
    background-position: center 30%;
    background-size: cover;
  }
  
    .heroCard img{
    width:100%;
    height:190px;
    object-fit:cover;
    object-position:center 30%;
    display:block;
  }
}


/* ===== MOBILE (au cas où) ===== */
@media (max-width: 640px){
  .heroPortrait{ height: 160px; }
  .heroCopy h1{ font-size: 34px; }
}
