/* ===== Tokens ===== */
:root {
  --bg: #0B1220;
  --bg-alt: #0F172A;
  --surface: #111C33;
  --surface-2: #16223D;
  --border: #22304F;
  --text: #E7ECF5;
  --text-muted: #9AA9C2;
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-dark: #1D4ED8;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  --max-width: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ===== Typography helpers ===== */
.eyebrow {
  display: inline-block;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.center { text-align: center; }
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 14px;
}
.center.section-sub { margin-inline: auto; }

h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent-light); color: var(--accent-light); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-nav { padding: 9px 16px; font-size: 0.88rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
}
.logo strong { color: var(--accent-light); font-weight: 700; }
.logo-mark { border-radius: 7px; object-fit: cover; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color .15s ease;
}
.nav a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding-block: 72px 96px;
  background:
    radial-gradient(700px 400px at 85% -10%, rgba(59,130,246,0.18), transparent 60%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.hero-note {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ---- Hero visual mock ---- */
.hero-visual { display: flex; justify-content: center; }
.mock-window {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-titlebar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.mock-titlebar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border);
}
.mock-body { display: flex; }
.mock-sidebar {
  width: 56px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--border);
}
.mock-pill { height: 26px; border-radius: 8px; background: var(--surface-2); }
.mock-pill-active { background: var(--accent); }
.mock-main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.mock-row { display: flex; gap: 12px; }
.mock-card {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-label { font-size: 0.68rem; color: var(--text-muted); }
.mock-number { font-size: 1.3rem; font-weight: 700; color: var(--accent-light); }
.mock-agenda { display: flex; flex-direction: column; gap: 6px; }
.mock-agenda-row { display: flex; align-items: center; gap: 10px; }
.mock-time { font-size: 0.7rem; color: var(--text-muted); width: 40px; }
.mock-slot { flex: 1; height: 20px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); }
.mock-slot-fill { background: rgba(59,130,246,0.25); border-color: var(--accent); }

/* ===== Chips (usado dentro das seções de produto) ===== */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.chip-row.center-row { justify-content: center; margin-inline: auto; margin-bottom: 8px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===== Produtos ===== */
.produtos { padding-block: 88px; border-bottom: 1px solid var(--border); }
.produtos h2 { margin-bottom: 4px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.product-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(59,130,246,0.14);
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.product-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(59,130,246,0.12);
  display: flex; align-items: center; justify-content: center;
}
.product-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-card h3 { font-size: 1.4rem; font-weight: 700; }
.product-card > p { color: var(--text-muted); font-size: 0.98rem; }
.product-highlights { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.product-highlights li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.product-highlights li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.product-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.product-link {
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 600;
}
.product-link:hover { color: var(--text); }

.section-cta { text-align: center; margin-top: 48px; }

/* ===== Planos ===== */
.planos { padding-block: 88px; border-bottom: 1px solid var(--border); }
.planos h2 { margin-bottom: 4px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.price-card > .product-tag { margin-bottom: 14px; }
.price-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }

.price-tier {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.price-tier:first-of-type { border-top: none; padding-top: 0; }
.price-tier-name { font-weight: 600; font-size: 0.98rem; }
.price-tier-value { font-weight: 700; color: var(--accent-light); font-size: 1.05rem; white-space: nowrap; }
.price-tier-desc { grid-column: 1 / -1; color: var(--text-muted); font-size: 0.88rem; }
.price-tier-highlight .price-tier-name::after {
  content: "recomendado";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(59,130,246,0.16);
  color: var(--accent-light);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  vertical-align: middle;
}

.price-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 20px;
}
.price-card .product-actions { margin-top: 24px; }

/* ===== Mockups específicos por produto ===== */
.section-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-bottom: 8px;
}
.section-intro-grid .eyebrow.center,
.section-intro-grid h2.center,
.section-intro-grid .section-sub.center { text-align: left; margin-inline: 0; }

.mock-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.76rem;
  margin-top: 10px;
}

.mock-teeth { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.mock-tooth { aspect-ratio: 1; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--border); }
.mock-tooth-done { background: rgba(59,130,246,0.35); border-color: var(--accent); }
.mock-tooth-todo { background: rgba(96,165,250,0.14); border-color: var(--accent-light); }

.mock-deadlines { display: flex; flex-direction: column; gap: 10px; }
.mock-deadline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.mock-deadline-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--accent); }
.mock-deadline-dot.urgent { background: #F87171; }
.mock-deadline-text { display: flex; flex-direction: column; gap: 2px; }
.mock-deadline-text strong { font-size: 0.82rem; }
.mock-deadline-text span { font-size: 0.72rem; color: var(--text-muted); }

/* ===== Módulos ===== */
.modulos { padding-block: 88px; }
.modulos h2 { margin-bottom: 4px; }
.modulos-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.module-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.module-card-wide { grid-column: span 3; }
.module-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(59,130,246,0.12);
  display: flex; align-items: center; justify-content: center;
}
.module-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.module-card h3 { font-size: 1.15rem; font-weight: 700; }
.module-card ul { display: flex; flex-direction: column; gap: 9px; }
.module-card li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.module-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.module-card-wide ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 24px; }

/* ===== Diferenciais ===== */
.diferenciais {
  padding-block: 88px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.diferenciais h2 { max-width: 700px; margin-inline: auto; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.diff-number {
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 12px;
  opacity: 0.6;
}
.diff-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.diff-card p { color: var(--text-muted); font-size: 0.92rem; }
.diff-card-wide {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(59,130,246,0.10), transparent);
}
.diff-card-wide .diff-number { margin-bottom: 0; flex-shrink: 0; }
.diff-card-wide h3 { margin-bottom: 6px; }

/* ===== Contato ===== */
.contato { padding-block: 88px; }
.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contato h2 { margin-bottom: 4px; }
.contato-cards { display: flex; flex-direction: column; gap: 16px; }
.contato-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color .15s ease, transform .15s ease;
}
.contato-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.contato-card svg {
  width: 26px; height: 26px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.6;
}
.contato-card div { display: flex; flex-direction: column; gap: 2px; }
.contato-card strong { font-size: 0.95rem; }
.contato-card span { color: var(--text-muted); font-size: 0.92rem; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 40px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 12px; max-width: 280px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { color: var(--text-muted); font-size: 0.92rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 18px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card-wide { grid-column: span 2; }
  .module-card-wide ul { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .contato-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .section-intro-grid { grid-template-columns: 1fr; }
  .section-intro-grid .eyebrow.center,
  .section-intro-grid h2.center,
  .section-intro-grid .section-sub.center { text-align: center; margin-inline: auto; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .btn-nav { align-self: stretch; text-align: center; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card-wide { grid-column: span 1; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-card-wide { flex-direction: column; align-items: flex-start; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}
