:root {
  --color-navy: #0b1f3a;
  --color-navy-light: #12294f;
  --color-accent: #2557d6;
  --color-accent-dark: #1941a8;
  --color-logo-blue: #2d74b4;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f8fb;
  --color-text: #1c2a3a;
  --color-text-muted: #5a6b7d;
  --color-border: #e3e9f0;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(11, 31, 58, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 16px; color: var(--color-navy); }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 16px; color: var(--color-text-muted); }
a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: inline-block;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-word {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.logo-yau { color: var(--color-logo-blue); }
.logo-tech { color: #000000; }
.site-footer .logo-tech { color: #ffffff; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--color-accent-dark); text-decoration: none; }

.btn-nav { padding: 10px 18px !important; }

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 87, 214, 0.3);
}
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-navy); color: #fff; }

.btn-block { width: 100%; text-align: center; border: none; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: #fff;
  padding: 90px 0 100px;
}
.hero-inner { max-width: 720px; }
.eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 { color: #fff; }
.hero-lead {
  font-size: 1.15rem;
  max-width: 620px;
}
.hero .hero-lead { color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--color-navy); }

/* Trust strip */
.trust-strip { padding: 56px 0; background: var(--color-bg-alt); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item h3 { margin-bottom: 8px; font-size: 1.05rem; }

/* Icon badges */
.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 87, 214, 0.1);
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}
.icon-badge svg { width: 24px; height: 24px; }
.trust-item p { margin: 0; font-size: 0.92rem; }

/* Stats band */
.stats-band {
  background: var(--color-navy);
  padding: 56px 0;
  text-align: center;
}
.stat-headline {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  max-width: 700px;
  margin: 0 auto 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.stats-grid-4 { grid-template-columns: repeat(4, 1fr); max-width: none; }
.stat-number {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--color-accent);
  display: block;
}
.stat-title {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 6px;
}
.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Audience grid ("Para quem é") */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.audience-grid .highlight-card h3 { font-size: 1rem; }
.audience-grid .highlight-card p { font-size: 0.88rem; margin: 0; }
.audience-grid-3 { grid-template-columns: repeat(3, 1fr); }
.audience-grid-5 { grid-template-columns: repeat(5, 1fr); }

/* Condensed process (home) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.process-card {
  text-align: center;
  padding: 0 8px;
}
.process-card .step-number {
  margin: 0 auto 14px;
}
.process-card h3 { font-size: 1rem; margin-bottom: 6px; }
.process-card p { font-size: 0.88rem; margin: 0; }
.process-footnote {
  text-align: center;
  margin-top: 28px;
  font-weight: 600;
  color: var(--color-navy);
}

/* Gain scenarios */
.gain-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gain-table th, .gain-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.gain-table th {
  background: var(--color-bg-alt);
  color: var(--color-navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gain-table td.gain-value {
  font-weight: 700;
  color: var(--color-accent-dark);
}
.gain-table tr:last-child td { border-bottom: none; }
.gain-note { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 12px; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.page-header {
  padding: 64px 0 40px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.highlight-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--color-text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.link-arrow { font-weight: 600; display: inline-block; margin-top: 8px; }

.cta-banner {
  background: var(--color-navy);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2, .cta-banner p { color: #fff; margin: 0; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-top: 6px; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-banner .btn-outline:hover { background: #fff; color: var(--color-navy); }

/* Service cards */
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.service-card-head h2 { margin: 0; }

.model-accordion {
  border-top: 1px solid var(--color-border);
  padding: 14px 0;
}
.model-accordion summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-navy);
  list-style: none;
}
.model-accordion summary::-webkit-details-marker { display: none; }
.model-accordion summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--color-accent-dark);
  font-weight: 700;
}
.model-accordion[open] summary::before { content: "−"; }
.model-list {
  list-style: none;
  padding: 12px 0 0 26px;
  margin: 0;
  columns: 2;
  column-gap: 32px;
}
.model-list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  break-inside: avoid;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.model-list li.search-match {
  background: rgba(37, 87, 214, 0.15);
  color: var(--color-navy);
  font-weight: 600;
  padding: 2px 6px;
  margin-left: -6px;
}

/* Model search */
.model-search-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  max-width: 520px;
}
.model-search-form input {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
}
.model-search-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 87, 214, 0.15);
}
.model-search-result {
  margin-top: 14px;
  font-weight: 600;
  color: var(--color-navy);
}

/* Brand-level accordion (Serviços) */
.brand-accordion { margin-bottom: 20px; }
.brand-accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
}
.brand-accordion summary::-webkit-details-marker { display: none; }
.brand-accordion summary::after {
  content: "Ver modelos ↓";
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  white-space: nowrap;
}
.brand-accordion[open] summary::after { content: "Ocultar modelos ↑"; }
.brand-accordion[open] summary {
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
}
.brand-accordion-body {
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 28px 24px;
  background: #fff;
}
.brand-accordion-body .note-box { margin-top: 16px; }

.model-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.model-guide-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.model-guide-card h3 { margin-bottom: 8px; font-size: 1rem; }

.note-box {
  margin-top: 32px;
  padding: 18px 24px;
  background: rgba(37, 87, 214, 0.08);
  border-left: 3px solid var(--color-accent);
  border-radius: 6px;
  color: var(--color-text);
}

/* Payment flow diagram */
.payment-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}
.payment-flow-step {
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 26px;
  text-align: center;
  min-width: 150px;
  box-shadow: var(--shadow);
}
.payment-flow-label { font-weight: 700; color: var(--color-navy); display: block; }
.payment-flow-sub { display: block; font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; }
.payment-flow-step-highlight { border-color: var(--color-accent); }
.payment-flow-step-highlight .payment-flow-label { color: var(--color-accent-dark); }
.payment-flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  gap: 2px;
}
.payment-flow-arrow .arrow-symbol { font-size: 1.3rem; color: var(--color-accent); }

/* Steps */
.steps-list { max-width: 760px; margin: 0 auto; }
.step-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.step-item:last-child { border-bottom: none; }
.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.step-item h3 { margin-bottom: 6px; }
.step-item p { margin: 0; }

/* Legal */
.legal-notice {
  max-width: 800px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 32px;
}
.legal-notice p { color: var(--color-text); margin: 0; }

/* Form */
.form-container { max-width: 640px; }
.site-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  margin-top: 14px;
}
.site-form input,
.site-form select,
.site-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
  background: #fff;
}
.site-form textarea { resize: vertical; min-height: 90px; }
.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 87, 214, 0.15);
}
.site-form .field-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 2px 0 0;
}
.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.form-section-title {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-navy);
  font-size: 1.05rem;
}
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--color-text);
  margin-top: 0;
}
.checkbox-item input { width: auto; padding: 0; accent-color: var(--color-accent); }
.checkbox-item input:disabled { accent-color: var(--color-text-muted); cursor: not-allowed; }

.termo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.termo-modal-overlay[hidden] {
  display: none;
}
.termo-modal {
  background: var(--color-bg);
  width: 100%;
  max-width: 800px;
  height: min(85vh, 900px);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(11, 31, 58, 0.35);
}
.termo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}
.termo-modal-header h3 { margin: 0; font-size: 1.05rem; }
.termo-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 4px 8px;
}
.termo-modal-close:hover { color: var(--color-navy); }
.termo-modal-frame-wrap { position: relative; flex: 1; display: flex; }
.termo-modal-loading { margin: auto; color: var(--color-text-muted); font-size: 0.95rem; }
.termo-modal-frame-wrap iframe { flex: 1; width: 100%; border: 0; }

@media (max-width: 640px) {
  .termo-modal { height: 90vh; }
}
.form-legal {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 24px;
  line-height: 1.5;
}
.site-form button { margin-top: 28px; }

/* Success */
.success-section { padding: 100px 0; }
.success-box { max-width: 520px; margin: 0 auto; text-align: center; }
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 87, 214, 0.12);
  color: var(--color-accent-dark);
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.success-box .hero-actions { justify-content: center; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
  margin-top: 40px;
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer .logo { color: #fff; }
.footer-tagline { max-width: 320px; font-size: 0.9rem; margin-top: 12px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  font-size: 0.82rem;
}

/* Floating WhatsApp CTA */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 87, 214, 0.35);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { background: var(--color-accent-dark); text-decoration: none; transform: translateY(-2px); }
.whatsapp-float-icon { font-size: 1.1rem; }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--color-border);
    display: none;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .btn-nav { align-self: stretch; text-align: center; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-float-text { display: none; }
  .whatsapp-float { padding: 14px; }
  .payment-flow { flex-direction: column; }
  .payment-flow-arrow { flex-direction: row; gap: 8px; }
  .payment-flow-arrow .arrow-symbol { transform: rotate(90deg); }
  .gain-table { display: block; overflow-x: auto; }
  .section-split { grid-template-columns: 1fr; }
  .model-guide-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .model-list { columns: 1; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
