/* =============================================================================
   PainelPizza — landing page
   ============================================================================= */

:root {
  --brand: #C2410C;
  --brand-dark: #9A3412;
  --brand-50: #FFF7ED;
  --ink: #1C1917;
  --muted: #57534E;
  --muted-2: #7A6F64;
  --cream: #FFF8F1;
  --cream-2: #F7EEE3;
  --surface: #FFFFFF;
  --border: #E9DDD0;
  --green: #15803D;
  --green-50: #F0FDF4;
  --yellow: #F5B942;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 18px 50px rgba(45, 25, 12, .09);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  transform: translateY(-200%);
  background: var(--ink); color: #fff;
  padding: 12px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { transform: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ================================= HEADER =============================== */

.topbar {
  background: var(--ink);
  color: #F5EBE0;
  font-size: .72rem;
}
.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 0;
}
.topbar a { color: #FFC08A; font-weight: 700; margin-left: 6px; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.topbar-sep { opacity: .4; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 241, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.logo-img { display: block; height: 38px; width: auto; mix-blend-mode: multiply; }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 12px rgba(194, 65, 12, .22);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-type { font-family: var(--display); font-size: 1.16rem; font-weight: 600; letter-spacing: -.02em; }
.logo-mark-img { background: #FFF8F1; padding: 4px; overflow: hidden; box-shadow: none; }
.logo-mark-img img { width: 100%; height: 100%; object-fit: contain; }
.logo-footer .logo-type { color: #FFF8F1; display: inline-flex; gap: 0; }
.logo-footer .logo-type strong { font-weight: 600; }
.logo-footer .logo-type em { font-style: normal; color: #FB923C; }

.site-nav { display: flex; gap: 22px; margin-left: 8px; }
.site-nav a { font-size: .84rem; font-weight: 700; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.login-link { font-size: .82rem; font-weight: 700; color: var(--muted); padding: 9px; }
.login-link:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ================================= BOTÕES =============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(194, 65, 12, .2); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-secondary:hover { border-color: #D8C4AE; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .76rem; border-radius: 10px; }
.btn-full { width: 100%; }
.text-link { color: var(--brand); font-weight: 700; font-size: .86rem; display: inline-flex; gap: 6px; align-items: center; padding: 4px; }
.text-link:hover { text-decoration: underline; }

/* ================================== HERO ================================ */

.hero {
  position: relative;
  padding: 70px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 12% -10%, #FBE3CB 0%, rgba(251, 227, 203, 0) 58%),
    radial-gradient(700px 500px at 92% 0%, #F4D7BE 0%, rgba(244, 215, 190, 0) 55%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.eyebrow.light { color: #FFC08A; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.45rem, 5.1vw, 4.05rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-sub {
  max-width: 48ch;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .76rem; color: var(--muted); }
.trust-list li { display: flex; align-items: center; gap: 6px; }
.trust-list li::before { content: "✓"; color: var(--green); font-weight: 700; }

.hero-visual { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; }
.phone {
  position: relative;
  width: 300px;
  border-radius: 42px;
  background: #191410;
  padding: 9px;
  box-shadow: 0 38px 70px rgba(45, 25, 12, .28);
  transform: rotate(2deg);
}
.phone::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 34px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone-notch { height: 16px; position: relative; }
.phone-notch::after {
  content: "";
  position: absolute;
  left: 50%; top: 3px;
  width: 64px; height: 7px;
  border-radius: 999px;
  background: #2D2822;
  transform: translateX(-50%);
}
.phone img { border-radius: 34px; width: 100%; height: auto; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(233, 221, 208, .9);
  border-radius: 13px;
  padding: 9px 11px;
  box-shadow: 0 14px 30px rgba(45, 25, 12, .14);
  backdrop-filter: blur(8px);
}
.float-card strong { display: block; font-size: .72rem; line-height: 1.15; }
.float-card small { display: block; font-size: .6rem; color: var(--muted); margin-top: 1px; }
.float-star, .float-check, .float-spark {
  width: 28px; height: 28px; flex: none;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.float-star { background: #FEF3C7; color: #B45309; }
.float-check { background: var(--green-50); color: var(--green); }
.float-spark { background: var(--brand-50); color: var(--brand); }
.float-review { left: -12px; top: 120px; }
.float-order { right: -6px; top: 315px; }
.float-choice { left: 4px; bottom: 84px; }

/* ================================= PROVA ================================ */

.proof-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div {
  padding: 20px 14px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { display: block; font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; color: var(--brand); }
.proof-grid span { display: block; font-size: .7rem; color: var(--muted); margin-top: 2px; }

/* ================================ SEÇÕES ================================ */

.section { padding: 80px 0; }
.section-soft { background: var(--cream-2); }
.section-dark { background: var(--ink); color: #F6EFE6; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.section-sub { margin-top: 12px; font-size: .95rem; line-height: 1.6; color: var(--muted); max-width: 58ch; }
.section-sub.light { color: #C9BCAE; }
.section-dark .section-head h2 { color: #FFF8F1; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.problem-card {
  background: #241F1A;
  border: 1px solid #3A312A;
  border-radius: var(--radius);
  padding: 22px;
}
.problem-num { font-family: var(--display); font-size: .8rem; color: #D6A47A; }
.problem-card h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; margin: 14px 0 7px; color: #FFF8F1; }
.problem-card p { font-size: .82rem; line-height: 1.55; color: #C9BCAE; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .03);
}
.feature-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 1rem;
  margin-bottom: 13px;
}
.feature-card h3 { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 5px; }
.feature-card p { font-size: .81rem; line-height: 1.55; color: var(--muted); }

/* =============================== SHOWCASE =============================== */

.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; }
.showcase-copy h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.showcase-copy > p { margin-top: 12px; color: var(--muted); font-size: .9rem; line-height: 1.6; max-width: 44ch; }
.check-list { display: grid; gap: 7px; margin: 16px 0 18px; }
.check-list li { display: flex; gap: 8px; font-size: .8rem; color: var(--muted); }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 700; }
.showcase-visual { position: relative; min-height: 460px; }
.show-shot { border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--border); height: auto; }
.show-shot-main { width: 240px; position: relative; z-index: 2; margin-left: 40px; }
.show-shot-side { width: 420px; position: absolute; right: 0; bottom: 20px; z-index: 1; }

/* ================================= STEPS ================================ */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.step-num {
  display: inline-flex;
  width: 34px; height: 34px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  margin-bottom: 14px;
}
.steps h3 { font-family: var(--display); font-size: 1.18rem; font-weight: 600; margin-bottom: 5px; }
.steps p { font-size: .8rem; line-height: 1.55; color: var(--muted); }

/* ================================= PREÇOS =============================== */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.price-card.is-featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #F6EFE6;
  box-shadow: 0 24px 50px rgba(45, 25, 12, .2);
  transform: translateY(-4px);
}
.price-badge {
  position: absolute;
  top: -11px; left: 24px;
  background: var(--yellow);
  color: var(--ink);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.price-name { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.price-card.is-featured .price-name { color: #FFC08A; }
.price-value { font-family: var(--display); font-size: 2.7rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin: 8px 0 4px; }
.price-value span { font-size: 1rem; vertical-align: top; margin-right: 2px; }
.price-value small { font-family: var(--font); font-size: .7rem; font-weight: 400; color: var(--muted); margin-left: 3px; }
.price-card.is-featured .price-value small { color: #C9BCAE; }
.price-desc { font-size: .78rem; color: var(--muted); min-height: 40px; }
.price-card.is-featured .price-desc { color: #C9BCAE; }
.price-card ul { display: grid; gap: 7px; margin: 16px 0 20px; }
.price-card li { display: flex; gap: 7px; font-size: .78rem; color: var(--muted); }
.price-card li::before { content: "✓"; color: var(--green); font-weight: 700; }
.price-card.is-featured li { color: #D8CCC0; }
.price-card.is-featured li::before { color: #7CFFB2; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; font-size: .72rem; color: var(--muted); margin-top: 18px; }

/* =============================== COMPARATIVO ============================ */

.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.compare-table th, .compare-table td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--border); font-size: .8rem; }
.compare-table th { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #FBF6EF; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .is-highlight td { background: var(--brand-50); }
.compare-table .is-highlight td:first-child { color: var(--brand-dark); }
.table-note { font-size: .66rem; color: var(--muted); margin-top: 10px; }

/* ================================== FAQ ================================= */

.faq-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; align-items: start; }
.faq-intro h2 { font-family: var(--display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.faq-intro p { margin: 12px 0 14px; font-size: .85rem; color: var(--muted); max-width: 36ch; }
.faq-list { display: grid; gap: 8px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 0 16px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 0;
  font-size: .84rem;
  font-weight: 700;
  position: relative;
  padding-right: 24px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.1rem;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 15px; font-size: .8rem; line-height: 1.55; color: var(--muted); }

/* ================================ CTA FINAL ============================= */

.cta-final {
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(194, 65, 12, .35) 0%, transparent 60%),
    var(--ink);
  color: #FFF8F1;
  padding: 70px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-family: var(--display); font-size: clamp(2rem, 3.7vw, 3rem); font-weight: 600; line-height: 1.03; letter-spacing: -.03em; }
.cta-inner p { margin-top: 12px; font-size: .88rem; color: #C9BCAE; max-width: 46ch; }
.cta-actions { display: flex; flex-direction: column; gap: 9px; min-width: 250px; }
.cta-actions small { font-size: .64rem; color: #A89684; text-align: center; }

/* ================================= FOOTER =============================== */

.site-footer { background: #14110E; color: #D8CCC0; padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-tag { font-size: .74rem; color: #A89684; margin-top: 10px; max-width: 30ch; line-height: 1.5; }
.site-footer h2 { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #A89684; margin-bottom: 9px; }
.site-footer nav a { display: flex; align-items: center; min-height: 24px; padding: 5px 0; font-size: .74rem; color: #D8CCC0; }
.site-footer nav a:hover { color: #FFC08A; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #2D2822;
  margin-top: 32px;
  padding-top: 14px;
  font-size: .62rem;
  color: #A89684;
}

/* ================================ RESPONSIVO ============================ */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 520px; }
  .feature-grid, .problem-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase-visual { min-height: 430px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .topbar-inner { font-size: .64rem; }
  .topbar-inner span:nth-child(3) { display: none; }
  .header-inner { min-height: 64px; gap: 10px; }
  .logo-img { height: 32px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px; right: 16px; top: 64px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 2px;
    z-index: 60;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 12px; border-radius: 8px; }
  .site-nav a:hover { background: var(--brand-50); }
  .header-actions { margin-left: 0; }
  .login-link { display: none; }
  .header-actions .btn { min-height: 40px; padding: 0 12px; font-size: .72rem; }

  .hero { padding: 44px 0 36px; }
  .hero h1 { font-size: clamp(2.25rem, 10.5vw, 3.1rem); }
  .hero-sub { font-size: .92rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 470px; }
  .phone { width: 250px; }
  .float-review { left: -2px; top: 100px; }
  .float-order { right: -2px; top: 280px; }
  .float-choice { left: 0; bottom: 28px; }

  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .proof-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .section { padding: 52px 0; }
  .problem-grid, .feature-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .price-card.is-featured { transform: none; }
  .showcase-visual { min-height: 330px; }
  .show-shot-main { width: 180px; margin-left: 0; }
  .show-shot-side { width: 300px; bottom: 0; }
  .faq-wrap { gap: 18px; }
  .cta-inner h2 { font-size: 2rem; }
  .cta-actions { width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}

@media (max-width: 430px) {
  .showcase-visual { min-height: 290px; }
  .show-shot-main { width: 155px; }
  .show-shot-side { width: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
