:root {
  --bg1: #07020f;
  --bg2: #081326;
  --text: #f5f7fb;
  --muted: #8d97aa;
  --line: #252b3a;
  --gold: #d7b46a;
  --gold-soft: #ead6a2;
  --pink: #ff4f7b;
  --green: #44e59d;
  --blue: #5c8dff;
  --red: #c7353d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 12%, rgba(255,79,123,.22), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(36,87,214,.25), transparent 30%),
    radial-gradient(circle at 50% 92%, rgba(68,229,157,.10), transparent 34%),
    linear-gradient(145deg, var(--bg1), var(--bg2) 55%, #02040a);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Aurora background - effet "wow" en fond */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(255,79,123,.04) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 70%, rgba(92,141,255,.04) 0%, transparent 50%);
  filter: blur(40px);
  animation: aurora 25s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(3%, -2%) rotate(2deg); }
  100% { transform: translate(-2%, 3%) rotate(-1deg); }
}

/* Grain noise overlay subtil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll smooth global */
html { scroll-behavior: smooth; }

/* Sélection de texte stylée */
::selection { background: rgba(255,79,123,.35); color: #fff; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, transparent 0%, rgba(255,255,255,.035) 50%, transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.025), transparent 36%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; cursor: pointer; }

/* ===== NAVBAR ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(7, 2, 15, .72);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(7, 10, 20, .60);
}

.nav-mark {
  width: 34px;
  height: 34px;
  display: block;
  background: linear-gradient(90deg, var(--blue) 0 33%, #fff 33% 66%, var(--red) 66%);
  border-radius: 10px;
  border: 1px solid var(--line);
  transform: rotate(-4deg);
}

.nav-brand strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.nav-brand small {
  font-size: 11px;
  color: #b5bdce;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #d0d7e5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  transition: background .2s, border-color .2s, transform .2s;
}

.nav-links a:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(215,180,106,.3);
  transform: translateY(-1px);
}

.nav-links a.soutenir-link {
  background: linear-gradient(135deg, #ff4f7b, #ffab00);
  border: none;
  color: #111;
  font-weight: 950;
  box-shadow: 0 8px 24px rgba(255,79,123,.25);
}

.nav-links a.soutenir-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,79,123,.35);
}

.nav-links a.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 60%, #bc1888);
  border: none;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(220,39,67,.25);
}

.nav-links a.insta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(220,39,67,.4);
}

.nav-links a.insta-link svg { flex-shrink: 0; }

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

.hero-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  padding: 140px 0 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

.overline {
  margin-bottom: 18px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 12px;
  font-weight: 950;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
}

h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: .88;
  letter-spacing: -.07em;
  max-width: 820px;
  font-weight: 700;
}

/* Effet "shine" sur le h1 du hero */
.hero-content h1 {
  background: linear-gradient(180deg, #fff 0%, #fff 60%, #c8d0e2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content h1 .highlight {
  -webkit-text-fill-color: initial;
  background: linear-gradient(135deg, #ff4f7b 0%, #ffab00 50%, #ead6a2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
  background-size: 200% 200%;
}

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

.highlight {
  background: linear-gradient(135deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  max-width: 600px;
  margin: 28px 0 36px;
  color: #c8cfe0;
  font-size: 17px;
  line-height: 1.7;
}

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

.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 18px;
  font-weight: 950;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .2s, box-shadow .2s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--pink), var(--gold));
  color: #111;
  box-shadow: 0 18px 50px rgba(255,79,123,.18);
}

.btn.primary:hover {
  box-shadow: 0 24px 64px rgba(255,79,123,.28);
}

.btn.secondary {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #e0e5ef;
}

.btn.secondary:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(215,180,106,.3);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.stat strong {
  display: block;
  font-size: 36px;
  letter-spacing: -.06em;
  background: linear-gradient(135deg, var(--gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Floating cards */

.hero-visual {
  position: relative;
  height: 420px;
}

.floating-card {
  position: absolute;
  width: 180px;
  padding: 28px 22px;
  border-radius: 24px;
  border: 2px solid rgba(215,180,106,.5);
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 18%),
    radial-gradient(circle at 50% 18%, rgba(215,180,106,.18), transparent 22%),
    linear-gradient(180deg, #151b31 0%, #0b1020 46%, #050711 100%);
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
  text-align: center;
  animation: cardFloat 6s ease-in-out infinite;
}

.floating-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

.card-emoji {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

.floating-card p {
  font-weight: 950;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.card-1 {
  top: 20px;
  left: 30px;
  border-color: rgba(68,229,157,.6);
  animation-delay: 0s;
}

.card-1 .card-emoji { color: var(--green); }

.card-2 {
  top: 160px;
  right: 10px;
  border-color: rgba(255,79,123,.6);
  animation-delay: -2s;
}

.card-2 .card-emoji { color: var(--pink); }

.card-3 {
  bottom: 30px;
  left: 60px;
  border-color: rgba(92,141,255,.6);
  animation-delay: -4s;
}

.card-3 .card-emoji { color: var(--blue); }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

/* ===== QUIZ SECTION ===== */

.quiz-section,
.themes-section,
.how-section,
.cta-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0;
}

h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: .94;
  letter-spacing: -.07em;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 560px;
}

.quiz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.quiz-grid.triple {
  grid-template-columns: repeat(3, 1fr);
}

.expert-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(215,180,106,.20), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(215,180,106,.08), transparent 28%),
    rgba(4, 6, 14, .82);
}

.expert-card:hover {
  border-color: rgba(215,180,106,.5);
  box-shadow: 0 44px 140px rgba(0,0,0,.55), 0 0 60px rgba(215,180,106,.12);
}

.swipe-card .card-arrow { color: #ff8fa8; }
.classic-card .card-arrow { color: #8fb3ff; }
.expert-card .card-arrow { color: #ead6a2; }

.quiz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
    rgba(4, 6, 14, .78);
  backdrop-filter: blur(20px);
  box-shadow:
    0 34px 120px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s, border-color .3s;
}

/* Effet "spotlight" qui suit le curseur sur les quiz cards */
.quiz-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.08), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.quiz-card:hover::after { opacity: 1; }

.quiz-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.06), transparent 28%);
  pointer-events: none;
}

.quiz-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 44px 140px rgba(0,0,0,.55);
}

.swipe-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,79,123,.14), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(68,229,157,.10), transparent 28%),
    rgba(4, 6, 14, .82);
}

.swipe-card:hover {
  border-color: rgba(255,79,123,.5);
  box-shadow: 0 44px 140px rgba(0,0,0,.55), 0 0 60px rgba(255,79,123,.12);
}

.classic-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(92,141,255,.18), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(92,141,255,.08), transparent 28%),
    rgba(4, 6, 14, .82);
}

.classic-card:hover {
  border-color: rgba(92,141,255,.5);
  box-shadow: 0 44px 140px rgba(0,0,0,.55), 0 0 60px rgba(92,141,255,.12);
}

.card-badge {
  width: fit-content;
  margin-bottom: 28px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #d7deeb;
}

.card-icon-area {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.big-icon {
  font-size: 48px;
  line-height: 1;
}

.swipe-card .big-icon:first-child { color: var(--green); }
.swipe-card .big-icon.dim { color: var(--pink); opacity: .6; }
.classic-card .big-icon { color: var(--blue); }

.quiz-card h3 {
  font-size: 32px;
  letter-spacing: -.05em;
  margin-bottom: 14px;
}

.quiz-card .card-why {
  color: #e8ecf4;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.quiz-card .card-desc {
  color: #8d97aa;
  font-size: 13.5px;
  line-height: 1.6;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.card-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #c4cdd9;
}

.card-arrow {
  margin-top: 24px;
  font-weight: 950;
  font-size: 15px;
  color: var(--gold-soft);
  letter-spacing: -.02em;
}

/* ===== THEMES ===== */

.themes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.theme-chip {
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-size: 14px;
  font-weight: 800;
  color: #dce2ef;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, border-color .2s, transform .2s;
}

.theme-chip:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,79,123,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.theme-chip span {
  font-size: 18px;
}

/* ===== TRUST ===== */

.trust-section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 60px 0 100px;
}

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

.trust-item {
  padding: 24px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  text-align: center;
}

.trust-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.trust-item strong { display: block; font-size: 14px; margin-bottom: 6px; }
.trust-item strong a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.trust-item p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }

/* ===== CTA (used on subpages) ===== */

.cta-section {
  padding-bottom: 120px;
}

.cta-card {
  position: relative;
  padding: 64px;
  border-radius: 38px;
  border: 1px solid rgba(215,180,106,.25);
  background:
    radial-gradient(circle at 20% 30%, rgba(255,79,123,.16), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(92,141,255,.14), transparent 32%),
    rgba(7, 10, 20, .82);
  box-shadow: 0 40px 130px rgba(0,0,0,.45);
  text-align: center;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(255,255,255,.9), var(--red));
}

.cta-card h2 { margin-bottom: 14px; }
.cta-card p { color: var(--muted); font-size: 17px; margin-bottom: 32px; }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn.btn-swipe {
  background: linear-gradient(135deg, #ff4f7b, #ff8fa8);
  color: #111;
  border: none;
  box-shadow: 0 14px 40px rgba(255,79,123,.22);
}

.btn.btn-quiz {
  background: linear-gradient(135deg, #5c8dff, #8fb3ff);
  color: #111;
  border: none;
  box-shadow: 0 14px 40px rgba(92,141,255,.22);
}

.btn.btn-boussole {
  background: linear-gradient(135deg, #ffab00, #ead6a2);
  color: #111;
  border: none;
  box-shadow: 0 14px 40px rgba(215,180,106,.22);
}

.btn.btn-swipe:hover { box-shadow: 0 18px 50px rgba(255,79,123,.35); }
.btn.btn-quiz:hover { box-shadow: 0 18px 50px rgba(92,141,255,.35); }
.btn.btn-boussole:hover { box-shadow: 0 18px 50px rgba(215,180,106,.35); }

/* ===== FOOTER ===== */

.footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 48px 0;
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand strong {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  row-gap: 12px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-links a.footer-insta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 60%, #bc1888);
  color: #fff !important;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  transition: transform .2s, box-shadow .2s;
}

.footer-links a.footer-insta svg {
  width: 13px;
  height: 13px;
}

.footer-links a.footer-insta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(220,39,67,.35);
  color: #fff !important;
}

.footer-note {
  max-width: 540px;
  color: #5d6678;
  font-size: 12px;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-visual {
    display: none;
  }

  .quiz-grid,
  .quiz-grid.triple {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-card {
    padding: 40px 28px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  h2 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .navbar { padding: 10px 0 !important; }

  .nav-inner {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: min(100% - 16px, 1200px);
  }

  .nav-brand { padding: 8px 12px; }
  .nav-brand strong { font-size: 12px; }
  .nav-brand small { font-size: 10px; }
  .nav-mark { width: 28px; height: 28px; }

  .nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    padding: 7px 12px;
    font-size: 11px;
  }

  .hero-section {
    padding: 100px 0 40px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .quiz-card {
    padding: 28px;
  }

  .themes-grid {
    gap: 8px;
  }

.theme-chip {
    padding: 10px 14px;
    font-size: 13px;
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}

.fade-in-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.quiz-card {
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
  transform-style: preserve-3d;
}

@keyframes rippleAnim {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
