/* ============================================================
   ALU TECH FRANCE - Feuille de styles
   Ambiance : anthracite + or, premium / haut de gamme
   (Polices chargees via <link> dans le <head> de index.html)
   ============================================================ */

:root {
  /* Couleurs */
  --ink:        #0A0E14;   /* fond le plus sombre */
  --ink-2:      #0F151E;
  --anthracite: #161E2A;
  --anthracite-2:#1E2837;
  --line:       rgba(255,255,255,0.08);
  --line-strong:rgba(255,255,255,0.16);

  --gold:       #C7A24B;
  --gold-2:     #E4CB85;   /* clair, pour highlights */
  --gold-deep:  #97772E;

  --silver:     #C8CFD7;
  --silver-2:   #EAEEF2;

  --paper:      #F5F2EC;   /* off-white chaud */
  --paper-2:    #FBFAF7;
  --white:      #FFFFFF;

  --text-light: #E9ECF1;   /* texte sur sombre */
  --text-mut:   #97A1AE;   /* texte secondaire sur sombre */
  --text-dark:  #1A222E;   /* texte sur clair */
  --text-dark-mut:#5C6776;

  /* Tricolore (accents très discrets) */
  --bleu:  #1B3A8B;
  --rouge: #B5283A;

  /* Type */
  --font-head: 'Archivo', 'Helvetica Neue', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 10px;
  --radius-lg: 16px;

  /* Or utilise en aplat (accent sobre, pas de degrade metallise) ; reserve eventuellement
     un vrai degrade a un seul moment fort si besoin. */
  --gold-grad: var(--gold);
  --shadow-soft: 0 24px 60px -28px rgba(0,0,0,0.55);
  --shadow-gold: 0 16px 40px -18px rgba(0,0,0,0.5);
}

/* ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; --nav-h: 108px; scroll-padding-top: var(--nav-h); }
html:has(.nav.scrolled) { --nav-h: 80px; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--anthracite-2); border-radius: 20px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ----------------------------------------------------------- */
/*  TYPOGRAPHIE                                                */
/* ----------------------------------------------------------- */
.h-eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.h-eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--gold-grad);
  display: inline-block;
}
.h-eyebrow.center { justify-content: center; }
.h-eyebrow.center::after {
  content: "";
  width: 30px; height: 2px;
  background: var(--gold-grad);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--white);
}

.display {
  font-size: clamp(36px, 5.6vw, 70px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.0;
}
.section-title {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-mut); max-width: 56ch; }

/* Or = signature : conserve uniquement sur les heros ; ailleurs le titre herite de sa couleur */
.gold-text { color: inherit; }
.hero .gold-text, .rea-hero .gold-text { color: var(--gold-2); }

/* ----------------------------------------------------------- */
/*  LAYOUT                                                     */
/* ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 7vw, 104px) 0; position: relative; }
.section.tight { padding-block: clamp(40px, 5.5vw, 76px); }

.section--paper { background: var(--paper); color: var(--text-dark); }
.section--paper h1, .section--paper h2, .section--paper h3, .section--paper h4 { color: var(--text-dark); }
.section--paper .lead { color: var(--text-dark-mut); }

.eyebrow-block { margin-bottom: 18px; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ----------------------------------------------------------- */
/*  BOUTONS                                                    */
/* ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 16px 28px;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s ease; }
.btn-gold { background: var(--gold-grad); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -18px rgba(0,0,0,0.55); }
.btn-gold:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1.5px solid var(--line-strong); color: var(--text-light); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-lg { padding: 19px 36px; font-size: 15px; }

/* ----------------------------------------------------------- */
/*  HEADER / NAV                                               */
/* ----------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 20px -14px rgba(0,0,0,0.3);
  transition: box-shadow .4s ease, border-color .4s ease;
}
.nav-inner {
  max-width: var(--container); margin-inline: auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding .4s ease;
}
.nav.scrolled { box-shadow: 0 8px 28px -18px rgba(0,0,0,0.45); border-bottom-color: rgba(0,0,0,0.10); }
.nav.scrolled .nav-inner { padding-block: 10px; }

/* Logo officiel (image) */
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 80px; width: auto; display: block;
  object-fit: contain;
  transition: transform .25s ease, height .4s ease;
}
.brand:hover .brand-logo { transform: translateY(-1px); }
.nav.scrolled .brand-logo { height: 64px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-dark-mut); padding: 10px 15px; border-radius: 8px;
  transition: color .2s ease;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav-links a:hover { color: var(--text-dark); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--text-dark); white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; color: var(--gold-deep); }
.nav-phone:hover { color: var(--gold-deep); }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.18); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--text-dark); transition: transform .3s ease, opacity .3s ease; }
.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 menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: #fff;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 8px;
  padding: max(96px, 12vh) var(--gutter) 32px;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
@media (min-height: 640px) { .mobile-menu { justify-content: center; } }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-head); font-weight: 800; font-size: 28px; text-transform: uppercase;
  letter-spacing: 0.01em; color: var(--text-dark); padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .mm-foot { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.mobile-menu .mm-foot .btn-ghost { color: var(--text-dark); border-color: rgba(0,0,0,0.18); }
.mobile-menu .mm-foot .btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ----------------------------------------------------------- */
/*  HERO                                                       */
/* ----------------------------------------------------------- */
.hero { position: relative; min-height: min(820px, 88svh); display: flex; align-items: flex-end; overflow: hidden; padding-top: clamp(112px, 13vh, 140px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,14,20,0.72) 0%, rgba(10,14,20,0.25) 32%, rgba(10,14,20,0.55) 64%, var(--ink) 100%),
    linear-gradient(95deg, rgba(10,14,20,0.85) 0%, rgba(10,14,20,0.30) 55%, transparent 100%);
}
/* décor élégant tant qu'aucune photo n'est posée */
.hero-bg-fallback {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 80% 0%, #243042 0%, #131b27 45%, #0a0e14 100%);
}
.hero-bg-fallback::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    repeating-linear-gradient(100deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 46px);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000);
}

.hero-inner { position: relative; z-index: 5; width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 var(--gutter) clamp(40px, 6vh, 72px); }
.hero h1 { max-width: 18ch; margin-bottom: 20px; }
.hero h1 .gold-text { display: inline; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-light); max-width: 52ch; margin-bottom: 30px; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(26px, 4vh, 42px); padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-stat .num { font-family: var(--font-head); font-weight: 900; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--white); }
.hero-stat .num span { color: var(--gold); }
.hero-stat .lbl { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mut); margin-top: 9px; font-weight: 600; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-mut); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint .mouse { width: 22px; height: 34px; border: 1.5px solid var(--line-strong); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--gold); border-radius: 2px; animation: wheel 1.6s ease infinite; }
@keyframes wheel { 0%{opacity:0; transform: translate(-50%,0);} 30%{opacity:1;} 100%{opacity:0; transform: translate(-50%,12px);} }

/* ----------------------------------------------------------- */
/*  BANDE CONFIANCE                                            */
/* ----------------------------------------------------------- */
.trust { background: var(--ink-2); border-block: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: 30px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ti-ic { width: 38px; height: 38px; flex: none; color: var(--gold); }
.trust-item .ti-t { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--white); text-transform: uppercase; letter-spacing: .02em; }
.trust-item .ti-s { font-size: 12.5px; color: var(--text-mut); letter-spacing: .04em; }

/* ----------------------------------------------------------- */
/*  PRÉSENTATION                                               */
/* ----------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.intro-p { color: var(--text-mut); font-size: 16.5px; margin-top: 20px; max-width: 60ch; }

/* ----------------------------------------------------------- */
/*  SERVICES                                                   */
/* ----------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.services-grid--trio { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .services-grid--trio { grid-template-columns: 1fr; } }
.svc {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--anthracite) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; min-height: 320px;
  display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .4s ease, box-shadow .4s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold-deep); }
.svc-ic { width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 16px; color: var(--gold-2); margin: 0 0 28px; transition: border-color .35s ease, color .35s ease; }
.svc-ic svg { width: 30px; height: 30px; }
.svc:hover .svc-ic { border-color: var(--gold); color: var(--gold); }
.svc h3 { font-size: 24px; margin-bottom: 12px; }
.svc p { color: var(--text-mut); font-size: 15.5px; margin-bottom: 22px; }
.svc-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span { font-size: 12px; font-weight: 600; color: var(--text-light); border: 1px solid var(--line-strong); padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; }

/* ----------------------------------------------------------- */
/*  ATOUTS / POURQUOI NOUS                                     */
/* ----------------------------------------------------------- */
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; margin-top: 12px; }
.why-item { display: flex; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.why-item .wi-ic { width: 30px; height: 30px; flex: none; color: var(--gold); margin-top: 3px; }
.why-item h4 { font-size: 19px; margin-bottom: 6px; }
.why-item p { color: var(--text-mut); font-size: 15px; }

/* ----------------------------------------------------------- */
/*  PROCESS                                                    */
/* ----------------------------------------------------------- */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.proc { position: relative; padding-top: 32px; }
.proc .p-num { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.14); border-radius: 50%; background: #fff; color: var(--gold-deep); margin-bottom: 24px; }
.proc .p-num svg { width: 26px; height: 26px; }
.proc h4 { font-size: 21px; margin-bottom: 10px; }
.proc p { color: var(--text-dark-mut); font-size: 15px; }
.proc::before { content: ""; position: absolute; top: 59px; left: 66px; right: -22px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.proc:last-child::before { display: none; }

/* ----------------------------------------------------------- */
/*  ZONE D'INTERVENTION                                        */
/* ----------------------------------------------------------- */
.zone-cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.zone-cities span { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; letter-spacing: .03em; color: var(--text-dark); border: 1px solid rgba(0,0,0,.14); padding: 9px 16px; border-radius: 999px; }
.zone-cities span b { color: var(--gold-deep); }

/* ----------------------------------------------------------- */
/*  BANDE APPEL À L'ACTION                                     */
/* ----------------------------------------------------------- */
.cta-band { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; padding-block: clamp(56px, 8vw, 96px); }
.cta-title { font-size: clamp(28px, 4vw, 46px); font-weight: 900; letter-spacing: -0.02em; }
.cta-sub { color: var(--text-mut); font-size: clamp(16px, 1.5vw, 19px); margin-top: 14px; max-width: 46ch; }

/* ----------------------------------------------------------- */
/*  CTA DEVIS / CONTACT                                        */
/* ----------------------------------------------------------- */
.devis { position: relative; overflow: hidden; }
.devis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.devis-info .lead { color: var(--text-mut); }
.devis-contacts { display: flex; flex-direction: column; gap: 4px; margin-top: 34px; }
.dc-item { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.dc-item:last-child { border-bottom: 1px solid var(--line); }
.dc-item .dc-ic { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold); flex: none; }
.dc-item .dc-ic svg { width: 20px; height: 20px; }
.dc-item .dc-l { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mut); }
.dc-item .dc-v { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--white); }
a.dc-item:hover .dc-v { color: var(--gold-2); }
a.dc-item:hover .dc-ic { border-color: var(--gold); }

.wa-btn {
  display: inline-flex; align-items: center; gap: 11px; margin-top: 28px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--white); background: #1faa53; padding: 15px 26px; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 16px 40px -18px rgba(31,170,83,.7);
}
.wa-btn svg { width: 20px; height: 20px; }
.wa-btn:hover { background: #17943f; transform: translateY(-2px); }

.form-card { background: var(--paper-2); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.form-card h3 { color: var(--text-dark); font-size: 24px; margin-bottom: 6px; }
.form-card .fc-sub { color: var(--text-dark-mut); font-size: 14.5px; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--text-dark);
  background: #fff; border: 1.5px solid rgba(0,0,0,.14); border-radius: 11px; padding: 13px 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(199,162,75,.16); }
.field textarea { resize: vertical; min-height: 110px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--rouge); }
.field .err-msg { color: var(--rouge); font-size: 12.5px; margin-top: 6px; display: none; }
.field.error .err-msg { display: block; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12px; color: var(--text-dark-mut); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .fs-ic { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; color: var(--ink); }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-dark-mut); }

/* ----------------------------------------------------------- */
/*  FOOTER                                                     */
/* ----------------------------------------------------------- */
.footer { background: #fff; border-top: 1px solid rgba(0,0,0,0.10); padding-top: clamp(56px, 7vw, 84px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.foot-brand p { color: var(--text-dark-mut); font-size: 14.5px; max-width: 36ch; }
.foot-logo-img { width: 132px; height: auto; margin-bottom: 18px; border-radius: 12px; }
.foot-col h5 { font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 18px; }
.foot-col a, .foot-col p { display: block; color: var(--text-dark-mut); font-size: 14.5px; padding: 6px 0; transition: color .2s ease; }
.foot-col a:hover { color: var(--gold-deep); }
.foot-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; border-top: 1px solid rgba(0,0,0,0.10); }
.foot-bot p { font-size: 13px; color: var(--text-dark-mut); }
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-legal a { font-size: 13px; color: var(--text-dark-mut); transition: color .2s ease; }
.foot-legal a:hover { color: var(--gold-deep); }
.foot-bot .made { display: inline-flex; align-items: center; gap: 8px; }
.foot-flag { display: inline-flex; height: 12px; width: 18px; border-radius: 2px; overflow: hidden; vertical-align: middle; }
.foot-flag i { flex: 1; }
.foot-flag i:nth-child(1){background:var(--bleu);} .foot-flag i:nth-child(2){background:#f4f4f4;} .foot-flag i:nth-child(3){background:var(--rouge);}

/* ----------------------------------------------------------- */
/*  RÉVÉLATION AU SCROLL                                       */
/* ----------------------------------------------------------- */
.reveal { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.js .reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{transition-delay:.08s;} .reveal[data-d="2"]{transition-delay:.16s;}
.reveal[data-d="3"]{transition-delay:.24s;} .reveal[data-d="4"]{transition-delay:.32s;}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1 !important;transform:none !important;transition:none;}
  .scroll-hint .mouse::after{animation:none;}
  html{scroll-behavior:auto;}
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ----------------------------------------------------------- */
/*  ACCESSIBILITÉ                                              */
/* ----------------------------------------------------------- */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--gold-grad); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 10px;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--paper :focus-visible { outline-color: var(--gold-deep); }

/* ----------------------------------------------------------- */
/*  BARRE DE PROGRESSION                                       */
/* ----------------------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--gold-grad); z-index: 101;
  transition: width .1s linear;
}

/* scrollspy : lien actif */
.nav-links a.active { color: var(--text-dark); }
.nav-links a.active::after { transform: scaleX(1); }

/* ----------------------------------------------------------- */
/*  FAQ                                                        */
/* ----------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 124px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 1.8vw, 21px);
  color: var(--white); padding: 26px 0; transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-2); }
.faq-mark { position: relative; width: 18px; height: 18px; flex: none; }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold);
  transform: translate(-50%, -50%); transition: transform .3s ease, opacity .3s ease;
}
.faq-mark::before { width: 16px; height: 2px; }
.faq-mark::after { width: 2px; height: 16px; }
.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; padding-bottom: 26px; }
.faq-a p { color: var(--text-mut); font-size: 16px; max-width: 60ch; }
.faq-item[open] summary { color: var(--gold-2); }

/* ----------------------------------------------------------- */
/*  BARRE D'ACTION FIXE (MOBILE)                               */
/* ----------------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.mobile-bar.show { transform: translateY(0); }
.mobile-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  padding: 12px 6px; background: var(--ink-2); color: var(--text-light);
}
.mobile-bar a svg { width: 19px; height: 19px; }
.mobile-bar .mb-call { color: var(--gold-2); }
.mobile-bar .mb-wa { color: #36c95e; }
.mobile-bar .mb-devis { background: var(--gold-grad); color: var(--ink); flex: 1.2; }

/* ----------------------------------------------------------- */
/*  RESPONSIVE                                                 */
/* ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; }
  .proc::before { display: none; }
  .devis-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
}
@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: flex; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
  .footer { padding-bottom: 56px; }
}
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: span 2; }
  .hero-stats { gap: 22px 36px; }
  .btn { padding: 14px 22px; font-size: 13px; }
}

/* ----------------------------------------------------------- */
/*  MUR DE REALISATIONS (DEFILE)                              */
/* ----------------------------------------------------------- */
.reel { padding-top: clamp(52px, 6.5vw, 96px); padding-bottom: clamp(52px, 6.5vw, 96px); overflow: hidden; }
.reel .container { margin-bottom: clamp(34px, 4vw, 52px); }
.reel-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reel-hint {
  font-family: var(--font-head); font-weight: 600;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mut);
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 4px 0; cursor: pointer; transition: color .2s ease;
}
.reel-hint:hover { color: var(--gold-2); }
.reel-hint svg { width: 15px; height: 15px; color: var(--gold); transition: transform .2s ease; }
.reel-hint:hover svg { transform: scale(1.12); }

.reel-wall { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 18px); }
.reel-row {
  position: relative;
  height: clamp(140px, 15.5vw, 200px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.reel-track {
  display: flex; align-items: stretch; gap: clamp(12px, 1.4vw, 18px);
  width: max-content; height: 100%;
  animation: reel-scroll var(--reel-dur, 150s) linear infinite;
}
.reel-row.rev .reel-track { animation-direction: reverse; }
.reel-row:hover .reel-track,
.reel-track.is-paused { animation-play-state: paused; }
@keyframes reel-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

.reel-fig {
  flex: 0 0 auto; height: 100%; position: relative; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--anthracite); cursor: zoom-in;
}
.reel-fig img {
  height: 100%; width: auto; display: block; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
  filter: saturate(.98) contrast(1.02);
}
.reel-fig::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0); transition: box-shadow .35s ease;
  pointer-events: none;
}
.reel-fig:hover img { transform: scale(1.05); filter: saturate(1.05) contrast(1.03) brightness(1.04); }
.reel-fig:hover::after { box-shadow: inset 0 0 0 2px var(--gold); }
.reel-cta { text-align: center; margin-top: clamp(32px, 4vw, 52px); padding-inline: var(--gutter); }

/* ----------------------------------------------------------- */
/*  BANDE PHOTO PLEINE LARGEUR                                 */
/* ----------------------------------------------------------- */
.photo-band { position: relative; height: clamp(280px, 42vw, 560px); overflow: hidden; background: var(--ink-2); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,20,.45) 0%, rgba(10,14,20,.08) 30%, rgba(10,14,20,.30) 100%);
  pointer-events: none;
}

/* ----------------------------------------------------------- */
/*  LIGHTBOX (accueil) - isolee par #lightbox pour ne pas      */
/*  entrer en collision avec la lightbox de realisations.html  */
/* ----------------------------------------------------------- */
#lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(7,10,15,.94);
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
#lightbox.open { display: flex; opacity: 1; visibility: visible; }
#lightbox .lb-stage { position: relative; max-width: 94vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; }
#lightbox .lb-img {
  max-width: 94vw; max-height: 86vh; width: auto; height: auto; display: block;
  border-radius: 8px; box-shadow: 0 40px 120px -30px rgba(0,0,0,.85);
  background: var(--anthracite);
}
#lightbox .lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16,21,29,.7); border: 1.5px solid var(--line-strong); color: var(--text-light);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
#lightbox .lb-btn svg { width: 22px; height: 22px; }
#lightbox .lb-btn:hover { background: rgba(16,21,29,.95); border-color: var(--gold); color: var(--gold-2); }
#lightbox .lb-prev { left: clamp(8px, 3vw, 40px); right: auto; }
#lightbox .lb-next { right: clamp(8px, 3vw, 40px); left: auto; }
#lightbox .lb-close {
  position: fixed; top: 18px; right: 18px; left: auto; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16,21,29,.7); border: 1.5px solid var(--line-strong); color: var(--text-light);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .25s ease;
}
#lightbox .lb-close svg { width: 20px; height: 20px; }
#lightbox .lb-close:hover { background: rgba(16,21,29,.95); border-color: var(--gold); color: var(--gold-2); transform: rotate(90deg); }
#lightbox .lb-count {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em;
  color: var(--text-mut); background: rgba(16,21,29,.6); padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line);
}
#lightbox .lb-count .lb-cur { color: var(--gold-2); }
body.lb-lock { overflow: hidden; }

@media (max-width: 640px) {
  #lightbox .lb-btn { width: 46px; height: 46px; }
  /* le declencheur reste focusable au clavier mais visuellement masque sur mobile */
  #reelOpen { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 560px) {
  /* fleches sorties de la zone image, regroupees en bas */
  #lightbox .lb-prev, #lightbox .lb-next { top: auto; bottom: 18px; transform: none; }
  #lightbox .lb-prev { left: calc(50% - 64px); right: auto; }
  #lightbox .lb-next { right: calc(50% - 64px); left: auto; }
  #lightbox .lb-count { bottom: 82px; }
  #lightbox .lb-img { max-width: 95vw; max-height: 76vh; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
  .reel-row { overflow-x: auto; -webkit-overflow-scrolling: touch; -webkit-mask-image: none; mask-image: none; }
  #lightbox .lb-close:hover { transform: none; }
}

/* ----------------------------------------------------------- */
/*  PAGES LEGALES                                              */
/* ----------------------------------------------------------- */
.legal-topbar { padding: 18px var(--gutter); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-topbar .brand-logo { height: 56px; width: auto; }
.legal-doc { max-width: 820px; margin-inline: auto; }
.legal-doc h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.legal-doc .updated { color: var(--text-mut); font-size: 14px; margin-bottom: 30px; }
.legal-doc h2 { font-size: 20px; color: var(--white); margin: 36px 0 12px; }
.legal-doc p, .legal-doc li { color: var(--text-mut); font-size: 16px; margin-bottom: 12px; }
.legal-doc ul { padding-left: 22px; margin-bottom: 12px; }
.legal-doc a { color: var(--gold-2); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-mut); font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 30px; }
.legal-back:hover { color: var(--gold-2); }
.todo { color: var(--gold-2); background: rgba(199,162,75,.10); border: 1px dashed var(--gold-deep); padding: 1px 8px; border-radius: 6px; font-size: 14px; white-space: nowrap; }

/* ----------------------------------------------------------- */
/*  PAGE NOS REALISATIONS (galerie + lightbox)                 */
/* ----------------------------------------------------------- */
.rea-hero { position: relative; min-height: 48vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: clamp(116px, 15vh, 150px); }
.rea-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.rea-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,14,20,.62) 0%, rgba(10,14,20,.35) 45%, var(--ink) 100%); }
.rea-hero .container { position: relative; z-index: 2; padding-bottom: clamp(36px, 6vh, 64px); }

.rea-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.rea-filters button { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mut); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); transition: color .2s ease, border-color .2s ease, background .2s ease; }
.rea-filters button:hover { border-color: var(--gold); color: var(--gold-2); }
.rea-filters button.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.rea-grid { columns: 3; column-gap: 16px; }
@media (max-width: 900px) { .rea-grid { columns: 2; } }
@media (max-width: 560px) { .rea-grid { columns: 1; } }
.rea-item { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: none; background: var(--anthracite); border-radius: var(--radius); overflow: hidden; break-inside: avoid; cursor: zoom-in; position: relative; }
.rea-item img { width: 100%; height: auto; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.rea-item:hover img { transform: scale(1.04); }
.rea-item.hide { display: none; }

.lb { position: fixed; inset: 0; z-index: 200; background: rgba(6,9,13,.93); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.lb.open { opacity: 1; visibility: visible; }
.lb img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: var(--shadow-soft); }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line-strong); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s ease, color .2s ease; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .lb-prev { left: 10px; } .lb-next { right: 10px; } .lb img { max-width: 95vw; } }
