/* ==========================================================================
   ATASS 2026 — estilos do site
   Um único arquivo, mobile-first. Tokens em :root.
   ========================================================================== */

:root {
    --atass-blue: #0B2F6B;
    --atass-blue-700: #0C3D8A;
    --atass-navy: #081F47;
    --atass-gold: #C9A227;
    --atass-gold-300: #E2C25A;
    --atass-gold-ink: #8A6D12;   /* dourado legível sobre branco (4.8:1) */
    --atass-cream: #FBF3D9;
    --atass-ink: #16181D;
    --atass-text: #33384A;
    --atass-muted: #5B6478;
    --atass-mist: #F4F5F7;
    --atass-line: #E3E6EC;
    --atass-on-blue: #D5DCEA;
    --atass-ok: #067647;
    --atass-error: #B42318;

    --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --gutter: clamp(16px, 4vw, 48px);
    --section: clamp(64px, 8vw, 112px);
    --shadow: 0 12px 32px rgba(11, 47, 107, .08);
    --header-h: 76px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--atass-ink);
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--atass-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--atass-navy); }
:focus-visible { outline: 3px solid var(--atass-gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; color: var(--atass-blue); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

.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; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--atass-blue); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 820px; }

/* --- Tipografia utilitária ---------------------------------------------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--atass-gold-ink); }
.eyebrow--dark { color: #6B5410; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.01em; line-height: 1.12; }
.h2--light { color: #fff; }
.h3 { font-size: clamp(24px, 2.8vw, 36px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--atass-muted); line-height: 1.6; }
.lead--light { color: var(--atass-on-blue); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--sm { gap: 10px; }

/* --- Botões -------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 26px; border-radius: 12px; border: 1.5px solid transparent;
    font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; border-radius: var(--radius-sm); }
.btn--block { width: 100%; }
.btn--gold { background: var(--atass-gold); color: #0B1A33; }
.btn--gold:hover { background: #D6B23C; color: #0B1A33; box-shadow: 0 8px 24px rgba(201, 162, 39, .35); }
.btn--blue { background: var(--atass-blue); color: #fff; }
.btn--blue:hover { background: var(--atass-blue-700); color: #fff; }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { color: #fff; border-color: #fff; }
.btn--ghost { color: var(--atass-blue); border-color: var(--atass-line); background: #fff; }
.btn--ghost:hover { border-color: var(--atass-blue); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

.pill { display: inline-block; align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pill--gold { border: 1px solid rgba(201, 162, 39, .6); color: var(--atass-gold-300); }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--atass-cream); color: #6B5410; }

/* --- Marca --------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-size: 26px; font-weight: 800; letter-spacing: .04em; line-height: .9; color: var(--atass-blue); }
.brand__desc { font-size: 9px; font-weight: 600; line-height: 1.25; color: var(--atass-blue); }
.brand--white .brand__name, .brand--white .brand__desc { color: #fff; }

/* --- Header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--atass-line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--atass-line); border-radius: var(--radius-sm); background: #fff; color: var(--atass-blue); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--atass-line); box-shadow: var(--shadow); padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.nav.is-open { display: block; }
.nav__list { list-style: none; display: flex; flex-direction: column; }
.nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--atass-line); }
.nav__link { flex: 1; display: flex; align-items: center; min-height: 52px; font-weight: 700; font-size: 17px; color: var(--atass-ink); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--atass-blue); }
.nav__sub-toggle { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--atass-blue); cursor: pointer; }
.nav__sub-toggle .icon { transition: transform .2s ease; }
.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { list-style: none; display: none; width: 100%; padding: 0 0 12px 12px; }
.nav__item.is-open .nav__sub { display: block; }
.nav__sub a { display: flex; align-items: center; min-height: 44px; color: var(--atass-text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__sub a[aria-current="page"] { color: var(--atass-blue); font-weight: 800; }
.nav__cta { margin-top: 20px; width: 100%; }

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .nav { display: flex !important; position: static; align-items: center; gap: 28px; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
    .nav__list { flex-direction: row; align-items: center; gap: 4px 26px; }
    .nav__item { border: 0; flex-wrap: nowrap; }
    .nav__link { min-height: 44px; font-size: 15px; font-weight: 600; }
    .nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--atass-gold); }
    .nav__sub-toggle { width: 28px; height: 44px; }
    .nav__sub {
        display: block; position: absolute; top: calc(100% + 4px); left: -16px; min-width: 300px;
        padding: 8px; background: #fff; border: 1px solid var(--atass-line); border-radius: var(--radius); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
    }
    .nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub, .nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
    .nav__sub a { padding: 0 12px; border-radius: 8px; }
    .nav__sub a:hover { background: var(--atass-mist); }
    .nav__cta { margin: 0; width: auto; }
}

/* --- Seções -------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section--mist { background: var(--atass-mist); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.section-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--split > div { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }

.split { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
    .split--center { align-items: center; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero { background: var(--atass-blue); color: #fff; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; } }
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--atass-on-blue); max-width: 580px; }
.hero__selos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 600; color: var(--atass-on-blue); }
.hero__selos li { display: inline-flex; align-items: center; gap: 8px; }
.hero__selos .icon { color: var(--atass-gold-300); stroke-width: 2.6; }
.hero__card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.hero__card-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--atass-gold-300); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 600; color: #fff; }

/* --- Cartões ------------------------------------------------------------- */
.cards { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--atass-line); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.card--link:hover { border-color: #C8D0DE; box-shadow: var(--shadow); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__num { font-size: 14px; font-weight: 800; color: var(--atass-gold-ink); font-variant-numeric: tabular-nums; }
.card__title { font-size: 21px; line-height: 1.25; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* cartão inteiro clicável */
.card__text { font-size: 16px; color: var(--atass-muted); flex-grow: 1; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--atass-blue); }
.card--link:hover .card__more .icon { transform: translateX(3px); }
.card__more .icon { transition: transform .15s ease; }

/* --- Método -------------------------------------------------------------- */
.roles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.role { background: #fff; border: 1px solid var(--atass-line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--atass-blue); }
.role h3 { font-size: 18px; }
.role p { font-size: 15px; color: var(--atass-muted); }
.role--dark { background: var(--atass-blue); border-color: var(--atass-blue); color: var(--atass-gold-300); }
.role--dark h3 { color: #fff; }
.role--dark p { color: var(--atass-on-blue); }
.steps { list-style: none; display: grid; gap: 24px; margin-top: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 2px solid var(--atass-gold); }
.step__num { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--atass-gold-ink); }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; color: var(--atass-muted); }

/* --- Quem somos ---------------------------------------------------------- */
.portrait { margin: 0; max-width: 460px; width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #E9ECF2; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__placeholder { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 20px; }
.portrait__placeholder span { font-size: 13px; font-weight: 600; color: var(--atass-muted); background: #fff; padding: 8px 12px; border-radius: 8px; }
.person { display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 20px 24px; border-radius: 14px; background: var(--atass-mist); box-shadow: inset 4px 0 0 var(--atass-gold); }
.person__name { font-size: 17px; font-weight: 800; color: var(--atass-blue); }
.person__role { font-size: 14px; font-weight: 600; }
.person__bio { font-size: 14px; color: var(--atass-muted); }
.values { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.values li { display: flex; flex-direction: column; gap: 4px; }
.values strong { font-size: 15px; font-weight: 800; color: var(--atass-blue); }
.values span { font-size: 14px; color: var(--atass-muted); line-height: 1.5; }

/* --- Depoimento ---------------------------------------------------------- */
.quote { margin: 0 auto; max-width: 880px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.quote__text { margin: 0; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; font-weight: 600; color: var(--atass-blue); }
.quote__author { font-size: 15px; font-weight: 700; color: var(--atass-muted); }

/* --- Banner (curso) ------------------------------------------------------ */
.banner { background: var(--atass-cream); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.banner > .stack { flex: 1 1 480px; }
.banner p { color: #4A4F5C; font-size: 17px; }

/* --- CTA contato --------------------------------------------------------- */
.cta { background: var(--atass-blue); color: #fff; padding: clamp(64px, 8vw, 104px) 0; }
.cta__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.cta__inner > .stack { flex: 1 1 520px; }
.cta__actions { flex: 0 1 360px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cta__actions .btn { min-height: 56px; overflow-wrap: anywhere; }

/* --- Rodapé -------------------------------------------------------------- */
.site-footer { background: var(--atass-navy); color: #C7D0E2; font-size: 15px; }
.site-footer a { color: #C7D0E2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 40px; padding: 64px 0 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer__about { display: flex; flex-direction: column; gap: 16px; max-width: 340px; }
.footer__about .brand:hover { text-decoration: none; }
.footer__title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--atass-gold-300); margin-bottom: 14px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.footer__col li a, .footer__col li { display: inline-flex; align-items: center; min-height: 36px; }
.footer__social { flex-direction: row !important; gap: 8px !important; margin-top: 12px; }
.footer__social a { width: 44px; height: 44px; justify-content: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-sm); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* --- Páginas internas ---------------------------------------------------- */
.page-header { background: var(--atass-mist); padding: clamp(40px, 6vw, 72px) 0; }
.page-header .container { display: flex; flex-direction: column; gap: 16px; }
.page-header__title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.02em; max-width: 860px; }
.page-header__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--atass-muted); max-width: 720px; }
.page-header__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; font-weight: 600; color: var(--atass-muted); }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; font-weight: 600; color: var(--atass-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #9AA1B0; }
.breadcrumb a { color: var(--atass-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--atass-blue); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--atass-ink); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: start; }
@media (min-width: 1024px) {
    .layout { grid-template-columns: minmax(0, 1fr) 360px; }
    .layout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.layout__aside { display: flex; flex-direction: column; gap: 20px; }

/* Conteúdo vindo do editor */
.prose { font-size: 18px; line-height: 1.75; color: var(--atass-text); max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.8em; color: var(--atass-blue); }
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 22px; }
.prose h4 { font-size: 19px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--atass-gold-ink); }
.prose strong, .prose b { color: var(--atass-ink); }
.prose u { text-decoration: none; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--atass-gold); color: var(--atass-blue); font-weight: 600; }
.prose img, .prose figure { border-radius: var(--radius); margin: 1.6em 0; }
.prose figure img { margin: 0; }
.prose figcaption { font-size: 14px; color: var(--atass-muted); margin-top: 8px; }
.prose a { font-weight: 600; }
.prose [style*="font-size"], .prose [style*="font-family"] { font-size: inherit !important; font-family: inherit !important; }
.prose p[align], .prose [style*="text-align"] { text-align: left !important; }

/* Painéis laterais */
.panel { border: 1px solid var(--atass-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.panel__title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--atass-gold-ink); padding-bottom: 8px; }
.panel__list { list-style: none; }
.panel__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-size: 15px; font-weight: 700; color: var(--atass-blue); text-decoration: none; border-bottom: 1px solid #EEF0F4; }
.panel__list li:last-child a { border-bottom: 0; }
.panel__list a:hover { color: var(--atass-navy); }
.panel__list a[aria-current] { color: var(--atass-gold-ink); }
.panel--dark { background: var(--atass-blue); border-color: var(--atass-blue); color: #fff; gap: 14px; padding: 28px; }
.panel--dark .panel__heading { font-size: 22px; font-weight: 800; color: #fff; }
.panel--dark p { font-size: 15px; color: var(--atass-on-blue); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--atass-line); border-radius: 14px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-size: 17px; font-weight: 700; color: var(--atass-blue); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--atass-gold-ink); }
.faq details[open] summary::after { content: "–"; }
.faq__answer { padding: 0 22px 20px; font-size: 16px; color: var(--atass-text); }
.faq__answer > * + * { margin-top: .8em; }

/* Formulários */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field__opt { font-weight: 500; opacity: .75; }
.field input, .field textarea, .field select {
    width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
    border: 1.5px solid #CDD3DE; background: #fff; color: var(--atass-ink); font: inherit; font-size: 16px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--atass-blue); box-shadow: 0 0 0 4px rgba(11, 47, 107, .12); }
.field [aria-invalid="true"] { border-color: var(--atass-error); }
.wa-form { display: flex; flex-direction: column; gap: 16px; }
.panel--dark .field input, .panel--dark .field textarea { border-color: transparent; }
.form-msg { font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form-msg.is-erro { color: var(--atass-error); }
.panel--dark .form-msg.is-erro { color: #FFB4A8; }
.form-msg.is-ok { color: var(--atass-ok); }
.panel--dark .form-msg.is-ok { color: #9BE7C4; }

/* Contato */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--atass-line); border-radius: var(--radius); }
.contact-item__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--atass-mist); color: var(--atass-blue); display: inline-flex; align-items: center; justify-content: center; }
.contact-item strong { display: block; font-size: 14px; color: var(--atass-muted); font-weight: 700; }
.contact-item a, .contact-item span { font-size: 17px; font-weight: 700; color: var(--atass-blue); overflow-wrap: anywhere; }
.contact-form { background: var(--atass-mist); border-radius: 20px; padding: clamp(24px, 3vw, 36px); }

/* Equipe (Sobre) */
.team { list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.team__card { display: flex; flex-direction: column; gap: 16px; }
.team__card .portrait { max-width: none; }

/* Blog */
.posts { list-style: none; display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.post-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #E9ECF2; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__meta { font-size: 13px; font-weight: 700; color: var(--atass-gold-ink); }
.post-card__title { font-size: 20px; line-height: 1.3; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__excerpt { font-size: 15px; color: var(--atass-muted); }
.article-cover { margin: 0 0 40px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 8; background: #E9ECF2; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-nav { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--atass-line); }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--atass-line); border-radius: var(--radius); text-decoration: none; }
.post-nav a:hover { border-color: #C8D0DE; }
.post-nav span { font-size: 13px; font-weight: 700; color: var(--atass-muted); }
.post-nav strong { color: var(--atass-blue); }
.post-nav__next { text-align: right; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--atass-line); font-weight: 700; text-decoration: none; }
.pagination .page-numbers.current { background: var(--atass-blue); border-color: var(--atass-blue); color: #fff; }

.empty { padding: 48px 0; text-align: center; color: var(--atass-muted); }

/* 404 */
.not-found { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: clamp(80px, 12vw, 160px) 0; }
.not-found__code { font-size: clamp(72px, 12vw, 140px); font-weight: 800; line-height: 1; color: var(--atass-blue); letter-spacing: -0.03em; }

/* --- Reveal sutil -------------------------------------------------------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity .45s ease-out, transform .45s ease-out; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
    .btn:hover, .post-card:hover .post-card__media img { transform: none; }
}

/* --- Impressão ----------------------------------------------------------- */
@media print {
    .site-header, .site-footer, .cta, .layout__aside, .skip-link { display: none !important; }
    body { font-size: 12pt; }
}
