/* ===========================================
   AIDE IA — Landing Page
   HTML5 + CSS3 pur — Google SEO friendly
   =========================================== */

/* Variables */
:root {
  --color-primary: #0ea5e9;
  --color-primary-dark: #0284c7;
  --color-secondary: #6366f1;
  --color-accent-green: #22c55e;
  --color-accent-green-dark: #16a34a;
  --color-accent-orange: #f59e0b;
  --color-accent-orange-dark: #d97706;
  --color-accent-purple: #a855f7;
  --color-text: #1e293b;
  --color-text-light: #475569;
  --color-text-muted: #64748b;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1140px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.25s ease;
}

/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* Container */
.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 48px);
}
.container-narrow { max-width: 800px; margin: 0 auto; }

/* ===========================================
   HEADER
   =========================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  height: auto;
  padding: 8px 0;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 75px;
  width: auto;
  flex-shrink: 0;
}
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: var(--transition);
  white-space: nowrap;
}
.nav a:hover { color: var(--color-primary); }
.nav-cta {
  background: linear-gradient(90deg, var(--color-accent-green), var(--color-accent-green-dark));
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-weight: 600 !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Dropdown menu */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: default; font-size: 0.85rem; font-weight: 500; color: var(--color-text-light); white-space: nowrap; padding: 4px 0; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  white-space: nowrap;
  border-radius: 0;
  border-bottom: none;
}
.nav-dropdown-menu a:hover { background: var(--color-bg-alt); color: var(--color-primary); }

/* Menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  position: fixed;
  top: 90px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.nav-mobile[hidden] {
  display: none !important;
}
.nav-mobile a {
  padding: 10px 0;
  font-weight: 500;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
}
.nav-mobile .nav-cta { text-align: center; margin-top: 8px; }

/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative;
  padding: 120px 0 50px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}
.hero-badge-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  overflow: hidden;
  z-index: 2000;
}
.hero-badge {
  position: absolute;
  top: 40px;
  left: -70px;
  width: 260px;
  background: #dc2626;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}
.hero-line {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--color-text);
}
.hero-line strong {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-accent {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  margin-top: 8px;
  color: var(--color-text-light);
}
.hero-accent em {
  color: var(--color-accent-green);
  font-style: normal;
  font-weight: 700;
}
.hero-desc {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
/* Hero visual cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  align-items: center;
  justify-content: center;
}

/* Animations hero — reveal au scroll via JS */
.animate-slide-right,
.animate-slide-left {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.animate-slide-right.is-visible,
.animate-slide-left.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-slide-right.is-visible { transition-delay: 0.2s; }
.animate-slide-left.is-visible  { transition-delay: 0.4s; }
.hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
  min-width: 220px;
  max-width: 280px;
  width: 100%;
}
.hero-card-green {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: var(--color-accent-green-dark);
  align-self: flex-start;
  animation-delay: 0s;
}
.hero-card-purple {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #7c3aed;
  align-self: center;
  animation-delay: 0.5s;
}
.hero-card-orange {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
  align-self: center;
  animation-delay: 1s;
}
.hero-card-icon { font-size: 1.3rem; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===========================================
   BOUTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(90deg, var(--color-accent-green), var(--color-accent-green-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34,197,94,0.45);
}
.btn-secondary {
  background: #fff;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* ===========================================
   SECTIONS
   =========================================== */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-cta { background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}
.section-header h2 strong {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ===========================================
   CARDS
   =========================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===========================================
   PARCOURS / STORY
   =========================================== */
.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.story-content p {
  margin-bottom: 16px;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.75;
}
.story-lead {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: var(--color-text) !important;
}
.story-quote {
  margin-top: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #ede9fe, #e0e7ff);
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #4338ca;
}
.story-quote p { margin: 0; color: inherit; font-size: 1.05rem; }

/* Timeline */
.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 8px;
}
.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 24px;
  bottom: -20px;
  width: 2px;
  background: var(--color-border);
}
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  margin-top: 3px;
}
.timeline-text { display: flex; flex-direction: column; gap: 2px; }
.timeline-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.timeline-text span {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ===========================================
   OFFRES
   =========================================== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}
.offer {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 2px solid transparent;
  transition: var(--transition);
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offer-green { border-color: rgba(34,197,94,0.15); }
.offer-green:hover { border-color: var(--color-accent-green); }
.offer-purple { border-color: rgba(168,85,247,0.15); }
.offer-purple:hover { border-color: var(--color-accent-purple); }
.offer-orange { border-color: rgba(245,158,11,0.15); }
.offer-orange:hover { border-color: var(--color-accent-orange); }

/* ===== NiPoGi E3B carte expand ===== */
.offer-nipogi { border-color: rgba(67,97,238,0.2); }
.offer-nipogi:hover { border-color: var(--color-primary); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.offer-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}
.offer-price {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.offer-expand {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .6s cubic-bezier(.4,0,.2,1), opacity .4s ease, margin .4s ease;
}
.offer-nipogi:hover .offer-expand {
  max-height: 500px;
  opacity: 1;
  margin-top: 16px;
}
.offer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.offer-icon { font-size: 2rem; }
.offer h3 { font-size: 1.2rem; font-weight: 700; }
.offer > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.offer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}
.offer-list li::before {
  content: '✓';
  color: var(--color-accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===========================================
   CTA / INSCRIPTION
   =========================================== */
.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.cta-content > p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.65;
}

/* Formulaire */
.subscribe-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}
.form-group input[type="text"],
.form-group input[type="email"] {
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  background: var(--color-bg-alt);
  transition: var(--transition);
}
.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
/* Groupe multi-choix intérêts */
.form-check-group {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: var(--color-bg-alt);
}
.form-check-group legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0 6px;
  margin-bottom: 4px;
}
.form-check-group .form-check {
  margin-bottom: 8px;
}
.form-check-group .form-check:last-child {
  margin-bottom: 0;
}

.form-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent-green);
  cursor: pointer;
}
.form-check label {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-error {
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 500;
  min-height: 18px;
}
.btn-loader { font-size: 0.9rem; }

/* Success / Error messages */
.form-success {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, #dcfce7, #f0fdf4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34,197,94,0.2);
}
.success-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.form-success h3 {
  color: var(--color-accent-green-dark);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.form-success p { color: var(--color-text-light); }
.form-error-message {
  padding: 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  color: #dc2626;
  text-align: center;
}

/* Stats CTA */
.cta-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding-left: 32px;
  border-left: 1px solid var(--color-border);
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ===========================================
   FAQ
   =========================================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-item summary:hover { background: var(--color-bg-alt); }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text-muted);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--color-bg-dark);
  color: #94a3b8;
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: #f1f5f9; font-size: 1.3rem; }
.footer-brand p { margin-top: 6px; font-size: 0.9rem; }
.footer-col h4 {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-links a:hover { color: #e2e8f0; }
.footer-col-benevole p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-benevole-link {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-accent-orange), #ea580c);
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: opacity 0.2s;
}
.footer-benevole-link:hover { opacity: 0.9; }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #64748b;
}
.footer-ia {
  display: inline-block;
  margin-left: 8px;
  background: linear-gradient(90deg, #0ea5e9, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}
.footer-kimi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  color: #f59e0b;
  font-weight: 700;
}
.kimi-logo-img {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ===========================================
   EFFETS VIVANTS
   =========================================== */

/* 1. Reveal au scroll */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* 2. Stagger delay pour les cartes */
.cards-grid .reveal:nth-child(1) { transition-delay: 0s; }
.cards-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.cards-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.cards-grid .reveal:nth-child(4) { transition-delay: 0.45s; }
.cards-grid .reveal:nth-child(5) { transition-delay: 0.6s; }

.offers-grid .reveal:nth-child(1) { transition-delay: 0s; }
.offers-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.offers-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.offers-grid .reveal:nth-child(4) { transition-delay: 0.45s; }

.faq-list .reveal:nth-child(1) { transition-delay: 0s; }
.faq-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.faq-list .reveal:nth-child(3) { transition-delay: 0.2s; }
.faq-list .reveal:nth-child(4) { transition-delay: 0.3s; }
.faq-list .reveal:nth-child(5) { transition-delay: 0.4s; }

/* 3. Hover cards — léger soulèvement + glow */
.card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.7s ease, transform 0.7s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.offer {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.7s ease, transform 0.7s ease;
}
.offer:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

/* 4. Pulse subtil sur le CTA principal */
.btn-primary {
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(34,197,94,0.35); }
  50% { box-shadow: 0 4px 24px rgba(34,197,94,0.55); }
}

/* 5. Bounce léger sur les icônes au hover */
.card-icon, .offer-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}
.card:hover .card-icon,
.offer:hover .offer-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* 6. Gradient animé sur le titre */
.hero-line strong {
  background: linear-gradient(90deg, #0ea5e9, #a855f7, #0ea5e9);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s linear infinite;
}
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 7. Hero cards staggered dans l'effet ciseaux */
.hero-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-card:nth-child(1) { animation-delay: 0.5s; }
.hero-card:nth-child(2) { animation-delay: 0.7s; }
.hero-card:nth-child(3) { animation-delay: 0.9s; }

/* 8. Section tag brille */
.section-tag {
  background-size: 200% auto;
  animation: gradient-shift 3s linear infinite;
}

/* 9. Timeline dots pulse */
.timeline-dot {
  animation: dot-pulse 2s ease-in-out infinite;
}
.timeline-item:nth-child(1) .timeline-dot { animation-delay: 0s; }
.timeline-item:nth-child(2) .timeline-dot { animation-delay: 0.5s; }
.timeline-item:nth-child(3) .timeline-dot { animation-delay: 1s; }
.timeline-item:nth-child(4) .timeline-dot { animation-delay: 1.5s; }
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* 10. Nav CTA pulse attente */
.nav-cta {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 900px) {
  .hero-grid,
  .story,
  .cta-box { grid-template-columns: 1fr; }
  .cards-grid,
  .offers-grid { grid-template-columns: 1fr; }
  .cta-stats {
    flex-direction: row;
    padding-left: 0;
    padding-top: 24px;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 100px 0 50px; }
  .story-timeline { margin-top: 32px; }
  .logo-img { height: 38px; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta-box { padding: 28px; }
  .cta-stats { flex-direction: column; }
  .logo-img { height: 34px; }
}

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

/* ===========================================
   RGPD — Bandeau cookies
   =========================================== */
#rgpd-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 16px 0;
}
#rgpd-banner .rgpd-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
#rgpd-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  flex: 1;
}
#rgpd-banner a {
  color: var(--color-primary);
  text-decoration: underline;
}
#rgpd-banner .btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ===========================================
   Footer subscribe
   =========================================== */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer-subscribe-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-subscribe-form input[type="email"] {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.9rem;
  min-width: 220px;
}
.footer-subscribe-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}
.footer-subscribe-form .btn-small {
  padding: 10px 18px;
  font-size: 0.85rem;
}
.footer-subscribe-msg {
  font-size: 0.85rem;
  margin: 0;
}
.footer-subscribe-error {
  color: #dc2626;
}
@media (max-width: 640px) {
  #rgpd-banner .rgpd-inner {
    flex-direction: column;
    text-align: center;
  }
  #rgpd-banner .btn {
    width: 100%;
  }
}

/* ===========================================
   DARK MODE
   =========================================== */
.dark-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 8px;
}
.dark-toggle:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
}

html[data-theme="dark"] {
  --color-bg: #0b0f19;
  --color-bg-alt: #151b26;
  --color-text: #e2e8f0;
  --color-text-light: #94a3b8;
  --color-text-muted: #64748b;
  --color-border: #2a3547;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.2);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.3);
}

html[data-theme="dark"] body {
  background: var(--color-bg);
  color: var(--color-text);
}

html[data-theme="dark"] .header {
  background: rgba(11,15,25,0.95);
  border-bottom-color: var(--color-border);
}

html[data-theme="dark"] .footer {
  background: var(--color-bg-alt);
  border-top-color: var(--color-border);
}

html[data-theme="dark"] .offer,
html[data-theme="dark"] .memo-section,
html[data-theme="dark"] .pub-section,
html[data-theme="dark"] .pub-stat,
html[data-theme="dark"] .pub-format,
html[data-theme="dark"] .term,
html[data-theme="dark"] .edito-intro,
html[data-theme="dark"] .edito-point,
html[data-theme="dark"] .vlog-card,
html[data-theme="dark"] .vlog-cta,
html[data-theme="dark"] .cta-box,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .card,
html[data-theme="dark"] .story-quote {
  background: #151b26;
  border-color: #2a3547;
}

html[data-theme="dark"] .prompt-box {
  background: #0f172a;
}

html[data-theme="dark"] .nav-dropdown-menu {
  background: #151b26;
  border-color: #2a3547;
}

html[data-theme="dark"] .nav-mobile {
  background: #151b26;
  border-color: #2a3547;
}

html[data-theme="dark"] .footer-subscribe-form input[type="email"] {
  background: #0f172a;
  border-color: #2a3547;
}

html[data-theme="dark"] .pub-page,
html[data-theme="dark"] .memo-page,
html[data-theme="dark"] .edito-page,
html[data-theme="dark"] .vlog-page {
  background: var(--color-bg);
}
