/* ==========================================================================
   APAN Maringá — tema 26_27
   Paleta oficial: azul-marinho #002855 e azul-claro #00a7e1 (não alterar).
   ========================================================================== */

:root {
    --navy: #002855;
    --navy-700: #0b3a72;
    --navy-900: #001a3a;
    --sky: #00a7e1;
    --sky-600: #0090c4;
    --sky-50: #e6f6fc;

    --ink: #142033;
    --muted: #5a6678;
    --line: #e3e8ef;
    --soft: #f5f8fb;
    --white: #ffffff;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(0, 40, 85, .06), 0 8px 24px rgba(0, 40, 85, .08);
    --shadow-hover: 0 2px 4px rgba(0, 40, 85, .08), 0 16px 40px rgba(0, 40, 85, .14);

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--sky-600); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.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(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Elementos legados do index.php da raiz que não têm papel neste tema */
#loading-overlay { display: none; }
.boxed { overflow-x: clip; }

/* ---------- Botões, chips, textos de apoio ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: .95rem; line-height: 1; white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); color: var(--white); box-shadow: var(--shadow); }
.btn--accent { background: var(--sky); color: var(--white); }
.btn--accent:hover { background: var(--sky-600); color: var(--white); box-shadow: 0 8px 24px rgba(0, 167, 225, .35); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .75em;
    font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-600);
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: var(--sky); }
.eyebrow--light { color: #7fd6f3; }

.chip {
    display: inline-block; padding: .3em .75em; border-radius: 999px;
    background: var(--sky-50); color: var(--navy); font-size: .75rem; font-weight: 700; line-height: 1.3;
}
.chip--light { background: rgba(255, 255, 255, .16); color: var(--white); backdrop-filter: blur(4px); }

.lead { font-size: 1.125rem; color: var(--muted); }

.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.link-more i { transition: transform .2s var(--ease); }
.link-more:hover i { transform: translateX(4px); }
.link-more--light { color: var(--white); }
.link-more--light:hover { color: #7fd6f3; }

/* ---------- Cabeçalho ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0, 40, 85, .06); }

.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-header__logo img { height: 44px; width: auto; }
.site-header__toggle {
    display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm);
    background: var(--soft); color: var(--navy); font-size: 1.25rem;
}

.site-nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 2px; }
.site-nav__link {
    display: inline-flex; align-items: center; gap: .35em;
    padding: .55em .8em; border: 0; border-radius: 999px; background: none;
    color: var(--ink); font-size: .95rem; font-weight: 600;
}
.site-nav__link:hover, .site-nav__link.is-active { color: var(--navy); background: var(--sky-50); }
.site-nav__cta { background: var(--navy); color: var(--white); padding: .55em 1.1em; margin-left: 6px; }
.site-nav__cta:hover, .site-nav__cta.is-active { background: var(--sky); color: var(--white); }

.site-nav__item--sub { position: relative; }
.site-nav__item--sub .fa { transition: transform .2s var(--ease); }
.site-nav__sub {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-hover);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.site-nav__sub a {
    display: flex; justify-content: space-between; gap: 12px; padding: .55em .8em; border-radius: 8px;
    color: var(--ink); font-size: .93rem; font-weight: 500;
}
.site-nav__sub a:hover { background: var(--soft); color: var(--navy); }
.site-nav__count { color: var(--muted); font-size: .8rem; }

@media (hover: hover) and (min-width: 1081px) {
    .site-nav__item--sub:hover .site-nav__sub,
    .site-nav__item--sub:focus-within .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
    .site-nav__item--sub:hover .fa { transform: rotate(180deg); }
}
.site-nav__item--sub.is-open .site-nav__sub { opacity: 1; visibility: visible; transform: none; }

.site-search { position: relative; }
.site-search input {
    width: 170px; padding: .6em 2.5em .6em 1em; border: 1px solid var(--line); border-radius: 999px;
    background: var(--soft); font: inherit; font-size: .9rem; color: var(--ink);
    transition: width .25s var(--ease), border-color .2s, background .2s;
}
.site-search input:focus { width: 220px; outline: none; border-color: var(--sky); background: var(--white); }
.site-search button {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--navy);
}

@media (max-width: 1080px) {
    .site-header__toggle { display: inline-flex; align-items: center; justify-content: center; }
    /* absolute abaixo do cabeçalho: o backdrop-filter dele vira referência de position: fixed */
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 49;
        flex-direction: column; align-items: stretch; gap: 20px; margin: 0;
        padding: 20px var(--gutter) 40px; background: var(--white); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    .site-nav__link { width: 100%; justify-content: space-between; padding: .85em 1em; font-size: 1.05rem; border-radius: var(--radius-sm); }
    .site-nav__cta { justify-content: center; margin: 8px 0 0; }
    .site-nav__sub {
        position: static; display: none; min-width: 0; margin: 4px 0 8px; padding: 4px 0 4px 12px;
        border: 0; border-left: 2px solid var(--sky-50); border-radius: 0; box-shadow: none;
        opacity: 1; visibility: visible; transform: none;
    }
    .site-nav__item--sub.is-open .site-nav__sub { display: block; }
    .site-nav__item--sub.is-open .fa { transform: rotate(180deg); }
    .site-search input, .site-search input:focus { width: 100%; padding-top: .8em; padding-bottom: .8em; }
    body.menu-open { overflow: hidden; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--soft); }
.section--navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(0, 167, 225, .25), transparent 60%), var(--navy); color: #d7e3f1; }
.section--navy .section__title { color: var(--white); }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section__head--center { justify-content: center; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin: 0; }

.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .grid--3 { grid-template-columns: 1fr; }
    .section__head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Destaque (slides) ---------- */
.hero { position: relative; min-height: clamp(460px, 78vh, 720px); background: var(--navy); color: var(--white); overflow: hidden; }
.hero__slide {
    position: absolute; inset: 0; display: flex; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__slide--plain { background: radial-gradient(900px 500px at 80% 20%, rgba(0, 167, 225, .35), transparent 60%), var(--navy); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0, 26, 58, .88) 0%, rgba(0, 40, 85, .6) 45%, rgba(0, 40, 85, .1) 100%),
                linear-gradient(0deg, rgba(0, 26, 58, .55) 0%, transparent 40%);
}
.hero__content { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 96px; }
.hero__content > * { max-width: 640px; }
.hero__title { color: var(--white); font-size: clamp(2.1rem, 5.2vw, 3.75rem); line-height: 1.08; margin-bottom: .4em; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d7e3f1; margin-bottom: 1.75em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__nav { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.hero__arrow {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(0, 26, 58, .3); color: var(--white); transition: background .2s, border-color .2s;
}
.hero__arrow:hover { background: var(--sky); border-color: var(--sky); }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .3s var(--ease), background .3s; }
.hero__dot.is-active { width: 32px; background: var(--sky); }

@media (max-width: 640px) {
    .hero__slide::after { background: linear-gradient(0deg, rgba(0, 26, 58, .92) 0%, rgba(0, 40, 85, .55) 60%, rgba(0, 40, 85, .25) 100%); }
    .hero__slide { align-items: flex-end; }
    .hero__arrow { display: none; }
}

/* ---------- Quem somos ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; margin: 0; }
.about__media::before {
    content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
    border-radius: calc(var(--radius) + 8px); background: linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%); opacity: .9;
}
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow-hover); }
.about__text .btn { margin-top: .5em; }
.about--top { align-items: start; }
.about--top .about__media { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 860px) { .about--top .about__media { position: relative; top: 0; } }
@media (max-width: 860px) {
    .about { grid-template-columns: 1fr; }
    .about__media { order: -1; margin-right: 24px; }
}

/* ---------- Cards de notícia ---------- */
.card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, var(--sky-600) 100%); }
.card__media--empty img { width: auto; height: 44px; object-fit: contain; opacity: .9; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: .85rem; }
.card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: .5em; }
.card__title a { color: var(--navy); }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__title a:hover { color: var(--sky-600); }
.card__text { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Resultados ---------- */
.result { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--navy-900); }
.result img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s var(--ease), opacity .3s; }
.result::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 26, 58, .92) 0%, rgba(0, 26, 58, .1) 60%); }
.result:hover img { transform: scale(1.06); opacity: 1; }
.result__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px; }
.result__title { color: var(--white); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }

/* ---------- Atalhos ---------- */
.shortcut {
    display: flex; flex-direction: column; gap: 8px; padding: 32px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
    transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.shortcut:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-hover); color: var(--ink); }
.shortcut__icon {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px;
    border-radius: 14px; background: var(--sky-50); color: var(--sky-600); font-size: 1.4rem;
    transition: background .2s, color .2s;
}
.shortcut:hover .shortcut__icon { background: var(--navy); color: var(--white); }
.shortcut__title { color: var(--navy); font-size: 1.2rem; font-weight: 800; }
.shortcut__text { color: var(--muted); font-size: .95rem; }

/* ---------- Parceiros ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.brands li {
    display: grid; place-items: center; height: 104px; padding: 18px;
    background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.brands img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.brands li:hover img { filter: none; opacity: 1; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-900); color: #b6c5d8; font-size: .95rem; }
.site-footer a { color: #d7e3f1; }
.site-footer a:hover { color: var(--sky); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.site-footer__about img { height: 44px; width: auto; margin-bottom: 20px; }
.site-footer__title { color: var(--white); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 1.1em; }
.site-footer__links li + li { margin-top: .55em; }
.site-footer__contact li { display: flex; gap: 12px; }
.site-footer__contact li + li { margin-top: .9em; }
.site-footer__contact .fa { width: 16px; margin-top: .35em; color: var(--sky); text-align: center; }

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); color: var(--white); transition: background .2s;
}
.social a:hover { background: var(--sky); color: var(--white); }

.newsletter { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter input {
    flex: 1 1 180px; min-width: 0; padding: .8em 1em; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px;
    background: rgba(255, 255, 255, .06); color: var(--white); font: inherit; font-size: .95rem;
}
.newsletter input::placeholder { color: #8da2bc; }
.newsletter input:focus { outline: none; border-color: var(--sky); }
.newsletter__msg { flex-basis: 100%; margin: 4px 0 0; font-size: .875rem; color: #7fd6f3; min-height: 1.4em; }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

/* ==========================================================================
   Páginas internas
   ========================================================================== */

.container--narrow { max-width: 860px; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section__title--sm { font-size: 1.35rem; margin-bottom: 24px; }

.btn--outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--block { width: 100%; justify-content: center; }
.btn.is-loading { opacity: .65; pointer-events: none; }

/* Topo da página */
.page-head {
    padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
    background: radial-gradient(900px 400px at 90% -20%, rgba(0, 167, 225, .28), transparent 60%), var(--navy);
    color: #d7e3f1;
}
.page-head__title { color: var(--white); font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 0; max-width: 900px; }
.page-head__lead { margin: 14px 0 0; max-width: 720px; font-size: 1.1rem; color: #b6c8de; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; font-size: .875rem; color: #8fb0d3; }
.crumbs a { color: #d7e3f1; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs .fa { font-size: .75rem; opacity: .6; }

/* Texto vindo do editor do admin */
.prose { font-size: 1.075rem; line-height: 1.8; color: #2a3546; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--sky-600); text-decoration: underline; text-underline-offset: 3px; }
.prose img { height: auto !important; max-width: 100% !important; border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.5em; border-left: 4px solid var(--sky); background: var(--soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .6em .8em; border: 1px solid var(--line); text-align: left; }
.prose iframe { max-width: 100%; }
.prose--flush { margin-bottom: 1.5em; }
.prose--intro { max-width: 760px; margin-bottom: 40px; }

/* Estado vazio / 404 */
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; }
.empty-state--left { text-align: left; margin: 0; }
.empty-state__code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; margin: 0 0 .1em; background: linear-gradient(135deg, var(--sky), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Grades extras */
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .grid--4 { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* Conteúdo + barra lateral */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .layout-sidebar { grid-template-columns: 1fr; } }

.sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .sidebar { position: static; } }
.sidebar__box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sidebar__title { font-size: 1rem; margin-bottom: 14px; }
.sidebar__list li a { display: flex; justify-content: space-between; gap: 12px; padding: .5em .75em; margin: 0 -.75em; border-radius: 8px; color: var(--ink); font-size: .95rem; }
.sidebar__list li a:hover, .sidebar__list li a.is-active { background: var(--sky-50); color: var(--navy); }
.sidebar__list li a span { color: var(--muted); font-size: .85rem; }
.sidebar__list li.is-child a { padding-left: 1.75em; }
.site-search--full { padding: 0; border: 0; }
.site-search--full input, .site-search--full input:focus { width: 100%; padding: .85em 3em .85em 1.1em; }

.mini-posts { display: grid; gap: 14px; }
.mini-posts a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; color: var(--ink); }
.mini-posts__img { display: block; width: 72px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--line); }
.mini-posts__img img { width: 100%; height: 100%; object-fit: cover; }
.mini-posts__img--empty { background: linear-gradient(135deg, var(--navy), var(--sky-600)); }
.mini-posts__title { display: block; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.mini-posts a:hover .mini-posts__title { color: var(--sky-600); }
.mini-posts time { font-size: .8rem; color: var(--muted); }

/* Paginação (HTML do Pager do sistema) */
.paginator { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.paginator a, .paginator span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-weight: 600; font-size: .95rem; }
.paginator a:hover { border-color: var(--navy); }
.paginator .active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Artigo */
.article__head { padding: clamp(40px, 6vw, 72px) 0 32px; background: linear-gradient(180deg, var(--soft), var(--white)); }
.article__head .crumbs { color: var(--muted); }
.article__head .crumbs a { color: var(--sky-600); }
.article__title { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.12; margin-bottom: .4em; }
.article__lead { font-size: 1.2rem; color: var(--muted); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; color: var(--muted); font-size: .9rem; }
.article__meta .fa { color: var(--sky-600); margin-right: 4px; }
.article__media { margin: 8px 0 40px; border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow); }
.article__media img { width: 100%; }
.embed { position: relative; aspect-ratio: 16 / 9; background: var(--navy-900); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article .prose { padding-bottom: 8px; }

.share { display: flex; align-items: center; gap: 10px; padding: 24px 0 56px; margin-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .9rem; }
.share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--navy); }
.share a:hover { background: var(--navy); color: var(--white); }

/* Cards de foto (atletas, equipe, galerias) */
.result--portrait { aspect-ratio: 4 / 5; }
.result__empty { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, var(--sky-600) 100%); }
.result__empty img { width: auto; height: 40px; opacity: .9; }

/* Perfil (atleta e comissão técnica) */
.profile { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.profile__photo { margin: 0; border-radius: calc(var(--radius) + 4px); overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); box-shadow: var(--shadow-hover); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__photo--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--sky-600)); }
.profile__photo--empty img { width: auto; height: 48px; object-fit: contain; }
.profile .section__title { font-size: 1.5rem; margin-bottom: .6em; }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .profile__photo { max-width: 360px; } }

/* Quem somos */
.shortcut--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.shortcut--static .shortcut__text p:last-child { margin-bottom: 0; }
.tags-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tags-grid li { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--soft); font-weight: 600; color: var(--navy); }
.tags-grid .fa { color: var(--sky); }

/* Galeria de fotos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery__item { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.lightbox { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 24px; border: 0; background: rgba(0, 14, 32, .94); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 14, 32, .8); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(1200px, 90vw); max-height: 82vh; border-radius: var(--radius-sm); margin: 0 auto; }
.lightbox figcaption { margin-top: 12px; color: #b6c8de; font-size: .95rem; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 1.2rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--sky); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters__btn { padding: .55em 1.1em; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: .9rem; }
.filters__btn:hover { border-color: var(--navy); }
.filters__btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Calendário */
.month-title { font-size: 1.4rem; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.month-title:first-of-type { margin-top: 0; }
.month-title span { color: var(--muted); font-weight: 600; }
.events { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow .2s, border-color .2s; }
.event:hover { border-color: transparent; box-shadow: var(--shadow); }
.event__date { display: grid; place-items: center; height: 72px; border-radius: 14px; background: var(--navy); color: var(--white); line-height: 1; }
.event__day { font-size: 1.6rem; font-weight: 800; }
.event__week { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #7fd6f3; margin-top: -10px; }
.event__title { font-size: 1.1rem; margin: 0 0 4px; }
.event__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; color: var(--muted); font-size: .9rem; }
.event__meta .fa { color: var(--sky-600); margin-right: 4px; }
@media (max-width: 560px) { .event { grid-template-columns: 60px 1fr; } .event__date { height: 60px; } .event > .chip { grid-column: 2; justify-self: start; } }

/* Chamada (parceiros) */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta .lead { margin: 12px 0 0; }
.brands--large { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.brands--large li { height: 130px; }
.brands--large img { max-height: 80px; filter: none; opacity: 1; }

/* Contato e formulários */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__title { font-size: 1.5rem; margin-bottom: 24px; }
.info-list { display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky-50); color: var(--sky-600); font-size: 1.15rem; }
.info-list a { font-weight: 600; }

.panel { padding: clamp(24px, 4vw, 40px); border-radius: calc(var(--radius) + 4px); background: var(--white); box-shadow: var(--shadow-hover); }
.panel__title { font-size: 1.4rem; margin-bottom: 20px; }
.panel--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .panel--sticky { position: static; } }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field__label { font-size: .875rem; font-weight: 600; color: var(--navy); }
.field__label small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
    width: 100%; padding: .8em 1em; border: 1px solid #cfd8e3; border-radius: var(--radius-sm);
    background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(0, 167, 225, .15); }
.field input[type="file"] { padding: .6em; background: var(--soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }

.alert { margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.alert p { margin: 0; }
.alert--error { background: #fdecee; color: #8f1d2c; border: 1px solid #f6c9cf; }
.alert--success { background: #e7f7f1; color: #0e5e43; border: 1px solid #bfe8d8; }

.form-done { text-align: center; padding: 16px 0; }
.form-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: #e7f7f1; color: #0e9f6e; font-size: 1.6rem; }
.form-done h2 { font-size: 1.5rem; }

/* Evento / inscrição */
.layout-event { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .layout-event { grid-template-columns: 1fr; } }
.lote { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--sky-50); color: var(--navy); }
.lote__label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-600); }
.lote__price { font-size: 1.4rem; font-weight: 800; }
.lgpd { max-height: 160px; overflow-y: auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--soft); font-size: .85rem; color: var(--muted); }
.lgpd p:last-child { margin-bottom: 0; }

/* Resultado (ficha) */
.facts { display: grid; gap: 4px; margin: 0; }
.facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-600); margin-top: 12px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0; font-weight: 600; color: var(--navy); }

/* Planos */
.plan { gap: 16px; }
.plan__price { margin: 0; font-size: 2rem; font-weight: 800; color: var(--navy); }
.plan__list { display: grid; gap: 8px; flex: 1; color: var(--muted); }
.plan__list .fa { color: var(--sky); margin-right: 6px; }
.plan .btn { align-self: flex-start; }

/* Transparência */
.project { padding: clamp(24px, 4vw, 40px); margin-bottom: 32px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--white); box-shadow: var(--shadow); }
.project__head { margin-bottom: 24px; }
.project__title { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: .4em; }
.project__object { margin: 0; font-size: 1.1rem; color: var(--ink); }
.project__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px; margin: 0 0 24px; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.project__facts > div { padding: 14px 16px; background: var(--soft); }
.project__facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.project__facts dd { margin: 4px 0 0; font-weight: 700; color: var(--navy); }
.project__text { color: var(--muted); }
.project__subtitle { font-size: 1.05rem; margin: 8px 0 12px; }
.docs { display: grid; gap: 8px; }
.docs a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); font-weight: 600; transition: border-color .2s, background .2s; }
.docs a:hover { border-color: var(--sky); background: var(--sky-50); }
.docs .fa { font-size: 1.4rem; color: #d64545; }
.docs span { flex: 1; }
.docs small { color: var(--muted); font-weight: 600; font-size: .75rem; letter-spacing: .06em; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
