/* =========================================================
   YUZORA – feuille de style
   Toutes les couleurs et polices se changent ici, dans :root
   ========================================================= */
:root {
  --bordeaux: #700103;
  --bordeaux-fonce: #4f0002;
  --rose: #FFE4E6;
  --blanc: #FFFFFF;
  --texte: #111111;
  --gris: #5C5555;

  --police: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --largeur: 1180px;
  --marge: 1.25rem;
  --rayon: 18px;
  --espace-section: clamp(3.5rem, 9vw, 7rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--police);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0 0 1rem;
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 5.2vw, 3rem); color: var(--bordeaux); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.25rem; max-width: 60ch; }

a { color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--bordeaux);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header :focus-visible,
.hero :focus-visible,
.section--bordeaux :focus-visible,
.site-footer :focus-visible { outline-color: var(--blanc); }

.container {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--marge);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--blanc); color: var(--bordeaux);
  padding: .75rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Bandeau prochain stand ---------- */
.announce {
  margin: 0; max-width: none;
  background: var(--rose); color: var(--bordeaux);
  text-align: center; font-size: .8125rem; font-weight: 600;
  padding: .5rem var(--marge);
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex; align-items: center; margin: 0;
  font-weight: 800; font-size: 1.5rem; line-height: 1;
  letter-spacing: .14em; text-decoration: none; color: var(--blanc);
}
.logo img { display: block; height: 28px; width: auto; }
.logo--footer img { height: 34px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bordeaux); color: var(--blanc);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.site-header__tools { display: flex; align-items: center; gap: .5rem; }

.lang { margin: 0; font-size: .875rem; font-weight: 600; display: flex; gap: .15rem; align-items: center; }
.lang a { text-decoration: none; padding: .6rem .35rem; opacity: .75; }
.lang a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang a:hover { opacity: 1; }

.burger {
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: inherit; cursor: pointer;
  display: grid; place-items: center;
}
.burger__bars, .burger__bars::before, .burger__bars::after {
  display: block; width: 24px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform .25s ease, background-color .25s ease;
}
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile : panneau déroulant sous l'en-tête */
.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bordeaux); border-top: 1px solid rgba(255,255,255,.18);
  padding: .5rem var(--marge) 1.5rem;
  display: none;
}
.nav.is-open { display: block; }
html:not(.js) .nav { display: block; position: static; }
.nav a {
  display: block; padding: .9rem 0;
  font-weight: 600; font-size: 1.125rem; text-decoration: none;
  text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

@media (min-width: 960px) {
  .burger { display: none; }
  .nav {
    position: static; display: block; padding: 0; border: 0; background: none;
  }
  .nav ul { display: flex; gap: 1.75rem; }
  .nav a { padding: .5rem 0; font-size: .8125rem; border: 0; }
}

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .85rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .9375rem; line-height: 1.25;
  text-decoration: none; text-align: center;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--blanc); color: var(--bordeaux); }
.btn--light:hover { background: var(--rose); }
.btn--outline { border-color: var(--blanc); color: var(--blanc); }
.btn--outline:hover { background: var(--blanc); color: var(--bordeaux); }
.btn--dark { background: var(--bordeaux); color: var(--blanc); }
.btn--dark:hover { background: var(--bordeaux-fonce); }

.btn-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 600px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

.link-arrow {
  display: inline-block; padding: .5rem 0;
  font-weight: 600; color: var(--bordeaux);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px;
}
.link-arrow::after { content: " →"; display: inline-block; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

.eyebrow {
  margin-bottom: 1rem;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em;
  color: var(--rose);
}
.eyebrow--dark { color: var(--bordeaux); }

/* ---------- Ouverture (hero) ---------- */
.hero {
  background:
    radial-gradient(60rem 40rem at 85% 30%, rgba(255,228,230,.14), transparent 60%),
    var(--bordeaux);
  color: var(--blanc);
  overflow: hidden;
}
.hero__inner {
  display: grid; gap: 2.5rem;
  padding-block: clamp(2.5rem, 8vw, 5rem) 0;
}
.hero__title {
  font-size: clamp(3.25rem, 15.5vw, 8rem);
  line-height: .92; letter-spacing: .01em; margin-bottom: 1.25rem;
}
.hero__x { color: var(--rose); font-weight: 400; text-transform: lowercase; }
.hero__sub { font-size: clamp(1.125rem, 3.5vw, 1.5rem); font-weight: 600; margin-bottom: 2rem; }

.hero__visual { display: grid; place-items: center; margin-bottom: -3rem; }
.hero__inner:has(.hero__visual[hidden]) { padding-bottom: clamp(3rem, 10vw, 4.5rem); }
.hero__can {
  width: min(58vw, 260px); height: auto;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.35));
  animation: flotte 6s ease-in-out infinite;
}
@keyframes flotte {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-14px) rotate(5deg); }
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.35fr .65fr; align-items: center;
    min-height: min(78vh, 720px); padding-block: 4rem;
  }
  .hero__inner:has(.hero__visual[hidden]) { grid-template-columns: 1fr; }
  .hero__visual { margin-bottom: 0; }
  .hero__can { width: clamp(240px, 22vw, 320px); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--espace-section); }
.section--rose { background: var(--rose); }
.section--bordeaux { background: var(--bordeaux); color: var(--blanc); }
.section--bordeaux h2 { color: var(--blanc); }
.section__head { margin-bottom: 2rem; }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* 3 points forts */
.features { display: grid; gap: 2.5rem; }
.feature__num {
  display: block; margin-bottom: .75rem;
  font-weight: 800; font-size: .875rem; letter-spacing: .15em; color: var(--bordeaux);
}
.feature__num::after {
  content: ""; display: block; width: 2.5rem; height: 3px; margin-top: .75rem; background: var(--bordeaux);
}
.feature h3 { font-size: 1.5rem; color: var(--bordeaux); }
.feature p { color: var(--gris); margin: 0; }
@media (min-width: 800px) { .features { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; } }

/* Chiffres clés */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.facts li {
  background: var(--blanc); border-radius: var(--rayon);
  padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: .25rem;
}
.facts strong {
  font-weight: 800; font-size: clamp(1.375rem, 5vw, 2rem); line-height: 1.1;
  color: var(--bordeaux); text-transform: uppercase; letter-spacing: .02em;
}
.facts span { font-size: .875rem; color: var(--gris); }

/* Photos */
.media { margin: 0; }
.media img { display: block; width: 100%; height: auto; border-radius: var(--rayon); object-fit: cover; }
/* Sans photo, le texte occupe toute la largeur */
.split:has(> .media[hidden]) { grid-template-columns: 1fr; }

/* Événements */
.events { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.event {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  background: var(--blanc); border-radius: var(--rayon); padding: 1.25rem;
  max-width: 720px;
}
.event__date {
  display: grid; place-items: center; align-content: center;
  width: 76px; height: 84px; border-radius: 12px;
  background: var(--bordeaux); color: var(--blanc); text-transform: uppercase;
}
.event__day { font-weight: 800; font-size: 2rem; line-height: 1; }
.event__month { font-weight: 600; font-size: .75rem; letter-spacing: .12em; }
.event__tag {
  margin: 0 0 .25rem; font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: var(--bordeaux);
}
.event h3 { margin-bottom: .4rem; font-size: 1.125rem; color: var(--texte); }
.event p { margin: 0; color: var(--gris); font-size: .9375rem; }
.event .badge {
  display: inline-block; margin-top: .6rem; padding: .2rem .7rem; border-radius: 999px;
  background: var(--rose); color: var(--bordeaux); font-size: .75rem; font-weight: 600;
}
.event .link-arrow { margin-top: .4rem; font-size: .9375rem; }
@media (min-width: 600px) { .event { padding: 1.75rem; gap: 1.75rem; } }

/* Instagram */
.insta { text-align: center; }
.insta p { margin-inline: auto; }
.insta__handle {
  font-size: clamp(2.25rem, 10vw, 5rem); text-transform: none; letter-spacing: 0;
  overflow-wrap: anywhere;
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--texte); color: var(--blanc); padding-block: 3.5rem 2rem; font-size: .9375rem; }
.site-footer__inner { display: grid; gap: 2rem; }
.site-footer__title {
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; color: var(--rose); margin-bottom: .75rem;
}
.site-footer a { text-underline-offset: 4px; display: inline-block; padding-block: .3rem; }
.site-footer a:hover { color: var(--rose); }
.logo--footer { font-size: 1.75rem; margin-bottom: 1rem; }
.site-footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18);
  font-size: .8125rem; color: #cfc9c9;
}
.site-footer__bottom p { margin: 0; max-width: none; }
@media (min-width: 800px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Apparition douce au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Animations coupées si la personne l'a demandé dans son système */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__can { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .link-arrow::after { transition: none; }
  .btn:hover { transform: none; }
}

/* =========================================================
   Pages intérieures
   ========================================================= */
.page-hero {
  background:
    radial-gradient(50rem 30rem at 90% 0%, rgba(255,228,230,.14), transparent 60%),
    var(--bordeaux);
  color: var(--blanc);
  padding-block: clamp(3rem, 9vw, 6rem);
}
.page-hero h1 { font-size: clamp(2.5rem, 9vw, 5.5rem); line-height: .95; margin-bottom: 1.25rem; }
.page-hero .lead { font-size: clamp(1.0625rem, 2.6vw, 1.3rem); margin: 0; max-width: 46ch; }
.page-hero--full { min-height: 70vh; display: grid; align-items: center; }
.page-hero--full .lead { margin-bottom: 2rem; }

.split--top { align-items: start; }
.narrow { max-width: 760px; }

/* Cartes */
.cards { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--blanc); border: 1px solid #eadcdc; border-radius: var(--rayon);
  padding: 1.75rem 1.5rem;
}
.card h3 { color: var(--bordeaux); font-size: 1.125rem; }
.card p { color: var(--gris); margin: 0; }
.card--rose { background: var(--rose); border: 0; padding: clamp(1.75rem, 4vw, 2.75rem); }
.card--rose h3 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
.card--rose p { color: var(--texte); }

/* Étapes */
.steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: etape; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps li { counter-increment: etape; }
.steps li::before {
  content: counter(etape, decimal-leading-zero);
  display: block; font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--bordeaux); margin-bottom: .75rem;
}
.steps h3 { font-size: 1.125rem; }
.steps p { color: var(--gris); margin: 0; }

/* Ingrédients et tableau nutritionnel */
.ingredients { font-size: 1.0625rem; }
.ingredients::first-letter { text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tags li {
  background: var(--blanc); color: var(--bordeaux); border-radius: 999px;
  padding: .4rem 1rem; font-size: .875rem; font-weight: 600;
}
.nutri {
  width: 100%; border-collapse: collapse; background: var(--blanc);
  border-radius: var(--rayon); overflow: hidden; font-size: .9375rem;
}
.nutri caption {
  caption-side: top; text-align: left; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  color: var(--bordeaux); font-size: 1.125rem; margin-bottom: 1rem;
}
.nutri th, .nutri td { padding: .8rem 1.25rem; text-align: left; border-bottom: 1px solid #f1e3e4; }
.nutri thead th {
  background: var(--bordeaux); color: var(--blanc); font-size: .75rem;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 600;
}
.nutri td { text-align: right; font-weight: 600; white-space: nowrap; }
.nutri thead th:last-child { text-align: right; }
.nutri tbody th { font-weight: 400; }
.nutri .sous th { padding-left: 2.25rem; color: var(--gris); }
.nutri tr:last-child th, .nutri tr:last-child td { border-bottom: 0; }

.facts--4 { margin-bottom: 3rem; }
.section:not(.section--rose) .facts li { background: var(--rose); }
@media (min-width: 900px) { .facts--4 { grid-template-columns: repeat(4, 1fr); } }

/* Bandeau d'appel à l'action */
.cta-band {
  display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start;
  background: var(--bordeaux); color: var(--blanc); border-radius: var(--rayon);
  padding: clamp(1.75rem, 4vw, 2.75rem); margin-top: 2.5rem;
}
.cta-band h2, .cta-band h3 { color: var(--blanc); font-size: clamp(1.375rem, 3.5vw, 2rem); margin-bottom: .5rem; }
.cta-band p { margin: 0; }
.cta-band .btn--dark { background: var(--blanc); color: var(--bordeaux); }
.cta-band .btn--dark:hover { background: var(--rose); }
.cta-band :focus-visible { outline-color: var(--blanc); }
@media (min-width: 800px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Équipe */
.team { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.member {
  border-top: 3px solid var(--bordeaux); padding: 1.25rem 0 .5rem;
}
.member__role {
  display: block; font-weight: 800; font-size: 1.5rem; letter-spacing: .06em; color: var(--bordeaux); margin-bottom: .5rem;
}
.member h3 { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 1.125rem; margin-bottom: .2rem; }
.member p { color: var(--gris); margin: 0; }
.section--bordeaux strong { color: var(--blanc); }

/* Partenaires */
.partners { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.partner { background: var(--blanc); border-radius: var(--rayon); padding: 1.5rem; }
.partner h3 { font-size: 1.0625rem; color: var(--bordeaux); margin-bottom: .3rem; }
.partner p { margin: 0; color: var(--gris); font-size: .9375rem; }
.partners__empty {
  font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(1.5rem, 5vw, 2.25rem); color: var(--bordeaux); margin: 0;
}

/* Contact */
.contact-list { display: grid; gap: 1.75rem; margin-bottom: 2rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list__label {
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--bordeaux);
}
.contact-list__value { font-weight: 800; font-size: clamp(1.375rem, 4vw, 1.75rem); overflow-wrap: anywhere; }

/* Formulaires */
.form { margin-top: 1.5rem; }
.form__grid { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .split .form__grid { grid-template-columns: 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field textarea {
  font: inherit; color: var(--texte); background: var(--blanc);
  border: 1.5px solid #c9b9ba; border-radius: 12px; padding: .8rem 1rem; min-height: 52px; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--bordeaux); outline-offset: 1px; }
.form .user-invalid, .field :user-invalid { border-color: #b3261e; }
.check { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; flex: none; accent-color: var(--bordeaux); }
.check label { font-size: .9375rem; }
.form__note { font-size: .875rem; color: var(--gris); }
.form__note a { color: var(--bordeaux); }
.form button { cursor: pointer; font-family: inherit; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Textes légaux */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--bordeaux); }
.muted { color: var(--gris); font-size: .875rem; }

/* =========================================================
   Vidéo d'ouverture (accueil) – visible seulement si assets/video/hero.mp4 existe
   ========================================================= */
.hero { position: relative; isolation: isolate; }
.hero__media { position: absolute; inset: 0; pointer-events: none; }
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(30,0,1,.45) 0%, rgba(30,0,1,.1) 35%, rgba(30,0,1,.8) 100%),
    linear-gradient(90deg, rgba(70,0,2,.55) 0%, transparent 70%);
}
.hero__controls {
  position: absolute; z-index: 2; right: var(--marge); bottom: 1.25rem;
  display: flex; gap: .5rem; pointer-events: auto;
}
.hero__ctrl {
  min-height: 44px; padding: .5rem 1.1rem; cursor: pointer;
  font: 600 .8125rem/1 var(--police); letter-spacing: .06em; text-transform: uppercase;
  color: var(--blanc); background: rgba(0,0,0,.25);
  border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .2s ease, color .2s ease;
}
.hero__ctrl:hover { background: var(--blanc); color: var(--bordeaux); }

.hero--video { background: var(--bordeaux-fonce); }
.hero--video .hero__visual { display: none; }
.hero--video .hero__inner {
  grid-template-columns: 1fr;
  min-height: min(88svh, 860px);
  align-content: end;
  padding-block: 6rem 6.5rem;
}
.hero--video .hero__title { text-shadow: 0 2px 30px rgba(0,0,0,.25); }
@media (min-width: 900px) {
  .hero--video .hero__inner { padding-bottom: 5.5rem; }
}
/* Sur téléphone : boutons vidéo en haut à droite pour ne pas gêner les boutons d'action */
@media (max-width: 899px) {
  .hero__controls { top: 1rem; bottom: auto; }
  .hero--video .hero__inner { padding-bottom: 3.5rem; }
}
