/* =====================================================================
   CA & FILS Rénovation Couvreur · Saint-Malo & Côte d'Émeraude
   Système de design : « L'ardoise et l'or »
   Noir ardoise · Blanc cassé · Or brossé · Mobile first
   ===================================================================== */

/* ---------- Tokens ---------- */
:root{
  /* Couleurs */
  --noir:        #0E0E0C;   /* fond principal */
  --noir-2:      #131311;   /* fond alterné */
  --carte:       #171714;   /* surfaces / cartes */
  --carte-2:     #1F1E1A;   /* cartes hover */
  --ligne:       #2A2925;   /* bordures discrètes */
  --blanc:       #F2EEE6;   /* texte principal */
  --zinc:        #9A988E;   /* texte secondaire */
  --zinc-2:      #6E6C64;   /* texte tertiaire */
  --or:          #C2A15A;   /* accent : CTA, filets, signature */
  --or-clair:    #E3CB8E;   /* survol / éclats */
  --or-sombre:   #8C7536;

  /* Typographie */
  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --texte:   "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Échelle */
  --pas: clamp(1.1rem, 0.9rem + 1vw, 1.25rem);
  --r:   2px;            /* rayon minimal : ligne nette, esprit ferblanterie */
  --max: 1200px;
  --ombre: 0 30px 60px -28px rgba(0,0,0,.75);

  /* Transitions */
  --t: .45s cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--texte);
  background:var(--noir);
  color:var(--blanc);
  font-size:var(--pas);
  line-height:1.65;
  font-weight:400;
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}
ul{list-style:none}
::selection{background:var(--or);color:var(--noir)}

/* ---------- Texture d'ardoise (signature subtile) ---------- */
.ardoise{
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.015) 0 1px,
      transparent 1px 7px),
    repeating-linear-gradient(135deg,
      rgba(0,0,0,.25) 0 14px,
      rgba(255,255,255,.012) 14px 15px);
}

/* ---------- Typographie ---------- */
h1,h2,h3{font-family:var(--display);font-weight:500;line-height:1.06;letter-spacing:-.01em}
.h-xl{font-size:clamp(2.6rem,6.5vw,5.2rem)}
.h-l {font-size:clamp(2.1rem,4.6vw,3.6rem)}
.h-m {font-size:clamp(1.6rem,3vw,2.3rem)}
h3   {font-size:clamp(1.3rem,2.2vw,1.6rem);font-weight:600}
em,.italique{font-style:italic;color:var(--or-clair)}

.eyebrow{
  font-family:var(--texte);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--or);
  display:inline-flex;
  align-items:center;
  gap:.7rem;
}
.eyebrow::before{
  content:"";width:26px;height:1px;background:var(--or);display:inline-block;
}
.lede{color:var(--zinc);font-size:clamp(1.05rem,1.6vw,1.2rem);max-width:58ch}
.muted{color:var(--zinc)}

/* ---------- Layout ---------- */
.wrap{width:min(100% - 2.4rem,var(--max));margin-inline:auto}
.section{padding-block:clamp(4.5rem,10vw,8rem)}
.section--tight{padding-block:clamp(3rem,6vw,4.5rem)}
.center{text-align:center}
.center .lede{margin-inline:auto}
.stack>*+*{margin-top:1.1rem}
.head-block{max-width:62ch}
.head-block.center{margin-inline:auto}
.head-block .eyebrow{margin-bottom:1.4rem}
.head-block h2{margin-bottom:1rem}

/* ---------- Chevron / ligne de toit (signature) ---------- */
.rampant{
  width:100%;height:34px;display:block;color:var(--or);opacity:.55;
}
.rampant svg{width:100%;height:100%;display:block}

/* ---------- Boutons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:1rem 1.8rem;border-radius:999px;
  font-weight:600;font-size:.93rem;letter-spacing:.02em;
  transition:transform var(--t),background var(--t),color var(--t),box-shadow var(--t);
  white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn-or{
  background:var(--or);color:#1a1509;
  box-shadow:0 14px 30px -14px rgba(194,161,90,.7);
}
.btn-or:hover{background:var(--or-clair)}
.btn-ghost{
  border:1px solid var(--ligne);color:var(--blanc);
}
.btn-ghost:hover{border-color:var(--or);color:var(--or-clair)}
.btn-lg{padding:1.15rem 2.1rem;font-size:1rem}
.lien-or{color:var(--or);font-weight:600;display:inline-flex;align-items:center;gap:.5rem}
.lien-or:hover{color:var(--or-clair)}
.lien-or svg{transition:transform var(--t)}
.lien-or:hover svg{transform:translateX(4px)}

/* ===================================================================
   EN-TÊTE
   =================================================================== */
.header{
  position:sticky;top:0;z-index:60;
  background:rgba(14,14,12,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--ligne);
  transition:box-shadow var(--t),padding var(--t);
}
.header.is-scrolled{
  box-shadow:0 12px 34px -20px rgba(0,0,0,.85);
}
.header__bar{display:flex;align-items:center;justify-content:space-between;
  padding-block:1.15rem;}
.brand{display:flex;align-items:center;gap:.7rem;line-height:1}
.brand__mark{width:30px;height:30px;color:var(--or);flex:none}
.brand__name{font-family:var(--display);font-size:1.35rem;font-weight:600;letter-spacing:.02em}
.brand__name small{display:block;font-family:var(--texte);font-size:.58rem;
  letter-spacing:.28em;text-transform:uppercase;color:var(--zinc);font-weight:600;margin-top:.15rem}

.nav{display:none;align-items:center;gap:.3rem}
.nav a{font-size:.82rem;color:var(--zinc);font-weight:600;padding:.5rem .95rem;border-radius:999px;
  border:1px solid transparent;transition:color var(--t),background var(--t),border-color var(--t),transform var(--t),box-shadow var(--t)}
.nav a:hover{color:var(--blanc);background:rgba(194,161,90,.12);border-color:rgba(194,161,90,.4);
  transform:translateY(-1px);box-shadow:0 8px 20px -10px rgba(194,161,90,.55)}
.nav a[aria-current="page"]{color:#1a1509;background:var(--or);border-color:var(--or)}
.nav a[aria-current="page"]:hover{background:var(--or-clair);color:#1a1509}
.header__cta{display:none;align-items:center;gap:1rem}
.header__tel{font-weight:600;font-size:.95rem;color:var(--blanc);display:flex;align-items:center;gap:.5rem}
.header__tel svg{color:var(--or)}

.burger{display:flex;flex-direction:column;gap:5px;padding:.5rem}
.burger span{width:24px;height:2px;background:var(--blanc);transition:var(--t)}
.mobile-menu{
  position:fixed;inset:0;z-index:55;background:var(--noir);
  transform:translateY(-100%);transition:transform .55s cubic-bezier(.16,1,.3,1);
  display:flex;flex-direction:column;justify-content:center;padding:2rem;
}
.mobile-menu.open{transform:translateY(0)}
.mobile-menu a{font-family:var(--display);font-size:2rem;padding-block:.6rem;color:var(--blanc);
  border-bottom:1px solid var(--ligne)}
.mobile-menu a:last-of-type{border:none}
.mobile-menu .btn{margin-top:2rem}

/* ===================================================================
   HÉRO
   =================================================================== */
.hero{
  position:relative;min-height:100svh;display:flex;align-items:flex-end;
  padding-top:7rem;padding-bottom:clamp(3rem,7vw,5rem);
  background:
    linear-gradient(180deg,rgba(14,14,12,.55) 0%,rgba(14,14,12,.35) 35%,rgba(14,14,12,.96) 100%),
    radial-gradient(120% 90% at 75% 5%,rgba(194,161,90,.10),transparent 55%),
    linear-gradient(160deg,#1a1916 0%,#0E0E0C 60%);
  overflow:hidden;
}
.hero__slate{position:absolute;inset:0;opacity:.5;mix-blend-mode:soft-light}
.hero__inner{position:relative;z-index:2;width:100%}
.hero .eyebrow{margin-bottom:1.6rem}
.hero h1{margin-bottom:1.5rem;max-width:16ch}
.hero h1 .italique{display:inline}
.hero__lede{margin-bottom:2.3rem;max-width:46ch}
.hero__cta{display:flex;flex-wrap:wrap;gap:1rem}
.hero__scroll{margin-top:3rem;display:flex;gap:2rem;flex-wrap:wrap;border-top:1px solid var(--ligne);padding-top:1.8rem}
.hero__stat b{font-family:var(--display);font-size:1.9rem;font-weight:600;color:var(--or-clair);display:block;line-height:1}
.hero__stat span{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--zinc)}

/* ===================================================================
   BANDEAU CONFIANCE
   =================================================================== */
.trust{border-block:1px solid var(--ligne);background:var(--noir-2)}
.trust__grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 1rem;padding-block:2.4rem;text-align:center}
.trust__item{display:flex;flex-direction:column;align-items:center;gap:.4rem}
.trust__item svg{width:30px;height:30px;color:var(--or)}
.trust__item b{font-size:.95rem;font-weight:600}
.trust__item span{font-size:.78rem;color:var(--zinc)}

/* ===================================================================
   SERVICES — cartes
   =================================================================== */
.cards{display:grid;gap:1.2rem;grid-template-columns:1fr;margin-top:3rem}
.card{
  background:var(--carte);border:1px solid var(--ligne);border-radius:var(--r);
  padding:2.1rem 1.9rem;transition:border-color var(--t),background var(--t),transform var(--t);
  position:relative;overflow:hidden;
}
.card::after{content:"";position:absolute;left:0;top:0;height:100%;width:2px;background:var(--or);
  transform:scaleY(0);transform-origin:top;transition:transform var(--t)}
.card:hover{background:var(--carte-2);border-color:#3a3830;transform:translateY(-3px)}
.card:hover::after{transform:scaleY(1)}
.card__num{font-family:var(--display);font-size:1rem;color:var(--or);font-style:italic}
.card__icon{width:38px;height:38px;color:var(--or);margin-bottom:1.2rem}
.card h3{margin-bottom:.7rem}
.card p{color:var(--zinc);font-size:.98rem}
.card ul{margin-top:1rem;display:grid;gap:.5rem}
.card li{font-size:.92rem;color:var(--zinc);display:flex;gap:.6rem;align-items:flex-start}
.card li::before{content:"";width:6px;height:6px;background:var(--or);border-radius:50%;margin-top:.55rem;flex:none}

/* ===================================================================
   PROCESSUS
   =================================================================== */
.steps{display:grid;gap:0;margin-top:3rem}
.step{display:grid;grid-template-columns:auto 1fr;gap:1.4rem;padding-block:1.8rem;border-bottom:1px solid var(--ligne)}
.step:last-child{border-bottom:none}
.step__n{font-family:var(--display);font-size:2.2rem;color:var(--or);font-style:italic;line-height:1;width:2.4ch}
.step h3{margin-bottom:.4rem}
.step p{color:var(--zinc);font-size:.96rem;max-width:60ch}

/* ===================================================================
   RÉALISATIONS — galerie
   =================================================================== */
.gallery{display:grid;gap:1rem;grid-template-columns:1fr;margin-top:3rem}
.shot{
  position:relative;border-radius:var(--r);overflow:hidden;
  aspect-ratio:4/3;border:1px solid var(--ligne);
  background:linear-gradient(150deg,#26241f,#131210);
  display:flex;align-items:flex-end;
}
.shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.22,.61,.36,1)}
.shot:hover img{transform:scale(1.06)}
.shot__ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  color:var(--zinc-2);font-size:.8rem;letter-spacing:.2em;text-transform:uppercase}
.shot__cap{position:relative;z-index:2;width:100%;padding:1.4rem;
  background:linear-gradient(0deg,rgba(10,10,8,.92),transparent);}
.shot__cap b{font-family:var(--display);font-size:1.3rem;font-weight:600;display:block}
.shot__cap span{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--or)}
.shot.tall{aspect-ratio:3/4}
.shot.wide{aspect-ratio:16/10}

/* ===================================================================
   AVIS
   =================================================================== */
.quotes{display:grid;gap:1.2rem;grid-template-columns:1fr;margin-top:3rem}
.quote{background:var(--carte);border:1px solid var(--ligne);border-radius:var(--r);padding:2rem 1.9rem;position:relative}
.quote__stars{color:var(--or);letter-spacing:.2em;margin-bottom:1rem;font-size:.95rem}
.quote p{font-family:var(--display);font-size:1.3rem;line-height:1.4;font-style:italic;color:var(--blanc);margin-bottom:1.4rem}
.quote__by{display:flex;align-items:center;gap:.9rem}
.quote__av{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--or-sombre),var(--or));
  display:flex;align-items:center;justify-content:center;color:#1a1509;font-weight:700;font-size:1rem;flex:none}
.quote__by b{font-size:.95rem;display:block}
.quote__by span{font-size:.8rem;color:var(--zinc)}

.rating-band{display:flex;flex-direction:column;align-items:center;gap:.6rem;text-align:center}
.rating-band .big{font-family:var(--display);font-size:3.5rem;color:var(--or-clair);line-height:1}
.rating-band .stars{color:var(--or);letter-spacing:.25em;font-size:1.1rem}

/* ===================================================================
   À PROPOS / split
   =================================================================== */
.split{display:grid;gap:2.5rem;grid-template-columns:1fr;align-items:center}
.split__media{aspect-ratio:4/5;border-radius:var(--r);overflow:hidden;border:1px solid var(--ligne);
  background:linear-gradient(150deg,#26241f,#131210);position:relative;display:flex;align-items:center;justify-content:center}
.split__media .shot__ph{position:static}
.split__media img{width:100%;height:100%;object-fit:cover}
.values{display:grid;gap:1rem;margin-top:2rem}
.value{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:start}
.value svg{width:26px;height:26px;color:var(--or);margin-top:.2rem}
.value b{display:block;margin-bottom:.2rem}
.value p{color:var(--zinc);font-size:.95rem}

/* ===================================================================
   BANDE CTA
   =================================================================== */
.cta-band{
  background:
    radial-gradient(100% 140% at 80% 0%,rgba(194,161,90,.16),transparent 55%),
    var(--noir-2);
  border-block:1px solid var(--ligne);text-align:center;
}
.cta-band h2{margin-bottom:1rem}
.cta-band .lede{margin:0 auto 2rem}
.cta-band__btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* ===================================================================
   FORMULAIRE / CONTACT
   =================================================================== */
.contact-grid{display:grid;gap:2.5rem;grid-template-columns:1fr;margin-top:3rem}
.coords{display:grid;gap:1.4rem}
.coord{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:start;
  padding-bottom:1.4rem;border-bottom:1px solid var(--ligne)}
.coord:last-child{border:none}
.coord svg{width:24px;height:24px;color:var(--or);margin-top:.2rem}
.coord b{display:block;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--zinc);margin-bottom:.3rem;font-weight:600}
.coord a,.coord p{font-size:1.1rem;color:var(--blanc)}

.form{background:var(--carte);border:1px solid var(--ligne);border-radius:var(--r);padding:2rem 1.8rem}
.form .row{display:grid;gap:1.2rem}
.field{display:flex;flex-direction:column;gap:.5rem}
.field label{font-size:.82rem;letter-spacing:.06em;color:var(--zinc);font-weight:600}
.field input,.field select,.field textarea{
  background:var(--noir);border:1px solid var(--ligne);border-radius:var(--r);
  padding:.95rem 1rem;color:var(--blanc);font-family:inherit;font-size:1rem;transition:border-color var(--t)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--or)}
.field textarea{resize:vertical;min-height:120px}
.form .btn{width:100%;margin-top:.4rem}
.form__note{font-size:.8rem;color:var(--zinc-2);text-align:center;margin-top:1rem}

/* ===================================================================
   PIED DE PAGE
   =================================================================== */
.footer{border-top:1px solid var(--ligne);background:var(--noir-2);padding-block:3.5rem 7rem}
.footer__grid{display:grid;gap:2.5rem;grid-template-columns:1fr}
.footer .brand{margin-bottom:1.2rem}
.footer p{color:var(--zinc);font-size:.92rem;max-width:40ch}
.footer h4{font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:var(--or);margin-bottom:1.1rem;font-weight:600}
.footer ul{display:grid;gap:.65rem}
.footer ul a{color:var(--zinc);font-size:.95rem}
.footer ul a:hover{color:var(--blanc)}
.footer__bottom{margin-top:3rem;padding-top:1.8rem;border-top:1px solid var(--ligne);
  display:flex;flex-direction:column;gap:.6rem;font-size:.82rem;color:var(--zinc-2)}

/* ===================================================================
   ACTIONS FLOTTANTES (mobile + desktop)
   =================================================================== */
.fab{
  position:fixed;right:1.1rem;bottom:1.1rem;z-index:70;
  width:60px;height:60px;border-radius:50%;background:var(--or);color:#1a1509;
  display:none;align-items:center;justify-content:center;
  box-shadow:0 14px 30px -8px rgba(194,161,90,.6);
  animation:pulse 2.6s infinite;
}
.fab svg{width:26px;height:26px}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(194,161,90,.45)}70%{box-shadow:0 0 0 16px rgba(194,161,90,0)}100%{box-shadow:0 0 0 0 rgba(194,161,90,0)}}

/* barre d'action mobile */
.mobile-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:70;display:grid;grid-template-columns:1fr 1fr;
  background:rgba(14,14,12,.94);backdrop-filter:blur(12px);border-top:1px solid var(--ligne);
}
.mobile-bar a{display:flex;align-items:center;justify-content:center;gap:.55rem;
  padding:1rem;font-weight:600;font-size:.92rem}
.mobile-bar a svg{width:18px;height:18px}
.mobile-bar .call{color:var(--blanc)}
.mobile-bar .quote{background:var(--or);color:#1a1509}

/* ---------- Révélation au scroll ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .9s ease,transform .9s cubic-bezier(.22,.61,.36,1)}
.reveal.in{opacity:1;transform:none}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media(min-width:560px){
  .trust__grid{grid-template-columns:repeat(4,1fr)}
  .cards{grid-template-columns:repeat(2,1fr)}
  .quotes{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:900px){
  .burger{display:none}
  .nav,.header__cta{display:flex}
  .mobile-bar{display:none}
  .fab{display:flex}
  .cards{grid-template-columns:repeat(3,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .split{grid-template-columns:1fr 1fr;gap:4rem}
  .split--rev .split__media{order:2}
  .contact-grid{grid-template-columns:.9fr 1.1fr;gap:4rem}
  .footer__grid{grid-template-columns:1.6fr 1fr 1fr 1fr}
  .footer__bottom{flex-direction:row;justify-content:space-between;align-items:center}
  .form .row.two{grid-template-columns:1fr 1fr}
  .gallery .shot.feature{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}
}
@media(min-width:900px){ body{padding-bottom:0} }

/* Évite que la barre mobile masque le contenu */
@media(max-width:899px){ body{padding-bottom:60px} }

/* ---------- Accessibilité ---------- */
:focus-visible{outline:2px solid var(--or);outline-offset:3px;border-radius:var(--r)}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
}

/* =====================================================================
   v2 — Composants inspirés des effets demandés
   ===================================================================== */

/* ---- Bandeau défilant (marquee) ---- */
.marquee{overflow:hidden;border-block:1px solid var(--ligne);background:linear-gradient(90deg,#1a1611,#0E0E0C);position:relative;z-index:40}
.marquee__track{display:inline-flex;align-items:center;gap:2.4rem;padding-block:.72rem;white-space:nowrap;animation:scroll-x 34s linear infinite;will-change:transform}
.marquee:hover .marquee__track{animation-play-state:paused}
.marquee__item{display:inline-flex;align-items:center;gap:.55rem;font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--zinc);font-weight:600}
.marquee__item svg{width:14px;height:14px;color:var(--or);flex:none}
.marquee__item.hot{color:var(--or-clair)}
.marquee .sep{color:var(--or);opacity:.45}
@keyframes scroll-x{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---- Mot animé (rotator) ---- */
.rotator{display:inline-grid;vertical-align:bottom}
.rotator__word{grid-area:1/1;white-space:nowrap;font-style:italic;color:var(--or-clair);
  opacity:0;filter:blur(12px);transform:translateY(.32em);
  transition:opacity .6s ease,filter .6s ease,transform .6s cubic-bezier(.22,.61,.36,1)}
.rotator__word.active{opacity:1;filter:blur(0);transform:none}

/* ---- Pastille département ---- */
.dept{display:inline-flex;align-items:center;justify-content:center;min-width:1.7em;height:1.6em;padding:0 .35em;
  border-radius:6px;background:linear-gradient(135deg,#8C7536,#C2A15A);color:#1a1509;
  font-family:var(--texte);font-weight:700;font-size:.5em;letter-spacing:.04em;vertical-align:.22em}

/* ---- Badge icône arrondi ---- */
.ib{width:42px;height:42px;border-radius:10px;background:linear-gradient(135deg,#2a2418,#171714);
  border:1px solid var(--ligne);display:flex;align-items:center;justify-content:center;color:var(--or);flex:none}
.ib svg{width:20px;height:20px}

/* ---- Pastilles (pills) ---- */
.pills{display:flex;gap:.6rem;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .95rem;border:1px solid var(--ligne);
  border-radius:40px;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--zinc);
  background:rgba(255,255,255,.02);font-weight:600}
.pill svg{width:13px;height:13px;color:var(--or)}
.pill .dot{width:6px;height:6px;border-radius:50%;background:var(--or);flex:none}

/* ---- Carte de contact flottante ---- */
.cc{background:var(--carte);border:1px solid var(--ligne);border-radius:10px;overflow:hidden;box-shadow:var(--ombre)}
.cc__head{background:linear-gradient(135deg,#8C7536,#C2A15A);padding:1.05rem 1.2rem;display:flex;align-items:center;gap:.8rem;color:#1a1509}
.cc__head .ib{background:rgba(0,0,0,.16);border-color:rgba(0,0,0,.2);color:#1a1509;width:38px;height:38px}
.cc__head b{font-size:.95rem;font-weight:700;letter-spacing:.03em;display:block}
.cc__head span{font-size:.72rem;opacity:.82}
.cc__body{padding:1rem 1.1rem;display:grid;gap:.55rem}
.cc__row{display:grid;grid-template-columns:auto 1fr auto;gap:.85rem;align-items:center;padding:.7rem;
  border:1px solid var(--ligne);border-radius:8px;transition:border-color var(--t),background var(--t);color:inherit}
.cc__row:hover{border-color:var(--or);background:var(--carte-2)}
.cc__row .ib{width:36px;height:36px;border-radius:8px}
.cc__row small{font-size:.6rem;letter-spacing:.18em;text-transform:uppercase;color:var(--zinc);display:block;margin-bottom:.1rem}
.cc__row b{font-size:.92rem;color:var(--blanc);font-weight:600}
.cc__arrow{width:28px;height:28px;border-radius:50%;border:1px solid var(--ligne);display:flex;align-items:center;justify-content:center;color:var(--or)}
.cc__cta{margin:.3rem 1.1rem 1.1rem;width:calc(100% - 2.2rem)}

/* ---- Compteurs animés ---- */
.counters{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--ligne);border:1px solid var(--ligne);border-radius:8px;overflow:hidden}
.counter{background:var(--carte);padding:1.7rem 1rem;text-align:center}
.counter .ib{margin:0 auto .7rem}
.counter b{font-family:var(--display);font-size:2.3rem;color:var(--or-clair);display:block;line-height:1;font-weight:600}
.counter span{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--zinc)}
@media(min-width:760px){.counters{grid-template-columns:repeat(4,1fr)}}

/* ---- Fond plan d'architecte ---- */
.blueprint{background-image:
  linear-gradient(rgba(194,161,90,.045) 1px,transparent 1px),
  linear-gradient(90deg,rgba(194,161,90,.045) 1px,transparent 1px);
  background-size:44px 44px}

/* ---- Comparateur avant / après ---- */
.ba{position:relative;border-radius:10px;overflow:hidden;border:1px solid var(--ligne);
  aspect-ratio:6/5;max-width:600px;margin-inline:auto;user-select:none;touch-action:none;cursor:ew-resize;box-shadow:var(--ombre)}
.ba__pane{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat;display:flex;align-items:center;justify-content:center}
.ba__after{background-color:#211e18}
.ba__before{background-color:#0f0e0c;z-index:2;clip-path:inset(0 50% 0 0)}
.ba__tag{position:absolute;top:1rem;font-family:var(--texte);font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;
  color:#1a1509;background:var(--or);padding:.35rem .8rem;border-radius:30px;font-weight:700}
.ba__before .ba__tag{left:1rem}
.ba__after .ba__tag{right:1rem}
.ba__ph{font-family:var(--display);font-style:italic;font-size:2rem;color:rgba(242,238,230,.22)}
.ba__handle{position:absolute;top:0;bottom:0;left:50%;width:2px;background:var(--or);z-index:4;transform:translateX(-1px)}
.ba__grip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;
  background:linear-gradient(135deg,#8C7536,#C2A15A);color:#1a1509;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px -4px rgba(0,0,0,.6)}
.ba__hint{position:absolute;bottom:1rem;right:1rem;z-index:4;font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--zinc);background:rgba(14,14,12,.7);border:1px solid var(--ligne);padding:.4rem .8rem;border-radius:30px}

/* ---- Grille de services numérotée ---- */
.sgrid{display:grid;gap:1px;background:var(--ligne);border:1px solid var(--ligne);border-radius:8px;overflow:hidden;grid-template-columns:1fr;margin-top:3rem}
.scell{background:var(--carte);padding:1.8rem 1.4rem;position:relative;transition:background var(--t)}
.scell:hover{background:var(--carte-2)}
.scell .num{position:absolute;top:1.3rem;right:1.4rem;font-family:var(--display);font-style:italic;color:var(--or-sombre);font-size:1.05rem}
.scell .ib{margin-bottom:1rem}
.scell h3{font-size:1.05rem;margin-bottom:.45rem}
.scell p{color:var(--zinc);font-size:.85rem;margin-bottom:.9rem;line-height:1.55}
.scell .lk{font-size:.7rem;color:var(--or);letter-spacing:.12em;text-transform:uppercase;font-weight:600;display:inline-flex;align-items:center;gap:.4rem}
@media(min-width:560px){.sgrid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:980px){.sgrid{grid-template-columns:repeat(4,1fr)}}

/* ---- Bande photo pleine largeur ---- */
.photoband{position:relative;height:46vh;min-height:300px;background:linear-gradient(150deg,#26241f,#131210);display:flex;align-items:center;justify-content:center;overflow:hidden}
.photoband img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photoband .cap{position:relative;z-index:2;text-align:center;padding:1rem}
.photoband .cap .eyebrow{justify-content:center;margin-bottom:.8rem}
.photoband .cap h2{font-size:clamp(1.8rem,4vw,3rem)}

/* ---- Héro v2 ---- */
.hero2{position:relative;min-height:100svh;display:flex;align-items:center;padding-top:2.5rem;padding-bottom:3rem;overflow:hidden;
  background:linear-gradient(180deg,rgba(14,14,12,.5),rgba(14,14,12,.6) 40%,rgba(14,14,12,.94)),linear-gradient(160deg,#1a1916,#0E0E0C 70%)}
.hero2__bg{position:absolute;inset:0;z-index:0}
.hero2__bg img{width:100%;height:100%;object-fit:cover;opacity:.32;filter:sepia(.25) contrast(1.05) brightness(.9)}
.hero2 .wrap{position:relative;z-index:2;width:100%}
.hero2__grid{display:grid;gap:2.4rem;grid-template-columns:1fr}
.hero2 h1{font-size:clamp(2.3rem,6vw,4.4rem);line-height:1.04;margin:1rem 0 1.2rem}
.hero2__brandline{display:flex;align-items:center;gap:.8rem;margin-bottom:1.2rem}
.hero2__brandline .ib{border-radius:10px}
.hero2__brandline b{font-family:var(--display);font-size:1.2rem;font-weight:600;display:block;line-height:1.1}
.hero2__brandline small{font-size:.58rem;letter-spacing:.2em;text-transform:uppercase;color:var(--zinc)}
@media(min-width:980px){.hero2__grid{grid-template-columns:1.25fr .9fr;align-items:center;gap:3rem}}

/* ---- Logo CA & FILS (fond noir fondu via blend) ---- */
.brand__logo{height:44px;width:auto;display:block}
.header.is-scrolled .brand__logo{height:38px}
.hero2__logo{width:min(330px,78%);height:auto;display:block;margin-bottom:1.4rem}
.footer .brand{margin-bottom:1.2rem}
.footer .brand__logo{height:54px}
@media(max-width:480px){.brand__logo{height:34px}}

/* ---- Vidéo de fond du héro ---- */
.hero2__bg video{width:100%;height:100%;object-fit:cover;opacity:.34;filter:sepia(.18) contrast(1.05) brightness(.92)}

/* ---- Zones d'intervention (maillage communes) ---- */
.zones{display:grid;gap:.7rem;grid-template-columns:repeat(2,1fr);margin-top:2.5rem}
.zone-link{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:1rem 1.2rem;
  background:var(--carte);border:1px solid var(--ligne);border-radius:8px;transition:border-color var(--t),background var(--t),transform var(--t)}
.zone-link:hover{border-color:var(--or);background:var(--carte-2);transform:translateY(-2px)}
.zone-link b{font-family:var(--display);font-size:1.1rem;font-weight:600}
.zone-link span{font-size:.7rem;color:var(--zinc);display:block;letter-spacing:.05em}
.zone-link svg{color:var(--or);flex:none}
@media(min-width:760px){.zones{grid-template-columns:repeat(4,1fr)}}

/* ---- Formulaire de contact (style "Parlons de votre toiture") ---- */
.form h2{margin-bottom:.4rem}
.form__sub{color:var(--zinc);font-size:.92rem;margin-bottom:1.6rem}
.urgent{display:flex;align-items:flex-start;gap:.8rem;padding:1rem;border:1px solid var(--ligne);border-radius:8px;
  background:var(--noir);margin-top:1.2rem;cursor:pointer;transition:border-color var(--t)}
.urgent:hover{border-color:var(--or)}
.urgent input{margin-top:.2rem;width:18px;height:18px;accent-color:var(--or);flex:none}
.urgent b{display:block;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--blanc)}
.urgent span{font-size:.82rem;color:var(--zinc)}
.rgpd{display:flex;gap:.7rem;align-items:flex-start;margin-top:1.2rem;font-size:.78rem;color:var(--zinc-2);line-height:1.5}
.rgpd svg{width:18px;height:18px;color:var(--or);flex:none;margin-top:.1rem}
.coords-pills{margin-top:1.4rem}

/* ---- Réalisations : bannière avant/après pleine largeur ---- */
.shot.banner{aspect-ratio:21/9}
@media(min-width:560px){.gallery .shot.banner{grid-column:1/-1}}

/* ---- Infographie traitement (DALEP) ---- */
.infographic{border:1px solid var(--ligne);border-radius:10px;overflow:hidden;box-shadow:var(--ombre);background:var(--carte)}
.infographic img{width:100%;height:auto;display:block}

/* ---- Formulaire de contact final ---- */
.cf-check{display:flex;gap:.8rem;align-items:flex-start;padding:1rem;border:1px solid var(--ligne);
  border-radius:8px;cursor:pointer;margin-top:1.2rem;background:var(--noir);transition:border-color var(--t)}
.cf-check:hover{border-color:var(--or)}
.cf-check input{margin-top:.15rem;width:18px;height:18px;accent-color:var(--or);flex:none}
.cf-check b{display:block;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.15rem}
.cf-check span{font-size:.84rem;color:var(--zinc)}
.cf-rgpd{display:flex;gap:.6rem;align-items:flex-start;margin-top:1.1rem;font-size:.74rem;color:var(--zinc-2);line-height:1.5}
.cf-rgpd svg{width:16px;height:16px;color:var(--or);flex:none;margin-top:.1rem}
.coord span.val{font-size:1.1rem;color:var(--blanc)}

/* ---- Bande illustrative DALEP ---- */
.dalep{border-block:1px solid var(--ligne);background:var(--noir-2)}
.dalep img{width:100%;height:auto;border-radius:10px;border:1px solid var(--ligne)}

/* ---- Photo d'équipe en format paysage (évite le rognage) ---- */
.split__media.split__media--wide{aspect-ratio:16/9}
.split__media--wide img{object-position:center 40%}

/* ---- Avis clients en défilement automatique ---- */
.avis-marquee{overflow-x:auto;overflow-y:hidden;margin-top:3rem;cursor:grab;scrollbar-width:none;-ms-overflow-style:none;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.avis-marquee::-webkit-scrollbar{display:none}
.avis-marquee.dragging{cursor:grabbing}
.avis-marquee__track{display:flex;gap:1.2rem;width:max-content}
.avis-marquee .quote{min-width:min(380px,84vw);flex:none;margin-top:0}

/* ---- Animations décoratives maintenues même en mode "réduire les animations" ---- */
@media(prefers-reduced-motion:reduce){
  .marquee__track{animation:scroll-x 34s linear infinite!important}
}

/* ---- Boutons & icônes dans le bandeau défilant ---- */
.marquee__btn{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .9rem;border-radius:999px;
  font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;transition:background var(--t),color var(--t)}
.marquee__btn svg{width:14px;height:14px;flex:none}
.marquee__btn--tel{background:var(--or);color:#1a1509}
.marquee__btn--tel:hover{background:var(--or-clair)}
.marquee__btn--devis{border:1px solid var(--or);color:var(--or-clair)}
.marquee__btn--devis:hover{background:rgba(194,161,90,.14)}


/* ---- Page Mentions légales ---- */
.legal h2{font-size:clamp(1.25rem,2.4vw,1.65rem);margin:2.1rem 0 .6rem;color:var(--blanc)}
.legal p{color:var(--zinc);margin-bottom:.4rem;line-height:1.7}
.legal a{color:var(--or-clair)}
.legal a:hover{color:var(--or)}
.footer__bottom a{color:var(--zinc);text-decoration:underline;text-underline-offset:3px}
.footer__bottom a:hover{color:var(--or-clair)}

/* ---- En-tête : emblème + texte de marque ---- */
.brand__mark2{height:40px;width:auto;display:block;flex:none}
.brand__txt{display:flex;flex-direction:column;line-height:1.05}
.brand__txt b{font-family:var(--display);font-size:1.32rem;font-weight:700;letter-spacing:.04em;background:linear-gradient(180deg,var(--or-clair) 0%,var(--or) 70%,#9c7d3c 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:var(--or-clair)}
.brand__txt small{font-size:.5rem;letter-spacing:.18em;text-transform:uppercase;color:var(--or);font-weight:600;margin-top:.25rem}
@media(max-width:400px){.brand__txt small{display:none}.brand__mark2{height:34px}}

/* ---- Footer : icônes ---- */
.footer h4{display:flex;align-items:center;gap:.5rem}
.footer h4 svg{width:15px;height:15px;color:var(--or);flex:none}
.footer ul li{display:flex;align-items:flex-start;gap:.55rem}
.footer ul li svg{width:15px;height:15px;color:var(--or);flex:none;margin-top:.2rem}


/* AJOUT CA&FILS desktop fix */
.header__tel{white-space:nowrap}
@media(min-width:900px) and (max-width:1079px){
  .header .burger{display:flex}
  .header .nav,.header__cta{display:none}
}
.hero2__grid>div:first-child{text-align:center}
.hero2 .hero2__brandline{justify-content:center}
.hero2 .hero__cta{justify-content:center;flex-wrap:wrap}
.hero2 .pills{justify-content:center}
.hero2 .eyebrow{justify-content:center}
@media(min-width:980px){
  .hero2__grid{grid-template-columns:minmax(0,880px);justify-content:center}
  .hero2 .cc{max-width:560px;margin:1.6rem auto 0}
}
/* fin AJOUT */
