/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* ===== TOKENS ===== */
:root {
  --black: #111111;
  --black-2: #1a1a1a;
  --red: #d62828;
  --orange: #f77f00;
  --white: #ffffff;
  --muted: #cfcfcf;
  --muted-2: #9a9a9a;
  --sans: 'Poppins', Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(.22,.61,.36,1);
  --grad: linear-gradient(120deg, var(--red), var(--orange));
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #111; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }
::selection { background: var(--orange); color: #111; }

.text-gradient {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
.section { padding: 120px 0; }
.section-dark { background: var(--black-2); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.eyebrow { display: block; font-size: 0.8rem; letter-spacing: 0.2rem; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-sub { color: var(--muted); margin-top: 16px; }

/* glass */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* buttons */
.btn {
  display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03rem;
  padding: 14px 30px; border-radius: 50px; transition: all .3s var(--ease); text-align: center;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(214,40,40,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(214,40,40,0.5); }
.btn-outline { border: 2px solid var(--orange); color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #111; }
.btn-ghost { border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 0.95rem; }
.btn-huge { padding: 22px 56px; font-size: 1.1rem; }
.btn-full { width: 100%; border: none; }
.btn-icon { display: inline-flex; align-items: center; gap: 10px; }
.btn-icon svg { width: 18px; height: 18px; }
.icon-inline { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; color: var(--orange); }

/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 20px 5vw; transition: background .4s, padding .4s, box-shadow .4s; }
.site-header.scrolled { background: rgba(17,17,17,0.9); backdrop-filter: blur(10px); padding: 12px 5vw; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { font-family: var(--serif); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.05rem; }
.logo span { color: var(--orange); margin-left: 4px; }
.logo-img { height: 100px; width: auto; display: block; }
.footer-logo-img { height: 88px; margin-bottom: 18px; }
.main-nav { display: flex; gap: 30px; flex: 1; justify-content: center; font-size: 0.88rem; font-weight: 500; }
.main-nav a { position: relative; padding-bottom: 4px; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--grad); transition: width .3s var(--ease); }
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }

/* ===== HERO ===== */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero-bg img { width: 100%; height: 120%; object-fit: cover; object-position: center; filter: saturate(1.05) brightness(0.6); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,0.5) 0%, rgba(17,17,17,0.35) 40%, rgba(17,17,17,0.92) 100%); }
.hero-content { position: relative; z-index: 2; padding: 0 5vw; max-width: 760px; }
.hero-content h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin: 16px 0 20px; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }

.scroll-indicator { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; }
.mouse { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.6); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.wheel { width: 4px; height: 8px; background: var(--orange); border-radius: 2px; animation: wheelMove 1.6s ease-in-out infinite; }
@keyframes wheelMove { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* grid layout */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.col-photo { position: relative; }
.col-photo img { border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.photo-badge { position: absolute; bottom: -24px; right: -24px; padding: 20px 26px; border-radius: 16px; text-align: center; }
.photo-badge strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--orange); }
.photo-badge span { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05rem; }
.col-text h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 20px; }
.col-text p { color: var(--muted); margin-bottom: 16px; }
.link-arrow { color: var(--orange); font-weight: 600; display: inline-block; margin-top: 10px; transition: transform .3s; }
.link-arrow:hover { transform: translateX(6px); }

/* counters */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 80px; text-align: center; }
.counter-item { padding: 30px 10px; }
.counter, .counter-suffix { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--orange); }
.counter-item p { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

/* cards diferenciais */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { padding: 40px 30px; border-radius: 20px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-10px); box-shadow: 0 30px 50px rgba(0,0,0,0.4); }
.card-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--grad); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card-icon svg { width: 30px; height: 30px; color: #fff; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.92rem; }

/* menu showcase */
.menu-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 50px; }
.menu-item { border-radius: 18px; overflow: hidden; }
.menu-photo { aspect-ratio: 4/5; overflow: hidden; border-radius: 18px; margin-bottom: 16px; }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.menu-item:hover .menu-photo img { transform: scale(1.08); }
.menu-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.menu-item p { color: var(--muted); font-size: 0.85rem; }
.center-btn { text-align: center; }

/* delivery */
.delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.delivery-card { text-align: center; padding: 40px 24px; border-radius: 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); transition: transform .3s; }
.delivery-card:hover { transform: translateY(-8px); }
.delivery-card svg { width: 48px; height: 48px; color: var(--orange); margin-bottom: 18px; }
.delivery-card h3 { font-size: 1.05rem; margin-bottom: 20px; }

/* app section */
.app-section { position: relative; }
.phone-frame { width: 260px; height: 520px; margin: 0 auto; border-radius: 36px; background: linear-gradient(160deg, #222, #0a0a0a); border: 2px solid rgba(255,255,255,0.1); padding: 16px; position: relative; box-shadow: 0 40px 80px rgba(0,0,0,0.6); }
.phone-notch { width: 90px; height: 18px; background: #0a0a0a; border-radius: 10px; margin: 0 auto 10px; }
.phone-screen { height: calc(100% - 30px); border-radius: 22px; background: var(--black-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 20px; }
.phone-brand { font-family: var(--serif); font-weight: 800; letter-spacing: 0.2rem; font-size: 1.3rem; color: var(--orange); }
.phone-card { width: 80%; height: 70px; border-radius: 12px; background: rgba(255,255,255,0.06); }
.phone-card.short { height: 40px; width: 60%; }
.phone-cta { width: 60%; height: 40px; border-radius: 50px; background: var(--grad); margin-top: 10px; }
.phone-glow { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(247,127,0,0.25), transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: -1; filter: blur(30px); }
.col-phone { position: relative; display: flex; justify-content: center; }
.store-btns { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }

/* units */
.units-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 60px; }
.unit-card { padding: 40px; border-radius: 20px; }
.unit-card h3 { font-size: 1.5rem; margin-bottom: 18px; color: var(--orange); }
.unit-addr, .unit-hours { color: var(--muted); margin-bottom: 20px; font-size: 0.92rem; line-height: 1.6; }
.map-embed { border-radius: 20px; overflow: hidden; height: 360px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

/* masonry */
.masonry { column-count: 3; column-gap: 20px; }
.masonry img { width: 100%; margin-bottom: 20px; border-radius: 16px; break-inside: avoid; transition: transform .4s var(--ease); }
.masonry img:hover { transform: scale(1.03); }

/* testimonials */
.testimonial-carousel { position: relative; }
.testimonial-track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card { min-width: 320px; flex: 1; scroll-snap-align: start; padding: 36px; border-radius: 20px; }
.stars { color: var(--orange); display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; }
.testimonial-name { color: var(--muted-2); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05rem; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: background .3s; }
.carousel-dots button.active { background: var(--orange); }

/* faq */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-q { width: 100%; text-align: left; padding: 24px 0; font-size: 1.05rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; color: var(--orange); font-size: 1.5rem; transition: transform .3s var(--ease); }
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { color: var(--muted); padding-bottom: 24px; font-size: 0.92rem; }

/* contact form */
.contact-form { padding: 40px; border-radius: 20px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 0.85rem; margin-bottom: 8px; color: var(--muted); }
.form-row input, .form-row textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03); color: #fff; font-family: var(--sans); font-size: 0.95rem; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--orange); }

/* CTA final */
.cta-final { position: relative; padding: 140px 0; text-align: center; background: url('../img/pizza-forno.jpg') center/cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(214,40,40,0.85), rgba(17,17,17,0.9)); }
.cta-final .container { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,0.85); margin-bottom: 40px; font-size: 1.1rem; }

/* footer */
.site-footer { background: #0a0a0a; padding: 80px 0 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 5vw; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { color: var(--muted); margin-top: 14px; max-width: 280px; font-size: 0.9rem; }
.footer-heading { display: block; font-size: 0.8rem; letter-spacing: 0.1rem; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: var(--muted); margin-bottom: 12px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 24px 5vw 0; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-size: 0.8rem; color: var(--muted-2); }

/* floating */
.whatsapp-float { position: fixed; bottom: 26px; left: 26px; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; z-index: 400; box-shadow: 0 10px 24px rgba(214,40,40,0.4); transition: transform .3s; }
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: scale(1.1); }
.back-to-top { position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 400; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .3s; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--orange); }

/* loader */
.loader { position: fixed; inset: 0; background: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; z-index: 9999; transition: opacity .6s, visibility .6s; }
.loader.hide { opacity: 0; visibility: hidden; }
.loader-ring { width: 56px; height: 56px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.1); border-top-color: var(--orange); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { font-family: var(--serif); font-weight: 700; letter-spacing: 0.2rem; font-size: 0.95rem; color: var(--muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .cards-grid, .delivery-grid, .menu-showcase { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .units-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 2; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .cards-grid, .delivery-grid, .menu-showcase { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .masonry { column-count: 1; }
  .photo-badge { position: static; margin-top: 16px; display: inline-block; }
}

.main-nav.open {
  display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--black);
  align-items: center; justify-content: center; gap: 34px; font-size: 1.2rem; z-index: 490;
}
