/* ==========================================================================
   Pergo Expert — Landing Page
   Design system : adapté de Dleads (typo + tokens) avec palette propre
   Palette : bleu pétrole + anthracite + aluminium + amber (lumière)
   ========================================================================== */

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-VariableFont_wght.ttf') format('truetype-variations'),
       url('fonts/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-VariableFont_opsz_wght.ttf') format('truetype-variations'),
       url('fonts/DMSans-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Italic-VariableFont_opsz_wght.ttf') format('truetype-variations'),
       url('fonts/DMSans-Italic-VariableFont_opsz_wght.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  /* ============ PALETTE PERGO EXPERT — DEFAULT (Pétrole + Amber) ============ */

  /* Petrole — deep blue-green-grey, premium metal feel */
  --petrole-50:  #EEF2F3;
  --petrole-100: #D8E1E4;
  --petrole-200: #A8BCC2;
  --petrole-300: #6F8E97;
  --petrole-400: #3F636E;
  --petrole-500: #234553;
  --petrole-600: #143540;   /* base — pétrole signature */
  --petrole-700: #0D2128;
  --petrole-800: #07151A;

  /* Anthracite — text & UI dark */
  --ink-900: #0E1318;       /* near black */
  --ink-800: #1A2128;
  --ink-700: #303841;
  --ink-600: #4D5760;
  --ink-500: #6B747C;
  --ink-400: #8E969E;
  --ink-300: #B7BDC3;
  --ink-200: #D9DDE0;
  --ink-100: #ECEEF0;
  --ink-50:  #F6F7F8;
  --ink-0:   #FFFFFF;

  /* Aluminium — cool neutrals teintés bleu */
  --alu-50:  #F4F6F7;
  --alu-100: #E8ECEE;
  --alu-200: #D2D9DD;
  --alu-300: #B0BAC1;
  --alu-400: #8E9AA3;

  /* Amber — warm light (la "lumière qui passe") */
  --amber-50:  #FDF4E4;
  --amber-100: #FAE6BC;
  --amber-200: #F5D082;
  --amber-300: #EFB94C;
  --amber-400: #E8A33F;     /* base amber */
  --amber-500: #C9852A;
  --amber-600: #A06618;
  --amber-700: #6E4510;

  /* Sand — sable / granit breton, subtil */
  --sand-50:  #FAF7F1;
  --sand-100: #F2EDE2;
  --sand-200: #E5DCC8;

  /* Status */
  --vert-400: #2EA672;
  --vert-50:  #E6F4EE;
  --rouge-400: #C8483E;
  --rouge-50: #FBEDEC;

  /* ============ SEMANTIC TOKENS ============ */
  --bg-default:   var(--ink-0);
  --bg-subtle:    var(--sand-50);
  --bg-muted:     var(--alu-100);
  --bg-dark:      var(--petrole-700);
  --bg-deep:      var(--petrole-800);
  --bg-accent:    var(--amber-400);

  --fg-primary:   var(--ink-900);
  --fg-secondary: var(--ink-700);
  --fg-muted:     var(--ink-500);
  --fg-inverse:   var(--ink-0);
  --fg-on-brand:  var(--ink-900);
  --fg-on-dark:   var(--ink-0);
  --fg-link:      var(--petrole-600);
  --fg-accent:    var(--amber-500);

  --border-subtle: var(--ink-200);
  --border-default: var(--ink-300);
  --border-strong: var(--ink-700);

  --success:    var(--vert-400);
  --success-bg: var(--vert-50);
  --danger:     var(--rouge-400);
  --danger-bg:  var(--rouge-50);

  /* ============ TYPOGRAPHY (Dleads tokens) ============ */
  --font-display: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --fw-thin:      100;
  --fw-extralight:200;
  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;

  --fs-display: clamp(40px, 7vw, 84px);
  --fs-h1:      clamp(32px, 5.2vw, 56px);
  --fs-h2:      clamp(28px, 3.6vw, 44px);
  --fs-h3:      clamp(22px, 2.4vw, 30px);
  --fs-h4:      20px;
  --fs-lead:    clamp(17px, 1.5vw, 20px);
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-micro:   12px;

  --lh-tight:   1.05;
  --lh-snug:    1.18;
  --lh-normal:  1.35;
  --lh-relaxed: 1.6;

  --ls-tight:   -0.025em;
  --ls-display: -0.035em;
  --ls-normal:  0;
  --ls-wide:    0.02em;
  --ls-uppercase: 0.14em;

  /* ============ SPACING (4px base) ============ */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Section padding — adjustable by density tweak */
  --section-pad-y: var(--space-24);

  /* ============ RADII ============ */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 999px;
  --radius-full: 50%;

  /* ============ SHADOWS ============ */
  --shadow-xs: 0 1px 2px rgba(14, 19, 24, 0.05);
  --shadow-sm: 0 2px 4px rgba(14, 19, 24, 0.06), 0 1px 2px rgba(14, 19, 24, 0.04);
  --shadow-md: 0 6px 16px rgba(14, 19, 24, 0.08), 0 2px 4px rgba(14, 19, 24, 0.04);
  --shadow-lg: 0 16px 40px rgba(14, 19, 24, 0.10), 0 4px 8px rgba(14, 19, 24, 0.04);
  --shadow-xl: 0 24px 60px rgba(14, 19, 24, 0.16);
  --shadow-amber: 0 14px 32px rgba(232, 163, 63, 0.32);
  --shadow-petrole: 0 14px 32px rgba(20, 53, 64, 0.25);

  /* ============ MOTION ============ */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   120ms;
  --duration-normal: 220ms;
  --duration-slow:   400ms;

  /* ============ LAYOUT ============ */
  --container-sm:  640px;
  --container-md:  840px;
  --container-lg: 1100px;
  --container-xl: 1280px;
}

/* ============ PALETTE VARIANTS (via Tweaks data-palette) ============ */

/* Variant : Anthracite + Copper — plus brutalist */
[data-palette="anthracite"] {
  --petrole-600: #1F2429;
  --petrole-700: #14181C;
  --petrole-800: #0A0D10;
  --petrole-500: #2D343A;
  --petrole-400: #4A5158;
  --petrole-300: #7F868D;
  --petrole-200: #B2B7BC;
  --petrole-100: #DBDEE0;
  --petrole-50:  #ECEDEF;
  --amber-400:   #C97F3F;   /* copper */
  --amber-500:   #A86528;
  --amber-300:   #DCA572;
  --sand-50:     #F4F1EC;
  --sand-100:    #EAE5DB;
}

/* Variant : Ardoise + Sage — Bretagne naturel */
[data-palette="ardoise"] {
  --petrole-600: #2E4853;
  --petrole-700: #1F323B;
  --petrole-800: #142128;
  --petrole-500: #486270;
  --petrole-400: #6C8390;
  --petrole-300: #99A9B3;
  --petrole-200: #C7D0D6;
  --petrole-100: #E0E5E9;
  --petrole-50:  #EEF1F3;
  --amber-400:   #6F9777;   /* sage green */
  --amber-500:   #527058;
  --amber-300:   #9CB6A2;
  --sand-50:     #F1F0EA;
  --sand-100:    #E2E1D6;
}

/* ============ DENSITY VARIANTS ============ */
[data-density="compact"] { --section-pad-y: var(--space-16); }
[data-density="airy"]    { --section-pad-y: var(--space-32); }

/* ==========================================================================
   BASE
   ========================================================================== */

*, *::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: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--fg-primary);
  background: var(--bg-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--fg-primary);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-light); letter-spacing: var(--ls-display); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-light); letter-spacing: var(--ls-display); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-regular); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-medium); letter-spacing: 0; }

/* Italic accent within headings — Pergo's "lumière" */
h1 em, h2 em, h3 em, .display em {
  font-style: italic;
  font-weight: inherit;
  color: var(--fg-accent);
}

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-relaxed); color: var(--fg-secondary); }
.small { font-size: var(--fs-small); }
.micro { font-size: var(--fs-micro); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  color: var(--amber-500);
  margin: 0 0 var(--space-4);
}

a {
  color: var(--fg-link);
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}
a:hover { opacity: 0.75; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber-400);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

strong, b { font-weight: var(--fw-bold); }

img { max-width: 100%; display: block; }

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-10); }
}

section { padding: var(--section-pad-y) 0; }

.section-bg-subtle { background: var(--bg-subtle); }
.section-bg-muted  { background: var(--bg-muted); }
.section-bg-dark   { background: var(--bg-dark); color: var(--fg-on-dark); }
.section-bg-deep   { background: var(--bg-deep); color: var(--fg-on-dark); }

.section-bg-dark h1, .section-bg-dark h2, .section-bg-dark h3, .section-bg-dark h4,
.section-bg-deep h1, .section-bg-deep h2, .section-bg-deep h3, .section-bg-deep h4 {
  color: var(--fg-on-dark);
}
.section-bg-dark .eyebrow, .section-bg-deep .eyebrow {
  color: var(--amber-300);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-6);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out),
              background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              color var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform var(--duration-normal) var(--ease-out); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--petrole-700);
  color: var(--fg-on-dark);
  box-shadow: var(--shadow-petrole);
}
.btn-primary:hover { background: var(--petrole-600); opacity: 1; box-shadow: var(--shadow-lg); }

.btn-accent {
  background: var(--amber-400);
  color: var(--ink-900);
  box-shadow: var(--shadow-amber);
}
.btn-accent:hover { background: var(--amber-300); opacity: 1; }

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); opacity: 1; }

.btn-light {
  background: var(--ink-0);
  color: var(--petrole-700);
}
.btn-light:hover { background: var(--alu-50); opacity: 1; }

.btn-block { width: 100%; }
.btn-lg { min-height: 60px; padding: 0 var(--space-8); font-size: 17px; }

.cta-microcopy {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--fs-small);
  color: var(--fg-muted);
  line-height: var(--lh-normal);
}
.section-bg-dark .cta-microcopy, .section-bg-deep .cta-microcopy { color: var(--alu-200); }

/* Reassurance row (check ticks) */
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  font-size: var(--fs-small);
  color: var(--fg-secondary);
}
.check-row li { display: inline-flex; align-items: center; gap: var(--space-2); }
.check-row .tick {
  width: 18px; height: 18px; flex: 0 0 18px;
  border-radius: var(--radius-full);
  background: var(--vert-400);
  color: white;
  display: inline-grid; place-items: center;
  font-size: 11px; font-weight: bold;
}
.section-bg-dark .check-row, .section-bg-deep .check-row { color: var(--alu-200); }

/* ==========================================================================
   HEADER (sticky)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--duration-normal) var(--ease-out);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 22px;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.brand__dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: var(--radius-full);
  background: var(--amber-400);
  margin-right: 2px;
  align-self: center;
}
.brand__mark {
  font-weight: var(--fw-light);
}
.brand__type {
  color: var(--petrole-600);
  font-weight: var(--fw-medium);
}

.header-meta {
  display: none;
  align-items: center;
  gap: var(--space-5);
  font-size: var(--fs-small);
  color: var(--fg-secondary);
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink-900);
  font-weight: var(--fw-semibold);
}
.header-phone::before { content: "📲"; font-size: 16px; }
.header-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  background: var(--sand-100);
  border-radius: var(--radius-pill);
  font-size: var(--fs-micro);
  color: var(--petrole-700);
  font-weight: var(--fw-medium);
}

@media (min-width: 900px) {
  .header-meta { display: inline-flex; }
}

.header-cta {
  display: none;
}
.header-cta-mobile {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 16px;
  background: var(--petrole-700);
  color: var(--ink-0);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: var(--fw-semibold);
}
@media (min-width: 600px) {
  .header-cta { display: inline-flex; }
  .header-cta-mobile { display: none; }
}

/* ==========================================================================
   HERO (Section 1)
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(80vh, 760px);
  display: flex;
  align-items: center;
  color: var(--ink-0);
  isolation: isolate;
  overflow: hidden;
  padding: var(--space-16) 0 var(--space-20);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--petrole-900);
  overflow: hidden;
}

/* ----------------------------------------------------------------
   Slideshow hero : 8 slides crossfade + léger zoom cinématique
   Cycle de 40s — chaque slide visible 5s avec 1s de crossfade
   ---------------------------------------------------------------- */
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  animation:
    heroSlideFade 32s infinite ease-in-out,
    heroSlideZoom 32s infinite ease-in-out;
  will-change: opacity, transform;
}
.hero__slide--1 {
  background-image: url('assets/hero/1-personnes-aperitif-terrasse-pergola-ovalux.webp');
  animation-delay: -1s, -1s;
}
.hero__slide--2 {
  background-image: url('assets/hero/2-pergola-ovalux.webp');
  animation-delay: 3s, 3s;
}
.hero__slide--3 {
  background-image: url('assets/hero/3-pergola-ovalux-piscine.png');
  animation-delay: 7s, 7s;
}
.hero__slide--4 {
  background-image: url('assets/hero/4-pergola-ovalux-soleil-couchant.webp');
  animation-delay: 11s, 11s;
}
.hero__slide--5 {
  background-image: url('assets/hero/5-pergola-ovalux-bretagne.webp');
  animation-delay: 15s, 15s;
}
.hero__slide--6 {
  background-image: url('assets/hero/6-pergola-ovalux-store-nantes.webp');
  animation-delay: 19s, 19s;
}
.hero__slide--7 {
  background-image: url('assets/hero/7-pergola-ovalux-soleil-ete.webp');
  animation-delay: 23s, 23s;
}
.hero__slide--8 {
  background-image: url('assets/hero/8-pergola-ovalux-fleurie.webp');
  animation-delay: 27s, 27s;
}

@keyframes heroSlideFade {
  0%       { opacity: 0; }
  3.125%   { opacity: 1; }   /* fully visible after 1s fade-in */
  12.5%    { opacity: 1; }   /* visible for 3s */
  15.625%  { opacity: 0; }   /* faded out after 1s fade-out */
  100%     { opacity: 0; }
}

/* Subtle Ken Burns zoom synced with each slide's visible window */
@keyframes heroSlideZoom {
  0%       { transform: scale(1.04); }
  15.625%  { transform: scale(1.12); }
  100%     { transform: scale(1.12); }
}

/* Accessibilité : reduced-motion = pas de slideshow, affiche la 1re image fixe */
@media (prefers-reduced-motion: reduce) {
  .hero__slide { opacity: 0 !important; animation: none !important; transform: none !important; }
  .hero__slide--1 { opacity: 1 !important; }
}

/* Parallaxe scroll subtile — le slideshow recule de 8% quand on scrolle dans le first fold.
   Utilise les scroll-driven animations CSS (Chrome/Edge/Safari 18+, ~70% de couverture mai 2026).
   Dégradation gracieuse : navigateurs anciens = pas de parallaxe, scroll normal. */
@supports (animation-timeline: scroll()) {
  .hero__bg {
    animation: heroParallax linear;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
    will-change: transform;
  }
  @media (prefers-reduced-motion: reduce) {
    .hero__bg { animation: none; }
  }
}
@keyframes heroParallax {
  to { transform: translateY(8%); }
}

/* Teinte pétrole pour harmoniser les 8 images avec la palette */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 53, 64, 0.30) 0%, rgba(7, 21, 26, 0.40) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}
/* Voile de lisibilité — allégé pour laisser ressortir les couleurs des pergolas.
   Le text-shadow sur le H1 et le hero__sub sert de filet de sécurité pour le contraste. */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 21, 26, 0.72) 0%, rgba(7, 21, 26, 0.50) 45%, rgba(7, 21, 26, 0.22) 75%, rgba(7, 21, 26, 0.10) 100%),
    linear-gradient(180deg, rgba(7, 21, 26, 0.22) 0%, transparent 30%, rgba(7, 21, 26, 0.32) 100%);
}

/* Placeholder image label — replace with real photo */
.hero__photo-label {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  max-width: 280px;
  text-align: right;
  line-height: 1.4;
}

/* ===== HERO MOTION ===== */

/* Animated rain veil on top of the photo, masked to the right of the hero copy */
.hero__rain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  /* Mask : invisible on the left where copy sits, visible right where pergola is */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0,0,0,0.85) 65%, rgba(0,0,0,0.95) 100%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0,0,0,0.85) 65%, rgba(0,0,0,0.95) 100%);
}
.hero__rain::before,
.hero__rain::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 130%;
  height: 220%;
  background-image:
    /* fine slanted rain streaks */
    repeating-linear-gradient(
      14deg,
      transparent 0,
      transparent 16px,
      rgba(255, 255, 255, 0.08) 16px,
      rgba(255, 255, 255, 0.08) 17px,
      transparent 17px,
      transparent 40px
    );
  animation: heroRain 1.6s linear infinite;
}
.hero__rain::after {
  /* second layer, slightly different angle/density, slower — depth */
  background-image: repeating-linear-gradient(
    12deg,
    transparent 0,
    transparent 28px,
    rgba(255, 255, 255, 0.05) 28px,
    rgba(255, 255, 255, 0.05) 29px,
    transparent 29px,
    transparent 70px
  );
  animation-duration: 2.4s;
  opacity: 0.7;
}

@keyframes heroRain {
  0%   { transform: translate3d(0, -25%, 0); }
  100% { transform: translate3d(-7%, 25%, 0); }
}

/* Soft amber light flare drifting across — "la lumière qui passe" */
.hero__flare {
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70%;
  aspect-ratio: 1 / 1;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(232, 163, 63, 0.22) 0%, rgba(232, 163, 63, 0.08) 30%, transparent 60%);
  filter: blur(20px);
  animation: heroFlare 14s ease-in-out infinite alternate;
}
@keyframes heroFlare {
  0%   { transform: translate(0, 0) scale(1);   opacity: 0.9; }
  100% { transform: translate(-12%, 8%) scale(1.15); opacity: 1; }
}

/* Staggered fade-up entrance on hero copy */
.hero__eyebrow,
.hero h1,
.hero__sub,
.hero__ctas,
.hero__reassurance {
  opacity: 0;
  transform: translateY(18px);
  animation: heroRise 0.9s var(--ease-out) forwards;
}
.hero__eyebrow     { animation-delay: 0.10s; }
.hero h1           { animation-delay: 0.22s; }
.hero__sub         { animation-delay: 0.42s; }
.hero__ctas        { animation-delay: 0.58s; }
.hero__reassurance { animation-delay: 0.74s; }

@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

/* Badge — gentle float + entrance */
.hero__badge {
  animation: heroBadgeIn 0.9s var(--ease-out) 0.85s forwards,
             heroBadgeFloat 6s ease-in-out 1.8s infinite alternate;
  opacity: 0;
  transform-origin: center;
}
@keyframes heroBadgeIn {
  from { opacity: 0; transform: translateY(-50%) rotate(-24deg) scale(0.6); }
  to   { opacity: 1; transform: translateY(-50%) rotate(-8deg) scale(1);   }
}
@keyframes heroBadgeFloat {
  0%   { transform: translateY(calc(-50% - 4px)) rotate(-8deg); }
  100% { transform: translateY(calc(-50% + 4px)) rotate(-6deg); }
}

/* Arrow nudge on hero accent CTA */
.hero .btn-accent {
  animation: heroCtaPulse 2.6s ease-in-out 1.6s infinite;
}
@keyframes heroCtaPulse {
  0%, 100% { box-shadow: var(--shadow-amber); }
  50%      { box-shadow: 0 14px 32px rgba(232, 163, 63, 0.55), 0 0 0 6px rgba(232, 163, 63, 0.10); }
}

/* Scroll cue at the bottom of hero */
.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  pointer-events: none;
  opacity: 0;
  animation: heroScrollCue 0.6s var(--ease-out) 1.2s forwards;
}
.hero__scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
  animation: heroScrollDot 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes heroScrollCue {
  to { opacity: 1; }
}
@keyframes heroScrollDot {
  0%   { transform: scaleY(0.4); opacity: 0.2; }
  50%  { transform: scaleY(1);   opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0.2; transform-origin: bottom; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero__rain::before, .hero__rain::after, .hero__flare,
  .hero__eyebrow, .hero h1, .hero__sub, .hero__ctas, .hero__reassurance,
  .hero__badge, .hero .btn-accent, .hero__scroll-cue, .hero__scroll-cue::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__badge { transform: translateY(-50%) rotate(-8deg) !important; }
}

.hero__inner {
  position: relative;
  z-index: 2;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
.hero__copy { max-width: 720px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  color: var(--amber-200);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}
.hero__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: var(--radius-full);
  background: var(--amber-400);
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: var(--fw-thin);
  letter-spacing: var(--ls-display);
  line-height: 1.02;
  margin-bottom: var(--space-6);
  color: var(--ink-0);
  /* Halo léger pour garantir le contraste sur les 8 images variées du slideshow */
  text-shadow: 0 2px 14px rgba(7, 21, 26, 0.55);
}
.hero h1 em { color: var(--amber-300); font-style: italic; }
.hero__sub {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--lh-relaxed);
  max-width: 640px;
  margin-bottom: var(--space-8);
  text-shadow: 0 1px 10px rgba(7, 21, 26, 0.50);
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}
.hero__phone {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-small);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__phone a {
  color: var(--ink-0);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(232, 163, 63, 0.6);
}
.hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-6);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.8);
}
.hero__reassurance li {
  display: inline-flex; align-items: center; gap: var(--space-2);
  list-style: none;
}

/* Hero badge (garantie) — caché sur mobile/tablette, visible desktop ≥900px */
.hero__badge {
  display: none;
  position: absolute;
  z-index: 1;
  right: var(--space-12);
  top: 50%;
  transform: translateY(-50%);
  width: 144px; height: 144px;
  border-radius: var(--radius-full);
  background: var(--amber-400);
  color: var(--ink-900);
  text-align: center;
  font-family: var(--font-display);
  place-items: center;
  box-shadow: var(--shadow-xl);
  rotate: -8deg;
}
.hero__badge strong { font-size: 36px; font-weight: var(--fw-light); display: block; line-height: 1; }
.hero__badge span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--font-body); font-weight: var(--fw-semibold); }

@media (min-width: 900px) {
  .hero__badge { display: grid; }
  .hero { padding: var(--space-20) 0; }
}

/* Hero variant : SPLIT (50/50) */
[data-hero="split"] .hero {
  min-height: auto;
  padding: var(--space-12) 0 var(--space-20);
}
[data-hero="split"] .hero__bg {
  background: var(--ink-0);
}
[data-hero="split"] .hero__bg::before { display: none; }
[data-hero="split"] .hero__bg::after { display: none; }
[data-hero="split"] .hero { color: var(--ink-900); }
[data-hero="split"] .hero h1 { color: var(--ink-900); }
[data-hero="split"] .hero h1 em { color: var(--amber-500); }
[data-hero="split"] .hero__sub { color: var(--fg-secondary); }
[data-hero="split"] .hero__eyebrow {
  background: var(--sand-100); color: var(--amber-600); border-color: transparent;
}
[data-hero="split"] .hero__phone { color: var(--fg-secondary); }
[data-hero="split"] .hero__phone a { color: var(--ink-900); }
[data-hero="split"] .hero__reassurance { color: var(--fg-secondary); }
[data-hero="split"] .hero__photo-label { color: rgba(255, 255, 255, 0.7); }
[data-hero="split"] .hero__badge { display: none; }

@media (min-width: 960px) {
  [data-hero="split"] .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-12);
  }
  [data-hero="split"] .hero__visual { display: block; }
}
.hero__visual { display: none; }
[data-hero="split"] .hero__visual {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(232, 163, 63, 0.22), transparent 60%),
    linear-gradient(135deg, var(--petrole-500) 0%, var(--petrole-800) 100%);
  box-shadow: var(--shadow-xl);
}
[data-hero="split"] .hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 48px);
}

/* Hero variant : EDITORIAL */
[data-hero="editorial"] .hero {
  min-height: auto;
  padding: var(--space-10) 0 var(--space-16);
  color: var(--ink-900);
}
[data-hero="editorial"] .hero__bg {
  background: var(--sand-50);
}
[data-hero="editorial"] .hero__bg::before, [data-hero="editorial"] .hero__bg::after { display: none; }
[data-hero="editorial"] .hero h1 { color: var(--ink-900); }
[data-hero="editorial"] .hero h1 em { color: var(--amber-500); }
[data-hero="editorial"] .hero__sub { color: var(--fg-secondary); }
[data-hero="editorial"] .hero__eyebrow {
  background: var(--ink-0); color: var(--amber-600); border-color: var(--ink-200);
}
[data-hero="editorial"] .hero__phone { color: var(--fg-secondary); }
[data-hero="editorial"] .hero__phone a { color: var(--ink-900); }
[data-hero="editorial"] .hero__reassurance { color: var(--fg-secondary); }
[data-hero="editorial"] .hero__badge { display: none; }
[data-hero="editorial"] .hero__visual {
  display: block;
  margin-top: var(--space-10);
  aspect-ratio: 21 / 9;
  width: 100%;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(232, 163, 63, 0.22), transparent 60%),
    linear-gradient(135deg, var(--petrole-500) 0%, var(--petrole-800) 100%);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
[data-hero="editorial"] .hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 48px);
}
[data-hero="editorial"] .hero__grid { grid-template-columns: 1fr; }
[data-hero="editorial"] .hero__copy { max-width: 900px; }

/* ==========================================================================
   REASSURANCE BAR (Section 2)
   ========================================================================== */

.reassurance-bar {
  background: var(--ink-0);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-6) 0;
}
.reassurance-bar__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: var(--space-6);
  overflow-x: auto;
  scrollbar-width: none;
}
.reassurance-bar__inner::-webkit-scrollbar { display: none; }

@media (max-width: 900px) {
  .reassurance-bar__inner {
    grid-template-columns: repeat(5, minmax(220px, 280px));
    padding-bottom: var(--space-2);
  }
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}
.reassurance-item__icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--sand-50);
  display: grid; place-items: center;
  color: var(--petrole-600);
}
.reassurance-item__icon svg { width: 22px; height: 22px; }
.reassurance-item__text {
  font-size: var(--fs-small);
  line-height: 1.35;
  color: var(--fg-secondary);
}
.reassurance-item__text strong { color: var(--ink-900); display: block; font-weight: var(--fw-semibold); }

/* ==========================================================================
   GALLERY (Section 2.5) — Mosaïque réalisations Ovalux
   ========================================================================== */

.gallery-section {
  background: linear-gradient(180deg, var(--ink-0) 0%, var(--sand-50) 100%);
}

.gallery-header {
  max-width: 760px;
  margin: 0 auto var(--space-12);
  text-align: center;
}
.gallery-header h2 { margin-bottom: var(--space-4); }
.gallery-header .lead { margin: 0 auto; }

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 600px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: var(--space-4);
  }
}

@media (min-width: 900px) {
  .gallery-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 260px 260px 260px;
    gap: var(--space-4);
  }
  .gallery-tile--feature { grid-column: span 2; grid-row: span 2; }
  .gallery-tile--wide    { grid-column: span 2; grid-row: span 1; }
}

.gallery-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-100);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  transition: filter var(--duration-normal) var(--ease-out);
  filter: saturate(0.95);
  will-change: transform;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

/* Ken Burns — 6 variantes, une par tuile */
.gallery-tile:nth-child(1) img { animation-name: kenburns-1; }
.gallery-tile:nth-child(2) img { animation-name: kenburns-2; }
.gallery-tile:nth-child(3) img { animation-name: kenburns-3; }
.gallery-tile:nth-child(4) img { animation-name: kenburns-4; }
.gallery-tile:nth-child(5) img { animation-name: kenburns-5; }
.gallery-tile:nth-child(6) img { animation-name: kenburns-6; }

@keyframes kenburns-1 { /* zoom centre — tuile feature */
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.18) translate(0, 0); }
}
@keyframes kenburns-2 { /* zoom + pan haut-gauche */
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.18) translate(-5%, -4%); }
}
@keyframes kenburns-3 { /* zoom + pan droite */
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.18) translate(5%, 0); }
}
@keyframes kenburns-4 { /* zoom + pan gauche */
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.18) translate(-5%, 0); }
}
@keyframes kenburns-5 { /* zoom + pan bas-droite */
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.18) translate(5%, 4%); }
}
@keyframes kenburns-6 { /* zoom + pan haut-droite */
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.18) translate(5%, -4%); }
}

@media (min-width: 600px) {
  .gallery-tile img { min-height: 0; }
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 26, 0) 45%, rgba(7, 21, 26, 0.72) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.gallery-tile:hover,
.gallery-tile:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.gallery-tile:hover img,
.gallery-tile:focus-within img {
  filter: saturate(1.05);
}
.gallery-tile:hover::after,
.gallery-tile:focus-within::after { opacity: 1; }

.gallery-tile__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-4) var(--space-5);
  z-index: 2;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
  pointer-events: none;
}
.gallery-tile:hover .gallery-tile__caption,
.gallery-tile:focus-within .gallery-tile__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tile__location {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--ink-0);
  letter-spacing: var(--ls-wide);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Badge "Ovalux" coin haut-gauche sur la tuile feature */
.gallery-tile--feature::before {
  content: "★ Ovalux";
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 3;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-uppercase);
  text-transform: uppercase;
  padding: 6px var(--space-3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--petrole-700);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}

.gallery-cta {
  margin-top: var(--space-12);
  text-align: center;
}
.gallery-cta__text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-tight);
  color: var(--fg-primary);
  margin-bottom: var(--space-5);
}
.gallery-cta__text em {
  font-style: italic;
  color: var(--fg-accent);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-tile,
  .gallery-tile img,
  .gallery-tile__caption,
  .gallery-tile::after { transition: none; }
  .gallery-tile img { animation: none !important; }
}

/* ==========================================================================
   UNDERSTAND (Section 3)
   ========================================================================== */

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .split-section { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
  .split-section.reverse > :first-child { order: 2; }
}

.image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 30% 80%, rgba(20, 53, 64, 0.45), transparent 70%),
    linear-gradient(160deg, var(--petrole-300) 0%, var(--petrole-600) 50%, var(--petrole-800) 100%);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  color: var(--ink-0);
}
.image-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}
.image-placeholder--light {
  background:
    radial-gradient(ellipse 80% 60% at 30% 30%, rgba(232, 163, 63, 0.25), transparent 60%),
    linear-gradient(160deg, var(--sand-100) 0%, var(--alu-200) 100%);
  color: var(--ink-900);
}
.image-placeholder--rain {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(20, 53, 64, 0.6), transparent 70%),
    linear-gradient(180deg, #5C6F77 0%, #2E4853 50%, #142128 100%);
}
.image-placeholder--rain::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(255,255,255,0.05) 100%),
    repeating-linear-gradient(8deg, transparent 0px, transparent 22px, rgba(255,255,255,0.06) 22px, rgba(255,255,255,0.06) 23px);
  pointer-events: none;
}
.image-placeholder--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Reset the gradient placeholder bg from .image-placeholder */
  background-color: var(--alu-200);
}
.image-placeholder--photo::before { display: none; }
.image-placeholder__caption {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
  line-height: 1.4;
  font-family: var(--font-body);
}
.image-placeholder--light .image-placeholder__caption { color: rgba(14, 19, 24, 0.55); }
.image-placeholder__corner {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-0);
  font-weight: var(--fw-medium);
}

/* ==========================================================================
   EDUCATE (Section 4) — comparatif polycarbonate
   ========================================================================== */

.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-10);
}
@media (min-width: 800px) {
  .compare { grid-template-columns: 1fr 1fr; }
}
.compare__card {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
.compare__card--ovalux {
  background: var(--petrole-700);
  color: var(--ink-0);
  border: none;
  box-shadow: var(--shadow-petrole);
  position: relative;
  overflow: hidden;
}
.compare__card--ovalux::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(232, 163, 63, 0.22), transparent 60%);
  pointer-events: none;
}
.compare__card > * { position: relative; }
.compare__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-uppercase);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-5);
}
.compare__card--ovalux .compare__title {
  background: var(--amber-400);
  color: var(--ink-900);
}
.compare__card:not(.compare__card--ovalux) .compare__title {
  background: var(--ink-100);
  color: var(--fg-secondary);
}
.compare__card h3 {
  font-size: 24px;
  font-weight: var(--fw-light);
  margin-bottom: var(--space-6);
  color: inherit;
}
.compare__list { list-style: none; margin: 0; padding: 0; }
.compare__list li {
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: 15px;
  line-height: 1.5;
}
.compare__card:not(.compare__card--ovalux) .compare__list li { border-bottom-color: var(--border-subtle); }
.compare__list li:last-child { border-bottom: none; }
.compare__list li small {
  display: block;
  font-size: var(--fs-small);
  color: var(--ink-500);
  margin-top: 2px;
}
.compare__card--ovalux .compare__list li small { color: var(--alu-200); }
.compare__mark {
  width: 22px; height: 22px; border-radius: var(--radius-full);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 12px; font-weight: bold;
  margin-top: 2px;
}
.compare__mark--yes { background: var(--vert-400); color: white; }
.compare__mark--no { background: var(--ink-200); color: var(--ink-500); }
.compare__card--ovalux .compare__mark--no { background: rgba(255,255,255,0.15); color: var(--alu-200); }

/* 3 atouts techniques cards */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-10);
}
@media (min-width: 880px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  color: var(--amber-500);
  margin-bottom: var(--space-3);
}
.feature-card h3 {
  font-size: 22px;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.feature-card p { color: var(--fg-secondary); font-size: 15px; line-height: 1.6; margin: 0; }
.feature-card strong { color: var(--ink-900); }

/* ==========================================================================
   COMMENT ÇA MARCHE (Section 5)
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
  counter-reset: step;
  list-style: none;
  padding: 0;
}
@media (min-width: 600px) and (max-width: 959px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
}
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
}
.step {
  position: relative;
  padding-top: var(--space-6);
}
.step::before {
  content: "";
  display: block;
  position: absolute;
  top: 28px;
  left: 56px;
  right: -8px;
  height: 1px;
  background: var(--border-default);
  z-index: 0;
}
@media (max-width: 959px) {
  .step::before { display: none; }
}
.step:last-child::before { display: none; }

.step__num {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  background: var(--ink-0);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--fw-medium);
  color: var(--petrole-600);
  margin-bottom: var(--space-4);
}
.step h3 {
  font-size: 18px;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
  color: var(--ink-900);
  font-family: var(--font-body);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.step p {
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding-right: var(--space-3);
}

/* ==========================================================================
   STIMULATE (Section 6) — before/after slider
   ========================================================================== */

.compare-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: var(--space-10);
  box-shadow: var(--shadow-xl);
  user-select: none;
  cursor: ew-resize;
  touch-action: none;
}
.compare-slider__before, .compare-slider__after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
  color: var(--ink-0);
}
/* Photo-backed before/after slider — replaces the placeholder gradients */
.compare-slider--photo .compare-slider__before,
.compare-slider--photo .compare-slider__after {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--petrole-700);
  padding: 0;
}
.compare-slider--photo .compare-slider__before::after,
.compare-slider--photo .compare-slider__after::after { display: none; }

.compare-slider__before {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(20, 53, 64, 0.6), transparent 70%),
    linear-gradient(180deg, #5C6F77 0%, #2E4853 50%, #142128 100%);
}
.compare-slider__before::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(8deg, transparent 0px, transparent 22px, rgba(255,255,255,0.06) 22px, rgba(255,255,255,0.06) 23px);
  pointer-events: none;
}
.compare-slider__after {
  clip-path: inset(0 0 0 50%);
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(232, 163, 63, 0.4), transparent 65%),
    linear-gradient(170deg, #C8854A 0%, #6E4510 50%, #1A2128 100%);
}
.compare-slider__after::after {
  /* "LED warm glow rectangles" */
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 70%, rgba(232, 163, 63, 0.5), transparent 12%),
    radial-gradient(circle at 50% 75%, rgba(232, 163, 63, 0.6), transparent 14%),
    radial-gradient(circle at 80% 72%, rgba(232, 163, 63, 0.5), transparent 12%);
  pointer-events: none;
}
.compare-slider__label {
  position: absolute;
  top: var(--space-5);
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.compare-slider__label--before { left: var(--space-5); }
.compare-slider__label--after { right: var(--space-5); }
.compare-slider__caption {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  max-width: 50%;
  line-height: 1.4;
}
.compare-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--ink-0);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}
.compare-slider__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: var(--ink-0);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
}
.compare-slider__handle::after {
  content: "←  →";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--petrole-700);
  letter-spacing: 0;
  white-space: nowrap;
}
.compare-slider__hint {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  z-index: 2;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.stimulate__detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-8);
}
@media (min-width: 700px) {
  .stimulate__detail-grid { grid-template-columns: repeat(3, 1fr); }
}
.detail-card {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.detail-card--polycarbonate {
  background: linear-gradient(160deg, rgba(232,163,63,0.4) 0%, rgba(20,53,64,0.7) 100%), var(--petrole-600);
}
.detail-card--led {
  background:
    radial-gradient(circle at 30% 80%, rgba(232,163,63,0.7), transparent 40%),
    radial-gradient(circle at 70% 75%, rgba(232,163,63,0.6), transparent 35%),
    var(--petrole-800);
}
.detail-card--screen {
  background: linear-gradient(180deg, var(--petrole-500) 0%, var(--petrole-800) 100%);
}
.detail-card--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--petrole-700);
}
.detail-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 26, 0) 40%, rgba(7, 21, 26, 0.85) 100%);
  pointer-events: none;
}
.detail-card--photo .detail-card__label { position: relative; z-index: 1; }
.detail-card__label {
  color: var(--ink-0);
  font-size: 13px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.stimulate__bodies {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-10);
  margin-bottom: var(--space-2);
}
@media (min-width: 800px) {
  .stimulate__bodies { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
}
.stimulate__body { color: var(--alu-200); font-size: 16px; line-height: 1.7; }
.stimulate__body strong {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-300);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   TESTIMONIALS (Section 7)
   ========================================================================== */

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-10);
}
@media (min-width: 800px) {
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}
.testimonial {
  background: var(--ink-0);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars {
  color: var(--amber-400);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: var(--space-4);
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: var(--fw-light);
  line-height: 1.5;
  color: var(--ink-800);
  margin: 0 0 var(--space-6);
  flex-grow: 1;
  letter-spacing: -0.01em;
}
.testimonial__quote::before { content: "« "; color: var(--amber-500); }
.testimonial__quote::after { content: " »"; color: var(--amber-500); }
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-5);
}
.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--petrole-100);
  color: var(--petrole-700);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial__author-name { font-size: 15px; font-weight: var(--fw-semibold); color: var(--ink-900); }
.testimonial__author-meta { font-size: 13px; color: var(--fg-muted); }
.testimonial__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-3);
  font-size: var(--fs-micro);
  color: var(--vert-400);
  font-weight: var(--fw-medium);
}

/* ==========================================================================
   FORM (Section 8) — multi-step
   ========================================================================== */

.form-section {
  background: var(--bg-subtle);
}
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--ink-0);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-progress {
  height: 6px;
  background: var(--ink-100);
  position: relative;
}
.form-progress__bar {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--amber-400), var(--amber-300));
  transition: width var(--duration-slow) var(--ease-out);
}
.form-progress__count {
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: var(--fw-semibold);
}
.form-back {
  position: absolute;
  top: var(--space-4);
  left: var(--space-5);
  background: none;
  border: none;
  padding: 6px 10px;
  font-size: var(--fs-small);
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.form-back:hover { color: var(--ink-900); background: var(--ink-100); }
.form-back[hidden] { display: none; }

.form-body {
  position: relative;
  padding: var(--space-12) var(--space-8) var(--space-8);
  min-height: 480px;
}
@media (max-width: 600px) {
  .form-body { padding: var(--space-12) var(--space-6) var(--space-6); min-height: 540px; }
}

.form-step {
  display: none;
  animation: slideIn 320ms var(--ease-out);
}
.form-step.active { display: block; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.form-step h3 {
  font-size: 26px;
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.form-step__help {
  font-size: var(--fs-small);
  color: var(--fg-muted);
  margin: 0 0 var(--space-6);
}
.tile-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.tile {
  appearance: none;
  background: var(--ink-0);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5);
  font-family: inherit;
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: var(--ink-900);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--duration-fast) var(--ease-out);
  min-height: 64px;
}
.tile:hover { border-color: var(--petrole-400); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.tile.selected, .tile:has(input:checked) {
  border-color: var(--amber-400);
  background: var(--amber-50);
  box-shadow: 0 0 0 3px rgba(232, 163, 63, 0.18);
}
.tile__emoji {
  font-size: 22px;
  flex-shrink: 0;
  width: 36px;
  display: grid; place-items: center;
}
.tile__check {
  margin-left: auto;
  width: 22px; height: 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-default);
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
}
.tile.selected .tile__check {
  background: var(--amber-400);
  border-color: var(--amber-400);
}
.tile.selected .tile__check::after { content: "✓"; font-size: 13px; font-weight: bold; color: var(--ink-900); }

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.form-field label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--fg-secondary);
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"] {
  appearance: none;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 16px;
  background: var(--ink-0);
  color: var(--ink-900);
  transition: border-color var(--duration-fast) var(--ease-out);
  min-height: 52px;
}
.form-field input:focus {
  outline: none;
  border-color: var(--amber-400);
  box-shadow: 0 0 0 3px rgba(232, 163, 63, 0.18);
}
.form-field input.invalid { border-color: var(--danger); }
.form-field .error-msg {
  font-size: 13px;
  color: var(--danger);
  min-height: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--ink-50);
  border-radius: var(--radius-md);
  margin: var(--space-4) 0;
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.5;
  cursor: pointer;
}
.form-checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--amber-400); flex-shrink: 0; }
.form-checkbox a { color: var(--petrole-600); text-decoration: underline; }

.form-step__actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.form-step__transition {
  font-size: 13px;
  color: var(--amber-600);
  font-style: italic;
  margin-top: var(--space-4);
  opacity: 0;
  transition: opacity var(--duration-slow);
}
.form-step.transitioning .form-step__transition { opacity: 1; }

/* Form intro / reassurance / final screens */
.form-intro__pictos {
  list-style: none;
  margin: var(--space-6) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--fs-small);
  color: var(--fg-secondary);
}
.form-intro__pictos li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.form-intro__pictos li::before {
  font-size: 18px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.form-intro__pictos li:nth-child(1)::before { content: "⏱"; }
.form-intro__pictos li:nth-child(2)::before { content: "✓"; color: var(--vert-400); }
.form-intro__pictos li:nth-child(3)::before { content: "🛡"; }

.form-reassurance__pictos {
  list-style: none;
  margin: var(--space-6) 0;
  padding: var(--space-5);
  background: var(--sand-50);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--fs-small);
}
.form-reassurance__pictos li { display: flex; align-items: center; gap: var(--space-3); }

.form-success {
  text-align: center;
}
.form-success__icon {
  width: 80px; height: 80px;
  margin: 0 auto var(--space-6);
  background: var(--vert-50);
  border-radius: var(--radius-full);
  color: var(--vert-400);
  display: grid; place-items: center;
  font-size: 36px;
}
.form-success__ref {
  display: inline-block;
  padding: var(--space-3) var(--space-5);
  background: var(--sand-50);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
  color: var(--petrole-700);
  margin: var(--space-4) 0;
}
.form-success__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-8);
  text-align: left;
}
.form-success__action {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  color: var(--fg-secondary);
  font-size: var(--fs-small);
  transition: background var(--duration-fast);
}
.form-success__action:hover { background: var(--sand-100); opacity: 1; }
.form-success__action span { flex-shrink: 0; font-size: 18px; }

.form-soft-redirect {
  background: var(--sand-50);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.6;
}
.form-soft-redirect strong { color: var(--ink-900); }

/* ==========================================================================
   FAQ (Section 9)
   ========================================================================== */

.faq {
  max-width: 800px;
  margin: var(--space-10) auto 0;
}
.faq__item {
  background: var(--ink-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow var(--duration-normal);
}
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__summary {
  list-style: none;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 17px;
  font-weight: var(--fw-semibold);
  color: var(--ink-900);
  font-family: var(--font-body);
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: var(--fw-light);
  color: var(--petrole-500);
  transition: transform var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
  line-height: 1;
}
.faq__item[open] .faq__summary::after {
  content: "−";
}
.faq__body {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.faq__body p:last-child { margin-bottom: 0; }
.faq__body strong { color: var(--ink-900); }

/* ==========================================================================
   FINAL CTA (Section 10)
   ========================================================================== */

.cta-final {
  position: relative;
  isolation: isolate;
  background: var(--bg-deep);
  color: var(--ink-0);
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -2;
  background-image: url('assets/pergola-cta-final.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-final::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    /* soft vignette + targeted darkening behind the centered copy column */
    radial-gradient(ellipse 55% 65% at 50% 50%, rgba(7, 21, 26, 0.72) 0%, rgba(7, 21, 26, 0.45) 55%, rgba(7, 21, 26, 0.30) 100%),
    linear-gradient(180deg, rgba(7, 21, 26, 0.25) 0%, rgba(7, 21, 26, 0.15) 50%, rgba(7, 21, 26, 0.45) 100%);
}
/* Backdrop for the text block — keeps copy crisp without darkening the whole image */
.cta-final__inner {
  position: relative;
}
.cta-final__inner::before {
  content: "";
  position: absolute;
  inset: -32px -48px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(7, 21, 26, 0.55) 0%, rgba(7, 21, 26, 0.30) 55%, transparent 80%);
  filter: blur(8px);
}
.cta-final__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: var(--fw-thin);
  letter-spacing: var(--ls-display);
  margin-bottom: var(--space-5);
  color: var(--ink-0);
}
.cta-final .eyebrow { color: var(--amber-300); }
.cta-final h2 em { color: var(--amber-300); }
.cta-final__sub {
  font-size: var(--fs-lead);
  color: var(--alu-200);
  margin-bottom: var(--space-8);
  line-height: var(--lh-relaxed);
}
.cta-final__phone {
  margin-top: var(--space-5);
  color: var(--alu-200);
  font-size: var(--fs-small);
}
.cta-final__phone a {
  color: var(--ink-0);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(232, 163, 63, 0.5);
}

/* ==========================================================================
   FOOTER (Section 11)
   ========================================================================== */

.site-footer {
  background: var(--ink-900);
  color: var(--alu-300);
  padding: var(--space-20) 0 var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--space-12); }
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-uppercase);
  text-transform: uppercase;
  color: var(--alu-100);
  margin-bottom: var(--space-5);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: var(--space-3); }
.footer-grid a {
  color: var(--alu-300);
  font-size: 14px;
  text-decoration: none;
}
.footer-grid a:hover { color: var(--ink-0); opacity: 1; }
.footer-brand .brand { color: var(--ink-0); margin-bottom: var(--space-4); }
.footer-brand .brand__type { color: var(--amber-300); }
.footer-baseline {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--fw-light);
  color: var(--ink-0);
  margin-bottom: var(--space-5);
  line-height: 1.3;
}
.footer-desc { font-size: 14px; line-height: 1.6; color: var(--alu-300); margin-bottom: var(--space-5); }
.footer-social {
  display: flex;
  gap: var(--space-3);
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
  color: var(--alu-200);
  transition: background var(--duration-fast);
}
.footer-social a:hover { background: rgba(255,255,255,0.08); color: var(--ink-0); }
.footer-social svg { width: 16px; height: 16px; }

.footer-trust {
  margin-top: var(--space-12);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  justify-content: center;
  font-size: 13px;
  color: var(--alu-300);
}
.footer-trust span { display: inline-flex; align-items: center; gap: var(--space-2); }

.footer-legal {
  margin-top: var(--space-6);
  font-size: 12px;
  color: var(--alu-400);
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
  text-align: center;
}
.footer-legal .dleads-credit {
  font-size: 12px;
  opacity: 0.85;
}
.footer-legal .dleads-credit a {
  color: var(--alu-300);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,0.2);
}

/* ==========================================================================
   TWEAKS PANEL
   ========================================================================== */

.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 280px;
  background: var(--ink-0);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xl);
  padding: var(--space-5);
  display: none;
  font-family: var(--font-body);
}
.tweaks.open { display: block; }
.tweaks__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}
.tweaks__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-medium);
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.01em;
}
.tweaks__close {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 18px;
  color: var(--fg-muted);
  cursor: pointer;
  line-height: 1;
  border-radius: var(--radius-sm);
}
.tweaks__close:hover { background: var(--ink-100); color: var(--ink-900); }

.tweaks__section { margin-bottom: var(--space-5); }
.tweaks__label {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-2);
}
.tweaks__swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.tweaks__swatch {
  appearance: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: var(--ink-50);
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--fg-secondary);
  font-family: inherit;
  font-weight: var(--fw-medium);
}
.tweaks__swatch.active { border-color: var(--ink-900); background: var(--ink-0); color: var(--ink-900); }
.tweaks__swatch-preview {
  width: 100%;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
}
.tweaks__swatch-preview span { flex: 1; }
.tweaks__segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
  background: var(--ink-100);
  border-radius: var(--radius-md);
}
.tweaks__segmented button {
  appearance: none;
  border: none;
  background: transparent;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: var(--fw-medium);
  color: var(--fg-secondary);
  border-radius: 6px;
  cursor: pointer;
}
.tweaks__segmented button.active { background: var(--ink-0); color: var(--ink-900); box-shadow: var(--shadow-xs); }

/* ==========================================================================
   UTIL & REDUCED MOTION
   ========================================================================== */

[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   MOBILE FIXES — overrides ciblés pour iPhone 15 et écrans étroits
   - Évite débordement du header CTA mobile
   - Permet le wrap propre des longs CTAs FR
   - Fait flow naturel du texte hero__phone + lien
   ========================================================================== */

/* Hero phone — texte + numéro flow naturellement (le inline-flex bloquait le wrap) */
@media (max-width: 600px) {
  .hero__phone {
    display: block;
  }
  .hero__phone a {
    display: inline-block;
    margin-top: 2px;
  }
}

/* Boutons longs ("Démarrer mon étude personnalisée…", "Profiter de ma terrasse…")
   — autorise le wrap propre sur mobile, ajuste padding et taille */
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    line-height: 1.25;
    text-align: center;
    max-width: 100%;
    padding: 10px var(--space-5);
  }
  .btn-lg {
    padding: 14px var(--space-5);
    font-size: 16px;
    min-height: 56px;
  }
  .btn .arrow {
    flex-shrink: 0;
  }
  /* Hero CTAs — full-width sur mobile pour cohérence visuelle */
  .hero__ctas {
    align-items: stretch;
  }
  .hero__ctas > .btn {
    width: 100%;
  }
}

/* Header — éviter overflow du CTA mobile sur iPhone 15 / SE / mini (≤420px) */
@media (max-width: 420px) {
  .site-header__inner {
    gap: var(--space-3);
  }
  .brand {
    font-size: 20px;
  }
  .header-cta-mobile {
    padding: 10px 14px;
    font-size: 12px;
    gap: 6px;
  }
}

/* ==========================================================================
   STICKY CTA MOBILE
   Affichée uniquement < 768px, masquée quand le formulaire est visible.
   ========================================================================== */
.sticky-cta {
  display: none;
}
@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
    gap: 10px;
    align-items: stretch;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-top: 1px solid var(--petrole-100);
    box-shadow: 0 -6px 18px rgba(11, 31, 38, 0.10);
    transform: translateY(0);
    opacity: 1;
    transition: transform .25s ease, opacity .25s ease;
  }
  /* Bouton Appeler (clic-to-call) — secondaire pétrole, largeur compacte */
  .sticky-cta__call {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-width: 74px;
    padding: 6px 14px;
    background: var(--petrole-600);
    color: var(--ink-0);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    line-height: 1.1;
    text-decoration: none;
    box-shadow: var(--shadow-petrole);
  }
  .sticky-cta__call:active { transform: scale(0.97); }
  .sticky-cta__icon {
    width: 18px;
    height: 18px;
  }
  /* Bouton principal — étude gratuite (amber), occupe l'espace restant */
  .sticky-cta__form.btn {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    padding: 14px 18px;
    font-size: 15px;
  }
  .sticky-cta.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  /* Réserve de la place en bas du body pour que la sticky ne masque pas le contenu */
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}
