*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #080807;
  --text: #d6d2c8;
  --text-body: #a09d94;
  --text-muted: #55534c;
  --accent: #b03a3a;
  --accent-dim: rgba(176,58,58,0.12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--bg); }

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 100;
  padding: 28px 0;
  text-align: center;
  mix-blend-mode: difference;
  pointer-events: none;
}
.logo {
  height: 18px;
  width: auto;
  opacity: 0.4;
  filter: invert(1);
}

/* ════════════════════════════════════════
   PARALLAX PANELS
════════════════════════════════════════ */
.parallax-panel {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero {
  min-height: 100vh;
}
.parallax-panel .bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}
.parallax-panel .overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.parallax-panel .content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 36px;
}

/* Hero */
.hero .bg {
  background-image: url('../img/bg-hero-wide.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero .overlay {
  background: rgba(8,8,7,0.85);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.8vw, 50px);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: none;
}
.hero h1 em {
  color: var(--accent);
  font-style: italic;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--text);
  opacity: 0.4;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-body);
  max-width: 520px;
  margin: 22px auto 0;
  letter-spacing: 0.01em;
  opacity: 0.85;
  text-shadow: none;
}

/* Piranesi */
.panel-piranesi .bg {
  background-image: url('../img/image-from-rawpixel-id-10024827-original.jpg');
  background-position: center 20%;
}
.panel-piranesi .overlay {
  background:
    radial-gradient(ellipse at center, rgba(8,8,7,0.6) 0%, rgba(8,8,7,0.85) 100%),
    linear-gradient(180deg, rgba(8,8,7,0.95) 0%, rgba(8,8,7,0.35) 18%, rgba(8,8,7,0.35) 78%, rgba(8,8,7,0.95) 100%);
}

/* Farmer */
.panel-farmer .bg {
  background-image: url('../img/image-from-rawpixel-id-3049257-jpeg.jpg');
  background-position: center 40%;
}
.panel-farmer .overlay {
  background:
    radial-gradient(ellipse at center, rgba(8,8,7,0.5) 0%, rgba(8,8,7,0.82) 100%),
    linear-gradient(180deg, rgba(8,8,7,0.95) 0%, rgba(8,8,7,0.3) 22%, rgba(8,8,7,0.3) 72%, rgba(8,8,7,0.95) 100%);
}

/* Panel text — ultra-bold, glowing legibility */
.panel-quote {
  font-family: var(--serif);
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.35;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 24px rgba(0,0,0,0.8),
    0 0 60px rgba(0,0,0,0.5),
    0 0 120px rgba(0,0,0,0.3);
}

/* ════════════════════════════════════════
   DIAGNOSTIC SECTION MARKERS
════════════════════════════════════════ */
.section-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.marker-num {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.05em;
  opacity: 0.65;
  flex-shrink: 0;
}
.marker-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);

  opacity: 0.12;
}
.marker-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   DIAGNOSTIC SIDEBAR INDICATOR
   (vertical text that runs alongside content sections)
════════════════════════════════════════ */
.diag-indicator {
  position: absolute;
  left: max(16px, calc((100vw - 560px) / 2 - 72px));
  top: 88px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
  transform: rotate(180deg);
}

/* ════════════════════════════════════════
   DARK TEXT SECTIONS
════════════════════════════════════════ */
.dark-section {
  position: relative;
  z-index: 3;
  background: var(--bg);
}
.text-col {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 28px;
}
.dark-section + .dark-section .text-col {
  padding-top: 0;
}

.text-col p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 20px;
  letter-spacing: 0.003em;
}
.text-col p:last-child { margin-bottom: 0; }
.text-col strong { color: var(--text); font-weight: 500; }
.text-col em { color: var(--text); font-style: italic; }
.text-col .gold { color: var(--accent); font-weight: 500; }
.text-col .muted { color: var(--text-muted); }

/* Diagnostic annotation — underlined key phrases */
.text-col .annotate {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid rgba(176,58,58,0.3);
  padding-bottom: 1px;
}

/* Diagnostic pull-quote — used for key insight in text sections */
.diag-pullquote {
  position: relative;
  padding: 22px 0 22px 24px;
  margin: 26px 0;
  border-left: 2px solid var(--accent);
}
.diag-pullquote::before {
  content: attr(data-label);
  position: absolute;
  top: -8px;
  left: 28px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.5;
  background: var(--bg);
  padding: 0 6px 0 0;
}
.diag-pullquote p {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 0 !important;
}

/* ════════════════════════════════════════
   DIVIDER — small gold stethoscope / cross icon between sections
════════════════════════════════════════ */
.section-divider {
  position: relative;
  z-index: 3;
  background: var(--bg);
  text-align: center;
  padding: 8px 0;
}
.section-divider svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  opacity: 0.2;
}

/* ════════════════════════════════════════
   DIAGNOSTIC REPORT CARD — CTA
════════════════════════════════════════ */
.card-section {
  position: relative;
  z-index: 3;
  background: var(--bg);
  padding: 40px 28px 72px;
  display: flex;
  justify-content: center;
}

.report-card {
  position: relative;
  max-width: 480px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"),
    linear-gradient(178deg, #1a0e0e 0%, #160b0b 30%, #120909 60%, #0e0707 100%);
  border: 1px solid rgba(176,58,58,0.2);
  box-shadow:
    0 1px 4px rgba(0,0,0,0.3),
    0 8px 32px rgba(176,58,58,0.12),
    0 32px 72px rgba(0,0,0,0.4);
}

/* Subtle vignette */
.report-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(176,58,58,0.06) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Decorative corner stamps */
.report-card::after {
  content: '✦';
  position: absolute;
  top: 14px; right: 16px;
  font-size: 8px;
  color: rgba(176,58,58,0.25);
  z-index: 2;
}

.report-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(176,58,58,0.15);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.report-type {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(176,58,58,0.6);
  margin-bottom: 8px;
}

.report-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.report-badge {
  flex-shrink: 0;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
  padding: 5px 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.report-body {
  padding: 22px 32px 28px;
  position: relative;
  z-index: 2;
}

.report-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-icon {
  width: 14px; height: 14px;
}
.meta-icon svg {
  width: 100%; height: 100%;
  stroke: rgba(176,58,58,0.5); fill: none; stroke-width: 2;
}
.meta-text {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.report-price-row {
  text-align: center;
  padding: 16px 0 20px;
}
.report-price {
  font-family: var(--serif);
  font-size: clamp(48px, 11vw, 64px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.report-price .currency {
  font-family: var(--sans);
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0.02em;
  vertical-align: super;
  margin-right: 2px;
  color: var(--accent);
}
.report-price-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  letter-spacing: 0.02em;
}

.report-btn {
  display: block;
  width: 100%;
  padding: 17px 0;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 3px;
  transition: all 0.3s;
}
.report-btn:hover {
  background: #c44545;
  box-shadow: 0 4px 20px rgba(176,58,58,0.4);
  transform: translateY(-1px);
}

.report-footer {
  padding: 18px 36px 24px;
  border-top: 1px solid rgba(176,58,58,0.12);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.015em;
}
.trust-icon { width: 13px; height: 13px; opacity: 0.5; }
.trust-icon svg {
  width: 100%; height: 100%;
  stroke: rgba(176,58,58,0.5); fill: none; stroke-width: 2;
}

/* ════════════════════════════════════════
   SYSTEM SHOWCASE — VERTICAL BLOCKS
════════════════════════════════════════ */
.showcase-section {
  position: relative;
  z-index: 3;
  background: var(--bg);
  padding: 0 0 48px;
}

.showcase-block {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 28px;
}
.showcase-block:last-child { margin-bottom: 0; }

/* Screenshot — full-width crop */
.showcase-img {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(176,58,58,0.10);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.35),
    0 0 0 1px rgba(176,58,58,0.05);
  margin-bottom: 24px;
}
.showcase-img img {
  width: 100%;
  display: block;
}

/* Legenda abaixo do crop */
.showcase-caption {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  letter-spacing: 0.003em;
  max-width: 560px;
}

/* ════════════════════════════════════════
   REPORT CARD — INCLUDES LIST
════════════════════════════════════════ */
.report-includes {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(176,58,58,0.1);
}
.report-includes-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 14px;
}
.report-includes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.include-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
  letter-spacing: 0.01em;
}
.include-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ════════════════════════════════════════
   PS + FOOTER
════════════════════════════════════════ */
.ps-footer {
  position: relative;
  z-index: 3;
  background: var(--bg);
}
.ps-col {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 28px 48px;
}
.ps-col p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
  font-style: italic;
}
footer {
  position: relative; z-index: 3;
  background: var(--bg);
  text-align: center;
  padding: 32px 28px 40px;
  border-top: 1px solid #1a1917;
}
.footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.25;
  filter: invert(1);
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--text-muted);
  opacity: 0.9;
  margin-top: 16px;
}
.footer-credits {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 10px;
}

/* ════════════════════════════════════════
   REVEAL ANIMATION
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.visible > * { opacity: 0; transform: translateY(14px); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }

::-webkit-scrollbar { width: 0px; }

/* ════════════════════════════════════════
   EXIT-INTENT POPUP
════════════════════════════════════════ */
.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.exit-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup {
  position: relative;
  background: #0e0d0b;
  border: 1px solid rgba(176,58,58,0.15);
  border-radius: 6px;
  padding: 44px 36px 36px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.exit-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.exit-close:hover { opacity: 1; }

.exit-headline {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.exit-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 24px;
}

.exit-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.exit-input {
  width: 100%;
  padding: 14px 14px;
  font-family: var(--sans);
  font-size: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(176,58,58,0.15);
  border-radius: 4px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}
.exit-input::placeholder { color: var(--text-muted); }
.exit-input:focus { border-color: var(--accent); }

.exit-btn {
  width: 100%;
  padding: 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.exit-btn:hover { background: #c44; }

.exit-fine {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
  text-align: center;
}

.exit-body mark {
  background: rgba(176,58,58,0.25);
  color: var(--text);
  padding: 1px 4px;
  border-radius: 2px;
}
.exit-body strong {
  color: var(--text);
  font-weight: 600;
}

.exit-success {
  text-align: center;
  padding: 12px 0;
}
.exit-success p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

/* ════════════════════════════════════════
   MOBILE
════════════════════════════════════════ */
@media (max-width: 640px) {
  .text-col { padding: 48px 22px; }
  .dark-section + .dark-section .text-col { padding-top: 0; }
  .text-col p { font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
  .parallax-panel { min-height: 65vh; }
  .parallax-panel .content { max-width: 100%; padding: 0 24px; }
  .panel-quote { font-size: clamp(20px, 5.5vw, 32px); }
  .hero h1 { font-size: clamp(24px, 6.5vw, 38px); }
  .card-section { padding: 28px 16px 56px; }
  .report-header { padding: 24px 22px 18px; flex-direction: column; gap: 10px; }
  .report-body { padding: 20px 22px 26px; }
  .report-footer { padding: 14px 22px 20px; gap: 14px; }
  .report-badge { align-self: flex-start; }
  .ps-col { padding: 0 22px 40px; }
  .section-marker { margin-bottom: 28px; }
  .diag-indicator { display: none; }
  .diag-pullquote { padding: 24px 0 24px 22px; margin: 28px 0; }
  .diag-pullquote p { font-size: 18px; }

  /* Showcase mobile */
  .showcase-block { padding: 0 16px; margin-bottom: 36px; }
  .showcase-img { margin-bottom: 14px; }
  .showcase-caption { font-size: 13px; }

  /* Report includes mobile */
  .report-includes-list { gap: 10px; }
  .include-item { font-size: 13px; }

  /* Exit-intent mobile */
  .exit-popup { padding: 36px 24px 28px; }
  .exit-headline { font-size: 20px; }
  .exit-body { font-size: 14px; }
  .exit-form { flex-direction: column; }
  .exit-btn { padding: 14px; text-align: center; }
}
