/* ═══════════════════════════════════════════════════════════════
   HERO — Section d'accroche principale
   ═══════════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  background-color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Texture grain CSS */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

/* Texture subtile blanc sur fond rouge */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.05) 40px,
    rgba(255, 255, 255, 0.05) 41px
  );
  pointer-events: none;
  z-index: 0;
}

/* Image de fond hero */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* Blob décoratif blanc sur rouge */
.hero__blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-lg);
}

/* ── Accroche principale ─────────────────────────────────────── */
.hero__eyebrow {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s ease forwards 0.1s;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 0.9;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.7s ease forwards 0.25s;
}

.hero__subheadline {
  font-family: var(--font-label);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s ease forwards 0.45s;
}

/* ── Badge kasher ────────────────────────────────────────────── */
.hero__kasher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 0.4rem 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeSlideUp 0.6s ease forwards 0.6s;
}

.hero__kasher-icon {
  font-size: 0.9rem;
}

/* ── 4 boutons de commande uniformes (accueil) : téléphone en plein,
   les 3 plateformes en contour — même forme/taille pour les 4 ──────── */
.hero__ctas {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s ease forwards 0.75s;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero__cta--primary {
  background-color: var(--white);
  color: var(--red);
}

.hero__cta--primary:visited {
  color: var(--red);
}

.hero__cta--primary:hover {
  background-color: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Bordure 1px compensée dans le padding pour garder une taille de bouton
   strictement identique au bouton plein (sans bordure) */
.hero__cta--secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: calc(0.9rem - 1px) calc(1.8rem - 1px);
}

.hero__cta--secondary:visited {
  color: var(--white);
}

.hero__cta--secondary:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero__cta-icon {
  font-size: 1rem;
}

/* Numéro + sous-texte ("On livre aussi !") empilés dans le bouton téléphone */
.hero__cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.hero__cta-subtext {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--red);
  opacity: 0.7;
}

/* ── Bloc commande menu.html : appel direct en priorité, livraison en secondaire ─── */
/* Priorité business : le téléphone (0% commission) doit dominer visuellement
   les 3 plateformes de livraison (qui prennent une commission). */
.hero__order {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s ease forwards 0.75s;
}

.hero__order-eyebrow {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* CTA principal : appel direct (menu.html — variante bouton plein) */
.hero__phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-family: var(--font-label);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--red);
  background-color: var(--white);
  border-radius: 50px;
  padding: 0.85rem 1.7rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero__phone-cta:visited {
  color: var(--red);
}

.hero__phone-cta:hover {
  background-color: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.hero__phone-cta-icon {
  font-size: 1rem;
}

/* Options secondaires : livraison via plateformes tierces */
.hero__delivery-label {
  margin-top: 0.3rem;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__delivery-ctas {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero__delivery-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero__delivery-btn:visited {
  color: rgba(255, 255, 255, 0.75);
}

.hero__delivery-btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* ── Animation keyframes ─────────────────────────────────────── */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Respect prefers-reduced-motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow,
  .hero__headline,
  .hero__subheadline,
  .hero__kasher,
  .hero__ctas,
  .hero__order {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero__container {
    align-items: center;
    text-align: center;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero__cta {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  .hero__cta-text {
    text-align: center;
  }

  .hero__order {
    align-items: center;
    width: 100%;
  }

  .hero__phone-cta {
    font-size: 1.05rem;
    padding: 0.8rem 1.5rem;
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  .hero__delivery-ctas {
    justify-content: center;
    width: 100%;
  }

  .hero__blob {
    width: 300px;
    height: 300px;
    opacity: 0.6;
  }
}

@media (max-width: 480px) {
  .hero__headline {
    font-size: clamp(4rem, 22vw, 7rem);
  }
}
