/* =========================================================
   Landing page: Vanessa | Tráfego pago para delivery
   Mobile-first. Para trocar cores/fonte, edite só o :root.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Marinho (fundos escuros) */
  --marine-950: #04122a;
  --marine-900: #071a33;
  --marine-800: #0d2747;
  --marine-700: #173a63;

  /* Laranja: reservado para CTAs e pontos de atenção */
  --fire: #ff6a13;
  --fire-hover: #ff8a3d;
  --fire-text: #b8470a;      /* laranja escuro, legível sobre fundo claro */

  /* Neutros */
  --ink: #0a1a30;
  --muted: #55627a;
  --white: #ffffff;
  --mist: #eef3fa;
  --line: #d9e1ee;
  --on-dark-muted: #b9c5da;
  --line-dark: rgba(255, 255, 255, .14);
  --paper: #fbf8f1;          /* papel térmico da comanda */
  --wa: #25d366;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Courier New", monospace;

  --radius: 12px;
  --radius-lg: 22px;
  --container: 1120px;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 1rem/1.65 var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }

h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.55rem); max-width: 22ch; }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }

section[id] { scroll-margin-top: var(--header-h); }

:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--fire); color: var(--ink); font-weight: 600;
  padding: .6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: .75rem; }

/* ---------- Seções (um seletor por papel, sem conflito de especificidade) ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.s-dark  { background: var(--marine-900); color: var(--white); }
.s-light { background: var(--white); }
.s-mist  { background: var(--mist); }

.lead { font-size: 1.1rem; margin-top: 1rem; max-width: 46ch; color: var(--muted); }
.s-dark .lead { color: var(--on-dark-muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary { background: var(--fire); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(255, 106, 19, .75); }
.btn--primary:hover { background: var(--fire-hover); transform: translateY(-3px); box-shadow: 0 16px 30px -10px rgba(255, 106, 19, .85); }

.btn--dark { background: var(--marine-900); color: var(--white); box-shadow: 0 10px 26px -12px rgba(4, 18, 42, .8); }
.btn--dark:hover { background: var(--marine-700); transform: translateY(-3px); }

.btn--outline { border-color: var(--marine-900); color: var(--marine-900); margin-top: 2rem; }
.btn--outline:hover { background: var(--marine-900); color: var(--white); transform: translateY(-3px); }

.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: .65rem 1.1rem; font-size: .9rem; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(7, 26, 51, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark); color: var(--white);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; }
.logo__name { font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo__tag { font-size: .85rem; font-weight: 500; color: var(--on-dark-muted); }

.header__cta { display: none; }

.menu-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: inherit; cursor: pointer;
}
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .i-shut, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-shut { display: block; }

/* Menu mobile: painel abaixo do cabeçalho */
.nav {
  position: absolute; inset: 100% 0 auto 0; display: none; flex-direction: column;
  padding: .5rem 1rem 1rem; background: var(--marine-900); border-bottom: 1px solid var(--line-dark);
}
.nav.is-open { display: flex; }
.nav__link { padding: .9rem .25rem; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-dark); }
.nav__link:last-child { border-bottom: 0; }
.nav__link:hover { color: var(--fire); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 55% at 85% 0%, rgba(255, 106, 19, .16), transparent 70%),
    var(--marine-900);
  padding-top: clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
}
.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero__lead { margin: 1.5rem 0 2rem; font-size: 1.12rem; max-width: 46ch; color: var(--on-dark-muted); }

.ticks { margin-top: 1.5rem; display: grid; gap: .5rem; color: var(--on-dark-muted); font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: .6rem; }
.ticks .icon { color: var(--fire); stroke-width: 3; }

/* Foto (com aviso tracejado até o arquivo existir) */
.photo {
  position: relative; display: grid; place-items: start center; text-align: center;
  aspect-ratio: 1 / 1; padding: 3rem 1.5rem 1.5rem; overflow: hidden;
  border: 1.5px dashed rgba(255, 255, 255, .28); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--marine-700), var(--marine-800));
  color: var(--on-dark-muted); font-size: .85rem;
}
.photo::before { content: attr(data-hint); max-width: 28ch; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.photo:has(img) { border: 0; }

/* Comanda: o elemento marcante do hero */
.ticket {
  position: relative; z-index: 2;
  width: min(300px, 88%); margin: -3.5rem 0 0 1rem; padding: 1.25rem 1.25rem 1.5rem;
  background: var(--paper); color: #1d2433; font-family: var(--mono); font-size: .8rem; line-height: 1.5;
  transform: rotate(-2deg); transform-origin: top left;
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .6);
  animation: print 1s .55s cubic-bezier(.2, .7, .2, 1) both;
}
/* serrilhado inferior, como papel rasgado da impressora */
.ticket::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 7px;
  background: conic-gradient(from 135deg at top, var(--paper) 90deg, transparent 0) 0 0 / 14px 100%;
}
.ticket__title { font-weight: 700; font-size: .95rem; }
.ticket__note { color: #5f6675; font-size: .72rem; padding-bottom: .75rem; border-bottom: 1px dashed #98a0b0; }
.ticket__rows { padding-block: .75rem; border-bottom: 1px dashed #98a0b0; display: grid; gap: .3rem; }
.ticket__rows div { display: flex; justify-content: space-between; gap: .75rem; }
.ticket__rows dd { font-weight: 700; white-space: nowrap; }
.ticket__next { padding-top: .75rem; }

@keyframes print {
  from { clip-path: inset(0 0 100% 0); transform: translateY(-14px) rotate(-2deg); }
  to   { clip-path: inset(0 0 -20px 0); transform: translateY(0) rotate(-2deg); }
}

/* Entrada do hero: o único momento orquestrado ao carregar */
.rise { animation: rise .7s var(--d, 0s) cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Divisão título + conteúdo (dor, FAQ) ---------- */
.split { display: grid; gap: 2.5rem; }

.leaks li { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.leaks li:last-child { border-bottom: 1px solid var(--line); }
.leaks p { margin-top: .5rem; color: var(--muted); max-width: 52ch; }

/* ---------- Resultados ---------- */
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; margin-top: 3rem; }
.metric { padding-left: 1rem; border-left: 4px solid var(--fire); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .4rem; }
.metric dd { font-size: clamp(2.2rem, 6.5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.metric dt { font-size: .9rem; color: var(--on-dark-muted); max-width: 22ch; }


.fineprint { margin-top: 2.5rem; font-size: .8rem; color: var(--on-dark-muted); }

/* ---------- Sobre ---------- */
.about { max-width: 46rem; }
.about p + p { margin-top: 1rem; }
.about .lead { color: var(--ink); font-weight: 500; }
.checks { margin-top: 1.5rem; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks .icon { color: var(--fire-text); stroke-width: 3; margin-top: .2em; }

/* ---------- Planos ---------- */
.plans { margin-top: 3rem; display: grid; gap: 1.5rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.plan__tag { align-self: flex-start; padding: .25rem .75rem; border-radius: 999px; background: var(--mist); font-size: .8rem; font-weight: 600; color: var(--muted); }
.plan h3 { margin-top: 1.25rem; font-size: 1.5rem; }
.plan__desc { margin-top: .5rem; color: var(--muted); font-size: .95rem; }
.plan__price { margin-top: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan__price span { margin-right: .3rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.plan__price small { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan__feats { flex: 1; margin: 1.5rem 0 2rem; display: grid; gap: .75rem; align-content: start; }
.plan__feats li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.plan__feats .icon { color: var(--fire-text); stroke-width: 3; margin-top: .2em; }
.plan .btn { margin-top: auto; }
.plan--hot { background: var(--marine-900); color: var(--white); border: 2px solid var(--fire); box-shadow: 0 30px 50px -30px rgba(7, 26, 51, .7); }
.plan--hot .plan__tag { background: rgba(255, 106, 19, .18); color: var(--fire); }
.plan--hot .plan__desc, .plan--hot .plan__price small { color: var(--on-dark-muted); }
.plan--hot .plan__price { border-color: var(--line-dark); }
.plan--hot .plan__feats .icon { color: var(--fire); }
.plan__badge { position: absolute; top: -.9rem; left: 1.75rem; padding: .3rem .9rem; border-radius: 999px; background: var(--fire); color: var(--ink); font-size: .8rem; font-weight: 800; }

/* ---------- Serviços (linhas, não cartões) ---------- */
.svc-list { margin-top: 3rem; display: grid; }
.svc { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding-block: 1.75rem; border-top: 1px solid var(--line-dark); }
.svc__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: rgba(255, 106, 19, .14); color: var(--fire); transition: background-color .2s, color .2s; }
.svc:hover .svc__icon { background: var(--fire); color: var(--ink); }
.svc .icon { width: 26px; height: 26px; }
.svc p { margin-top: .4rem; color: var(--on-dark-muted); max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--fire-text); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.5rem; color: var(--muted); max-width: 58ch; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- CTA final ---------- */
.cta-band { background: var(--fire); color: var(--ink); }
.cta-band__inner { display: grid; gap: 1.25rem; justify-items: start; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 46ch; font-size: 1.1rem; font-weight: 500; }
.cta-band .btn { margin-top: .75rem; }

/* ---------- Rodapé ---------- */
.footer { background: var(--marine-950); color: var(--on-dark-muted); padding-top: 3rem; }
.footer__grid { display: grid; gap: 1.5rem; padding-bottom: 2rem; }
.logo--footer { color: var(--white); }
.footer__text { margin-top: .5rem; max-width: 36ch; }
.social { display: flex; gap: .75rem; }
.social a {
  display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 50%;
  color: var(--white); transition: background-color .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--fire); color: var(--ink); border-color: var(--fire); transform: translateY(-3px); }
.footer__legal { border-top: 1px solid var(--line-dark); padding-block: 1.25rem; font-size: .85rem; }

/* ---------- WhatsApp flutuante ---------- */
.float-wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: var(--white); box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .55);
  transition: transform .2s ease;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa .icon { width: 30px; height: 30px; }

/* ---------- Reveal ao rolar (só com JS; sutil) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Telas maiores
   ========================================================= */
@media (min-width: 700px) {
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .svc-list { grid-template-columns: 1fr 1fr; column-gap: 4rem; }
  .footer__grid { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  /* menu desktop */
  .menu-btn { display: none; }
  .header__cta { display: inline-flex; }
  .nav { position: static; display: flex; flex-direction: row; gap: 2rem; padding: 0; background: none; border: 0; }
  .nav__link { padding: .25rem 0; border: 0; font-size: .95rem; }

  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .hero__visual { position: relative; }
  .photo { aspect-ratio: 4 / 5; }
  .ticket { position: absolute; left: -3rem; bottom: -1.5rem; margin: 0; width: 290px; }

  .split { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .cta-band__inner { grid-template-columns: 1fr auto; align-items: center; column-gap: 3rem; }
  .cta-band__inner h2, .cta-band__inner p { grid-column: 1; }
  .cta-band__inner .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
