﻿/* ============================================================
   Ma Pizz' — Styles principaux
   Palette : rouge #C0392B · or #E8A020 · crème #FDF6EC · sombre #1C1C1C
   ============================================================ */

:root {
  --red:        #C0392B;
  --red-dark:   #922B21;
  --red-light:  #E74C3C;
  --gold:       #E8A020;
  --gold-light: #F5C842;
  --cream:      #FDF6EC;
  --cream2:     #F5ECD8;
  --dark:       #1C1C1C;
  --dark2:      #2C2C2C;
  --text:       #2d2d2d;
  --muted:      #777;
  --white:      #ffffff;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 4px 20px rgba(192,57,43,.12);
  --shadow-lg:  0 12px 40px rgba(192,57,43,.18);
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ══════════════════════ HERO ══════════════════════ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.5) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,28,28,.15) 0%,
    rgba(28,28,28,.6) 55%,
    rgba(28,28,28,.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  width: 100%;
  max-width: 700px;
}

/* logo hero supprimé */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
  margin-bottom: 6px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232,160,32,.18);
  border: 1.5px solid var(--gold-light);
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: 28px;
  transition: background .2s;
}

.hero-badge:hover { background: rgba(232,160,32,.32); }

.hero-stars {
  color: var(--gold-light);
  font-size: 1.05rem;
  letter-spacing: .04em;
}

.hero-badge-text strong {
  font-size: 1.1rem;
  color: var(--gold-light);
}

.hero-badge-text {
  color: rgba(255,255,255,.92);
  font-size: .9rem;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, filter .18s;
  line-height: 1;
}

.cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.cta-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.cta-tel {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(192,57,43,.4);
}

.cta-insta {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(220,39,67,.35);
}

.cta-fb {
  background: #1877F2;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(24,119,242,.35);
}



.hero-address {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  font-weight: 600;
}

.hero-address svg { width: 16px; height: 16px; color: var(--gold-light); flex-shrink: 0; }
.addr-sep { opacity: .5; }

/* ══════════════════════ MENTION PÂTE ══════════════════════ */
.mention-pate {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 14px 24px;
  font-size: .95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mention-pate .mention-icon { font-size: 1.3rem; }
.mention-pate strong { font-weight: 800; }

/* ══════════════════════ NAV TABS ══════════════════════ */
.nav-tabs-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 2px solid var(--red);
  overflow: hidden;
}

.nav-tabs-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-tabs-scroll::-webkit-scrollbar { display: none; }

.nav-tab {
  flex-shrink: 0;
  padding: 14px 22px;
  background: none;
  border: none;
  color: rgba(255,255,255,.65);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-bottom .2s;
  border-bottom: 3px solid transparent;
  letter-spacing: .03em;
  position: relative;
  top: 2px;
}

.nav-tab:hover { color: var(--white); }
.nav-tab.active { color: var(--white); border-bottom-color: var(--red); }

/* ══════════════════════ MENU WRAPPER ══════════════════════ */
.menu-wrapper {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

/* ══════════════════════ SECTION ══════════════════════ */
.menu-section { display: none; }
.menu-section.active { display: block; }

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-emoji { font-size: 2.8rem; display: block; margin-bottom: 8px; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark);
  font-weight: 900;
  line-height: 1.15;
}

.section-title span.sub {
  display: block;
  font-size: .55em;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-top: 4px;
}

.section-desc {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 8px;
}

/* ══════════════════════ PIZZA GRID ══════════════════════ */
.pizza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.pizza-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
}

.pizza-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.pizza-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.pizza-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.pizza-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

.pizza-ingredients {
  font-size: .88rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}

/* Badges */
.item-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0;
}

.badge-vege      { background: #e8f5e9; color: #2e7d32; }
.badge-signature { background: #fff3e0; color: #e65100; }
.badge-formule   { background: #e3f2fd; color: #1565c0; }

/* Suppléments */
.supplements-box {
  background: var(--cream2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 28px;
  border: 1px solid rgba(192,57,43,.15);
}

.supplements-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.supplement-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
  font-size: .92rem;
}

.supplement-row:last-child { border-bottom: none; }

.suppl-name { color: var(--text); }
.suppl-price { font-weight: 700; color: var(--red); }

/* ══════════════════════ SIMPLE GRID (sandwichs, desserts) ══════════════════════ */
.simple-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.simple-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform .2s;
}

.simple-card:hover { transform: translateX(4px); }

.simple-left { flex: 1; }

.simple-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.simple-ingredients {
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 4px;
}

.simple-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Formule banner */
.formule-banner {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 20px;
}

/* ══════════════════════ BOISSONS ══════════════════════ */
.boissons-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.boissons-col {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.bois-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0,0,0,.07);
  font-size: .93rem;
}

.bois-row:last-child { border-bottom: none; }
.bois-nom { color: var(--text); }
.bois-prix { font-weight: 700; color: var(--red); }

/* ══════════════════════ INFOS SECTION ══════════════════════ */
.infos-section {
  background: var(--dark);
  padding: 60px 20px;
}

.infos-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border-top: 3px solid var(--red);
}

.info-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.info-card-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.info-line {
  color: rgba(255,255,255,.75);
  font-size: .93rem;
  margin-bottom: 6px;
}

.info-line strong { color: var(--white); }

.info-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-light);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.info-link:hover { text-decoration: underline; }

.horaire-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .88rem;
}

.horaire-row:last-child { border-bottom: none; }
.horaire-jour { color: rgba(255,255,255,.7); }
.horaire-heures { color: var(--white); font-weight: 600; text-align: right; }
.horaire-ferme { color: var(--red-light); font-weight: 600; }

.paiement-list {
  list-style: none;
  text-align: left;
}

.paiement-list li {
  padding: 4px 0;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.8);
}

.paiement-list li::before { content: '✓'; color: #4CAF50; font-weight: 800; }
.paiement-list.refused li::before { content: '✗'; color: var(--red-light); }
.paiement-subtitle {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
  margin-top: 12px;
}

/* ══════════════════════ FOOTER ══════════════════════ */
.footer-main {
  background: #111;
  padding: 40px 20px 30px;
  text-align: center;
  border-top: 1px solid #222;
}

.footer-logo-wrap { margin-bottom: 12px; }

.footer-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  opacity: .9;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-address {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  transition: background .2s, transform .2s;
}

.footer-social a:hover { background: var(--red); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-copy {
  color: rgba(255,255,255,.35);
  font-size: .82rem;
  margin-bottom: 4px;
}

.footer-dev {
  color: rgba(255,255,255,.3);
  font-size: .8rem;
}

.footer-dev a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-weight: 600;
}

.footer-dev a:hover { color: var(--gold-light); }
