/* ============================================================
   LE RENDEZ-VOUS DES CUISTOTS — STYLES
   Palette inspirée du logo : rouges chaleureux, jaunes vifs,
   verts frais, crème, sur fond chaud et terreux.
   ============================================================ */

:root {
  /* Palette principale */
  --cream:        #FFF6E6;
  --cream-deep:   #FCE8C4;
  --tomato:       #E63946;
  --tomato-dark:  #C1272D;
  --carrot:       #FF8C42;
  --honey:        #FFC93C;
  --basil:        #6BBF59;
  --basil-dark:   #4A9341;
  --berry:        #8B2D5C;
  --ink:          #2A1E1A;
  --ink-soft:     #5A463F;
  --paper:        #FFFBF2;

  /* Thèmes festifs */
  --noel-bg:      linear-gradient(135deg, #0F4D3A 0%, #1A6B52 100%);
  --noel-accent:  #E63946;
  --noel-gold:    #FFD93D;

  --halloween-bg:     linear-gradient(135deg, #1A0E2E 0%, #3D1F5C 100%);
  --halloween-accent: #FF6B1A;
  --halloween-glow:   #FFD93D;

  --paques-bg:    linear-gradient(135deg, #FFE5EC 0%, #FFF3D9 100%);
  --paques-accent:#F4A1B8;
  --paques-mint:  #A8E0C7;

  /* Typo */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Bricolage Grotesque', system-ui, sans-serif;
  --font-script:  'Caveat', cursive;

  /* Échelles */
  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --shadow-sm:  0 4px 12px rgba(42,30,26,0.08);
  --shadow:     0 10px 30px rgba(42,30,26,0.12);
  --shadow-lg:  0 20px 60px rgba(42,30,26,0.18);
  --shadow-pop: 8px 8px 0 var(--ink);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 17px;
  background-image:
    radial-gradient(circle at 10% 5%, rgba(255,201,60,0.12) 0%, transparent 40%),
    radial-gradient(circle at 95% 90%, rgba(230,57,70,0.08) 0%, transparent 40%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   ANIMATIONS UTILITAIRES (révélations + flottements)
   ============================================================ */
/* État initial : invisible. L'animation est pilotée UNIQUEMENT par Motion One (script.js).
   On évite la double-animation (CSS transition + JS animate) qui causait le clignotement au scroll. */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  /* Motion One a fini d'animer : on libère le will-change et on fixe l'état final
     pour éviter tout flash si le navigateur recalcule le layout. */
  opacity: 1;
  transform: none;
  will-change: auto;
}
/* Si l'utilisateur préfère réduire les animations, on désactive le reveal */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@keyframes float-up {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(8deg); }
}
@keyframes float-side {
  0%, 100% { transform: translate(0,0) rotate(-5deg); }
  50%      { transform: translate(15px,-12px) rotate(8deg); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}
@keyframes pop {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(255, 246, 230, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 2px solid transparent;
  /* Transitions ciblées (pas "all") pour éviter de transitionner les changements
     de classe parasites au scroll, qui causaient des "flashs" visuels. */
  transition: padding 0.4s ease, border-bottom-color 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  border-bottom-color: rgba(42,30,26,0.08);
  box-shadow: 0 4px 20px rgba(42,30,26,0.06);
  padding: 10px 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 900; font-size: 22px;
  color: var(--ink);
  transition: transform 0.3s;
}
.nav-logo:hover { transform: rotate(-3deg) scale(1.03); }
.nav-logo img { width: 48px; height: 48px; object-fit: contain; }

.nav-links {
  display: flex; gap: 8px;
  background: var(--paper);
  padding: 6px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--ink);
}
.nav-links a {
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
  position: relative;
}
.nav-links a:hover { background: var(--honey); transform: translateY(-2px); }
.nav-links a.active { background: var(--honey); }

.burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--ink); border-radius: 50%;
}
.burger span {
  display: block; width: 22px; height: 3px;
  background: var(--cream); border-radius: 2px;
  transition: all 0.3s;
}
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 32px 80px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,201,60,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(230,57,70,0.18) 0%, transparent 50%),
    var(--cream);
  overflow: hidden;
}

/* Pattern de pois discrets */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(42,30,26,0.06) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.floating {
  position: absolute;
  font-size: clamp(28px, 4vw, 52px);
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.15));
  /* Indique au navigateur de promouvoir l'élément sur GPU :
     évite les saccades quand le parallax JS écrit le `translate`. */
  will-change: transform, translate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.f1 { top: 15%; left: 5%;  animation: float-up   8s ease-in-out infinite; }
.f2 { top: 30%; right: 8%; animation: float-side 9s ease-in-out infinite; }
.f3 { top: 70%; left: 12%; animation: float-up   7s ease-in-out infinite 1s; }
.f4 { top: 80%; right: 15%;animation: float-side 10s ease-in-out infinite 2s; }
.f5 { top: 8%;  right: 35%;animation: float-up   11s ease-in-out infinite 1.5s; }
.f6 { top: 55%; right: 4%; animation: float-side 8s ease-in-out infinite 0.5s; }
.f7 { top: 88%; left: 40%; animation: float-up   9s ease-in-out infinite 2.5s; }

.hero-grid {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
}
.hero-text { position: relative; z-index: 2; }

.hero-tagline {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 24px; color: var(--tomato);
  font-weight: 700;
  margin-bottom: 16px;
  transform: rotate(-2deg);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title-line { display: block; }
.hero-title-script {
  font-family: var(--font-script);
  font-weight: 700;
  font-style: italic;
  color: var(--tomato);
  font-size: 1.1em;
  transform: rotate(-2deg);
  display: inline-block;
  font-feature-settings: "liga" on;
}

.hero-lead {
  font-size: 19px; line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-lead strong { color: var(--ink); background: var(--honey); padding: 0 6px; border-radius: 4px; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-weight: 700; font-size: 16px;
  border-radius: 100px;
  border: 2.5px solid var(--ink);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  text-decoration: none;
}
.btn svg { width: 20px; height: 20px; transition: transform 0.3s; }

.btn-primary {
  background: var(--tomato);
  color: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-primary:hover {
  transform: translate(-3px,-3px) rotate(-1deg);
  box-shadow: 9px 9px 0 var(--ink);
  background: var(--tomato-dark);
}
.btn-primary:hover svg { transform: translateX(4px) rotate(-10deg); }
.btn-primary:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }

.btn-ghost {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-ghost:hover {
  transform: translate(-2px,-2px) rotate(1deg);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--honey);
}

.hero-stats {
  display: flex; align-items: center; gap: 32px;
  padding: 24px 28px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow-pop);
  width: fit-content;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: var(--tomato);
}
.stat span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.stat-divider {
  width: 2px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--ink), transparent);
  opacity: 0.3;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 540px;
  margin: 0 auto;
}
.hero-blob {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--carrot), var(--tomato));
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-pop);
  /* Forme organique blob */
  border-radius: 65% 35% 55% 45% / 50% 60% 40% 50%;
  overflow: hidden;
  animation: blob-morph 12s ease-in-out infinite;
}
@keyframes blob-morph {
  0%, 100% { border-radius: 65% 35% 55% 45% / 50% 60% 40% 50%; }
  33%      { border-radius: 40% 60% 65% 35% / 55% 45% 60% 50%; }
  66%      { border-radius: 55% 45% 40% 60% / 45% 55% 50% 60%; }
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.orbit-tag {
  position: absolute;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  padding: 12px 18px;
  border-radius: 100px;
  font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.tag-1 { top: 10%; left: -10%; }
.tag-2 { top: 50%; right: -12%;}
.tag-3 { bottom: 8%; left: 5%; }
/* L'animation flottante ne démarre QU'APRÈS le pop d'entrée (classe ajoutée par JS).
   Sinon Motion One (scale+rotate) et les keyframes (transform) se télescopent → flicker. */
.orbit-tag.float-on.tag-1 { animation: float-up 6s ease-in-out infinite; }
.orbit-tag.float-on.tag-2 { animation: float-side 8s ease-in-out infinite; }
.orbit-tag.float-on.tag-3 { animation: float-up 7s ease-in-out infinite 1s; }

/* Marquee */
.marquee {
  position: relative;
  margin-top: 60px;
  padding: 18px 0;
  background: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.marquee-track {
  display: flex; gap: 32px;
  animation: scroll-marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--cream);
  white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: var(--honey); }
@keyframes scroll-marquee {
  to { transform: translateX(-50%); }
}

/* Vague séparatrice */
.wave-divider {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  width: 100%; height: 80px;
  display: block;
}
.wave-divider.wave-top {
  top: -1px; bottom: auto;
  transform: rotate(180deg);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}

.section-head { margin-bottom: 60px; max-width: 800px; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--tomato);
  font-weight: 700;
  margin-bottom: 12px;
  transform: rotate(-1deg);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}
.section-head h2 em {
  font-style: italic;
  color: var(--tomato);
  font-family: var(--font-script);
  font-size: 1.1em;
  font-weight: 700;
}
.underline-svg {
  position: absolute;
  bottom: -12px; left: 0;
  width: 60%; height: 18px;
  color: var(--honey);
}
.section-sub {
  font-size: 19px;
  color: var(--ink-soft);
  margin-top: 24px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .lead {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.55;
}
.about-text p { margin-bottom: 18px; color: var(--ink-soft); }
.about-text strong { color: var(--ink); }
.about-text em { color: var(--tomato); font-family: var(--font-script); font-size: 1.15em; font-weight: 700; }

.features {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.features li {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.features li:hover {
  transform: translate(-3px,-3px) rotate(-0.5deg);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--honey);
}
.feat-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--cream);
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.features div { display: flex; flex-direction: column; }
.features strong { font-size: 16px; color: var(--ink); }
.features span { font-size: 14px; color: var(--ink-soft); }

/* Slider */
.slider {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  background: var(--ink);
  aspect-ratio: 4/5;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}
.slider-btn svg { width: 22px; height: 22px; color: var(--ink); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-btn:hover {
  background: var(--honey);
  transform: translateY(-50%) scale(1.1);
}
.slider-btn:active { transform: translateY(-50%) scale(0.95); }

.slider-dots {
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 2;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  background: var(--honey);
  width: 28px;
  border-radius: 100px;
}
.slider-caption {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--tomato);
  font-weight: 700;
}

/* ============================================================
   THEMES — section générale
   ============================================================ */
.themes {
  position: relative;
  padding: 120px 0 100px;
  background: var(--paper);
  overflow: hidden;
}

.theme {
  position: relative;
  margin: 80px 0;
  padding: 60px 50px;
  border-radius: var(--radius-xl);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.theme-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  z-index: 2;
}
.theme-grid-reverse { direction: rtl; }
.theme-grid-reverse > * { direction: ltr; }

.theme-images {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}
.theme-images-single { grid-template-columns: 1fr; }
.theme-img-main, .theme-img-sub {
  position: relative;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), rotate 0.4s ease;
  /* Le tilt 3D est piloté par les variables --tilt-x / --tilt-y
     mises à jour en JS au mousemove. On utilise la propriété
     INDÉPENDANTE `rotate` pour ne PAS écraser la rotation 2D
     d'origine définie via `transform` plus bas. */
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  rotate: var(--tilt-y);
  transform-style: preserve-3d;
}
/* Quand on survole : on désactive la transition pour suivre la souris,
   et on applique aussi un scale via une variable. */
.theme-img-main.is-tilting, .theme-img-sub.is-tilting {
  transition: none;
}
.theme-img-main { aspect-ratio: 4/5; transform: rotate(-2deg); }
.theme-img-sub  { transform: rotate(3deg) translateY(20px); }
.theme-img-large { aspect-ratio: 1; transform: rotate(-1deg); max-width: 480px; margin: 0 auto; }
/* Au hover : on remet la rotation 2D à 0 et on ajoute un léger scale,
   PAR LA PROPRIÉTÉ transform UNIQUEMENT. Le tilt 3D s'ajoute via `rotate`. */
.theme-img-main:hover { transform: rotate(0) scale(1.03); }
.theme-img-sub:hover  { transform: rotate(0) translateY(0) scale(1.03); }
.theme-img-main img, .theme-img-sub img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.theme-img-main:hover img { transform: scale(1.08); }

.img-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 2px 2px 0 var(--ink);
}

.theme-content { padding: 16px; }
.theme-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.theme h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.theme-content > p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.theme-list {
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.theme-list li {
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
}

.theme-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.theme-deco span {
  position: absolute;
  font-size: 28px;
  opacity: 0.35;
}

/* === NOËL === */
.theme-noel {
  background: var(--noel-bg);
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,217,61,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(230,57,70,0.2) 0%, transparent 50%),
    var(--noel-bg);
  color: var(--cream);
}
.theme-noel h3 { color: var(--cream); }
.theme-noel .theme-content > p { color: rgba(255,246,230,0.85); }
.theme-noel strong { color: var(--noel-gold); background: rgba(0,0,0,0.2); padding: 0 6px; border-radius: 4px; }
.theme-noel .theme-tag {
  background: var(--noel-accent);
  color: var(--cream);
  border: 2px solid var(--cream);
}
.theme-noel .theme-list li { color: rgba(255,246,230,0.9); }
.snow {
  color: var(--cream);
  font-size: 24px !important;
  opacity: 0.6 !important;
  animation: snow-fall 8s linear infinite;
}
.s1 { top: 10%; left: 10%; animation-delay: 0s; }
.s2 { top: 5%;  left: 30%; animation-delay: 1s; font-size: 18px !important; }
.s3 { top: 20%; left: 50%; animation-delay: 2s; }
.s4 { top: 8%;  left: 70%; animation-delay: 3s; font-size: 20px !important; }
.s5 { top: 15%; left: 88%; animation-delay: 0.5s; }
.s6 { top: 50%; left: 5%;  animation-delay: 1.5s; }
.s7 { top: 60%; left: 90%; animation-delay: 2.5s; font-size: 18px !important; }
.s8 { top: 80%; left: 40%; animation-delay: 3.5s; }
@keyframes snow-fall {
  0%   { transform: translateY(0) rotate(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(120px) rotate(360deg); opacity: 0; }
}
.btn-noel {
  background: var(--noel-accent);
  color: var(--cream);
  border-color: var(--cream);
  box-shadow: 6px 6px 0 var(--noel-gold);
}
.btn-noel:hover {
  transform: translate(-3px,-3px) rotate(-1deg);
  box-shadow: 9px 9px 0 var(--noel-gold);
  background: var(--noel-gold);
  color: var(--ink);
}

/* === HALLOWEEN === */
.theme-halloween {
  background: var(--halloween-bg);
  background-image:
    radial-gradient(circle at 70% 30%, rgba(255,107,26,0.3) 0%, transparent 50%),
    radial-gradient(circle at 20% 90%, rgba(255,217,61,0.15) 0%, transparent 50%),
    var(--halloween-bg);
  color: var(--cream);
  border-color: var(--halloween-accent);
}
.theme-halloween h3 {
  color: var(--halloween-accent);
  text-shadow: 0 0 20px rgba(255,107,26,0.5);
}
.theme-halloween .theme-content > p { color: rgba(255,246,230,0.85); }
.theme-halloween strong { color: var(--halloween-glow); }
.theme-halloween .theme-tag {
  background: var(--halloween-accent);
  color: var(--ink);
  border: 2px solid var(--cream);
}
.theme-halloween .theme-list li { color: rgba(255,246,230,0.9); }
.bat, .ghost, .spider {
  font-size: 32px !important;
  opacity: 0.5 !important;
}
.bat { animation: float-side 4s ease-in-out infinite; }
.b1 { top: 12%; left: 8%; }
.b2 { top: 70%; right: 12%; animation-delay: 1.5s; }
.ghost { animation: float-up 3s ease-in-out infinite; }
.g1 { top: 25%; right: 10%; }
.g2 { top: 75%; left: 8%; animation-delay: 1s; }
.spider { animation: wiggle 2s ease-in-out infinite; font-size: 36px !important; }
.sp1 { top: 8%; right: 30%; }
.sp2 { bottom: 8%; right: 40%; animation-delay: 0.5s; }
.btn-halloween {
  background: var(--halloween-accent);
  color: var(--ink);
  border-color: var(--cream);
  box-shadow: 6px 6px 0 var(--halloween-glow);
}
.btn-halloween:hover {
  transform: translate(-3px,-3px) rotate(2deg);
  box-shadow: 9px 9px 0 var(--halloween-glow);
  background: var(--halloween-glow);
}

/* === PÂQUES === */
.theme-paques {
  background: var(--paques-bg);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(168,224,199,0.4) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(244,161,184,0.4) 0%, transparent 50%),
    var(--paques-bg);
  color: var(--ink);
  border-color: var(--paques-accent);
  border-style: dashed;
  border-width: 4px;
}
.theme-paques h3 { color: var(--berry); }
.theme-paques strong { color: var(--berry); background: rgba(255,255,255,0.6); padding: 0 6px; border-radius: 4px; }
.theme-paques .theme-tag {
  background: var(--paques-mint);
  color: var(--ink);
  border: 2px solid var(--ink);
}
.egg, .flower {
  font-size: 30px !important;
  opacity: 0.55 !important;
}
.egg { animation: wiggle 4s ease-in-out infinite; }
.e1 { top: 15%; left: 8%; }
.e2 { top: 75%; left: 14%; animation-delay: 1s; }
.e3 { top: 30%; right: 6%; animation-delay: 2s; font-size: 36px !important; }
.flower { animation: spin-slow 20s linear infinite; }
.fl1 { top: 8%; right: 30%; }
.fl2 { top: 85%; right: 35%; animation-direction: reverse; }
.fl3 { top: 50%; right: 12%; }
.btn-paques {
  background: var(--paques-accent);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--paques-mint);
}
.btn-paques:hover {
  transform: translate(-3px,-3px) rotate(-1deg) scale(1.02);
  box-shadow: 9px 9px 0 var(--paques-mint);
  background: var(--paques-mint);
}

/* ============================================================
   LOCATE / CONTACT
   ============================================================ */
.locate {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
}
.locate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.locate h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
}
.locate .lead {
  font-size: 19px;
  margin-bottom: 32px;
  color: var(--ink-soft);
}

.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-card:hover {
  transform: translate(-3px,-3px);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--honey);
}
.cc-icon {
  font-size: 30px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-card div { display: flex; flex-direction: column; }
.contact-card strong { font-size: 16px; }
.contact-card span { font-size: 14px; color: var(--ink-soft); }

.map-frame {
  position: relative;
  aspect-ratio: 4/5;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  background: var(--paper);
}
.map-frame iframe { width: 100%; height: 100%; }
.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  font-size: 60px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.3));
  animation: pin-bounce 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pin-bounce {
  0%, 100% { transform: translate(-50%, -100%); }
  50%      { transform: translate(-50%, -120%); }
}
.map-note {
  text-align: center;
  margin-top: 12px;
  font-family: var(--font-script);
  font-size: 18px;
  color: var(--ink-soft);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--tomato) 0 40px,
    var(--honey) 40px 80px,
    var(--basil) 80px 120px,
    var(--carrot) 120px 160px
  );
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo { width: 80px; height: 80px; margin-bottom: 16px; object-fit: contain; }
.footer-brand p { font-size: 16px; line-height: 1.55; opacity: 0.85; }
.footer-brand em { color: var(--honey); font-family: var(--font-script); font-size: 22px; font-style: normal; font-weight: 700; }

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--honey);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  font-size: 15px;
  opacity: 0.85;
  transition: all 0.2s;
  display: inline-block;
}
.footer-col a:hover { opacity: 1; color: var(--honey); transform: translateX(4px); }

.socials { display: flex; gap: 12px; }
.social-link {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.3s;
}
.social-link svg { width: 20px; height: 20px; color: var(--cream); }
.social-link:hover {
  background: var(--tomato);
  border-color: var(--tomato);
  transform: translateY(-3px) rotate(-5deg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-credits { font-family: var(--font-script); font-size: 18px; color: var(--honey); opacity: 1; }

.footer-wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  background: var(--tomato);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 4px 4px 0 var(--ink);
  z-index: 50;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top svg { width: 24px; height: 24px; color: var(--cream); }
.scroll-top:hover {
  background: var(--honey);
  transform: translate(-2px,-2px) rotate(-5deg);
  box-shadow: 6px 6px 0 var(--ink);
}
.scroll-top:hover svg { color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .theme-grid, .locate-grid {
    grid-template-columns: 1fr; gap: 50px;
  }
  .theme-grid-reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container, .navbar, .hero { padding-left: 20px; padding-right: 20px; }
  .navbar { padding: 10px 16px; gap: 12px; }
  /* La navbar mobile : logo + titre raccourci + burger, sans rien couper. */
  .nav-logo { font-size: 16px; gap: 8px; min-width: 0; flex: 1; }
  .nav-logo img { width: 38px; height: 38px; flex-shrink: 0; }
  .nav-logo span {
    /* On évite que le long titre force un débordement : il ellipse proprement */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    flex-direction: column;
    background: var(--paper);
    padding: 16px;
    margin-top: 8px;
    border-radius: 20px;
    border: 2.5px solid var(--ink);
    box-shadow: var(--shadow-pop);
    gap: 4px;
  }
  .burger { display: flex; flex-shrink: 0; }

  .hero { padding: 110px 20px 60px; min-height: auto; }
  .hero-stats { flex-wrap: wrap; gap: 16px 24px; }
  .stat-divider { display: none; }
  .orbit-tag { font-size: 12px; padding: 8px 12px; }
  .tag-1 { left: -5%; } .tag-2 { right: -5%; } .tag-3 { left: 50%; }

  .theme { padding: 40px 24px; margin: 50px 0; }
  .theme-list { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .marquee-track span { font-size: 22px; }

  h1, .section-head h2 { word-break: break-word; }
}

/* Très petits écrans (téléphones étroits) : on raccourcit le titre de la navbar */
@media (max-width: 480px) {
  .navbar { padding: 10px 12px; }
  .nav-logo { font-size: 14px; gap: 6px; }
  .nav-logo img { width: 34px; height: 34px; }
}
@media (max-width: 380px) {
  /* Sur les téléphones les plus étroits, on cache complètement le texte
     pour ne garder que le logo (qui suffit comme identité visuelle) */
  .nav-logo span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}