/* ============================================
   FLORAISON — Tour du monde des fleurs
   Palette joyeuse & solaire
   ============================================ */

:root {
  --cream: #fdf6ec;
  --cream-deep: #f5ead4;
  --cream-warm: #faf0d9;
  --ink: #2a2118;
  --ink-soft: #5a4a3a;
  --ink-mute: #8a7a68;

  --sun: #f5b800;
  --coral: #ff7a59;
  --rose: #ff9bb3;
  --turquoise: #4cc4b8;
  --lavender: #b8a3e6;
  --leaf: #7fb069;
  --accent: var(--coral);

  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h: 76px;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 40px -12px rgba(42, 33, 24, 0.18);
  --shadow-card: 0 24px 60px -20px rgba(42, 33, 24, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
  letter-spacing: -0.005em;
}

/* Anchor scroll offset pour ne pas être masqué par la nav fixe */
section[id] { scroll-margin-top: var(--nav-h); }

/* Tous les titres serif utilisent Fraunces avec ses axes variables */
.hero-title,
.section-title,
.manifesto blockquote,
.cf-info-name,
.season h3,
.meaning h3,
.histoire-signature,
.card figcaption h3,
.contact-form h3,
.footer-logo,
.stat-num,
.cf-counter,
.nav-logo {
  font-family: var(--serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-feature-settings: 'ss01', 'ss02';
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ============= PROGRESS BAR ============= */
.page-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(42, 33, 24, 0.06);
  z-index: 200;
  pointer-events: none;
}

.page-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sun), var(--coral), var(--rose));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
  border-radius: 0 999px 999px 0;
}


/* ============= MAGNETIC ============= */
.magnetic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

/* ============= SPLIT CHARS / WORDS ============= */
.split-chars,
.split-words {
  display: inline-block;
}

.split-chars .char,
.split-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  animation: charReveal 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}

.split-chars .char { animation-delay: calc(var(--i) * 60ms + 200ms); }
.split-words .word { animation-delay: calc(var(--i) * 100ms + 100ms); }

@keyframes charReveal {
  0% { opacity: 0; transform: translateY(0.6em) rotate(8deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}

/* ============= NAV ============= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(253, 246, 236, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom-color: rgba(42, 33, 24, 0.08);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 2rem; }

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.3s, color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}

.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a:hover { opacity: 0.85; }
.nav-links a.is-active { color: var(--coral); }
.nav.is-scrolled .nav-links a.is-active { color: var(--coral); }

/* ============= HERO ============= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  top: -10%; left: 0; right: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(42, 33, 24, 0.20) 0%,
    rgba(42, 33, 24, 0.05) 40%,
    rgba(42, 33, 24, 0.60) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
  max-width: 900px;
  will-change: transform;
}

.hero-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: 0.92;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
  opacity: 0.95;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--sun);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 999px;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), background 0.4s, box-shadow 0.4s, color 0.4s;
  box-shadow: 0 8px 24px -6px rgba(245, 184, 0, 0.5);
}

.hero-cta:hover {
  transform: translateY(-3px);
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 32px -6px rgba(255, 122, 89, 0.55);
}

.hero-cta-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: none;
}

.hero-cta-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
}

.hero-scroll span {
  display: block;
  width: 100%;
  height: 30px;
  background: #fff;
  animation: scroll 2.2s ease-in-out infinite;
}

@keyframes scroll {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ============= MANIFESTO ============= */
.manifesto {
  padding: 6rem 2rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(253, 246, 236, 0.55), rgba(253, 246, 236, 0.55)),
    url('assets/bg-manifesto.webp') center/cover no-repeat,
    var(--cream);
  position: relative;
}

.manifesto blockquote {
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-variation-settings: 'opsz' 72, 'wght' 350, 'SOFT' 100, 'WONK' 1;
  line-height: 1.45;
  color: var(--ink);
  position: relative;
  padding-top: 1.5rem;
  letter-spacing: -0.015em;
}

.manifesto blockquote::before {
  content: '“';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7rem;
  color: var(--coral);
  opacity: 0.3;
  font-family: var(--serif);
  line-height: 1;
}

.manifesto cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
}

/* ============= SECTIONS COMMUNES ============= */
.section-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 96, 'wght' 400, 'SOFT' 80, 'WONK' 1;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 5rem;
}

/* ============= GALERIE — COVERFLOW 3D ============= */
.galerie {
  padding: 8rem 1.5rem 7rem;
  background:
    linear-gradient(180deg, rgba(20, 14, 8, 0.78), rgba(20, 14, 8, 0.88)),
    url('assets/bg-galerie.webp') center/cover no-repeat,
    radial-gradient(ellipse at top, #2a2118 0%, #1a140e 70%);
  position: relative;
  color: var(--cream);
  overflow: hidden;
}

.galerie::before,
.galerie::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.galerie::before {
  width: 700px; height: 700px;
  background: var(--coral);
  top: -200px; left: -200px;
}
.galerie::after {
  width: 800px; height: 800px;
  background: var(--turquoise);
  bottom: -300px; right: -200px;
}

.galerie .section-header { color: var(--cream); position: relative; z-index: 2; }
.galerie .section-title { color: #fff; }
.galerie .section-lead { color: rgba(253, 246, 236, 0.75); }
.galerie .section-eyebrow { color: var(--sun); }

.coverflow {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
  user-select: none;
}

.cf-stage {
  position: relative;
  height: 460px;
  perspective: 1600px;
  perspective-origin: 50% 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: pan-y;
}

.cf-stage:active { cursor: grabbing; }

.cf-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: none;
  cursor: pointer;
  padding: 0;
  box-shadow:
    0 30px 60px -15px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.04);
  transition:
    transform 0.75s cubic-bezier(.22,.61,.36,1),
    opacity 0.55s,
    filter 0.55s,
    box-shadow 0.55s;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}

.cf-card:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.cf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.cf-card[data-pos="0"] {
  box-shadow:
    0 40px 80px -10px rgba(0,0,0,0.7),
    0 0 0 4px rgba(245, 184, 0, 0.4),
    0 0 60px rgba(245, 184, 0, 0.25);
}

/* Reflet doux en bas de chaque carte centrale */
.cf-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.cf-card[data-pos="0"]::after { opacity: 1; }

/* ============= INFO CARTE CENTRALE ============= */
.cf-info {
  text-align: center;
  margin: 2.5rem auto 0;
  max-width: 600px;
  position: relative;
  z-index: 3;
  min-height: 110px;
}

.cf-info-flag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 0.6rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
}

.cf-info-name {
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s 0.05s, transform 0.5s 0.05s;
}

.cf-info-latin {
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(253, 246, 236, 0.7);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s 0.1s, transform 0.5s 0.1s;
}

.cf-info.is-ready .cf-info-flag,
.cf-info.is-ready .cf-info-name,
.cf-info.is-ready .cf-info-latin {
  opacity: 1;
  transform: translateY(0);
}

/* ============= CONTROLS ============= */
.cf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 3;
}

.cf-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(253, 246, 236, 0.25);
  background: rgba(253, 246, 236, 0.04);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, color 0.3s;
  backdrop-filter: blur(8px);
}

.cf-btn svg { width: 22px; height: 22px; }

.cf-btn:hover {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--ink);
  transform: scale(1.06);
}

.cf-btn:active { transform: scale(0.95); }

.cf-counter {
  font-style: italic;
  font-size: 1.4rem;
  font-variation-settings: 'opsz' 48, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  color: rgba(253, 246, 236, 0.85);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 110px;
  justify-content: center;
  letter-spacing: -0.01em;
}

.cf-current { color: var(--sun); font-size: 1.6rem; }
.cf-divider { opacity: 0.4; }
.cf-total { color: rgba(253, 246, 236, 0.5); }

.cf-progress {
  width: min(360px, 80%);
  height: 2px;
  background: rgba(253, 246, 236, 0.12);
  margin: 1.5rem auto 0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.cf-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sun), var(--coral));
  width: 5.5%;
  transition: width 0.7s cubic-bezier(.2,.7,.2,1);
  border-radius: 999px;
}

.cf-hint {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 246, 236, 0.4);
  position: relative;
  z-index: 3;
}

/* ============= STATS ============= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 5rem auto 0;
  padding: 2.5rem 2rem;
  background: rgba(253, 246, 236, 0.04);
  border: 1px solid rgba(253, 246, 236, 0.08);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.stat-num {
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--sun);
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 246, 236, 0.6);
  font-weight: 500;
}

/* ============= SAISONS ============= */
.saisons {
  padding: 8rem 2rem;
  background:
    linear-gradient(180deg, rgba(253, 246, 236, 0.82) 0%, rgba(248, 235, 215, 0.88) 100%),
    url('assets/bg-saisons.webp') center/cover no-repeat,
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  position: relative;
}

.seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.season {
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
  color: var(--ink);
}

.season:hover { transform: translateY(-6px); }

.season-spring {
  background:
    linear-gradient(160deg, rgba(255, 225, 236, 0.62) 0%, rgba(255, 245, 230, 0.62) 100%),
    url('assets/bg-spring.webp') center/cover no-repeat,
    linear-gradient(160deg, #ffe1ec 0%, #fff5e6 100%);
}
.season-summer {
  background:
    linear-gradient(160deg, rgba(255, 243, 176, 0.62) 0%, rgba(255, 214, 168, 0.62) 100%),
    url('assets/bg-summer.webp') center/cover no-repeat,
    linear-gradient(160deg, #fff3b0 0%, #ffd6a8 100%);
}
.season-autumn {
  background:
    linear-gradient(160deg, rgba(255, 207, 168, 0.62) 0%, rgba(245, 176, 160, 0.62) 100%),
    url('assets/bg-autumn.webp') center/cover no-repeat,
    linear-gradient(160deg, #ffcfa8 0%, #f5b0a0 100%);
}
.season-winter {
  background:
    linear-gradient(160deg, rgba(212, 238, 240, 0.62) 0%, rgba(232, 228, 245, 0.62) 100%),
    url('assets/bg-winter.webp') center/cover no-repeat,
    linear-gradient(160deg, #d4eef0 0%, #e8e4f5 100%);
}

.season-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 252, 246, 0.92);
  border-radius: 50%;
  box-shadow:
    0 14px 32px -10px rgba(42, 33, 24, 0.22),
    0 4px 10px -4px rgba(42, 33, 24, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}

.season-icon img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 4px rgba(42, 33, 24, 0.18))
    saturate(1.15)
    contrast(1.06);
}

.season h3 {
  font-style: italic;
  font-size: 1.85rem;
  font-variation-settings: 'opsz' 72, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.season-months {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.season-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.season-flowers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.season-flowers li {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 500;
}

/* ============= LANGAGE DES FLEURS ============= */
.langage {
  padding: 8rem 2rem;
  background:
    linear-gradient(180deg, rgba(253, 246, 236, 0.78), rgba(253, 246, 236, 0.78)),
    url('assets/bg-langage.webp') center/cover no-repeat,
    var(--cream);
  position: relative;
}

.meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

.meaning {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border-left: 4px solid var(--accent-color, var(--coral));
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s;
  box-shadow: 0 6px 20px -8px rgba(42, 33, 24, 0.1);
}

.meaning:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 30px -10px rgba(42, 33, 24, 0.18);
}

.meaning-symbol {
  width: 64px;
  height: 64px;
  margin-bottom: 0.85rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meaning-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(42, 33, 24, 0.12));
}

.meaning h3 {
  font-style: italic;
  font-size: 1.4rem;
  font-variation-settings: 'opsz' 48, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.meaning p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============= HISTOIRE ============= */
.histoire {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  position: relative;
  overflow: hidden;
}

.histoire-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  pointer-events: none;
  will-change: transform;
}

.histoire-blob-1 {
  width: 460px;
  height: 460px;
  background: var(--rose);
  top: -130px;
  left: -130px;
}

.histoire-blob-2 {
  width: 540px;
  height: 540px;
  background: var(--turquoise);
  bottom: -180px;
  right: -180px;
}

.histoire-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.histoire-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.histoire-text:first-of-type { margin-top: 1.5rem; }

.histoire-signature {
  font-style: italic;
  font-size: 1.5rem;
  font-variation-settings: 'opsz' 72, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.015em;
  color: var(--coral);
  margin-top: 2.5rem;
}

/* ============= CONTACT ============= */
.contact {
  padding: 8rem 2rem;
  background: var(--cream-deep);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--sun) 0%, transparent 70%);
  opacity: 0.25;
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-text .section-title { margin-bottom: 1.5rem; }

.contact-list {
  list-style: none;
  margin-top: 2rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

.contact-list span {
  color: var(--coral);
  font-size: 1.1rem;
  line-height: 1.4;
}

.contact-form {
  background: #fff;
  padding: 2.5rem 2.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.contact-form h3 {
  font-style: italic;
  font-size: 1.7rem;
  font-variation-settings: 'opsz' 48, 'wght' 400, 'SOFT' 100, 'WONK' 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  color: var(--ink);
}

.contact-form label {
  display: block;
  margin-bottom: 1.25rem;
}

.contact-form label > span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(42, 33, 24, 0.15);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s, background 0.3s;
}

.contact-form input:focus {
  outline: none;
  border-color: var(--coral);
  background: #fff;
}

.contact-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
}

.contact-form .checkbox input {
  margin-top: 0.2rem;
  accent-color: var(--coral);
  width: 16px; height: 16px;
}

.contact-form .checkbox span {
  display: inline;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 400;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.contact-form button:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.form-success {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--leaf);
  text-align: center;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}

.form-success.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============= FOOTER ============= */
.footer {
  background: var(--ink);
  color: var(--cream-deep);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 0.75rem;
  line-height: 1;
}

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(1.1) saturate(1.05);
}

.footer-brand p:last-child {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-cols h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-cols a {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  padding: 0.3rem 0;
  transition: color 0.3s, transform 0.3s;
}

.footer-cols a:hover {
  color: var(--sun);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============= REVEAL ============= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}

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

.grid .card.reveal,
.meaning-grid .meaning.reveal,
.seasons-grid .season.reveal {
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
  .meaning-grid { grid-template-columns: repeat(2, 1fr); }
  .seasons-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cf-stage { height: 380px; }
  .cf-card { width: 280px; height: 280px; margin: -140px 0 0 -140px; }
}

@media (max-width: 900px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.75rem; }
  .galerie, .saisons, .langage, .histoire, .contact { padding-top: 5rem; padding-bottom: 5rem; }
  .galerie { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section-header { margin-bottom: 3.5rem; }
  .manifesto { padding: 4rem 1.5rem; }
}

@media (max-width: 580px) {
  .nav { padding: 1rem 1rem; }
  .nav-logo { font-size: 1.2rem; }
  .nav-links { gap: 0.6rem; }
  .nav-links a { font-size: 0.65rem; letter-spacing: 0.05em; }
  .meaning-grid, .seasons-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-cta { padding: 0.85rem 2rem; font-size: 0.8rem; }
  .histoire-text { font-size: 1rem; }
  .stats { padding: 2rem 1.25rem; gap: 1.5rem; }
  .contact-form { padding: 2rem 1.5rem 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cf-stage { height: 320px; }
  .cf-card { width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 16px; }
  .cf-controls { gap: 1.25rem; }
  .cf-btn { width: 44px; height: 44px; }
  .cf-btn svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-scroll span { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
