/* Gabriel Frade · Landing D (Proposta) */
:root {
  --ink: #17331F;          /* verde-escuro: texto e fundos escuros */
  --ink-2: #3F5245;        /* texto secundário */
  --ink-3: #4D5E52;        /* legendas */
  --mint: #EEF5EC;         /* fundo de seção */
  --line: #D7E3D4;         /* bordas */
  --yellow: #FFD84D;
  --accent: #C4321F;       /* vermelho do CTA (contraste 5,5:1 com branco) */
  --accent-text: #B42B1E;  /* vermelho para texto sobre claro */
  --dark-2: #2A4A33;
  --dark-line: #3D6147;
  --on-dark: #D6E2D8;
  --on-dark-2: #A9C2AE;
  --white: #FFFFFF;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 24px;
  --gutter: max(16px, 4vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: #2E5A3A; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote { margin: 0; }

.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip-link:focus { top: 12px; color: var(--white); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-narrow { max-width: 860px; }
.band { padding: 80px 0; }
.band-mint { background: var(--mint); }
.band-dark { background: var(--ink); color: var(--white); }
.band-accent { background: var(--accent); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; flex-direction: column; gap: 10px; }
.grid { display: grid; gap: 20px; list-style: none; padding: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }

/* Type */
.display, .h2, .h3, .display-sm, .brand-name { font-family: var(--font-display); }
.display { font-weight: 800; font-size: clamp(44px, 6.4vw, 86px); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.display mark { background: var(--yellow); color: inherit; padding: 0 0.12em; border-radius: 10px; }
.display-sm { font-weight: 800; font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -0.03em; }
.h2 { font-weight: 800; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.h2.narrow { max-width: 18ch; }
.h3 { font-weight: 800; font-size: 24px; line-height: 1.1; }
.h3.lg { font-size: 26px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 48ch; }
.lead.on-dark { color: var(--on-dark); font-size: 18px; max-width: 58ch; }
.lead.on-accent { color: var(--white); max-width: 46ch; }
.sub { font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.small { font-size: 14px; color: var(--ink-3); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #A82A19; color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FFE27A; color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--mint); color: var(--ink); }
.link-strong { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.link-yellow { color: var(--yellow); font-weight: 700; font-size: 17px; }
.link-yellow:hover { color: #FFE27A; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.brand-tag { background: var(--yellow); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn) { text-decoration: none; padding: 10px 0; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 40px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.pill { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-3); }
.hero-media { flex: 1 1 400px; min-width: 0; position: relative; padding: 20px; }

.photo { width: 100%; background: var(--mint); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--ink-3); font-size: 15px; object-fit: cover; }
.photo-hero { aspect-ratio: 4 / 5; border-radius: 32px; }
.photo-about { flex: 0 1 340px; aspect-ratio: 1 / 1; border-radius: 28px; background: var(--dark-2); color: #C8D8CB; }

.sticker { position: absolute; font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.sticker-1 { top: 40px; left: 0; background: var(--yellow); transform: rotate(-6deg); }
.sticker-2 { top: 46%; right: 0; background: var(--accent); color: var(--white); transform: rotate(5deg); }
.sticker-3 { bottom: 44px; left: 12px; background: var(--white); border: 1.5px solid var(--ink); transform: rotate(-3deg); }
/* Abaixo de ~1060px o hero vira coluna: limita a foto para ela não ficar gigante no tablet */
@media (max-width: 1080px) {
  .hero-media { max-width: 460px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .hero { gap: 32px; padding-top: 24px; padding-bottom: 56px; }
  .sticker { font-size: 13px; padding: 8px 12px; }
  .sticker-2 { display: none; }
  .band { padding: 64px 0; }
  /* CTAs principais em largura total: mais fácil de alcançar com o polegar */
  .hero .actions { width: 100%; gap: 8px; }
  .hero .actions .btn, .cta .btn { width: 100%; }
  /* Cards de preço: "Acompanhamento" estourava o card em 320px */
  .card.plan { padding: 24px; }
  .card.plan .btn { align-self: stretch; text-align: center; }
}

/* Cards */
.card { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--ink-2); }
.card p strong { color: var(--ink); }
.card-link { background: var(--white); text-decoration: none; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.card-link p { font-size: 15px; }
.card-link:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.card-cta { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--accent-text); }
.card-outline { border: 1.5px solid var(--line); }
.strike { font-weight: 600; line-height: 1.15; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }

/* About */
.about { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.about > .stack { flex: 1 1 480px; min-width: 0; }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; margin-top: 8px; }
.creds > div { border: 1px solid var(--dark-line); border-radius: 16px; padding: 16px 18px; }
.creds dt { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-2); }
.creds dd { font-weight: 700; margin-top: 4px; }

/* Steps */
.steps { gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps h3 { margin-top: 4px; font-size: 19px; }
.steps p { color: var(--ink-2); font-size: 15px; }
.step-num { width: 48px; height: 48px; border-radius: 999px; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; }

/* Testimonials */
.quote { background: var(--white); gap: 16px; }
.quote blockquote { font-size: 18px; line-height: 1.5; }
.quote figcaption { font-size: 14px; color: var(--ink-3); }

/* Pricing */
.plan { padding: 32px; gap: 18px; }
.plan ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.price { display: flex; flex-direction: column; gap: 2px; }
.price-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.price-note { font-size: 14px; color: var(--ink-3); }
.plan-featured { background: var(--ink); color: var(--white); }
.plan-featured ul { color: var(--on-dark); }
.plan-featured .price-note { color: #C8D8CB; }

/* FAQ */
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
/* padding no summary (não no details) para a linha inteira ser tocável */
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 24px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: -10px; padding-bottom: 20px; color: var(--ink-2); }

/* CTA + footer */
.cta { align-items: flex-start; gap: 22px; }
.site-footer { background: var(--accent); color: var(--white); font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 96px; border-top: 1px solid rgba(255,255,255,.35); }
.site-footer a { color: var(--white); }
/* links de texto pequenos: área de toque maior sem mudar o layout */
.site-footer a, .small a { display: inline-block; padding: 13px 0; margin: -13px 0; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: 999px; font-weight: 700; font-size: 16px; box-shadow: 0 10px 28px rgba(23,51,31,.28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { color: var(--white); background: #224A2D; }
@supports (bottom: env(safe-area-inset-bottom)) { .wa-float { bottom: max(16px, env(safe-area-inset-bottom)); } }

/* No celular o :hover "gruda" depois do toque: desliga os deslocamentos */
@media (hover: none) {
  .btn:hover, .card-link:hover { transform: none; }
  .card-link:hover { border-color: transparent; }
}

/* ===== UI motion =====
   Só transform/opacity (fluido no celular). Tudo desligado em prefers-reduced-motion (topo do arquivo).
   Hero: CSS puro, roda mesmo sem JS. Scroll reveal: só com a classe .motion, que o main.js coloca no <html>. */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); --ease-pop: cubic-bezier(.34, 1.56, .64, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { from { opacity: 0; scale: .6; } }
@keyframes marker { from { background-size: 0% 100%; } }

/* Hero: entra em sequência */
.hero-copy > * { animation: rise .6s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-media .photo { animation: rise .7s .12s var(--ease-out) both; }
.sticker { animation: pop .45s var(--ease-pop) both; }
.sticker-1 { animation-delay: .7s; }
.sticker-2 { animation-delay: .82s; }
.sticker-3 { animation-delay: .94s; }

/* Marca-texto "pintando" a palavra pizza */
.display mark {
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat left center / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: marker .7s .55s cubic-bezier(.65, 0, .35, 1) both;
}

/* Scroll reveal (o main.js marca os elementos com .reveal; --i é a ordem entre os que entram juntos na tela) */
.motion .reveal { opacity: 0; }
.motion .reveal.is-in { opacity: 1; animation: rise .6s calc(var(--i, 0) * 80ms) var(--ease-out) both; }
/* Como funciona: passos um depois do outro, número "pulando" */
.motion .steps > .reveal.is-in { animation-delay: calc(var(--i, 0) * 120ms); }
.motion .steps > .reveal.is-in .step-num { animation: pop .45s calc(var(--i, 0) * 120ms + .15s) var(--ease-pop) both; }

/* Cards de objetivo: levanta e a seta anda */
.card-link { transition: border-color .15s, transform .2s var(--ease-out), box-shadow .2s; }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(23,51,31,.10); }
.card-cta span { display: inline-block; transition: transform .2s var(--ease-out); }
.card-link:hover .card-cta span { transform: translateX(5px); }
/* Touch: o :hover gruda depois do toque (e o card abre o WhatsApp em outra aba).
   Precisa repetir o transform: none aqui, senão a regra acima vence a do bloco (hover: none) anterior. */
@media (hover: none) {
  .card-link:hover { transform: none; box-shadow: none; }
  .card-link:hover .card-cta span { transform: none; }
}

/* Impressão: não deixa conteúdo ainda não revelado sair em branco */
@media print {
  .motion .reveal { opacity: 1 !important; animation: none !important; }
}
