/* ============================================
   DIOSCOPE.COM — design system do site publico
   Poppins + gradiente da marca + cartoes claros
   ============================================ */
:root {
  --primary: #4170e3;
  --primary-dark: #255bdd;
  --teal: #5f86e5;
  --green: #3CB371;
  --gradient: linear-gradient(90deg,#2158de 0%,#638ae8 100%);
  --bg: #f5f7fa;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-soft: #edf1f6;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --navy: #152b3b;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, 0.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header-inner {
  max-width: 1160px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 1.05em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 2px 8px rgba(15,23,42,0.10); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: 9px;
  font-size: 0.9em; font-weight: 500; color: var(--text);
  transition: background 0.15s, color 0.15s;
}
.site-nav > a:hover, .nav-drop > button:hover { background: rgba(65, 112, 227, 0.08); color: var(--primary); }
.site-nav > a.active { color: var(--primary); font-weight: 600; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.15s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--border-soft); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 8px; display: none;
}
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 0.88em; font-weight: 500; color: var(--text);
}
.nav-drop-menu a:hover { background: rgba(65, 112, 227, 0.08); color: var(--primary); }
.btn-entrar {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary); color: #fff; font-weight: 600; font-size: 0.88em;
  padding: 9px 20px; border-radius: 10px; transition: background 0.15s;
}
.btn-entrar:hover { background: var(--primary-dark); color: #fff; }
.site-nav > a.btn-entrar { color: #fff; }
.site-nav > a.btn-entrar:hover { background: var(--primary-dark); color: #fff; }
.menu-toggle { display: none; padding: 8px; margin-left: auto; }
.menu-toggle svg { width: 26px; height: 26px; fill: var(--navy); }

/* ===== Hero base / paginas interiores ===== */
.page-hero {
  background: var(--gradient); color: #fff;
  padding: 56px 20px 64px; text-align: center;
}
.page-hero h1 { font-size: 2em; font-weight: 800; line-height: 1.25; max-width: 780px; margin: 0 auto; }
.page-hero p { font-size: 1.02em; opacity: 0.92; max-width: 660px; margin: 12px auto 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section-title { font-size: 1.45em; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.section-sub { color: var(--text-light); margin-bottom: 28px; max-width: 720px; }
.card {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px;
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: #fff; font-weight: 600; font-size: 0.95em;
  padding: 13px 28px; border-radius: 11px; transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--border); color: var(--text); font-weight: 600; font-size: 0.92em;
  padding: 12px 24px; border-radius: 11px; transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Homepage Voxi ===== */
.voxi-hero {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(65, 112, 227, 0.14), transparent 60%),
    radial-gradient(900px 480px at 85% 110%, rgba(65, 112, 227, 0.10), transparent 55%),
    var(--bg);
  padding: 64px 20px 72px; text-align: center;
}
.voxi-logo { width: 92px; height: 92px; border-radius: 50%; background: #fff; object-fit: contain; box-shadow: 0 10px 34px rgba(15, 23, 42, 0.12); margin-bottom: 18px; }
.voxi-title { font-size: 2.1em; font-weight: 800; color: var(--navy); line-height: 1.2; }
.voxi-title span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.voxi-sub { color: var(--text-light); font-size: 1.02em; max-width: 620px; margin: 10px auto 30px; }
.voxi-box { width: 100%; max-width: 720px; margin: 0 auto; }
.voxi-input-wrap {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 999px;
  padding: 8px 10px 8px 22px; box-shadow: var(--shadow-lg);
  transition: border-color 0.15s;
}
.voxi-input-wrap:focus-within { border-color: var(--primary); }
.voxi-input-wrap svg.lupa { width: 21px; height: 21px; fill: var(--text-muted); flex-shrink: 0; }
#voxi-input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 1.02em; color: var(--text); background: transparent; min-width: 0; }
#voxi-input::placeholder { color: var(--text-muted); }
.voxi-send {
  background: var(--gradient); color: #fff; font-weight: 600; font-size: 0.92em;
  border-radius: 999px; padding: 11px 24px; flex-shrink: 0; transition: opacity 0.15s;
}
.voxi-send:hover { opacity: 0.92; }
.voxi-chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 20px; }
.voxi-chip {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: 0.84em; font-weight: 500; color: var(--text-light);
  transition: border-color 0.15s, color 0.15s;
}
.voxi-chip:hover { border-color: var(--primary); color: var(--primary); }
.voxi-note { font-size: 0.76em; color: var(--text-muted); margin-top: 22px; }
.voxi-note a { color: var(--text-light); text-decoration: underline; }

/* resposta demo */
.voxi-panel {
  text-align: left; background: #fff; border: 1px solid var(--border-soft);
  border-radius: 18px; box-shadow: var(--shadow-lg); padding: 24px;
  margin-top: 18px; display: none;
}
.voxi-panel.show { display: block; animation: vfade 0.25s; }
@keyframes vfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.voxi-q { font-weight: 600; color: var(--navy); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.voxi-a { font-size: 0.92em; color: var(--text); line-height: 1.7; }
.voxi-a h3 { font-size: 1.04em; font-weight: 700; color: var(--navy); margin: 20px 0 8px; }
.voxi-a h4 { font-size: 0.97em; font-weight: 700; color: var(--navy); margin: 16px 0 6px; }
.voxi-a h3:first-child, .voxi-a h4:first-child { margin-top: 0; }
.voxi-a p { margin-bottom: 10px; }
.voxi-a ul, .voxi-a ol { margin: 0 0 12px 20px; }
.voxi-a li { margin-bottom: 5px; }
.voxi-a strong { color: var(--navy); }
.voxi-a a { text-decoration: underline; }
.voxi-fontes { font-size: 0.78em; color: var(--text-muted); border-top: 1px solid var(--border-soft); padding-top: 12px; margin-top: 6px; }
.voxi-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.voxi-demo-tag {
  display: inline-block; font-size: 0.7em; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--primary); background: rgba(65, 112, 227, 0.1);
  border-radius: 6px; padding: 3px 9px; margin-bottom: 12px;
}

/* ===== Gate profissional (popup) ===== */
.gate-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.gate-overlay[hidden] { display: none; }
.gate-card {
  background: #fff; border-radius: 18px; max-width: 480px; width: 100%;
  padding: 34px 32px; text-align: center; box-shadow: var(--shadow-lg);
}
.gate-card img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px; }
.gate-card h2 { font-size: 1.2em; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.gate-card p { font-size: 0.88em; color: var(--text-light); margin-bottom: 22px; }
.gate-card .btn-primary { width: 100%; margin-bottom: 10px; }
.gate-card .gate-nao { display: block; width: 100%; font-size: 0.84em; color: var(--text-muted); padding: 10px; }
.gate-card .gate-nao:hover { color: var(--text); }
.gate-legal { font-size: 0.72em; color: var(--text-muted); margin-top: 14px; margin-bottom: 0; }

/* ===== Cartoes de curso ===== */
.curso-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s;
}
.curso-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.curso-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--border-soft); }
.curso-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.curso-card-title { font-size: 0.98em; font-weight: 600; color: var(--navy); line-height: 1.4; }
.curso-card-desc { font-size: 0.83em; color: var(--text-light); flex: 1; }
.curso-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.curso-card-preco { font-weight: 700; color: var(--primary); font-size: 0.95em; }
.curso-card-cta { font-size: 0.84em; font-weight: 600; color: var(--primary); }

/* ===== Logos de parceiros ===== */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.partner-logo {
  background: #fff; border: 1px solid var(--border-soft); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; padding: 22px; min-height: 104px;
}
.partner-logo img { max-height: 56px; object-fit: contain; filter: grayscale(35%); transition: filter 0.15s; }
.partner-logo:hover img { filter: none; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.85); margin-top: auto; }
.site-footer-inner { max-width: 1160px; margin: 0 auto; padding: 40px 20px 24px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: contain; }
.footer-col p { font-size: 0.8em; color: rgba(255, 255, 255, 0.6); }
.footer-col h4 { font-size: 0.82em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: #fff; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.84em; color: rgba(255, 255, 255, 0.75); padding: 3px 0; }
.footer-col a:hover { color: #fff; }
.prr-bar { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; background: #fff; border-radius: 12px; padding: 12px 18px; }
.prr-bar img { height: 44px; object-fit: contain; }
.prr-text { font-size: 0.72em; color: rgba(255, 255, 255, 0.6); text-align: center; margin-top: 14px; }
.prr-text a { color: rgba(255, 255, 255, 0.8); text-decoration: underline; }
.footer-legal { font-size: 0.74em; color: rgba(255, 255, 255, 0.5); text-align: center; margin-top: 10px; }
.footer-legal a { color: rgba(255, 255, 255, 0.7); }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--border); padding: 10px 14px 16px;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open { display: flex; }
  .nav-drop-menu { position: static; box-shadow: none; border: none; display: block; padding-left: 16px; }
  .nav-drop > button { width: 100%; justify-content: space-between; }
  .btn-entrar { justify-content: center; margin-top: 8px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .voxi-title { font-size: 1.6em; }
  .page-hero h1 { font-size: 1.5em; }
}

/* Voxi: estado durante a pesquisa */
.voxi-status { font-size: 0.85em; color: var(--text-light); padding: 6px 0 10px; }
.voxi-status::before { content: ''; display: inline-block; width: 12px; height: 12px; border: 2px solid rgba(65,112,227,0.25); border-top-color: var(--primary); border-radius: 50%; margin-right: 8px; vertical-align: -1px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* Landing curso: Signal Light (fundo branco, Poppins, sem brilho) */
#lp-main { --ink: #152b3b; --ink-soft: #424e6d; --muted: #858fa7; --teal: #4170e3; --teal-deep: #1b53dd; --green: #2f9e5f; --line: #e9ebf2; --tint: #f6f7f9; }
.lp-hero-coord { font-size: 0.9rem; color: var(--muted); margin-top: 18px; }
.lp-main-col { min-width: 0; }
/* features numeradas (sem icones inventados) */
.lp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-feat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; transition: border-color 0.16s ease, box-shadow 0.16s ease; }
.lp-feat:hover { border-color: #d7dbe7; box-shadow: 0 10px 26px -16px rgba(21,43,59,0.28); }
.lp-feat-n { font-size: 0.72rem; font-weight: 800; color: var(--teal); letter-spacing: 1.5px; font-variant-numeric: tabular-nums; }
.lp-feat-t { font-weight: 700; color: var(--ink); font-size: 1.02rem; margin: 12px 0 6px; line-height: 1.3; }
.lp-feat-d { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }
/* programa */
.lp-programa { columns: 2; column-gap: 34px; list-style: none; margin: 0; padding: 0; }
.lp-programa li { position: relative; padding: 10px 0 10px 22px; font-size: 0.9rem; color: var(--ink-soft); break-inside: avoid; border-bottom: 1px solid var(--line); line-height: 1.5; }
.lp-programa li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
/* equipa */
.lp-equipa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-eq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; transition: border-color 0.16s ease, box-shadow 0.16s ease; }
.lp-eq:hover { border-color: #d7dbe7; box-shadow: 0 10px 26px -16px rgba(21,43,59,0.28); }
.lp-eq-head { display: flex; align-items: center; gap: 13px; }
.lp-eq-foto { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--tint); }
.lp-eq-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-eq-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 800; color: #fff; background: var(--teal); }
.lp-eq-id { min-width: 0; }
.lp-eq-nome { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.lp-eq-cargo { font-size: 0.66rem; font-weight: 700; color: var(--teal-deep); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 3px; }
.lp-eq-bio { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.55; margin-top: 13px; }
.lp-eq-mais { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 20px; }
/* testemunhos */
.lp-testis { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.lp-testi { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin: 0; }
.lp-testi blockquote { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.62; margin: 0; }
.lp-testi figcaption { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 700; color: var(--ink); margin-top: 15px; }
.lp-testi figcaption::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--teal); flex-shrink: 0; }
/* apoios */
.lp-apoios { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.lp-apoio { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; display: flex; align-items: center; justify-content: center; min-width: 118px; min-height: 60px; }
.lp-apoio img { max-height: 40px; max-width: 140px; object-fit: contain; }
/* premios (challenges) */
.lp-premios { background: #fbf7ec; border: 1px solid #ecdfbf; border-radius: 16px; padding: 24px 26px; margin: 40px 0 0; }
.lp-premios-t { display: flex; align-items: center; gap: 11px; font-size: 1.15rem; font-weight: 800; color: #8a6a17; margin: 0 0 18px; }
.lp-premios-t svg { width: 26px; height: 26px; fill: #c69216; flex-shrink: 0; }
.lp-premios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.lp-premio { background: #fff; border: 1px solid #ecdfbf; border-radius: 12px; padding: 17px 19px; }
.lp-premio-t { font-weight: 700; color: var(--ink); font-size: 0.95rem; margin-bottom: 6px; }
.lp-premio-d { font-size: 0.85rem; color: #6d5c33; line-height: 1.55; }
@media (max-width: 640px) { .lp-feats { grid-template-columns: 1fr; } .lp-equipa { grid-template-columns: 1fr 1fr; } .lp-programa { columns: 1; } }
