/* -------------------------------------------
   BASE
------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(circle at top, #2b2b2b 0%, #050505 55%, #000 100%);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Tahoma, Arial, sans-serif;
  color: #f5f5f5;
  overflow-x: hidden;
}

/* AOS base */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

/* Conteneur général */
.page-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  padding: 32px 20px 24px;
}

/* Contenu principal centré */
.container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  animation: fadeIn 1.2s ease-in-out;
}

/* -------------------------------------------
   INTRO CINÉMATIQUE PREMIUM
------------------------------------------- */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at top, #222 0%, #000 60%);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  animation: introFade 0.7s ease-out 0.15s forwards;
}

.intro-inner {
  position: relative;
  text-align: center;
  padding: 36px 42px;
  border-radius: 28px;
  background: radial-gradient(circle at top, rgba(255,255,255,0.05), rgba(0,0,0,0.95));
  box-shadow:
    0 18px 60px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
}

.intro-pizza-ring {
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background:
    conic-gradient(from 120deg,
      rgba(231,76,60,0.25),
      rgba(39,174,96,0.25),
      rgba(255,255,255,0.05),
      rgba(231,76,60,0.25));
  opacity: 0.35;
  filter: blur(4px);
  animation: ringSpin 7s linear infinite;
}

.intro-logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 600;
}

.intro-le {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f5f5f5;
}

.intro-716 {
  font-size: 3.4rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.intro-tagline {
  position: relative;
  margin: 10px 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4d4d4;
}

/* Intro animation */
@keyframes introFade {
  0%   { opacity: 1; transform: translateY(0); }
  70%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); visibility: hidden; }
}

@keyframes ringSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Réduction motion */
@media (prefers-reduced-motion: reduce) {
  .intro-overlay {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
  .intro-pizza-ring {
    animation: none;
  }
}

/* -------------------------------------------
   HERO + FOND
------------------------------------------- */

/* Fond image 16/9 + dégradé sombre */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.95) 60%, #000 100%),
    url("chaisesbar.webp") center top / cover no-repeat;
  opacity: 0.9;
}

/* MOBILE : garder l’image mais plus contenue */
@media (max-width: 768px) {
  .hero-bg {
    background:
      linear-gradient(to bottom,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.95) 45%,
        #000 100%),
      url("chaisesbar.webp") center top / contain no-repeat;
  }
}

/* Bloc hero */
.hero {
  position: relative; /* important pour le ::before */
  padding: 40px 24px 24px;
  border-radius: 28px;

  /* teinte sombre légèrement transparente */
  background: rgba(15, 15, 15, 0.1);

  /* verre dépoli */
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(0px) saturate(180%);

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.10);

  color: #f9f9f9;
}

/* reflet “verre” par-dessus */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.35) 0%,   /* gros highlight en haut/gauche */
    rgba(255, 255, 255, 0.05) 35%,
    rgba(255, 255, 255, 0.00) 60%
  );
  opacity: 0.9;
}


.hero-main {
  text-align: left;
}

.hero-logo-block {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.hero-le {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f0f0f0;
}

.hero-716 {
  font-size: clamp(3.1rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.hero-tagline {
  font-size: 0.88rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #d6d6d6;
}

.hero-sub {
  margin: 18px 0 22px;
  font-size: 1rem;
  max-width: 640px;
  color: #f2f2f2;
}

/* CTA */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

/* Horaires */
.hero-hours {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #dcdcdc;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}

.hero-hours strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-delivery {
  margin-top: 6px;
  font-weight: 500;
  color: #f0f0f0;
}

/* -------------------------------------------
   BOUTONS GLOBAUX
------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;

  position: relative;  /* pour le shimmer */
  overflow: hidden;    /* le shimmer reste dans le bouton */
}

/* Shimmer sur tous les boutons */
.btn::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
  animation: btn-shimmer 0.6s ease-out;
}

@keyframes btn-shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.btn-primary {
  background: linear-gradient(135deg, #e74c3c, #e67e22);
  border-color: rgba(255,255,255,0.12);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.65);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.8);
}

.btn-call::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background-image: url("telephone.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 85% auto;

  /* le fond noir disparaît, on ne garde que le blanc */
  mix-blend-mode: screen;

  opacity: 0.30;        /* tu peux laisser 0.30 ou remettre 0.35 */
  pointer-events: none;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
  color: #f4f4f4;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.03);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.14);
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid #27ae60;
  outline-offset: 3px;
}

/* Bouton interne aux cartes */
.card-btn {
  align-self: center;
  margin-top: auto;
}

/* -------------------------------------------
   MENUS (cartes restaurant / pizzas)
------------------------------------------- */

.menu-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 34px auto 34px;
}

@media (min-width: 720px) {
  .menu-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.menu-card {
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 20px 18px 18px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.65);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card-full-link {
  position: absolute;
  inset: 0;         /* couvre toute la card */
  z-index: 5;       /* passe devant */
}

/* --- CARTE PIZZA AVEC IMAGE EN FOND ET RETRAIT 1PX --- */

.menu-card-pizza {
  position: relative;
  background: none; /* L’image sera dans ::after */
}

/* Image de fond (reculée de 1px pour ne pas toucher les bords) */
.menu-card-pizza::after {
  content: "";
  position: absolute;
  inset: 1px; /* 👈 retrait exact */
  background-image: url("pizza.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: inherit; /* arrondi parfait */
  z-index: 1;
}

/* Voile + blur pour garder le texte lisible */
.menu-card-pizza::before {
  content: "";
  position: absolute;
  inset: 1px; /* même retrait pour s’aligner parfaitement */
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.52);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

/* Texte et contenu au-dessus */
.menu-card-pizza > *:not(.card-full-link) {
  position: relative;
  z-index: 3;
}

/* --- CARTE RESTAURANT AVEC IMAGE EN FOND ET RETRAIT 1PX --- */

.menu-card-restaurant {
  position: relative;
  background: none; /* L’image sera dans ::after */
}

/* Image de fond (reculée de 1px pour ne pas toucher les bords) */
.menu-card-restaurant::after {
  content: "";
  position: absolute;
  inset: 1px; /* 👈 retrait exact */
  background-image: url("restaurant.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: inherit; /* arrondi parfait */
  z-index: 1;
}

/* Voile + blur pour garder le texte lisible */
.menu-card-restaurant::before {
  content: "";
  position: absolute;
  inset: 1px; /* même retrait pour s’aligner parfaitement */
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.52);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
}

/* Texte et contenu au-dessus */
.menu-card-restaurant > *:not(.card-full-link) {
  position: relative;
  z-index: 3;
}

/* Lien invisible (clique toute la carte) – laissé intact */
.card-full-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}



.menu-card h2 {
  font-size: 1.3rem;
  margin: 2px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffffff;
}

.menu-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

/* On garde cette classe pour cohérence globale */
.menu-card-index {
  /* Accent léger rouge/vert comme sur le flyer */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 14px 36px rgba(0,0,0,0.75);
}

/* -------------------------------------------
   LOCALISATION / MAP
------------------------------------------- */

.location-cta {
  text-align: center;
  margin-bottom: 18px;
}

.address-line {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: #e0e0e0;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 24px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 18px 50px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.08);
}

.map-container iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* -------------------------------------------
   FOOTER
------------------------------------------- */

footer {
  text-align: center;
  font-size: 0.85rem;
  color: #bdbdbd;
  margin-top: 4px;
}

.footer-top {
  margin: 0 0 4px;
}

.footer-links {
  margin: 0;
}

footer a {
  color: #ecf0f1;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

footer a:hover {
  color: #27ae60;
  border-color: rgba(39,174,96,0.6);
}

/* -------------------------------------------
   MENUS INTERNES (restaurant.html / pizzas.html)
   -> on garde tes styles existants pour le reste
------------------------------------------- */

.menu-section {
  margin: 60px auto;
  padding: 20px;
  max-width: 700px;
  text-align: left;
  background: rgba(0,0,0,0.82);
  border-radius: 22px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.08);
}

.menu-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ffffff;
}

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

.menu-section li {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.menu-section li strong {
  display: inline-block;
  font-weight: 700;
  color: #ffffff;
}

/* Ligne ingrédients FR */
.menu-section li em.fr {
  display: block;
  font-size: 0.9rem;
  opacity: 0.95;
  font-style: italic;
  line-height: 1.4;
  color: #f0f0f0;
}

/* Ligne ingrédients EN */
.menu-section li em.en {
  display: block;
  font-size: 0.85rem;
  opacity: 0.75;
  font-style: italic;
  color: #c8c8c8;
  margin-top: 2px;
}

.menu-section li:last-child {
  border-bottom: none;
}

/* Tableau allergènes */
.allergen-table {
  overflow-x: auto;
}

.allergen-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9rem;
}

.allergen-table th,
.allergen-table td {
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px;
}

.allergen-table th {
  background: rgba(255,255,255,0.05);
  font-size: 0.8rem;
}

.allergen-table td:first-child,
.allergen-table th:first-child {
  text-align: left;
  font-weight: 600;
}

.allergen-table td {
  color: #ffffff;
}

.allergen-table td:empty {
  background: rgba(255,255,255,0.04);
}

/* -------------------------------------------
   DIVERS
------------------------------------------- */

.lang-switch {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 9999;
}

.lang-switch a {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f5f5f5;
  text-decoration: none;
  transition: 0.2s ease;
}

.lang-switch a:hover {
  background: rgba(255,255,255,0.1);
}

/* Animations générales */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
