/* =================================================================
   SITE ANNIVERSAIRE — M. Kodjo Patrice TOSSAVI
   Team DigiWeb · Premium Tribute · v2
   ================================================================= */

/* -----------------------------------------------------------------
   VARIABLES & RESET
----------------------------------------------------------------- */
:root {
  --primary: #102542;
  --secondary: #1E88E5;
  --accent: #00BFA6;
  --gold: #D4AF37;
  --gold-soft: #E8C766;

  --dark: #081120;
  --dark-section: #0F1C33;
  --dark-deeper: #050B16;

  --light: #FFFFFF;
  --light-bg: #F7F9FC;
  --light-section: #EEF3F8;

  --text-dark: #1B2430;
  --text-light: #F5F7FA;
  --muted: #9AA8BC;
  --muted-dark: #5A6577;

  --border: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(16, 37, 66, 0.08);

  --shadow-sm: 0 4px 14px rgba(8, 17, 32, 0.06);
  --shadow-md: 0 12px 40px rgba(8, 17, 32, 0.12);
  --shadow-lg: 0 24px 80px rgba(8, 17, 32, 0.18);
  --shadow-gold: 0 12px 40px rgba(212, 175, 55, 0.25);

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --t-fast: 0.2s ease;
  --t-base: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);

  --f-display: 'Poppins', sans-serif;
  --f-body: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--light-bg);
  overflow-x: hidden;
}

/* Body locked pendant l'intro livre */
body.intro-active {
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold); color: var(--dark); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--secondary), var(--accent));
  border-radius: 10px;
}

/* -----------------------------------------------------------------
   LAYOUT
----------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: 120px 0;
}

/* -----------------------------------------------------------------
   TYPOGRAPHIE
----------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 80px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

.section__eyebrow::before,
.section__eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section__eyebrow--light { color: var(--gold-soft); }

.section__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.section__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__title--light { color: var(--light); }

.section__title--light em {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--muted-dark);
  max-width: 580px;
  margin: 0 auto;
}

.section__subtitle--light { color: var(--muted); }

/* -----------------------------------------------------------------
   BUTTONS
----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--small { padding: 12px 22px; font-size: 0.85rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--light);
  box-shadow: 0 8px 24px rgba(30, 136, 229, 0.35);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 0;
}

.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(30, 136, 229, 0.45);
}
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.quiz__card .btn--primary,
.dare__card .btn--ghost {
  background: rgba(16, 37, 66, 0.05);
  color: var(--primary);
  border-color: rgba(16, 37, 66, 0.12);
}

.dare__card .btn--ghost:hover {
  background: rgba(16, 37, 66, 0.08);
  border-color: var(--secondary);
}

/* -----------------------------------------------------------------
   REVEAL
----------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* =================================================================
   BOOK-OPEN INTRO ANIMATION
================================================================= */
.book-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  perspective: 2000px;
}

.book-intro__page {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark), var(--dark-section));
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: var(--origin) center;
  transition: transform 1.6s cubic-bezier(0.7, 0, 0.2, 1);
  box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.5);
}

.book-intro__page--left {
  left: 0;
  --origin: left;
}

.book-intro__page--right {
  right: 0;
  --origin: right;
}

.book-intro__page::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.book-intro__page--left::after { right: 0; }
.book-intro__page--right::after { left: 0; }

.book-intro__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.book-intro__content i {
  font-size: 3rem;
  color: var(--gold);
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.book-intro__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  background: linear-gradient(180deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  transform: translateX(-50%);
  opacity: 0.6;
  transition: opacity 0.6s ease;
}

/* Animation d'ouverture (déclenchée par JS) */
.book-intro.is-opening .book-intro__page--left {
  transform: rotateY(-180deg);
}
.book-intro.is-opening .book-intro__page--right {
  transform: rotateY(180deg);
}
.book-intro.is-opening .book-intro__content { opacity: 0; }
.book-intro.is-opening .book-intro__spine { opacity: 0; }

.book-intro.is-done {
  display: none;
}

/* -----------------------------------------------------------------
   CONFETTI CANVAS
----------------------------------------------------------------- */
#confetti-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* =================================================================
   HERO
================================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero__background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(8, 17, 32, 0.92) 0%, rgba(16, 37, 66, 0.85) 100%),
    url('https://images.unsplash.com/photo-1519671482749-fd09be7ccebf?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(30, 136, 229, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 191, 166, 0.18), transparent 55%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(212, 175, 55, 0.6), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(0, 191, 166, 0.5), transparent),
    radial-gradient(2px 2px at 40% 80%, rgba(212, 175, 55, 0.4), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255, 255, 255, 0.6), transparent);
  background-size: 600px 600px;
  animation: drift 50s linear infinite;
}

@keyframes drift {
  0% { background-position: 0 0; }
  100% { background-position: 600px 600px; }
}

.hero__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content { color: var(--light); }

.hero__title { margin-bottom: 28px; }

/* Animation rotateur de mots (substitution simple) */
.hero__rotator-wrap {
  display: block;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  min-height: 1.2em;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.hero__rotator {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero__rotator.is-fading-out {
  opacity: 0;
  transform: translateY(-20px);
}

.hero__rotator.is-fading-in {
  opacity: 0;
  transform: translateY(20px);
}

.hero__name {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--light);
  margin-bottom: 8px;
}

.hero__role {
  display: block;
  font-family: var(--f-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero__divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 28px 0;
  border-radius: 3px;
}

.hero__text {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero photo — carrée premium */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  animation: float 6s ease-in-out infinite;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 175, 55, 0.25);
}

.hero__photo-frame {
  position: absolute;
  inset: -18px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  transform: rotate(-3deg);
  opacity: 0.5;
}

.hero__photo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.25), transparent 60%);
  filter: blur(40px);
  z-index: -2;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero__badge {
  position: absolute;
  bottom: 20px;
  left: -24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--light);
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

.hero__badge i { color: var(--gold); }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  z-index: 5;
}

.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 4px;
  margin: 6px auto;
  animation: scrollDown 1.6s ease-in-out infinite;
}

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

/* =================================================================
   ABOUT — photo carrée 1:1
================================================================= */
.about {
  background: var(--light);
  padding: 140px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about__visual { position: relative; }

.about__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 480px;
}

.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--t-slow);
}

.about__image-wrap:hover img { transform: scale(1.05); }

.about__image-frame {
  position: absolute;
  inset: -16px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  transform: translate(20px, 20px);
}

.about__sticker {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 200px;
  padding: 24px;
  background: var(--primary);
  color: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.about__sticker i { color: var(--gold); font-size: 1.4rem; margin-bottom: 12px; }
.about__sticker p { font-family: var(--f-display); font-size: 0.9rem; font-weight: 500; line-height: 1.5; }

.about__content .section__eyebrow { margin-bottom: 16px; }
.about__content .section__title { text-align: left; margin-bottom: 24px; }

.about__lead {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about__paragraph {
  color: var(--muted-dark);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
}

.stat { text-align: left; }

.stat__number {
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat__plus {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-left: 2px;
}

.stat__label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-dark);
  margin-top: 8px;
  font-weight: 500;
}

/* =================================================================
   TIMELINE
================================================================= */
.timeline {
  background: var(--dark);
  color: var(--light);
  overflow: hidden;
}

.timeline__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(30, 136, 229, 0.12), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 191, 166, 0.12), transparent 40%);
}

.timeline__track {
  position: relative;
  margin-top: 60px;
  padding: 40px 0;
}

.timeline__line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateY(-50%);
  opacity: 0.5;
}

.timeline__items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  position: relative;
}

.timeline__item {
  position: relative;
  text-align: center;
}

.timeline__item:nth-child(odd) { padding-bottom: 180px; }
.timeline__item:nth-child(even) { padding-top: 180px; }

.timeline__year {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.timeline__year::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.2);
  transform: translateX(-50%);
}

.timeline__item:nth-child(odd) .timeline__year::after { bottom: -90px; }
.timeline__item:nth-child(even) .timeline__year::after { top: -90px; }

.timeline__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--t-base);
}

.timeline__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.timeline__card i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.timeline__card--accent i { color: var(--gold); }
.timeline__card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--light); }
.timeline__card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* =================================================================
   MESSAGES
================================================================= */
.messages {
  background: var(--light);
  padding: 140px 0;
}

.messages__viewport {
  position: relative;
  overflow: hidden;
}

.messages__track {
  display: flex;
  gap: 28px;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  padding: 20px 0;
}

.message-card {
  flex: 0 0 calc((100% - 56px) / 3);
  background: var(--light);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
}

.message-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.message-card__quote {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2.4rem;
  color: var(--gold);
  opacity: 0.18;
}

.message-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.25);
}

.message-card__name {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.message-card__role {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.message-card__text {
  color: var(--muted-dark);
  font-size: 0.93rem;
  line-height: 1.7;
  font-style: italic;
}

.messages__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.messages__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border-dark);
  color: var(--primary);
  font-size: 1rem;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
}

.messages__btn:hover {
  background: var(--primary);
  color: var(--light);
  border-color: var(--primary);
  transform: scale(1.08);
}

.messages__dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 400px;
}

.messages__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16, 37, 66, 0.2);
  cursor: pointer;
  transition: all var(--t-base);
}

.messages__dot.is-active {
  background: var(--secondary);
  width: 28px;
  border-radius: 4px;
}

/* =================================================================
   QUIZ
================================================================= */
.quiz {
  background: var(--light-section);
  padding: 140px 0;
}

.quiz__card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-dark);
}

.quiz__progress {
  height: 6px;
  background: rgba(16, 37, 66, 0.06);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}

.quiz__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 6px;
  transition: width 0.6s var(--t-base);
}

.quiz__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-dark);
  margin-bottom: 32px;
}

.quiz__question {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  line-height: 1.5;
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--light-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--f-body);
  font-size: 0.98rem;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: all var(--t-base);
  width: 100%;
}

.quiz__option-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  transition: all var(--t-base);
  flex-shrink: 0;
}

.quiz__option:hover {
  background: var(--light);
  border-color: var(--secondary);
  transform: translateX(6px);
}

.quiz__option:hover .quiz__option-letter {
  background: var(--secondary);
  color: var(--light);
  border-color: var(--secondary);
}

.quiz__option.correct {
  background: rgba(0, 191, 166, 0.08);
  border-color: var(--accent);
}

.quiz__option.correct .quiz__option-letter {
  background: var(--accent);
  color: var(--light);
  border-color: var(--accent);
}

.quiz__option.wrong {
  background: rgba(220, 53, 69, 0.05);
  border-color: #dc3545;
}

.quiz__option.wrong .quiz__option-letter {
  background: #dc3545;
  color: var(--light);
  border-color: #dc3545;
}

.quiz__option:disabled { cursor: default; }

/* Animation flash sur réponse */
@keyframes flashCorrect {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 191, 166, 0); }
  50% { box-shadow: 0 0 0 12px rgba(0, 191, 166, 0.18); }
}

@keyframes flashWrong {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.quiz__option.correct { animation: flashCorrect 0.6s ease-out; }
.quiz__option.wrong { animation: flashWrong 0.4s ease-out; }

.quiz__result {
  text-align: center;
  padding: 20px 0;
}

.quiz__result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--light);
  margin: 0 auto 24px;
  box-shadow: var(--shadow-gold);
  animation: trophy 2s ease-in-out infinite;
}

@keyframes trophy {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.quiz__result h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.quiz__result p {
  color: var(--muted-dark);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* =================================================================
   GALLERY (20 photos, 10 par ligne)
================================================================= */
.gallery {
  background: var(--dark-section);
  color: var(--light);
  padding: 140px 0 60px;
  overflow: hidden;
}

.gallery__marquee {
  overflow: hidden;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.gallery__track {
  display: flex;
  gap: 20px;
  animation: marquee 60s linear infinite;
  width: max-content;
}

.gallery__marquee--reverse .gallery__track {
  animation: marqueeReverse 70s linear infinite;
}

.gallery__marquee:hover .gallery__track {
  animation-play-state: paused;
}

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

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

.gallery__item {
  flex: 0 0 auto;
  width: 320px;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.gallery__item::after {
  content: '\f00e'; /* search-plus icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 17, 32, 0.75));
  color: var(--gold);
  font-size: 1.6rem;
  opacity: 0;
  transition: opacity var(--t-base);
}

.gallery__item:hover img { transform: scale(1.1); }
.gallery__item:hover::after { opacity: 1; }

/* =================================================================
   LIGHTBOX
================================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 22, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fadeIn 0.3s ease;
}

.lightbox[hidden] {
  display: none;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.3);
  animation: zoomIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--light);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  transform: scale(1.08);
}

.lightbox__close {
  top: 28px;
  right: 28px;
}

.lightbox__nav--prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.08); }

.lightbox__counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* =================================================================
   ACTION OU VÉRITÉ
================================================================= */
.dare {
  background: var(--light);
  padding: 140px 0;
}

.dare__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.dare__card {
  perspective: 1500px;
  height: 360px;
  cursor: pointer;
}

.dare__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.dare__card.is-flipped .dare__inner { transform: rotateY(180deg); }

.dare__face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.dare__face--front {
  background: linear-gradient(135deg, var(--primary), var(--dark-section));
  color: var(--light);
  box-shadow: var(--shadow-md);
}

.dare__face--front i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.dare__face--front h3 {
  font-family: var(--f-display);
  font-size: 2rem;
  margin-bottom: 12px;
}

.dare__face--front p {
  color: var(--muted);
  font-size: 0.95rem;
}

.dare__face--back {
  background: linear-gradient(135deg, var(--light), var(--light-section));
  color: var(--primary);
  transform: rotateY(180deg);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-md);
}

.dare__tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 20px;
}

.dare__face--back p {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--primary);
  margin-bottom: 24px;
}

/* =================================================================
   QUOTE — Mini éditeur dev compact
================================================================= */
.quote {
  background: var(--dark);
  color: var(--light);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.quote__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.12), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(30, 136, 229, 0.08), transparent 45%);
}

.quote__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 15% 25%, rgba(212, 175, 55, 0.5), transparent),
    radial-gradient(1px 1px at 55% 65%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 85% 35%, rgba(212, 175, 55, 0.5), transparent),
    radial-gradient(2px 2px at 35% 85%, rgba(0, 191, 166, 0.4), transparent);
  background-size: 600px 600px;
  animation: drift 60s linear infinite;
  pointer-events: none;
}

/* Éditeur compact */
.quote__editor {
  max-width: 640px;
  margin: 0 auto;
  background: #0f1119;
  border-radius: var(--radius-md);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 175, 55, 0.15),
    0 0 40px rgba(212, 175, 55, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.5s var(--t-base), box-shadow 0.5s var(--t-base);
}

.quote__editor:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(212, 175, 55, 0.3),
    0 0 60px rgba(212, 175, 55, 0.15);
}

/* Header */
.quote__editor-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: #0a0c14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quote__dots {
  display: flex;
  gap: 6px;
}

.quote__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.quote__dots span:nth-child(1) { background: #ff5f56; }
.quote__dots span:nth-child(2) { background: #ffbd2e; }
.quote__dots span:nth-child(3) { background: #27c93f; }

.quote__filename {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: #161927;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  color: var(--text-light);
}

.quote__filename i {
  color: var(--gold);
  font-size: 0.85rem;
}

.quote__modified {
  color: var(--gold);
  font-size: 0.65rem;
  animation: pulseModified 2s ease-in-out infinite;
}

@keyframes pulseModified {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.quote__editor-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.quote__editor-meta i {
  color: #ff5f86;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 50%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  75% { transform: scale(1.1); }
}

/* Corps du code */
.quote__editor-body {
  padding: 20px 0;
  background: #0f1119;
  position: relative;
  overflow: hidden;
}

.quote__code {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  color: #abb2bf;
  white-space: pre;
  padding: 0 18px;
  margin: 0;
}

.quote__code .ln {
  display: inline-block;
  width: 24px;
  margin-right: 10px;
  text-align: right;
  color: #444c66;
  user-select: none;
  font-size: 0.72rem;
}

/* Tokens syntaxe */
.quote__code .cmt        { color: #5c678a; }
.quote__code .kw         { color: #c586c0; }
.quote__code .var        { color: #e0af68; }
.quote__code .fn         { color: #61afef; }
.quote__code .str        { color: #98c379; font-style: italic; }
.quote__code .op         { color: #abb2bf; }
.quote__code .tag        { color: #d4af37; font-weight: 600; }

.quote__code .gold {
  color: var(--gold);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.quote__code .hl {
  color: #fff8e0;
  font-weight: 700;
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.08));
  padding: 1px 6px;
  border-radius: 3px;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
}

.quote__code .cursor-blink {
  color: var(--gold);
  animation: cursorBlink 1s steps(2) infinite;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Effet balayage lumineux */
.quote__editor-body::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
  pointer-events: none;
}

.quote__content.is-visible .quote__editor-body::after {
  animation: scanLight 2.5s ease-out 0.5s;
}

@keyframes scanLight {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Status bar */
.quote__editor-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 14px;
  background: var(--gold);
  color: #0f1119;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  font-weight: 600;
}

.quote__status-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.quote__status-spacer { flex: 1; }

.quote__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0f1119;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Signature en dessous de l'éditeur */
.quote__signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.quote__line {
  width: 50px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.quote__author {
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Responsive */
@media (max-width: 640px) {
  .quote { padding: 70px 0; }
  .quote__editor { max-width: calc(100% - 32px); }
  .quote__editor-meta { display: none; }
  .quote__code {
    font-size: 0.7rem;
    padding: 0 12px;
  }
  .quote__code .ln {
    width: 18px;
    margin-right: 6px;
    font-size: 0.62rem;
  }
}

/* =================================================================
   COUNTDOWN
================================================================= */
.countdown {
  background: var(--light);
  padding: 140px 0;
}

.countdown__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.countdown__cell {
  background: linear-gradient(135deg, var(--primary), var(--dark-section));
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  min-width: 160px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.countdown__cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent);
}

.countdown__cell::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.countdown__value {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
  position: relative;
}

.countdown__label {
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}

.countdown__sep {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
}

/* =================================================================
   FOOTER
================================================================= */
.footer {
  background: var(--dark-deeper);
  color: var(--light);
  padding: 80px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer__brand h3 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.footer__brand p { color: var(--muted); font-size: 0.92rem; }
.footer__center { text-align: center; }

.footer__tribute {
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.footer__tribute strong { color: var(--gold); font-weight: 600; }
.footer__signature { text-align: right; font-family: var(--f-display); }

.footer__signature span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer__signature strong {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light);
}

.footer__bottom {
  text-align: center;
  padding-top: 32px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer__bottom span { color: var(--gold-soft); }

/* =================================================================
   FLOATING BUTTONS
================================================================= */
.floating {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.floating__btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(16, 37, 66, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
  box-shadow: var(--shadow-md);
}

.floating__btn:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-gold);
}

.floating__btn--top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.floating__btn--top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating__btn.is-playing {
  background: var(--gold);
  color: var(--dark);
  animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
}

/* =================================================================
   RESPONSIVE
================================================================= */
@media (max-width: 1024px) {
  section { padding: 100px 0; }
  .container { padding: 0 24px; }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero__divider { margin-left: auto; margin-right: auto; margin-top: 28px; margin-bottom: 28px; }
  .hero__actions { justify-content: center; }
  .hero__text { margin-left: auto; margin-right: auto; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about__image-wrap { margin: 0 auto; }
  .about__sticker { bottom: -20px; right: 20px; width: 180px; }

  .timeline__items {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .timeline__line { display: none; }
  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) { padding: 0; }
  .timeline__year::after { display: none; }

  .message-card { flex: 0 0 calc((100% - 28px) / 2); }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container, .hero__container { padding: 0 20px; }

  .section__header { margin-bottom: 56px; }

  .hero { padding: 100px 0 60px; }
  .hero__photo { max-width: 320px; }
  .hero__badge {
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    padding: 12px 18px;
  }
  .hero__actions { flex-direction: column; width: 100%; }
  .btn { justify-content: center; width: 100%; }

  .about__stats { grid-template-columns: 1fr; gap: 20px; }

  .timeline__items { grid-template-columns: 1fr; gap: 32px; }

  .message-card { flex: 0 0 100%; }

  .quiz__card { padding: 32px 24px; }
  .quiz__question { font-size: 1.15rem; }
  .quiz__option { padding: 14px 18px; font-size: 0.9rem; }

  .dare__grid { grid-template-columns: 1fr; gap: 20px; }
  .dare__card { height: 320px; }

  .countdown__grid { gap: 12px; }
  .countdown__cell { min-width: 130px; padding: 24px 16px; }
  .countdown__sep { display: none; }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer__signature { text-align: center; }

  .gallery__item { width: 240px; height: 170px; }

  .floating { bottom: 16px; right: 16px; }
  .floating__btn { width: 48px; height: 48px; }

  .lightbox { padding: 16px; }
  .lightbox__close { top: 16px; right: 16px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

@media (max-width: 480px) {
  .hero__rotator-wrap { font-size: 2rem; }
  .hero__name { font-size: 1.3rem; }
  .quote__text { font-size: 1.2rem; }
  .countdown__cell { min-width: 110px; padding: 20px 12px; }
  .countdown__value { font-size: 2.2rem; }
}

/* =================================================================
   ACCESSIBILITÉ — REDUCED MOTION
================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__photo, .hero__particles, .gallery__track { animation: none !important; }
  .book-intro { display: none; }
}
