/* ============================================
   Diagnóstico do Lucro — Landing Page
   Tokens da marca INOVARE (espelham css/styles.css)
   ============================================ */

:root {
  --bg-base: #04101A;
  --bg-surface: #0B1E2E;
  --bg-elevated: #152A3D;

  --text-primary: #EDEFF2;
  --text-secondary: rgba(237, 239, 242, 0.65);
  --text-muted: rgba(237, 239, 242, 0.40);

  --border-default: rgba(255, 255, 255, 0.10);

  --primary: #F2BC0D;
  --primary-dark: #C78307;
  --primary-gradient: linear-gradient(135deg, #F2BC0D, #C78307);
  --on-primary: #04101A;

  --success: #3AD186;
  --error: #E5484D;

  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 32px rgba(242, 188, 13, 0.12);

  --wrap: min(1120px, 100% - 3rem);
  --wrap-narrow: min(760px, 100% - 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: var(--on-primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-narrow { width: var(--wrap-narrow); margin-inline: auto; }

h1, h2, h3 { margin: 0; }
p { margin: 0; }
img { max-width: 100%; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--on-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(242, 188, 13, 0.28); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

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

/* ---------- cabeçalho ---------- */
.site-header {
  border-bottom: 1px solid var(--border-default);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(4, 16, 26, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-cta {
  font-size: 0.9rem;
  padding: 0.65rem 1.2rem;
}

/* ---------- eyebrow / rótulos ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

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

/* ---------- hero ---------- */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(242, 188, 13, 0.09), transparent 65%);
  pointer-events: none;
}

.hero > * { position: relative; }

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1.25rem auto 0;
  max-width: 18ch;
}

.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 62ch;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.hero-sub strong { color: var(--text-primary); font-weight: 600; }

.hero-actions { margin-top: 2.25rem; }

.hero-micro {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.hero-authority {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---------- barra de reconhecimento ---------- */
.recognition {
  margin: 0 auto 5rem;
  padding: 2rem 2.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

.recognition-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.recognition-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.recognition-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.recognition-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.7rem;
  height: 1px;
  background: var(--primary);
}

.recognition-close {
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-default);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- seções ---------- */
.section { padding: 4.5rem 0; }
.section + .section { border-top: 1px solid var(--border-default); }

.section-head { margin-bottom: 2.5rem; }

.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  max-width: 22ch;
}

.section-head p.prose {
  margin-top: 1rem;
}

.prose p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 66ch;
}

.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--text-primary); font-weight: 600; }

/* ---------- dois blocos ---------- */
.blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.block {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.block-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.6rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.block-lead {
  color: var(--text-secondary);
  font-size: 0.98rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-default);
}

.block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.block ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.6rem;
  height: 1px;
  background: var(--primary);
}

/* ---------- etapas ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--on-primary);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.step p { color: var(--text-secondary); font-size: 0.95rem; }

/* ---------- entregáveis ---------- */
.deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.deliverables li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.deliverables li::before {
  content: '✓';
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  color: var(--success);
  font-weight: 700;
}

.deliverables strong { color: var(--text-primary); font-weight: 600; }

/* ---------- citação de destaque ---------- */
.pullquote {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  background: var(--bg-surface);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
}

/* ---------- riscos ---------- */
.risks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.risk {
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--error);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.risk h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.risk p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.4rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -0.1rem;
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  margin-top: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ---------- CTA de encerramento ---------- */
.closing {
  padding: 5rem 0 5.5rem;
  text-align: center;
  border-top: 1px solid var(--border-default);
  background:
    radial-gradient(ellipse 700px 400px at 50% 0%, rgba(242, 188, 13, 0.10), transparent 70%),
    var(--bg-base);
}

.closing h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 1rem auto 0;
  max-width: 20ch;
}

.closing p {
  margin: 1.25rem auto 0;
  max-width: 58ch;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.closing .btn { margin-top: 2.25rem; }

.closing-micro {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ---------- rodapé ---------- */
.site-footer {
  border-top: 1px solid var(--border-default);
  padding: 2.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--primary); }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  :root { --wrap: calc(100% - 2.5rem); --wrap-narrow: calc(100% - 2.5rem); }
  .blocks, .steps, .deliverables, .risks { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .header-cta { display: none; }
  .recognition { padding: 1.5rem; }
  .block, .step { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
