/* Polices hébergées sur le site (Manrope, Sora : licence SIL Open Font License), plus de requête vers Google Fonts (RGPD).
   Sous-ensembles latin et latin étendu, fichiers variables (toutes les graisses dans un fichier). */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(../fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(../fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   FGS Électronique & É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: 52px; 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 */
/* Deux photos strictement identiques en taille et alignées (demande du 2026-10-26 : plus de décalage ni de largeurs différentes) */
.img-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: clamp(300px, 34vw, 460px); align-items: stretch; }
.img-duo .img-frame { height: 100%; }

/* ---------- 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, .page-hero > picture > 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.6fr 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; }
/* Quand le bandeau d'appel est affiché (écrans de 860 px et moins), les autres liens vers le numéro
   sont masqués pour éviter les doublons (demande du 2026-10-26). Classe ajoutée dans build.py. */
@media (max-width: 860px) {
  .tel-doublon { display: none !important; }
}
@media (max-width: 560px) {
  .topbar { display: none; }   /* il n'y restait que le téléphone : l'e-mail est déjà masqué à cette largeur */
}
.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 */
/* Le masque est posé sur les enfants : l'élément observé reste « visible » pour le détecteur de défilement
   (un masque à 100 % sur l'élément lui-même l'empêchait de se déclencher et les photos restaient vides). */
.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) {
  .reveal-zoom > * { clip-path: none !important; }
  *, *::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 (fond photo, choix de puissance, options batterie) ---------- */
.promo-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(900px 500px at 85% 0%, rgba(247,183,51,.14), transparent 60%), linear-gradient(170deg, #0b2617 0%, #08160f 55%, #070d1a 100%);
  padding: clamp(40px, 5.5vw, 72px) 0 26px;
}
.promo-hero__bg { position: absolute; z-index: -1; top: 0; right: 0; width: 64%; height: min(100%, 760px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
.promo-hero__bg img { width: 100%; height: 110%; max-width: none; object-fit: cover; object-position: 60% 30%; will-change: transform; }
.promo-hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,38,23,.85) 0%, rgba(11,38,23,.6) 30%, rgba(8,22,15,.25) 65%, rgba(8,22,15,.12) 100%), linear-gradient(180deg, rgba(8,22,15,.1) 0%, transparent 45%, #08160f 100%); }
.promo-hero__grid { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 470px); gap: 56px; align-items: center; }
.promo-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.promo-hero__text .hero__lead { color: #e3ece4; }
.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; }
.promo-hero__note { color: rgba(255,255,255,.5); margin-top: 26px; }
.vat-badge--sm { position: absolute; top: -26px; right: -18px; z-index: 2; width: 116px; height: 116px; border-width: 4px; font-size: .56rem; }
.vat-badge--sm strong { font-size: 1.8rem; }

/* Accueil : version compacte de la promo (2026-10-26 : « plus courte, moins d'espace ») */
.promo-hero--compact { padding: clamp(28px, 3.6vw, 48px) 0 14px; }
.promo-hero--compact .promo-hero__bg { height: 100%; }
.promo-hero--compact h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .35em; }
.promo-hero--compact .hero__lead { font-size: 1.02rem; margin-bottom: 1.3rem; max-width: 520px; }
.promo-hero--compact .promo-hero__grid { gap: 40px; }
.promo-hero--compact .kit { padding: 20px 22px; }
.promo-hero--compact .kit__power { font-size: 2.2rem; }
.promo-hero--compact .kit__prod { margin: 8px 0 12px; }
.promo-hero--compact .kit__price { padding: 14px 18px; }
.promo-hero--compact .kit__more { margin-top: 12px; padding-top: 10px; }
.promo-hero--compact .promo-hero__note { margin-top: 14px; }
.options-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 22px; padding: 12px 16px; max-width: 560px;
  border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(122,214,107,.25); color: #dbe7dc; font-size: .92rem; }
.options-teaser > svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--sun); }
.options-teaser span { flex: 1 1 240px; }
.options-teaser b { color: #fff; }
.options-teaser em { font-style: normal; font-weight: 700; color: var(--green-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.options-teaser em svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.options-teaser:hover em svg { transform: translateX(4px); }
/* Page Photovoltaïque : bloc d'offre complet (choix de puissance + options détaillées) */
.solar-band { color: #fff; background: radial-gradient(900px 500px at 85% 0%, rgba(247,183,51,.14), transparent 60%), linear-gradient(170deg, #0b2617 0%, #08160f 55%, #070d1a 100%); }
.solar-band h2 { color: #fff; }
.solar-band .hero__lead { color: #e3ece4; }
.solar-band .promo-hero__grid { align-items: center; }

/* Sélecteur de puissance */
.kit { position: relative; padding: 26px; border-radius: 26px; background: rgba(255,255,255,.97); color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.75); }
.kit__choice { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.kit__choice legend { padding: 0; margin-bottom: 10px; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kit__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: calc(100% - 92px); }
.kit__tabs label { position: relative; display: block; }
.kit__tabs input { position: absolute; opacity: 0; }
.kit__tabs span { display: block; text-align: center; padding: 10px 4px; border-radius: 14px; border: 1.5px solid var(--line-dark); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.kit__tabs span small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 700; color: var(--muted); }
.kit__tabs label:hover span { border-color: var(--green); }
.kit__tabs input:checked + span { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.kit__tabs input:checked + span small { color: var(--green-2); }
.kit__tabs input:focus-visible + span { outline: 3px solid var(--green-2); outline-offset: 2px; }
.kit__panel { animation: kitIn .5s var(--ease-out); }
.kit__panel[hidden] { display: none; }
@keyframes kitIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kit__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.kit__power { margin: 0; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; }
.kit__power small { font-size: 1.3rem; margin-left: 4px; }
.kit__phase { margin: 0; color: var(--green); font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.kit__phase span { color: var(--muted); font-weight: 600; text-transform: none; }
.kit__prod { display: flex; align-items: center; gap: 8px; margin: 12px 0 16px; color: var(--muted); font-size: .92rem; }
.kit__prod svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--sun); }
.kit__prod b { color: var(--text); white-space: nowrap; }
.kit__price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, var(--green), #5cc443); }
.kit__price small { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; }
.kit__price strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.kit__price sup { font-size: .8rem; font-weight: 700; margin-left: 5px; }
.kit__vat { display: block; margin-top: 4px; font-size: .74rem; font-weight: 700; opacity: .9; }
.kit__price .btn { --bg: #0b1a14; box-shadow: none; }
.kit__more { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-dark); color: var(--green-deep); font-weight: 700; font-size: .92rem; }
.kit__more span { flex: 1; }
.kit__more svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--green); transition: transform .3s var(--ease); }
.kit__more:hover svg:last-child { transform: translateX(4px); }

/* Options de stockage (batterie physique / virtuelle) */
.storage { margin-top: clamp(40px, 5vw, 64px); }
.storage__head { max-width: 720px; margin-bottom: 22px; }
.storage__head h2 { color: #fff; margin-bottom: .35em; }
.storage__head p { color: #c4d3c7; margin: 0; }
.storage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.storage-card { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(122,214,107,.22); color: #e6ecf6; }
.storage-card__img { aspect-ratio: 1; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 10px; overflow: hidden; }
.storage-card__img img { width: 100%; height: 100%; object-fit: contain; }
.storage-card__img--ico { background: linear-gradient(135deg, rgba(60,181,74,.28), rgba(60,181,74,.06)); }
.storage-card__img--ico svg { width: 64px; height: 64px; color: var(--green-2); }
.storage-card__tag { display: inline-block; margin-bottom: 6px; color: var(--green-2); font-weight: 800; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.storage-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: .6em; }
.storage-card p { color: #c4d3c7; font-size: .92rem; margin-bottom: .8em; }
.storage-card .checklist { gap: 8px; font-size: .9rem; }
.storage-card .checklist svg { width: 18px; height: 18px; flex-basis: 18px; }
.storage-card__price { margin: 14px 0 0 !important; color: var(--sun) !important; font-weight: 800; }
.storage-card__price:has(small) { font-family: var(--font-display); font-size: 1.6rem !important; line-height: 1.1; }
.storage-card__price sup, .promo__price sup { font-size: .45em; font-weight: 700; margin-left: 5px; vertical-align: super; }
.storage-card__price small { display: block; margin-bottom: 2px; font-family: var(--font-body); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #c4d3c7; }

/* Simulateur : 4 puissances */
.seg--4 { grid-template-columns: repeat(4, 1fr); }
.simu__hint { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.simu__hint a { color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.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; gap: 40px; }
  .promo-hero__visual { max-width: 560px; }
  .promo-hero__bg { width: 100%; height: 560px; -webkit-mask-image: none; mask-image: none; }
  .promo-hero__bg::after { background: linear-gradient(180deg, rgba(8,22,15,.72) 0%, rgba(8,22,15,.86) 55%, #08160f 100%); }
}
@media (max-width: 860px) {
  .storage__grid { grid-template-columns: 1fr; }
}
@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); }
  .kit { padding: 20px 16px; }
  .kit { margin-top: 30px; }
  .kit__choice legend { padding-right: 84px; }
  .kit__tabs { max-width: none; }
  .kit__tabs span { font-size: 1rem; }
  .vat-badge--sm { width: 86px; height: 86px; top: -40px; right: -4px; border-width: 3px; font-size: .46rem; }
  .vat-badge--sm strong { font-size: 1.3rem; margin: 2px 0; }
  .kit__price .btn { width: 100%; justify-content: center; }
  .storage-card { grid-template-columns: 1fr; padding: 18px; }
  .storage-card__img { width: 120px; }
  .seg--4 { grid-template-columns: repeat(2, 1fr); }
}

.brandbar + .brandbar { margin-top: 18px; padding-top: 18px; }
.storage-card__note { margin: 8px 0 0 !important; font-size: .82rem !important; line-height: 1.45; color: #c4d3c7 !important; }

/* =====================================================================
   DESIGN 2026 — éditorial, sobre, contrasté (refonte du 2026-11-02)
   Principes : aplats nets, filets fins plutôt qu'ombres, grande typographie, une seule couleur d'accent
   (bleu ; vert réservé au solaire), beaucoup d'air, aucun dégradé décoratif, aucun halo.
   Règles du projet : l'élément survolé ne bouge jamais ; pas de flottement, rotation, pulsation, reflet.
   ===================================================================== */
:root {
  --ink: #0a1020; --ink-2: #111a2e; --ink-3: #1a2540;
  --paper: #f5f6f8; --text: #0a1020; --muted: #5a6477;
  --line-dark: rgba(10, 16, 32, .10); --line: rgba(255, 255, 255, .12);
  --radius: 24px; --radius-sm: 16px;
  --shadow: none; --shadow-soft: none;
}
::selection { background: rgba(47, 128, 237, .22); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #b6bfcf transparent; scrollbar-width: thin; }
body { background: #fff; color: var(--text); line-height: 1.72; }

/* Typographie : grands titres, tracking serré */
h1, h2, h3 { letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 600; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; font-weight: 600; max-width: 20ch; }
.lead, .prose p { text-wrap: pretty; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before, .section-head--center .eyebrow::after { display: none; }
.eyebrow--green { color: #1f9a3a; }
.eyebrow--light { color: #8db8ff; }
.section-head h2::after, .footer h3::after { display: none; }

/* Rythme : plus d'air entre les sections, fonds nets */
.section { padding-block: clamp(40px, 5vw, 72px); isolation: auto; }
.section::before, .section--dark::before, .solar-band::before { display: none !important; }
.section--dark { background: var(--ink); }
.section:not(.section--white):not(.section--dark):not(.solar-band) { background: var(--paper); }

/* Barre du haut : claire et discrète */
.topbar { background: var(--paper); color: var(--muted); border-bottom: 1px solid var(--line-dark); font-size: .82rem; }
.topbar svg { color: var(--blue); }
.topbar a:hover { color: var(--text); }

/* En-tête : blanc franc, filet fin, navigation épurée */
.header, .header.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--line-dark); box-shadow: none; }
.header .container { height: 72px; transition: height .4s var(--ease); }
.header.is-scrolled .container { height: 64px; }
.logo img { height: 50px; width: auto; }
.header.is-scrolled .logo img { height: 44px; }
.logo { color: var(--text); }
.logo small { color: var(--muted); }
.nav { gap: 2px; }
.nav > a, .nav__drop > button { color: #28324a; padding: 10px 14px; font-weight: 600; background: none; box-shadow: none; border-radius: 999px; }
.nav > a:hover, .nav__drop > button:hover { background: var(--paper); color: var(--text); box-shadow: none; }
.nav a[aria-current="page"], .nav__drop.is-current > button { background: var(--paper); color: var(--text); }
.nav a[aria-current="page"]::after, .nav__drop.is-current > button::after { display: none; }
.nav__solar { color: #1b7f33 !important; }
.nav__menu { background: #fff !important; border: 1px solid var(--line-dark); border-radius: 20px; box-shadow: 0 24px 60px -24px rgba(10, 16, 32, .35); opacity: 0; transition: opacity .2s, transform .3s var(--ease-out), visibility .2s; }
.nav__drop.is-open .nav__menu { opacity: 1; }
.nav__menu a { color: var(--text); border-radius: 14px; }
.nav__menu a:hover { background: var(--paper); color: var(--text); }
.nav__menu a > span:first-child { background: #eaf1ff; color: var(--blue); border-radius: 12px; }
.nav__menu small { color: var(--muted); }
.burger { border: 1px solid var(--line-dark); background: #fff; border-radius: 999px; }
.burger span { background: var(--text); }
.progress { background: var(--blue); }

/* Boutons : pilules pleines, nettes */
.btn { background-image: none; border-radius: 999px; box-shadow: none; font-weight: 700; letter-spacing: -.01em; transition: background .3s, color .3s, box-shadow .3s, filter .3s; }
.btn:hover { transform: none; filter: brightness(.93); box-shadow: none; }
.header__cta .btn { background: var(--ink); color: #fff; --bg: var(--ink); }
.header__cta .btn:hover { filter: none; background: var(--blue); }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); filter: none; box-shadow: inset 0 0 0 1.5px #fff; }
.btn--ghost-dark:hover { background: var(--paper); filter: none; }

/* Cartes : filets fins, aplats, jamais d'ombre ni de déplacement */
.svc, .review, .cert, .storage-card, .step, .faq details, .feature {
  box-shadow: none; border: 1px solid var(--line-dark); border-radius: var(--radius); background: #fff; transition: border-color .4s, background .4s;
}
.svc:hover, .review:hover, .cert:hover, .storage-card:hover, .step:hover, .feature:hover { transform: none; box-shadow: none; border-color: rgba(10, 16, 32, .32); }
.svc__img::after, .masonry figure::after { display: none; }
.svc__img img, .masonry img, .img-frame img { backface-visibility: hidden; transition: transform 1.4s var(--ease-out); }
.svc:hover .svc__img img { transform: scale(1.04); }
.svc__ico { background: #fff; color: var(--text); border-radius: 999px; width: 44px; height: 44px; left: 18px; bottom: 18px; box-shadow: none; }
.svc:hover .svc__ico { transform: none; }
.svc--solar .svc__ico { background: #fff; color: #1b7f33; box-shadow: none; }
.svc__body h3 { font-size: 1.15rem; font-weight: 600; }
.svc .link-arrow { color: var(--text); }
.review::before { display: none; }

/* Services : grille asymétrique */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento .svc { grid-column: span 3; }
.bento .svc--wide { grid-column: span 6; }
.bento .svc--wide .svc__img { aspect-ratio: 16 / 10; }
.bento .svc--wide .svc__body { padding: 26px 30px 30px; }
.bento .svc--wide h3 { font-size: 1.5rem; }
.bento .svc--wide .svc__body p { font-size: 1.04rem; }
@media (max-width: 1100px) { .bento .svc, .bento .svc--wide { grid-column: span 6; } .bento .svc--wide .svc__img { aspect-ratio: 4 / 3; } }
@media (max-width: 640px) { .bento { gap: 14px; } .bento .svc, .bento .svc--wide { grid-column: 1 / -1; } }

/* Photos : coins généreux, aucun cadre lourd */
.img-frame { border-radius: var(--radius); box-shadow: none; }
.img-frame:hover img { transform: scale(1.03); }
.masonry figure { border-radius: 20px; box-shadow: none; transition: none; }
.masonry figure:hover { transform: none; box-shadow: none; }
.masonry figure:hover img { transform: scale(1.04); }

/* Sections sombres : aplat profond, cartes en filet clair */
.section--dark .step, .section--dark .feature { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius); }
.section--dark .step:hover, .section--dark .feature:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .05); transform: none; }
.section--dark .step h3, .section--dark .feature h3 { color: #fff; }
.section--dark .step p { color: #a9b4c8; }
.section--dark .steps { margin-bottom: clamp(32px, 4vw, 56px); }
.chip { border-radius: 999px; background: transparent; border: 1px solid rgba(255, 255, 255, .18); color: #d4dcec; }
.chip:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); color: #fff; }
.chip--main { background: #fff; color: var(--ink); border-color: #fff; }

/* En-têtes de page : photo à droite, fond uni */
.page-hero { background: var(--ink); padding: clamp(36px, 4.5vw, 64px) 0 clamp(40px, 5vw, 68px); }
.page-hero--solar { background: #06170d; }
.page-hero > img, .page-hero > picture > img { left: auto; right: 0; width: 56%; opacity: .95; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 28%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 28%, #000 60%); }
.page-hero::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(10, 16, 32, .8) 38%, rgba(10, 16, 32, .05) 80%); }
.page-hero--solar::after { background: linear-gradient(90deg, #06170d 0%, rgba(6, 23, 13, .8) 38%, rgba(6, 23, 13, .05) 80%); }
@media (max-width: 860px) {
  .page-hero > img, .page-hero > picture > img { width: 100%; opacity: .4; -webkit-mask-image: none; mask-image: none; }
  .page-hero::after { background: linear-gradient(180deg, rgba(10, 16, 32, .78), rgba(10, 16, 32, .94)); }
  .page-hero--solar::after { background: linear-gradient(180deg, rgba(6, 23, 13, .78), rgba(6, 23, 13, .94)); }
}

/* Bandeau solaire de l'accueil et simulateur : sobres */
.promo-hero__bg { animation: none; }
.kit, .simu { box-shadow: none; }
.vat-badge, .vat-badge--sm { box-shadow: none; }

/* FAQ */
.faq details { overflow: hidden; }
.faq details[open] { border-color: rgba(10, 16, 32, .32); }
.faq details[open]::before { display: none; }

/* Bandeau de contact */
.cta-band { border-radius: var(--radius); background: var(--ink); }

/* Marques */
.brandbar { gap: 14px 30px; }
.brandbar__item { position: relative; padding-inline: 2px; font-size: 1.18rem; color: #7b8598; }
.brandbar__item + .brandbar__item::before { content: ""; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
.brandbar__item:hover { color: var(--text); }

/* Liens de texte */
.prose a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease-out); }
.prose a:hover { background-size: 100% 1.5px; }

/* Pied de page : clair, uni, filet fin ; barre basse encre */
.footer { background: var(--paper); color: var(--muted); border-top: 1px solid var(--line-dark); padding: 40px 0 0; }
.footer::before { display: none; }
.footer h3 { color: var(--text); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; width: auto; }
.footer ul a, .footer__brand p { color: #3b465c; }
.footer ul a:hover, .footer a:hover { color: var(--blue); }
.footer .socials a { background: #fff; border: 1px solid var(--line-dark); color: var(--text); border-radius: 999px; }
.footer .socials a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: none; }
.footer__bottom { margin-top: 28px; padding: 14px 0; border: 0; color: #c3cde0; background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); }
.footer__bottom a { color: #fff; }
.footer__bottom a:hover { color: #8db8ff; }

@media (max-width: 1100px) {
  .nav-open .nav, .nav-open .header { background: #fff; }
  .nav-open .nav::after { background: var(--line-dark); }
  .nav-open .nav > a, .nav-open .nav__drop > button { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .svc__img img, .masonry img, .img-frame img { transition: none; } }

/* Étapes : numéros épurés, sans trait pointillé */
.steps::before { display: none; }
.steps { gap: 20px; }
.step { text-align: left; padding: 28px 26px; }
.step__num { margin: 0 0 22px; width: 52px; height: 52px; border: 1px solid var(--line-dark); background: var(--paper); color: var(--text); box-shadow: none; border-radius: 16px; }
.step__num svg { width: 24px; height: 24px; }
.step__num::after { top: auto; bottom: -8px; right: -8px; width: 26px; height: 26px; background: var(--blue); font-size: .78rem; border: 2px solid #fff; }
.section--dark .step__num { background: rgba(255, 255, 255, .06); border-color: var(--line); color: #8db8ff; }
.section--dark .step__num::after { border-color: var(--ink); }
.step h3 { font-size: 1.2rem; font-weight: 600; }

/* Texte « photovoltaïque » : aplat vert franc, sans dégradé */
.text-grad-sun, .is-split .text-grad-sun .wi { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: #7ee06e; }
.text-grad, .is-split .text-grad .wi { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: #8db8ff; }

/* En-tête Photovoltaïque : la carte logo du flyer chargeait trop l'image ; la marque est déjà dans l'en-tête */
.page-hero .solar-logo-card { display: none; }
.page-hero__grid:has(.solar-logo-card) { grid-template-columns: 1fr; }

/* =====================================================================
   INTERACTIONS 2026 : apparition fluide, verre dépoli, ombres internes, mode sombre,
   menu mobile plein écran, barre basse type application, simulateur vivant.
   ===================================================================== */
:root {
  --surface: #fff; --header-bg: rgba(255, 255, 255, .86); --nav-text: #28324a; --muted-strong: #3b465c; --track: rgba(10, 16, 32, .14);
  --ease-apple: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

/* ---- Mode sombre : palette inversée via les variables ---- */
[data-theme="dark"] {
  --ink: #04070d; --ink-2: #0b1220; --ink-3: #131c30;
  --paper: #090e1a; --text: #e8edf7; --muted: #9aa6bc; --white: #0d1424; --surface: #0d1424;
  --line-dark: rgba(255, 255, 255, .11); --header-bg: rgba(9, 14, 26, .78); --nav-text: #c8d2e6; --muted-strong: #aab5ca; --track: rgba(255, 255, 255, .18);
  --blue: #5aa2ff; --green-deep: #8be07c;
  color-scheme: dark;
}
body { background: var(--surface); }
.header, .header.is-scrolled { background: var(--header-bg); }
.nav > a, .nav__drop > button { color: var(--nav-text); }
.nav__menu, .nav__menu { background: var(--surface) !important; }
.burger { background: var(--surface); }
.svc, .review, .cert, .storage-card, .step, .faq details, .feature { background: var(--surface); }
.svc__ico, .footer .socials a { background: var(--surface); }
.footer ul a, .footer__brand p { color: var(--muted-strong); }
.topbar { background: var(--paper); }
.nav__menu a > span:first-child { background: rgba(47, 128, 237, .14); }
[data-theme="dark"] .section--white { background: var(--surface); }
[data-theme="dark"] .section--dark { background: var(--ink); }
[data-theme="dark"] .logo img { filter: none; }
[data-theme="dark"] img { opacity: .94; }
[data-theme="dark"] .svc--solar .svc__ico { color: #7ee06e; }
[data-theme="dark"] .btn--ghost-dark { color: var(--text); }
[data-theme="dark"] .header__cta .btn { background: #fff; color: var(--ink); --bg: #fff; }
[data-theme="dark"] .header__cta .btn:hover { background: var(--blue); color: #fff; }
/* Cartes blanches sur fond photo (accueil) et zones à fond fixe : elles gardent leurs couleurs claires */
.kit, .vat-badge { --text: #0a1020; --muted: #5a6477; --surface: #fff; --line-dark: rgba(10, 16, 32, .1); --paper: #f5f6f8; }
.simu__form { background: var(--surface); color: var(--text); }

/* Bouton de bascule */
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: .8rem; font-weight: 600; color: inherit; background: none; border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px 11px 3px 8px; cursor: pointer; transition: background .3s, border-color .3s; }
.theme-toggle:hover { background: var(--surface); border-color: rgba(10, 16, 32, .3); }
.theme-toggle__ico { display: grid; place-items: center; }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: grid; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
.theme-toggle__txt { display: none; }
.topbar__links { gap: 18px; }
.theme-toggle--menu { display: none; }

/* ---- Apparition plus organique (courbe d'Apple) ---- */
.reveal { opacity: 0; transform: translate3d(0, 36px, 0) scale(.985); transition: opacity 1.2s var(--ease-apple), transform 1.4s var(--ease-apple); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-zoom > * { transition: clip-path 1.5s var(--ease-apple); transition-delay: var(--d, 0s); }

/* ---- En-tête en verre dépoli au défilement ---- */
.header.is-scrolled {
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  backdrop-filter: saturate(1.9) blur(24px); -webkit-backdrop-filter: saturate(1.9) blur(24px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 30px -18px rgba(10, 16, 32, .25);
}
[data-theme="dark"] .header.is-scrolled { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08), 0 8px 30px -18px rgba(0, 0, 0, .7); }

/* ---- Bento : ombres internes douces à la place des bordures ---- */
.svc, .promo { border: 0; position: relative; box-shadow: 0 1px 2px rgba(10, 16, 32, .05); }
.svc::after, .promo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(10, 16, 32, .07), inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -22px 34px -28px rgba(10, 16, 32, .16);
  transition: box-shadow .5s var(--ease-apple);
}
.svc:hover, .promo:hover { border: 0; box-shadow: 0 1px 2px rgba(10, 16, 32, .05); }
.svc:hover::after { box-shadow: inset 0 0 0 1px rgba(47, 128, 237, .38), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -26px 40px -28px rgba(47, 128, 237, .28); }
[data-theme="dark"] .svc::after, [data-theme="dark"] .promo::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -22px 34px -28px rgba(0, 0, 0, .6); }
.promo { border-radius: 30px; }

/* ---- Curseurs du simulateur : piste colorée + bulle ---- */
.range { position: relative; padding-top: 4px; }
input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; height: 22px; width: 100%; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--green) var(--fill, 50%), var(--track) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--track); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--green); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 2px 8px rgba(10, 16, 32, .25); transition: transform .2s var(--ease-apple); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 2px 8px rgba(10, 16, 32, .25); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.range__tip { position: absolute; bottom: 100%; margin-bottom: 4px; transform: translate(-50%, 6px); opacity: 0; pointer-events: none; white-space: nowrap; padding: 5px 10px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; transition: opacity .2s, transform .25s var(--ease-apple); }
.range__tip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; background: inherit; transform: translate(-50%, -4px) rotate(45deg); }
.range__tip.is-on { opacity: 1; transform: translate(-50%, 0); }
.simu__big, .simu__row strong { font-variant-numeric: tabular-nums; }

/* ---- Récompense : rentabilité < 10 ans ---- */
.simu__out { position: relative; }
.simu__badge { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-bottom: 14px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #7ee06e; color: #0a2a12; font-weight: 800; font-size: .84rem; }
.simu__badge[hidden] { display: none; }
.simu__badge svg { width: 17px; height: 17px; }
.simu__out.is-rewarded { box-shadow: inset 0 0 0 1px rgba(126, 224, 110, .5); animation: rewardGlow 2s var(--ease-apple) 1; }
.simu__out.is-rewarded .simu__badge { animation: badgePop .9s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes rewardGlow { 0% { box-shadow: inset 0 0 0 2px rgba(126, 224, 110, 1), inset 0 0 90px 10px rgba(126, 224, 110, .55); } 100% { box-shadow: inset 0 0 0 1px rgba(126, 224, 110, .5), inset 0 0 0 0 rgba(126, 224, 110, 0); } }
@keyframes badgePop { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: scale(1); } }

/* ---- Menu mobile plein écran, liens en cascade ---- */
@keyframes navIn { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .nav-open .header, .nav-open .header.is-scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--ink); box-shadow: none; border-color: transparent; }
  .nav-open .logo { position: relative; z-index: 3; color: #fff; }
  .nav-open .logo small { color: #a9b4c8; }
  .nav-open .burger { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
  .nav-open .burger span { background: #fff; }
  .nav-open .nav {
    position: fixed; inset: 0; z-index: 1; height: 100dvh; padding: calc(var(--nav-top, 76px) + 12px) 28px calc(40px + env(safe-area-inset-bottom));
    background: var(--ink); justify-content: center; gap: 4px; overflow-y: auto; animation: none;
  }
  .nav-open .nav > *, .nav-open .nav::after { opacity: 0; animation: navIn .8s var(--ease-apple) forwards; animation-delay: calc(var(--i, 0) * 75ms + 120ms); }
  .nav-open .nav::after { display: none; }
  .nav-open .nav > a, .nav-open .nav__drop > button { font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; padding: 8px 0; color: #fff; border-radius: 0; background: none; width: 100%; justify-content: space-between; }
  .nav-open .nav > a:hover, .nav-open .nav__drop > button:hover, .nav-open .nav a[aria-current="page"], .nav-open .nav__drop.is-current > button { background: none; color: #8db8ff; }
  .nav-open .nav__solar { color: #7ee06e !important; }
  .nav-open .nav__menu { background: transparent !important; border: 0; box-shadow: none; padding: 4px 0 12px 4px; }
  .nav-open .nav__menu a { color: #cdd7ea; padding: 8px 4px; }
  .nav-open .nav__menu a:hover { background: none; color: #fff; }
  .nav-open .nav__menu strong { font-size: 1.05rem; color: inherit; }
  .nav-open .nav__menu small { display: none; }
  .nav-open .nav__menu a > span:first-child { background: rgba(255, 255, 255, .08); color: #8db8ff; }
  .nav-open .nav > .btn-mobile { margin-top: 22px; align-self: flex-start; font-size: 1rem; }
  .nav-open .theme-toggle--menu { display: inline-flex; align-self: flex-start; margin-top: 18px; color: #cdd7ea; border-color: rgba(255, 255, 255, .25); padding: 8px 16px 8px 12px; font-size: .92rem; }
  .nav-open .theme-toggle--menu .theme-toggle__txt { display: inline; }
}

/* ---- Barre de navigation basse flottante (mobile) ---- */
.bottomnav { display: none; }
@media (max-width: 860px) {
  .callbar { display: none !important; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .bottomnav {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 6px 6px; border-radius: 28px;
    background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: saturate(1.8) blur(22px); -webkit-backdrop-filter: saturate(1.8) blur(22px);
    box-shadow: inset 0 0 0 1px rgba(10, 16, 32, .08), inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 40px -16px rgba(10, 16, 32, .45);
  }
  [data-theme="dark"] .bottomnav { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 40px -16px rgba(0, 0, 0, .8); }
  .bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px 4px; border-radius: 18px; font-size: .64rem; font-weight: 700; letter-spacing: .01em; color: var(--muted); transition: color .3s; }
  .bottomnav a svg { width: 22px; height: 22px; }
  .bottomnav a[aria-current="page"] { color: var(--blue); }
  .bottomnav__call { color: var(--text) !important; }
  .bottomnav__call svg { box-sizing: content-box; width: 22px; height: 22px; padding: 13px; margin-top: -26px; border-radius: 50%; background: var(--green); color: #fff; border: 4px solid var(--surface); box-shadow: 0 12px 22px -8px rgba(38, 144, 65, .7); }
  .tel-doublon { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; }
  .nav-open .nav > * { animation: none !important; opacity: 1 !important; }
  .simu__out.is-rewarded, .simu__out.is-rewarded .simu__badge { animation: none; }
}

picture { display: contents; }

/* Menu plein écran : le bouton de fermeture reste au-dessus, liens alignés à gauche */
@media (max-width: 1100px) {
  .nav-open .header__cta { position: relative; z-index: 3; }
  .nav-open .nav > a { justify-content: flex-start; gap: 12px; }
}
@media (max-width: 1100px) {
  .nav-open .nav > a.btn-mobile { width: auto; padding: 15px 26px; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: #fff; background: var(--green); border-radius: 999px; justify-content: center; }
}

/* =====================================================================
   DIRECTION ARTISTIQUE PREMIUM (2026-11-02)
   Contrastes typographiques extrêmes (Sora très grand et serré / texte courant fin et aéré),
   marges très généreuses, fonds affinés, grille asymétrique des services,
   parallaxe minimaliste des photos et courbes d'animation fluides sans rebond.
   ===================================================================== */
:root {
  --paper: #f3f4f6;          /* gris très clair, légèrement froid : alterne avec le blanc */
  --paper-2: #e9ecf1;        /* filets et fonds de second niveau */
  --ink: #0b0f19;            /* encre presque noire, nuance bleutée de la marque */
  --ink-2: #121826; --ink-3: #1b2335;
  --muted: #586174;
  --ease-fluid: cubic-bezier(.19, 1, .22, 1);   /* expo-out : départ net, arrivée très douce, aucun dépassement */
  --container: 1240px;
  --space-section: clamp(40px, 5vw, 72px);
  --space-head: clamp(22px, 2.6vw, 36px);
}
[data-theme="dark"] {
  --paper: #080c15; --paper-2: #111827; --ink: #03050a; --ink-2: #0b1220; --ink-3: #131c30; --muted: #9aa6bc;
}

/* ---- Typographie : très grands titres serrés, texte courant fin ---- */
h1, h2, h3 { hyphens: manual; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h3 { letter-spacing: -.01em; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; max-width: 20ch; }
.promo-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
.section-head h2 { max-width: 28ch; }
.section-head--center h2 { margin-inline: auto; }
.section-head--row { align-items: flex-end; }
.section-head--row h2 { max-width: 28ch; }
.lead, .hero__lead { font-size: clamp(1.02rem, 1.2vw, 1.12rem); font-weight: 400; line-height: 1.72; max-width: 60ch; }
.lead { color: var(--muted); }
.section-head .lead { margin-top: 10px; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .16em; margin-bottom: 12px; }
.prose p { font-size: 1.02rem; line-height: 1.75; color: var(--muted); }
.prose h2 { margin-bottom: .45em; }
.trust__big { font-size: clamp(3rem, 5.5vw, 4.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.facts strong, .stat strong { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.facts div > span, .stat span { font-size: .82rem; letter-spacing: .01em; }
.svc__body h3 { font-size: 1.22rem; }

/* ---- Espace : sections et en-têtes beaucoup plus aérés ---- */
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(36px, 4vw, 56px); }
.section-head { margin-bottom: var(--space-head); max-width: 860px; }
.split { gap: clamp(28px, 4.5vw, 64px); }
.page-hero { padding: clamp(36px, 4.5vw, 64px) 0 clamp(40px, 5vw, 68px); }
.steps { gap: clamp(20px, 2.4vw, 32px); }
.trust__grid { gap: clamp(28px, 4vw, 56px); }
.certs, .brandbar { margin-top: clamp(28px, 3.5vw, 44px); }

/* ---- Fonds : blanc / gris très clair / encre, séparés par des filets fins ---- */
.section--white + .section--white, .section:not(.section--white):not(.section--dark) + .section:not(.section--white):not(.section--dark) { border-top: 1px solid var(--paper-2); }
.section--dark { background: var(--ink); }
.cta-band { background: var(--ink); }

/* ---- Grille asymétrique des services (accueil) ----
   1 grande carte verticale sur 2 rangées, 2 cartes horizontales empilées à droite, puis 3 cartes égales. */
.bento--feature { grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.bento--feature > .svc:nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.bento--feature > .svc:nth-child(1) .svc__img { aspect-ratio: auto; flex: 1 1 auto; min-height: 380px; }
.bento--feature > .svc:nth-child(1) .svc__body { padding: clamp(26px, 2.6vw, 38px); }
.bento--feature > .svc:nth-child(1) h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); letter-spacing: -.01em; }
.bento--feature > .svc:nth-child(1) .svc__body p { font-size: 1.05rem; max-width: 46ch; }
.bento--feature > .svc:nth-child(2), .bento--feature > .svc:nth-child(3) { grid-column: 8 / span 5; flex-direction: row; }
.bento--feature > .svc:nth-child(2) { grid-row: 1; }
.bento--feature > .svc:nth-child(3) { grid-row: 2; }
.bento--feature > .svc:nth-child(2) .svc__img, .bento--feature > .svc:nth-child(3) .svc__img { aspect-ratio: auto; flex: 0 0 44%; min-height: 230px; }
.bento--feature > .svc:nth-child(2) .svc__body, .bento--feature > .svc:nth-child(3) .svc__body { padding: 24px 24px 22px; justify-content: center; }
.bento--feature > .svc:nth-child(2) h3, .bento--feature > .svc:nth-child(3) h3 { font-size: 1.3rem; }
.bento--feature > .svc:nth-child(n+4) { grid-column: span 4; grid-row: auto; }
.bento--feature > .svc:nth-child(n+4) .svc__img { aspect-ratio: 16 / 10; }
@media (max-width: 1100px) {
  .bento--feature { grid-template-columns: repeat(2, 1fr); }
  .bento--feature > .svc:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .bento--feature > .svc:nth-child(1) .svc__img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .bento--feature > .svc:nth-child(2), .bento--feature > .svc:nth-child(3) { grid-column: auto; grid-row: auto; flex-direction: column; }
  .bento--feature > .svc:nth-child(2) .svc__img, .bento--feature > .svc:nth-child(3) .svc__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .bento--feature > .svc:nth-child(n+4) { grid-column: auto; }
  .bento--feature > .svc:nth-child(6) { grid-column: 1 / -1; flex-direction: row; }
  .bento--feature > .svc:nth-child(6) .svc__img { flex: 0 0 46%; aspect-ratio: auto; min-height: 220px; }
}
@media (max-width: 640px) {
  .bento--feature { grid-template-columns: 1fr; }
  .bento--feature > .svc:nth-child(6) { flex-direction: column; }
  .bento--feature > .svc:nth-child(6) .svc__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .bento--feature > .svc:nth-child(1) .svc__img { aspect-ratio: 4 / 3; }
}

/* ---- Animations : courbe fluide, sans aucun rebond ---- */
.reveal { opacity: 0; transform: translate3d(0, 56px, 0); transition: opacity 1.6s var(--ease-fluid), transform 1.8s var(--ease-fluid); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-zoom > * { transition: clip-path 1.8s var(--ease-fluid); transition-delay: var(--d, 0s); }
.split-words .wi { animation-duration: 1.4s; animation-timing-function: var(--ease-fluid); }
.nav-open .nav > * { animation-timing-function: var(--ease-fluid); }

/* ---- Parallaxe minimaliste des photos .img-frame (position réglée en JS via --py) ----
   La photo est légèrement agrandie pour que ses bords ne se découvrent jamais pendant le glissement. */
.img-frame img { scale: 1.12; translate: 0 var(--py, 0px); transition: transform 2.2s var(--ease-fluid), scale 1.4s var(--ease-fluid); }
.img-frame:hover img { transform: none; scale: 1.16; }
.reveal-zoom .img-frame img { transition: transform 2.2s var(--ease-fluid), scale 1.4s var(--ease-fluid); }

@media (max-width: 860px) {
  .page-hero h1 { max-width: none; }
  .section-head h2, .section-head--row h2 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity .4s linear; }
  .img-frame img { translate: none; scale: 1; }
}
/* Grille asymétrique : dans les cartes étirées, la photo remplit sa zone sans imposer sa propre hauteur */
.bento--feature > .svc:nth-child(-n+3) .svc__img img, .bento--feature > .svc:nth-child(6) .svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bento--feature > .svc:nth-child(2), .bento--feature > .svc:nth-child(3) { min-height: 270px; }
@media (max-width: 1100px) {
  .bento--feature > .svc:nth-child(-n+3) .svc__img img { position: static; }
}
@media (max-width: 640px) {
  .bento--feature > .svc:nth-child(6) .svc__img img { position: static; }
}
/* Petits écrans : les très grands titres restent dans la largeur (mots longs comme « Vidéosurveillance ») */
@media (max-width: 640px) {
  .page-hero h1 { font-size: clamp(1.75rem, 7.4vw, 2.2rem); }
  .promo-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.55rem, 6.6vw, 1.9rem); }
  .trust__big { font-size: clamp(2.8rem, 14vw, 3.6rem); }
}

/* Options de stockage (bande verte foncée, page Photovoltaïque) : cartes sombres translucides et textes clairs bien contrastés.
   Le style générique des cartes (fond blanc) les rendait illisibles. */
.storage .storage-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #e6efe8; }
.storage .storage-card:hover { border-color: rgba(126, 224, 110, .5); background: rgba(255, 255, 255, .08); }
.storage .storage-card h3 { color: #fff; font-size: 1.2rem; }
.storage .storage-card p { color: #d2e0d5; font-size: .95rem; line-height: 1.6; }
.storage .storage-card .checklist { color: #e6efe8; font-size: .93rem; }
.storage .storage-card .checklist svg { color: #7ee06e; }
.storage .storage-card__tag { color: #7ee06e; }
.storage .storage-card__price small { color: #b9cbbd; }
.storage .storage-card__note { color: #c9d8cc !important; font-size: .86rem !important; }
/* Contraste : vert plus profond pour les boutons verts (texte blanc) et les textes verts sur fond blanc (≥ 4,5:1) */
.btn--green { --bg: #197d31; }
.vat-badge strong, .kit__phase { color: #197d31; }

/* ---- Mode sombre : corrections de contraste ---- */
[data-theme="dark"] .header.is-scrolled { background: rgba(9, 14, 26, .74); }
[data-theme="dark"] .simu { background: var(--surface); }
[data-theme="dark"] .seg span { color: var(--text); }
[data-theme="dark"] .seg input:checked + span { color: #8be07c; background: rgba(60, 181, 74, .16); }
[data-theme="dark"] .form input, [data-theme="dark"] .form select, [data-theme="dark"] .form textarea { color: var(--text); background: var(--paper); }
[data-theme="dark"] .form input:focus, [data-theme="dark"] .form select:focus, [data-theme="dark"] .form textarea:focus { background: var(--surface); }
.kit { --green-deep: #14532d; --blue: #2f80ed; }
[data-theme="dark"] .btn:not([class*="btn--"]) { --bg: #2563d6; }

/* ---- Bouton « Revenir en haut » (toutes les pages) ---- */
.to-top {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80;
  width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 28px -12px rgba(10, 16, 32, .55);
  opacity: 0; visibility: hidden; transform: translate3d(0, 12px, 0);
  transition: opacity .5s var(--ease-fluid), transform .6s var(--ease-fluid), visibility .5s, background .3s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }
[data-theme="dark"] .to-top { background: #fff; color: var(--ink); }
[data-theme="dark"] .to-top:hover { background: var(--blue); color: #fff; }
.nav-open .to-top, .lightbox.is-open ~ .to-top { opacity: 0; visibility: hidden; }
@media (max-width: 860px) {   /* au-dessus de la barre de navigation basse */
  .to-top { right: 16px; bottom: calc(118px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s, visibility .2s; transform: none; } }

/* ---- Formulaire de devis en 3 étapes ---- */
.form__intro { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.steps-bar { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 26px; counter-reset: etape; }
.steps-bar li { flex: 1; padding-top: 10px; border-top: 3px solid var(--line-dark); font-size: .78rem; font-weight: 700; color: var(--muted); counter-increment: etape; transition: color .3s, border-color .4s var(--ease-fluid); }
.steps-bar li::before { content: counter(etape) ". "; }
.steps-bar li.is-on { color: var(--text); border-color: var(--blue); }
.form--steps:not(.is-stepped) .steps-bar, .form--steps:not(.is-stepped) [data-next], .form--steps:not(.is-stepped) [data-prev] { display: none; }
.fstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.fstep[hidden] { display: none; }
.is-stepped .fstep { animation: kitIn .5s var(--ease-fluid); }
.fstep legend { padding: 0; margin-bottom: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; outline: none; }
.fstep legend small { display: block; margin-top: 3px; font-family: var(--font-body); font-weight: 500; font-size: .84rem; color: var(--muted); }
.fstep__label { margin: 16px 0 8px; font-weight: 700; font-size: .9rem; }
.fstep__err { margin: 0 0 8px; color: #b42318; font-weight: 600; font-size: .88rem; }
.fstep__err[hidden], .q[hidden] { display: none; }
.q { padding: 2px 0 6px; }
.fstep .form-row { margin-top: 18px; }
.fstep__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.btn-back { background: none; border: 0; padding: 10px 2px; font-weight: 700; color: var(--muted); cursor: pointer; }
.btn-back:hover { color: var(--text); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tiles label { position: relative; margin: 0; }
.tiles input { position: absolute; opacity: 0; }
.tiles span { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 14px 14px 13px; border-radius: 16px; border: 1.5px solid var(--line-dark); background: var(--surface); font-weight: 700; font-size: .9rem; line-height: 1.25; cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s; }
.tiles svg { width: 22px; height: 22px; color: var(--blue); }
.tiles .tile--photovoltaique svg { color: #197d31; }
.tiles span:hover { border-color: rgba(47, 128, 237, .5); }
.tiles input:checked + span { border-color: var(--blue); background: rgba(47, 128, 237, .08); box-shadow: inset 0 0 0 1px var(--blue); }
.tiles input:checked + .tile--photovoltaique { border-color: #197d31; background: rgba(30, 138, 54, .08); box-shadow: inset 0 0 0 1px #197d31; }
.tiles input:focus-visible + span { outline: 3px solid var(--blue-2); outline-offset: 2px; }
[data-theme="dark"] .tiles .tile--photovoltaique svg { color: #7ee06e; }
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .fstep__nav .btn { flex: 1; justify-content: center; }
}

/* =====================================================================
   Retouches esthétiques (2026-11-02, fin) : en-tête sans barre du haut, pastille TVA plate,
   bloc prix sobre, logos des marques, photo d'accueil affinée
   ===================================================================== */
/* En-tête : bascule clair/sombre en simple icône ronde */
.theme-toggle--head { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--text); }
.theme-toggle--head:hover { background: var(--paper); border-color: rgba(10, 16, 32, .25); }
.theme-toggle--head svg { width: 18px; height: 18px; }
.header__cta { gap: 10px; }
@media (max-width: 1100px) { .theme-toggle--head { display: none; } }

/* Pastille TVA : étiquette plate, plus de gros rond façon flyer */
.vat-pill { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 6px 12px 6px 9px; border-radius: 999px; background: rgba(30, 138, 54, .09); color: #14532d; font-size: .78rem; font-weight: 600; line-height: 1.2; }
.vat-pill svg { width: 15px; height: 15px; color: #197d31; flex: 0 0 15px; }
.vat-pill strong { font-weight: 800; color: #197d31; }

/* Bloc prix de l'offre : encre sobre, prix en blanc, rappel vert discret */
.kit__price { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.kit__price small { color: #8be07c; font-weight: 700; letter-spacing: .1em; }
.kit__price strong { color: #fff; }
.kit__vat { color: #b9c4d8; font-weight: 600; opacity: 1; }
.kit__price .btn { --bg: #197d31; background: #197d31; color: #fff; }
.kit__price .btn:hover { filter: brightness(1.08); }
.kit { --ink: #0b0f19; }

/* Marques : vrais logos en gris, couleur d'origine au survol */
.brandbar__item--logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.brandbar__item--logo img { height: 26px; width: auto; max-width: 132px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .4s var(--ease-fluid), opacity .4s var(--ease-fluid); }
.brandbar__item--logo:hover img { filter: none; opacity: 1; }
[data-theme="dark"] .brandbar__item--logo img { filter: grayscale(1) brightness(0) invert(1); opacity: .7; }
[data-theme="dark"] .brandbar__item--logo:hover img { filter: grayscale(1) brightness(0) invert(1); opacity: 1; }

/* Carte de l'offre : hauteur constante quelle que soit la puissance
   - les 4 offres sont superposées dans la même case (la carte prend la hauteur de la plus grande, toujours la même) ;
   - prix et bouton sur une ligne, la mention TVA sur une ligne en dessous, le prix rétrécit au besoin (main.js). */
.kit__panels { display: grid; }
.kit__panels > .kit__panel { grid-area: 1 / 1; }
.kit__panels > .kit__panel[hidden] { display: block; visibility: hidden; animation: none; }
.kit__price { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label btn" "price btn" "vat vat"; column-gap: 14px; row-gap: 0; align-items: center; }
.kit__price > div { display: contents; }
.kit__price small { grid-area: label; }
.kit__price strong { grid-area: price; min-width: 0; overflow: hidden; }
.kit__vat { grid-area: vat; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .72rem; }
.kit__price .btn { grid-area: btn; align-self: center; white-space: nowrap; }
@media (max-width: 560px) {
  .kit__price { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "price" "vat" "btn"; }
  .kit__price .btn { margin-top: 14px; }
}

/* Marques : les deux lignes (partenaires / solaires) commencent au même endroit — intitulé de largeur fixe */
.brandbar__label { flex: 0 0 13.5rem; }
@media (max-width: 860px) { .brandbar__label { flex-basis: 100%; } }
/* Marques sur mobile : intitulé et marques centrés (séparateurs retirés : ils tombaient en début de ligne) */
@media (max-width: 860px) {
  .brandbar { justify-content: center; text-align: center; }
  .brandbar__item + .brandbar__item::before { display: none; }
}

/* =====================================================================
   Mobile : tout le contenu centré (demande du 2026-11-02)
   Restent alignés à gauche, pour la lisibilité : questions/réponses de la FAQ,
   champs du formulaire et du simulateur, listes à coches, menu mobile.
   ===================================================================== */
@media (max-width: 860px) {
  main, .footer, .cta-band { text-align: center; }
  .section-head, .section-head--left { text-align: center; margin-inline: auto; }
  .hero__actions, .cta-band__actions, .chips, .stars, .filters, .footer__social, .social { justify-content: center; }
  .svc__ico, .cert__ico, .feature__ico, .step__num, .eyebrow { margin-inline: auto; }
  .link-arrow { justify-content: center; }
  .step, .step h3, .step p { text-align: center; }
  .section-head--row { flex-direction: column; align-items: center; }
  .zone-band { flex-direction: column; align-items: center; }
  .socials, .footer__bottom, .kit__top, .kit__prod { justify-content: center; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .footer__brand img, .footer__brand > a { margin-inline: auto; }
  .footer__brand > a { display: block; width: fit-content; }
  .cert { flex-direction: column; align-items: center; text-align: center; }
  .cert__ico { flex: none; width: 44px; height: 44px; }
  .breadcrumb { justify-content: center; }
  .contact-line { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .form > h2, .form .form__intro { text-align: center; }
  /* listes à coches : le bloc est centré, les lignes restent alignées entre elles */
  main ul:not(.breadcrumb):not(.trust__sources):not(.chips) { width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .kit__choice legend { width: 100%; text-align: center; }
  .options-teaser { justify-content: center; }
  /* exceptions : lecture ou saisie */
  .faq, .faq details, .form, .simu__form, .checklist, .promo-hero__list, .mobile-menu, .nav { text-align: left; }
}
/* Mobile, centrage au pixel près (2e passe) : marges symétriques, blocs étroits centrés */
@media (max-width: 860px) {
  .facts div, .facts div + div { padding-inline: 0; }
  .footer__brand p { margin-inline: auto; }
  .kit__choice legend { float: left; width: 100%; padding: 0; text-align: center; }
  .kit__choice legend + * { clear: both; }
  .options-teaser { flex-direction: column; align-items: center; text-align: center; }
  .options-teaser span { flex: none; }
  .storage-card__img { margin-inline: auto; justify-self: center; }
  .svc__ico { left: 50%; translate: -50% 0; }
  .steps-bar li { text-align: center; }
  .vat-pill { padding-inline: 10px; }
  .btn { justify-content: center; text-align: center; }
  .simu__out .btn { align-self: center !important; } /* style en ligne align-self:flex-start dans build.py */
  /* blocs de largeur limitée (tablette) : centrés dans leur colonne */
  main p, .lead, .hero__lead, .options-teaser, .promo-hero__visual, .section-head, .storage__head, .kit { margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  /* tablette : cartes batteries et bloc prix empilés comme sur téléphone */
  .storage-card { grid-template-columns: 1fr; }
  .storage-card__img { width: 120px; }
  .kit__price { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "price" "vat" "btn"; }
  .kit__price .btn { margin-top: 14px; width: 100%; }
  /* bouton sur deux lignes : la flèche suit le texte, chaque ligne est centrée */
  .promo__body .btn { display: block; }
  .promo__body .btn svg { display: inline-block; vertical-align: -3px; margin-left: 6px; }
}


/* Mode sombre : contrastes corriges (lien Photovoltaique, lien d evitement) */
[data-theme="dark"] .nav__solar { color: #7ee06e !important; }
[data-theme="dark"] .skip-link { color: #05080f; }
.vat-pill strong { color: #156b2a; }
.promo__tag { background: #c92a37; }
