/* ================================================================
   OSIRIS 360 — ERP AGRICOLE
   Direction : Light Mode Premium — Ivoire chaud, or, sombre éditorial
   Typographie : Fraunces (display) + DM Sans (body) + Oxanium (brand)
   ================================================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Brand */
  --brand: #D4AF37;
  --brand-rgb: 212, 175, 55;
  --brand-dim: rgba(212, 175, 55, 0.12);
  --brand-medium: rgba(212, 175, 55, 0.3);
  --brand-deep: #A8860C;

  /* Surfaces claires (mode principal) */
  --bg:       #F0EDE4;   /* crème chaude — fond principal */
  --bg-alt:   #FDFCF8;   /* blanc chaud — sections alternées */
  --bg-white: #FFFFFF;   /* blanc pur — cartes */
  --border:   rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.14);
  --glass:    rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.88);

  /* Texte sur fond clair */
  --text:       #18160D;  /* quasi-noir chaud */
  --text-2:     #5A5850;  /* gris chaud medium */
  --text-3:     #98958D;  /* gris chaud atténué */

  /* Sections sombres (hero, pilliers, marquee, footer) */
  --dark:   #0d0d0a;
  --dark-2: #131310;
  --dark-3: #1a1a16;
  --dark-4: #222220;
  --dark-5: #2c2c28;

  /* Texte sur fond sombre */
  --text-on-dark:    #EFEDE8;
  --text-muted-dark: rgba(239, 237, 232, 0.5);
  --text-dim-dark:   rgba(239, 237, 232, 0.28);

  /* Compatibilité */
  --light:          #F9FAFB;
  --light-2:        #F0EFEB;
  --light-3:        #E4E2DC;
  --text-on-light:  #18160D;
  --text-muted-light: #6B6960;

  /* Typographie */
  --font-display: 'Fraunces', serif;
  --font-body:    'DM Sans', sans-serif;
  --font-brand:   'Oxanium', sans-serif;

  /* Espacement */
  --section-pad:    clamp(80px, 10vw, 140px);
  --container-width: min(1440px, 100%);
  --container-pad:  clamp(20px, 4vw, 80px);

  /* Courbes */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast: 0.2s;
  --dur-med:  0.45s;
  --dur-slow: 0.8s;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* === PAGE LOADER === */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-brand { display: flex; align-items: center; gap: 14px; }
.loader-brand img { height: 44px; }

.loader-brand-text {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.loader-brand-text .accent { color: var(--brand); }

.loader-bar {
  width: 180px;
  height: 1px;
  background: rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: loaderSweep 1.2s var(--ease-out) forwards;
}

@keyframes loaderSweep { from { left: -100%; } to { left: 100%; } }

.loader-count {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: background-color 0.45s var(--ease-out),
              padding 0.45s var(--ease-out),
              border-color 0.45s,
              box-shadow 0.45s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(240, 237, 228, 0.75);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  padding-top: 16px;
  padding-bottom: 16px;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.5);
}

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 48px; width: auto; }

.nav-logo-text {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.06em;
}

.nav-logo-text .accent { color: var(--brand); }

/* Nav sur hero sombre (pas encore scrollé) */
.nav:not(.scrolled) .logo-dark              { display: none; }
.nav:not(.scrolled) .logo-white             { display: block; }
.nav:not(.scrolled) .nav-logo-text          { color: var(--text-on-dark); }
.nav:not(.scrolled) .nav-links a            { color: rgba(239,237,232,0.72); }
.nav:not(.scrolled) .nav-links a:hover      { color: var(--text-on-dark); }
.nav:not(.scrolled) .nav-mobile-toggle span { background: var(--text-on-dark); }

/* Nav scrollé (fond ivoire clair — texte toujours sombre) */
.nav.scrolled .logo-white              { display: none; }
.nav.scrolled .logo-dark               { display: block; }
.nav.scrolled .nav-logo-text           { color: var(--text) !important; }
.nav.scrolled .nav-links a             { color: var(--text-2) !important; }
.nav.scrolled .nav-links a:hover       { color: var(--text) !important; }
.nav.scrolled .nav-mobile-toggle span  { background: var(--text); }

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-2);
  transition: color var(--dur-med);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--brand);
  transition: width var(--dur-med) var(--ease-out);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-cta-ghost {
  padding: 10px 20px;
  border: 1.5px solid rgba(0,0,0,0.15);
  color: var(--text-2);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
  display: inline-block;
}

.nav-cta-ghost:hover {
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-1px);
}

/* Sur hero sombre */
.nav:not(.scrolled) .nav-cta-ghost {
  border-color: rgba(239,237,232,0.3);
  color: rgba(239,237,232,0.7);
}
.nav:not(.scrolled) .nav-cta-ghost:hover {
  border-color: rgba(239,237,232,0.75);
  color: var(--text-on-dark);
}

/* Sur hero clair */
.light-hero .nav:not(.scrolled) .nav-cta-ghost {
  border-color: rgba(24,22,13,0.15);
  color: var(--text-2);
}
.light-hero .nav:not(.scrolled) .nav-cta-ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--text);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  display: inline-block;
}

.nav-cta:hover {
  background: var(--dark-3);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5.5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}

.nav-mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === MOBILE FULLSCREEN NAV — reste sombre (overlay classique) === */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 998;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--container-pad) 60px;
  transform: translateX(101%);
  transition: transform 0.6s var(--ease-out);
  overflow-y: auto;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 60px; }

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  transition: color 0.2s;
  display: block;
}

.mobile-nav-links a:hover { color: var(--brand); }

.mobile-nav-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-footer p { font-size: 13px; color: var(--text-muted-dark); }

.mobile-nav-cta {
  padding: 12px 28px;
  background: var(--brand);
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  border-radius: 100px;
  display: inline-block;
  cursor: pointer;
}

/* === HERO — CINÉMATIQUE SOMBRE === */
/* Le hero reste sombre : contraste maximal, effet "entrée de scène" premium */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 0 var(--container-pad) clamp(64px, 8vh, 100px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
  background:
    radial-gradient(ellipse 70% 50% at 65% 35%, rgba(212, 175, 55, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 15% 75%, rgba(20, 35, 15, 0.8) 0%, transparent 55%),
    linear-gradient(168deg, #0d0d0a 0%, #0a0a08 45%, #0d0d0a 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: -20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 30%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.12), transparent);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 60%;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.85) 100%);
}

.hero-decorative-year {
  position: absolute;
  right: var(--container-pad);
  top: 50%;
  transform: translateY(-55%);
  font-family: var(--font-display);
  font-size: clamp(130px, 18vw, 260px);
  font-weight: 900;
  color: rgba(212, 175, 55, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  letter-spacing: -0.05em;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUpIn 0.9s var(--ease-out) 0.5s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--brand);
  flex-shrink: 0;
}

.eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(54px, 9vw, 136px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.03em;
  margin-bottom: 44px;
  max-width: 14ch;
  color: var(--text-on-dark);
}

.hero-headline .line { display: block; overflow: hidden; }

.hero-headline .line-inner {
  display: block;
  transform: translateY(105%);
  animation: slideUpIn 1.1s var(--ease-out) forwards;
}

.hero-headline .line:nth-child(1) .line-inner { animation-delay: 0.1s; }
.hero-headline .line:nth-child(2) .line-inner { animation-delay: 0.22s; }
.hero-headline .line:nth-child(3) .line-inner { animation-delay: 0.34s; }

.hero-headline .accent-italic { color: var(--brand); font-style: italic; }

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted-dark);
  max-width: 480px;
  opacity: 0;
  animation: fadeUpIn 0.9s var(--ease-out) 0.7s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeUpIn 0.9s var(--ease-out) 0.85s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: clamp(32px, 5vh, 56px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: fadeUpIn 0.9s var(--ease-out) 1.2s forwards;
}

.hero-scroll span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--brand) 0%, transparent 100%);
  animation: scrollBounce 2.2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}

/* === BOUTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: var(--brand);
  color: var(--dark);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #e4c040;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-on-dark);
  font-weight: 500;
  font-size: 14.5px;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-arrow { transition: transform 0.2s; }
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }

/* Boutons sur fond clair */
.btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--text);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary-light:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 1.5px solid var(--border-strong);
  color: var(--text-2);
  font-weight: 500;
  font-size: 14px;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-ghost-light:hover {
  border-color: var(--text);
  color: var(--text);
}

/* === MARQUEE — BANDE CLAIRE ÉDITORIALE === */
.marquee-section {
  padding: 0;
  background-color: var(--bg-alt);
  background-image:
    radial-gradient(ellipse 55% 60% at 15% 50%, rgba(212,175,55,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 85% 50%, rgba(212,175,55,0.05) 0%, transparent 55%);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-label-bar {
  text-align: center;
  padding: 24px var(--container-pad) 18px;
}

.marquee-label-bar span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}

.marquee-wrapper { overflow: hidden; padding-bottom: 26px; }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRun 32s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 0 36px;
  white-space: nowrap;
}

.marquee-item-logo {
  height: 34px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1) brightness(0.55);
  transition: opacity 0.2s, filter 0.2s;
}

.marquee-item-logo:hover { opacity: 0.9; filter: grayscale(0) brightness(1); }

.marquee-item-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.marquee-dot {
  width: 4px; height: 4px;
  background: var(--brand);
  border-radius: 50%;
  opacity: 0.5;
  flex-shrink: 0;
}

@keyframes marqueeRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* === STATS === */
.stats-section {
  padding: var(--section-pad) var(--container-pad);
  background-color: var(--bg-alt);
  background-image: radial-gradient(ellipse 65% 50% at 85% 15%, rgba(212,175,55,0.1) 0%, transparent 55%),
                    radial-gradient(ellipse 45% 55% at 10% 85%, rgba(212,175,55,0.06) 0%, transparent 50%);
  color: var(--text);
}

.stats-inner { max-width: var(--container-width); margin: 0 auto; }

.stats-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}

.stats-header-left .eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stats-header-left h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stats-header-left h2 em { font-style: italic; color: var(--brand-deep); }

.stats-header-right p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 400px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-item {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.95);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.stat-item:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.95);
  transform: translateY(-3px);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.stat-item:hover::before { opacity: 1; }

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 900;
  color: var(--brand-deep);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.01em;
  line-height: 1.45;
}

/* === PILLARS === */
.pillars-section {
  padding: var(--section-pad) var(--container-pad);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 55% 60% at 10% 70%, rgba(212,175,55,0.1) 0%, transparent 55%),
                    radial-gradient(ellipse 45% 45% at 90% 20%, rgba(212,175,55,0.07) 0%, transparent 50%);
}

.pillars-inner { max-width: var(--container-width); margin: 0 auto; }

.pillars-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.pillars-header-left .eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pillars-header-left h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.025em;
  max-width: 12ch;
  color: var(--text);
}

.pillars-header-left h2 em { font-style: italic; color: var(--brand-deep); }

.pillars-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.pillars-header-right p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 360px;
  text-align: right;
}

.link-underline {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s, opacity 0.2s;
}

.link-underline:hover { border-color: var(--brand); opacity: 0.8; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-item {
  padding: 52px 44px;
  border-radius: 24px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.95);
  position: relative;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  overflow: hidden;
}

.pillar-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.pillar-item:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.09), inset 0 1px 0 rgba(255,255,255,0.95);
  transform: translateY(-5px);
}
.pillar-item:hover::after { opacity: 1; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.12em;
  margin-bottom: 44px;
  display: block;
}

.pillar-icon {
  width: 52px; height: 52px;
  color: var(--brand);
  margin-bottom: 32px;
  transition: transform 0.3s var(--ease-out);
}

.pillar-item:hover .pillar-icon { transform: scale(1.08); }

.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.pillar-desc {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 40px;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  transition: gap 0.25s var(--ease-out);
}

.pillar-link:hover { gap: 16px; }

/* === TÉMOIGNAGES === */
.testimonials-section {
  padding: var(--section-pad) var(--container-pad);
  background-color: var(--bg-alt);
  background-image: radial-gradient(ellipse 60% 50% at 75% 25%, rgba(212,175,55,0.09) 0%, transparent 55%),
                    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(212,175,55,0.06) 0%, transparent 50%);
}

.testimonials-inner { max-width: var(--container-width); margin: 0 auto; }

.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
  gap: 32px;
  flex-wrap: wrap;
}

.testimonials-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.testimonials-header h2 em { font-style: italic; color: var(--brand-deep); }

.testimonial-count {
  font-size: 13px;
  color: var(--text-2);
  border: 1px solid var(--border-strong);
  padding: 6px 16px;
  border-radius: 100px;
}

.testimonial-featured {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 80px;
  align-items: start;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 0.6;
  color: rgba(168, 134, 12, 0.12);
  font-weight: 900;
  display: block;
  margin-bottom: 20px;
  user-select: none;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.42;
  letter-spacing: -0.01em;
  margin-bottom: 44px;
  color: var(--text);
}

.testimonial-author { display: flex; align-items: center; gap: 18px; }

.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-deep);
  flex-shrink: 0;
}

.testimonial-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text);
}

.testimonial-meta span { font-size: 13px; color: var(--text-2); }

.testimonial-right { display: flex; flex-direction: column; gap: 24px; }

.testimonial-card {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.95);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(168,134,12,0.18);
  box-shadow: 0 16px 48px rgba(0,0,0,0.09), inset 0 1px 0 rgba(255,255,255,0.95);
  transform: translateY(-3px);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.testimonial-card:hover::before { opacity: 1; }

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 18px; }

.testimonial-stars svg {
  width: 16px; height: 16px;
  fill: var(--brand);
  color: var(--brand);
}

.testimonial-card-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-card-author strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text);
}

.testimonial-card-author span { font-size: 12px; color: var(--text-2); }

.testimonial-result { text-align: right; }

.testimonial-result strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}

.testimonial-result span { font-size: 11px; color: var(--text-3); }

/* === POURQUOI NOUS === */
.why-section {
  padding: var(--section-pad) var(--container-pad);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 65% 55% at 95% 50%, rgba(212,175,55,0.1) 0%, transparent 55%),
                    radial-gradient(ellipse 40% 40% at 5% 20%, rgba(212,175,55,0.07) 0%, transparent 50%);
  color: var(--text);
}

.why-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.why-text .eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: var(--text);
}

.why-text h2 em { font-style: italic; color: var(--brand-deep); }

.why-text > p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 52px;
}

.why-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 52px; }

.why-item { display: flex; align-items: flex-start; gap: 16px; }

.why-item-dot {
  width: 22px; height: 22px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item-dot svg { width: 11px; height: 11px; color: var(--dark); stroke-width: 3; }

.why-item-content strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.why-item-content span { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

.why-cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* Alias pour compatibilité templates */
.btn-primary-dark  { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; background: var(--text); color: var(--bg-white); font-weight: 700; font-size: 14px; border-radius: 100px; transition: background 0.2s, transform 0.2s; }
.btn-primary-dark:hover { background: var(--dark-3); transform: translateY(-2px); }
.btn-ghost-dark { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; border: 1.5px solid var(--border-strong); color: var(--text-2); font-weight: 500; font-size: 14px; border-radius: 100px; transition: border-color 0.2s, color 0.2s; }
.btn-ghost-dark:hover { border-color: var(--text); color: var(--text); }

/* Why — visuel */
.why-visual { position: relative; }

.why-card-main {
  background: var(--dark);
  border-radius: 24px;
  padding: 56px 52px;
  position: relative;
  overflow: hidden;
  color: var(--text-on-dark);
}

.why-card-main::before {
  content: '';
  position: absolute;
  top: -60%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,0.13) 0%, transparent 65%);
  pointer-events: none;
}

.why-big-number {
  font-family: var(--font-display);
  font-size: clamp(80px, 11vw, 148px);
  font-weight: 900;
  color: var(--brand);
  line-height: 0.9;
  letter-spacing: -0.05em;
  display: block;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.why-big-label {
  font-size: 16px;
  font-weight: 300;
  color: rgba(239, 237, 232, 0.65);
  line-height: 1.55;
  max-width: 240px;
  position: relative;
  z-index: 1;
}

.why-card-tag {
  position: absolute;
  bottom: 32px; right: 32px;
  background: var(--brand);
  color: var(--dark);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 9px 20px;
  border-radius: 100px;
  text-transform: uppercase;
  text-transform: uppercase;
}

.why-card-secondary {
  margin-top: 20px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.95);
}

.why-card-secondary p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 200px;
}

.why-rgpd { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.why-rgpd-icon {
  width: 38px; height: 38px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-rgpd-icon svg { width: 18px; height: 18px; color: var(--brand-deep); }
.why-rgpd strong { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; }

/* === CTA STRIP — OR BRAND === */
.cta-strip {
  padding: var(--section-pad) var(--container-pad);
  background: var(--brand);
  color: var(--dark);
}

.cta-strip-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: var(--dark);
}

.cta-strip h2 em { font-style: italic; opacity: 0.72; }

.cta-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--dark);
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 15px;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-strip-btn:hover { background: var(--dark-3); transform: translateY(-2px); }

/* === FOOTER — SOMBRE === */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px var(--container-pad) 60px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand-col p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin: 20px 0 32px;
  max-width: 280px;
}

.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 34px; }

.footer-logo-text {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--text-on-dark);
}

.footer-logo-text .accent { color: var(--brand); }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-dark);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover { border-color: var(--brand); color: var(--brand); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 22px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 13px; }

.footer-col ul a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(239,237,232,0.65);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px var(--container-pad);
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p { font-size: 12.5px; color: var(--text-muted-dark); }

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a {
  font-size: 12.5px;
  color: var(--text-muted-dark);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--brand); }

/* === COOKIE BANNER — FOND CLAIR === */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 480px;
  background: rgba(240, 237, 228, 0.85);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 28px;
  z-index: 900;
  transform: translateY(calc(100% + 40px));
  transition: transform 0.55s var(--ease-out);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.9);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.cookie-banner p a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }

.cookie-actions { display: flex; gap: 10px; }

.cookie-accept {
  padding: 9px 22px;
  background: var(--text);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 13px;
  border-radius: 100px;
  transition: background 0.2s;
  cursor: pointer;
}

.cookie-accept:hover { background: var(--dark-3); }

.cookie-decline {
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  font-size: 13px;
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.cookie-decline:hover { border-color: var(--text); color: var(--text); }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.28s; }
.reveal-d4 { transition-delay: 0.38s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* === KEYFRAMES === */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpIn { to { transform: translateY(0); } }

/* ================================================================
   PAGE DÉMO
   ================================================================ */
.demo-hero {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(140px, 18vh, 200px) var(--container-pad) clamp(80px, 10vh, 120px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.demo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(212,175,55,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.demo-content { position: relative; z-index: 1; max-width: var(--container-width); margin: 0 auto; width: 100%; }

/* ================================================================
   SECTION MODULES VIDÉO — Demo page
   ================================================================ */
.feature-demos-section {
  padding: var(--section-pad) var(--container-pad);
  background-color: var(--bg-alt);
  background-image:
    radial-gradient(ellipse 65% 50% at 85% 10%, rgba(212,175,55,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 45% 60% at 8% 90%, rgba(212,175,55,0.06) 0%, transparent 50%);
}

.feature-demos-inner { max-width: var(--container-width); margin: 0 auto; }

.feature-demos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 88px;
  flex-wrap: wrap;
}

.feature-demos-header .eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.feature-demos-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 62px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--text);
}

.feature-demos-header h2 em { font-style: italic; color: var(--brand-deep); }

.feature-demos-header > p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 380px;
}

/* Blocs */
.demo-blocks { display: flex; flex-direction: column; }

.demo-block {
  display: grid;
  grid-template-columns: 56% 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.demo-block:last-child { border-bottom: none; padding-bottom: 0; }

.demo-block.reverse { grid-template-columns: 1fr 56%; }

/* Lecteur vidéo */
.demo-player-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-4) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 24px 64px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  outline: none;
}

.demo-player-wrap:hover,
.demo-player-wrap:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.28), 0 0 0 1px rgba(212,175,55,0.18);
}

.demo-player-wrap:focus-visible {
  box-shadow: 0 0 0 3px var(--brand), 0 24px 64px rgba(0,0,0,0.2);
}

.demo-player-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d0d0a 0%, #191910 60%, #0d0d0a 100%);
}

/* Bruit de texture subtil sur le player */
.demo-player-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.demo-play-btn {
  width: 66px;
  height: 66px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.demo-play-btn svg {
  width: 22px;
  height: 22px;
  color: var(--dark);
  margin-left: 3px;
}

.demo-player-wrap:hover .demo-play-btn {
  transform: scale(1.14);
  box-shadow: 0 16px 48px rgba(212,175,55,0.5);
}

/* Halo pulsé derrière le bouton play */
.demo-play-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(212,175,55,0.2);
  animation: playPulse 2.4s ease-in-out infinite;
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.25); opacity: 0; }
}

/* Badge durée */
.demo-duration-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10,10,8,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(239,237,232,0.85);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 2;
}

.demo-duration-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
  animation: playPulse 2s ease-in-out infinite;
}

/* Numéro en filigrane */
.demo-player-number {
  position: absolute;
  bottom: 12px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 900;
  color: rgba(212,175,55,0.07);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
  z-index: 1;
}

/* Côté texte */
.demo-block-text { display: flex; flex-direction: column; }

.demo-module-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--brand-dim);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 24px;
  width: fit-content;
}

.demo-block-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.demo-block-title em { font-style: italic; color: var(--brand-deep); }

.demo-block-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--text-2);
  margin-bottom: 32px;
}

.demo-block-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}

.demo-feat-dot {
  width: 20px;
  height: 20px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.demo-feat-dot svg {
  width: 10px;
  height: 10px;
  color: var(--dark);
  stroke-width: 3;
}

.demo-feat-item strong { color: var(--text); font-weight: 600; }

/* Responsive */
@media (max-width: 1024px) {
  .demo-block,
  .demo-block.reverse {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 60px 0;
  }

  .feature-demos-header { flex-direction: column; align-items: flex-start; margin-bottom: 60px; }
  .feature-demos-header > p { max-width: 100%; }
}

@media (max-width: 768px) {
  .demo-block { padding: 48px 0; gap: 32px; }
}

/* Vidéo native HTML5 */
.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  z-index: 0;
  display: block;
}

.demo-player-thumb { z-index: 2; }

/* === ÉTAT LECTURE (JS ajoute .playing) === */
.demo-player-wrap.playing .demo-player-thumb {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.demo-player-wrap.playing .demo-duration-badge { opacity: 0; }

/* Video */
.video-section {
  padding: var(--section-pad) var(--container-pad);
  background-color: var(--bg-alt);
  background-image: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(212,175,55,0.08) 0%, transparent 60%);
}

.video-section-inner { max-width: var(--container-width); margin: 0 auto; }

.video-player {
  position: relative;
  background: var(--dark-3);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
  cursor: pointer;
}

.video-thumbnail {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f1409 0%, #1a2010 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 80px; height: 80px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: pointer;
}

.video-play-btn svg { width: 28px; height: 28px; color: var(--dark); margin-left: 4px; }

.video-player:hover .video-play-btn {
  transform: scale(1.1);
  box-shadow: 0 20px 48px rgba(212,175,55,0.4);
}

.video-caption { font-size: 13px; color: var(--text-3); text-align: center; }

/* Screenshots */
.screenshots-section {
  padding: var(--section-pad) var(--container-pad);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 55% 50% at 20% 30%, rgba(212,175,55,0.09) 0%, transparent 55%),
                    radial-gradient(ellipse 45% 45% at 85% 75%, rgba(212,175,55,0.07) 0%, transparent 50%);
}

.screenshots-inner { max-width: var(--container-width); margin: 0 auto; }

.screenshots-header { text-align: center; margin-bottom: 64px; }

.screenshots-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 16px;
  color: var(--text);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.screenshot-item {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.95);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.screenshot-item:hover {
  border-color: rgba(168,134,12,0.18);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.09), inset 0 1px 0 rgba(255,255,255,0.95);
}

.screenshot-item:first-child { grid-column: span 2; }

.screenshot-img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.screenshot-item:first-child .screenshot-img { height: 280px; }

.screenshot-caption { padding: 20px 24px; }
.screenshot-caption strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.screenshot-caption span { font-size: 12.5px; color: var(--text-2); }

/* Features strip */
.features-strip {
  padding: var(--section-pad) var(--container-pad);
  background: var(--bg-alt);
}

.features-strip-inner { max-width: var(--container-width); margin: 0 auto; }

.features-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 600px;
  color: var(--text);
}

.features-strip h2 em { font-style: italic; color: var(--brand); }

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: transparent;
}

.feature-row {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 36px 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.95);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  margin-top: 4px;
}

.feature-row-content strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-row-content p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.6;
}

/* ================================================================
   PAGE RDV
   ================================================================ */
.rdv-hero {
  min-height: 60svh;
  display: flex;
  align-items: center;
  padding: clamp(140px, 18vh, 200px) var(--container-pad) clamp(60px, 8vh, 100px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.rdv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 90% 50%, rgba(212,175,55,0.08) 0%, transparent 60%);
}

.rdv-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rdv-text .eyebrow-text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.rdv-text .eyebrow-text::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--brand);
}

.rdv-text h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--text);
}

.rdv-text h1 em { color: var(--brand); font-style: italic; }

.rdv-text p { font-size: 16px; font-weight: 300; color: var(--text-2); line-height: 1.7; }

.rdv-trust { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }

.rdv-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}

.rdv-trust-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}

.rdv-visual {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.95);
  position: relative;
  overflow: hidden;
}

.rdv-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.4;
}

.rdv-team-intro { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }

.rdv-team-avatar {
  width: 52px; height: 52px;
  background: rgba(212,175,55,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  border: 1px solid rgba(212,175,55,0.2);
  flex-shrink: 0;
}

.rdv-team-info strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.rdv-team-info span { font-size: 13px; color: var(--text-2); }

.rdv-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 10px 16px;
  background: rgba(212,175,55,0.08);
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.15);
}

.rdv-status-dot {
  width: 8px; height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
}

.rdv-availability p { font-size: 13px; color: var(--text-2); }
.rdv-availability strong { color: var(--text); }

/* Formulaire RDV */
.rdv-form-section {
  padding: var(--section-pad) var(--container-pad);
  background-color: var(--bg-alt);
  background-image: radial-gradient(ellipse 65% 50% at 80% 20%, rgba(212,175,55,0.09) 0%, transparent 55%),
                    radial-gradient(ellipse 45% 55% at 10% 85%, rgba(212,175,55,0.06) 0%, transparent 50%);
}

.rdv-form-inner { max-width: 800px; margin: 0 auto; }

.rdv-form-header { text-align: center; margin-bottom: 56px; }

.rdv-form-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 16px;
  margin-bottom: 16px;
  color: var(--text);
}

.rdv-form-header p { font-size: 15px; font-weight: 300; color: var(--text-2); line-height: 1.65; }

.elegant-form {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 52px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.95);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: span 2; }

.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.form-group select option { background: var(--bg-white); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  gap: 20px;
  flex-wrap: wrap;
}

.form-disclaimer { font-size: 12px; color: var(--text-3); line-height: 1.5; max-width: 280px; }

.form-status { display: none; padding: 14px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-top: 20px; }
.form-status.success { display: block; background: rgba(76,175,80,0.08); border: 1px solid rgba(76,175,80,0.3); color: #2e7d32; }
.form-status.error   { display: block; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3); color: #c62828; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  .testimonial-featured { grid-template-columns: 1fr; gap: 48px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 48px; }
  .screenshots-grid { grid-template-columns: 1fr 1fr; }
  .screenshots-grid .screenshot-item:first-child { grid-column: span 2; }
}

@media (max-width: 1024px) {
  .stats-header { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillar-item { border-right: none; }
  .why-inner { grid-template-columns: 1fr; gap: 64px; }

  /* Tag en position statique sur mobile pour éviter le chevauchement */
  .why-card-tag {
    position: static;
    display: inline-block;
    margin-top: 24px;
  }

  .why-card-main {
    padding: 40px 36px;
  }
  .rdv-content { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta, .nav-cta-ghost { display: none !important; }
  .nav-mobile-toggle { display: flex; }
  .hero-decorative-year { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .pillars-header { flex-direction: column; align-items: flex-start; }
  .testimonials-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .features-list { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .screenshots-grid .screenshot-item:first-child { grid-column: span 1; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
}

@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .elegant-form { padding: 32px 24px; }
  .cookie-actions { flex-direction: column; }
}

/* ================================================================
   HERO LIGHT MODE — index.html (.light-hero body class)
   demo.html et rdv.html conservent leurs héros sombres
   ================================================================ */

/* Héro clair — ambiance chaude pour que le verre de la nav soit visible */
.light-hero .hero-bg {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 70% at 92% 8%, rgba(212,175,55,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 4% 92%, rgba(212,175,55,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(212,175,55,0.04) 0%, transparent 60%);
}

.light-hero .hero-bg::after  { opacity: 0; }

.light-hero .hero-bg::before {
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.18), transparent);
}

/* Chiffre décoratif — sombre, très atténué */
.light-hero .hero-decorative-year { color: rgba(24, 22, 13, 0.05); }

/* Textes du hero */
.light-hero .hero-headline { color: var(--text); }
.light-hero .hero-sub      { color: var(--text-2); }

/* Indicateur de scroll */
.light-hero .hero-scroll span { color: var(--text-3); }
.light-hero .scroll-line { background: linear-gradient(to bottom, var(--brand-deep) 0%, transparent 100%); }

/* Bouton secondaire sur fond clair */
.light-hero .btn-secondary {
  border: 1.5px solid rgba(24,22,13,0.18);
  color: var(--text-2);
  background: transparent;
}
.light-hero .btn-secondary:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ── Navigation sur héro clair ── */
/* Logo : afficher la version sombre, cacher la version blanche */
.light-hero .nav:not(.scrolled) .logo-white              { display: none; }
.light-hero .nav:not(.scrolled) .logo-dark               { display: block; }
.light-hero .nav:not(.scrolled) .nav-logo-text           { color: var(--text) !important; }
.light-hero .nav:not(.scrolled) .nav-links a             { color: var(--text-2) !important; }
.light-hero .nav:not(.scrolled) .nav-links a:hover       { color: var(--text) !important; }
.light-hero .nav:not(.scrolled) .nav-mobile-toggle span  { background: var(--text); }

/* CTA bouton nav — or sur héro clair, sombre une fois scrollé */
.light-hero .nav:not(.scrolled) .nav-cta {
  background: var(--brand);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}
.light-hero .nav:not(.scrolled) .nav-cta:hover {
  background: var(--brand-deep);
  color: var(--bg-white);
}

/* === SECTION PRESSE === */
.press-section {
  padding: var(--section-pad) var(--container-pad);
  background-color: var(--bg);
}

.press-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.press-header {
  text-align: center;
  margin-bottom: 56px;
}

.press-header .eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.press-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.press-header h2 em {
  font-style: italic;
  color: var(--brand-deep);
}

.press-card {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.95);
  position: relative;
  overflow: hidden;
}

.press-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  border-radius: 24px 24px 0 0;
}

.press-logo {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.press-logo img:first-child {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Logo AAP — 2.5× + séparateur */
.press-logo img + img {
  height: 120px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: 28px;
  padding-left: 28px;
  border-left: 1px solid var(--border-strong);
}

@media (max-width: 600px) {
  .press-card { padding: 36px 24px; }

  .press-logo {
    flex-direction: column;
    gap: 0;
  }
  .press-logo img:first-child { height: 36px; }
  .press-logo img + img {
    height: 72px;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-strong);
    width: auto;
  }
}

.press-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.press-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 36px;
}

.press-btn {
  border-color: var(--border-strong);
  color: var(--text);
  background-color: var(--bg-white);
}

.press-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ================================================================
   PREMIUM FX — Aurora · Glassmorphism élite · Liquid interactions
   ================================================================ */

/* === CURSOR GLOW (suit la souris, fondu sur fond sombre) === */
.cursor-glow {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.09) 0%, transparent 62%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: left, top;
  mix-blend-mode: multiply;
  transition: opacity 0.4s;
}

/* Sur les sections sombres, on passe en screen pour que ça brille */
.hero .cursor-glow,
.why-section .why-card-main ~ .cursor-glow {
  mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(212,175,55,0.13) 0%, transparent 62%);
}

/* === AURORA ORBS — hero background === */
.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
  pointer-events: none;
}

.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,175,55,0.16) 0%, transparent 70%);
  top: -15%; right: 5%;
  animation: orbFloat1 18s ease-in-out infinite;
}

.orb-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(168,134,12,0.12) 0%, transparent 70%);
  bottom: 5%; left: -5%;
  animation: orbFloat2 24s ease-in-out infinite;
}

.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  top: 40%; left: 35%;
  animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  30%  { transform: translate(-40px, 60px) scale(1.06); opacity: 0.9; }
  60%  { transform: translate(30px, -30px) scale(0.96); opacity: 0.55; }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  40%  { transform: translate(50px, -50px) scale(1.08); opacity: 0.85; }
  70%  { transform: translate(-25px, 30px) scale(0.94); opacity: 0.5; }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  35%  { transform: translate(35px, 50px) scale(1.1); opacity: 0.75; }
  65%  { transform: translate(-40px, -20px) scale(0.92); opacity: 0.45; }
}

/* === CARD SPOTLIGHT (mouse-tracking via CSS vars) === */
.pillar-item,
.stat-item,
.testimonial-card,
.press-card,
.why-card-secondary {
  --cx: -9999px;
  --cy: -9999px;
}

/* Spotlight via gradient background overlay */
.pillar-item {
  background:
    radial-gradient(circle 260px at var(--cx) var(--cy), rgba(255,255,255,0.18) 0%, transparent 100%),
    var(--glass);
}

.stat-item {
  background:
    radial-gradient(circle 220px at var(--cx) var(--cy), rgba(255,255,255,0.16) 0%, transparent 100%),
    var(--glass);
}

.testimonial-card {
  background:
    radial-gradient(circle 240px at var(--cx) var(--cy), rgba(255,255,255,0.16) 0%, transparent 100%),
    var(--glass);
}

.press-card {
  background:
    radial-gradient(circle 350px at var(--cx) var(--cy), rgba(255,255,255,0.14) 0%, transparent 100%),
    var(--glass);
}

.why-card-secondary {
  background:
    radial-gradient(circle 220px at var(--cx) var(--cy), rgba(255,255,255,0.16) 0%, transparent 100%),
    var(--glass);
}

/* === ANIMATED SHIMMER BORDER sur eyebrow badge === */
.hero-eyebrow {
  position: relative;
}

@keyframes shimmerBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === MAGNETIC BUTTON — état de repos inchangé, JS gère le transform === */
.btn-primary,
.nav-cta,
.cta-strip-btn {
  transform-style: flat;
  will-change: transform;
}

/* === 3D TILT CARD (JS injecte la perspective) === */
.tilt-card {
  transition: transform 0.12s ease, box-shadow 0.35s var(--ease-out) !important;
}

.tilt-card:not(:hover) {
  transition: transform 0.6s var(--ease-out), box-shadow 0.35s var(--ease-out) !important;
}

/* === GLARE LAYER dans les cartes (injecté par JS) === */
.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.04) 45%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
  mix-blend-mode: overlay;
}

.tilt-card:hover .card-glare { opacity: 1; }

/* Assurer que le contenu passe au-dessus du glare */
.pillar-item > *:not(.card-glare),
.stat-item > *:not(.card-glare),
.testimonial-card > *:not(.card-glare) {
  position: relative;
  z-index: 1;
}

/* === HERO EYEBROW — glow pulsé === */
@keyframes eyebrowGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
  50%       { box-shadow: 0 0 28px 4px rgba(212,175,55,0.18); }
}

/* === LIQUID GLASS — renfort sur la nav === */
.nav.scrolled {
  background: rgba(240, 237, 228, 0.6);
  backdrop-filter: blur(40px) saturate(2) brightness(1.04);
  -webkit-backdrop-filter: blur(40px) saturate(2) brightness(1.04);
  border-color: rgba(255,255,255,0.7);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 4px 32px rgba(0,0,0,0.07),
    0 1px 4px rgba(0,0,0,0.04);
}

/* === WHY DARK CARDS — shimmer animate au survol === */
.why-card-main {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.why-card-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,175,55,0.15);
}

.why-card-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(212,175,55,0.06) 50%,
    transparent 70%
  );
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  border-radius: inherit;
}

.why-card-main:hover::after { opacity: 1; }

/* === GRAIN NOISE OVERLAY (texture premium) === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: grainShift 0.8s steps(1) infinite;
}

@keyframes grainShift {
  0%   { background-position: 0 0; }
  10%  { background-position: -5% -10%; }
  20%  { background-position: -15% 5%; }
  30%  { background-position: 7% -25%; }
  40%  { background-position: -5% 25%; }
  50%  { background-position: -15% 10%; }
  60%  { background-position: 15% 0%; }
  70%  { background-position: 0% 15%; }
  80%  { background-position: 3% 35%; }
  90%  { background-position: -10% 10%; }
  100% { background-position: 0 0; }
}

/* === STAT ITEMS — ligne or top visible by default, subtile === */
.stat-item::before { opacity: 0.3; }

/* === SCROLL INDICATOR — ligne pulsée si présente === */
.scroll-line { animation: scrollPulse 2.4s ease-in-out infinite; }

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.8; }
  50%       { transform: scaleY(0.55) translateY(8px); opacity: 0.3; }
}

/* reduce-motion : désactiver les orbes et grain */
@media (prefers-reduced-motion: reduce) {
  .orb, body::before { animation: none; }
  .tilt-card { transform: none !important; }
}
