/* ==========================================================================
   D C M DA SILVA SWISS CAPITAL DO BRASIL — folha de estilo principal
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-deep: #071527;
  --ink: #0d1b2a;
  --ink-soft: #33475e;
  --muted: #62748c;
  --line: #e2e8f0;
  --brand: #10365f;
  --brand-dark: #0a2242;
  --brand-soft: #eaf1f9;
  --accent: #b8892b;
  --accent-soft: #fbf3e2;
  --ok: #0f8a5f;
  --warn: #b4451c;
  --warn-soft: #fdf1ec;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 4px 14px rgba(13, 27, 42, .05);
  --shadow-md: 0 10px 40px rgba(13, 27, 42, .10);
  --wrap: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.05rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--bg-deep);
  color: #b9c8da;
  font-size: .82rem;
  letter-spacing: .01em;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 26px;
  align-items: center; justify-content: space-between;
  min-height: 40px; padding-top: 8px; padding-bottom: 8px;
}
.topbar a { color: #fff; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.brand-name { display: flex; flex-direction: column; font-weight: 700; line-height: 1.15; }
.brand-name small {
  font-weight: 500; font-size: .7rem; color: var(--muted);
  letter-spacing: .04em; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--brand); text-decoration: none; }

.nav-toggle {
  display: none; width: 44px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 11px;
  font-weight: 600; font-size: .95rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(16, 54, 95, .25); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* ---------- Seções ---------- */
section { padding: 78px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: 1.09rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 92px;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(184, 137, 43, .16), transparent 60%),
    linear-gradient(165deg, #0a2242 0%, #071527 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .06));
  pointer-events: none;
}
.hero h1 { color: #fff; }
.hero p { color: #c3d2e4; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .8rem; font-weight: 500; color: #e5eefa;
}
.hero-badge b { color: #fff; font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #35d08a; flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 26px; font-size: .86rem; color: #8fa5bf; max-width: 46ch; }

.hero-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  padding: 30px 30px 26px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1rem; letter-spacing: .01em; }
.hero-card .kv { display: grid; gap: 0; margin-top: 6px; }
.hero-card .kv div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .89rem;
}
.hero-card .kv div:last-child { border-bottom: 0; }
.hero-card .kv dt, .hero-card .kv span:first-child { color: #96abc4; }
.hero-card .kv span:last-child { color: #fff; font-weight: 600; text-align: right; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon.gold { background: var(--accent-soft); color: var(--accent); }

/* ---------- Sobre / números ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.stat b { display: block; font-size: 1.28rem; color: var(--ink); letter-spacing: -.02em; }
.stat span { font-size: .84rem; color: var(--muted); }

/* ---------- Lista com marcadores ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.checks li {
  position: relative; padding-left: 32px; color: var(--ink-soft); font-size: .97rem;
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310365f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checks.gold li::before {
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8892b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.crosses li { position: relative; padding-left: 32px; color: var(--ink-soft); font-size: .97rem; }
.crosses li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--warn-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4451c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Passo a passo ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; padding: 30px 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--accent);
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .93rem; margin-bottom: 0; }

/* ---------- Faixa de destaque ---------- */
.notice {
  border: 1px solid #f0d6c6; background: var(--warn-soft);
  border-radius: var(--radius); padding: 24px 26px;
}
.notice h3 { color: var(--warn); font-size: 1.05rem; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--warn); }

.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  background: #fff; border-radius: 10px; padding: 20px 24px; margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 24px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
  font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--accent); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 18px; font-size: .96rem; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(160deg, #0a2242 0%, #071527 100%);
  color: #fff; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #c3d2e4; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta .hero-actions { justify-content: center; }

/* ---------- Páginas de conteúdo / políticas ---------- */
.page-head {
  padding: 58px 0 44px;
  background: linear-gradient(160deg, #0a2242 0%, #071527 100%);
  color: #fff;
}
.page-head h1 { color: #fff; margin-bottom: .35em; font-size: clamp(1.85rem, 3.8vw, 2.6rem); }
.page-head p { color: #bccbdd; margin-bottom: 0; max-width: 70ch; }
.page-head .updated {
  display: inline-block; margin-top: 18px; padding: 6px 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .1);
  font-size: .8rem; color: #dbe6f3;
}

.doc { max-width: 820px; }
.doc h2 { font-size: 1.4rem; margin-top: 2.2em; }
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { margin-top: 1.8em; font-size: 1.05rem; }
.doc ul, .doc ol { padding-left: 22px; color: var(--ink-soft); }
.doc li { margin-bottom: .5em; }
.doc table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .93rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.doc td { color: var(--ink-soft); }

.toc {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 40px;
}
.toc strong { display: block; margin-bottom: 10px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.toc li { margin-bottom: .35em; font-size: .93rem; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .card-icon { margin-bottom: 0; flex: none; }
.contact-item h3 { font-size: 1rem; margin-bottom: .2em; }
.contact-item p { margin-bottom: 0; font-size: .95rem; }

form.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; color: var(--muted); }
.field-check input { width: auto; margin-top: 3px; flex: none; }
.form-note { margin: 16px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--bg-deep); color: #9fb2c8; padding: 62px 0 0; font-size: .92rem; }
.site-footer h4 {
  color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid a { color: #9fb2c8; }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-brand p { color: #8ba0b8; font-size: .89rem; }
.footer-legal {
  margin-top: 48px; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: .82rem; color: #7e93ab;
}
.footer-disclaimer {
  margin-top: 40px; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .82rem; color: #7e93ab; line-height: 1.7;
}
.footer-disclaimer strong { color: #b9c8da; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 22px 22px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .site-header .wrap { position: relative; }
  .topbar .wrap { justify-content: center; text-align: center; }
}

@media (max-width: 640px) {
  section { padding: 58px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  form.form { padding: 24px 20px; }
  .doc table, .doc thead, .doc tbody, .doc th, .doc td, .doc tr { display: block; }
  .doc thead { display: none; }
  .doc td { border-top: 0; }
  .doc tr { margin-bottom: 16px; border-top: 1px solid var(--line); }
}
