/* Variables de thème (alignées avec les règles projet) */
:root {
  --primary: #f39c12;            /* Waitlist / projet */
  --text-primary: #2c3e50;       /* Waitlist / projet */

  --brand-navy: #113759;         /* charte.txt */
  --brand-gold: #fdd200;         /* charte.txt */
  --brand-orange: #e36100;       /* charte.txt */
  --brand-deep: #16223c;         /* charte.txt */

  --bg: #0e1426;
  --bg-2: #0b1120;
  --text: #e8eef8;
  --muted: #9fb0c7;
  --card: #0f1a33;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --container: 1200px;
}

/* Reset minimal et accessibilité */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(243,156,18,0.12), transparent 60%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x: hidden;
}

/* Animations de chargement */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  animation: fadeInScale 1.2s ease-out;
}

.loader-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  animation: pulse 2s ease-in-out infinite;
}

.loader-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.loader-progress {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin: 20px auto 0;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--brand-orange));
  border-radius: 3px;
  animation: loadingBar 2s ease-out;
}

/* Animations de base */
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes loadingBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* Animations au scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Parallax et mouvement */
.parallax {
  transition: transform 0.1s ease-out;
}

/* Counter animation */
.counter {
  transition: all 0.3s ease;
}

/* Micro-animations */
.animate-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animate-hover:hover {
  transform: translateY(-5px);
}

/* Page content initial state */
.page-content {
  opacity: 0;
  animation: pageReveal 1s ease-out 0.5s both;
}

@keyframes pageReveal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--brand-gold); color: #111; padding: 8px 12px; border-radius: 6px; z-index: 1000; }

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

/* Responsive container */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-3);
  }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /*background: rgba(15, 26, 51, 0.6);*/
  background: #ffffff;
background: linear-gradient(30deg, rgba(255, 255, 255, 0.7) 0%, rgba(235, 235, 235, 0.2) 100%);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;padding-right:10px; }
.brand-logo {}
.brand-name { font-weight: 700; letter-spacing: 0.3px; }
.nav ul { list-style: none; display: none; gap: 18px; margin: 0; padding: 0; }
.nav a { color: var(--text-primary); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--primary); }
.header-cta { display: none; }

@media (min-width: 768px) {
  .nav ul { display: flex; }
  .header-cta { display: block; }
}

/* Typo */
h1, h2, h3 { color: var(--text); margin: 0 0 var(--space-3); }
.display { font-size: clamp(32px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.5px; }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }
.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); line-height: 1.6; }
.small { color: var(--muted); font-size: 13px; }

/* Boutons */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
  border-radius: 999px; 
  padding: 12px 18px; 
  font-weight: 700; 
  text-decoration: none; 
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease; 
  cursor: pointer; 
  border: none;
  min-width: fit-content;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { 
  background: linear-gradient(92deg, var(--primary), var(--brand-orange)); 
  color: #111; 
  box-shadow: 0 10px 20px rgba(243,156,18,.25); 
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(243,156,18,.35); }
.btn-ghost { 
  background: transparent; 
  border: 1px solid var(--border); 
  color: var(--text); 
}
.btn-xl { 
  padding: 14px 22px; 
  font-size: 16px; 
}

/* Responsive pour boutons */
@media (max-width: 480px) {
  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  .btn-xl {
    padding: 12px 20px;
    font-size: 15px;
  }
  .hero-copy .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy .cta-row .btn {
    width: 100%;
  }
}

/* Accent crowdfunding pour CTA clés */
[data-crowd] { position: relative; }
[data-crowd]::after { content: "❤"; position: absolute; right: -12px; top: -10px; font-size: 14px; text-shadow: 0 6px 16px rgba(243,156,18,.35); }

/* Sections */
.section { 
  padding: var(--space-7) 0; 
  position: relative; 
  z-index: 1;
}

/* Responsive pour sections */
@media (max-width: 480px) {
  .section {
    padding: var(--space-6) 0;
  }
  .hero {
    padding-top: var(--space-6);
  }
}
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)); }
.section-balanced { background: radial-gradient(600px 300px at 10% 10%, rgba(17,55,89,0.25), transparent 60%),
                               radial-gradient(600px 300px at 90% 20%, rgba(253,210,0,0.12), transparent 60%);
}

/* Accessibility - Respecter prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .page-loader {
    display: none !important;
  }
  
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
.grid-2 { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--space-5); 
  width: 100%;
  position: relative;
  z-index: 1;
}
.grid-3 { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--space-5); 
  width: 100%;
}

/* Conteneur générique 16:9 pour médias */
.media-16x9 { position: relative; width: 100%; aspect-ratio: 16/9; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-6); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.reader-bloc { margin-top: var(--space-6); align-items: center; }
.reader-bloc .r-copy h3 { margin-bottom: 10px; }
.reader-bloc .r-figure { border: 1px solid var(--border); padding: 8px; border-radius: var(--radius); background: rgba(255,255,255,0.03); box-shadow: var(--shadow); }
.reader-bloc .r-figure .ratio-16x9 { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; }
.reader-bloc .r-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  /* inverser l’ordre: image à gauche, texte à droite pour varier le rythme */
  #lecteur .grid-2 { grid-template-columns: 1.1fr 0.9fr; }
  #lecteur .reader-bloc > .r-copy { order: 2; }
  #lecteur .reader-bloc > .r-figure { order: 1; }
}

.icon-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: 10px; }
.icon-list li { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 12px; color: var(--muted); }

.visual-card { 
  position: relative;
  overflow: hidden;
}
.visual-card .card-visual { 
  position: relative; 
  border-radius: var(--radius-lg); 
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); 
  border: 1px solid var(--border); 
  overflow: hidden; 
  box-shadow: var(--shadow); 
  z-index: 0;
}

/* Responsive pour parallax - désactiver sur mobile */
@media (max-width: 768px) {
  .parallax-card {
    transform: none !important;
  }
}
.card-glow { 
  position: absolute; 
  inset: -20%; 
  background: radial-gradient(300px 180px at 30% 20%, rgba(253,210,0,0.12), transparent 60%), radial-gradient(300px 180px at 70% 80%, rgba(243,156,18,0.18), transparent 60%); 
  filter: blur(20px); 
  animation: glow 8s ease-in-out infinite alternate; 
  z-index: -1;
}
.card-content { position: relative; padding: var(--space-5); }
@keyframes glow { from { transform: translateY(-8px); } to { transform: translateY(8px); } }

/* HERO */
.hero { 
  padding-top: var(--space-8); 
  overflow: clip; 
}
.hero-inner { 
  display: grid; 
  grid-template-columns: 1fr; 
  align-items: center; 
  gap: var(--space-6); 
}
.hero-copy { 
  width: 100%;
  max-width: 100%;
}
.hero-copy .cta-row { 
  margin-top: var(--space-4); 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
}
.hero-badges { 
  margin-top: var(--space-3); 
  display: flex; 
  gap: 8px; 
  flex-wrap: wrap; 
}
.badge { 
  background: rgba(255,255,255,0.06); 
  border: 1px solid var(--border); 
  padding: 8px 12px; 
  border-radius: 999px; 
  color: var(--muted); 
  font-weight: 700; 
  font-size: 12px; 
}

.hero-visual { 
  display: grid; 
  place-items: center; 
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.mock-reader { 
  width: min(560px, 100%); 
  max-width: 100%;
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 18px; 
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
  overflow: hidden; 
  transform: translateZ(0); 
  position: relative; 
}
.mock-toolbar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); }
.mock-toolbar .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(180deg, #fff, #bbb); opacity: .6; }
.mock-ambient { position: absolute; inset: 42px 0 0 0; background: radial-gradient(180px 80px at 20% 20%, rgba(253,210,0,0.10), transparent 60%), radial-gradient(180px 80px at 80% 40%, rgba(17,55,89,0.15), transparent 60%); filter: blur(10px); pointer-events: none; animation: ambient-fade 8s ease-in-out infinite alternate; }
@keyframes ambient-fade { from { opacity: .55; transform: translateY(-4px); } to { opacity: .9; transform: translateY(4px); } }

.mock-lines { padding: var(--space-4); display: grid; gap: 10px; position: relative; }
.mock-lines .line { height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.18)); transform-origin: left center; opacity: 0; transform: translateY(8px) scaleX(.96); }
.mock-lines .line.long { width: 92%; }
.mock-lines .line.a { width: 70%; }
.mock-lines .line.b { width: 82%; }
.mock-lines .line.c { width: 64%; }
.line.is-active { opacity: 1; transform: translateY(0) scaleX(1); transition: opacity .5s ease, transform .5s ease; }

/* Effets de ligne */
.line[data-fx="underline"].is-active { position: relative; }
.line[data-fx="underline"].is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand-gold), var(--primary)); transform: scaleX(0); transform-origin: left; animation: underline-in .6s .25s ease forwards; }
@keyframes underline-in { to { transform: scaleX(1); } }

.line[data-fx="wiggle"].is-active { animation: wiggle 1s ease; }
@keyframes wiggle { 0%,100% { transform: translateY(0) scaleX(1); } 25% { transform: translateY(-2px) scaleX(1.02); } 50% { transform: translateY(2px) scaleX(.98); } 75% { transform: translateY(-1px) scaleX(1.01); } }

.line[data-fx="flare"].is-active { position: relative; overflow: visible; }
.line[data-fx="flare"].is-active::before { content: ""; position: absolute; top: -6px; left: -10%; width: 24px; height: 24px; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.85), rgba(255,255,255,0)); filter: blur(2px); border-radius: 50%; transform: translateX(0); animation: flare-run 1s ease forwards; }
@keyframes flare-run { to { transform: translateX(130%); opacity: 0; } }
.mock-effects { 
  position: absolute; 
  right: 10px; 
  top: 60px; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

/* Responsive pour mock-effects */
@media (max-width: 768px) {
  .mock-effects {
    right: 8px;
    top: 50px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .mock-effects {
    right: 6px;
    top: 40px;
    gap: 6px;
  }
  .chip {
    width: 10px;
    height: 10px;
  }
}
.chip { width: 12px; height: 12px; border-radius: 3px; box-shadow: 0 6px 16px rgba(0,0,0,0.45); opacity: .85; animation: chip-pulse 2.8s ease-in-out infinite; }
.chip:nth-child(2) { animation-delay: .6s; }
.chip:nth-child(3) { animation-delay: 1.2s; }
@keyframes chip-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* Barre de progression */
.mock-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.06); overflow: hidden; }
.mock-progress .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: linear-gradient(90deg, var(--brand-gold), var(--primary)); box-shadow: 0 0 14px rgba(243,156,18,0.5); }
.chip.gold { background: var(--brand-gold); }
.chip.blue { background: var(--brand-navy); }
.chip.orange { background: var(--brand-orange); }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.2fr 0.8fr; }
}

/* Parallaxe HERO */
.parallax { 
  position: absolute; 
  inset: -10% -10% 0 -10%; 
  pointer-events: none; 
  overflow: hidden;
}
.p-layer { 
  position: absolute; 
  display: block; 
}
.p-layer.p1 { 
  top: 10%; 
  left: 5%; 
  width: 180px; 
  height: 180px; 
  background: radial-gradient(90px 90px at 50% 50%, rgba(17,55,89,0.4), transparent 70%); 
  filter: blur(6px); 
  border-radius: 50%; 
}
.p-layer.p2 { 
  bottom: 15%; 
  right: 15%; 
  width: 260px; 
  height: 260px; 
  background: radial-gradient(120px 120px at 50% 50%, rgba(253,210,0,0.25), transparent 70%); 
  filter: blur(10px); 
  border-radius: 50%; 
}
.p-layer.p3 { 
  top: 20%; 
  right: 30%; 
  width: 120px; 
  height: 120px; 
  background: radial-gradient(60px 60px at 50% 50%, rgba(227,97,0,0.35), transparent 70%); 
  filter: blur(8px); 
  border-radius: 50%; 
}
.p-layer.gradient { 
  inset: 0; 
  background: radial-gradient(1200px 600px at 80% -10%, rgba(243,156,18,0.10), transparent 60%); 
}

/* Responsive pour parallax */
@media (max-width: 768px) {
  .parallax {
    inset: -5% -5% 0 -5%;
  }
  .p-layer.p1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: -10%;
  }
  .p-layer.p2 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    right: -10%;
  }
  .p-layer.p3 {
    width: 80px;
    height: 80px;
    top: 25%;
    right: 10%;
  }
}

@media (max-width: 480px) {
  .parallax {
    inset: 0;
  }
  .p-layer.p1, .p-layer.p2, .p-layer.p3 {
    display: none;
  }
}

/* Features */
.features .feature { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow); }
.feature .feature-icon { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 8px; background: linear-gradient(135deg, rgba(253,210,0,0.35), rgba(243,156,18,0.35)); }

/* Lecteurs: nouvelle mise en page */
.section-readers { background: radial-gradient(700px 320px at 10% 15%, rgba(17,55,89,0.22), transparent 60%); }
.reader-wrap { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--space-6); 
  align-items: start; 
}
.reader-media { 
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.reader-media .media-16x9 { 
  position: relative; 
  width: 100%; 
  max-width: 100%;
  aspect-ratio: 16/9; 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  border: 1px solid var(--border); 
  box-shadow: var(--shadow); 
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.reader-media img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  filter: saturate(1.05) contrast(1.02); 
}
.reader-media .ph { 
  width: 100%; 
  height: 100%; 
  display: block; 
  background: repeating-linear-gradient( 45deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px ); 
}
.reader-media .overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.35)); 
}
.reader-media .media-caption { 
  position: absolute; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  padding: 8px 10px; 
  font-size: 12px; 
  color: #e8eef8; 
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.55)); 
}
.reader-copy { 
  width: 100%;
  max-width: 100%;
}
.reader-copy h2 { margin-top: 0; }
.benefits-list { 
  list-style: none; 
  padding: 0; 
  margin: var(--space-4) 0; 
  display: grid; 
  gap: 8px; 
  color: var(--muted); 
}
.benefits-list li { 
  display: grid; 
  grid-template-columns: 22px 1fr; 
  align-items: start; 
  gap: 10px; 
}
.mini-testimonial { 
  margin: var(--space-4) 0; 
  padding-left: 14px; 
  border-left: 3px solid rgba(255,255,255,0.2); 
  color: var(--muted); 
}

/* Responsive pour mobile */
@media (max-width: 480px) {
  .reader-wrap {
    gap: var(--space-4);
  }
  .reader-media {
    margin-bottom: var(--space-4);
  }
  .reader-media .media-16x9 {
    border-radius: var(--radius);
  }
}

@media (min-width: 768px) {
  .reader-wrap { 
    align-items: center; 
  }
}

@media (min-width: 900px) {
  .reader-wrap { 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: var(--space-7); 
  }
}

/* Teaser vidéo */
.section-teaser { background: radial-gradient(600px 260px at 80% 10%, rgba(243,156,18,0.12), transparent 60%); }
.section-teaser h2 { text-align: center; }
.teaser-wrap { 
  max-width: 900px; 
  margin: 0 auto; 
  width: 100%;
  overflow: hidden;
}
.teaser-stage { position: relative; }
.teaser-decor { 
  pointer-events: none; 
  position: absolute; 
  top: 0; 
  height: 100%; 
  overflow: hidden;
}
.teaser-decor.left { 
  display: none; 
  left: -120px; 
}
.teaser-decor.right { 
  display: none; 
  right: -120px; 
}
.teaser-decor .decor { 
  position: absolute; 
  left: var(--x, 0); 
  top: var(--y); 
  width: var(--s); 
  height: var(--s); 
  opacity: .75; 
  animation: floatY 6s ease-in-out infinite; 
  animation-delay: var(--d); 
  color: var(--brand-gold); 
  filter: drop-shadow(0 4px 12px rgba(253,210,0,0.25)); 
}
.teaser-decor .decor.near { 
  opacity: .9; 
  transform: scale(1.1); 
  z-index: 2; 
}
@keyframes floatY { 
  0%,100% { transform: translateY(-6px); } 
  50% { transform: translateY(6px); } 
}

/* Responsive pour teaser decor */
@media (min-width: 1200px) {
  .teaser-decor.left, .teaser-decor.right { 
    display: block; 
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .teaser-decor.left { 
    left: -80px; 
  }
  .teaser-decor.right { 
    right: -80px; 
  }
  .teaser-decor.left, .teaser-decor.right { 
    display: block; 
  }
  .teaser-decor .decor {
    transform: scale(0.8);
  }
}

/* Section Éditeur Showcase */
.section-editor-showcase { background: linear-gradient(135deg, rgba(17,55,89,0.05) 0%, rgba(253,210,0,0.03) 100%); }

.editor-intro { text-align: center; margin-bottom: 4rem; }
.editor-lead { font-size: 1.1rem; color: var(--text-muted); margin: 1.5rem auto 3rem; max-width: 600px; }

.editor-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.feature-card { text-align: center; padding: 2rem 1.5rem; background: transparent; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card .feature-icon { width: 60px; height: 60px; margin: 0 auto 1.5rem; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(243,156,18,0.25); }
.feature-card .feature-icon svg { width: 28px; height: 28px; color: white; }
.feature-card h3 { margin-bottom: 1rem; color: white; font-size: 1.1rem; }
.feature-card p { color: var(--text); margin: 0; }

.editor-screenshots { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 1.5rem; 
  margin-bottom: 4rem; 
  justify-items: center;
  align-items: center;
}
.editor-screenshots .media-16x9 { 
  position: relative; 
  width: 100%; 
  max-width: 100%;
  aspect-ratio: 16/9; 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  border: 1px solid var(--border); 
  box-shadow: var(--shadow); 
  background: rgba(0,0,0,0.4); 
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-screenshots .media-16x9:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.editor-screenshots .ph { 
  width: 100%; 
  height: 100%; 
  display: block; 
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px ); 
}
.editor-screenshots .overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.35)); 
}
.editor-screenshots .media-caption { 
  position: absolute; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  padding: 8px 10px; 
  font-size: 12px; 
  color: #e8eef8; 
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.55)); 
}



/* Responsive pour tablettes */
@media (min-width: 768px) {
  .editor-screenshots { 
    grid-template-columns: repeat(2, 1fr); 
    justify-items: center;
  }
}

@media (min-width: 1024px) {
  .editor-screenshots { 
    grid-template-columns: repeat(3, 1fr); 
    justify-items: center;
  }
}

@media (max-width: 768px) {
  .editor-features-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
    margin-bottom: 3rem; 
  }
  .feature-card { 
    padding: 1.5rem 1rem; 
  }
  .feature-card .feature-icon { 
    width: 56px; 
    height: 56px; 
  }
  .feature-card .feature-icon svg { 
    width: 24px; 
    height: 24px; 
  }
  .editor-screenshots { 
    grid-template-columns: 1fr; 
    gap: 1rem; 
    justify-items: center;
  }
  .editor-screenshots .media-16x9 {
    border-radius: var(--radius);
  }
}

/* Section Premium */
.premium-intro { text-align: center; margin-bottom: 4rem; }
.premium-intro h2 { margin-bottom: 1.5rem; }
.premium-intro .lead { max-width: 700px; margin: 0 auto; }

/* Styles pour iframe YouTube */
.teaser-wrap .media-16x9 {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.teaser-wrap .media-16x9 iframe {
  border-radius: var(--radius-lg);
}
.media-16x9 iframe, .media-16x9 video { width: 100%; height: 100%; border: 0; display: block; }

/* Auteurs: nouvelle mise en page */
.section-authors { background: radial-gradient(700px 320px at 90% 10%, rgba(253,210,0,0.12), transparent 60%); }
.authors-wrap { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: var(--space-6); 
  align-items: start; 
}
.authors-copy { 
  width: 100%;
  max-width: 100%;
}
.authors-copy .benefits-list { 
  list-style: none; 
  padding: 0; 
  margin: var(--space-4) 0; 
  display: grid; 
  gap: 8px; 
  color: var(--muted); 
}
.authors-copy .benefits-list li { 
  display: grid; 
  grid-template-columns: 22px 1fr; 
  align-items: start; 
  gap: 10px; 
}
.pill-cards { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 12px; 
  margin: var(--space-4) 0; 
}
.pill { 
  display: grid; 
  grid-template-columns: 26px 1fr; 
  align-items: center; 
  gap: 12px; 
  background: rgba(255,255,255,0.04); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 12px 14px; 
}
.pill-ic { 
  width: 26px; 
  height: 26px; 
  border-radius: 6px; 
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)); 
  border: 1px solid var(--border); 
  display: inline-block; 
  position: relative; 
}
.pill-ic::after { 
  content: ""; 
  position: absolute; 
  inset: 6px; 
  border-radius: 4px; 
}
.pill-title { font-weight: 800; }
.pill-text { color: var(--muted); font-size: 13px; }
.authors-media { 
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.authors-media .media-16x9 { 
  position: relative; 
  width: 100%; 
  max-width: 100%;
  aspect-ratio: 16/9; 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  border: 1px solid var(--border); 
  box-shadow: var(--shadow); 
  background: rgba(0,0,0,0.4); 
}
.authors-media .ph { 
  width: 100%; 
  height: 100%; 
  display: block; 
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px ); 
}
.authors-media .overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.35)); 
}
.authors-media .media-caption { 
  position: absolute; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  padding: 8px 10px; 
  font-size: 12px; 
  color: #e8eef8; 
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.55)); 
}

/* Responsive pour mobile */
@media (max-width: 480px) {
  .authors-wrap {
    gap: var(--space-4);
  }
  .authors-media .media-16x9 {
    border-radius: var(--radius);
  }
}

@media (min-width: 768px) {
  .authors-wrap { 
    align-items: center; 
  }
}

@media (min-width: 900px) {
  .authors-wrap { 
    grid-template-columns: 1.0fr 1.0fr; 
    gap: var(--space-7); 
  }
  .pill-cards { 
    grid-template-columns: repeat(3, 1fr); 
  }
}
/* Showcase */
.showcase { 
  position: relative; 
  height: 320px; 
  border-radius: var(--radius-lg); 
  overflow: hidden; 
  border: 1px solid var(--border); 
  background: linear-gradient(180deg, rgba(17,55,89,0.25), rgba(22,34,60,0.35)); 
}
.bg-wave { 
  position: absolute; 
  inset: -20% -10% -10% -10%; 
  background: radial-gradient(1000px 420px at 0% 10%, rgba(253,210,0,0.18), transparent 60%), radial-gradient(900px 420px at 120% 50%, rgba(243,156,18,0.18), transparent 60%); 
  filter: blur(18px); 
  animation: drift 18s ease-in-out infinite alternate; 
}
@keyframes drift { 
  from { transform: translate3d(-10px,-6px,0) scale(1.02); } 
  to { transform: translate3d(10px,6px,0) scale(1.04); } 
}
.dots { 
  position: absolute; 
  inset: 0; 
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); 
  background-size: 18px 18px; 
  mix-blend-mode: screen; 
  opacity: .35; 
}
.floating-card { 
  position: absolute; 
  right: 18px; 
  bottom: 18px; 
  background: rgba(255,255,255,0.06); 
  border: 1px solid var(--border); 
  padding: 16px 18px; 
  border-radius: 12px; 
  box-shadow: var(--shadow); 
}

/* Responsive pour showcase */
@media (max-width: 768px) {
  .showcase {
    height: 240px;
  }
  .floating-card {
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    font-size: 14px;
  }
  .bg-wave {
    inset: -15% -5% -5% -5%;
  }
}

@media (max-width: 480px) {
  .showcase {
    height: 200px;
  }
  .floating-card {
    right: 8px;
    bottom: 8px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .bg-wave {
    inset: -10% 0 0 0;
  }
}

/* Premium plans */
.cols { 
  gap: var(--space-5); 
}
.plan { 
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); 
  border: 1px solid var(--border); 
  border-radius: var(--radius-lg); 
  padding: var(--space-5); 
  position: relative; 
  box-shadow: var(--shadow); 
  width: 100%;
}
.plan-highlight { 
  outline: 2px solid rgba(253,210,0,0.45); 
}
.plan h3 { 
  margin-bottom: var(--space-3); 
}
.plan ul { 
  margin: 0 0 var(--space-4); 
  padding-left: 18px; 
  color: var(--muted); 
}
.plan .crown { 
  position: absolute; 
  top: -16px; 
  right: 18px; 
  width: 28px; 
  height: 28px; 
  background: conic-gradient(from 0deg, var(--brand-gold), var(--primary), var(--brand-orange)); 
  border-radius: 6px; 
  box-shadow: 0 8px 20px rgba(253,210,0,0.35); 
}

/* Responsive pour couronne */
@media (max-width: 768px) {
  .plan .crown {
    width: 24px;
    height: 24px;
    top: -12px;
    right: 14px;
  }
}

@media (max-width: 480px) {
  .plan .crown {
    width: 20px;
    height: 20px;
    top: -10px;
    right: 12px;
  }
}

/* Responsive pour plans premium */
@media (max-width: 480px) {
  .plan {
    padding: var(--space-4);
  }
  .cols {
    gap: var(--space-4);
  }
}

/* Témoignages */
.testimonials blockquote { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4); color: var(--muted); box-shadow: var(--shadow); }
.testimonials cite { display: block; margin-top: 8px; color: var(--text); font-style: normal; }

/* FAQ */
.faq details { 
  background: rgba(255,255,255,0.03); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 14px 16px; 
  margin-top: 10px; 
  transition: border-color 0.3s ease; 
}
.faq details[open] { 
  border-color: var(--primary); 
}
.faq summary { 
  cursor: pointer; 
  font-weight: 700; 
  transition: color 0.3s ease; 
}
.faq summary:hover { 
  color: var(--primary); 
}
.faq details[open] summary { 
  color: var(--primary); 
}
.faq details p { 
  white-space: pre-line; 
  line-height: 1.6; 
  margin-top: 12px; 
}

/* Responsive pour FAQ */
@media (max-width: 480px) {
  .faq details {
    padding: 12px 14px;
  }
}

/* CTA */
.section-cta { text-align: center; background: radial-gradient(600px 300px at 80% 10%, rgba(243,156,18,0.12), transparent 60%); }
.newsletter { display: grid; grid-template-columns: 1fr; gap: 10px; justify-content: center; max-width: 520px; margin: 18px auto 0; }
.newsletter input { background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text); padding: 12px 14px; border-radius: 999px; outline: none; }
.newsletter input::placeholder { color: #9bb; }
.newsletter-feedback { margin-top: 1rem; text-align: center; }
.feedback-message { padding: 12px 20px; border-radius: 8px; margin: 0; font-weight: 500; }
.feedback-message.success { background: linear-gradient(135deg, #d4edda, #c3e6cb); color: #155724; border: 1px solid #c3e6cb; }
.feedback-message.error { background: linear-gradient(135deg, #f8d7da, #f1aeb5); color: #721c24; border: 1px solid #f1aeb5; }


.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Image affichée */
.popup-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Bouton de fermeture */
.popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

.teaser-wrap > .teaser-box > :not(img) {pointer-events:none;}



@media (min-width: 480px) {
  .newsletter { grid-template-columns: 1fr auto; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: var(--space-5) 0; background: rgba(255,255,255,0.02); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; }
.f-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.site-footer nav, .f-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr auto auto; }
}

/* Icônes 2D minimalistes */
.ic { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)); border: 1px solid var(--border); display: inline-block; position: relative; }
.ic::after { content: ""; position: absolute; inset: 6px; border-radius: 4px; }
.ic-audio::after { background: linear-gradient(180deg, var(--brand-gold), var(--primary)); }
.ic-tone::after { background: linear-gradient(180deg, var(--brand-orange), var(--primary)); }
.ic-text::after { background: linear-gradient(180deg, var(--brand-navy), var(--brand-deep)); }
.ic-bg::after { background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05)); }
.ic-read::after { background: radial-gradient(circle at 60% 40%, var(--brand-gold), transparent 60%), radial-gradient(circle at 40% 70%, var(--primary), transparent 60%); }
.ic-access::after { background: conic-gradient(from 90deg, var(--brand-navy), var(--brand-gold), var(--brand-orange)); }
.ic-rec::after { background: radial-gradient(circle at 50% 50%, var(--brand-orange), transparent 55%), linear-gradient(180deg, var(--brand-deep), transparent); }
.ic-builder::after { background: linear-gradient(90deg, var(--brand-gold), var(--primary)); }
.ic-publish::after { background: linear-gradient(90deg, var(--brand-navy), var(--brand-gold)); }
.ic-analytics::after { background: linear-gradient(90deg, var(--brand-orange), var(--primary)); }
.ic-timeline::after { background: linear-gradient(90deg, var(--brand-gold), transparent), linear-gradient(90deg, transparent 30%, var(--brand-orange) 30% 60%, transparent 60%), linear-gradient(90deg, transparent 60%, var(--primary) 60% 100%); }
.ic-cursor::after { background: radial-gradient(circle at 50% 50%, var(--brand-gold), transparent 50%); }
.ic-sync::after { background: conic-gradient(from 0deg, var(--primary), var(--brand-orange), var(--brand-gold)); }
.ic-tick::after { background: linear-gradient(135deg, #4ade80, #22c55e); }
.ic-crown::after { background: conic-gradient(from 0deg, var(--brand-gold), var(--primary), var(--brand-orange)); }

/* Entrées en vue */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-inview { opacity: 1; transform: translateY(0); }

/* Logo flottant */
.floating-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: auto;
  height: auto;
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  transform: translateY(120px);
  transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)) 
          drop-shadow(0 8px 25px rgba(243,156,18,0.15))
          drop-shadow(0 0 20px rgba(255,255,255,0.6))
          drop-shadow(0 0 40px rgba(255,255,255,0.3));
}

.floating-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}

.floating-logo.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-logo.nudge {
  transform: translateY(-15px);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.25)) 
          drop-shadow(0 12px 35px rgba(243,156,18,0.25))
          drop-shadow(0 0 25px rgba(255,255,255,0.8))
          drop-shadow(0 0 50px rgba(255,255,255,0.4));
  animation: gentleBounce 0.8s ease-out;
}

@keyframes gentleBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(-15px); }
}

.floating-logo.hide-on-scroll {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.6s ease-in;
}

.floating-logo:hover {
  transform: translateY(-12px) scale(1.08);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3)) 
          drop-shadow(0 16px 45px rgba(243,156,18,0.3))
          drop-shadow(0 0 30px rgba(255,255,255,0.9))
          drop-shadow(0 0 60px rgba(255,255,255,0.5));
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 768px) {
  .floating-logo img {
    width: 80px;
    height: 80px;
  }
  
  .floating-logo {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 480px) {
  .floating-logo img {
    width: 70px;
    height: 70px;
  }
  
  .floating-logo {
    bottom: 12px;
    right: 12px;
  }
  
  .floating-logo:hover {
    transform: translateY(-8px) scale(1.05);
  }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  
  .floating-logo {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }
  
  .floating-logo.show {
    transform: none !important;
  }
  
  .floating-logo.nudge {
    transform: none !important;
  }
  
  .floating-logo.hide-on-scroll {
    transform: none !important;
  }
  
  .floating-logo:hover {
    transform: none !important;
  }
}


.socials {width:250px;max-width:100%;text-align:center;}
.socials a {display:inline-block;margin:5px 5px 0;}