/* ====================================================================
 * CSS compartilhado — landing pages Córtex Level
 * ==================================================================== */
:root {
  --cx-navy:   #121C27;
  --cx-purple: #6430C0;
  --cx-purple-d: #3A1B70;
  --cx-text:   #334155;
  --cx-muted:  #64748b;
  --cx-border: #e6e9ee;
  --cx-bg:     #f8f9fb;
}

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

body {
  margin: 0;
  font-family: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--cx-text);
  background: #fff;
  line-height: 1.65;
}

a { color: var(--cx-purple); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── HEADER ────────────────────────────────────────────────── */
.cx-header {
  background: var(--cx-navy);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 99;
}
.cx-header .cx-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.cx-header .cx-logo img { height: 36px; width: auto; }
.cx-header .cx-cta {
  background: var(--cx-purple); color: #fff;
  padding: 10px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .2s;
}
.cx-header .cx-cta:hover { background: var(--cx-purple-d); text-decoration: none; }

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.cx-breadcrumb {
  background: var(--cx-bg); border-bottom: 1px solid var(--cx-border);
  padding: 10px 0; font-size: 13px; color: var(--cx-muted);
}
.cx-breadcrumb .cx-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.cx-breadcrumb a { color: var(--cx-muted); }
.cx-breadcrumb a:hover { color: var(--cx-purple); }
.cx-breadcrumb span { margin: 0 6px; }

/* ── HERO ───────────────────────────────────────────────────── */
.cx-hero {
  background: var(--cx-navy);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
}
.cx-hero .cx-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.cx-hero .cx-tag {
  display: inline-block;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.85);
  padding: 4px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.cx-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800; line-height: 1.2;
  margin: 0 0 20px;
  color: #fff;
}
.cx-hero .cx-lead {
  font-size: 18px; line-height: 1.6;
  color: rgba(255,255,255,.78); margin: 0 0 32px;
}
.cx-hero .cx-btn {
  display: inline-block;
  background: var(--cx-purple); color: #fff;
  padding: 14px 32px; border-radius: 100px;
  font-size: 15px; font-weight: 700;
  transition: background .2s;
}
.cx-hero .cx-btn:hover { background: var(--cx-purple-d); text-decoration: none; }

/* ── SECTIONS ───────────────────────────────────────────────── */
.cx-section { padding: 64px 0; }
.cx-section.cx-alt { background: var(--cx-bg); }
.cx-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.cx-section h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800; color: var(--cx-navy);
  margin: 0 0 16px; line-height: 1.25;
}
.cx-section h3 {
  font-size: 18px; font-weight: 700; color: var(--cx-navy);
  margin: 0 0 8px;
}
.cx-section p { margin: 0 0 16px; }

.cx-lead-text {
  font-size: 17px; color: var(--cx-muted);
  max-width: 680px; margin: 0 0 40px;
  line-height: 1.7;
}

/* ── GRID DE BENEFÍCIOS ─────────────────────────────────────── */
.cx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 40px;
}
.cx-card {
  background: #fff; border: 1px solid var(--cx-border);
  border-radius: 16px; padding: 28px;
}
.cx-card .cx-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(100,48,192,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.cx-card .cx-icon svg { color: var(--cx-purple); }
.cx-card h3 { font-size: 16px; }
.cx-card p  { font-size: 14px; color: var(--cx-muted); margin: 0; }

/* ── FAQ ────────────────────────────────────────────────────── */
.cx-faq { max-width: 720px; }
.cx-faq details {
  border-bottom: 1px solid var(--cx-border);
  padding: 20px 0;
}
.cx-faq details:first-child { border-top: 1px solid var(--cx-border); }
.cx-faq summary {
  font-size: 16px; font-weight: 600; color: var(--cx-navy);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.cx-faq summary::after { content: "+"; font-size: 20px; color: var(--cx-purple); }
.cx-faq details[open] summary::after { content: "−"; }
.cx-faq details p { margin: 12px 0 0; font-size: 15px; color: var(--cx-text); }

/* ── CTA BOX ─────────────────────────────────────────────────── */
.cx-cta-box {
  background: linear-gradient(135deg, var(--cx-purple-d), var(--cx-purple));
  color: #fff; border-radius: 20px;
  padding: 52px 40px; text-align: center;
  margin: 0 auto; max-width: 760px;
}
.cx-cta-box h2 { color: #fff; margin: 0 0 12px; }
.cx-cta-box p  { color: rgba(255,255,255,.82); margin: 0 0 28px; font-size: 17px; }
.cx-cta-box .cx-btn {
  background: #fff; color: var(--cx-purple);
  padding: 14px 36px; border-radius: 100px;
  font-size: 15px; font-weight: 700;
  transition: opacity .2s;
}
.cx-cta-box .cx-btn:hover { opacity: .9; text-decoration: none; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.cx-footer {
  background: var(--cx-navy); color: rgba(255,255,255,.6);
  padding: 32px 0; text-align: center; font-size: 13px;
  margin-top: 80px;
}
.cx-footer a { color: rgba(255,255,255,.6); }
.cx-footer a:hover { color: #fff; }

/* ── RELATED LINKS ───────────────────────────────────────────── */
.cx-related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cx-related a {
  background: var(--cx-bg); border: 1px solid var(--cx-border);
  color: var(--cx-navy); padding: 8px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  transition: border-color .15s;
}
.cx-related a:hover { border-color: var(--cx-purple); color: var(--cx-purple); text-decoration: none; }

@media (max-width: 600px) {
  .cx-hero { padding: 48px 0 40px; }
  .cx-section { padding: 40px 0; }
  .cx-cta-box { padding: 36px 20px; }
  .cx-header .cx-cta { display: none; }
}
