@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black:          #000000;
  --surface-1:      #0A0A0A;
  --surface-2:      #111111;
  --surface-3:      #1A1A1A;
  --surface-4:      #242424;

  --text-primary:   #F5F0E8;
  --text-secondary: #A89F8C;
  --text-muted:     #5A5449;

  --accent:         #C4A882;
  --accent-dim:     #8B6934;

  --border-subtle:   #1A1A1A;
  --border-default:  #242424;
  --border-emphasis: #3A3530;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  --max-w: 760px;
  --max-w-wide: 960px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TOP BAR ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.topbar-label { color: var(--text-muted); text-transform: uppercase; }
.topbar-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.countdown-unit { display: flex; flex-direction: column; align-items: center; min-width: 32px; }
.countdown-num  { font-size: 16px; line-height: 1; font-weight: 600; color: var(--accent); }
.countdown-lbl  { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 2px; }
.countdown-sep  { font-size: 16px; color: var(--text-muted); padding-bottom: 10px; line-height: 1; }
.topbar-divider { color: var(--border-emphasis); }
.topbar-vagas   { color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; }

/* ── HERO ── */
.hero {
  padding-top: calc(80px + 48px);
  padding-bottom: 80px;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

.hero-inner { max-width: var(--max-w); width: 100%; }

.hero-symbol {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 24px;
  display: block;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
  display: block;
}

.hero-sub-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.hero-bullets {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.hero-bullets li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0;
}

.hero-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--black);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.progress-wrap { width: 100%; max-width: 380px; }

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}
.progress-label-text { color: var(--text-secondary); }
.progress-label-pct  { color: var(--accent); font-weight: 600; }

.progress-track {
  background: var(--surface-3);
  border-radius: var(--radius-full);
  height: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--accent);
  width: 0;
  transition: width 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-microcopy {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.65;
  margin-top: 4px;
  font-style: italic;
}

/* ── EVENT BAR ── */
.event-bar {
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 24px;
}

.event-bar-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.event-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.event-item-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.event-item-value {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 400;
}

.event-item-sub {
  font-size: 12px;
  color: var(--accent);
}

/* ── SECTIONS ── */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-inner-wide {
  max-width: var(--max-w-wide);
  margin: 0 auto;
}

.lng-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 48px;
}
.lng-divider-line { flex: 1; height: 1px; background: var(--border-default); }
.lng-divider-symbol { font-size: 11px; color: var(--text-muted); opacity: 0.4; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* ── PAIN BLOCK ── */
.pain-section { background: var(--surface-1); }

.pain-lead {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.65;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pain-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.pain-item:last-child { border-bottom: none; }

.pain-num {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 28px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pain-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pain-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ── REFRAME BLOCK ── */
.reframe-section { background: var(--black); }

.reframe-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 20px;
}

.reframe-highlight {
  color: var(--text-primary);
  font-style: italic;
}

/* ── LEARN BLOCK ── */
.learn-section { background: var(--surface-1); }

.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.learn-card {
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.learn-card:hover { border-color: var(--border-emphasis); }

.learn-card-num {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.learn-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.learn-card-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── WHO IT'S FOR ── */
.who-section { background: var(--black); }

.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.who-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.who-item:last-child { border-bottom: none; }

.who-check {
  width: 20px;
  height: 20px;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--accent);
}

.who-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── ABOUT ── */
.about-section { background: var(--surface-1); }

.about-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.about-photo {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.about-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.about-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}

.about-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── FINAL CTA ── */
.cta-section { background: var(--black); text-align: center; }

.cta-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 12px;
  margin-bottom: 48px;
}

/* ── FORM INLINE ── */
.form-inline {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-select {
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-input::placeholder { color: var(--text-muted); }

.form-select { cursor: pointer; }
.form-select option { background: var(--surface-2); }

.form-submit {
  width: 100%;
  padding: 14px 24px;
  margin-top: 4px;
  font-size: 14px;
}

/* ── MODAL ── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--text-primary); }

.modal-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.3;
}

/* ── EXIT INTENT ── */
.exit-modal { max-width: 460px; }

.exit-urgency { margin-bottom: 14px; }

.exit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(196, 168, 130, 0.08);
  border: 1px solid rgba(196, 168, 130, 0.22);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.exit-sub {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.exit-microcopy {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

/* ── FOOTER ── */
.footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  padding: 28px 24px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.footer-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-symbol {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.3;
  margin-top: 4px;
}

/* ── SUCCESS STATE ── */
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.visible { display: block; }

.success-symbol {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.success-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */

/* Prevent horizontal scroll on all screens */
html, body { max-width: 100%; overflow-x: hidden; }

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 180px 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  /* Top bar — wrap to 2 rows so label stays visible */
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 10px;
    padding: 8px 16px;
  }
  .topbar-label { display: block; width: 100%; text-align: center; font-size: 10px; }
  .topbar-divider { display: none; }
  .countdown-num { font-size: 14px; }

  /* Hero — extra padding-top for 2-row topbar (~52px) */
  .hero {
    padding-top: calc(52px + 32px);
    padding-bottom: 64px;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Event bar */
  .event-bar { padding: 24px 20px; }
  .event-bar-inner { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Sections */
  .section { padding: 60px 20px; }

  /* Cards */
  .learn-grid { grid-template-columns: 1fr; }

  /* About — stack vertically, photo square and centered */
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-photo {
    max-width: 160px;
    aspect-ratio: 1 / 1;
    object-position: center 48%;
    margin: 0 auto;
    display: block;
  }

  /* Modal */
  .modal-backdrop { padding: 16px; }
  .modal { padding: 28px 20px; }

  /* Inputs — font-size 16px prevents iOS auto-zoom */
  .form-input, .form-select { font-size: 16px; padding: 14px 16px; }

  /* Full-width CTA button on mobile */
  .btn-primary.form-submit { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  /* Top bar ultra-compact — flex-wrap mantido para label ficar na linha de cima */
  .topbar { padding: 8px 12px; gap: 4px 8px; flex-wrap: wrap; }
  .topbar-label { display: block; width: 100%; text-align: center; font-size: 10px; }
  .topbar-vagas { display: none; }
  .countdown-num { font-size: 13px; }
  .countdown-unit { min-width: 24px; }
  .countdown-lbl { font-size: 8px; }
  .countdown-sep { font-size: 13px; padding-bottom: 8px; }

  /* Hero */
  .hero {
    padding-top: calc(58px + 20px);
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 52px;
  }
  .hero-bullets li { font-size: 14px; }
  .progress-wrap { max-width: 100%; }

  /* Event bar */
  .event-bar { padding: 20px 16px; }
  .event-item-value { font-size: 15px; }

  /* Sections */
  .section { padding: 48px 16px; }

  /* Pain */
  .pain-item { padding: 18px 0; gap: 12px; }

  /* Who */
  .who-item { padding: 18px 16px; }

  /* About */
  .about-content { text-align: center; }
  .about-role { display: block; margin-bottom: 20px; }

  /* Footer */
  .footer { padding: 24px 16px; }

  /* Reduce headline sizes to prevent orphan words */
  .hero-headline { font-size: 21px; }
  .section-title { font-size: 18px; }

  /* Garantir que o <br> dentro do section-title sempre cria quebra de linha */
  .section-title br { display: block; content: ''; }

  /* Prevent overflow without auto-hyphenation (which breaks PT words) */
  .reframe-body { word-break: break-word; }
}
