/* AntecipaSD — estilo das páginas internas (mesma identidade da home) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0C1F35;
  --navy-mid:  #1B3F6A;
  --gold:      #B89040;
  --gold-l:    #D4AF5A;
  --gold-pale: #F5EDD8;
  --green:     #1B5E3B;
  --green-mid: #226B45;
  --wpp:       #25D366;
  --white:     #FFFFFF;
  --warm:      #F7F4EF;
  --warm-b:    #EDE8DF;
  --text:      #1A2332;
  --text-mid:  #4A5568;
  --text-lt:   #718096;
  --border:    #E4DDD0;
  --radius:    8px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--white); color: var(--navy); padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { left: 16px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border); height: 72px;
}
.header-inner {
  max-width: 1160px; margin: 0 auto; height: 100%; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 700;
  color: var(--navy); letter-spacing: -.3px; text-decoration: none;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: var(--radius); background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.logo-text em { font-style: normal; color: var(--gold); }
.header-nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.header-nav a {
  font-size: .875rem; font-weight: 500; color: var(--text-mid);
  text-decoration: none; padding: 6px 0; transition: color .2s;
}
.header-nav a:hover { color: var(--navy); }
.header-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
.btn-wpp-header {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--green); color: var(--white);
  padding: 10px 20px; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; text-decoration: none; transition: background .2s;
}
.btn-wpp-header:hover { background: var(--green-mid); }

/* ── Hero ── */
.page-hero {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(27,63,106,.75) 0%, transparent 55%),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,.018) 79px, rgba(255,255,255,.018) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,.018) 79px, rgba(255,255,255,.018) 80px);
  padding: 56px 32px 88px;
}
.page-hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px; gap: 72px; align-items: center;
}
.page-hero-inner.single { grid-template-columns: 1fr; max-width: 820px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .78rem; color: #7A94AA; margin-bottom: 36px; }
.crumbs a { color: #9BAFC5; text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: '›'; margin-right: 8px; color: #4F6880; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow-line { width: 40px; height: 2px; background: var(--gold); flex-shrink: 0; }
.eyebrow span { font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 700; line-height: 1.12;
  color: var(--white); letter-spacing: -.5px; margin-bottom: 22px;
}
.page-hero h1 strong { color: var(--gold); font-weight: 900; }
.lead { font-size: 1.05rem; color: #9BAFC5; line-height: 1.75; max-width: 560px; margin-bottom: 34px; }
.updated { font-size: .8rem; color: #7A94AA; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--green); color: var(--white);
  padding: 14px 26px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.8);
  padding: 14px 26px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 500; text-decoration: none; transition: all .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

/* ── Cartão do escritório ── */
.info-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,.35); }
.info-card-top { background: var(--navy-mid); padding: 20px 24px; }
.info-card-top small { display: block; font-size: .7rem; color: #94A8BE; letter-spacing: .08em; text-transform: uppercase; }
.info-card-top strong { font-family: 'Fraunces', serif; font-size: 1.25rem; color: var(--white); }
.info-card-body { padding: 8px 24px 24px; }
.info-row { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.info-row:last-of-type { border-bottom: none; }
.info-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--radius);
  background: var(--gold-pale); display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 18px; height: 18px; }
.info-row strong { display: block; font-size: .9rem; color: var(--text); font-weight: 600; }
.info-row span { display: block; font-size: .8rem; color: var(--text-lt); line-height: 1.55; }
.info-card .btn-primary { width: 100%; margin-top: 12px; }

/* ── Seções ── */
.section { padding: 88px 32px; }
.section.warm { background: var(--warm); }
.container { max-width: 1160px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .15em; color: var(--gold); margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 24px; height: 2px; background: var(--gold); }
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.18;
  letter-spacing: -.3px; color: var(--navy); margin-bottom: 14px;
}
.section-sub { font-size: .975rem; color: var(--text-mid); line-height: 1.75; max-width: 560px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  font-family: 'Fraunces', serif; font-size: .9rem; font-weight: 700; color: var(--gold);
}
.step h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.step p { font-size: .875rem; color: var(--text-mid); line-height: 1.7; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.chips li {
  font-size: .8rem; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--white); color: var(--text-mid);
}
.chips li.hl { border-color: var(--gold-l); background: var(--gold-pale); color: var(--navy); font-weight: 600; }

.checklist { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 16px; font-size: .9rem; color: var(--text);
}
.checklist li::before {
  content: ''; flex: 0 0 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.note {
  margin-top: 20px; padding: 14px 18px; border-left: 3px solid var(--gold);
  background: var(--white); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .875rem; color: var(--text-mid); line-height: 1.7;
}
.note strong { color: var(--text); }

/* ── Perguntas ── */
.faq { display: grid; gap: 12px; margin-top: 40px; max-width: 860px; }
.faq details { border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.faq details[open] { border-color: var(--gold-l); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: .95rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Fraunces', serif; font-size: 1.4rem; line-height: 1; color: var(--gold); flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq .answer { padding: 0 22px 20px; font-size: .9rem; color: var(--text-mid); line-height: 1.75; }
.faq .answer a { color: var(--green); }

/* ── Cartões de links ── */
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 40px; }
.link-card {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--border); border-radius: 12px; padding: 24px;
  background: var(--white); text-decoration: none; transition: border-color .2s, transform .2s;
}
.link-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.link-card small { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.link-card h3 { font-size: 1.15rem; color: var(--navy); line-height: 1.3; }
.link-card p { font-size: .85rem; color: var(--text-mid); line-height: 1.65; }
.link-card .more { margin-top: auto; padding-top: 8px; font-size: .85rem; font-weight: 600; color: var(--green); }

/* ── Texto dos guias ── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; color: var(--navy); line-height: 1.25; margin: 52px 0 16px; }
.prose p, .prose li { font-size: 1rem; color: var(--text-mid); line-height: 1.8; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--green); }
.prose .source { font-size: .82rem; color: var(--text-lt); }
.highlight-box {
  background: var(--warm); border-left: 3px solid var(--gold);
  padding: 22px 26px; border-radius: 0 10px 10px 0;
  font-size: 1.02rem; color: var(--text); line-height: 1.75;
}
.table-wrap { overflow-x: auto; margin: 4px 0 18px; border: 1px solid var(--border); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.prose tr:last-child th, .prose tr:last-child td { border-bottom: none; }
.prose th { color: var(--text-mid); font-weight: 500; }
.prose td { color: var(--text); font-weight: 600; text-align: right; white-space: nowrap; }
.prose .compare td { text-align: left; white-space: normal; font-weight: 500; }
.prose .compare tr:first-child th { color: var(--navy); font-weight: 600; background: var(--warm); }

/* ── Chamada final ── */
.cta-band { background: var(--navy); padding: 72px 32px; }
.cta-band-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }
.cta-band p { color: #9BAFC5; margin-top: 10px; font-size: .95rem; }
.cta-band small { display: block; margin-top: 10px; color: #6F87A0; font-size: .78rem; text-align: center; }

/* ── Rodapé ── */
.site-footer { background: #060D16; padding: 64px 32px 28px; color: #5A7080; }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 24px;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: .82rem; line-height: 1.75; max-width: 300px; }
.site-footer h4 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 16px;
}
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a, .site-footer address a { font-size: .85rem; color: #8DA0B3; text-decoration: none; transition: color .2s; }
.footer-links a:hover, .site-footer address a:hover { color: var(--white); }
.site-footer address { font-style: normal; font-size: .82rem; line-height: 1.7; display: grid; gap: 12px; }
.site-footer address strong { display: block; color: #C9D4DE; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .75rem; color: #3E5466; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--white); }

.wpp-fab {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wpp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s;
}
.wpp-fab:hover { transform: scale(1.06); }
.wpp-fab svg { width: 28px; height: 28px; }

@media (max-width: 1024px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .info-card { max-width: 480px; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .site-header nav { display: none; }
  .site-logo { font-size: 1.2rem; }
  .logo-mark { width: 32px; height: 32px; }
  .btn-wpp-header { flex-shrink: 1; padding: 9px 14px; font-size: .8rem; line-height: 1.25; }
  .page-hero { padding: 36px 20px 64px; }
  .crumbs { margin-bottom: 28px; }
  .lead { font-size: 1rem; }
  .section { padding: 64px 20px; }
  .steps { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .prose h2 { font-size: 1.3rem; margin-top: 44px; }
  .prose th, .prose td { padding: 10px 10px; }
  .cta-band { padding: 56px 20px; }
  .site-footer { padding: 48px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .wpp-fab { right: 16px; bottom: 16px; }
}
