/* ==========================================================================
   FGS Sécurité & Énergie solaire — feuille de style principale
   ========================================================================== */

:root {
  --ink: #070d1a;
  --ink-2: #0d1628;
  --ink-3: #15213a;
  --line: rgba(255, 255, 255, .09);
  --line-dark: rgba(10, 20, 40, .1);
  --blue: #2f80ed;
  --blue-2: #5aa2ff;
  --blue-deep: #1a4f9c;
  --sun: #f7b733;
  --green: #3cb54a;
  --green-2: #7ad66b;
  --green-deep: #14532d;
  --paper: #f5f7fb;
  --white: #fff;
  --text: #0d1526;
  --muted: #5b6678;
  --muted-light: #a9b4c8;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(7, 13, 26, .35);
  --shadow-soft: 0 12px 40px -18px rgba(7, 13, 26, .25);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1200px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--blue);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.45em; border-radius: 999px; border: 0;
  background: var(--bg); color: #fff; font-weight: 700; font-size: .94rem;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), filter .3s;
  box-shadow: 0 14px 30px -14px var(--bg);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 18px 32px -14px var(--bg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--green { --bg: var(--green); }
.btn--sun { --bg: var(--sun); color: #2a1a00; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn--ghost-dark { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--green { color: var(--green); }
.eyebrow--light { color: var(--blue-2); }
.text-grad { background: linear-gradient(100deg, var(--blue-2), #9fd0ff 60%, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-grad-sun { background: linear-gradient(100deg, var(--green-2), var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }

/* ---------- Barre supérieure + en-tête ---------- */
.topbar { background: var(--ink); color: var(--muted-light); font-size: .85rem; border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar__links a, .topbar__zone { display: inline-flex; gap: 7px; align-items: center; }
.topbar svg { width: 15px; height: 15px; color: var(--blue-2); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 13, 26, .86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .4s, box-shadow .4s, transform .6s var(--ease-out);
}
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue-2), var(--green-2)); pointer-events: none; }
.header.is-scrolled { background: rgba(7, 13, 26, .92); box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.logo img { height: 46px; width: auto; transition: transform .5s var(--ease); }
.logo:hover img { opacity: .85; }
.logo span { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.logo small { font-family: var(--font-body); font-weight: 600; font-size: .72rem; color: var(--muted-light); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > button {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; color: #dbe3f1; font-weight: 600; font-size: .95rem;
  background: none; border: 0; border-radius: 10px; transition: color .3s, background .3s;
}
.nav > a:hover, .nav__drop > button:hover, .nav a[aria-current="page"], .nav__drop.is-current > button { color: #fff; background: rgba(255,255,255,.06); }
.nav a[aria-current="page"]::after, .nav__drop.is-current > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue-2);
}
.nav__solar { color: #c9f5bf !important; }
.nav__solar::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(247,183,51,.18); }
.nav__solar[aria-current="page"]::after { background: var(--green-2) !important; }
.nav__drop { position: relative; }
.nav__drop svg { width: 14px; height: 14px; transition: transform .3s; }
.nav__drop.is-open > button svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 320px; padding: 10px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .25s, transform .35s var(--ease-out), visibility .25s;
}
.nav__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: #dbe3f1; transition: background .25s; }
.nav__menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav__menu a > span:first-child { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(47,128,237,.15); color: var(--blue-2); }
.nav__menu svg { width: 19px; height: 19px; transform: none !important; }
.nav__menu strong { display: block; font-size: .93rem; }
.nav__menu small { display: block; color: var(--muted-light); font-size: .78rem; line-height: 1.3; }
.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn { padding: .75em 1.25em; font-size: .9rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 6vw, 80px); position: relative; }
/* Deux sections claires qui se suivent : pas de double marge avant le bandeau de contact */
.section:not(.section--white):not(.section--dark):not(.solar-offer):has(+ .section--cta) { padding-bottom: 0; }
.section--cta { padding-block: clamp(32px, 4vw, 48px) clamp(40px, 5vw, 64px); }
.section--dark { background: var(--ink); color: #e6ecf6; }
.section--dark .lead, .section--dark p { color: var(--muted-light); }
.section--white { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 3vw, 36px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--center .lead { margin-inline: auto; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }
.blob--blue { width: 560px; height: 560px; background: #1d5fd1; top: -180px; left: -120px; }
.blob--green { width: 420px; height: 420px; background: #1e8a3a; bottom: -200px; right: 10%; animation-delay: -6s; opacity: .4; }
.blob--sun { width: 260px; height: 260px; background: #f7b733; top: 10%; right: -60px; opacity: .25; animation-delay: -10s; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #b9c4d8; max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2.2rem; color: #b9c4d8; font-size: .92rem; }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: var(--green-2); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 1.6rem;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04);
  font-size: .86rem; color: #dbe3f1; transition: border-color .3s, background .3s;
}
.pill:hover { border-color: rgba(122,214,107,.5); background: rgba(122,214,107,.06); }
.pill b { background: linear-gradient(120deg, var(--green), #8bd35e); color: #06260f; padding: 3px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }

.hero__visual { position: relative; height: 540px; perspective: 1200px; }
.stack-card {
  position: absolute; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  transition: transform .8s var(--ease);
}
.stack-card img { width: 100%; height: 100%; object-fit: cover; }
.stack-card--1 { width: 58%; height: 72%; left: 0; top: 4%; animation: float 9s ease-in-out infinite; }
.stack-card--2 { width: 50%; height: 56%; right: 0; top: 0; animation: float 11s ease-in-out infinite -3s; }
.stack-card--3 { width: 52%; height: 44%; right: 6%; bottom: 0; animation: float 10s ease-in-out infinite -6s; }
.stack-card figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(7,13,26,.7); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 700; color: #fff;
}
.float-badge {
  position: absolute; left: 6%; bottom: 4%; z-index: 3; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 18px; color: var(--text);
  background: rgba(255,255,255,.95); box-shadow: 0 30px 50px -20px rgba(0,0,0,.6);
  animation: float 7s ease-in-out infinite -2s;
}
.float-badge__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sun), #ff9f1a); color: #fff; }
.float-badge__ico svg { width: 24px; height: 24px; }
.float-badge strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1; }
.float-badge small { color: var(--muted); font-size: .8rem; }

/* ---------- Bandeau de chiffres ---------- */
.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line-dark);
}
.stat { padding: 30px 28px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.7rem); line-height: 1; color: var(--text); letter-spacing: -.03em; }
.stat strong em { font-style: normal; color: var(--blue); }
.stat:nth-child(2) strong em, .stat:nth-child(3) strong em { color: var(--green); }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Deux pôles ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar {
  position: relative; min-height: 460px; border-radius: 28px; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 44px);
  isolation: isolate; box-shadow: var(--shadow);
}
.pillar > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,13,26,.05) 20%, rgba(7,13,26,.92) 85%); }
.pillar--solar::before { background: linear-gradient(180deg, rgba(8,40,20,0) 20%, rgba(6,38,18,.94) 85%); }
.pillar:hover > img { transform: scale(1.06); }
.pillar__tag { position: absolute; top: 24px; left: 24px; padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); }
.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .4em; }
.pillar p { color: rgba(255,255,255,.82); max-width: 46ch; }
.pillar ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: 8px; }
.pillar li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: .85rem; font-weight: 600; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.link-arrow svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.link-arrow:hover svg, .pillar:hover .link-arrow svg, .svc:hover .link-arrow svg { transform: translateX(5px); }

/* ---------- Offre photovoltaïque ---------- */
.solar-offer { background: radial-gradient(1000px 500px at 85% 0%, rgba(247,183,51,.16), transparent 60%), linear-gradient(180deg, #f2fbf2, #fff); overflow: hidden; }
.solar-offer__head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 36px; }
.vat-badge {
  position: relative; width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: #fff; border: 6px solid var(--green); box-shadow: 0 25px 50px -20px rgba(20,83,45,.5);
  font-weight: 800; color: var(--green-deep); line-height: 1.1; font-size: .7rem; text-transform: uppercase;
  animation: badgeIn 1s var(--ease-out) .5s both;
}
.vat-badge strong { display: block; font-family: var(--font-display); font-size: 2.5rem; color: var(--green); letter-spacing: -.04em; margin: 4px 0; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer {
  position: relative; border-radius: 24px; overflow: hidden; color: #fff; padding: 30px;
  background: radial-gradient(500px 300px at 100% 0%, rgba(122,214,107,.18), transparent 60%), linear-gradient(160deg, #10241a, #0b1a14);
  border: 1px solid rgba(122,214,107,.18);
  display: grid; grid-template-columns: 1fr 150px; gap: 24px;
  transition: transform .6s var(--ease-out), box-shadow .6s;
  box-shadow: 0 40px 70px -40px rgba(10,40,20,.8);
}
.offer::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.08), transparent 40%); }
.offer__power { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.offer__power small { font-size: 1.6rem; margin-left: 4px; }
.offer__phase { color: var(--green-2); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; margin: 10px 0 22px; }
.offer__phase span { color: #fff; font-weight: 600; text-transform: none; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--green-2); margin-top: 2px; }
.checklist b { color: var(--green-2); }
.offer__panel { position: relative; align-self: center; height: 230px; border-radius: 6px; border: 3px solid #c9ced6; background-color: #0e1622;
  background-image: linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(135deg, #1b2a40, #05080d 60%, #24344e);
  background-size: 25px 100%, 100% 23px, 100% 100%; box-shadow: 0 25px 40px -15px #000; transform: rotateY(-14deg) rotateX(4deg);
}
.offer__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 45%, transparent 55%); }
.offer__price {
  grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 22px 26px; border-radius: 20px; background: linear-gradient(120deg, var(--green), #5cc443);
}
.offer__price small { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.offer__price strong { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1; letter-spacing: -.03em; }
.offer__price sup { font-size: .9rem; font-weight: 700; margin-left: 6px; }
.offer__price .btn { --bg: #0b1a14; box-shadow: none; }
.perks { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow-soft); border: 1px solid var(--line-dark); }
.perk { display: flex; gap: 14px; align-items: center; padding: 22px; border-left: 1px solid var(--line-dark); font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }
.perk:first-child { border-left: 0; }
.perk svg { flex: 0 0 36px; width: 36px; height: 36px; color: var(--green); }
.footnote { font-size: .8rem; color: var(--muted); margin-top: 16px; }

/* ---------- Cartes services ---------- */
.svc {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--line-dark); box-shadow: var(--shadow-soft);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.svc__img--product { background: #fff; }
.svc__img--product img { object-fit: contain !important; padding: 18px; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__ico { position: absolute; left: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 12px 24px -10px var(--blue); z-index: 2; }
.svc__ico svg { width: 23px; height: 23px; }
.svc__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc__body p { color: var(--muted); font-size: .96rem; flex: 1; }
.svc .link-arrow { color: var(--blue); font-size: .95rem; }
.svc--solar .svc__ico { background: var(--green); box-shadow: 0 12px 24px -10px var(--green); }
.svc--solar .link-arrow { color: var(--green); }

/* ---------- Atouts ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.promo > *, .split > *, .grid > *, .form-row > *, .contact-grid > *, .zone > *, .hero .container > *, .page-hero__grid > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.feature { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); transition: border-color .4s, background .4s, transform .7s var(--ease-out); }
.feature:hover { border-color: rgba(90,162,255,.4); background: rgba(90,162,255,.06); transform: translateY(-3px); }
.feature__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: linear-gradient(135deg, rgba(47,128,237,.3), rgba(47,128,237,.08)); color: var(--blue-2); }
.feature__ico svg { width: 21px; height: 21px; }
.feature h3 { color: #fff; font-size: 1.02rem; }
.feature p { font-size: .92rem; margin: 0; }
.section--white .feature, .section:not(.section--dark) .feature { background: var(--white); border-color: var(--line-dark); box-shadow: var(--shadow-soft); }
.section:not(.section--dark) .feature h3 { color: var(--text); }
.section:not(.section--dark) .feature p { color: var(--muted); }
.feature--green .feature__ico { background: linear-gradient(135deg, rgba(60,181,74,.25), rgba(60,181,74,.06)); color: var(--green); }

.img-frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Duo de photos : deux cadres côte à côte, même hauteur, rien ne dépasse */
.img-duo { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; height: clamp(300px, 34vw, 460px); }
.img-duo .img-frame { height: 100%; }
.img-duo .img-frame:last-child { margin-top: 48px; height: calc(100% - 48px); }

/* ---------- Marques ---------- */
.brands { padding-block: 40px; border-block: 1px solid var(--line-dark); background: var(--white); overflow: hidden; }
.marquee { display: flex; gap: 70px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #aab3c2; white-space: nowrap; display: inline-flex; align-items: center; gap: 70px; letter-spacing: -.01em; }
.marquee span::after { content: "✦"; font-size: .9rem; color: var(--blue); }
.brands:hover .marquee { animation-play-state: paused; }

/* ---------- Galerie / masonry ---------- */
/* Galerie : grille régulière, toutes les photos au même format */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.masonry--3 { grid-template-columns: repeat(3, 1fr); }
.masonry--4x3 { grid-template-columns: repeat(4, 1fr); }
.masonry--3 figure, .masonry--4x3 figure { aspect-ratio: 4 / 3; }
.masonry figure { margin: 0; aspect-ratio: 1; border-radius: 16px; overflow: hidden; position: relative; cursor: zoom-in; background: #dfe5ee; }
.masonry img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .5s; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff; font-size: .88rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(7,13,26,.85)); opacity: 0; transform: translateY(10px); transition: all .4s var(--ease);
}
.masonry figure:hover figcaption, .masonry figure:focus-visible figcaption { opacity: 1; transform: none; }
.masonry figure.is-hidden { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--white); font-weight: 700; font-size: .9rem; color: var(--muted); transition: all .3s; }
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 30px; background: rgba(4,8,16,.92); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; width: auto; border-radius: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.6); transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox p { color: #cbd5e5; text-align: center; margin: 14px 0 0; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }

/* ---------- Zone d'intervention ---------- */
.zone { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: .92rem; font-weight: 600; color: #dbe3f1; transition: all .3s; }
.chip:hover { background: rgba(90,162,255,.12); border-color: rgba(90,162,255,.5); color: #fff; }
.chip--main { background: var(--blue); border-color: var(--blue); color: #fff; }
.radar { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin-inline: auto; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(47,128,237,.18) 0 18%, transparent 18.5%), repeating-radial-gradient(circle, transparent 0 15%, rgba(90,162,255,.16) 15.2% 15.6%);
}
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(90,162,255,.35), transparent 25%); animation: rotate 6s linear infinite; mask: radial-gradient(circle, #000 69%, transparent 70%); -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%); }
.radar__center { position: relative; z-index: 2; text-align: center; }
.radar__center strong { display: block; font-family: var(--font-display); font-size: 3.4rem; color: #fff; line-height: 1; }
.radar__center span { color: var(--muted-light); font-size: .9rem; }
.radar i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 6px rgba(90,162,255,.2); animation: pulse 2.6s infinite; }

/* ---------- Bande CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 20px; padding: 22px clamp(22px, 3vw, 34px); color: #fff;
  background: radial-gradient(600px 300px at 0% 0%, rgba(90,162,255,.45), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(60,181,74,.4), transparent 60%), var(--ink-2);
  display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: center; box-shadow: var(--shadow-soft);
}
.cta-band h2 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); margin-bottom: .2em; }
.cta-band p { color: #b9c4d8; margin: 0; font-size: .92rem; }
.cta-band__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.cta-band__phone { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; display: inline-flex; align-items: center; gap: 12px; }
.cta-band__phone svg { width: 20px; height: 20px; color: var(--green-2); }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(44px, 6vw, 76px) 0 clamp(50px, 6vw, 84px); }
.page-hero > img { position: absolute; top: -6%; left: 0; width: 100%; height: 112%; max-width: none; object-fit: cover; opacity: .32; will-change: transform; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,13,26,.97) 25%, rgba(7,13,26,.55)); }
.page-hero--solar::after { background: linear-gradient(90deg, rgba(5,30,15,.96) 25%, rgba(5,30,15,.45)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 20ch; }
.page-hero .lead { color: #c3cde0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .86rem; color: var(--muted-light); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: #fff; }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.solar-logo-card { background: #fff; border-radius: 24px; padding: 18px; max-width: 460px; margin-left: auto; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.solar-logo-card img { border-radius: 16px; }

/* ---------- Contenu riche ---------- */
.prose h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
.prose p { color: var(--muted); }
.prose ul { padding-left: 1.2em; color: var(--muted); }
.quote { margin: 0; padding: 22px 26px; border-radius: 22px; background: linear-gradient(135deg, rgba(47,128,237,.08), rgba(47,128,237,.02)); border-left: 4px solid var(--blue); font-size: 1.1rem; font-weight: 600; }
.quote--green { background: linear-gradient(135deg, rgba(60,181,74,.1), rgba(60,181,74,.02)); border-color: var(--green); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 33px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--green) 0 10px, transparent 10px 20px); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num { position: relative; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--green); color: var(--green); box-shadow: 0 0 0 10px #f2fbf2; }
.step__num svg { width: 28px; height: 28px; }
.step__num::after { counter-increment: step; content: counter(step); position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.step p { color: var(--muted); font-size: .96rem; }

/* Promo starter pack */
.promo { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 30px; overflow: hidden; background: var(--ink-2); color: #fff; box-shadow: var(--shadow); }
.promo__img { background: #fff; display: grid; place-items: center; padding: 30px; }
.promo__body { padding: clamp(30px, 5vw, 56px); position: relative; }
.promo__tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #e63946; font-weight: 800; letter-spacing: .1em; font-size: .78rem; margin-bottom: 14px; }
.promo__price { font-family: var(--font-display); font-size: 2.9rem; line-height: 1; font-weight: 700; margin: 18px 0 24px; }
.promo__price small { font-size: 1rem; color: var(--muted-light); font-weight: 600; display: block; margin-bottom: 6px; }
.promo .checklist svg { color: var(--blue-2); }
.promo .btn { white-space: normal; }

/* Simulateur */
.simu { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line-dark); }
.simu__form { padding: clamp(28px, 4vw, 46px); }
.simu__out { padding: clamp(28px, 4vw, 46px); color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(247,183,51,.25), transparent 60%), linear-gradient(160deg, #10301c, #0a1d12); display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 22px; }
.field label, .field legend { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; font-size: .95rem; }
.field output { color: var(--green); font-family: var(--font-display); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0; }
.seg label { display: block; margin: 0; position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line-dark); font-weight: 700; cursor: pointer; transition: all .25s; }
.seg input:checked + span { border-color: var(--green); background: rgba(60,181,74,.1); color: var(--green-deep); }
.seg input:focus-visible + span { outline: 3px solid var(--green-2); outline-offset: 2px; }
input[type="range"] { width: 100%; accent-color: var(--green); height: 6px; }
.simu__big { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1; color: var(--green-2); letter-spacing: -.03em; }
.simu__row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.simu__row strong { font-family: var(--font-display); }
.simu small { color: rgba(255,255,255,.6); display: block; margin-top: 16px; font-size: .8rem; line-height: 1.5; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 18px; border: 1px solid var(--line-dark); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: 1.3rem; transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.contact-card { padding: 34px; border-radius: 26px; background: var(--ink-2); color: #fff; position: sticky; top: 110px; }
.contact-card h2 { font-size: 1.6rem; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-line span { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(47,128,237,.18); color: var(--blue-2); }
.contact-line svg { width: 22px; height: 22px; }
.contact-line small { display: block; color: var(--muted-light); font-size: .82rem; }
.contact-line strong { font-size: 1.05rem; }
.form { padding: clamp(28px, 4vw, 44px); border-radius: 26px; background: var(--white); border: 1px solid var(--line-dark); box-shadow: var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-dark); background: var(--paper); transition: border-color .3s, background .3s, box-shadow .3s; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47,128,237,.12); }
.form textarea { min-height: 150px; resize: vertical; }
.form .field { margin-bottom: 18px; }
.form .hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; color: var(--muted); font-size: .88rem !important; }
.check input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--blue); }
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: 14px; display: none; font-weight: 600; }
.form-msg.is-ok { display: block; background: rgba(60,181,74,.12); color: var(--green-deep); }
.form-msg.is-err { display: block; background: rgba(230,57,70,.1); color: #9b1c27; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { margin: 0; position: relative; }
.topics input { position: absolute; opacity: 0; }
.topics span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-dark); font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .25s; }
.topics input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.topics input:focus-visible + span { outline: 3px solid var(--blue-2); outline-offset: 2px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: var(--muted-light); padding: 52px 0 24px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), var(--green), transparent); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .25s; }
.footer a:hover { color: #fff; }
.footer__brand p { max-width: 36ch; font-size: .95rem; margin-top: 18px; }
.footer__brand img { height: 56px; width: auto; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); transition: all .3s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }
.footer__giant { display: none; font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 16vw, 13rem); line-height: .8; letter-spacing: -.06em; margin-top: 50px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); text-align: center; user-select: none; }

/* Bloc confiance : note, avis, marques */
.trust { border-top: 1px solid var(--line-dark); }
.trust__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.trust__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.04em; }
.trust__big span { font-size: .4em; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.stars { display: flex; gap: 3px; margin: 10px 0 16px; color: #f5b301; }
.stars svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.stars--sm { margin: 0 0 12px; }
.stars--sm svg { width: 16px; height: 16px; }
.trust__sources { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; color: var(--muted); font-size: .92rem; }
.trust__sources strong { color: var(--text); margin-right: 6px; }
.trust__reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.review { margin: 0; padding: 24px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 16px; font-size: 1.05rem; font-weight: 600; line-height: 1.5; flex: 1; }
.review figcaption { font-size: .86rem; font-weight: 700; }
.review figcaption span { color: var(--muted); font-weight: 500; }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(28px, 4vw, 40px); }
.cert { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-dark); background: var(--white); }
.cert__ico { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(60,181,74,.12); color: var(--green); }
.cert:last-child .cert__ico { background: rgba(47,128,237,.12); color: var(--blue); }
.cert__ico svg { width: 22px; height: 22px; }
.cert strong { display: block; font-size: .98rem; }
.cert span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; }
@media (max-width: 860px) { .certs { grid-template-columns: 1fr; } .page-hero__grid .solar-logo-card { display: none; } }
.brandbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; margin-top: clamp(32px, 4vw, 48px); padding-top: 26px; border-top: 1px solid var(--line-dark); }
.brandbar__label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brandbar__item { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #6b7587; letter-spacing: -.01em; transition: color .3s; }
.brandbar__item small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.brandbar__item:hover { color: var(--text); }
@media (max-width: 860px) {
  .trust__grid, .trust__reviews { grid-template-columns: 1fr; }
}

/* Bandeau d'appel (mobile uniquement), comme sur l'ancien site */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #269041; color: #fff; font-weight: 700; font-size: 1rem;
  box-shadow: 0 -10px 30px -12px rgba(0,0,0,.45);
  transition: background .25s;
}
.callbar:active { background: #1f7a37; }
.callbar__ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.callbar__ico svg { width: 18px; height: 18px; }
.callbar strong { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: .02em; }
.callbar__txt::after { content: " ·"; opacity: .7; }

/* ---------- Animations ---------- */
/* Blocs : fondu + léger glissement, décalé entre éléments voisins */
.reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
/* Images : dévoilement par masque de bas en haut + léger dézoom */
.reveal-zoom { clip-path: inset(100% -30% -30% -30%); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-zoom.is-in { clip-path: inset(-30% -30% -30% -30%); }
.reveal-zoom .img-frame img, .reveal-zoom .promo-hero__img { transform: scale(1.1); transition: transform 1.8s var(--ease-out); }
.reveal-zoom.is-in .img-frame img, .reveal-zoom.is-in .promo-hero__img { transform: none; }
/* Titres : chaque mot remonte derrière un masque */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-words .wi { display: inline-block; transform: translate3d(0, 110%, 0); animation: lineUp 1.1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + .1s); }
.is-split .text-grad, .is-split .text-grad-sun { background: none; }
.is-split .text-grad .wi { background-image: linear-gradient(100deg, var(--blue-2), #9fd0ff 60%, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-split .text-grad-sun .wi { background-image: linear-gradient(100deg, var(--green-2), var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@keyframes lineUp { to { transform: none; } }
@keyframes badgeIn { from { opacity: 0; transform: scale(.7); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .split-words .wi { opacity: 1; transform: none; }
  .reveal-zoom { clip-path: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; inset: var(--nav-top, 78px) 0 0; padding: 20px; overflow-y: auto; background: var(--ink);
    animation: menuIn .4s var(--ease-out);
  }
  .nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .nav-open .nav > a, .nav-open .nav__drop > button { font-size: 1.15rem; padding: 14px 16px; width: 100%; justify-content: space-between; }
  .nav-open .nav__menu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 10px; }
  .nav-open .nav__drop.is-open .nav__menu { display: block; transform: none; }
  .nav-open .nav > a { justify-content: flex-start; }
  .nav-open .nav::after { content: ""; display: block; height: 1px; background: var(--line); margin: 10px 0; }
  .nav-open .nav > .btn-mobile { display: inline-flex; margin-top: 10px; justify-content: center; background: var(--green); color: #fff; }
  .hero .container, .split, .zone, .page-hero__grid, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { height: 440px; }
  .grid-4, .perks, .features--4 { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split--rev > :first-child { order: 0; }
  .contact-card { position: static; }
}
.nav .btn-mobile { display: none; }
@media (max-width: 860px) {
  body { font-size: 16px; }
  .topbar__zone { display: none; }
  .grid-2, .grid-3, .pillars, .offers, .simu, .promo, .features { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .solar-offer__head { grid-template-columns: 1fr; }
  .vat-badge { width: 140px; height: 140px; }
  .vat-badge strong { font-size: 2.1rem; }
  .cta-band { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .callbar { display: flex; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .img-duo { height: clamp(260px, 60vw, 380px); }
  .masonry, .masonry--3 { grid-template-columns: repeat(3, 1fr); }
  .masonry--4x3 { grid-template-columns: repeat(2, 1fr); }
.masonry--3 figure { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .topbar__links a:last-child { display: none; }
  .logo span { display: none; }
  .hero__visual { height: 360px; }
  .offer { grid-template-columns: 1fr; padding: 26px; }
  .offer__panel { display: none; }
  .grid-4, .perks, .stats__inner, .footer__grid, .form-row, .features--4 { grid-template-columns: 1fr; }
  .perk, .stat { border-left: 0 !important; border-top: 1px solid var(--line-dark); }
  .perk:first-child, .stat:first-child { border-top: 0; }
  .masonry, .masonry--3, .masonry--4x3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .masonry figure { border-radius: 12px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; }
}

/* ---------- Accueil : bandeau promo photovoltaïque en tête ---------- */
.promo-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 500px at 85% 0%, rgba(247,183,51,.18), transparent 60%), linear-gradient(160deg, #0b2617 0%, #070d1a 75%);
  padding: clamp(40px, 5.5vw, 72px) 0 22px;
}
.promo-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.promo-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.promo-hero__list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; color: #dbe7dc; font-weight: 600; font-size: .95rem; }
.promo-hero__list li { display: flex; gap: 10px; align-items: center; }
.promo-hero__list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--green-2); }
.promo-hero__visual { position: relative; padding-bottom: 70px; }
.promo-hero__img { aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.promo-hero__img img { width: 100%; height: 112%; max-width: none; margin-top: -6%; object-fit: cover; will-change: transform; }
.promo-hero__note { color: rgba(255,255,255,.5); margin-top: 26px; }
.vat-badge--sm { position: absolute; top: -22px; right: -16px; z-index: 2; width: 124px; height: 124px; border-width: 4px; font-size: .6rem; }
.vat-badge--sm strong { font-size: 1.95rem; }
.mini-offers { position: absolute; left: 24px; right: 24px; bottom: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-offer {
  display: flex; flex-direction: column; padding: 18px 20px; border-radius: 20px; border-top: 4px solid var(--green);
  background: rgba(255,255,255,.97); color: var(--text); box-shadow: 0 25px 45px -20px rgba(0,0,0,.6);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.mini-offer:hover { transform: translateY(-4px); box-shadow: 0 35px 55px -20px rgba(0,0,0,.7); }
.mini-offer__power { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; letter-spacing: -.03em; }
.mini-offer__power small { font-size: 1rem; margin-left: 3px; }
.mini-offer__phase { margin: 6px 0 10px; color: var(--green); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.mini-offer__from { color: var(--muted); font-weight: 700; font-size: .74rem; text-transform: uppercase; }
.mini-offer__price { white-space: nowrap; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; color: var(--green-deep); }
.mini-offer__price sup { font-size: .7rem; margin-left: 4px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 32px; border-block: 1px solid var(--line-dark); }
.facts div { padding: 18px 16px 18px 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; color: var(--blue); }
.facts div > span { color: var(--muted); font-size: .88rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.section-head--row h2 { margin-bottom: 0; }
.section-head--row .link-arrow { color: var(--blue); }
.section--tight { padding-block: clamp(44px, 5vw, 68px); }
.zone-band { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.zone-band__label { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; white-space: nowrap; }
.zone-band__label svg { width: 20px; height: 20px; color: var(--blue-2); }

@media (max-width: 1100px) {
  .promo-hero__grid { grid-template-columns: 1fr; }
  .promo-hero__visual { max-width: 640px; }
}
@media (max-width: 560px) {
  .promo-hero__list, .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .promo-hero__visual { padding-bottom: 0; }
  .mini-offers { position: relative; left: auto; right: auto; margin: -40px 12px 0; }
  .mini-offer { padding: 14px; }
  .mini-offer__price { font-size: 1.12rem; }
  .mini-offer__phase { font-size: .66rem; }
  .vat-badge--sm { width: 110px; height: 110px; top: -18px; right: -4px; font-size: .56rem; }
  .vat-badge--sm strong { font-size: 1.6rem; }
}
