/* ===================================================================
   LA CASA PIZZERIA — Style premium (noir / anthracite / vert / rouge-orange)
   =================================================================== */

:root {
  --black: #0b0b0c;
  --anthracite: #161616;
  --anthracite-2: #1f1f1f;
  --stroke: rgba(255,255,255,0.09);
  --white: #f7f6f2;
  --white-soft: rgba(247,246,242,0.72);
  --white-faint: rgba(247,246,242,0.5);
  --green: #6fae5c;
  --green-deep: #3f7d4d;
  --red: #d94f2f;
  --red-deep: #b83c22;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: var(--black); padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--green);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.lead { color: var(--white-soft); font-size: 1.05rem; max-width: 46ch; }

a { color: inherit; text-decoration: none; }

/* Decorative dotted rule (motif repris du flyer) */
.dotted {
  display: inline-block;
  height: 6px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1.5px, transparent 1.6px);
  background-size: 10px 6px;
  background-repeat: repeat-x;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(217,79,47,0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(217,79,47,0.75); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn--lg { padding: 18px 36px; font-size: 1rem; }

.icon-phone::before { content: "📞"; margin-right: 2px; }
.icon-clock::before { content: "🕐"; }
.icon-insta::before { content: "📷"; }

/* ===================================================================
   NAVBAR
   =================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(11,11,12,0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.navbar.is-scrolled {
  background: rgba(11,11,12,0.92);
  border-bottom-color: var(--stroke);
}
.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.navbar__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.navbar__logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--stroke); }
.navbar__brand-text { font-family: var(--font-script); font-size: 1.7rem; color: var(--white); }

.navbar__nav { display: flex; align-items: center; gap: 30px; }
.navbar__nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--white-soft);
  position: relative; padding: 6px 0; transition: color 0.2s ease;
}
.navbar__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--green); transition: width 0.25s ease;
}
.navbar__nav a:hover { color: var(--white); }
.navbar__nav a:hover::after { width: 100%; }

.navbar__call {
  display: flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white);
  padding: 11px 20px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.navbar__call:hover { background: var(--red-deep); transform: translateY(-1px); }

.navbar__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: transparent; border: none; cursor: pointer; padding: 0;
}
.navbar__burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.25s ease, opacity 0.25s ease; margin: 0 auto; }
.navbar__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.is-open span:nth-child(2) { opacity: 0; }
.navbar__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(11,11,12,0.98);
  border-top: 1px solid var(--stroke);
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-nav.is-open { max-height: 420px; }
.mobile-nav a {
  padding: 16px 24px; font-size: 1rem; color: var(--white-soft);
  border-bottom: 1px solid var(--stroke);
}
.mobile-nav__call {
  color: var(--red) !important; font-weight: 600;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  overflow: hidden;
}
.hero__texture {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(111,174,92,0.14), transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(217,79,47,0.14), transparent 45%),
    linear-gradient(180deg, #0b0b0c 0%, #121212 60%, #0b0b0c 100%);
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero__title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__title span { color: var(--red); font-style: italic; }
.hero__subtitle { margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.hero__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white-soft);
  letter-spacing: 0.03em;
}
.hero__phone:hover { color: var(--green); }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__frame {
  width: min(420px, 100%);
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7);
  position: relative;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -18px; bottom: -18px;
  background: var(--anthracite-2); border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.8);
}
.hero__badge-num { font-family: var(--font-display); font-weight: 700; color: var(--green); font-size: 1.4rem; }
.hero__badge-txt { font-size: 0.78rem; color: var(--white-soft); max-width: 120px; }

.hero__scroll {
  position: relative; z-index: 1; margin: 40px auto 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 20px;
  display: none;
}
.hero__scroll span {
  display: block; width: 4px; height: 8px; background: var(--green); border-radius: 4px;
  margin: 6px auto 0; animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ===================================================================
   PRESENTATION
   =================================================================== */
.presentation { padding: 110px 0; background: var(--black); }
.presentation__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.presentation__image {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.7);
}
.presentation__image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; color: var(--white);
  background: var(--anthracite);
  border: 1px solid var(--stroke);
  padding: 14px 16px; border-radius: var(--radius-sm);
}
.feature-list__icon { font-size: 1.2rem; }

/* ===================================================================
   MENU
   =================================================================== */
.menu { padding: 110px 0; background: linear-gradient(180deg, #0e0e0f, #0b0b0c); position: relative; }
.menu__header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.menu__header .lead { margin: 0 auto; }

.menu__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.menu__col-title {
  font-family: var(--font-script); color: var(--green); font-size: 2.4rem;
  margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--stroke);
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: 16px 0; border-bottom: 1px solid var(--stroke); }
.menu-item:last-child { border-bottom: none; }
.menu-item__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.menu-item__name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--white); }
.menu-item__name b { color: var(--red); font-weight: 700; margin-right: 4px; }
.menu-item__price { font-weight: 600; color: var(--green); white-space: nowrap; font-size: 1rem; }
.menu-item__desc { margin: 6px 0 0; font-size: 0.88rem; color: var(--white-faint); }
.menu-item--signature { background: linear-gradient(90deg, rgba(217,79,47,0.08), transparent); border-radius: var(--radius-sm); padding-left: 12px; padding-right: 12px; margin: 0 -12px; }

.menu__extras {
  margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--stroke);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.extra-block {
  background: var(--anthracite); border: 1px solid var(--stroke); border-radius: var(--radius-sm);
  padding: 22px 24px;
}
.extra-block h4 { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 14px; }
.extra-block ul { list-style: none; margin: 0; padding: 0; }
.extra-block li { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.92rem; color: var(--white-soft); }
.extra-block li span:last-child { color: var(--white); font-weight: 600; }

.menu__cta { text-align: center; margin-top: 52px; }

/* ===================================================================
   POURQUOI LA CASA
   =================================================================== */
.why { padding: 110px 0; background: var(--black); }
.why__header { text-align: center; margin-bottom: 52px; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: var(--anthracite); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 32px 24px; text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(111,174,92,0.4); }
.why-card__icon { font-size: 1.8rem; display: block; margin-bottom: 16px; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: var(--white-faint); margin: 0; }

/* ===================================================================
   LIVRAISON
   =================================================================== */
.delivery { position: relative; padding: 110px 0; overflow: hidden; }
.delivery__texture {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(217,79,47,0.1), transparent 50%), var(--anthracite);
  z-index: 0;
}
.delivery__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.delivery__prices { display: flex; gap: 18px; margin: 28px 0 26px; flex-wrap: wrap; }
.delivery-price {
  display: flex; align-items: center; gap: 12px;
  background: var(--black); border: 1px solid var(--stroke); border-radius: var(--radius-sm);
  padding: 16px 20px; min-width: 180px;
}
.delivery-price__icon { font-size: 1.4rem; }
.delivery-price__title { display: block; font-size: 0.82rem; color: var(--white-faint); }
.delivery-price__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--green); }
.delivery__hours { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; color: var(--white-soft); font-size: 0.95rem; }
.delivery__visual { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke); box-shadow: 0 30px 60px -24px rgba(0,0,0,0.7); }
.delivery__visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }

/* ===================================================================
   LOCALISATION
   =================================================================== */
.location { padding: 110px 0; background: var(--black); }
.location__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.location__map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke);
  aspect-ratio: 4/3.6; filter: grayscale(0.25) contrast(1.05);
}
.location__map iframe { width: 100%; height: 100%; border: 0; }
.info-list { list-style: none; padding: 0; margin: 26px 0 32px; display: flex; flex-direction: column; gap: 18px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.98rem; color: var(--white-soft); }
.info-list a:hover { color: var(--green); }
.info-list__icon { font-size: 1.2rem; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact { position: relative; padding: 130px 0; text-align: center; overflow: hidden; }
.contact__texture {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(63,125,77,0.18), transparent 55%),
    linear-gradient(180deg, #0e0e0f, #0b0b0c);
  z-index: 0;
}
.contact__inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.contact h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.contact__tagline { color: var(--white-soft); margin-bottom: 34px; font-size: 1.05rem; }
.contact__phone {
  display: block; margin-top: 22px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white-soft);
}
.contact__phone:hover { color: var(--green); }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--anthracite); border-top: 1px solid var(--stroke); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; padding-bottom: 48px; }
.footer__logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; border: 1px solid var(--stroke); }
.footer__brand p { margin: 4px 0; color: var(--white-faint); font-size: 0.92rem; }
.footer__brand a { display: inline-block; margin: 6px 0; color: var(--white-soft); font-weight: 600; }
.footer__brand a:hover { color: var(--green); }
.footer__insta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--white-soft); }
.footer__insta:hover { color: var(--red); }

.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 6px; }
.footer__links a { color: var(--white-faint); font-size: 0.92rem; }
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid var(--stroke); padding: 20px 24px 100px;
  text-align: center; font-size: 0.8rem; color: var(--white-faint);
}

/* ===================================================================
   STICKY MOBILE CALL BUTTON
   =================================================================== */
.sticky-call {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 600;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: var(--white);
  padding: 16px 20px;
  align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em;
  box-shadow: 0 -10px 30px -8px rgba(0,0,0,0.6);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (min-width: 900px) {
  .hero__scroll { display: block; }
}

@media (max-width: 980px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .menu__extras { grid-template-columns: 1fr; }
  .presentation__grid, .delivery__grid, .location__grid { grid-template-columns: 1fr; }
  .presentation__image { order: -1; }
  .location__map { order: -1; }
}

@media (max-width: 860px) {
  .navbar__nav, .navbar__call { display: none; }
  .navbar__burger { display: flex; }
  .mobile-nav { display: flex; }

  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; max-width: 340px; margin: 0 auto 12px; }
  .hero__cta { justify-content: flex-start; }

  .menu__columns { grid-template-columns: 1fr; gap: 44px; }

  .why__grid { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .sticky-call { display: flex; }
  body { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .section-inner { padding: 0 18px; }
  .presentation, .menu, .why, .delivery, .location { padding: 72px 0; }
  .contact { padding: 90px 0; }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero__title { font-size: 2rem; }
  .feature-list { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .delivery__prices { flex-direction: column; }
  .delivery-price { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .btn { width: 100%; }
  .hero__phone { justify-content: center; width: 100%; }
  .menu__cta .btn { width: auto; }
}
