/* =========================================================================
   Y.F. DEV — Ingénierie énergétique · graphite & ambre
   Design system (DESIGN.md). Zéro monospace, zéro Editorial-Luxury.
   ========================================================================= */

/* ---- Fonts ---- */
@font-face { font-family: 'Bricolage Fallback'; src: local('Arial'); ascent-override: 92%; }

:root {
  /* Palette */
  --bg:            #FAFAF7;
  --surface:       #FFFFFF;
  --surface-warm:  #F3F2EE;
  --ink:           #14161A;
  --ink-2:         #4A4E56;
  --ink-3:         #6B7079;
  --graphite:      #1E2126;
  --graphite-deep: #0D0F12;
  --amber:         #F6A81E;
  --amber-deep:    #E08A0C;
  --amber-soft:    rgba(246,168,30,.12);
  --line:          #E5E3DE;
  --line-2:        #D9D6CF;
  --line-dark:     rgba(255,255,255,.12);
  --on-dark:       #FAFAF7;
  --on-dark-soft:  rgba(250,250,247,.72);

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Bricolage Fallback', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --fs-display: clamp(38px, 5.4vw, 82px);
  --fs-h2:      clamp(28px, 3.6vw, 48px);
  --fs-h3:      clamp(20px, 2.1vw, 27px);
  --fs-lead:    clamp(17px, 1.5vw, 21px);

  /* Tokens */
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,22,26,.05), 0 2px 8px rgba(20,22,26,.05);
  --shadow-md: 0 14px 38px -14px rgba(20,22,26,.20);
  --shadow-lg: 0 30px 70px -28px rgba(20,22,26,.34);
  --shadow-amber: 0 12px 30px -12px rgba(224,138,12,.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 9vw, 128px);
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'tnum' 0;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
::selection { background: var(--amber); color: var(--graphite-deep); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Eyebrow + trait-conducteur (motif signature) ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--amber);
  position: relative;
}
.eyebrow::after {
  content: ""; width: 7px; height: 7px; background: var(--amber);
  border-radius: 2px; margin-left: -8px;
}
.eyebrow.on-dark { color: var(--on-dark-soft); }
.eyebrow.center { justify-content: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 16px 14px 24px; border-radius: var(--radius-pill);
  transition: transform .5s var(--ease), background .3s var(--ease), box-shadow .5s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn__ico {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: transform .5s var(--ease), background .3s var(--ease);
}
.btn__ico svg { width: 15px; height: 15px; }
.btn:active { transform: scale(.975); }

.btn--amber { background: var(--amber); color: var(--graphite-deep); }
.btn--amber .btn__ico { background: rgba(13,15,18,.14); }
.btn--amber:hover { background: var(--amber-deep); box-shadow: var(--shadow-amber); }
.btn--amber:hover .btn__ico { transform: translate(3px,-1px); }

.btn--ink { background: var(--graphite); color: var(--on-dark); }
.btn--ink .btn__ico { background: rgba(255,255,255,.14); }
.btn--ink:hover { background: var(--ink); box-shadow: var(--shadow-md); }
.btn--ink:hover .btn__ico { transform: translate(3px,-1px); }

.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); padding: 13px 22px; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost.on-dark { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn--ghost.on-dark:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); background: rgba(255,255,255,.06); }

.btn--lg { font-size: 16px; padding: 16px 18px 16px 28px; }
.btn--lg .btn__ico { width: 34px; height: 34px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,15,18,.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }

/* Logo client (détouré, blanc sur transparent) */
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 50px; width: auto; display: block; }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: rgba(250,250,247,.82);
  padding: 9px 14px; border-radius: 10px; transition: color .25s, background .25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: var(--on-dark);
}
.header-phone svg { width: 16px; height: 16px; color: var(--amber); }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1){ top: 17px; } .burger span:nth-child(2){ top: 23px; } .burger span:nth-child(3){ top: 29px; }
body.nav-open .burger span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2){ opacity: 0; }
body.nav-open .burger span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(10,12,15,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 84px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display); font-size: clamp(28px,7vw,40px); font-weight: 700; color: var(--on-dark);
  padding: 10px 0; border-bottom: 1px solid var(--line-dark);
  transform: translateY(18px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .25s;
}
.mobile-nav a:hover { color: var(--amber); }
body.nav-open .mobile-nav a { transform: translateY(0); opacity: 1; }
body.nav-open .mobile-nav a:nth-child(1){ transition-delay:.08s;} body.nav-open .mobile-nav a:nth-child(2){ transition-delay:.13s;}
body.nav-open .mobile-nav a:nth-child(3){ transition-delay:.18s;} body.nav-open .mobile-nav a:nth-child(4){ transition-delay:.23s;}
body.nav-open .mobile-nav a:nth-child(5){ transition-delay:.28s;} body.nav-open .mobile-nav a:nth-child(6){ transition-delay:.33s;}
body.nav-open .mobile-nav a:nth-child(7){ transition-delay:.38s;}
.mobile-nav__foot { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }

/* ---- HERO (accueil, cinématique sombre) ---- */
.hero { position: relative; background: var(--graphite-deep); color: var(--on-dark); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,64px); align-items: center;
  padding-block: clamp(56px,7vw,104px) clamp(56px,7vw,96px);
}
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 { font-size: var(--fs-display); font-weight: 800; color: #fff; margin-bottom: 22px; }
.hero h1 .amber { color: var(--amber); }
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u::after { content:""; position:absolute; left:0; right:0; bottom:.06em; height:.09em; background:var(--amber); border-radius:2px; }
.hero__lead { font-size: var(--fs-lead); color: rgba(250,250,247,.9); max-width: 42ch; margin-bottom: 30px; text-shadow: 0 2px 30px rgba(8,10,12,.5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.hero__proof div { display: flex; flex-direction: column; gap: 3px; }
.hero__proof b { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: #fff; font-feature-settings:'tnum'; }
.hero__proof span { font-size: 12.5px; color: var(--on-dark-soft); letter-spacing: .02em; }

/* Stage : photo présentée en fenêtre architecturale (carte inclinée + profondeur) */
.hero__stage { position: relative; padding: 30px 0 0 30px; }
.hero__backcard {
  position: absolute; inset: 24px 0 0 0; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--graphite) 0%, var(--graphite-deep) 100%);
  border: 1px solid var(--line-dark); transform: rotate(4deg);
}
.hero__backcard::before {
  content: ""; position: absolute; inset: 0; opacity: .06; border-radius: inherit;
  background-image: linear-gradient(var(--on-dark) 1px, transparent 1px), linear-gradient(90deg, var(--on-dark) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero__window {
  position: relative; transform: rotate(-2.5deg); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-dark); box-shadow: 0 44px 84px -30px rgba(0,0,0,.75);
}
.hero__window img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 42%; display: block; }

/* Badge RGE — mis en avant en sceau ambre plein, upright pour rester lisible */
.hero__badge {
  position: absolute; left: -24px; top: 32px; z-index: 3;
  background: var(--amber); color: var(--graphite-deep);
  border-radius: 18px; padding: 16px 22px 16px 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-amber), inset 0 1px 0 rgba(255,255,255,.35);
}
.hero__badge .dot { width: 46px; height: 46px; border-radius: 13px; background: rgba(13,15,18,.14); display: grid; place-items: center; flex: none; }
.hero__badge .dot svg { width: 24px; height: 24px; color: var(--graphite-deep); }
.hero__badge b { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--graphite-deep); display: block; line-height: 1.15; }
.hero__badge span { font-size: 12.5px; color: rgba(13,15,18,.75); font-weight: 600; letter-spacing: .01em; }
.hero__glow { position: absolute; width: 60%; height: 60%; top: -10%; right: -10%; background: radial-gradient(circle, rgba(246,168,30,.16), transparent 70%); pointer-events: none; }

/* ---- Trust strip ---- */
.trust { background: var(--graphite); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding-block: 20px; }
.trust__item { display: flex; align-items: center; gap: 11px; font-size: 14px; color: rgba(250,250,247,.86); }
.trust__item svg { width: 19px; height: 19px; color: var(--amber); flex: none; }
.trust__item b { color: #fff; font-weight: 600; font-feature-settings:'tnum'; }
.trust__sep { width: 5px; height: 5px; background: var(--amber); border-radius: 2px; }

/* ---- Section head ---- */
.sec { padding-block: var(--sec-y); }
.sec--warm { background: var(--surface-warm); }
.sec__head { max-width: 760px; margin-bottom: clamp(40px,5vw,64px); }
.sec__head.center { margin-inline: auto; text-align: center; }
.sec__head .eyebrow { margin-bottom: 18px; }
.sec__head h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.sec__head p { font-size: var(--fs-lead); color: var(--ink-2); }

/* ---- Prestations grid (asymétrique légère) ---- */
.services { display: grid; grid-template-columns: repeat(6,1fr); gap: clamp(16px,1.6vw,22px); }
.svc {
  position: relative; grid-column: span 2; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.svc--feature { grid-column: span 3; }
.svc--wide { grid-column: span 3; }
.svc__media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.svc--feature .svc__media, .svc--wide .svc__media { aspect-ratio: 16/9; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__num { position: absolute; top: 14px; left: 14px; display:inline-flex; align-items:center; gap:8px; background: rgba(13,15,18,.6); backdrop-filter: blur(6px); color:#fff; font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; padding:7px 12px; border-radius:999px; }
.svc__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.svc--feature .svc__body h3 { font-size: clamp(23px,2.6vw,32px); }
.svc__body p { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; flex: 1; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tag { font-size: 12px; font-weight: 500; color: var(--ink-2); background: var(--surface-warm); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.svc__link { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-top: auto; }
.svc__link svg { width: 15px; height: 15px; color: var(--amber-deep); transition: transform .4s var(--ease); }
.svc:hover .svc__link svg { transform: translateX(4px); }

/* ---- Signature : la pose qui s'intègre ---- */
.signature { background: var(--graphite-deep); color: var(--on-dark); position: relative; overflow: hidden; }
.signature .cells { position: absolute; inset: 0; opacity: .05; background-image: linear-gradient(var(--on-dark) 1px, transparent 1px), linear-gradient(90deg, var(--on-dark) 1px, transparent 1px); background-size: 46px 46px; pointer-events: none; }
.signature__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,3vw,44px); align-items: center; }
.signature__text .eyebrow { margin-bottom: 20px; }
.signature__text h2 { font-size: var(--fs-h2); color: #fff; margin-bottom: 20px; }
.signature__text p { color: rgba(250,250,247,.82); font-size: var(--fs-lead); margin-bottom: 18px; max-width: 46ch; }
.signature__pts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.signature__pts li { display: flex; gap: 13px; align-items: flex-start; color: rgba(250,250,247,.9); font-size: 15.5px; }
.signature__pts svg { width: 21px; height: 21px; color: var(--amber); flex: none; margin-top: 1px; }
.signature__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.signature__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-dark); }
.signature__media .tall { grid-row: span 2; aspect-ratio: 3/5; }
.signature__media .short { aspect-ratio: 4/3; }

/* ---- Réalisations gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 1fr; gap: 14px; }
.gcard { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--graphite); }
.gcard img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; transition: transform .8s var(--ease); }
.gcard--w2 { grid-column: span 2; }
.gcard--w2 img { aspect-ratio: 2/1; }
.gcard:hover img { transform: scale(1.05); }
.gcard__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(10,12,15,.82)); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.gcard:hover .gcard__cap { opacity: 1; transform: translateY(0); }

/* ---- Process ---- */
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(18px,2vw,30px); position: relative; }
.process::before { content: ""; position: absolute; top: 21px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--amber) 40%, var(--amber) 60%, var(--line-2)); z-index: 0; }
.step { position: relative; z-index: 1; }
.step__node { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.step__node b { font-family: var(--font-display); font-weight: 700; color: var(--amber-deep); font-feature-settings:'tnum'; }
.step h3 { font-size: 18px; margin-bottom: 9px; }
.step p { color: var(--ink-2); font-size: 14.5px; }
.sec--warm .step__node { background: var(--bg); }

/* ---- Zone ---- */
.zone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.zone__list { columns: 2; column-gap: 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.zone__list li { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 15px; color: var(--ink-2); break-inside: avoid; }
.zone__list svg { width: 15px; height: 15px; color: var(--amber-deep); flex: none; }
.zone__map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 4/3; background: var(--surface-warm); }
.zone__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.02); }
.zone__pin { position: absolute; top: 16px; left: 16px; z-index: 2; pointer-events: none; background: var(--surface); border-radius: 12px; padding: 11px 15px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.zone__pin svg { width: 17px; height: 17px; color: var(--amber-deep); }
.zone__map-cta { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; cursor: pointer; font: inherit; color: var(--ink, #17191F); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 24px; background: radial-gradient(130% 120% at 50% 8%, rgba(255,255,255,.55), rgba(255,255,255,0) 62%), repeating-linear-gradient(0deg, rgba(28,36,46,.045) 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, rgba(28,36,46,.045) 0 1px, transparent 1px 34px), var(--surface-warm); transition: background-color .25s var(--ease, ease); }
.zone__map-cta:hover, .zone__map-cta:focus-visible { background-color: #ECEAE3; outline: none; }
.zone__map-cta:focus-visible { box-shadow: inset 0 0 0 2px var(--amber-deep); }
.zone__map-cta__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--amber); color: var(--graphite-deep); box-shadow: var(--shadow-md); transition: background-color .25s var(--ease, ease); }
.zone__map-cta:hover .zone__map-cta__ic { background: var(--amber-deep); }
.zone__map-cta__ic svg { width: 25px; height: 25px; }
.zone__map-cta__tx { display: flex; flex-direction: column; gap: 3px; font-weight: 700; font-size: 15px; line-height: 1.3; }
.zone__map-cta__tx small { font-weight: 500; font-size: 12.5px; color: var(--ink-2); }

/* ---- CTA band ---- */
.ctaband { position: relative; background: var(--graphite-deep); color: var(--on-dark); overflow: hidden; }
.ctaband .cells { position: absolute; inset: 0; opacity: .05; background-image: linear-gradient(var(--on-dark) 1px, transparent 1px), linear-gradient(90deg, var(--on-dark) 1px, transparent 1px); background-size: 44px 44px; }
.ctaband__glow { position: absolute; width: 50%; height: 120%; right: -8%; top: -10%; background: radial-gradient(circle, rgba(246,168,30,.14), transparent 70%); }
.ctaband__inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 34px; align-items: center; padding-block: clamp(54px,6vw,84px); }
.ctaband h2 { font-size: var(--fs-h2); color: #fff; margin-bottom: 14px; }
.ctaband p { color: rgba(250,250,247,.82); font-size: var(--fs-lead); max-width: 44ch; }
.ctaband__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.ctaband__actions .btn { width: auto; }
.ctaband__phone { font-family: var(--font-display); font-size: clamp(24px,3vw,34px); font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.ctaband__phone svg { width: 26px; height: 26px; color: var(--amber); }

/* ---- Page hero (sous-pages) ---- */
.phero { position: relative; background: var(--graphite-deep); color: var(--on-dark); overflow: hidden; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.phero__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(100deg, rgba(10,12,15,.92) 30%, rgba(10,12,15,.6) 70%, rgba(10,12,15,.4)); }
.phero__inner { position: relative; padding-block: clamp(64px,9vw,128px) clamp(48px,6vw,80px); max-width: 720px; }
.phero .eyebrow { margin-bottom: 20px; }
.phero h1 { font-size: clamp(34px,4.6vw,64px); color: #fff; margin-bottom: 20px; }
.phero p { font-size: var(--fs-lead); color: rgba(250,250,247,.9); text-shadow: 0 2px 30px rgba(8,10,12,.5); max-width: 54ch; }
.crumbs { display: flex; gap: 9px; align-items: center; font-size: 13px; color: var(--on-dark-soft); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; } .crumbs svg { width: 13px; height: 13px; opacity: .6; }

/* ---- Feature rows (sous-pages) ---- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,60px); align-items: center; }
.feature + .feature { margin-top: clamp(48px,6vw,92px); }
.feature__media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.feature--rev .feature__media { order: 2; }
.feature__text h2 { font-size: var(--fs-h3); margin-bottom: 16px; }
.feature__text .eyebrow { margin-bottom: 16px; }
.feature__text p { color: var(--ink-2); margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist svg { width: 20px; height: 20px; color: var(--amber-deep); flex: none; margin-top: 2px; }

/* ---- Sub grid cards (spec) ---- */
.specs { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,1.8vw,22px); }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.spec__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--amber-soft); display: grid; place-items: center; margin-bottom: 18px; }
.spec__ico svg { width: 23px; height: 23px; color: var(--amber-deep); }
.spec h3 { font-size: 18px; margin-bottom: 10px; }
.spec p { color: var(--ink-2); font-size: 14.5px; }
.sec--warm .spec { background: var(--bg); }

/* ---- Stats / arguments band ---- */
.args { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.arg { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.arg b { display: block; font-family: var(--font-display); font-size: clamp(30px,4vw,46px); font-weight: 700; color: var(--ink); font-feature-settings:'tnum'; line-height: 1; margin-bottom: 10px; }
.arg b .amber { color: var(--amber-deep); }
.arg span { color: var(--ink-2); font-size: 14.5px; }

/* ---- Testimonial ---- */
.quote { max-width: 860px; margin-inline: auto; text-align: center; }
.quote__stars { display: inline-flex; gap: 4px; margin-bottom: 22px; }
.quote__stars svg { width: 22px; height: 22px; color: var(--amber); }
.quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px,2.7vw,32px); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); margin-bottom: 22px; }
.quote figcaption { color: var(--ink-2); font-size: 14.5px; }
.quote figcaption b { color: var(--ink); }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; color: var(--amber-deep); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 44px 22px 0; font-size: 15.5px; }

/* ---- Contact ---- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px,4vw,56px); }
.contact__aside h2 { font-size: var(--fs-h3); margin-bottom: 18px; }
.contact__items { display: grid; gap: 14px; margin: 22px 0 28px; }
.cinfo { display: flex; gap: 15px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cinfo__ico { width: 42px; height: 42px; border-radius: 11px; background: var(--amber-soft); display: grid; place-items: center; flex: none; }
.cinfo__ico svg { width: 20px; height: 20px; color: var(--amber-deep); }
.cinfo b { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; margin-bottom: 3px; letter-spacing: .02em; }
.cinfo a, .cinfo span { font-size: 16px; color: var(--ink); font-weight: 500; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,3vw,38px); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 11px;
  background: var(--bg); color: var(--ink); transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.form__note { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ---- Footer ---- */
.footer { background: var(--graphite-deep); color: var(--on-dark); padding-top: clamp(56px,6vw,84px); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: clamp(24px,3vw,44px); padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { height: 76px; width: auto; display: block; margin-bottom: 20px; }
.footer__brand p { color: var(--on-dark-soft); font-size: 14.5px; max-width: 34ch; }
.footer__brand .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer__brand .socials a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .25s; }
.footer__brand .socials a:hover { background: var(--amber); }
.footer__brand .socials a:hover svg { color: var(--graphite-deep); }
.footer__brand .socials svg { width: 18px; height: 18px; color: #fff; transition: color .25s; }
.footer h4 { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--on-dark-soft); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer ul a, .footer ul li { color: rgba(250,250,247,.78); font-size: 14.5px; transition: color .25s; }
.footer ul a:hover { color: var(--amber); }
.footer__contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--amber); flex: none; margin-top: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; font-size: 13px; color: var(--on-dark-soft); }
.footer__bottom a:hover { color: var(--amber); }
.footer__certs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer__certs span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(250,250,247,.7); border: 1px solid var(--line-dark); padding: 5px 10px; border-radius: 999px; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; filter: none; }
.reveal.d1{ transition-delay:.08s;} .reveal.d2{ transition-delay:.16s;} .reveal.d3{ transition-delay:.24s;} .reveal.d4{ transition-delay:.32s;}
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; filter:none; transition:none; } }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .nav, .header-cta .header-phone { display: none; }
  .burger { display: block; }
  .brand__logo { height: 44px; }
  .footer__logo { height: 64px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { order: -1; max-width: 420px; margin-inline: auto; padding: 22px 0 0 22px; }
  .hero__badge { left: -4px; top: 22px; padding: 13px 17px 13px 12px; }
  .hero__badge .dot { width: 40px; height: 40px; border-radius: 11px; }
  .hero__badge b { font-size: 15px; }
  .signature__grid, .zone__grid, .ctaband__inner, .contact__grid, .feature, .feature--rev .feature__media { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .services { grid-template-columns: repeat(6,1fr); }
  .svc, .svc--wide { grid-column: span 3; }
  .svc--feature { grid-column: span 6; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .process { grid-template-columns: repeat(2,1fr); }
  .process::before { display: none; }
  .args { grid-template-columns: repeat(2,1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .ctaband__actions { align-items: stretch; }
}
@media (max-width: 620px) {
  :root { --gutter: 20px; }
  .services { grid-template-columns: 1fr; }
  .svc--feature, .svc--wide, .svc { grid-column: span 1; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gcard--w2 { grid-column: span 2; }
  .specs, .args, .footer__top { grid-template-columns: 1fr; }
  .zone__list { columns: 1; }
  .form__row { grid-template-columns: 1fr; }
  .signature__media { grid-template-columns: 1fr 1fr; }
  .hero__proof { gap: 14px 20px; }
  .footer__brand { grid-column: 1; }
}
