/* ============================================================
   SBNPp — Design System 2026
   Base: azul-marinho institucional (mesmo navy do portal) +
   âmbar-dourado de acento (mesmo CTA do portal / amarelo do selo).
   ============================================================ */

/* ---------- Fontes (Roboto self-hosted, mesma do portal) ---------- */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
    --navy-950: #061c3c;
    --navy-900: #0a2b5a;
    --navy-750: #103a72;
    --navy-100: #e8eef7;
    --amber-500: #e4b85c;
    --amber-600: #c49e4d;
    --amber-100: #faf3e0;
    --wine-500: #692340;
    --slate-800: #2d374b;
    --positive: #077c76;
    --surface: #ffffff;
    --surface-alt: #f5f7fb;
    --border: #e3e9f2;
    --text-strong: #0a2b5a;
    --text-body: #3f4d68;
    --text-muted: #6b7891;
    --grad-navy: linear-gradient(135deg, #0a2b5a 0%, #061c3c 100%);
    --shadow: 0 .375rem 1.5rem rgba(136, 152, 170, .15);
    --shadow-lift: 0 .75rem 2rem rgba(10, 43, 90, .16);
    --radius-sm: .375rem;
    --radius-lg: 1rem;
    --header-h: 4.5rem;
    --fs-h1: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
    --fs-h2: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
    --fs-lead: 1.125rem;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .75rem;
    color: var(--text-strong);
    line-height: 1.25;
    font-weight: 700;
}
h1 { font-size: var(--fs-h1); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-900); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy-750); }

:focus-visible {
    outline: 3px solid rgba(228, 184, 92, .8);
    outline-offset: 2px;
    border-radius: 2px;
}

::selection { background: var(--amber-500); color: var(--navy-950); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--amber-500);
    color: var(--navy-950);
    padding: .75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}
.container--narrow { max-width: 880px; }

.section { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--grad-navy); color: rgba(255, 255, 255, .88); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head__lead { font-size: var(--fs-lead); color: var(--text-muted); }
.section--navy .section-head__lead { color: rgba(255, 255, 255, .75); }

.eyebrow {
    display: block;
    margin-bottom: .625rem;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--amber-600);
}
.section--navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--amber-500); }

.stack { display: grid; gap: 1.5rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/*
 * Fila de cartões que centraliza a última linha (parceiros e instituições
 * recomendadas). Grid não resolve isso: com 6 cartões em 4 colunas os dois
 * últimos encostam na borda esquerda, e usar 1fr faria esses dois ocuparem
 * meia tela cada um. Flex com base fixa mantém todo cartão do mesmo tamanho
 * e centraliza o que sobra — pedido da diretoria em 29/08/2026, antes de
 * entrarem os dois parceiros novos.
 *
 * 16.5rem é a maior base que ainda deixa quatro cartões numa linha dentro do
 * .container (4 x 264px + 3 x 24px de gap = 1128px, contra 1140px úteis).
 * Abaixo disso o próprio flex quebra as linhas, sem media query.
 */
.cards-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.cards-center > * { flex: 0 1 16.5rem; }

/*
 * Carrossel de cartões (home: parceiros e instituições).
 *
 * A grade continua sendo a .cards-center. Enquanto tudo couber numa linha o
 * trilho tem uma página só, que ocupa 100% da janela — ou seja, o bloco fica
 * idêntico ao que era antes e os controles seguem escondidos. O JS só reparte
 * em páginas e liga a rotação quando a lista passa do que cabe.
 *
 * Sem JavaScript sobra a primeira página, que já é a linha centrada de hoje.
 */
.carrossel__janela { overflow: hidden; }
.carrossel__trilho {
    display: flex;
    align-items: flex-start;
    /* Folga entre páginas maior que a sombra do cartão (blur de 24px): sem ela
       a sombra do último cartão da página anterior aparece como um risco na
       borda esquerda da janela. O deslocamento em px, no JS, soma esta folga. */
    column-gap: 2.5rem;
    transition: transform .5s ease;
}
.carrossel__trilho > .cards-center { flex: 0 0 100%; }

.carrossel__controles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.75rem;
}
/* O display do agente de usuário para [hidden] perde para o display desta
   classe — sem esta linha as setas ficam à mostra mesmo com uma página só. */
.carrossel__controles[hidden] { display: none; }

.carrossel__seta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--navy-900);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.carrossel__seta:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
}

.carrossel__pontos { display: flex; align-items: center; gap: .5rem; }
.carrossel__ponto {
    width: .5rem;
    height: .5rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--border);
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease;
}
.carrossel__ponto:hover { background: var(--text-muted); }
.carrossel__ponto.is-atual { width: 1.5rem; background: var(--amber-500); }

@media (prefers-reduced-motion: reduce) {
    .carrossel__trilho { transition: none; }
    .carrossel__ponto { transition: none; }
}

/* Observação abaixo de uma .cards-center (instituições, parceiros). */
.cards-nota {
    margin: 2rem 0 0;
    color: var(--text-muted);
    font-size: .9375rem;
    text-align: center;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.875rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease,
                transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--amber-500);
    border-color: var(--amber-500);
    color: var(--navy-950);
    font-weight: 700;
}
.btn--primary:hover {
    background: var(--amber-600);
    border-color: var(--amber-600);
    color: var(--navy-950);
    box-shadow: 0 .5rem 1.25rem rgba(228, 184, 92, .35);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

.btn--navy {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
}
.btn--navy:hover { background: var(--navy-750); border-color: var(--navy-750); color: #fff; }

.btn--outline {
    background: transparent;
    border-color: var(--navy-900);
    color: var(--navy-900);
}
.btn--outline:hover { background: var(--navy-100); color: var(--navy-900); }

.btn--lg { padding: 1.05rem 2.4rem; font-size: 1.0625rem; }

@media (max-width: 420px) {
    .card .btn { width: 100%; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy-900);
    transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
    background: rgba(8, 33, 68, .98);
    box-shadow: 0 .375rem 1.25rem rgba(4, 16, 36, .45);
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: #fff;
    margin-right: auto;
}
.brand img { width: 2.75rem; height: auto; }
.brand__name { font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; color: #fff; }
.brand__name small {
    display: block;
    font-size: .61rem;
    font-weight: 400;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .65);
}

.site-nav { display: flex; align-items: center; gap: .125rem; }
.site-nav a {
    position: relative;
    display: inline-block;
    padding: .625rem .75rem;
    color: rgba(255, 255, 255, .85);
    font-weight: 500;
    font-size: .95rem;
    white-space: nowrap;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color .2s ease, background-color .2s ease;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: .875rem;
    right: .875rem;
    bottom: .3rem;
    height: 2px;
    border-radius: 2px;
    background: var(--amber-500);
}

.header-actions { display: flex; align-items: center; gap: .625rem; }
.header-actions .btn { padding: .625rem 1.25rem; white-space: nowrap; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    padding: .625rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1200px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        padding: 1rem 1.25rem 1.5rem;
        background: var(--navy-950);
        box-shadow: 0 1.25rem 2rem rgba(4, 16, 36, .5);
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: .875rem 1rem; }
    .site-nav a[aria-current="page"]::after { left: 1rem; right: auto; width: 2rem; bottom: .45rem; }
    .site-nav .header-actions--mobile {
        display: flex;
        flex-direction: column;
        gap: .75rem;
        margin-top: 1rem;
    }
    .header-actions--desktop { display: none; }
}
@media (min-width: 1201px) {
    .site-nav .header-actions--mobile { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--grad-navy);
    color: rgba(255, 255, 255, .88);
    padding-block: clamp(4rem, 9vw, 7.5rem);
}
.hero::before {
    /* textura diagonal sutil, eco dos posts do Instagram */
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, .035) 0 1px,
        transparent 1px 14px
    );
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    right: -12rem;
    top: -10rem;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 184, 92, .16) 0%, transparent 65%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
    align-items: center;
    gap: 3rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero__lead {
    font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
    color: rgba(255, 255, 255, .78);
    max-width: 34rem;
    margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { color: var(--amber-500); }

.hero__figure { display: flex; justify-content: center; }
.hero__figure img {
    width: min(21rem, 70vw);
    filter: drop-shadow(0 1.5rem 3rem rgba(3, 12, 28, .55));
}

@media (max-width: 860px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__lead { margin-inline: auto; }
    .hero__actions, .hero__meta { justify-content: center; }
    .hero__figure { order: -1; }
    .hero__figure img { width: min(13rem, 55vw); }
}

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--grad-navy);
    color: rgba(255, 255, 255, .85);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, .03) 0 1px,
        transparent 1px 14px
    );
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.page-hero__lead { max-width: 46rem; color: rgba(255, 255, 255, .75); font-size: var(--fs-lead); }

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem 1.75rem;
}
.card--hover { transition: transform .25s ease, box-shadow .25s ease; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.25rem;
    border-radius: .75rem;
    background: var(--navy-100);
    color: var(--navy-900);
}
.card--icon h3, .card--icon h4 { margin-bottom: .5rem; }
.card--icon p { color: var(--text-muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
/* Variante de 3 números (home). Precisa vir depois dos media queries de .stats:
   media query não soma especificidade, então quem ganha é a última regra. */
.stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .stats--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stats--3 { grid-template-columns: 1fr; gap: 1.75rem; } }
.stat__num {
    display: block;
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--amber-500);
    font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: .375rem; color: rgba(255, 255, 255, .75); font-size: .95rem; }

/* ---------- Modal (genérico) ---------- */
.modal {
    width: min(34rem, calc(100vw - 2.5rem));
    max-height: calc(100vh - 2.5rem);
    padding: 0;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text-body);
    box-shadow: var(--shadow-lift);
    overflow-y: auto;
}
.modal::backdrop { background: rgba(6, 28, 60, .55); }

.modal__body { position: relative; padding: 2.25rem 1.875rem; }
.modal__body h3 { margin-bottom: 1.5rem; padding-right: 2.5rem; }

.modal__close {
    position: absolute;
    top: .875rem;
    right: .875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.modal__close:hover { background: var(--navy-100); color: var(--navy-900); }

/* ---------- Pop-up do 4º Congresso ---------- */
.modal--congresso { width: min(30rem, calc(100vw - 2.5rem)); background: var(--grad-navy); }
.modal--congresso .modal__body { padding: 2.75rem 2rem 2.25rem; text-align: center; }
.modal--congresso .modal__close { color: rgba(255, 255, 255, .7); }
.modal--congresso .modal__close:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.congresso-pop__selo {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: .3125rem .875rem;
    border: 1px solid rgba(228, 184, 92, .5);
    border-radius: 999px;
    color: var(--amber-500);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.congresso-pop__titulo {
    margin: 0 0 .875rem;
    color: #fff;
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 1.9rem);
    line-height: 1.25;
}
.congresso-pop__texto { margin: 0 0 1.5rem; color: rgba(255, 255, 255, .82); }
.congresso-pop__texto strong { color: var(--amber-500); }

/* Barra de progresso das vagas: o número vem do data-vagas no HTML. */
.congresso-pop__barra {
    height: .5rem;
    margin-bottom: 1.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    overflow: hidden;
}
.congresso-pop__barra span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--amber-600), var(--amber-500));
}

.congresso-pop__acoes { display: flex; flex-direction: column; gap: .75rem; }
.congresso-pop__depois {
    padding: 0;
    border: none;
    background: none;
    color: rgba(255, 255, 255, .6);
    font-family: inherit;
    font-size: .875rem;
    cursor: pointer;
}
.congresso-pop__depois:hover { color: #fff; text-decoration: underline; }

/* ---------- Preços ---------- */
/* auto-fit centrado: a grade fica correta com 2 cards (plano PJ oculto) ou 3 (quando ele voltar) */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 22rem)); gap: 1.5rem; align-items: stretch; justify-content: center; }
@media (max-width: 992px) { .pricing { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

.price-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.25rem 1.875rem;
    text-align: center;
    position: relative;
}
.price-card h3 { font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.price-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .25rem;
    margin: .75rem 0 .5rem;
    color: var(--text-strong);
}
.price-card__price .currency { font-size: 1.05rem; font-weight: 500; }
.price-card__price .value { font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.price-card__price .cents { font-size: 1.05rem; font-weight: 500; }
.price-card__note { font-size: .8125rem; color: var(--text-muted); }
.price-card__desc {
    font-size: .875rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}
.price-card__features {
    list-style: none;
    margin: 1.25rem 0 1.75rem;
    padding: 0;
    display: grid;
    gap: .625rem;
    text-align: left;
}
.price-card__features li { display: flex; gap: .625rem; align-items: flex-start; font-size: .95rem; }
.price-card__features svg { flex: none; margin-top: .2rem; color: var(--positive); }
.price-card .btn { margin-top: auto; }

.price-card--featured {
    background: var(--grad-navy);
    border-color: var(--navy-750);
    color: rgba(255, 255, 255, .85);
}
.price-card--featured h3 { color: var(--amber-500); }
.price-card--featured .price-card__price { color: #fff; }
.price-card--featured .price-card__note,
.price-card--featured .price-card__desc { color: rgba(255, 255, 255, .7); }
.price-card--featured .price-card__desc { border-top-color: rgba(255, 255, 255, .15); }
.price-card--featured .price-card__features svg { color: var(--amber-500); }
.price-card__badge {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amber-500);
    color: var(--navy-950);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .875rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* ---------- Faixa CTA ---------- */
.band {
    background: var(--grad-navy);
    color: #fff;
    padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.band__title { color: #fff; margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
@media (max-width: 640px) {
    .band__inner { flex-direction: column; text-align: center; }
}

/* ---------- Depoimento ---------- */
.testimonial {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
    padding: 2.75rem 2.25rem;
}
.testimonial__stars { display: flex; justify-content: center; gap: .25rem; color: var(--amber-500); margin-bottom: 1.25rem; }
.testimonial__quote {
    font-size: clamp(1.0625rem, 1rem + .5vw, 1.25rem);
    color: var(--text-strong);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}
.testimonial__author { display: flex; align-items: center; justify-content: center; gap: .875rem; }
.testimonial__avatar { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; }
.testimonial__name { font-weight: 700; color: var(--text-strong); line-height: 1.3; }
.testimonial__role { font-size: .875rem; color: var(--text-muted); }

/* ---------- Tabela (associados) ---------- */
.filter-field { position: relative; max-width: 26rem; margin-bottom: 1.5rem; }
.filter-field svg {
    position: absolute;
    left: .875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.filter-field .input { padding-left: 2.75rem; }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    background: var(--surface);
}
table.table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 760px; }
.table thead th {
    background: var(--navy-900);
    color: #fff;
    font-weight: 500;
    text-align: left;
    padding: .875rem 1.25rem;
    white-space: nowrap;
    position: sticky;
    top: 0;
}
.table tbody td { padding: .8rem 1.25rem; border-top: 1px solid var(--border); }
.table tbody tr:nth-child(even) { background: #fafbfe; }
.table tbody tr:hover { background: var(--navy-100); }

.badge {
    display: inline-block;
    padding: .2rem .7rem;
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 500;
    white-space: nowrap;
}
.badge--navy { background: var(--navy-100); color: var(--navy-900); }
.badge--amber { background: var(--amber-100); color: #8a6a1e; }
.badge--muted { background: #eef0f4; color: var(--text-muted); }

/* ---------- Formulários ---------- */
.field { margin-bottom: 1.25rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 500; color: var(--text-strong); font-size: .95rem; }
.field .hint { font-size: .8125rem; color: var(--text-muted); margin-top: .3rem; }

.input {
    width: 100%;
    height: 2.75rem;
    padding: 0 .875rem;
    font: inherit;
    color: var(--text-body);
    background: var(--surface);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 1px var(--border);
    transition: box-shadow .2s ease;
}
textarea.input { height: auto; min-height: 7rem; padding-block: .75rem; resize: vertical; }
.input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--amber-500);
}
.input::placeholder { color: #a3adc2; }

/* Select: o .input desenha a borda com box-shadow sobre border:none, e o
   widget nativo do <select> e pintado pelo sistema operacional, que ignora
   box-shadow do autor — a borda simplesmente nao aparecia (o input de texto
   ao lado mostrava a dele). Tirar o appearance devolve a pintura ao CSS; com
   ele some a seta nativa, reposta aqui como background. */
select.input {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7891' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .875rem center;
    background-size: .7rem auto;
    cursor: pointer;
}

/* Campo de arquivo: o input nativo não aceita altura fixa nem o padding do
   .input sem cortar o botão do navegador, por isso tem regra própria. */
.input--arquivo {
    height: auto;
    padding: .625rem .875rem;
    font-size: .9375rem;
}

/* Honeypot: invisível para pessoas, presente para bots. */
.hp-field { display: none !important; }

/* ---------- Mensagens de status (?parceria=ok|erro, ?recomendacao=ok|erro) ---------- */
.msg {
    max-width: 46rem;
    margin: 0 auto 2.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-align: center;
}
.msg--ok {
    background: rgba(7, 124, 118, .09);
    border: 1px solid rgba(7, 124, 118, .35);
    color: var(--positive);
}
.msg--erro {
    background: rgba(105, 35, 64, .07);
    border: 1px solid rgba(105, 35, 64, .35);
    color: var(--wine-500);
}
.msg a { color: inherit; font-weight: 700; }

/* ---------- Accordion (documentos) ---------- */
.accordion { display: grid; gap: 1rem; }
.accordion__item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-strong);
    transition: background-color .2s ease;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:hover { background: var(--surface-alt); }
.accordion__summary::after {
    content: "";
    flex: none;
    width: .75rem;
    height: .75rem;
    border-right: 2px solid var(--amber-600);
    border-bottom: 2px solid var(--amber-600);
    transform: rotate(45deg);
    transition: transform .25s ease;
    margin-right: .25rem;
}
.accordion__item[open] > .accordion__summary { border-bottom: 1px solid var(--border); }
.accordion__item[open] > .accordion__summary::after { transform: rotate(-135deg); }
.accordion__body { padding: 1.25rem 1.5rem 1.5rem; }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.doc-link {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 1.125rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-strong);
    font-weight: 500;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.doc-link:hover { border-color: var(--amber-500); background: var(--amber-100); transform: translateX(2px); }
.doc-link svg { flex: none; color: var(--wine-500); }
.doc-link small { margin-left: auto; color: var(--text-muted); font-weight: 400; white-space: nowrap; }

/* ---------- Equipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1200px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; max-width: 18rem; margin-inline: auto; } }

.person-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.person-card__photo { width: 100%; aspect-ratio: 1; object-fit: cover; }
.person-card__body { padding: 1.25rem 1rem 1.5rem; }
.person-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.person-card__roles { display: flex; flex-wrap: wrap; gap: .375rem; justify-content: center; }
.role-pill {
    display: inline-block;
    background: var(--navy-100);
    color: var(--navy-900);
    font-size: .78rem;
    font-weight: 500;
    padding: .2rem .7rem;
    border-radius: 999px;
}
.role-pill--lead { background: var(--amber-500); color: var(--navy-950); font-weight: 700; }

/* ---------- Passos (LP) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: passo; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; } }
.step { text-align: center; padding: 2rem 1.5rem; }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--amber-500);
    color: var(--navy-950);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.125rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--text-muted); }

/* ---------- Contato ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 46rem; margin-inline: auto; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { text-align: center; }
.contact-card .card__icon { margin-inline: auto; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card a.contact-card__value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy-900);
    text-decoration: none;
}
.contact-card a.contact-card__value:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); }
.site-footer__main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-block: 3.5rem 2.5rem;
}
@media (max-width: 992px) { .site-footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__main { grid-template-columns: 1fr; } }

.site-footer h3 {
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.125rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .625rem; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: var(--amber-500); }

.footer-brand img { width: 4.5rem; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; max-width: 18rem; }

.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: rgba(255, 255, 255, .85);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-950); }

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-block: 1.375rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .875rem;
}

/* ---------- Página "obrigado" (compra) ---------- */
.thanks {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-navy);
    padding: 3rem 1.25rem;
}
.thanks__card {
    max-width: 34rem;
    width: 100%;
    text-align: center;
    padding: 3rem 2.5rem;
}
.thanks__card img.thanks__logo { width: 8rem; margin: 0 auto 1.5rem; }
.thanks__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(7, 124, 118, .12);
    color: var(--positive);
    margin-bottom: 1.25rem;
}

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.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;
}
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
/* Aceita mais de um botão desde 30/08/2026 (a página de faculdades passou a ter
   três): sem o wrap, a linha estouraria a largura no celular. */
.center-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .55s ease, transform .55s ease;
    }
    [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .band, .nav-toggle { display: none !important; }
}

/* ---------- Dropdown do menu ---------- */
.site-nav__item--sub { position: relative; }

.site-nav__sub-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .625rem .75rem;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .95rem;
    font-weight: 500;
    line-height: inherit;
    color: rgba(255, 255, 255, .85);
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}
.site-nav__sub-toggle:hover,
.site-nav__sub-toggle[aria-expanded="true"] {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}
.site-nav__sub-toggle svg { transition: transform .25s ease; }
.site-nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav__sub-toggle.is-active { color: #fff; }
.site-nav__sub-toggle.is-active::after {
    content: "";
    position: absolute;
    left: .875rem;
    right: .875rem;
    bottom: .3rem;
    height: 2px;
    border-radius: 2px;
    background: var(--amber-500);
}

.site-nav__sub {
    display: none;
    position: absolute;
    top: calc(100% + .375rem);
    left: 0;
    z-index: 110;
    min-width: 11rem;
    margin: 0;
    padding: .5rem;
    list-style: none;
    background: var(--navy-950);
    border-radius: var(--radius-sm);
    box-shadow: 0 .875rem 2rem rgba(4, 16, 36, .55);
}
.site-nav__sub::before {
    /* ponte invisível: mantém o hover ao cruzar o vão até o painel */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -.5rem;
    height: .5rem;
}
.site-nav__item--sub.is-open > .site-nav__sub { display: block; }
@media (prefers-reduced-motion: no-preference) {
    .site-nav__item--sub.is-open > .site-nav__sub { animation: site-nav-sub-in .18s ease; }
}
@keyframes site-nav-sub-in {
    from { opacity: 0; transform: translateY(-.375rem); }
    to { opacity: 1; transform: none; }
}
.site-nav__sub a { display: block; }

@media (max-width: 1200px) {
    .site-nav__item--sub { position: static; }
    .site-nav__sub-toggle { width: 100%; padding: .875rem 1rem; text-align: left; }
    .site-nav__sub-toggle svg { margin-left: auto; }
    .site-nav__sub-toggle.is-active::after { left: 1rem; right: auto; width: 2rem; bottom: .45rem; }
    .site-nav__sub {
        display: block;
        position: static;
        z-index: auto;
        min-width: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
    .site-nav__sub::before { display: none; }
    .site-nav__item--sub.is-open > .site-nav__sub { animation: none; }
    .site-nav__sub a { padding: .75rem 1rem .75rem 2.25rem; }
    .site-nav__sub a[aria-current="page"]::after { left: 2.25rem; }
}
