/* ============================================================
   TABASCORBO by Wartek & Co — V3
   Tunnel one-page · muerte mexicaine · vintage western · apothicaire
   Vanilla HTML/CSS/JS · mobile-first
   ============================================================ */

:root {
  --bois: #14100C;
  --bois-clair: #1d1812;
  --laiton: #C49A5C;
  --or-vieilli: #9B7A3D;
  --braise: #D8442B;
  --orange: #EE8A1F;
  --olive: #8A914C;
  --parchemin: #EADFC6;
  --os: #E8DCC7;
  --sang: #6B1F1F;
  --cobalt: #1E5A8F;
  --turquoise: #3FB0AC;
  --safran: #E8B04A;
  --texte: #EADFC6;
  --texte-doux: #c9bfa6;

  --maxw: 1140px;
  --r: 14px;

  /* motif azulejos (talavera) data-URI */
  --azulejos: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%233FB0AC' stroke-width='1.1' stroke-opacity='0.5'%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='60' cy='0' r='4'/%3E%3Ccircle cx='0' cy='60' r='4'/%3E%3Ccircle cx='60' cy='60' r='4'/%3E%3C/g%3E%3Cpath d='M30 10 Q33 24 50 30 Q33 36 30 50 Q27 36 10 30 Q27 24 30 10Z' fill='none' stroke='%231E5A8F' stroke-width='1.1' stroke-opacity='0.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bois);
  color: var(--texte);
  font-family: "Spectral", Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--laiton); }

:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--laiton); color: var(--bois);
  padding: .6rem 1rem; z-index: 200; font-family: "Oswald", sans-serif; text-decoration: none;
}
.skip-link:focus { left: .5rem; top: .5rem; }

h2 {
  font-family: "Cinzel", serif; font-weight: 700; color: var(--parchemin);
  font-size: clamp(1.8rem, 5vw, 3rem); margin: 0 0 .7rem; line-height: 1.1; letter-spacing: .01em;
}
.eyebrow {
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .26em;
  font-size: .78rem; color: var(--safran); margin: 0 0 1rem;
}
.eyebrow--center { text-align: center; }

/* ---------- Mini-intro auto (non bloquante) ---------- */
#intro {
  position: fixed; inset: 0; z-index: 9000;
  background: radial-gradient(120% 90% at 50% 45%, #15110b 0%, #060503 78%);
  display: flex; align-items: center; justify-content: center;
  animation: introOut .6s ease 1.2s forwards; /* fade-out 1.2s -> 1.8s */
}
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.intro-logo {
  width: clamp(160px, 28vw, 320px); height: auto; opacity: 0; transform: scale(.85);
  animation: introLogo .5s cubic-bezier(.2,.7,.3,1) forwards, introGlow 1s ease .3s 1;
}
.intro-bar {
  display: block; height: 2px; width: 0; border-radius: 2px;
  background: var(--laiton); box-shadow: 0 0 8px rgba(196,154,92,.7);
  animation: introBar .7s ease .45s forwards;
}
@keyframes introLogo { to { opacity: 1; transform: scale(1); } }
@keyframes introGlow {
  0%,100% { filter: drop-shadow(0 0 0 rgba(238,138,31,0)); }
  50%     { filter: drop-shadow(0 0 24px rgba(238,138,31,.7)); }
}
@keyframes introBar { to { width: 120px; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ---------- Curseur custom ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 250; pointer-events: none;
    width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 1.5px solid var(--safran);
    border-radius: 50%; transition: transform .12s ease, background .2s, border-color .2s;
    mix-blend-mode: difference;
  }
  .cursor.hot { background: rgba(216,68,43,.4); border-color: var(--braise); transform: scale(1.6); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center;
  background: #0c0a08 url("img/composition_brand.jpg") center center / cover no-repeat; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none;
  object-fit: cover; object-position: center center;
}
/* viewport portrait : la vidéo paysage s'affiche en entier (contain), le fond d'ambiance comble les bandes */
@media (max-aspect-ratio: 1 / 1) {
  .hero-video { object-fit: contain; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(20,16,12,.5) 0%, rgba(20,16,12,.62) 45%, rgba(20,16,12,.88) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; padding: 1.4rem; }
.hero-logo { width: min(86vw, 560px); height: auto; margin: 0 auto 1.2rem; filter: drop-shadow(0 6px 22px rgba(0,0,0,.7)); }
.hero .eyebrow { color: var(--safran); }
.tagline { font-size: clamp(1.05rem, 2.6vw, 1.45rem); font-style: italic; color: var(--os); margin: 0 auto .7rem; max-width: 34ch; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.founded-line { font-family: "Oswald", sans-serif; letter-spacing: .4em; color: var(--laiton); font-size: 1.05rem; margin: .6rem 0 0;
  cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; display: inline-block; padding: 14px 18px; border-radius: 6px;
  animation: glow1299 2.5s ease-in-out infinite; will-change: transform, text-shadow; }
.founded-line:hover, .founded-line:active { animation-duration: 1.2s; }
@keyframes glow1299 {
  0%, 100% { color: var(--laiton); transform: scale(1);
    text-shadow: 0 0 8px rgba(216,68,43,.4), 0 0 16px rgba(238,138,31,.3); }
  50% { color: var(--orange); transform: scale(1.07);
    text-shadow: 0 0 22px rgba(216,68,43,.95), 0 0 46px rgba(238,138,31,.75), 0 0 70px rgba(232,176,74,.4); }
}
/* conservé pour compat : le hint one-shot devient juste un état lumineux */
.founded-line.glow-hint { color: var(--safran); text-shadow: 0 0 16px rgba(232,176,74,.9), 0 0 30px rgba(216,68,43,.55); }

/* Sceau de cire son — FAB fixe, texturé, animé */
.seal {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 104px; height: 104px;
  border: 0; background: transparent; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)) drop-shadow(0 0 0 rgba(216,68,43,0));
  animation: sealDrop 1.2s cubic-bezier(.18,.9,.3,1.3) 1.4s both, sealPulse 2.6s ease-in-out 2.6s infinite;
  transition: transform .25s ease;
}
.seal-wax { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal-label {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  font-family: "Oswald", sans-serif; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--os); text-shadow: 0 1px 3px rgba(0,0,0,.8); pointer-events: none;
}
.seal:hover { transform: scale(1.1) rotate(-3deg); }
.seal:focus-visible { outline: 2px solid var(--safran); outline-offset: 4px; border-radius: 50%; }
/* haut-parleur : ondes quand son ON, barre oblique quand coupé */
.seal[aria-pressed="true"] .ico-slash { display: none; }
.seal[aria-pressed="false"] .ico-waves { display: none; }
@keyframes sealDrop {
  0%   { opacity: 0; transform: translateY(-130%) scale(.7) rotate(-12deg); }
  70%  { opacity: 1; transform: translateY(8%) scale(1.04) rotate(3deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@keyframes sealPulse {
  0%,100% { filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)) drop-shadow(0 0 6px rgba(216,68,43,.35)); }
  50%     { filter: drop-shadow(0 6px 14px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(238,138,31,.8)); }
}

/* Flèche d'invite « Activer le son » (5 s) */
.sound-arrow {
  position: fixed; right: 30px; bottom: 134px; z-index: 59; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--safran); animation: arrowBob 1.4s ease-in-out infinite;
  transition: opacity .5s ease, visibility .5s ease;
}
.sound-arrow.hidden { opacity: 0; visibility: hidden; }
.sound-arrow-text {
  font-family: "Rye", serif; font-size: .82rem; letter-spacing: .04em; white-space: nowrap;
  text-shadow: 0 0 10px rgba(216,68,43,.8), 0 1px 3px rgba(0,0,0,.8);
}
.sound-arrow svg { width: 32px; height: 38px; filter: drop-shadow(0 0 8px rgba(238,138,31,.75)); }
@keyframes arrowBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: .2rem; text-decoration: none;
  color: var(--os); font-family: "Oswald", sans-serif; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  transition: opacity .4s;
}
.scroll-cue svg { width: 22px; height: 22px; animation: bounce 1.8s ease-in-out infinite; }
.scroll-cue.hide { opacity: 0; pointer-events: none; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--bois-clair); border-top: 1px solid rgba(196,154,92,.3); border-bottom: 1px solid rgba(196,154,92,.3);
  overflow: hidden; white-space: nowrap; padding: .55rem 0;
}
.marquee-track { display: inline-flex; animation: scrollX 26s linear infinite; }
.marquee-track span {
  font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  font-size: .82rem; color: var(--laiton); padding-right: 1rem;
}
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Sections communes
   ============================================================ */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.4rem; }
.section-sub { color: var(--texte-doux); margin: 0; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   SAUCES — carrousel
   ============================================================ */
.sauces { padding: 4.8rem 1.2rem 4rem; max-width: var(--maxw); margin: 0 auto; position: relative; isolation: isolate; }
.sauces::before, .fab::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: linear-gradient(rgba(20,16,12,.84), rgba(20,16,12,.94)), url("img/composition_brand.jpg") center/cover;
}
.fab { position: relative; isolation: isolate; }
.carousel { position: relative; max-width: 860px; margin: 0 auto; perspective: 1600px; }
.car-viewport { overflow: hidden; border-radius: var(--r); border: 1px solid rgba(196,154,92,.35); box-shadow: 0 22px 60px rgba(0,0,0,.55); }
.car-track { display: flex; transition: transform .6s cubic-bezier(.5,.05,.2,1); }
/* slides : verre dépoli (glassmorphism) sur fond ambiance */
.slide { position: relative; flex: 0 0 100%; min-height: 460px; overflow: hidden; display: flex; }
/* fond piment flouté (fiches produit) */
.slide::before { content: ""; position: absolute; inset: -14px; z-index: 0;
  background: var(--card-bg, none) center / cover no-repeat; filter: blur(4px) saturate(1.15);
  opacity: 0; transition: opacity .45s ease; }
.slide--vert::before, .slide--orange::before, .slide--rouge::before { opacity: .42; }
.slide:hover::before { opacity: .62; }
/* couleur dominante + azulejos + voile sombre */
.slide::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 100% at 26% 22%, var(--accent, rgba(196,154,92,.22)) 0%, transparent 70%),
    var(--azulejos) 0 0 / 60px 60px,
    linear-gradient(rgba(20,16,12,.40), rgba(20,16,12,.66)); }
.slide--vert   { --accent: rgba(138,145,76,.42); --card-bg: url("img/pep-jalapeno-bg.webp"); }
.slide--orange { --accent: rgba(238,138,31,.38); --card-bg: url("img/pep-piri-bg.webp"); }
.slide--rouge  { --accent: rgba(216,68,43,.38);  --card-bg: url("img/pep-habanero-bg.webp"); }
.step-slide    { --accent: rgba(196,154,92,.26); }
.car-track.swap .slide { animation: slide3d .7s ease; }
@keyframes slide3d { 0% { transform: translateY(20px) scale(.97); opacity: .5; } 100% { transform: none; opacity: 1; } }

.slide-inner {
  position: relative; z-index: 2; width: 100%; padding: 2.4rem 1.8rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; justify-content: center;
}
.slide-figure { flex: none; display: flex; align-items: center; justify-content: center; }
.slide-label { width: min(58vw, 230px); height: auto; object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.6)); transition: transform .5s ease; }
.slide:hover .slide-label { transform: rotate(-2deg) scale(1.04); }
/* contenu texte : verre dépoli */
.slide-text { max-width: 44ch; background: rgba(18,14,10,.42); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(196,154,92,.30); border-radius: 16px; padding: 1.4rem 1.6rem; }
.slide h3 { font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(1.5rem, 4.5vw, 2.1rem); color: var(--parchemin); margin: 0 0 .5rem; }
.slide-desc { margin: .6rem 0 .7rem; color: #f4ecdb; }
.slide-use { font-size: .92rem; color: var(--texte-doux); margin: 0 0 .6rem; }
.slide-use span { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; color: var(--safran); }
.slide-origin { font-style: italic; font-size: .9rem; color: var(--laiton); margin: .4rem 0 0; }

/* étapes macération — photos rondes */
.step-photo { margin: 0; flex: none; }
.step-photo img { width: clamp(150px, 42vw, 230px); height: clamp(150px, 42vw, 230px); object-fit: cover; border-radius: 50%;
  border: 3px solid rgba(196,154,92,.55); box-shadow: 0 12px 28px rgba(0,0,0,.55); }
.step-num { display: block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--safran); margin-bottom: .3rem; }
.step-slide { min-height: 340px; }

.heat { display: inline-flex; align-items: center; gap: .55rem; }
.heat-label { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--texte-doux); }
.flames { display: inline-flex; gap: .1rem; font-size: 1rem; }
.flames b { filter: grayscale(1) brightness(.5); opacity: .55; }
.flames b.on { filter: none; opacity: 1; }
.heat-num { font-family: "Oswald", sans-serif; font-weight: 600; color: var(--parchemin); }

/* heading carrousel étapes */
.fab-steps-head { text-align: center; max-width: 680px; margin: 3.4rem auto 1.8rem; }

/* flèches + dots */
.car-arrow {
  position: absolute; top: 34%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  cursor: pointer; border: 1px solid var(--laiton); background: rgba(20,16,12,.78); color: var(--parchemin);
  font-size: 1.8rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.car-arrow:hover { background: var(--braise); border-color: var(--braise); }
.car-prev { left: 12px; } .car-next { right: 12px; }
.car-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.2rem; }
.car-dot { width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer; border: 1px solid var(--laiton); background: transparent; transition: background .2s, transform .2s; }
.car-dot[aria-selected="true"] { background: var(--safran); border-color: var(--safran); transform: scale(1.2); }

/* ============================================================
   FABRICATION
   ============================================================ */
.fab-band {
  position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 4.5rem 1.2rem; background-size: cover; background-position: center;
  background-image: linear-gradient(rgba(12,16,28,.66), rgba(20,16,12,.82)), url("img/band-peppers.webp");
  border-top: 1px solid rgba(196,154,92,.3); border-bottom: 1px solid rgba(196,154,92,.3);
}
.fab-overlay { max-width: 640px; }
.fab-overlay p { color: #efe6d2; margin: 0; }
.fab-steps { max-width: var(--maxw); margin: 0 auto; padding: 3.4rem 1.2rem; display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.fab-step { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(196,154,92,.3); }
.fab-step img { width: 100%; height: 300px; object-fit: cover; }
.fab-step figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem 1rem;
  background: linear-gradient(transparent, rgba(10,8,6,.92));
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--safran);
}

/* ============================================================
   HISTOIRE
   ============================================================ */
.histoire { padding: 4.8rem 1.2rem; position: relative; isolation: isolate; }
.histoire::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(20,16,12,.86), rgba(20,16,12,.95)), url("img/composition_brand.jpg") center/cover; }
.histoire-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 720px; margin: 0 auto; }
.histoire-text p { margin: 0 0 1.1rem; }
.histoire-text strong { color: var(--orange); font-weight: 600; }
.crans-emblem { margin: 2rem 0 0; text-align: center; }
.crans-emblem img { width: min(58vw, 230px); height: auto; aspect-ratio: 596 / 745; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.55)); }
.crans-emblem figcaption { font-size: .78rem; color: var(--texte-doux); font-style: italic; margin-top: .7rem; }

/* ============================================================
   COMMANDER
   ============================================================ */
.commander { padding: 5.5rem 1.2rem; text-align: center; position: relative; isolation: isolate;
  background: radial-gradient(100% 80% at 50% 100%, #241a2e 0%, var(--bois) 60%); border-top: 1px solid rgba(196,154,92,.2); }
.commander::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(20,16,12,.66), rgba(20,16,12,.84)), url("img/composition_brand.jpg") center/cover no-repeat;
}
.commander-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.calavera-precommande { width: clamp(120px, 30vw, 160px); height: auto; display: block; margin: 0 auto 1.2rem;
  filter: drop-shadow(0 10px 20px rgba(216,68,43,.4)); transition: transform .5s ease; }
.calavera-precommande:hover { transform: scale(1.05) rotate(2deg); }
.commander-text { color: var(--texte-doux); margin: 0 0 1.8rem; }
.commander-mail { font-family: "Oswald", sans-serif; letter-spacing: .08em; color: var(--laiton); margin: 1.2rem 0 0; font-size: .9rem; }

.btn {
  display: inline-block; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .14em;
  font-size: .85rem; text-decoration: none; padding: .9rem 1.9rem; border-radius: 10px; border: 1.5px solid var(--laiton);
  transition: transform .15s, background .2s, box-shadow .2s; will-change: transform;
}
.btn-primary { background: var(--braise); border-color: var(--braise); color: #fff; box-shadow: 0 0 0 rgba(216,68,43,0); }
.btn-primary:hover { background: #e8512f; box-shadow: 0 8px 30px rgba(216,68,43,.45); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: .98rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0e0b08; border-top: 1px solid rgba(196,154,92,.25); padding: 2.8rem 1.2rem; position: relative; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(14,11,8,.88), rgba(14,11,8,.96)), url("img/composition_brand.jpg") center/cover; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.footer-logo { width: min(60vw, 220px); height: auto; margin: 0 auto 1rem; opacity: .9; }
.footer-emblem { width: 52px; height: auto; aspect-ratio: 596 / 745; object-fit: contain; margin: .2rem auto .4rem; opacity: .9; }
.footer-emblem-note { font-size: .72rem; color: #7a7058; margin: .25rem 0 0; }
.footer-legal { font-size: .8rem; color: #8a7f68; margin: .4rem 0 0; }

/* ============================================================
   Easter egg — flamme
   ============================================================ */
.easter-pyro {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease; /* sortie douce */
  /* glow discret pleine largeur en bas, le reste transparent -> le contenu transparaît */
  background: radial-gradient(140% 26vh at 50% 100%, rgba(216,68,43,.20), transparent 72%);
}
.easter-pyro.active { opacity: 1; visibility: visible; transition: opacity .5s ease, visibility .5s ease; }

/* (shimmer + scan-line plein écran retirés : flamme unique discrète, le contenu prime) */

/* colonnes de flammes — vraies textures, 3 couches superposées en blend screen */
.flame-stack {
  position: absolute; bottom: 0; left: 0;
  width: 100vw; height: clamp(150px, 26vh, 300px); /* nappe pleine largeur, basse */
  pointer-events: none;
}
.flame-video {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center bottom; /* cover = recadre sans déformer */
  mix-blend-mode: screen; /* fond noir de la footage -> transparent, le contenu transparaît */
  filter: brightness(1.08) saturate(1.18) contrast(1.16); /* contraste = écrase le fond résiduel */
  /* nette en bas, se dissout vers le haut dans le contenu (pas de bord franc) */
  -webkit-mask-image: linear-gradient(to top, #000 52%, transparent 100%);
          mask-image: linear-gradient(to top, #000 52%, transparent 100%);
}

/* particules fines, montée en spirale, concentrées sur les bords (positions générées en JS) */
.sparks { position: absolute; inset: 0; }
.spark { position: absolute; bottom: 3vh; left: var(--l); width: 3px; height: 3px; border-radius: 50%;
  background: #F5E6C8; box-shadow: 0 0 6px 1px rgba(238,138,31,.9); opacity: 0;
  will-change: transform, opacity; mix-blend-mode: screen; }
.easter-pyro.active .spark { animation: sparkRise var(--t,2s) ease-out var(--d,0s) infinite; }
@keyframes sparkRise {
  0%   { transform: translate(0,0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  35%  { transform: translate(calc(var(--x,12px) * -1), -26vh) scale(.85); }
  65%  { transform: translate(var(--x,12px), -50vh) scale(.55); opacity: .8; }
  100% { transform: translate(0, -74vh) scale(.2); opacity: 0; }
}

/* message centré, lisible toute la durée */
.pyro-message {
  position: absolute; top: 38%; left: 50%; transform: translate(-50%,-50%); width: max-content; max-width: 90vw; text-align: center;
  font-family: "Cinzel", serif; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(1.3rem, 6vw, 3.4rem); color: var(--safran);
  text-shadow: 0 0 24px rgba(216,68,43,.9), 0 0 54px rgba(238,138,31,.6), 0 0 92px rgba(232,176,74,.35); opacity: 0;
}
.easter-pyro.active .pyro-message { animation: pyroMsg 5s ease-out forwards; }
@keyframes pyroMsg {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(.7); }
  10%  { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  88%  { opacity: 1; transform: translate(-50%,-51%) scale(1.02); }
  100% { opacity: 0; transform: translate(-50%,-55%) scale(1.08); }
}
/* secousse écran */
.pyro-shake { animation: pyroShake .8s ease-out; }
@keyframes pyroShake {
  0%,100% { transform: translate(0,0); }
  15% { transform: translate(-6px,3px); } 30% { transform: translate(6px,-4px); }
  45% { transform: translate(-5px,-2px); } 60% { transform: translate(5px,3px); }
  75% { transform: translate(-3px,2px); } 88% { transform: translate(2px,-1px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .slide-inner { flex-direction: row; text-align: left; align-items: center; gap: 2.8rem; padding: 2.4rem 3rem; }
  .slide-text { flex: 1; }
  .slide-label { width: min(32vw, 260px); }
  .step-photo img { width: clamp(180px, 22vw, 250px); height: clamp(180px, 22vw, 250px); }
  .heat { display: inline-flex; }
  .histoire-grid { max-width: 760px; }
  .fab-band { background-attachment: fixed; }
}
@media (min-width: 1024px) {
  body { font-size: 19px; }
}
@media (max-width: 380px) {
  .slide { min-height: 520px; }
}

/* ============================================================
   MOUVEMENT RÉDUIT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #intro { display: none !important; }
  .marquee-track, .scroll-cue svg, .sound-arrow { animation: none !important; }
  .seal { animation: none !important; opacity: 1; transform: none; }
  .founded-line { animation: none !important; color: var(--orange); transform: none;
    text-shadow: 0 0 14px rgba(216,68,43,.7), 0 0 28px rgba(238,138,31,.5); }
  .pyro-shake { animation: none !important; }
  .easter-pyro.active .spark, .easter-pyro.active .pyro-message { animation: none !important; }
  .easter-pyro.active::before, .easter-pyro.active::after { animation: none !important; opacity: 0; }
  .easter-pyro .sparks, .easter-pyro .flame-video { display: none; }
  .easter-pyro.active .pyro-message { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .car-track, .slide-media { transition: none; }
  .car-track.swap .slide { animation: none; }
  .slide:hover .slide-media { transform: scale(1.04); }
  .cursor { display: none !important; }
  .fab-band { background-attachment: scroll; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
