:root {
  --navy: #08051f;
  --navy-soft: #14102e;
  --red: #e52b22;
  --red-dark: #bd1f18;
  --ink: #18182a;
  --muted: #646476;
  --line: #e8e6ee;
  --surface: #f7f7fa;
  --white: #fff;
  --shadow: 0 24px 70px rgba(8, 5, 31, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -60px; padding: 10px 16px; background: var(--navy); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(8, 5, 31, .08);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 176px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.legal-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a, .legal-nav a { text-decoration: none; font-size: 14px; font-weight: 700; color: #353445; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible, .legal-nav a:hover, .legal-nav a:focus-visible { color: var(--red); }
.main-nav .nav-cta, .legal-nav .nav-cta { padding: 11px 18px; color: var(--white); background: var(--red); border-radius: 999px; }
.main-nav .nav-cta:hover, .legal-nav .nav-cta:hover { color: var(--white); background: var(--red-dark); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--navy); }

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/hero-atendimento.jpeg");
  background-size: cover;
  background-position: center 38%;
}
.hero::after { content: ""; position: absolute; inset: auto -120px -210px auto; width: 480px; height: 480px; border: 110px solid rgba(229, 43, 34, .17); border-radius: 50%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 5, 31, .94) 0%, rgba(8, 5, 31, .84) 44%, rgba(8, 5, 31, .18) 78%, rgba(8, 5, 31, .06) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 100px; }
.hero-content > * { max-width: 720px; }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--red); font-size: 13px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #ff8b84; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { margin-bottom: 22px; color: var(--white); font-size: clamp(42px, 6vw, 70px); }
h2 { margin-bottom: 20px; color: var(--navy); font-size: clamp(32px, 4vw, 48px); }
h3 { margin-bottom: 12px; color: var(--navy); font-size: 21px; }
.hero-copy { margin-bottom: 30px; color: rgba(255,255,255,.88); font-size: clamp(18px, 2vw, 21px); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 12px 30px rgba(229, 43, 34, .25); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.button-secondary:hover { background: rgba(255,255,255,.15); }
.button-light { color: var(--navy); border-color: var(--line); background: var(--white); }
.hero-note { margin: 22px 0 0; color: rgba(255,255,255,.67); font-size: 13px; }

.trust-strip { position: relative; z-index: 3; margin-top: -42px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-item { display: grid; gap: 3px; padding: 26px 34px; border-right: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.trust-item:last-child { border-right: 0; }
.trust-number { color: var(--navy); font-size: 18px; font-weight: 850; }

.section { padding-block: 100px; }
.lead { color: #3c3b4e; font-size: 19px; }
.about-section p:not(.section-kicker) { max-width: 680px; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr); gap: 72px; align-items: center; }
.legal-card, .address-card { padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-card { box-shadow: inset 5px 0 0 var(--red); }
.legal-label { display: block; margin-bottom: 8px; color: var(--red); font-size: 12px; font-style: normal; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.legal-card > strong, .address-card > strong { display: block; color: var(--navy); font-size: 20px; line-height: 1.3; }
.legal-card dl { margin: 24px 0 0; }
.legal-card dl div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.legal-card dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.legal-card dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 750; }

.services-section { background: var(--surface); }
.section-heading { max-width: 700px; margin-bottom: 44px; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 230px; padding: 34px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8,5,31,.08); }
.service-card p { margin: 0; color: var(--muted); }
.card-index { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 28px; color: var(--red); background: #fff0ef; border-radius: 13px; font-size: 13px; font-weight: 850; }

.security-section { color: var(--white); background: var(--navy); }
.security-section h2 { color: var(--white); }
.security-section .section-kicker { color: #ff7770; }
.security-section .lead { color: rgba(255,255,255,.82); }
.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.security-visual { display: grid; place-items: center; min-height: 440px; background: radial-gradient(circle, rgba(56,84,255,.20), transparent 62%); }
.security-visual img { width: min(470px, 100%); }
.check-list { display: grid; gap: 14px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; color: rgba(255,255,255,.78); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #ff7770; font-weight: 900; }
.text-link { color: #ff8b84; font-weight: 800; text-underline-offset: 4px; }

.disclosure-section { padding-block: 60px; background: #fff7f6; }
.disclosure-card { display: grid; grid-template-columns: 58px 1fr; gap: 24px; align-items: start; }
.disclosure-card h2 { margin-bottom: 10px; font-size: 27px; }
.disclosure-card p { margin: 0; color: #5d4545; }
.disclosure-icon { display: grid; place-items: center; width: 52px; height: 52px; color: var(--white); background: var(--red); border-radius: 50%; font-family: Georgia, serif; font-size: 25px; font-weight: 800; }

.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.contact-section .lead { max-width: 690px; }
.contact-actions { margin-top: 28px; }
.address-card { font-style: normal; box-shadow: var(--shadow); background: var(--white); }
.address-card p { margin: 18px 0 0; color: var(--muted); }
.address-card a { color: var(--red); font-weight: 800; }

.site-footer { color: rgba(255,255,255,.72); background: #050316; }
.footer-main { display: grid; grid-template-columns: 1.5fr .65fr .85fr; gap: 70px; padding-block: 60px; }
.footer-brand img { width: 150px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 430px; margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { margin-bottom: 6px; color: var(--white); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-legal { padding-block: 26px 34px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; line-height: 1.55; }
.footer-legal p { margin: 5px 0; }
.footer-legal strong { color: var(--white); }
.copyright { margin-top: 18px !important; color: rgba(255,255,255,.48); }

.legal-page { min-height: 60vh; padding-block: 76px 100px; background: var(--surface); }
.legal-page article { max-width: 900px; padding: 50px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(8,5,31,.07); }
.legal-page h1 { color: var(--navy); font-size: clamp(36px, 5vw, 56px); }
.legal-page h2 { margin-top: 38px; font-size: 25px; }
.legal-page p, .legal-page li { color: #4d4c5e; }
.legal-page .updated { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 12px; }
  .main-nav .nav-cta { text-align: center; }
  .hero { min-height: 620px; background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8,5,31,.94), rgba(8,5,31,.78)); }
  .trust-grid, .split-grid, .security-grid, .contact-grid, .footer-main { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .split-grid, .security-grid, .contact-grid { gap: 42px; }
  .footer-main { gap: 34px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 144px; }
  .legal-nav { gap: 10px; }
  .legal-nav a { font-size: 12px; }
  .legal-nav .nav-cta { padding: 8px 12px; }
  .hero { min-height: 660px; }
  .hero-content { padding-block: 78px; }
  h1 { font-size: 42px; }
  .hero-actions .button, .contact-actions .button { width: 100%; }
  .trust-strip { margin-top: 0; background: var(--white); }
  .trust-grid { width: 100%; grid-template-columns: 1fr; border-radius: 0; box-shadow: none; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 28px; }
  .section { padding-block: 72px; }
  .cards-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 28px; }
  .legal-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .security-visual { min-height: 280px; }
  .disclosure-card { grid-template-columns: 1fr; }
  .footer-main { padding-block: 48px; }
  .legal-page { padding-block: 40px 70px; }
  .legal-page article { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
