/* ─────────────────────────────────────────────────
   LUSSAN — Design System  (style.css)
   Tipografia : Poppins 800/900 (display) · Inter 400/500 (corpo)
   Paleta     : Bordô #7B1D2E · Amarelo #F5C400 · Escuro #3D0B18
   Carregado em todo HTML público do site
───────────────────────────────────────────────── */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
}

/* ── TOKENS ── */
:root {
  --am:      #F5C400;
  --bo:      #7B1D2E;
  --bo2:     #5A1020;
  --bo3:     #3D0B18;
  --br:      #FFFFFF;
  --cinza:   #f7f5f2;
  --borda:   #ede8e3;
  --sombra:  0 2px 22px rgba(0,0,0,.07);
  --ff-head: 'Poppins', sans-serif;
  --r-btn:   10px;
  --r-card:  16px;
}

/* ────────────────────────────────────────────────
   NAV — idêntica em todas as páginas
──────────────────────────────────────────────── */
@keyframes ctaGradFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,196,0,.45), 0 3px 12px rgba(0,0,0,.30); }
  50%       { box-shadow: 0 0 0 7px rgba(245,196,0,.12), 0 4px 22px rgba(245,196,0,.40); }
}

nav {
  position: sticky; top: 0; z-index: 900;
  background: var(--bo);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.nav-logo {
  display: flex; align-items: center; gap: 9px; text-decoration: none;
}
.nav-logo img {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--am);
}
.nav-logo-fallback {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--am);
  display: none; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 800; font-size: 13px; color: var(--bo);
}
.nav-nome {
  font-family: var(--ff-head);
  font-size: 20px; font-weight: 800;
  color: var(--am); letter-spacing: -0.02em;
  text-transform: uppercase; line-height: 1;
  display: flex; flex-direction: column;
}
.nav-nome-sub {
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: rgba(245,196,0,.55); margin-top: 2px;
}
.nav-links {
  display: none; align-items: center; gap: 4px;
  background: rgba(255,255,255,.09);
  padding: 5px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
}
.nav-link {
  color: rgba(255,255,255,.80); font-size: 13px; font-weight: 600;
  text-decoration: none; padding: 9px 15px; border-radius: 999px;
  letter-spacing: .02em; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover,
.nav-link:focus { background: var(--am); color: var(--bo3); }

.nav-cta {
  background: linear-gradient(120deg, #F5C400 0%, #FF9A00 35%, #FF5E00 65%, #F5C400 100%);
  background-size: 260% 260%;
  color: #3D0B18;
  font-family: var(--ff-head); font-weight: 800; font-size: 14px;
  letter-spacing: -0.01em; text-transform: uppercase;
  padding: 12px 22px; border-radius: var(--r-btn);
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(245,196,0,.25), 0 4px 18px rgba(245,196,0,.35);
  animation: ctaGradFlow 2.4s ease infinite, ctaGlow 2.4s ease-in-out infinite;
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover  { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(245,196,0,.35), 0 8px 28px rgba(245,196,0,.50); }
.nav-cta:active { filter: brightness(.92); transform: scale(.97); }

/* ────────────────────────────────────────────────
   FLOATING WHATSAPP — igual em todas as páginas
──────────────────────────────────────────────── */
.wpp-float {
  position: fixed; bottom: 22px; right: 18px; z-index: 1000;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  text-decoration: none;
  animation: wppPulse 2.5s infinite;
}
@keyframes wppPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wpp-float svg { fill: #fff; }

/* ────────────────────────────────────────────────
   SISTEMA DE BOTÕES — mesma forma, hover e raio
   em TODOS os botões do site
──────────────────────────────────────────────── */
.btn-wpp-hero,
.btn-insta-hero,
.btn-calcular,
.btn-avaliar,
.btn-wpp-festa,
.btn-salao,
.btn-delivery,
.vitrine-ver-tudo,
.contato-wpp-hero,
.contato-insta-hero {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: var(--r-btn);
  font-family: var(--ff-head); font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}

/* hover: sobe 2px */
.btn-wpp-hero:hover,
.btn-avaliar:hover,
.btn-wpp-festa:hover,
.btn-salao:hover,
.btn-delivery:hover,
.vitrine-ver-tudo:hover,
.contato-wpp-hero:hover { transform: translateY(-2px); }

/* hover com opacity (botões gradiente) */
.btn-insta-hero:hover,
.contato-insta-hero:hover { opacity: .90; transform: translateY(-2px); }

/* active: escala leve */
.btn-wpp-hero:active,
.btn-insta-hero:active,
.btn-calcular:active,
.btn-avaliar:active,
.btn-wpp-festa:active,
.btn-salao:active,
.btn-delivery:active,
.vitrine-ver-tudo:active,
.contato-wpp-hero:active,
.contato-insta-hero:active { transform: scale(.97); }

/* ────────────────────────────────────────────────
   SEÇÕES — espaçamento uniforme
──────────────────────────────────────────────── */
.sec { padding: clamp(56px, 7vw, 80px) 20px; }
.sec-cinza { background: var(--cinza); }
.sec-bo    { background: var(--bo); }
.sec-bo2   { background: var(--bo2); }

.sec-title {
  font-family: var(--ff-head);
  font-size: clamp(26px, 5vw, 34px); font-weight: 800;
  color: var(--bo); margin-bottom: 8px;
  letter-spacing: -0.02em; line-height: 1.1;
}
.sec-title-light { color: var(--am); }
.sec-sub {
  font-size: 15px; color: #5a5a5a;
  margin-bottom: 28px; line-height: 1.6;
}
.sec-sub-light { color: rgba(255,255,255,.58); }

/* ────────────────────────────────────────────────
   FOOTER — modelo Kero+ adaptado à Lussan
──────────────────────────────────────────────── */
footer {
  background: var(--bo3);
  color: rgba(255,241,214,.70);
  padding: 72px 0 0;
  text-align: left;
}
footer a { color: rgba(255,241,214,.68); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--am); }

.footer__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start;
}
.footer__logo {
  height: 58px; width: auto; display: block;
}
.footer__brand-copy {
  color: rgba(255,241,214,.60); max-width: 340px;
  margin-top: 18px; font-size: 14px; line-height: 1.72;
}
.footer__cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.footer__cols h4 {
  font-family: var(--ff-head); font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--am); margin-bottom: 18px; line-height: 1;
}
.footer__cols ul { list-style: none; margin: 0; padding: 0; }
.footer__cols ul li {
  margin-bottom: 11px; color: rgba(255,241,214,.65);
  font-size: 13.5px; line-height: 1.5;
}
.footer__cols ul li a { color: rgba(255,241,214,.65); }
.footer__cols ul li a:hover { color: var(--am); }

.footer__base {
  max-width: 1280px; margin: 56px auto 0; padding: 22px 28px;
  border-top: 1px solid rgba(255,241,214,.10);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,241,214,.38); letter-spacing: .03em;
}

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .footer__inner { padding: 0 20px; }
  .footer__cols  { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer__base  { flex-direction: column; gap: 6px; text-align: center; padding: 18px 20px; }
}

/* ────────────────────────────────────────────────
   TABLET 640px — nav links visíveis
──────────────────────────────────────────────── */
@media (min-width: 640px) {
  .nav-links { display: flex; }
}

/* ────────────────────────────────────────────────
   DESKTOP 900px — nav e seções centralizados
──────────────────────────────────────────────── */
@media (min-width: 900px) {
  nav {
    padding-left:  max(18px, calc(50% - 440px));
    padding-right: max(18px, calc(50% - 440px));
  }
  .sec {
    padding: 80px max(20px, calc(50% - 440px));
  }
  .sec-title { font-size: 36px; }
  .sec-sub   { font-size: 16px; }
}

/* ────────────────────────────────────────────────
   NAV GLASS ON SCROLL
──────────────────────────────────────────────── */
nav {
  transition: background .32s ease, padding .32s ease, box-shadow .32s ease;
}
nav.is-scrolled {
  background: rgba(44, 6, 14, 0.93);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  padding-top: 7px;
  padding-bottom: 7px;
  box-shadow: 0 3px 36px rgba(0,0,0,.44);
  border-bottom: 1px solid rgba(245,196,0,.13);
}

/* ────────────────────────────────────────────────
   REVEAL ON SCROLL
──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .70s ease, transform .70s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ────────────────────────────────────────────────
   VITRINE DOTS (mobile only)
──────────────────────────────────────────────── */
.vitrine-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.vitrine-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(123,29,46,.22); cursor: pointer;
  transition: background .22s ease, width .22s ease, border-radius .22s ease;
}
.vitrine-dot.active {
  background: var(--bo); width: 24px; border-radius: 4px;
}
@media (min-width: 900px) { .vitrine-dots { display: none; } }

/* ────────────────────────────────────────────────
   PREFERS-REDUCED-MOTION
──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  nav, nav.is-scrolled { transition: none; }
  .wpp-float  { animation: none !important; box-shadow: 0 4px 18px rgba(37,211,102,.45); }
  .nav-cta    { animation: none !important; }
}
