/* Sabor de Casa Delivery — bio link premium, mobile-first, coluna única */

:root {
  --ink: #111111;
  --red: #e63946;
  --orange: #ff8c42;
  --paper: #ffffff;
  --mist: #f3f4f2;
  --muted: rgba(17, 17, 17, 0.62);
  --wa: #25d366;
  --wa-dark: #128c7e;
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --shell: min(100%, 440px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--mist);
}

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

a {
  color: inherit;
}

/* ——— Hero: full-bleed mobile, card centralizado ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12px + var(--safe-top)) 16px calc(20px + var(--safe-bottom));
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.25) 0%,
    rgba(17, 17, 17, 0.5) 45%,
    rgba(17, 17, 17, 0.82) 100%
  );
}

.hero__shell {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
}

.hero__card {
  text-align: center;
  padding: 22px 20px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: var(--paper);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 9.5vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero__tagline {
  margin: 0 0 18px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.hero__chips {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hero__chips li {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
}

/* ——— Botões ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn__ico {
  display: flex;
  flex-shrink: 0;
}

.btn--wa {
  color: var(--paper);
  background: linear-gradient(145deg, var(--wa) 0%, var(--wa-dark) 100%);
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--wa:active {
  transform: scale(0.98);
}

.btn--hero {
  animation: waGlow 2.6s ease-in-out infinite;
}

@keyframes waGlow {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(18, 140, 126, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}

.btn--outline {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.06);
}

.btn--outline:active {
  transform: scale(0.98);
}

.btn--fat {
  padding: 17px 20px;
  font-size: 0.85rem;
}

/* ——— Conteúdo: pilha vertical única ——— */
.main {
  padding: 0 0 8px;
}

.stack {
  width: var(--shell);
  margin: 0 auto;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card grande estilo app de delivery */
.tile {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.08), 0 0 0 1px rgba(17, 17, 17, 0.05);
}

.tile--hot {
  box-shadow: 0 10px 32px rgba(230, 57, 70, 0.12), 0 0 0 1px rgba(230, 57, 70, 0.12);
}

.tile--hot .tile__pic::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.tile__pic {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  overflow: hidden;
}

.tile__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile__body {
  padding: 16px 16px 18px;
}

.tile__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 6px;
}

.tile__txt {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

/* ——— CTA final ——— */
.closing {
  width: var(--shell);
  margin: 18px auto 0;
  padding: 28px 20px 32px;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(230, 57, 70, 0.35) 0%, transparent 65%);
  pointer-events: none;
}

.closing__head,
.closing__line,
.closing .btn {
  position: relative;
  z-index: 1;
}

.closing__head {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1;
}

.closing__line {
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.closing .btn--wa {
  animation: waGlow 2.6s ease-in-out infinite;
}

/* ——— Rodapé ——— */
.foot {
  text-align: center;
  padding: 18px 16px calc(22px + var(--safe-bottom));
  font-size: 0.78rem;
  background: var(--mist);
  color: var(--muted);
}

.foot strong {
  color: var(--ink);
  font-weight: 700;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Telas largas: mesma coluna, só centralizada (sem grid) */
@media (min-width: 480px) {
  :root {
    --shell: 420px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover,
  .btn--outline:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
  }

  .btn--wa:active,
  .btn--outline:active {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn--hero,
  .closing .btn--wa {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
