:root {
  --navy-950: #0b0f2e;
  --navy-900: #10163d;
  --navy-800: #161d4d;
  --navy-700: #1c2557;
  --navy-600: #262f6b;
  --maroon: #6b031c;
  --red: #e0263a;
  --red-bright: #ff3b4e;
  --white: #ffffff;
  --off-white: #eef0fb;
  --muted: #aab0d6;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.55);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 46, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--off-white);
  opacity: 0.85;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background: radial-gradient(120% 140% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-blueprint { width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  background: rgba(224, 38, 58, 0.12);
  border: 1px solid rgba(224, 38, 58, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 0 24px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 24px;
  max-width: 820px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red) 70%);
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(224, 38, 58, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(224, 38, 58, 0.65); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-whatsapp {
  background: linear-gradient(135deg, #2fd66b, #1fa855 70%);
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.55);
  gap: 10px;
}
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(37, 211, 102, 0.65); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2fd66b, #1fa855 70%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 18px 36px -6px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.15); }

.whatsapp-float-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(47, 214, 107, 0.55);
  animation: whatsapp-pulse 2.2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 720px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .whatsapp-float svg { width: 27px; height: 27px; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 640px;
}

.stat-num {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Delivery banner ---------- */
.delivery-banner {
  background: var(--navy-900);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}

.delivery-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
  text-align: left;
  flex-wrap: wrap;
}

.delivery-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 38, 58, 0.14);
  border: 1px solid rgba(224, 38, 58, 0.35);
  border-radius: 14px;
  color: var(--red-bright);
}
.delivery-icon svg { width: 28px; height: 28px; }

.delivery-text {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.delivery-text h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.delivery-text h2 span {
  color: var(--red-bright);
}
.delivery-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--navy-900);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin: 0 0 56px;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0 0 20px;
}
.about-text strong { color: var(--white); }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
}

.pillar-icon, .feature-icon, .store-pin {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(224, 38, 58, 0.14);
  color: var(--red-bright);
  flex-shrink: 0;
}
.pillar-icon svg, .feature-icon svg, .store-pin svg { width: 22px; height: 22px; }

.pillar h3, .feature-card h3, .store-card h3 {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}
.pillar p, .feature-card p, .store-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Marcas ---------- */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.brand-chip {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--navy-800);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--off-white);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.brand-chip:hover {
  border-color: rgba(224,38,58,0.5);
  background: var(--navy-700);
  transform: translateY(-2px);
}

.brands-note {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 640px;
}

/* ---------- Diferenciais ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224,38,58,0.4);
}

/* ---------- Unidades ---------- */
.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.store-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--navy-800);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.store-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--red-bright), var(--maroon));
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer-logo { height: 48px; opacity: 0.9; }
.footer-cities {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.footer-copy {
  color: rgba(170,176,214,0.6);
  font-size: 0.82rem;
  margin: 0;
}

.footer-links {
  font-size: 0.88rem;
  margin: 0;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-links a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 320px; }
  .main-nav a { padding: 18px 24px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }

  .hero { padding: 64px 0 48px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 28px 24px; }

  .delivery-inner { text-align: center; justify-content: center; }
  .delivery-text { flex-direction: column; align-items: center; gap: 4px; }
  .delivery-text h2 { white-space: normal; }

  .cards-grid { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
