/* =========================================================
   DOSSIÊ ESTRATÉGICO — Salesland × Antônio Henrique
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #0A0A0A;
  --bg-1: #111111;
  --bg-2: #161616;
  --bg-3: #1C1C1C;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --ink: #F2F0EC;
  --ink-mute: #9A9A95;
  --ink-dim: #5C5C58;
  --brand: #FC4434;
  --brand-deep: #B0271A;
  --brand-soft: rgba(252, 68, 52, 0.12);
  --gold: #D4B36A;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Geist Mono', 'Courier New', monospace;

  --max: 1400px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(80px, 10vw, 160px);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

/* subtle grain overlay (full page) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

::selection { background: var(--brand); color: var(--bg); }

/* ----- typography utilities ----- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow .accent { color: var(--brand); }
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.serif { font-family: var(--serif); font-feature-settings: "ss01", "ss02"; }
.italic { font-style: italic; }
.mono { font-family: var(--mono); }

/* ----- shell ----- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ============================
   TOP BAR
   ============================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 56px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.topbar-inner .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2.4s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}
.topbar-meta { display: flex; gap: 28px; }
.topbar-meta span:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--ink-dim);
  border-radius: 50%;
  margin-left: 28px;
  vertical-align: middle;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  padding: 120px var(--gutter) clamp(80px, 12vw, 140px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(252, 68, 52, 0.10), transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(252, 68, 52, 0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-logo-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #0F0F0F 0%, #050505 100%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
}
.hero-logo-frame::before,
.hero-logo-frame::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--brand);
}
.hero-logo-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-logo-frame::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero-logo-frame .frame-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-logo {
  width: 100%;
  max-width: 280px;
  margin: auto;
  filter: drop-shadow(0 8px 32px rgba(252, 68, 52, 0.18));
}
.hero-logo img,
.hero-logo svg { width: 100%; height: auto; display: block; }

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta-row .pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-1);
}
.hero-meta-row .pill.brand {
  background: var(--brand);
  color: var(--bg);
  border-color: var(--brand);
  font-weight: 600;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  margin-top: 8px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.hero-title .stroke {
  display: inline-block;
  position: relative;
}
.hero-title .stroke::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.12em;
  width: 100%; height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 1.4s 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes drawLine { to { transform: scaleX(1); } }

.hero-sub {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-mute);
  max-width: 56ch;
}

.hero-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-foot .cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-foot .cell .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.hero-foot .cell .v {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 400;
}

/* ============================
   SECTION COMMON
   ============================ */
section.block {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-num {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--brand);
  padding-top: 18px;
}
.section-num .big {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.section-num .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}
.section-title em { font-style: italic; color: var(--brand); }
.section-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-mute);
  max-width: 68ch;
  margin-top: 24px;
}

/* ============================
   BRIEFING — context block
   ============================ */
.brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.brief-grid .col p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 18px;
}
.brief-grid .col p + p { color: var(--ink-mute); }
.brief-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.brief-stats .stat {
  border: 1px solid var(--line-strong);
  padding: 20px;
  background: var(--bg-1);
}
.brief-stats .stat .num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  font-weight: 300;
  color: var(--brand);
}
.brief-stats .stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 10px;
}

/* ============================
   PILLAR — service detail blocks
   ============================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar-grid > * { background: var(--bg); padding: 28px; }
.pillar-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.fseq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: background 0.3s ease;
}
.fseq:hover { background: var(--bg-1); }
.fseq .fseq-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--brand);
  font-weight: 600;
}
.fseq .fseq-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.fseq .fseq-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* whatsapp pillar */
.flow-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.flow-list .row {
  display: grid;
  grid-template-columns: 60px 220px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.flow-list .row .idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 0.16em;
  padding-top: 4px;
}
.flow-list .row .ttl {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.flow-list .row .desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mute);
}
.flow-list .row .desc strong {
  color: var(--ink);
  font-weight: 500;
}

/* tráfego pago */
.traffic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.traffic-grid .panel {
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
}
.traffic-grid .panel:hover { background: var(--bg-1); }
.traffic-grid .panel .ph {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.traffic-grid .panel h4 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.traffic-grid .panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.traffic-grid .panel li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mute);
}
.traffic-grid .panel li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: var(--brand);
}

/* ============================
   TIMELINE
   ============================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline .step {
  background: var(--bg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid transparent;
  transition: border-color 0.4s ease, background 0.3s ease;
}
.timeline .step:hover { border-top-color: var(--brand); background: var(--bg-1); }
.timeline .step .ph {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}
.timeline .step .when {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.timeline .step .what {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* ============================
   SCENARIOS — pricing
   ============================ */
.scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.scenario {
  position: relative;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.scenario:hover { transform: translateY(-4px); border-color: var(--brand); }
.scenario.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(252,68,52,0.06) 0%, var(--bg-1) 60%);
}
.scenario.featured::before {
  content: 'Recomendado';
  position: absolute;
  top: -1px; right: -1px;
  background: var(--brand);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 14px;
}
.scenario .sc-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.scenario .sc-name {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.scenario .sc-desc {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-mute);
}
.scenario .sc-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.scenario .sc-includes li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.scenario .sc-includes li::before {
  content: '+';
  position: absolute;
  left: 0; top: 0;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
}
.scenario .sc-includes li.muted { color: var(--ink-dim); }
.scenario .sc-includes li.muted::before { content: '−'; color: var(--ink-dim); }

.sc-price {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sc-price .p {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sc-price .p .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.sc-price .p .v {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.sc-price .p .v .cur {
  font-size: 14px;
  color: var(--ink-mute);
  margin-right: 4px;
  vertical-align: 8px;
  font-family: var(--mono);
}
.sc-price .p .vat {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sc-period {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.sc-period strong { color: var(--ink); font-weight: 500; }

.scenarios-foot {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================
   CTA — closing
   ============================ */
.cta {
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(252,68,52,0.10), transparent 70%);
  pointer-events: none;
}
.cta-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 24px;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 14ch;
  margin: 0 auto;
  font-variation-settings: "opsz" 144;
}
.cta-title em { font-style: italic; color: var(--brand); }
.cta-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-mute);
  max-width: 56ch;
  margin: 28px auto 48px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: all 0.3s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--bg); font-weight: 600; }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn .arrow { font-family: var(--serif); font-size: 16px; }

/* ============================
   FOOTER
   ============================ */
footer.foot {
  padding: 40px 0 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
footer.foot .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer.foot .row .accent { color: var(--brand); }

/* ============================
   REVEAL ANIMATION
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo-frame { min-height: 380px; max-width: 420px; margin: 0 auto; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .pillar-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .traffic-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .brief-grid { grid-template-columns: 1fr; }
  .scenarios { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar-meta { display: none; }
  .pillar-grid, .pillar-grid.cols-3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero-foot { grid-template-columns: repeat(2, 1fr); }
  .flow-list .row { grid-template-columns: 40px 1fr; gap: 16px; }
  .flow-list .row .idx { padding-top: 0; }
  .flow-list .row .ttl { grid-column: 2; }
  .flow-list .row .desc { grid-column: 2; }
  .brief-stats { grid-template-columns: 1fr; }
  .sc-price { grid-template-columns: 1fr; }
  .scenario { padding: 28px 24px; }
}
