@font-face {
  font-family: 'RibeiroSans';
  src: url('/assets/fonts/pjs.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F3F6FB;
  --surface: #FFFFFF;
  --surface-2: #EBF1FA;
  --ink: #101A33;
  --muted: #5B6B85;
  --line: rgba(16,26,51,0.10);
  --accent: #2A5CE0;
  --accent-2: #1B8FE8;
  --accent-ink: #FFFFFF;
  --navy: #0B1C3D;
  --navy-2: #13284F;
  --on-navy-ink: #F4F8FF;
  --on-navy-muted: #AFC0E0;
  --shadow: 0 1px 2px rgba(16,26,51,0.05), 0 12px 28px rgba(16,26,51,0.08);
  --radius: 20px;
  --sans: 'RibeiroSans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0F1C; --surface: #121A2C; --surface-2: #182238;
    --ink: #EDF2FC; --muted: #9FB1D1; --line: rgba(200,215,240,0.12);
    --accent: #5B8CFF; --accent-2: #4FB3F5; --accent-ink: #071023;
    --navy: #050B18; --navy-2: #0C1830; --on-navy-ink: #F4F8FF; --on-navy-muted: #90A5CC;
    --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 16px 36px rgba(0,0,0,0.45);
  }
}
:root[data-theme="dark"] {
  --bg: #0A0F1C; --surface: #121A2C; --surface-2: #182238;
  --ink: #EDF2FC; --muted: #9FB1D1; --line: rgba(200,215,240,0.12);
  --accent: #5B8CFF; --accent-2: #4FB3F5; --accent-ink: #071023;
  --navy: #050B18; --navy-2: #0C1830; --on-navy-ink: #F4F8FF; --on-navy-muted: #90A5CC;
  --shadow: 0 1px 2px rgba(0,0,0,0.4), 0 16px 36px rgba(0,0,0,0.45);
}
:root[data-theme="light"] {
  --bg: #F3F6FB; --surface: #FFFFFF; --surface-2: #EBF1FA;
  --ink: #101A33; --muted: #5B6B85; --line: rgba(16,26,51,0.10);
  --accent: #2A5CE0; --accent-2: #1B8FE8; --accent-ink: #FFFFFF;
  --navy: #0B1C3D; --navy-2: #13284F; --on-navy-ink: #F4F8FF; --on-navy-muted: #AFC0E0;
  --shadow: 0 1px 2px rgba(16,26,51,0.05), 0 12px 28px rgba(16,26,51,0.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-family: var(--sans); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- topbar ---------- */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: 0.82rem; }
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item svg { width: 15px; height: 15px; flex: none; color: var(--accent-2); }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item.link { color: var(--on-navy-ink); font-weight: 600; text-decoration: none; }
@media (max-width: 780px) { .topbar { display: none; } }

/* ---------- navbar ---------- */
header.bar { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-weight: 800; font-size: 1rem; line-height: 1.1; }
.brand-name b { display: block; color: var(--accent); font-weight: 800; }
nav.primary { display: flex; align-items: center; gap: 2px; }
nav.primary a {
  font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--muted);
  padding: 9px 14px; border-radius: 8px; white-space: nowrap; position: relative;
}
nav.primary a:hover { color: var(--ink); }
nav.primary a.active { color: var(--accent); }
nav.primary a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column; gap: 2px;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { display: flex; }
.drop a { color: var(--ink); border-radius: 9px; font-weight: 500; }
.bar-right { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 0.88rem; padding: 11px 18px; border-radius: 999px; text-decoration: none;
  white-space: nowrap; box-shadow: var(--shadow);
}
.nav-cta svg { width: 16px; height: 16px; }
.hamburger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; flex: none; }
.hamburger svg { width: 18px; height: 18px; }

.mobile-menu { display: none; position: fixed; inset: 0; z-index: 50; background: var(--bg); padding: 20px 24px; overflow-y: auto; }
.mobile-menu.open { display: block; }
/* se a tela crescer além do ponto do menu hambúrguer (ex: girar tablet) enquanto o
   menu mobile está aberto, some com ele — senão fica bloqueando o nav de desktop */
@media (min-width: 881px) {
  .mobile-menu.open { display: none; }
}
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-menu a { display: block; font-size: 1.05rem; font-weight: 700; text-decoration: none; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu .sub a { font-size: 0.92rem; font-weight: 500; padding-left: 16px; color: var(--muted); }
.close-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }

@media (max-width: 880px) {
  nav.primary, .bar-right .nav-cta span.full { display: none; }
  .hamburger { display: flex; }
}

/* ---------- eyebrow / buttons ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent);
  padding: 8px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.eyebrow.on-navy { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: var(--accent-2); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.94rem;
  padding: 14px 24px; border-radius: 12px; text-decoration: none; border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-on-navy { background: rgba(255,255,255,0.08); color: var(--on-navy-ink); border-color: rgba(255,255,255,0.16); }
.btn-on-navy:hover { background: rgba(255,255,255,0.14); }
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.btn svg { width: 18px; height: 18px; flex: none; }

.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.88rem; color: var(--accent); text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.more-link.on-navy { color: var(--accent-2); }

/* ---------- hero ---------- */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; margin-top: 20px; }
.hero h1 span { color: var(--accent); }
.hero p.lede { font-size: 1.06rem; color: var(--muted); max-width: 50ch; margin-top: 18px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.trust-mini { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.trust-mini-item { display: flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.trust-mini-item .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.trust-mini-item .ic svg { width: 16px; height: 16px; }

.hero-media { position: relative; }
.hero-media-frame {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3.1;
  box-shadow: var(--shadow); background: #0c1320;
}
.hero-media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; right: -18px; bottom: -18px; background: var(--surface); border-radius: 16px;
  box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.hero-badge .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.hero-badge .ic svg { width: 20px; height: 20px; }
.hero-badge strong { display: block; font-size: 0.88rem; font-weight: 800; line-height: 1.25; }
.hero-badge span { font-size: 0.76rem; color: var(--muted); }
@media (max-width: 480px) { .hero-badge { right: 10px; bottom: -16px; max-width: 200px; padding: 12px 14px; } }

/* ---------- generic sections ---------- */
section { padding: 60px 0; }
section.tight { padding: 40px 0; }
.section-head { margin-bottom: 32px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
.section-head h2 span { color: var(--accent); }
.section-head p { margin-top: 10px; color: var(--muted); max-width: 56ch; }
.section-head.center { text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 48px 0 40px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; margin-top: 16px; }
.page-hero p { margin-top: 14px; color: var(--muted); max-width: 62ch; font-size: 1.02rem; }

/* ---------- services dark panel ---------- */
.services-panel { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); border-radius: 28px; padding: 44px; color: var(--on-navy-ink); box-shadow: var(--shadow); }
.services-panel-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
.services-panel h2 { color: var(--on-navy-ink); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.services-panel h2 span { color: var(--accent-2); }
.services-panel > .services-panel-grid > div:first-child p { margin-top: 14px; color: var(--on-navy-muted); max-width: 34ch; }
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.svc-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 16px;
  padding: 20px; text-decoration: none; color: var(--on-navy-ink); transition: background .15s ease, border-color .15s ease;
}
.svc-card:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.22); }
@media (prefers-reduced-motion: reduce) { .svc-card { transition: none; } }
.svc-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.10); color: var(--accent-2); display: flex; align-items: center; justify-content: center; }
.svc-icon svg { width: 20px; height: 20px; }
.svc-card h3 { font-size: 0.98rem; font-weight: 700; margin-top: 12px; }
.svc-card p { margin-top: 6px; font-size: 0.84rem; color: var(--on-navy-muted); line-height: 1.5; }
.svc-card .go { margin-top: 10px; font-size: 0.78rem; color: var(--accent-2); font-weight: 700; }

/* Índice de serviços (fundo claro, fora do painel escuro) */
.wrap > .svc-cards .svc-card { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.wrap > .svc-cards .svc-card:hover { border-color: var(--accent); }
.wrap > .svc-cards .svc-icon { background: var(--surface-2); color: var(--accent); }
.wrap > .svc-cards .svc-card p { color: var(--muted); }
.wrap > .svc-cards .svc-card .go { color: var(--accent); }

/* ---------- info row (3 col) ---------- */
.info-row { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 20px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.08rem; font-weight: 800; }
.info-card p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.info-card .more-link { margin-top: 16px; }
.info-mark { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.info-mark svg { width: 24px; height: 24px; }
.info-card.cta { background: linear-gradient(160deg, var(--accent) 0%, var(--accent-2) 100%); border: none; color: #fff; }
.info-card.cta h3, .info-card.cta p { color: #fff; }
.info-card.cta p { opacity: 0.92; }
.info-card.cta .info-mark { background: rgba(255,255,255,0.18); color: #fff; }
.info-card.cta .btn { margin-top: 18px; background: #fff; color: var(--accent); }

/* ---------- checklist / values ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; color: var(--ink); }
.checklist .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.checklist .tick svg { width: 12px; height: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.value-card .info-mark { margin-bottom: 12px; }
.value-card .k { font-weight: 800; font-size: 0.98rem; }
.value-card p { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }

/* ---------- bottom trust strip ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .info-mark { margin-bottom: 0; flex: none; }
.trust-item h4 { font-size: 0.96rem; font-weight: 800; }
.trust-item p { margin-top: 4px; font-size: 0.84rem; color: var(--muted); }

/* ---------- reviews (honest empty state) ---------- */
.reviews-box { background: var(--surface); border: 1px dashed var(--line); border-radius: 20px; padding: 36px; text-align: center; }
.stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.stars svg { width: 22px; height: 22px; color: var(--line); }
.reviews-box h3 { font-size: 1.05rem; font-weight: 800; }
.reviews-box p { margin-top: 8px; color: var(--muted); max-width: 42ch; margin-left: auto; margin-right: auto; font-size: 0.92rem; }

/* ---------- chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

/* ---------- coverage / areas ---------- */
.coverage { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.coverage h3 { font-weight: 800; font-size: 1.15rem; }
.coverage p { margin-top: 10px; color: var(--muted); font-size: 0.96rem; max-width: 56ch; }

/* ---------- faq ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
details.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; box-shadow: var(--shadow); }
details.faq-item summary {
  font-weight: 700; font-size: 1rem; padding: 17px 0; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .plus { color: var(--accent); font-weight: 800; flex: none; font-size: 1.3rem; line-height: 1; transition: transform .15s ease; }
details.faq-item[open] summary .plus { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { details.faq-item summary .plus { transition: none; } }
details.faq-item p { padding: 0 0 18px; color: var(--muted); font-size: 0.94rem; max-width: 60ch; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.form-row input, .form-row textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  color: var(--ink); font-size: 0.94rem;
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-note { margin-top: 12px; font-size: 0.78rem; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 4px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.field:last-child { border-bottom: none; }
.field .k { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.field .v { font-size: 1.05rem; font-weight: 700; }
.field .v a { text-decoration: none; }
.field .v a:hover { color: var(--accent); }
.map-block {
  margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; padding: 30px;
  background: var(--surface-2); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
}
.map-block .info-mark { margin: 0 auto 4px; }
.map-block b { font-size: 0.98rem; }
.map-block span { font-size: 0.84rem; color: var(--muted); }

/* ---------- footer ---------- */
footer.site { background: var(--navy); color: var(--on-navy-muted); padding: 52px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-navy-ink); margin-bottom: 14px; font-weight: 700; }
.footer-grid a { display: block; text-decoration: none; color: var(--on-navy-muted); font-size: 0.9rem; padding: 5px 0; }
.footer-grid a:hover { color: var(--on-navy-ink); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-mark { background: rgba(255,255,255,0.10); color: var(--accent-2); }
.footer-brand span { font-weight: 800; color: var(--on-navy-ink); }
.foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.10); font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- floating whatsapp ---------- */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 10px;
  background: #22C55E; color: #06210F; font-weight: 700; font-size: 0.88rem;
  padding: 13px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}
.float-wa svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .services-panel-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .svc-cards { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-panel { padding: 28px 22px; border-radius: 22px; }
}
