/* ==========================================================================
   Workshop Claude Code para Negocios — style.css
   Design System tokens + base styles + all 13 sections (mobile first)
   ========================================================================== */

/* --- @font-face --- */

@font-face {
  font-family: 'Costly';
  src: url('/fonts/Costly.woff2') format('woff2'),
       url('/fonts/Costly.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nofex';
  src: url('/fonts/Nofex.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JUST Sans';
  src: url('/fonts/JUST Sans Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JUST Sans';
  src: url('/fonts/JUST Sans Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JUST Sans';
  src: url('/fonts/JUST Sans SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bergen Mono';
  src: url('/fonts/BergenMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bergen Mono';
  src: url('/fonts/BergenMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Custom Properties --- */

:root {
  --font-display: 'Nofex', 'Costly', sans-serif;
  --font-body: 'JUST Sans', sans-serif;
  --font-mono: 'Bergen Mono', monospace;

  --color-bg: #ffffff;
  --color-bg-dark: #111214;
  --color-surface: #f0f1f3;

  --color-text: #18181b;
  --color-text-on-dark: #dcdde0;
  --color-text-muted: #5c5f66;
  --color-text-muted-dark: rgba(220, 221, 224, 0.5);

  --color-primary: #e25e3e;
  --color-primary-hover: #c64f30;

  --color-border: #d4d6db;
  --color-border-dark: rgba(255, 255, 255, 0.08);

  --color-error: #dc2626;
  --color-success: #16a34a;

  --color-terminal-green: #4ade80;
  --color-terminal-blue: #60a5fa;
  --color-terminal-white: #ffffff;
  --color-terminal-muted: rgba(255, 255, 255, 0.45);
  --color-terminal-dim: rgba(255, 255, 255, 0.25);

  --container-px: clamp(1.25rem, 5vw, 2rem);
  --container-max: 1100px;
  --section-py: clamp(5rem, 12vw, 9rem);
  --cards-gap: 0.75rem;
  --form-group-gap: 1.25rem;
}

/* --- Reset --- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 48px;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-hover);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Container --- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* --- Typography --- */

.heading-display {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.1;
}

.heading-section {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  line-height: 1.15;
}

.text-mono {
  font-family: var(--font-mono);
  font-weight: 400;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-muted-dark {
  color: var(--color-text-muted-dark);
}

.text-accent {
  color: var(--color-primary);
}

.text-semibold {
  font-weight: 600;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  padding: 1rem 2rem;
  border-radius: 6px;
  min-height: 50px;
  transition: all 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn--primary:hover {
  background: #ffffff;
  color: var(--color-bg-dark);
}

.btn--full {
  width: 100%;
}

@media (min-width: 768px) {
  .btn {
    font-size: 0.95rem;
    padding: 1rem 2.5rem;
    min-height: 52px;
  }

  .btn--full {
    width: auto;
    min-width: 320px;
  }
}

/* --- Sections --- */

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section--light {
  background: var(--color-bg);
  color: var(--color-text);
}

/* --- A/B Variant Visibility --- */

.variant-a .ab-b {
  display: none !important;
}

.variant-b .ab-a {
  display: none !important;
}

/* ==========================================================================
   1. TOP BAR
   ========================================================================== */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-bg-dark);
  border-bottom: 1px solid rgba(226, 94, 62, 0.15);
  height: 48px;
  overflow: hidden;
}

.topbar__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), #ff9966);
  transition: width 0.3s ease;
  z-index: 1;
}

.topbar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-on-dark);
}

.topbar__desktop {
  display: none;
}

.topbar__mobile {
  display: block;
  width: 100%;
  text-align: center;
  letter-spacing: 0.05em;
}

.topbar__slots .slots--urgent,
.topbar__mobile .slots--urgent {
  color: var(--color-primary);
  animation: pulse 2s ease infinite;
}

@media (min-width: 768px) {
  .topbar__desktop {
    display: block;
  }

  .topbar__mobile {
    display: none;
  }

  .topbar__countdown {
    letter-spacing: 0.05em;
  }

  .topbar__slots {
    letter-spacing: 0.05em;
  }
}

/* ==========================================================================
   2. HERO
   ========================================================================== */

.hero {
  position: relative;
  background: var(--color-bg-dark);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 8vw, 5rem);
}

/* Grid pattern */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* Scanlines */
.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  z-index: 0;
  pointer-events: none;
}

/* Glow orb */
.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(226, 94, 62, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

/* Logo */
.hero__logo {
  width: clamp(100px, 25vw, 180px);
  height: auto;
  margin-bottom: 0;
}

/* Social proof no hero */
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  opacity: 0.7;
}

.hero__social-proof img {
  height: 32px;
  width: auto;
}

.hero__social-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted-dark);
  letter-spacing: 0.05em;
}

/* Headline — Nofex com glow coral sutil */
.hero__headline {
  font-family: 'Nofex', var(--font-display);
  font-weight: normal;
  font-size: 1.4rem;
  line-height: 1.25;
  color: #ffffff;
  max-width: 750px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 40px rgba(226, 94, 62, 0.15),
    0 0 80px rgba(226, 94, 62, 0.08);
}

@media (min-width: 768px) {
  .hero__headline {
    font-size: 1.5rem;
    line-height: 1.2;
  }
}

@media (min-width: 1024px) {
  .hero__headline {
    font-size: 1.6rem;
  }
}

/* Glitch effect on "Claude Code" */
.hero__glitch {
  display: inline;
  animation: glitch 4s ease-in-out infinite;
}

/* Subheadline */
.hero__sub {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.7;
  color: var(--color-text-muted-dark);
  max-width: 700px;
}

/* CTA */
.hero__cta {
  width: 100%;
  max-width: 380px;
}

/* Micro-copy */
.hero__micro {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted-dark);
}

/* Terminal */
.hero__terminal {
  width: 100%;
  max-width: 520px;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .hero__cta {
    width: auto;
    min-width: 340px;
  }
}

@media (min-width: 1024px) {
  .hero__glow {
    right: 0;
    width: 600px;
    height: 600px;
  }

  .hero__terminal {
    max-width: 560px;
  }
}

/* ==========================================================================
   3. CHAT IA
   ========================================================================== */

.chat {
  text-align: center;
}

.chat__heading {
  margin-bottom: 0.5rem;
}

.chat__sub {
  margin-bottom: 2.5rem;
}

.chat__terminal {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  overflow-x: hidden;
}

.chat__terminal .terminal__body {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

.chat__input-wrap {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 1.25rem;
  gap: 0.5rem;
}

.chat__input {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-terminal-white);
  outline: none;
  min-height: 44px;
}

.chat__input::placeholder {
  color: var(--color-terminal-dim);
}

.chat__send {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border-radius: 6px;
  transition: background 0.2s ease;
}

.chat__send:hover:not(:disabled) {
  background: rgba(226, 94, 62, 0.15);
}

.chat__send:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Chat messages (gerados por chat.js) */
.chat-msg {
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  max-width: 85%;
  word-wrap: break-word;
}

.chat-msg--user {
  background: rgba(226, 94, 62, 0.15);
  color: var(--color-text-on-dark);
  margin-left: auto;
}

.chat-msg--assistant {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-on-dark);
}

.chat-msg--error {
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
  font-size: 0.75rem;
}

.chat-msg--loading {
  color: var(--color-text-muted-dark);
  font-size: 0.75rem;
  animation: pulse 1.5s ease infinite;
}

.chat__suggestions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.chat__suggestion {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  text-align: left;
  min-height: 44px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.chat__suggestion:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .chat__suggestions {
    flex-direction: row;
  }

  .chat__suggestion {
    flex: 1;
    text-align: center;
  }
}

/* ==========================================================================
   4. PROBLEMA
   ========================================================================== */

.problema__heading {
  text-align: center;
  margin-bottom: 2rem;
}

.problema__body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.problema__body p {
  margin-bottom: 1.25rem;
}

.problema__body p:last-child {
  margin-bottom: 0;
}

.problema__logic {
  margin-top: 2rem;
}

/* ==========================================================================
   5. COMPARATIVO (SEM vs COM)
   ========================================================================== */

.compare__heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.compare__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.compare__col-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

/* SEM column */
.compare__col--sem {
  background: var(--color-surface);
  border-radius: 8px;
  padding: 1.5rem;
}

.compare__col--sem .compare__col-title {
  color: var(--color-text-muted);
  border-color: rgba(0, 0, 0, 0.08);
}

.compare__col--sem .compare__item-desc {
  color: var(--color-text-muted);
}

/* COM column */
.compare__col--com {
  background: var(--color-bg-dark);
  border-radius: 8px;
  padding: 1.5rem;
}

.compare__col--com .compare__col-title {
  color: var(--color-text-on-dark);
  border-color: var(--color-border-dark);
}

.compare__col--com .compare__item-title {
  color: var(--color-text-on-dark);
}

.compare__col--com .compare__item-desc {
  color: var(--color-text-muted-dark);
}

/* Items */
.compare__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 0;
}

.compare__item + .compare__item {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.compare__col--com .compare__item + .compare__item {
  border-color: rgba(255, 255, 255, 0.04);
}

.compare__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 2px;
}

.compare__icon--bad {
  color: var(--color-primary);
}

.compare__icon--good {
  color: var(--color-terminal-green);
}

.compare__item-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.compare__item-desc {
  font-size: 0.85rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .compare__grid {
    flex-direction: row;
    gap: 1.5rem;
  }

  .compare__col--sem,
  .compare__col--com {
    flex: 1;
  }
}

/* ==========================================================================
   6. TRANSICAO + CTA INTERMEDIARIO
   ========================================================================== */

.transition-cta {
  text-align: center;
  padding-top: calc(var(--section-py) + 60px);
}

/* Diagonal transition light to dark */
.diagonal--light-to-dark {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-bg);
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
  z-index: 2;
}

.transition-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.transition-cta__text {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.7;
  max-width: 700px;
  color: var(--color-text-muted-dark);
}

.transition-cta__text strong {
  color: var(--color-text-on-dark);
}

.transition-cta__highlight {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-primary);
}

/* ==========================================================================
   7. CONTEUDO PROGRAMATICO
   ========================================================================== */

.programa__heading {
  text-align: center;
  color: #ffffff;
  margin-bottom: 2.5rem;
}

/* DOSSIÊ CONFIDENCIAL — estética de arquivo classificado */
.dossier {
  position: relative;
  background: #f2efe8;
  border: 1px solid #c9c3b8;
  border-radius: 2px;
  padding: 3rem 2rem 2rem;
  max-width: 850px;
  margin: 0 auto;
  box-shadow:
    4px 4px 0 rgba(0, 0, 0, 0.08),
    8px 8px 20px rgba(0, 0, 0, 0.15);
  /* Textura de papel */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(0, 0, 0, 0.03) 28px,
      rgba(0, 0, 0, 0.03) 29px
    );
}

/* Carimbo CONFIDENCIAL */
.dossier__stamp {
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  font-family: 'Nofex', var(--font-display);
  font-size: 1.8rem;
  color: rgba(200, 30, 30, 0.25);
  border: 3px solid rgba(200, 30, 30, 0.25);
  padding: 0.2rem 1rem;
  transform: rotate(12deg);
  letter-spacing: 0.15em;
  pointer-events: none;
  z-index: 2;
}

/* Grampo de papel */
.dossier__clip {
  position: absolute;
  top: -8px;
  left: 3rem;
  width: 24px;
  height: 60px;
  border: 2px solid #888;
  border-radius: 0 0 12px 12px;
  border-top: none;
  background: linear-gradient(90deg, #ccc, #aaa, #ccc);
  z-index: 3;
  opacity: 0.7;
}

.dossier__clip::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 3px;
  width: 14px;
  height: 30px;
  border: 2px solid #999;
  border-radius: 0 0 8px 8px;
  border-top: none;
}

/* Mancha de café */
.dossier__coffee {
  position: absolute;
  bottom: 4rem;
  right: 2rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 30%, rgba(139, 90, 43, 0.06) 31%, rgba(139, 90, 43, 0.08) 50%, transparent 51%);
  pointer-events: none;
  z-index: 1;
}

/* Cabeçalho */
.dossier__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.dossier__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: #8a8377;
  margin-bottom: 0.15rem;
}

.dossier__codename {
  font-family: 'Nofex', var(--font-display);
  font-size: 1.6rem;
  color: #1a1714;
  margin: 0.15rem 0 0.5rem;
  letter-spacing: 0.05em;
}

.dossier__date {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1714;
  display: block;
  margin-bottom: 0.5rem;
}

/* Divisor */
.dossier__divider {
  border: none;
  border-top: 1px dashed #b5ae9e;
  margin: 1.5rem 0;
}

/* Seções (dias) */
.dossier__section {
  margin-bottom: 0.5rem;
}

.dossier__tab {
  display: inline-block;
  font-family: 'Nofex', var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.dossier__tab--gray {
  background: #d4d0c8;
  color: #4a453d;
}

.dossier__tab--coral {
  background: var(--color-primary);
  color: #ffffff;
}

.dossier__tab--green {
  background: #2d8a4e;
  color: #ffffff;
}

.dossier__section-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.dossier__note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #8a8377;
  font-style: italic;
}

.dossier__stamp-mini {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(200, 30, 30, 0.6);
  border: 1px solid rgba(200, 30, 30, 0.4);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

/* Lista de módulos */
.dossier__items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dossier__items li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: #3d3830;
  padding: 0.35rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dossier__items li:last-child {
  border-bottom: none;
}

.dossier__items li strong {
  color: #1a1714;
}

.dossier__bullet {
  position: absolute;
  left: 0;
  color: #8a8377;
  font-size: 0.5rem;
  top: 0.55rem;
}

.dossier__num {
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-primary);
  font-weight: 700;
  top: 0.45rem;
}

/* Resultado de cada dia */
.dossier__result {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(226, 94, 62, 0.06);
  border-left: 3px solid var(--color-primary);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #4a453d;
}

.dossier__result strong {
  color: #1a1714;
}

.dossier__result-marker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 0.3rem;
}

/* Rodapé do dossiê */
.dossier__footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid #1a1714;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dossier__footer-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #8a8377;
}

.dossier__footer-text:last-child {
  color: rgba(200, 30, 30, 0.4);
  font-style: italic;
}

/* Mobile */
@media (max-width: 767px) {
  .dossier {
    padding: 2.5rem 1.25rem 1.5rem;
    margin: 0 -0.5rem;
  }

  .dossier__stamp {
    font-size: 1.2rem;
    top: 1.5rem;
    right: 1rem;
  }

  .dossier__codename {
    font-size: 1.3rem;
  }

  .dossier__header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .dossier__items li {
    font-size: 0.8rem;
  }

  .dossier__footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Terminal curriculum CSS removido — substituído pelo dossiê */

/* ==========================================================================
   8. PROVA SOCIAL (Depoimentos)
   ========================================================================== */

/* .prova__avatars removido — movido pro hero como .hero__social-proof */

.prova__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.prova__item {
  margin: 0;
}

.prova__item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.prova__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .prova__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .prova__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   9. PERFIS DE RESULTADO
   ========================================================================== */

/* .perfis__intro removido — texto gravação excluído */

.slots--soldout {
  color: #f87171;
  font-weight: 700;
}

.perfis__intro-bold {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--color-text-on-dark);
}

.perfis__grid {
  display: flex;
  flex-direction: column;
  gap: var(--cards-gap);
}

.perfis__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-dark);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem;
}

.perfis__card-title {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.perfis__card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted-dark);
}

.perfis__card-desc strong {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .perfis__grid {
    flex-direction: row;
    gap: 1rem;
  }

  .perfis__card {
    flex: 1;
  }
}

/* ==========================================================================
   10. OFERTA + PRICING
   ========================================================================== */

.oferta {
  text-align: center;
}

.oferta__heading {
  margin-bottom: 2.5rem;
}

.oferta__stack {
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.oferta__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}

.oferta__item-name {
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
}

.oferta__item-old {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.oferta__item-old s {
  text-decoration: line-through;
}

.oferta__price {
  margin-bottom: 2rem;
}

.oferta__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.oferta__value {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-primary);
}

.oferta__cash {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.oferta__cta {
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

.oferta__micro {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.oferta__urgency {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .oferta__urgency {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .oferta__cta {
    width: auto;
    min-width: 340px;
  }
}

/* ==========================================================================
   11. GARANTIA
   ========================================================================== */

.garantia__content {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.garantia__heading {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
}

.garantia__content p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted-dark);
}

.garantia__highlight {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.garantia__close {
  margin-top: 1.5rem;
  color: var(--color-text-on-dark) !important;
}

/* ==========================================================================
   12. AUTORIDADE (Bio do Flavio)
   ========================================================================== */

.autoridade__grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.autoridade__foto-wrap {
  width: 100%;
  max-width: 280px;
}

.autoridade__foto {
  width: 100%;
  height: auto;
  border-radius: 8px;
  filter: grayscale(100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.autoridade__name {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.autoridade__title {
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}

.autoridade__bio p {
  margin-bottom: 1rem;
  color: var(--color-text-muted-dark);
  font-size: 0.95rem;
  line-height: 1.65;
}

.autoridade__bio p strong {
  color: var(--color-text-on-dark);
}

.autoridade__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  text-align: center;
}

.autoridade__metric-value {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.autoridade__metric-label {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-muted-dark);
}

.autoridade__closing {
  margin-top: 1.5rem;
  color: var(--color-text-on-dark) !important;
}

@media (min-width: 1024px) {
  .autoridade__grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .autoridade__foto-wrap {
    flex: 0 0 40%;
    max-width: 400px;
  }

  .autoridade__bio {
    flex: 1;
  }
}

/* ==========================================================================
   13. CTA FINAL + FOOTER
   ========================================================================== */

.cta-final {
  text-align: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.cta-final__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-final__heading {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #ffffff;
  max-width: 600px;
}

.cta-final__urgency {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--color-text-muted-dark);
}

@media (min-width: 768px) {
  .cta-final .btn--full {
    width: auto;
    min-width: 340px;
  }

  .cta-final__urgency {
    flex-direction: row;
    gap: 2rem;
  }
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border-dark);
  padding: 2rem 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--color-text-on-dark);
}

@media (min-width: 768px) {
  .footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   TERMINAL MOCKUP (shared)
   ========================================================================== */

.terminal {
  background: #1a1816;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.04);
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal__dot--red { background: #ff5f57; }
.terminal__dot--yellow { background: #febc2e; }
.terminal__dot--green { background: #28c840; }

.terminal__title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--color-terminal-dim);
  margin-left: auto;
}

.terminal__body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 2;
}

.terminal__prompt {
  color: var(--color-primary);
  font-weight: 700;
}

.terminal__cmd {
  color: var(--color-terminal-white);
}

.terminal__output {
  color: var(--color-terminal-muted);
}

.terminal__check {
  color: var(--color-terminal-green);
}

.terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--color-primary);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@media (min-width: 768px) {
  .terminal__body {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   BADGE
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--color-text-on-dark);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s ease infinite;
}

/* ==========================================================================
   CARDS (Conteudo Programatico)
   ========================================================================== */

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(24, 24, 27, 0.1);
}

.card__index {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-primary);
  opacity: 0.6;
  margin-bottom: 0.5rem;
  display: block;
}

.card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.card__desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-text-muted-dark);
}

/* ==========================================================================
   ASCII BACKGROUNDS (hero decoration)
   ========================================================================== */

.ascii-bg {
  position: absolute;
  color: var(--color-primary);
  font-family: 'Menlo', 'Consolas', 'Courier New', monospace;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: pre;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
  filter: url(#blur-horizontal);
}

/* Mobile: TODOS visíveis, sem blur SVG, opacidade forte */
.ascii-bg--1 { top: 1%;    left: -5%;   font-size: 0.4rem;  opacity: 0.15; filter: blur(1px); }
.ascii-bg--2 { top: 18%;   right: -3%;  font-size: 0.35rem; opacity: 0.12; filter: blur(1px); }
.ascii-bg--3 { top: 38%;   left: 2%;    font-size: 0.42rem; opacity: 0.14; filter: blur(1px); }
.ascii-bg--4 { top: 55%;   right: 0;    font-size: 0.5rem;  opacity: 0.13; filter: blur(1px); }
.ascii-bg--5 { bottom: 12%; left: -3%;  font-size: 0.3rem;  opacity: 0.11; filter: blur(1px); }
.ascii-bg--6 { bottom: 2%; right: -5%;  font-size: 0.38rem; opacity: 0.12; filter: blur(1px); }

/* Tablet+ : maiores, com blur horizontal SVG */
@media (min-width: 768px) {
  .ascii-bg--1 { top: -3%;   left: -8%;   font-size: 0.7rem;  opacity: 0.14; filter: url(#blur-horizontal); }
  .ascii-bg--2 { top: 10%;   right: -6%;  font-size: 0.55rem; opacity: 0.11; filter: url(#blur-horizontal); }
  .ascii-bg--3 { top: 38%;   left: -5%;   font-size: 0.75rem; opacity: 0.13; filter: url(#blur-horizontal); }
  .ascii-bg--4 { top: 55%;   right: -4%;  font-size: 0.9rem;  opacity: 0.12; filter: url(#blur-horizontal); }
  .ascii-bg--5 { bottom: 3%; left: 12%;   font-size: 0.5rem;  opacity: 0.10; filter: url(#blur-horizontal); }
  .ascii-bg--6 { bottom: 18%; right: 15%; font-size: 0.6rem;  opacity: 0.11; filter: url(#blur-horizontal); }
}

/* Desktop+ : maiores e mais visíveis */
@media (min-width: 1024px) {
  .ascii-bg--1 { font-size: 0.85rem; opacity: 0.14; }
  .ascii-bg--2 { font-size: 0.7rem;  opacity: 0.11; }
  .ascii-bg--3 { font-size: 0.95rem; opacity: 0.13; }
  .ascii-bg--4 { font-size: 1.1rem;  opacity: 0.12; }
  .ascii-bg--5 { font-size: 0.6rem;  opacity: 0.10; }
  .ascii-bg--6 { font-size: 0.75rem; opacity: 0.11; }
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger support via JS data attribute */
.reveal[style*="transition-delay"] {
  /* Allow JS-set transition-delay for stagger */
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-group {
  margin-bottom: var(--form-group-gap);
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-dark);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease;
  min-height: 44px;
}

.form-input:focus {
  border-color: var(--color-primary);
}

.form-input::placeholder {
  color: var(--color-terminal-dim);
}

.form-error {
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 0.25rem;
}

.form-feedback {
  min-height: 1.5rem;
}

/* intl-tel-input overrides */
.iti {
  width: 100%;
}

.iti__tel-input {
  min-height: 44px;
}

/* ==========================================================================
   POPUP / MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--container-px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-bg-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  position: relative;
}

.modal-heading {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  color: #ffffff;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--color-text-on-dark);
}

.modal-micro {
  font-size: 0.7rem;
  color: var(--color-text-muted-dark);
  text-align: center;
  margin-top: 1rem;
}

/* ==========================================================================
   DIAGONAL TRANSITIONS
   ========================================================================== */

/* Diagonal dark-to-light (hero → seção light) */
.diagonal--dark-to-light {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-bg-dark);
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
  z-index: 2;
}

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */

/* @keyframes drift removed — parallax agora é via JS lerp */

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes glitch {
  0%, 85%, 100% {
    text-shadow: none;
    transform: none;
  }
  86% {
    text-shadow: -3px 0 var(--color-terminal-green), 3px 0 var(--color-terminal-blue);
    transform: skewX(-2deg);
  }
  88% {
    text-shadow: 5px 0 var(--color-primary), -5px 0 var(--color-terminal-green);
    transform: skewX(3deg) scaleX(1.02);
  }
  90% {
    text-shadow: -8px 0 var(--color-terminal-blue), 8px 0 var(--color-primary);
    transform: skewX(-4deg) scaleX(0.98);
  }
  92% {
    text-shadow: 3px 0 var(--color-terminal-green), -3px 0 var(--color-terminal-blue);
    transform: skewX(1deg);
  }
  94% {
    text-shadow: none;
    transform: none;
  }
}

/* Terminal typing */
.terminal__line {
  opacity: 0;
  transform: translateY(4px);
  animation: typeline 0.3s ease forwards;
}

@keyframes typeline {
  to {
    opacity: 1;
    transform: none;
  }
}

.terminal__line:nth-child(1) { animation-delay: 0.3s; }
.terminal__line:nth-child(2) { animation-delay: 0.8s; }
.terminal__line:nth-child(3) { animation-delay: 1.3s; }
.terminal__line:nth-child(4) { animation-delay: 1.8s; }
.terminal__line:nth-child(5) { animation-delay: 2.3s; }
.terminal__line:nth-child(6) { animation-delay: 2.6s; }

/* ==========================================================================
   WIDE DESKTOP (1440px+)
   ========================================================================== */

@media (min-width: 1440px) {
  .hero__headline {
    font-size: 1.7rem;
  }

  .hero__logo {
    width: 180px;
  }

  .heading-section {
    font-size: 3.5rem;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ascii-bg {
    animation: none;
  }

  .terminal__line {
    opacity: 1;
    transform: none;
  }
}
