/* ==========================================================================
   API SUN — feuille de style principale
   Palette : noir profond, blanc, jaune solaire (repris de la landing api-sun.com)
   Typographies : Urbanist (titres) · Inter (texte)
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --ink: #111111;
  --graphite: #1a1a1a;
  --graphite-2: #232323;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(10, 10, 10, 0.12);
  --white: #ffffff;
  --paper: #f5f4f0;
  --stone: #e9e7e1;
  --text-dark: #141414;
  --muted-dark: #5c5c58;     /* texte secondaire sur fond clair (AA) */
  --muted-light: #a9a9a3;    /* texte secondaire sur fond noir (AA) */
  --sun: #f5b731;
  --sun-deep: #d99a12;
  --sun-soft: rgba(245, 183, 49, 0.14);

  --font-display: "Urbanist", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--sun); color: var(--black); padding: .75rem 1.25rem; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Mise en page ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--light { background: var(--paper); color: var(--text-dark); }
.section--white { background: var(--white); color: var(--text-dark); }
.section--graphite { background: var(--ink); }
.section--light .muted, .section--white .muted { color: var(--muted-dark); }
.muted { color: var(--muted-light); }

.grid-2 { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2--wide-left { grid-template-columns: 1.15fr .85fr; } .grid-2--wide-right { grid-template-columns: .85fr 1.15fr; } }
.grid-3 { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.stack > * + * { margin-top: 1.25rem; }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sun); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--light .eyebrow, .section--white .eyebrow { color: #8a6200; }
.display { font-size: clamp(2.75rem, 7.4vw, 6.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: .98; }
.h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 750; }
.h2--sm { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.35rem); line-height: 1.55; max-width: 40em; }
.statement { font-family: var(--font-display); font-size: clamp(1.9rem, 4.4vw, 3.6rem); font-weight: 650; line-height: 1.12; letter-spacing: -0.025em; max-width: 22ch; }
.statement em, .h1 em, .h2 em, .display em { font-style: normal; color: var(--sun); }
.section--light .statement em, .section--light .h2 em, .section--white .h2 em { color: inherit; background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.6em 0 .7em; }
.prose h3 { font-size: 1.3rem; margin: 2em 0 .6em; letter-spacing: -0.01em; }
.prose p, .prose li { color: inherit; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--sun-deep); }
.prose a { text-decoration-color: var(--sun); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose strong { font-weight: 650; }
.prose > :first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .8em .9em; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.prose th { font-weight: 650; background: var(--stone); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--sun); --fg: var(--black);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(245, 183, 49, .55); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { --bg: var(--white); --fg: var(--black); border-color: var(--white); box-shadow: none; }
.section--light .btn--ghost, .section--white .btn--ghost { --fg: var(--black); border-color: rgba(10,10,10,.35); }
.section--light .btn--ghost:hover, .section--white .btn--ghost:hover { --bg: var(--black); --fg: var(--white); border-color: var(--black); }
.btn--dark { --bg: var(--black); --fg: var(--white); }
.btn--dark:hover { box-shadow: 0 12px 30px -14px rgba(0,0,0,.6); }
.btn--sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.btn-note { font-size: .85rem; margin-top: 1rem; color: var(--muted-light); }
.section--light .btn-note, .section--white .btn-note { color: var(--muted-dark); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow .arrow { transition: transform .3s var(--ease); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header--solid { background: rgba(10,10,10,.82); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line-dark); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 64px; width: auto; margin-left: -4px; }
@media (max-width: 520px) { .brand img { height: 52px; } }
.nav-main { display: none; }
@media (min-width: 1080px) {
  .nav-main { display: flex; gap: .25rem; align-items: center; }
  .nav-main a { position: relative; padding: .5rem .8rem; font-size: .94rem; font-weight: 500; color: rgba(255,255,255,.82); text-decoration: none; border-radius: 999px; transition: color .2s, background-color .2s; }
  .nav-main a:hover { color: var(--white); background: rgba(255,255,255,.07); }
  .nav-main a[aria-current="page"] { color: var(--white); }
  .nav-main a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--sun); border-radius: 2px; }
}
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-actions .btn { gap: 0; min-height: 42px; padding: .55rem 1.15rem; font-size: .92rem; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); cursor: pointer;
}
.menu-toggle span { position: relative; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .35s var(--ease); }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
@media (min-width: 1080px) { .menu-toggle { display: none; } }
@media (max-width: 520px) { .header-actions .btn-sim-label-long { display: none; } }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--black);
  padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-size: 1.6rem; font-weight: 650; text-decoration: none; }
.mobile-menu nav a[aria-current="page"] { color: var(--sun); }
.mobile-menu .btn { width: 100%; margin-top: 1.75rem; }
.mobile-menu .mobile-menu-note { margin-top: 1rem; font-size: .9rem; color: var(--muted-light); text-align: center; }
body.menu-open { overflow: hidden; }
@media (min-width: 1080px) { .mobile-menu { display: none; } }

/* Accès simulateur flottant (mobile) */
.sim-dock {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 90;
  transform: translate(-50%, 140%); transition: transform .5s var(--ease);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.6);
}
.sim-dock.is-visible { transform: translate(-50%, 0); }
@media (min-width: 1080px) { .sim-dock { display: none; } }

/* ---------- Héro ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 8vh, 6rem); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: hero-zoom 14s var(--ease) forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.15) 35%, rgba(10,10,10,.55) 70%, rgba(10,10,10,.95) 100%),
  linear-gradient(90deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.2) 60%, rgba(10,10,10,0) 100%); }
.hero-content { max-width: 980px; }
.hero .display { margin-bottom: 1.5rem; }
.hero .display span { display: block; }
.hero .lead { color: rgba(255,255,255,.86); margin-bottom: 2.25rem; max-width: 36em; }
.hero-foot { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2.5rem; font-size: .86rem; color: rgba(255,255,255,.7); }
.hero-foot span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 2rem; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.55); display: none; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 56px; margin: 1rem auto 0; background: linear-gradient(var(--sun), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) { .scroll-cue { display: block; } }

/* Héro de page intérieure */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; isolation: isolate; }
.page-hero .h1 { max-width: 16ch; margin-bottom: 1.5rem; }
.page-hero .lead { color: rgba(255,255,255,.82); }
.page-hero--image { min-height: 78svh; display: flex; align-items: flex-end; }
.page-hero--image .page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,.5), rgba(10,10,10,.25) 40%, rgba(10,10,10,.92)); }
.page-hero-glow::before { content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -12vw; top: -18vw; border-radius: 50%; background: radial-gradient(circle, rgba(245,183,49,.22), rgba(245,183,49,0) 65%); }

.breadcrumb { font-size: .85rem; color: var(--muted-light); margin-bottom: 1.75rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Média ---------- */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--graphite); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media:hover img { transform: scale(1.03); }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--cinema { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .media--cinema { aspect-ratio: 4 / 3; } }
.media-caption { position: absolute; left: 1rem; bottom: 1rem; font-size: .75rem; color: rgba(255,255,255,.75); background: rgba(10,10,10,.55); padding: .3rem .6rem; border-radius: 6px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fullbleed { position: relative; height: clamp(360px, 70vh, 760px); overflow: hidden; }
.fullbleed img { width: 100%; height: 100%; object-fit: cover; }
.fullbleed-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.55) 38%, rgba(10,10,10,0) 70%), linear-gradient(180deg, rgba(10,10,10,0) 45%, rgba(10,10,10,.7)); padding-bottom: clamp(2rem, 6vw, 4.5rem); }
@media (max-width: 700px) { .fullbleed-overlay { background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.85) 75%); } }

/* ---------- Manifeste / différence ---------- */
.manifesto { display: grid; gap: 3rem; }
@media (min-width: 900px) { .manifesto { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.contrast-list { display: grid; gap: 0; border-top: 1px solid var(--line-light); margin-top: 2.5rem; }
.contrast-row { display: grid; grid-template-columns: 1fr; gap: .5rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); }
@media (min-width: 760px) { .contrast-row { grid-template-columns: 220px 1fr 1fr; align-items: baseline; } }
.contrast-row h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.contrast-row .was { color: var(--muted-dark); text-decoration: line-through; text-decoration-color: rgba(10,10,10,.25); }
.contrast-row .is { font-weight: 550; }
.contrast-head { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); padding: 0 0 .9rem; display: none; }
@media (min-width: 760px) { .contrast-head { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 2rem; } }

.pillars { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; margin-top: 3.5rem; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars--4 { grid-template-columns: repeat(4, 1fr); } }
.pillar { background: var(--black); padding: 2rem 1.75rem; }
.section--graphite .pillar { background: var(--ink); }
.pillar .num { font-family: var(--font-display); font-size: .9rem; color: var(--sun); font-weight: 700; letter-spacing: .05em; }
.pillar h3 { font-size: 1.3rem; margin: 1rem 0 .6rem; line-height: 1.2; letter-spacing: -0.01em; }
.pillar p { color: var(--muted-light); font-size: .98rem; }
.section--light .pillars { background: var(--line-light); border-color: var(--line-light); }
.section--light .pillar { background: var(--paper); }
.section--light .pillar p { color: var(--muted-dark); }
.section--light .pillar .num { color: #8a6200; }

/* ---------- Liste des solutions (rangées éditoriales) ---------- */
.solution-list { border-top: 1px solid var(--line-dark); margin-top: 3rem; }
.solution-row {
  display: grid; grid-template-columns: 1fr auto; gap: .5rem 2rem; align-items: center;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; position: relative;
}
@media (min-width: 860px) { .solution-row { grid-template-columns: 70px 1.1fr 1.4fr 48px; padding: 2rem 0; } }
.solution-row .idx { display: none; font-family: var(--font-display); color: var(--muted-light); font-weight: 600; }
@media (min-width: 860px) { .solution-row .idx { display: block; } }
.solution-row h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; transition: color .3s, transform .5s var(--ease); }
.solution-row p { grid-column: 1 / -1; color: var(--muted-light); font-size: .98rem; margin: 0; }
@media (min-width: 860px) { .solution-row p { grid-column: auto; } }
.solution-row .go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background-color .3s, border-color .3s, transform .5s var(--ease); grid-row: 1; grid-column: 2; }
@media (min-width: 860px) { .solution-row .go { grid-row: auto; grid-column: auto; } }
.solution-row:hover h3 { color: var(--sun); transform: translateX(6px); }
.solution-row:hover .go { background: var(--sun); border-color: var(--sun); color: var(--black); transform: rotate(-45deg); }
.solution-row .tag { display: inline-block; margin-left: .6rem; font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; padding: .25rem .55rem; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-light); }

/* ---------- Tuiles de solution (page Solutions) ---------- */
.feature { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-dark); }
.feature:first-of-type { border-top: 0; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } .feature--flip .feature-media { order: 2; } }
.feature-body .h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 1rem; }
.feature-body .muted { margin-bottom: 1.75rem; }
.section--light .feature { border-color: var(--line-light); }

/* ---------- Blocs fiche solution ---------- */
.facts { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { background: var(--white); padding: clamp(1.5rem, 3vw, 2.25rem); }
.section--light .fact { background: var(--white); }
.fact h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.2rem; margin-bottom: .9rem; letter-spacing: -0.01em; }
.fact h3 .ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--black); color: var(--sun); }
.fact h3 .ico svg { width: 18px; height: 18px; }
.fact ul { list-style: none; }
.fact li { position: relative; padding-left: 1.4rem; margin-bottom: .6rem; color: #2b2b29; font-size: 1rem; }
.fact li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--sun); }
.fact--limits li::before { background: transparent; border: 1.5px solid #8a8a85; }

.callout { border-left: 3px solid var(--sun); padding: 1.25rem 1.5rem; background: var(--sun-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 2rem 0; }
.section--light .callout, .section--white .callout { background: #fbf1d8; }
.callout strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .35rem; }
.callout p { margin: 0; }

.note { font-size: .88rem; color: var(--muted-light); border-top: 1px solid var(--line-dark); padding-top: 1.25rem; margin-top: 2.5rem; }
.section--light .note, .section--white .note { color: var(--muted-dark); border-color: var(--line-light); }

/* ---------- Schéma énergétique ---------- */
.energy-diagram { width: 100%; height: auto; }
.energy-diagram .node rect { fill: var(--graphite); stroke: var(--line-dark); }
.energy-diagram .node text { fill: var(--white); font-family: var(--font-display); font-weight: 650; font-size: 15px; }
.energy-diagram .node .sub { fill: var(--muted-light); font-family: var(--font-body); font-weight: 400; font-size: 11.5px; }
.energy-diagram .flow { fill: none; stroke: var(--sun); stroke-width: 2; stroke-dasharray: 4 9; stroke-linecap: round; animation: flow 1.6s linear infinite; }
.energy-diagram .flow--muted { stroke: #6f6f6a; }
.energy-diagram .track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; stroke-linecap: round; }
@keyframes flow { to { stroke-dashoffset: -26; } }
.diagram-legend { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; font-size: .85rem; color: var(--muted-light); margin-top: 1.25rem; }
.diagram-legend span { display: inline-flex; align-items: center; gap: .55rem; }
.diagram-legend i { width: 22px; height: 0; border-top: 2px dashed var(--sun); }
.diagram-legend i.m { border-color: #6f6f6a; }
.diagram-panel { background: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.section--light .diagram-panel { background: var(--black); color: var(--white); }

/* Courbe journalière */
.curve-chart { width: 100%; height: auto; }
.curve-chart .axis { stroke: rgba(255,255,255,.18); }
.curve-chart .lbl { fill: var(--muted-light); font-size: 11px; font-family: var(--font-body); }
.curve-chart .prod { fill: rgba(245,183,49,.22); stroke: var(--sun); stroke-width: 2; }
.curve-chart .conso { fill: none; stroke: var(--white); stroke-width: 2; stroke-dasharray: 5 5; }
.curve-chart .self { fill: rgba(245,183,49,.55); }

/* ---------- Simulateur (présentation) ---------- */
.sim-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); background: radial-gradient(120% 140% at 100% 0%, rgba(245,183,49,.24), rgba(245,183,49,0) 55%), var(--ink); border: 1px solid var(--line-dark); padding: clamp(2rem, 6vw, 5rem); }
.sim-steps { list-style: none; display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line-dark); }
.sim-steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-dark); }
.sim-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--sun); }
.sim-steps strong { display: block; font-weight: 600; margin-bottom: .15rem; }
.sim-steps span { color: var(--muted-light); font-size: .95rem; }
.free-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 999px; background: var(--sun); color: var(--black); }
.paid-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 999px; border: 1px solid currentColor; }

.offer-compare { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .offer-compare { grid-template-columns: 1fr 1fr; } }
.offer { border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.75rem); border: 1px solid var(--line-light); background: var(--white); display: flex; flex-direction: column; gap: 1rem; }
.offer--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.offer h3 { font-size: 1.6rem; }
.offer ul { list-style: none; display: grid; gap: .55rem; margin: .5rem 0 1rem; }
.offer li { position: relative; padding-left: 1.6rem; }
.offer li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--sun-deep); border-bottom: 2px solid var(--sun-deep); transform: rotate(-45deg); }
.offer--dark li::before { border-color: var(--sun); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer .fine { font-size: .88rem; color: var(--muted-dark); }
.offer--dark .fine { color: var(--muted-light); }

/* ---------- Parcours (étapes) ---------- */
.journey { list-style: none; display: grid; gap: 0; counter-reset: j; margin-top: 3rem; }
@media (min-width: 900px) { .journey--h { grid-template-columns: repeat(6, 1fr); gap: 0; } }
.journey--h li { position: relative; padding: 1.5rem 1.25rem 1.5rem 0; border-top: 1px solid var(--line-dark); }
.journey--h li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--black); border: 2px solid var(--sun); }
.journey--h li:first-child::before { background: var(--sun); }
.journey--h .step-n { font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--sun); display: block; margin: .75rem 0 .5rem; }
.journey--h h3 { font-size: 1.12rem; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: .45rem; }
.journey--h p { font-size: .92rem; color: var(--muted-light); }
.journey--h .free { display: inline-block; margin-top: .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--black); background: var(--sun); padding: .15rem .5rem; border-radius: 4px; }
@media (max-width: 899px) { .journey--h li { padding-left: 1.75rem; border-top: 0; border-left: 1px solid var(--line-dark); } .journey--h li::before { top: 1.9rem; left: -5px; } .journey--h .step-n { margin-top: 0; } }

.journey-detail { counter-reset: d; }
.journey-step { display: grid; gap: 1.5rem 3rem; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line-light); }
@media (min-width: 900px) { .journey-step { grid-template-columns: 140px 1fr 1fr; } }
.journey-step .n { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--text-dark); }
.journey-step h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .9rem; }
.journey-step .deliver { background: var(--white); border-radius: var(--radius-sm); padding: 1.5rem; border: 1px solid var(--line-light); }
.journey-step .deliver h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: .75rem; }
.journey-step .deliver ul { list-style: none; display: grid; gap: .5rem; }
.journey-step .deliver li { padding-left: 1.3rem; position: relative; }
.journey-step .deliver li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--sun-deep); }

/* ---------- Confiance vérifiable ---------- */
.proofs { display: grid; gap: 1px; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
@media (min-width: 760px) { .proofs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .proofs { grid-template-columns: repeat(4, 1fr); } }
.proof { background: var(--black); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.proof .k { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.proof p { color: var(--muted-light); font-size: .95rem; }
.proof a { margin-top: auto; font-size: .88rem; color: var(--sun); text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; cursor: pointer; font-family: var(--font-display); font-weight: 650; font-size: clamp(1.1rem, 1.8vw, 1.35rem); letter-spacing: -0.01em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color .3s, transform .4s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--sun); border-color: var(--sun); color: var(--black); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .pm { border-color: currentColor; }
.faq .answer { padding: 0 0 1.75rem; max-width: 68ch; color: #2f2f2c; }
.faq .answer > * + * { margin-top: .75em; }
.faq .answer a { text-underline-offset: 3px; text-decoration-color: var(--sun-deep); }
.faq--dark { border-color: var(--line-dark); }
.faq--dark details { border-color: var(--line-dark); }
.faq--dark summary .pm { border-color: var(--line-dark); }
.faq--dark .answer { color: rgba(255,255,255,.8); }
.faq-group + .faq-group { margin-top: 4rem; }
.faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1rem; }

/* ---------- Guides (Comprendre le solaire) ---------- */
.guide-grid { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-card { background: var(--paper); padding: 2rem 1.75rem; text-decoration: none; display: flex; flex-direction: column; gap: .75rem; min-height: 230px; transition: background-color .3s; }
.guide-card:hover { background: var(--white); }
.guide-card .meta { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a6200; }
.guide-card h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.015em; }
.guide-card p { color: var(--muted-dark); font-size: .96rem; }
.guide-card .link-arrow { margin-top: auto; align-self: flex-start; font-size: .92rem; }
.guide-layout { display: grid; gap: 3rem; }
.guide-layout > *, .grid-2 > *, .grid-3 > *, .feature > *, .contact-grid > * { min-width: 0; }
@media (min-width: 1000px) { .guide-layout { grid-template-columns: 240px 1fr; gap: 5rem; } }
.toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; font-size: .92rem; }
.toc strong { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1rem; }
.toc ol { list-style: none; display: grid; gap: .55rem; border-left: 1px solid var(--line-light); padding-left: 1rem; }
.toc a { text-decoration: none; color: var(--muted-dark); }
.toc a:hover { color: var(--text-dark); }
@media (max-width: 999px) { .toc { position: static; } }
.next-guides { display: grid; gap: 1rem; margin-top: 4rem; }
@media (min-width: 700px) { .next-guides { grid-template-columns: 1fr 1fr; } }
.next-guides a { display: block; padding: 1.5rem; border: 1px solid var(--line-light); border-radius: var(--radius-sm); text-decoration: none; transition: border-color .3s, background-color .3s; }
.next-guides a:hover { border-color: var(--text-dark); background: var(--white); }
.next-guides small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-dark); margin-bottom: .35rem; }
.next-guides span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }

.def { display: grid; gap: 1px; background: var(--line-light); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-light); margin: 1.75rem 0; }
@media (min-width: 700px) { .def { grid-template-columns: 1fr 1fr; } }
.def > div { background: var(--white); padding: 1.5rem; }
.def .term { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.def .term small { font-size: .95rem; font-weight: 600; color: var(--muted-dark); margin-left: .35rem; letter-spacing: 0; }
.def p { margin: .4rem 0 0; color: #2f2f2c; }

.checklist { list-style: none !important; padding: 0 !important; display: grid; gap: .65rem; }
.checklist li { position: relative; padding: .9rem 1rem .9rem 3rem !important; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-sm); margin: 0 !important; }
.checklist li::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: 16px; height: 16px; border-radius: 4px; border: 2px solid var(--sun-deep); }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; text-align: center; padding-block: clamp(5rem, 12vw, 10rem); isolation: isolate; }
.cta-final::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -55%; transform: translateX(-50%); width: min(1100px, 140vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245,183,49,.35), rgba(245,183,49,.08) 45%, rgba(245,183,49,0) 70%); }
.cta-final .h1 { max-width: 18ch; margin: 0 auto 1.5rem; }
.cta-final .lead { margin: 0 auto 2.5rem; color: rgba(255,255,255,.8); }
.cta-final .btn-row { justify-content: center; }

/* ---------- Contact / formulaire ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
@media (max-width: 979px) { .contact-grid > aside { order: 2; } }
.contact-aside .block { padding: 1.75rem 0; border-top: 1px solid var(--line-light); }
.contact-aside .block:first-child { border-top: 0; padding-top: 0; }
.contact-aside h2 { font-size: 1.3rem; margin-bottom: .6rem; letter-spacing: -0.01em; }
.contact-aside address { font-style: normal; }
.form-card { background: var(--white); border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 4vw, 3rem); }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .5rem; }
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-size: .92rem; font-weight: 600; margin-bottom: .45rem; color: var(--text-dark); }
.field .opt { font-weight: 400; color: var(--muted-dark); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid #cfcdc6; background: var(--paper); color: var(--text-dark);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); background: var(--white); box-shadow: 0 0 0 4px rgba(245,183,49,.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; background: #fff6f5; }
.field .err { display: none; color: #b3261e; font-size: .86rem; margin-top: .4rem; }
.field.has-error .err { display: block; }
.field .hint { font-size: .84rem; color: var(--muted-dark); margin-top: .35rem; }
.choice-group { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; padding: 0; margin: 0; }
.choice-group legend { margin-bottom: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid #cfcdc6; font-size: .92rem; cursor: pointer; transition: all .2s; background: var(--paper); color: var(--text-dark); }
.choice input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.choice input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: #2f2f2c; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: .15rem; accent-color: var(--black); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #eaf6ec; color: #1e5b2a; border: 1px solid #b9dfc0; }
.form-status--error { background: #fdecea; color: #8c1d18; border: 1px solid #f3c1bd; }
.form-status--info { background: #fbf1d8; color: #5a4100; border: 1px solid #efd58f; }
.form-preview-banner { display: flex; gap: .75rem; align-items: flex-start; background: #fbf1d8; border: 1px solid #efd58f; color: #5a4100; border-radius: 12px; padding: .9rem 1.1rem; font-size: .9rem; margin-top: 1.25rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-actions .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-success { text-align: left; }
.form-success .tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--black); margin-bottom: 1.25rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line-dark); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; font-size: .95rem; }
.footer-top { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 80px; width: auto; margin-left: -6px; }
.footer-brand p { color: var(--muted-light); max-width: 30ch; margin-top: 1rem; }
.footer-contact a { text-decoration: none; color: var(--white); font-weight: 500; }
.footer-contact a:hover { color: var(--sun); }
.footer-col h2 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.85); }
.footer-col a:hover { color: var(--sun); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); color: var(--muted-light); font-size: .84rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-sun { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 15vw, 13rem); line-height: .8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); margin-top: 3rem; user-select: none; white-space: nowrap; overflow: hidden; }

/* ---------- Divers ---------- */
.todo { display: inline-block; background: #fff3cd; color: #6b4e00; border: 1px dashed #d9a400; border-radius: 6px; padding: .05rem .45rem; font-size: .9em; font-weight: 600; }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; }
.split-head .h2 { max-width: 18ch; }
.split-head p { max-width: 40ch; }
.kicker-number { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--sun); }
.divider-sun { width: 64px; height: 3px; background: var(--sun); border-radius: 3px; margin: 2rem 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.max-40 { max-width: 40ch; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }


/* Marque soleil (logo carré) */
.brand-mark { display: block; width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 1.75rem; box-shadow: 0 14px 40px -14px rgba(245,183,49,.6); }
.brand-mark--left { margin: 0 0 1.25rem; width: 56px; height: 56px; border-radius: 14px; }
.page-hero .brand-mark--left { width: 64px; height: 64px; border-radius: 16px; }

/* Bouton retour en haut */
.to-top {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 89;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(17,17,17,.88); color: var(--white); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s, background-color .25s, color .25s, border-color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.to-top:hover { background: var(--sun); color: var(--black); border-color: var(--sun); }
.to-top svg { transition: transform .3s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }
body.menu-open .to-top { opacity: 0; visibility: hidden; }
@media print { .to-top { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
  .energy-diagram .flow { animation: none; stroke-dasharray: none; }
}

@media print {
  .site-header, .mobile-menu, .sim-dock, .site-footer .footer-sun, .cta-final { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   DIRECTION ARTISTIQUE v2 — « tech premium »
   Surcouche appliquée à l'ensemble du site : typographie Geist, titres fins,
   étiquettes monospace, boutons rectangulaires, photos étalonnées, en-tête centré.
   ========================================================================== */
:root {
  --font-display: "Geist", "Inter", system-ui, sans-serif;
  --font-body: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --black: #050505;
  --ink: #0b0b0c;
  --graphite: #131315;
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-light: rgba(10, 10, 10, 0.1);
  --paper: #f2f2f0;
  --muted-light: #9d9d98;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-btn: 6px;
}
body { font-size: 1.02rem; letter-spacing: -0.006em; line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.035em; }
.display { font-weight: 500; letter-spacing: -0.05em; line-height: .94; font-size: clamp(2.9rem, 7.6vw, 7rem); }
.h1 { font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.h2 { font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; }
.h3 { font-weight: 500; letter-spacing: -0.02em; }
.statement { font-weight: 400; letter-spacing: -0.035em; line-height: 1.1; }
.lead { font-weight: 400; color: inherit; }
.page-hero .lead, .hero .lead { color: rgba(255,255,255,.78); }

/* Étiquettes techniques */
.eyebrow { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; color: var(--muted-light); gap: .7rem; }
.eyebrow::before { width: 6px; height: 6px; border-radius: 1px; background: var(--sun); }
.section--light .eyebrow, .section--white .eyebrow { color: #6a6a65; }
.kicker-number, .pillar .num, .journey--h .step-n, .solution-row .idx, .sim-steps li::before, .guide-card .meta, .proof .kicker-number { font-family: var(--font-mono); font-weight: 500; letter-spacing: .04em; }
.free-badge, .paid-badge, .solution-row .tag { font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; border-radius: 4px; font-size: .7rem; }

/* Boutons */
.btn { border-radius: var(--radius-btn); font-weight: 500; min-height: 48px; padding: .8rem 1.5rem; font-size: .95rem; letter-spacing: -0.005em; }
.btn:hover { transform: none; box-shadow: none; }
.btn:not(.btn--ghost):not(.btn--dark):hover { --bg: #ffc94d; }
.btn--ghost { --bg: rgba(255,255,255,.09); --fg: var(--white); border-color: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--ghost:hover { --bg: rgba(255,255,255,.18); --fg: var(--white); border-color: rgba(255,255,255,.28); }
.section--light .btn--ghost, .section--white .btn--ghost { --bg: transparent; }
.btn--dark:hover { --bg: #222; }
.btn--sm { min-height: 38px; padding: .45rem 1rem; font-size: .86rem; }
.link-arrow { font-weight: 500; border-bottom-width: 1px; }

/* En-tête : navigation centrée, verre dépoli */
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.header-actions { justify-self: end; }
@media (max-width: 1079px) { .header-inner { grid-template-columns: 1fr auto; } }
@media (min-width: 1080px) { .nav-main a { font-size: .86rem; font-weight: 500; padding: .45rem .85rem; border-radius: 6px; } .nav-main a[aria-current="page"]::after { bottom: .1rem; height: 1.5px; } }
.site-header.is-solid, .site-header--solid { background: rgba(5,5,5,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.mobile-menu nav a { font-weight: 500; letter-spacing: -0.03em; }

/* Étalonnage photo commun : contraste, saturation maîtrisée */
.hero-media img, .page-hero-media img, .media img, .fullbleed img { filter: saturate(.88) contrast(1.06) brightness(.94); }

/* Héro centré (accueil) */
.hero--center { align-items: stretch; text-align: center; padding: calc(var(--header-h) + clamp(3rem, 9vh, 6rem)) 0 clamp(2.5rem, 6vh, 4rem); }
.hero--center::after { background: linear-gradient(180deg, rgba(5,5,5,.72) 0%, rgba(5,5,5,.25) 34%, rgba(5,5,5,.1) 55%, rgba(5,5,5,.78) 100%); }
.hero--center .hero-inner { display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-height: calc(100svh - var(--header-h) - clamp(5.5rem, 15vh, 10rem)); gap: 3rem; }
.hero--center .hero-content { max-width: 1100px; margin: 0 auto; }
.hero--center .eyebrow { justify-content: center; }
.hero--center .display { font-size: clamp(2.6rem, 5.4vw, 5.4rem); }
.hero--center .display span { display: inline; white-space: nowrap; }
.hero--center .hero-content { max-width: 1260px; }
.hero--center .lead { margin: 0 auto; max-width: 40em; }
.hero--center .btn-row { justify-content: center; }
.hero--center .btn { min-width: 250px; }
@media (max-width: 560px) { .hero--center .btn { min-width: 0; width: 100%; } }
.hero--center .hero-foot { justify-content: center; margin-top: 1.5rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.hero-media img { object-position: 50% 55%; }

/* Barre de caractéristiques */
.specs-bar { background: var(--black); border-bottom: 1px solid var(--line-dark); }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.spec { padding: 1.6rem 1.25rem; border-left: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: .35rem; }
.spec:first-child { border-left: 0; }
@media (max-width: 859px) { .spec:nth-child(3) { border-left: 0; } .spec:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
.spec-k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.spec-v { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.03em; }

/* Bandeau plein écran centré */
.fullbleed { height: clamp(460px, 92vh, 980px); }
.fullbleed--center .fullbleed-overlay { align-items: center; justify-content: center; text-align: center; background: linear-gradient(180deg, rgba(5,5,5,.35), rgba(5,5,5,.55)); padding: 0; }
.fullbleed--center .statement { max-width: 22ch; margin: 0 auto; font-size: clamp(2.1rem, 5vw, 4.4rem); }

/* Surfaces et cartes */
.section--graphite { background: var(--ink); }
.pillar { background: var(--black); }
.section--graphite .pillar { background: var(--ink); }
.pillar h3 { font-weight: 500; }
.proof { background: var(--black); }
.media { border-radius: 12px; }
.sim-band { background: radial-gradient(90% 120% at 100% 0%, rgba(245,183,49,.16), rgba(245,183,49,0) 55%), linear-gradient(180deg, #0f0f10, #0a0a0b); border-color: rgba(255,255,255,.08); border-radius: 18px; }
.solution-row h3 { font-weight: 500; letter-spacing: -0.035em; }
.feature-body .h2 { font-weight: 500; }
.journey-step .n { font-weight: 300; -webkit-text-stroke: 1px var(--text-dark); font-family: var(--font-mono); letter-spacing: -0.04em; }
.offer { border-radius: 16px; }
.offer h3 { font-weight: 500; }
.guide-card h3, .fact h3 { font-weight: 500; }
.faq summary { font-weight: 500; letter-spacing: -0.02em; }
.cta-final .h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.cta-final::before { background: radial-gradient(circle, rgba(245,183,49,.22), rgba(245,183,49,.05) 45%, rgba(245,183,49,0) 70%); }
.footer-sun { font-weight: 600; letter-spacing: -0.06em; -webkit-text-stroke: 1px rgba(255,255,255,.08); }
.brand-mark { border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 50px -18px rgba(245,183,49,.55); }
.section--light .statement em, .section--light .h2 em, .section--white .h2 em { background: none; color: #a87400; }
.sim-band { isolation: isolate; }
.sim-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .38; filter: saturate(.8) contrast(1.1); }
.sim-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,8,9,.92) 0%, rgba(8,8,9,.75) 50%, rgba(8,8,9,.55) 100%); }
h1, h2, .statement, .lead { text-wrap: balance; }
@media (max-width: 560px) { .hero--center .eyebrow::before { display: none; } .hero--center .eyebrow { font-size: .66rem; } }

/* Héro animé : lent travelling continu + reflet de lumière qui balaie les panneaux */
.hero-media { overflow: hidden; }
.hero-media img { animation: hero-drift 28s ease-in-out infinite alternate; will-change: transform; object-position: 50% 60%; }
@keyframes hero-drift {
  from { transform: scale(1.14) translate3d(-1.6%, 1.2%, 0); }
  to   { transform: scale(1.03) translate3d(1.2%, -1%, 0); }
}
.hero-media::after {
  content: ""; position: absolute; inset: -30%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(112deg, transparent 42%, rgba(255,196,110,.10) 47%, rgba(255,232,190,.26) 50%, rgba(255,196,110,.10) 53%, transparent 58%);
  transform: translateX(-70%); animation: hero-sheen 10s cubic-bezier(.55,0,.25,1) 1.5s infinite;
}
@keyframes hero-sheen { 0% { transform: translateX(-70%); } 55%, 100% { transform: translateX(70%); } }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 40%, rgba(255,170,60,.18), rgba(255,170,60,0) 70%);
  animation: hero-glow 7s ease-in-out infinite alternate;
}
@keyframes hero-glow { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none !important; transform: scale(1.04) !important; }
  .hero-media::after, .hero-media::before { animation: none !important; }
  .hero-media::after { display: none; }
}
