:root {
  --navy-950: #08351a;
  --navy-900: #0d5428;
  --navy-800: #16863b;
  --navy-700: #1f9b49;
  --blue-500: #22a653;
  --cyan-100: #e5f6e9;
  --cream: #f6faf7;
  --white: #ffffff;
  --ink: #13202b;
  --muted: #5d6c78;
  --line: #dbe2e7;
  --success: #16863b;
  --shadow: 0 22px 60px rgba(13, 84, 40, .12);
  --radius: 22px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-500);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.6rem, 5vw, 5.2rem); margin-bottom: 26px; }
h2 { font-size: clamp(2rem, 3.6vw, 3.55rem); margin-bottom: 20px; }
h3 { font-size: 1.25rem; }
p { margin-top: 0; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: #fff; padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(219, 226, 231, .8);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.08; }
.brand strong { color: var(--navy-900); font-size: 1.05rem; }
.brand small { color: var(--muted); margin-top: 5px; font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.button) { color: #344553; font-size: .92rem; font-weight: 650; text-decoration: none; }
.main-nav > a:not(.button):hover { color: var(--navy-700); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--navy-800);
  border-radius: 999px;
  background: var(--navy-800);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(18, 56, 91, .16);
}
.button:hover { background: var(--navy-700); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.button-secondary { background: transparent; color: var(--navy-800); box-shadow: none; }
.button-secondary:hover { background: #edf4f7; }
.button-light { background: #fff; color: var(--navy-900); border-color: #fff; }
.button-light:hover { background: var(--cyan-100); }
.button-full { width: 100%; border-radius: 12px; }

.hero {
  overflow: hidden;
  padding: 90px 0 100px;
  background:
    radial-gradient(circle at 88% 10%, rgba(78, 158, 180, .22), transparent 29%),
    linear-gradient(145deg, #f8fafb 0%, #f1f5f5 55%, #e7f0f2 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.hero-copy { max-width: 720px; }
.hero-text { max-width: 680px; margin-bottom: 34px; color: #495a66; font-size: 1.13rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-list { display: flex; gap: 22px; flex-wrap: wrap; margin: 28px 0 0; padding: 0; list-style: none; color: #4d606d; font-size: .86rem; }
.trust-list li { position: relative; padding-left: 18px; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.hero-card { position: relative; }
.hero-card::before { content: ""; position: absolute; inset: 8% -8% -8% 14%; border-radius: 42px; background: var(--navy-800); transform: rotate(4deg); }
.document-preview { position: relative; z-index: 1; min-height: 480px; padding: 34px; border: 1px solid rgba(255,255,255,.65); border-radius: 30px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(16px); transform: rotate(-2deg); }
.preview-bar { display: flex; gap: 7px; margin-bottom: 38px; }
.preview-bar span { width: 9px; height: 9px; border-radius: 50%; background: #c9d4db; }
.preview-heading { width: 58%; height: 22px; margin-bottom: 26px; border-radius: 7px; background: var(--navy-800); }
.preview-line { width: 83%; height: 10px; margin: 12px 0; border-radius: 99px; background: #dbe4e8; }
.preview-line.long { width: 100%; }
.preview-line.medium { width: 68%; margin-bottom: 40px; }
.preview-check { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid #e7ecef; color: #304552; font-weight: 700; }
.preview-check span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #dff3e9; color: var(--success); }
.preview-note { width: fit-content; margin: 38px 0 0 auto; padding: 10px 16px; border-radius: 10px; background: var(--navy-800); color: #fff; font-size: .82rem; font-weight: 800; transform: rotate(-3deg); }

.stats { padding: 0; background: var(--navy-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats-grid div { padding: 34px 38px; border-left: 1px solid rgba(255,255,255,.12); }
.stats-grid div:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.stats-grid strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.stats-grid span { color: #bdd0dc; font-size: .88rem; }

.section-heading { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.04rem; }
.section-heading.left { margin: 0; text-align: left; }
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 280px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 35px rgba(16, 43, 66, .06); }
.service-card.featured { color: #fff; background: var(--navy-800); border-color: var(--navy-800); }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 28px; border-radius: 14px; background: var(--cyan-100); color: var(--navy-800); font-weight: 900; }
.featured .card-icon { background: rgba(255,255,255,.14); color: #fff; }
.service-card p { max-width: 510px; color: var(--muted); }
.featured p { color: #c8d9e3; }
.service-card > a { position: absolute; left: 34px; bottom: 30px; color: var(--navy-700); font-weight: 800; text-decoration: none; }
.featured > a { color: #fff; }
.price { position: absolute; right: 34px; top: 34px; display: flex; flex-direction: column; align-items: flex-end; }
.price small { color: #c8d9e3; }
.price strong { font-size: 1.45rem; }

.process-section { color: #fff; background: var(--navy-950); }
.process-section .eyebrow { color: #7fc6cf; }
.process-section .section-heading p:last-of-type { color: #b8c9d3; }
.process-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.steps-list { margin: 0; padding: 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.13); }
.steps-list > li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(127,198,207,.12); color: #8bd0d7; font-weight: 900; }
.steps-list h3 { margin-bottom: 8px; }
.steps-list p { margin-bottom: 0; color: #b8c9d3; }

.payment-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; }
.payment-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 42px rgba(16,43,66,.07); }
.pix-card { display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: center; }
.payment-label { display: inline-flex; margin-bottom: 20px; padding: 6px 11px; border-radius: 999px; background: var(--cyan-100); color: var(--navy-700); font-size: .73rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.payment-card h3 { font-size: 1.65rem; margin-bottom: 12px; }
.payment-card p { color: var(--muted); }
.copy-field { display: flex; align-items: center; gap: 10px; max-width: 500px; padding: 7px 7px 7px 16px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fa; }
.copy-field code { min-width: 0; overflow-wrap: anywhere; font-family: inherit; font-weight: 800; color: var(--navy-900); }
.copy-field button, .text-button { border: 0; cursor: pointer; font-weight: 800; color: var(--navy-700); background: transparent; }
.copy-field button { margin-left: auto; padding: 9px 12px; border-radius: 8px; background: #e6eff3; white-space: nowrap; }
.small-note { margin: 14px 0 0; font-size: .78rem; }
.qr-wrap { text-align: center; }
.qr-wrap img { border: 9px solid #fff; border-radius: 14px; box-shadow: 0 8px 28px rgba(7,28,47,.14); }
.text-button { margin-top: 12px; }
.card-payment { display: flex; flex-direction: column; align-items: flex-start; }
.card-payment .button { width: 100%; margin-top: auto; }
.card-visual { width: 100%; min-height: 175px; margin-bottom: 28px; padding: 25px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); box-shadow: 0 18px 40px rgba(7,28,47,.2); }
.card-visual span, .card-visual small { display: block; }
.card-visual b { display: block; margin: 42px 0 17px; letter-spacing: .1em; }

.request-section { background: var(--cream); }
.request-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.request-copy { position: sticky; top: 120px; }
.request-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-box { margin-top: 36px; padding: 24px; border-left: 4px solid var(--blue-500); background: #fff; }
.contact-box span { display: block; color: var(--muted); font-size: .82rem; }
.contact-box a { color: var(--navy-800); font-weight: 900; text-decoration: none; }
.request-form { padding: 36px; border: 1px solid #dedbd4; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 50px rgba(45,48,50,.08); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label { display: block; margin-bottom: 18px; color: #344553; font-size: .84rem; font-weight: 800; }
input, select, textarea { width: 100%; margin-top: 8px; border: 1px solid #cfd8dd; border-radius: 10px; background: #fff; color: var(--ink); outline: none; }
input, select { height: 50px; padding: 0 14px; }
textarea { resize: vertical; padding: 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(46,124,168,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--success); font-size: .85rem; text-align: center; }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 24px 42px 24px 0; cursor: pointer; list-style: none; color: var(--navy-900); font-weight: 850; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 2px; top: 21px; font-size: 1.5rem; font-weight: 400; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { padding: 0 30px 24px 0; color: var(--muted); }

.cta-section { padding: 72px 0; color: #fff; background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-section .eyebrow { color: #8dd5dc; }
.cta-section h2 { max-width: 720px; margin-bottom: 0; }

.site-footer { padding: 70px 0 26px; background: #061623; color: #d6e1e8; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; }
.footer-brand strong { color: #fff; }
.footer-brand small { color: #93a9b7; }
.footer-grid p { max-width: 380px; margin-top: 22px; color: #93a9b7; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid > div:not(:first-child) strong { margin-bottom: 8px; color: #fff; }
.footer-grid a { color: #b8c9d3; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #8199a8; font-size: .8rem; }

.legal-page { min-height: 100vh; background: var(--cream); }
.legal-header { padding: 26px 0; background: #fff; border-bottom: 1px solid var(--line); }
.legal-content { max-width: 850px; margin: 55px auto; padding: 48px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.legal-content h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.legal-content h2 { margin-top: 38px; font-size: 1.5rem; }
.legal-content p, .legal-content li { color: var(--muted); }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 300; max-width: 330px; padding: 13px 17px; border-radius: 10px; background: var(--navy-950); color: #fff; font-size: .88rem; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateY(0); }
.visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 78px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 13px 14px; }
  .main-nav .button { margin-top: 8px; }
  .hero-grid, .process-grid, .request-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .hero-card { max-width: 600px; margin: 0 auto; }
  .process-grid, .request-grid, .faq-grid { gap: 50px; }
  .request-copy { position: static; }
  .payment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 72px 0; }
  .brand small { display: none; }
  .hero { padding: 68px 0 78px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-card::before { inset: 7% -2% -5% 8%; }
  .document-preview { min-height: 400px; padding: 26px; }
  .trust-list { flex-direction: column; gap: 9px; }
  .stats-grid, .cards-grid, .field-row { grid-template-columns: 1fr; }
  .stats-grid div, .stats-grid div:last-child { padding: 24px 6px; border-left: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .service-card { min-height: 310px; padding: 28px; }
  .service-card > a { left: 28px; }
  .price { position: static; align-items: flex-start; margin-top: 16px; }
  .pix-card { grid-template-columns: 1fr; }
  .qr-wrap { justify-self: center; }
  .payment-card, .request-form { padding: 26px; }
  .copy-field { align-items: stretch; flex-direction: column; }
  .copy-field button { margin-left: 0; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .legal-content { margin: 26px 14px; padding: 28px; }
}

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


/* Tema 2 — Verde Moderno */
.green-text { color: var(--navy-800); }
.site-header { background: rgba(255,255,255,.96); }
.hero {
  padding: 82px 0 92px;
  background:
    radial-gradient(circle at 83% 14%, rgba(80, 190, 110, .18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fbfdfb 58%, #eef8f0 100%);
}
.hero-grid { grid-template-columns: 1.04fr .96fr; }
.hero h1 { font-size: clamp(2.7rem, 4.8vw, 4.85rem); }
.hero-card::before {
  inset: 6% -5% -7% 12%;
  background: linear-gradient(145deg, #16863b, #76c88b);
  transform: rotate(2deg);
}
.document-preview { transform: rotate(-1deg); }
.preview-heading, .preview-note { background: var(--navy-800); }
.stats { background: #f7faf8; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid div { border-color: var(--line); }
.stats-grid span { color: var(--muted); }
.service-card.featured { background: linear-gradient(145deg, #16863b, #0d6f31); border-color: #16863b; }
.process-section { background: linear-gradient(135deg, #0b3c1d, #0e5d2b); }
.process-section .eyebrow, .cta-section .eyebrow { color: #a8e7b8; }
.process-section .section-heading p:last-of-type, .steps-list p { color: #d3ead9; }
.steps-list > li > span { background: rgba(255,255,255,.12); color: #c7f0d1; }
.cta-section { background: linear-gradient(120deg, #16863b, #0b3c1d); }
.site-footer { background: #082b16; }
.contact-box { border-left-color: var(--navy-800); }
input:focus, select:focus, textarea:focus { border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(22,134,59,.12); }
.button { border-radius: 12px; box-shadow: 0 10px 24px rgba(22,134,59,.16); }
.button-secondary { background: #fff; }
.button-secondary:hover { background: #edf8f0; }
.card-icon { border-radius: 50%; }
