/* ============================================================
   Notion para Engenheiros — Landing page
   Identidade: vermelho #F44831 + estética Notion (limpo, preto/branco)
   ============================================================ */

:root {
  --red: #F44831;
  --red-dark: #d8341f;
  --red-soft: #ffece9;
  --ink: #191919;          /* preto Notion */
  --ink-2: #37352f;
  --gray: #6b6b6b;
  --gray-2: #9b9a97;
  --line: #ededec;
  --bg: #f4f2ee;          /* off-white quente (base com textura) */
  --bg-soft: #ebe8e2;     /* faixa alternada um tom mais escuro */
  --card: #ffffff;        /* cards brancos para destacar do fundo */
  --bg-dark: #191919;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,15,15,.05), 0 2px 8px rgba(15,15,15,.04);
  --shadow-md: 0 8px 30px rgba(15,15,15,.08);
  --shadow-lg: 0 24px 60px rgba(15,15,15,.14);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Lora', Georgia, serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  color: var(--ink-2);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 620px at 82% -8%, rgba(244,72,49,.07), transparent 60%),
    radial-gradient(900px 600px at 0% 30%, rgba(244,72,49,.035), transparent 55%),
    radial-gradient(circle at center, rgba(25,25,25,.035) 1px, transparent 1.4px);
  background-size: auto, auto, 24px 24px;
  background-attachment: fixed, fixed, scroll;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255,255,255,.7); }
.on-dark { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 700; font-size: .98rem; font-family: var(--font);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 8px 22px rgba(244,72,49,.32);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(244,72,49,.42); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.05rem; }
.btn-sm { --pad-y: 10px; --pad-x: 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.brand-text { color: var(--ink); font-weight: 500; }
.brand-text strong { font-weight: 800; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: .94rem; color: var(--gray); font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.header-cta { display: inline-flex; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 24px; background: #fff; border-bottom: 1px solid var(--line);
}
.mobile-menu a { padding: 12px 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: .82rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.hero h1 { margin-bottom: 20px; }
.hl { color: var(--red); }
.lead { font-size: 1.18rem; color: var(--gray); max-width: 540px; margin-bottom: 30px; }
.lead strong { color: var(--ink-2); font-weight: 700; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-trust li { display: flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 500; color: var(--gray); }
.hero-trust svg { width: 16px; height: 16px; fill: none; stroke: var(--red); stroke-width: 3; }

/* Hero visual + mockups */
.hero-visual { position: relative; }
.mockup-window {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mockup-window.large { box-shadow: var(--shadow-md); }
.mockup-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.mockup-bar span { width: 11px; height: 11px; border-radius: 50%; background: #e0e0dd; }
.mockup-bar span:nth-child(1) { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.mockup-bar em { margin-left: 10px; font-style: normal; font-size: .78rem; color: var(--gray-2); }
.mockup-body { background: #fff; }
.mockup-body img { display: block; width: 100%; height: auto; }
#galImg { transition: opacity .15s ease; }

/* placeholder fake UI */
.placeholder-img { position: relative; min-height: 320px; background: var(--bg-soft); }
.placeholder-img.tall { min-height: 440px; }
.placeholder-img::after {
  content: attr(data-label);
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; color: var(--gray-2); background: rgba(255,255,255,.85);
  padding: 4px 10px; border-radius: 6px; white-space: nowrap;
}
.fake-ui { display: flex; height: 100%; min-height: inherit; }
.fake-side { width: 28%; background: var(--bg-soft); border-right: 1px solid var(--line); }
.fake-main { flex: 1; padding: 22px; }
.fake-h { height: 26px; width: 55%; border-radius: 6px; background: linear-gradient(90deg,#ececea,#f6f5f3); margin-bottom: 20px; }
.fake-cards { display: flex; gap: 12px; margin-bottom: 22px; }
.fake-cards i { flex: 1; height: 64px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.fake-cards i:first-child { background: var(--red-soft); border-color: #ffd9d2; }
.fake-row { height: 14px; border-radius: 5px; background: #f0efed; margin-bottom: 12px; }
.fake-row.short { width: 65%; }

.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; line-height: 1.25;
}
.float-card strong { font-size: 1.15rem; color: var(--ink); }
.float-card span { font-size: .72rem; color: var(--gray); }
.float-card .up { color: #1a9d4f; font-weight: 700; font-size: .85rem; }
.float-1 { left: -26px; bottom: 40px; animation: floaty 5s ease-in-out infinite; }
.float-2 { right: -18px; top: 30px; animation: floaty 6s ease-in-out infinite .5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust bar ---------- */
.trustbar { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trustbar p { text-align: center; font-size: .85rem; color: var(--gray-2); margin-bottom: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.trust-items { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; }
.trust-items span { color: var(--gray-2); font-weight: 600; font-size: .95rem; }
.trust-items .arrow { color: var(--red); font-size: 1.2rem; }
.trust-items .winner { color: var(--ink); font-weight: 800; background: var(--red-soft); padding: 6px 14px; border-radius: 8px; }

/* ---------- Stats ---------- */
.stats { padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(2.2rem,4vw,3rem); color: var(--red); font-weight: 900; letter-spacing: -.03em; }
.stat span { font-size: .92rem; color: var(--gray); font-weight: 500; }

/* ---------- Generic section ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p { color: var(--gray); font-size: 1.1rem; margin-top: 14px; }

/* ---------- Personas ---------- */
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin-inline: auto; }
.persona {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.persona-icon { font-size: 2.4rem; margin-bottom: 14px; }
.persona h3 { font-size: 1.4rem; margin-bottom: 10px; }
.persona p { color: var(--gray); }

/* ---------- Pain ---------- */
.pain { background: var(--bg-dark); color: #d9d8d5; }
.pain-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pain-list { list-style: none; margin-top: 26px; }
.pain-list li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid rgba(255,255,255,.08); color: #b9b8b4; }
.pain-list li::before { content: "✕"; position: absolute; left: 0; top: 12px; color: var(--red); font-weight: 800; }
.pain-after { background: #fff; color: var(--ink-2); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.pain-after h3 { color: var(--ink); margin-bottom: 16px; }
.after-list { list-style: none; }
.after-list li { position: relative; padding: 11px 0 11px 32px; color: var(--gray); }
.after-list li b { color: var(--ink); }
.after-list li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: #1a9d4f; font-weight: 800; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #ffd9d2; }
.feature-ico {
  width: 52px; height: 52px; border-radius: 13px; background: var(--red-soft);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--gray); font-size: .98rem; }

.dashboard-callout {
  margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, var(--ink), #2b2b2b); color: #fff;
  border-radius: var(--radius); padding: 34px 38px; flex-wrap: wrap;
}
.dashboard-callout h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.dashboard-callout p { color: rgba(255,255,255,.72); max-width: 620px; }

/* ---------- Gallery ---------- */
.gallery { max-width: 920px; margin-inline: auto; }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; background: none; border: none; }
.g-tab {
  padding: 9px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  color: var(--gray); background: #fff; border: 1px solid var(--line); cursor: pointer; transition: .18s;
}
.g-tab:hover { color: var(--ink); }
.g-tab.active { background: var(--red); color: #fff; border-color: var(--red); }
.gallery-stage { position: relative; }

/* ---------- Bonus ---------- */
.bonus-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.bonus {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.bonus:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bonus-tag {
  display: inline-block; background: var(--red-soft); color: var(--red-dark);
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; margin-bottom: 14px;
}
.bonus h3 { margin-bottom: 8px; font-size: 1.1rem; }
.bonus p { color: var(--gray); font-size: .92rem; }
.bonus em { color: var(--gray-2); font-style: italic; }

/* ---------- Testimonials (prints de conversa) ---------- */
.testi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 1000px; margin-inline: auto; align-items: start;
}
.testi-shot { margin: 0; }
.testi-shot img {
  width: 100%; display: block; border-radius: 14px; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); transition: transform .2s, box-shadow .2s;
}
.testi-shot:hover img { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ---------- Vídeo ---------- */
.video-frame {
  max-width: 880px; margin: 0 auto; position: relative;
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Pricing ---------- */
.pricing-section { background: radial-gradient(900px 400px at 50% 0%, rgba(244,72,49,.10), transparent 65%); }
.pricing-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  max-width: 940px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.pricing-left { padding: 44px 40px; }
.pricing-left h3 { font-size: 1.35rem; margin-bottom: 22px; }
.pricing-includes { list-style: none; }
.pricing-includes li { position: relative; padding: 11px 0 11px 30px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.pricing-includes li:last-child { border-bottom: none; }
.pricing-includes li::before { content: "✓"; position: absolute; left: 0; top: 11px; color: var(--red); font-weight: 800; }
.pricing-right { padding: 44px 40px; background: var(--bg-soft); border-left: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; }
.price-from { color: var(--gray-2); text-decoration: line-through; font-size: .95rem; }
.price-main { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 4px 0; }
.price-x { font-size: 1rem; color: var(--gray); font-weight: 600; }
.price-value { font-size: 3rem; font-weight: 900; color: var(--ink); letter-spacing: -.03em; }
.price-value small { font-size: 1.3rem; }
.price-cash { color: var(--gray); font-size: .98rem; margin-bottom: 22px; }
.price-cash strong { color: var(--ink); }
.price-secure { font-size: .82rem; color: var(--gray); margin-top: 12px; }
.guarantee { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: left; }
.g-badge {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .82rem; line-height: 1.1; text-align: center;
}
.guarantee p { font-size: .85rem; color: var(--gray); }
.guarantee b { color: var(--ink); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.about-photo .portrait { min-height: 420px; border-radius: var(--radius); border: 1px solid var(--line); }
.placeholder-img.portrait::after { white-space: normal; }
.about-text .role { color: var(--red); font-weight: 700; margin-bottom: 18px; }
.about-text p { color: var(--gray); margin-bottom: 14px; }
.about-text .btn { margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--red); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--gray); }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center; padding: 90px 0;
  background: linear-gradient(120deg, var(--red), #ff6a55);
  color: #fff;
}
.final-cta h2 { color: #fff; max-width: 720px; margin: 0 auto 14px; }
.final-cta p { color: rgba(255,255,255,.9); font-size: 1.15rem; margin-bottom: 30px; }
.final-note { display: block; margin-top: 16px; font-size: .88rem; color: rgba(255,255,255,.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9b8b4; padding: 44px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand .brand-text { color: #fff; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: #b9b8b4; font-size: .92rem; transition: color .15s; }
.footer-nav a:hover { color: #fff; }
.copyright { font-size: .85rem; color: var(--gray); width: 100%; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 4px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  background: var(--red); color: #fff; border-radius: 14px;
  padding: 14px 20px; align-items: center; justify-content: space-between;
  box-shadow: 0 10px 30px rgba(244,72,49,.45); font-weight: 600;
}
.sticky-cta strong { font-size: 1.15rem; }
.sticky-cta span { font-weight: 700; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .pain-grid, .about-grid, .pricing-card { grid-template-columns: 1fr; }
  .features-grid, .bonus-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .pricing-right { border-left: none; border-top: 1px solid var(--line); }
  .about-photo { max-width: 360px; margin-inline: auto; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 70px; }
  .features-grid, .bonus-grid, .persona-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .float-1 { left: 8px; }
  .float-2 { right: 8px; }
  .hero-visual { margin-inline: auto; }
  .dashboard-callout { flex-direction: column; align-items: flex-start; text-align: left; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
