/* Antevista — site institucional. Sem fontes externas, sem url(): os assets entram por <img>/<video>. */
:root {
  --navy: #042148;
  --deep: #0d2a4f;
  --teal: #0b4763;
  --teal-ink: #0a5878;
  --paper: #f4f2ed;
  --white: #ffffff;
  --ink: #14213a;
  --muted: #475467;
  --line: #d9d5cb;
  --amber-bg: #f3e3b8;
  --amber-ink: #5a3b00;
  --focus: #b45309;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 72rem;
  --pad: clamp(1rem, 4vw, 2rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--paper); }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--navy); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .section.dark :focus-visible { outline-color: #ffd37a; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--white); color: var(--navy); padding: .6rem 1rem; border-radius: 4px; font-weight: 600; }
.skip-link:focus { top: .5rem; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .6rem 1.4rem; border-radius: 4px; border: 2px solid transparent; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn-primary:hover { background: var(--white); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(244, 242, 237, .7); }
.btn-ghost:hover { background: rgba(244, 242, 237, .12); color: var(--white); border-color: var(--white); }
.btn-solid { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-solid:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--paper); border-bottom: 1px solid rgba(244, 242, 237, .14); }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: .7rem; }
.brand { display: block; line-height: 0; }
.brand img { width: 10.5rem; height: auto; }
@media (max-width: 62rem) { .header-inner { gap: .5rem .6rem; } }
@media (max-width: 30rem) { .brand img { width: 7.5rem; } .cta-mobile .btn { padding-inline: .7rem !important; font-size: .95rem; } .menu-toggle { padding-inline: .7rem; } }
@media (max-width: 24rem) { .brand img { width: 6.5rem; } .header-inner { gap: .5rem .4rem; } .cta-mobile .btn { padding-inline: .5rem !important; font-size: .85rem; } .menu-toggle { padding-inline: .5rem; font-size: .85rem; } }
@media (max-width: 21rem) { .brand img { width: 5rem; } .cta-mobile .btn { padding-inline: .4rem !important; font-size: .8rem; } .menu-toggle { padding-inline: .4rem; font-size: .8rem; } }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.25rem; margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--paper); text-decoration: none; padding: .45rem .15rem; display: inline-block; font-size: .95rem; }
.site-nav a:hover { text-decoration: underline; color: var(--white); }
.site-nav a.btn { display: inline-flex; align-items: center; justify-content: center; padding: .4rem 1.2rem; min-height: 2.75rem; }
.site-nav a.signin { font-weight: 600; text-decoration: underline; text-underline-offset: .2em; padding-inline: .4rem; }
.lang-switch { display: inline-flex !important; align-items: center; min-height: 2.75rem; font-size: .9rem !important; font-weight: 600; border: 1px solid rgba(244, 242, 237, .5); border-radius: 4px; padding: .3rem .7rem !important; }
.cta-mobile { display: none; }
.cta-desktop { display: inline-flex; }
.menu-toggle { display: none; margin-left: auto; background: transparent; color: var(--paper); border: 1px solid rgba(244, 242, 237, .6); border-radius: 4px; min-height: 2.5rem; padding: .3rem .9rem; font: 600 .95rem var(--sans); cursor: pointer; }
@media (max-width: 62rem) {
  .js .menu-toggle { display: inline-block; margin-left: 0; }
  .js .site-nav { display: none; width: 100%; margin: 0; padding-bottom: .6rem; flex-direction: column; align-items: stretch; }
  .js .site-nav.open { display: flex; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a { padding: .6rem 0; }
  .site-nav { width: 100%; margin-left: 0; }
  .cta-desktop { display: none; }
  .cta-mobile { display: block; margin-left: auto; }
  .cta-mobile .btn { padding: .4rem .9rem; min-height: 2.75rem; }
  .site-nav a.signin, .lang-switch { align-self: flex-start; }
}

/* Hero */
.hero { position: relative; isolation: isolate; background: var(--navy); color: var(--paper); min-height: min(86vh, 46rem); display: flex; align-items: center; overflow: hidden; }
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; }
.hero-media video { opacity: 0; transition: opacity .8s; }
.hero-media video.playing { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 33, 72, .94) 0%, rgba(4, 33, 72, .82) 45%, rgba(4, 33, 72, .5) 100%); }
.hero-inner { padding-block: clamp(3rem, 9vw, 6rem); }
.hero h1 { color: var(--white); max-width: 22ch; margin-bottom: .5em; }
.hero .eyebrow { color: #c9d6e6; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40rem; color: #e5ebf3; }
.hero-note { font-size: .95rem; color: #c9d6e6; margin-top: 1.25rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.motion-toggle { position: absolute; right: var(--pad); bottom: 1rem; display: none; background: rgba(4, 33, 72, .75); color: var(--paper); border: 1px solid rgba(244, 242, 237, .6); border-radius: 4px; min-height: 2.75rem; padding: .3rem .9rem; font: 500 .9rem var(--sans); cursor: pointer; }
.js .has-video .motion-toggle { display: inline-block; }

/* Seções */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.alt { background: var(--white); }
.section.dark { background: var(--deep); color: var(--paper); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark a { color: #cfe3ef; }
.section.dark a.btn-primary, .section.dark a.btn-primary:hover { color: var(--navy); }
.section.dark a.btn-ghost { color: var(--paper); }
.section.dark a.btn-ghost:hover { color: var(--white); }
.eyebrow { font: 600 .82rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin: 0 0 .9rem; display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.section.dark .eyebrow { color: #a9c9dc; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }
.section.dark .lead { color: #d6e0ec; }
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.media-frame { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(4, 33, 72, .5); }
.media-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Passos */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps li { counter-increment: step; border-top: 3px solid var(--teal); padding-top: 1rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 700 2.6rem/1 var(--serif); color: var(--teal-ink); margin-bottom: .4rem; }
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--muted); margin: 0; }

/* Cartão de alerta (exemplo fictício) */
.alert-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-left: 6px solid #b45309; border-radius: 4px; padding: 1.4rem 1.5rem; box-shadow: 0 18px 40px -26px rgba(4, 33, 72, .55); position: relative; }
.alert-badge { display: inline-block; background: var(--amber-bg); color: var(--amber-ink); font: 700 .82rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; padding: .4rem .6rem; border-radius: 3px; margin-bottom: 1rem; }
.alert-kind { font-size: .875rem; color: var(--muted); margin: 0 0 .4rem; }
.alert-card h3 { font-size: 1.35rem; margin-bottom: .9rem; }
.quote-label { font: 700 .82rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); margin: 1rem 0 .3rem; }
.alert-card blockquote { margin: 0; padding: .7rem 1rem; background: var(--paper); border-left: 3px solid var(--teal); font: italic 1.02rem/1.55 var(--serif); }
.alert-card cite { display: block; font: .875rem var(--sans); color: var(--muted); margin-top: .4rem; font-style: normal; }
.alert-foot { font-size: .9rem; color: var(--muted); margin: 1.1rem 0 0; border-top: 1px dashed var(--line); padding-top: .8rem; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; border-left: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: rotate(-45deg) translateY(-50%); }
.section.dark .ticks li::before { border-color: #a9c9dc; }

/* Vistos */
.cards { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 48rem) { .cards { grid-template-columns: 1fr 1fr; } .cards.cards-1 { grid-template-columns: minmax(0, 36rem); } }
.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 4px; padding: 1.5rem; }
.section.alt .card { background: var(--paper); }
.card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: .2rem; font-size: 1.6rem; }

/* Vistos: dois painéis (revisão e consulta) com o mesmo componente de chips por família */
.visa-panel { margin-top: 2.25rem; }
.visa-panel h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.visa-panel.review .visa-list li { border-color: var(--teal); }
.visa-panel.review .visa-name { color: var(--teal-ink); }
.visa-legend { color: var(--muted); font-size: .95rem; margin: 0 0 1.25rem; max-width: 44rem; }
.visa-groups { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .visa-groups { grid-template-columns: 1fr 1fr; } }
.visa-group { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 1.1rem 1.25rem; }
.section.alt .visa-group { background: var(--paper); }
.visa-group h4 { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font: 700 1.05rem/1.3 var(--serif); color: var(--navy); margin: 0 0 .6rem; }
.visa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .5rem; }
.visa-list li { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 4px; padding: .3rem .5rem; background: var(--white); font-size: .95rem; }
.visa-name { font-weight: 600; white-space: nowrap; }

/* Preços */
.price-card { text-align: left; display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 47.99rem) { .price-card .btn { align-self: stretch; } }
.price-lead { margin: .4rem 0 0; color: var(--muted); }
.price-card h3 { font-size: 1.25rem; }
.packages { list-style: none; margin: 1rem 0 0; padding: 0; }
.packages .pkg { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "s s"; gap: .1rem .75rem; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--line, #d9dde3); }
.packages .pkg:last-child { border-bottom: 1px solid var(--line, #d9dde3); }
.packages .pkg-n { grid-area: n; font-weight: 600; }
.packages .pkg-p { grid-area: p; justify-self: end; font: 700 1.5rem/1 var(--serif); color: var(--navy); font-variant-numeric: tabular-nums lining-nums; }
.packages small { grid-area: s; font: 500 .95rem/1.3 var(--sans); color: var(--muted); }
@media (min-width: 30rem) {
  .packages .pkg { grid-template-columns: minmax(6.5rem, 1fr) 10rem 7rem; grid-template-areas: "n s p"; }
  .packages small { white-space: nowrap; }
}
.packages .pkg-rec { background: #eef4f7; border-left: 4px solid var(--teal); padding-inline: .75rem; margin-inline: -.75rem; }
.packages .pkg-badge { display: block; width: max-content; margin: .25rem 0 0; background: var(--teal); color: #fff; font: 700 .75rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 3px; white-space: nowrap; }
.price-card .ticks { margin-top: 1rem; }
.price-card .fine { margin: 0 0 1.25rem; }
.price-card .ticks { margin-bottom: 1rem; }
.hero-note a { color: inherit; text-decoration: underline; }
.notice-fine { display: block; margin-top: .35rem; font-weight: 400; font-size: .95rem; }
.notice { margin: 1.25rem 0 0; max-width: 46rem; padding: 1rem 1.25rem; border: 1px solid #c9a24a; background: var(--amber-bg); color: var(--amber-ink); border-radius: 4px; font-weight: 600; }
.fine { font-size: .9rem; color: var(--muted); margin: 1rem 0 1.25rem; max-width: 38rem; }

.nw { white-space: nowrap; }
.prose .notice { margin: 0 0 1.5rem; }
.draft-note { font-style: italic; color: var(--muted); }
.prose h2[id] { scroll-margin-top: 1rem; }

/* FAQ */
.faq { margin-top: 2rem; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 1.1rem/1.4 var(--sans); padding: 1rem 2.5rem 1rem 0; position: relative; list-style: none; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .75rem; font: 400 1.6rem/1 var(--serif); color: var(--teal-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 2rem; max-width: 38rem; }


/* Páginas de texto */
.page-head { background: var(--navy); color: var(--paper); padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-head h1 { color: var(--white); margin-bottom: .3em; }
.page-head p { margin: 0; color: #c9d6e6; }
.prose { max-width: 46rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose .box { border: 1px solid var(--line); background: var(--white); padding: 1.25rem 1.5rem; border-radius: 4px; }
.reason { display: none; font-weight: 600; }
.reason:target { display: block; }
.center-page { min-height: 55vh; display: grid; align-content: center; }

/* Rodapé */
.legal-short { background: var(--paper); border-top: 1px solid var(--line); padding-block: 1.75rem; font-size: .9rem; color: var(--muted); }
.legal-short p { max-width: 38rem; margin: 0; }
.site-footer { background: var(--navy); color: #c9d6e6; padding-block: 2rem; font-size: .92rem; }
.site-footer a { color: var(--paper); display: inline-block; padding-block: .5rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.footer-inner ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: 0; }
.footer-brand img { width: 8.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .hero-media video { display: none; }
}
@media (forced-colors: active) {
  .btn, .lang-switch, .menu-toggle { border: 2px solid ButtonText; }
  .alert-card { border-left-width: 6px; }
}
@media print { .site-header, .hero-media, .motion-toggle { display: none; } body { background: #fff; } }
[hidden] { display: none !important; }

.operated { margin: 0; flex-basis: 100%; }
.site-footer .operated a { color: var(--paper); }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: var(--navy); text-decoration: none; }
.prose dl { margin: 0 0 1.25rem; } .prose dt { font-weight: 700; color: var(--navy); margin-top: .9rem; } .prose dd { margin: .2rem 0 0; }
