/* ==========================================================================
   NÚCLEO DE TAEKWONDO · CTE/EEFFTO/UFMG · LANDING PAGE
   Baseado no Design System DS1
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    --primary:          hsl(354, 82%, 40%);       /* Vermelho vivo da logo ~ #B91C2A */
    --primary-hover:    hsl(354, 82%, 32%);
    --primary-deep:     hsl(358, 96%, 24%);       /* Vermelho institucional escuro */
    --primary-rgb:      185, 28, 42;
    --accent:           hsl(356, 90%, 50%);
    --secondary:        hsl(220, 4%, 30%);        /* Cinza logo ~ #4A4C50 */

    --bg:               hsl(84, 5%, 97%);
    --surface:          hsl(0, 0%, 100%);
    --surface-muted:    hsl(84, 5%, 93%);
    --ink:              hsl(220, 12%, 11%);
    --ink-muted:        hsl(220, 6%, 42%);
    --border:           hsl(220, 8%, 88%);

    --dark-bg:          hsl(220, 15%, 8%);
    --dark-surface:     hsl(220, 12%, 13%);
    --dark-ink:         hsl(220, 5%, 96%);
    --dark-muted:       hsl(220, 4%, 62%);
    --dark-border:      hsl(220, 8%, 22%);

    --font-head: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 2px rgba(20,20,20,.06);
    --shadow-md: 0 8px 24px -6px rgba(20,20,20,.12);
    --shadow-lg: 0 24px 56px -12px rgba(20,20,20,.22);
    --shadow-glow: 0 0 40px rgba(var(--primary-rgb), .35);

    --ease: cubic-bezier(.22,.61,.36,1);
    --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.028em;
    color: var(--ink);
}

::selection { background: var(--primary); color: white; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2rem);
}

.skip-link {
    position: absolute;
    top: -100px; left: 1rem;
    background: var(--primary); color: white;
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 2000;
    font-weight: 600;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Navbar ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 100;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.78);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow-sm);
}
.nav__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-family: var(--font-head);
}
.brand__logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.brand__text {
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.brand__text small {
    font-family: var(--font-body);
    font-size: .68rem;
    color: var(--ink-muted);
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav__links {
    display: flex;
    gap: .15rem;
    list-style: none;
}
.nav__link {
    padding: .55rem .9rem;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-muted);
    border-radius: var(--radius-sm);
    transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__link:hover { color: var(--ink); background: var(--surface-muted); }

.nav__cta { display: flex; align-items: center; gap: .5rem; }

.nav__login {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.nav__login:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), .06);
    transform: translateY(-1px);
}
.nav__login svg { color: var(--primary); }

@media (max-width: 900px) {
    .nav__login span { display: none; }
    .nav__login { padding: .55rem .7rem; }
}
@media (max-width: 720px) {
    .nav__login { display: none; }
}

.nav__toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: 10px;
    align-items: center; justify-content: center;
}
.nav__toggle:hover { background: var(--surface-muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.4rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: -0.005em;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
    white-space: nowrap;
}
.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-glow), var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: white; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline-light { background: transparent; color: white; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: white; background: rgba(255,255,255,.08); }
.btn--dark { background: var(--dark-bg); color: white; }
.btn--dark:hover { background: black; transform: translateY(-2px); }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }

/* ---------- Section base ---------- */
.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    position: relative;
}
.section__label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}
.section__label::before {
    content: "";
    width: 28px; height: 2px;
    background: var(--primary);
}
.section__title {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    max-width: 22ch;
}
.section__lead {
    color: var(--ink-muted);
    font-size: 1.075rem;
    max-width: 62ch;
    margin-top: 1.1rem;
}
.section__head--center {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 3.5rem;
}
.section__head--center .section__label { justify-content: center; }
.section__head--center .section__title { margin: 0 auto; }
.section__head--center .section__lead { margin: 1rem auto 0; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem));
    padding-bottom: clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 90% 0%, rgba(var(--primary-rgb), .10), transparent 60%),
        radial-gradient(50% 40% at 0% 100%, rgba(var(--primary-rgb), .06), transparent 60%);
    z-index: -1;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.hero__eyebrow .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: hsl(142, 76%, 40%);
    box-shadow: 0 0 0 4px rgba(16,185,129,.2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
.hero__title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: .98;
    letter-spacing: -0.038em;
    font-weight: 800;
}
.hero__title .accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}
.hero__title .accent::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -.04em;
    height: .18em;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    opacity: .18;
}
.hero__sub {
    margin-top: 1.4rem;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--ink-muted);
    max-width: 54ch;
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.hero__meta {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.hero__meta-item strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero__meta-item span {
    font-size: .82rem;
    color: var(--ink-muted);
    margin-top: 2px;
    display: block;
}
.hero__meta-sep {
    width: 1px; height: 32px;
    background: var(--border);
}

/* Hero visual */
.hero__visual {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 560px;
    justify-self: end;
    width: 100%;
}
.hero__photo {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-1.5deg);
}
.hero__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(1.05);
}
.hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 0%, transparent 45%, rgba(var(--primary-rgb), .18) 100%);
}

.hero__badge {
    position: absolute;
    background: white;
    color: var(--ink);
    padding: .9rem 1.15rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: .8rem;
    z-index: 2;
}
.hero__badge--tl {
    top: -18px; left: -22px;
    transform: rotate(-2deg);
}
.hero__badge--br {
    bottom: 20px; right: -24px;
    transform: rotate(2deg);
}
.hero__badge-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.hero__badge-text { font-size: .8rem; line-height: 1.25; }
.hero__badge-text strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.hero__badge-text span { color: var(--ink-muted); }

.hero__stripe {
    position: absolute;
    top: 25%; right: -12%;
    width: 60%;
    height: 8px;
    background: var(--primary);
    transform: rotate(30deg);
    border-radius: 4px;
    opacity: .1;
    z-index: -1;
}

/* ==========================================================================
   PARTNERS (logo strip)
   ========================================================================== */
.partners {
    padding: 4rem 0;
    background: var(--surface-muted);
}
.partners__inner {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    flex-wrap: wrap;
    justify-content: center;
}
.partners__group {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3.5vw, 2.75rem);
    flex-wrap: wrap;
    justify-content: center;
}
.partners__divider {
    width: 1px;
    height: 72px;
    background: var(--border);
    flex-shrink: 0;
}
.partners__label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-muted);
    white-space: nowrap;
}
.partners__logos {
    display: flex;
    align-items: center;
    gap: clamp(1.75rem, 3.5vw, 3rem);
    flex-wrap: wrap;
    justify-content: center;
}
/* Institucionais (UFMG, EEFFTO, CTE) — coloridas e com bom porte */
.partners__logos img {
    height: 72px;
    width: auto;
    opacity: 1;
    filter: none;
    transition: transform .25s var(--ease);
}
.partners__logos img:hover {
    transform: scale(1.06);
}
/* Apoiadores (CEMIG, Itaú, Min. Esporte, LIE) — normalizados em "caixa"
   com object-fit para que logos de proporções diferentes tenham o mesmo peso visual. */
.partners__logos--color img {
    height: auto;
    max-height: 90px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    filter: none;
    padding: 0;
}
.partners__logos--color img:hover {
    transform: scale(1.06);
}

.partners__group--support {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    position: relative;
}
.partners__group--support .partners__label {
    color: var(--primary);
}

@media (max-width: 720px) {
    .partners { padding: 2.5rem 0; }
    .partners__divider { display: none; }
    .partners__logos img { height: 56px; }
    .partners__logos--color img { max-height: 64px; max-width: 130px; }
}

/* ==========================================================================
   MISSION (Tripé)
   ========================================================================== */
.mission {
    background: var(--surface);
}
.mission__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}
.pillar-card {
    position: relative;
    padding: 2.2rem 1.8rem 2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card__num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--border);
    line-height: 1;
    margin-bottom: 1.4rem;
    transition: -webkit-text-stroke-color .3s var(--ease);
}
.pillar-card:hover .pillar-card__num { -webkit-text-stroke-color: var(--primary); }
.pillar-card__icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    border-radius: 10px;
    margin-bottom: 1rem;
}
.pillar-card h3 {
    font-size: 1.4rem;
    margin-bottom: .8rem;
}
.pillar-card p {
    color: var(--ink-muted);
    font-size: .94rem;
    line-height: 1.6;
}
.pillar-card ul {
    list-style: none;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.pillar-card ul li {
    font-size: .85rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.pillar-card ul li::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* ==========================================================================
   ATHLETES (destaques) — carousel
   ========================================================================== */
.athletes__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
    margin-bottom: 3rem;
}
.athletes__nav {
    display: flex;
    gap: .5rem;
}
.athletes__nav button {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    display: grid; place-items: center;
    transition: all .2s var(--ease);
}
.athletes__nav button:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.athletes__nav button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.athletes__viewport {
    position: relative;
    margin: 0 calc(-1 * clamp(1.25rem, 3vw, 2rem));
    padding: 4px 0 24px;
}
.athletes__viewport::before,
.athletes__viewport::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: clamp(1.25rem, 3vw, 2rem);
    z-index: 2;
    pointer-events: none;
}
.athletes__viewport::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent);
}
.athletes__viewport::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg), transparent);
}

.athletes__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, calc((100% - 4rem) / 4));
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px clamp(1.25rem, 3vw, 2rem) 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.athletes__track::-webkit-scrollbar { display: none; }

.athlete {
    position: relative;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
    display: flex;
    flex-direction: column;
    text-align: left;
    color: inherit;
    width: 100%;
}
.athlete:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.athlete__photo {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    isolation: isolate;
}
.athlete__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.athlete:hover .athlete__photo img { transform: scale(1.05); }
.athlete__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.45) 85%, rgba(0,0,0,.7) 100%);
    z-index: 1;
}
.athlete__initials {
    position: absolute;
    inset: 0;
    display: grid; place-items: center;
    color: white;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: -0.05em;
    text-shadow: 0 4px 20px rgba(0,0,0,.3);
    z-index: 0;
}
.athlete__badge {
    position: absolute;
    top: 1rem; left: 1rem;
    padding: .3rem .65rem;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    color: white;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    z-index: 2;
}
.athlete__badge--red {
    background: var(--primary);
    border-color: var(--primary);
}
.athlete__overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.25rem;
    color: white;
    z-index: 2;
}
.athlete__name {
    font-size: 1.35rem;
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: .3rem;
    color: white;
}
.athlete__cat {
    font-size: .78rem;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.athlete__body {
    padding: 1.25rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.athlete__achievement {
    font-size: .88rem;
    color: var(--ink);
    line-height: 1.5;
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    flex: 1;
}
.athlete__achievement svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}
.athlete__cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
}
.athlete__cta svg { transition: transform .2s var(--ease); }
.athlete:hover .athlete__cta svg { transform: translateX(4px); }

/* ==========================================================================
   MODAL (Athlete details)
   ========================================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(15, 15, 18, .7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease);
}
.modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.modal__card {
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    transform: scale(.96) translateY(20px);
    transition: transform .3s var(--ease);
}
.modal.is-open .modal__card {
    transform: scale(1) translateY(0);
}
.modal__photo {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    min-height: 320px;
    overflow: hidden;
}
.modal__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.modal__photo-initials {
    position: absolute;
    inset: 0;
    display: grid; place-items: center;
    color: white;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 5.5rem;
    letter-spacing: -0.06em;
    text-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.modal__body {
    padding: 2rem 2rem 2rem;
    overflow-y: auto;
    position: relative;
}
.modal__close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface-muted);
    color: var(--ink);
    display: grid; place-items: center;
    transition: background .18s var(--ease), transform .18s var(--ease);
    z-index: 3;
}
.modal__close:hover { background: var(--border); transform: rotate(90deg); }
.modal__cat {
    display: inline-block;
    padding: .3rem .75rem;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.modal__name {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1rem;
}
.modal__bio {
    color: var(--ink-muted);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}
.modal__section-title {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .8rem;
}
.modal__achievements {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.modal__achievements li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    font-size: .92rem;
    color: var(--ink);
    line-height: 1.5;
}
.modal__achievements li::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 9px;
}

body.no-scroll { overflow: hidden; }

/* ==========================================================================
   SUPPORTERS (hero strip)
   ========================================================================== */
.hero__supporters {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.1rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    position: relative;
}
.hero__supporters::before {
    content: "";
    position: absolute;
    left: 0; top: 20%;
    width: 3px; height: 60%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 3px;
}
.hero__supporters-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: .5rem;
    line-height: 1.2;
}
.hero__supporters-label small {
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: none;
    color: var(--ink-muted);
    display: block;
    margin-top: 3px;
}
.hero__supporters-label svg { color: var(--primary); flex-shrink: 0; }
.hero__supporters-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.hero__supporters-list img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform .2s var(--ease);
}
.hero__supporters-list img:hover {
    transform: scale(1.06);
}
.hero__supporters-list__sep {
    width: 1px; height: 34px;
    background: var(--border);
    flex-shrink: 0;
}

/* ==========================================================================
   STATS (dark)
   ========================================================================== */
.stats {
    background: var(--dark-bg);
    color: var(--dark-ink);
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 85% 15%, rgba(var(--primary-rgb),.22), transparent 60%),
        radial-gradient(50% 50% at 10% 90%, rgba(var(--primary-rgb),.10), transparent 60%);
    pointer-events: none;
}
.stats > .container { position: relative; z-index: 1; }
.stats__head { text-align: center; max-width: 42ch; margin: 0 auto 3rem; }
.stats__head h2 { color: white; font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.stats__head .section__label { color: var(--accent); }
.stats__head .section__label::before { background: var(--accent); }
.stats__head p { color: var(--dark-muted); margin-top: 1rem; font-size: 1.05rem; }

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.stat {
    padding: 2rem 1.25rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.025);
    text-align: center;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.stat:hover {
    background: rgba(var(--primary-rgb), .1);
    border-color: rgba(var(--primary-rgb), .38);
    transform: translateY(-4px);
}
.stat__num {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(2.6rem, 4.5vw, 3.6rem);
    letter-spacing: -0.04em;
    line-height: 1;
    color: white;
    display: block;
}
.stat__num sup {
    color: var(--accent);
    font-size: .5em;
    margin-left: 2px;
    top: -.6em;
}
.stat__label {
    display: block;
    margin-top: .75rem;
    font-size: .85rem;
    color: var(--dark-muted);
}

/* ==========================================================================
   GALERIA (mosaico bento — bastidores do projeto)
   ========================================================================== */
.gallery {
    background:
        radial-gradient(60% 40% at 100% 0%, rgba(var(--primary-rgb), .05), transparent 60%),
        radial-gradient(50% 40% at 0% 100%, rgba(var(--primary-rgb), .04), transparent 60%),
        var(--surface);
    position: relative;
}
.gallery::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.gallery__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 1rem;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: var(--radius-md);
    background: var(--surface-muted);
    box-shadow: var(--shadow-md);
    isolation: isolate;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 0, 0, .04);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
}
.gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 0 3px rgba(var(--primary-rgb), .12);
}
.gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .6, .2, 1), filter .35s var(--ease);
}
.gallery__item:hover img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.gallery__item--big  { grid-column: span 2; grid-row: span 2; }
.gallery__item--tall { grid-column: span 1; grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; grid-row: span 1; }

.gallery__caption {
    position: absolute;
    inset: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 40%,
        rgba(20, 2, 5, .78) 100%);
    color: white;
    pointer-events: none;
    z-index: 2;
}

.gallery__tag {
    padding: .35rem .7rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--primary);
    color: white;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), .45);
    transform: translateY(-2px);
    opacity: 0;
    transition: opacity .3s var(--ease) .05s, transform .3s var(--ease) .05s;
}
.gallery__item:hover .gallery__tag,
.gallery__item:focus-within .gallery__tag {
    opacity: 1;
    transform: translateY(0);
}

.gallery__label {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    max-width: 92%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
    transform: translateY(8px);
    opacity: 0;
    transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.gallery__item:hover .gallery__label,
.gallery__item:focus-within .gallery__label {
    transform: translateY(0);
    opacity: 1;
}

/* Foto grande sempre com legenda visível — ancora a narrativa */
.gallery__item--big .gallery__tag,
.gallery__item--big .gallery__label {
    opacity: 1;
    transform: translateY(0);
}
.gallery__item--big .gallery__caption {
    background: linear-gradient(180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 35%,
        rgba(20, 2, 5, .82) 100%);
}

/* Tablet — layout mais compacto */
@media (max-width: 960px) {
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 210px;
        gap: .85rem;
    }
    .gallery__item--big  { grid-column: span 2; grid-row: span 2; }
    .gallery__item--tall { grid-column: span 1; grid-row: span 2; }
    .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
}

/* Mobile — coluna única, tudo aparece sem hover */
@media (max-width: 560px) {
    .gallery__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .gallery__item--big,
    .gallery__item--tall,
    .gallery__item--wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    .gallery__item--big { grid-row: span 2; }
    .gallery__tag,
    .gallery__label {
        opacity: 1;
        transform: none;
    }
}

/* CTA abaixo do mosaico — leva à galeria completa */
.gallery__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
    margin-top: 3rem;
}
.gallery__cta-btn {
    padding: 1rem 2rem;
}
.gallery__cta-hint {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--ink-muted);
}
.gallery__cta-hint svg { color: var(--primary); }

/* ==========================================================================
   GALERIA — página dedicada (galeria.html)
   ========================================================================== */

/* Hero da página (compartilha DNA com o hero da landing mas mais compacto) */
.page-hero {
    padding: calc(var(--nav-h) + 3rem) 0 3rem;
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(var(--primary-rgb), .09), transparent 60%),
        radial-gradient(50% 40% at 0% 100%, rgba(var(--primary-rgb), .06), transparent 60%),
        var(--bg);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.page-hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 60%;
    height: 100%;
    background:
        linear-gradient(115deg, transparent 55%, rgba(var(--primary-rgb), .04) 100%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

.page-hero__back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .8rem .45rem .55rem;
    margin-bottom: 1.5rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.page-hero__back:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(-2px);
}

.page-hero__title {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 1.1rem;
    max-width: 20ch;
}
.page-hero__title .accent {
    color: var(--primary);
    font-style: italic;
}
.page-hero__sub {
    max-width: 60ch;
    color: var(--ink-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 2rem;
}

.page-hero__stats {
    display: inline-flex;
    align-items: center;
    gap: 1.75rem;
    padding: 1rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.page-hero__stat { display: flex; flex-direction: column; }
.page-hero__stat strong {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    color: var(--ink);
    line-height: 1;
}
.page-hero__stat span {
    font-size: .78rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .3rem;
}
.page-hero__stat-sep {
    width: 1px; height: 32px;
    background: var(--border);
}

/* Seção principal da galeria */
.gp-section { padding-top: 2rem; }

/* Filtros — chips fixos no topo com sombra ao rolar */
.gp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 3rem;
    position: sticky;
    top: calc(var(--nav-h) + 12px);
    z-index: 20;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}
.gp-filter {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: all .18s var(--ease);
}
.gp-filter:hover {
    color: var(--ink);
    border-color: var(--ink-muted);
}
.gp-filter.is-active {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), .35);
}
.gp-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 0 .5rem;
    height: 22px;
    font-size: .72rem;
    font-weight: 700;
    background: var(--surface-muted);
    color: var(--ink-muted);
    border-radius: 999px;
    transition: background .18s var(--ease), color .18s var(--ease);
}
.gp-filter.is-active .gp-filter__count {
    background: rgba(255,255,255,.22);
    color: white;
}

/* Bloco de um evento */
.gp-event {
    margin-bottom: 4.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.gp-event:last-child { border-bottom: none; }

.gp-event__head {
    margin-bottom: 1.75rem;
    max-width: 800px;
}
.gp-event__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .85rem;
}
.gp-event__tag {
    display: inline-flex;
    align-items: center;
    padding: .3rem .7rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    border-radius: 999px;
}
.gp-event__title {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 .75rem;
}
.gp-event__submeta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
    font-size: .85rem;
    color: var(--ink-muted);
}
.gp-event__submeta span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.gp-event__submeta svg { color: var(--primary); flex-shrink: 0; }
.gp-event__summary {
    font-size: .98rem;
    line-height: 1.55;
    color: var(--ink-muted);
    margin: 0;
    max-width: 65ch;
}

/* Grid do evento — mosaico responsivo */
.gp-event__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-auto-rows: 260px;
    gap: 1rem;
}

.gp-photo {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
    background: var(--surface-muted);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    isolation: isolate;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gp-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0,0,0,.04);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
}
.gp-photo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 0 3px rgba(var(--primary-rgb), .15);
}
.gp-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
.gp-photo:hover img { transform: scale(1.06); }

.gp-photo--portrait { grid-row: span 2; }

.gp-photo__zoom {
    position: absolute;
    top: 12px; right: 12px;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 2, 5, .7);
    color: white;
    border-radius: 999px;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    z-index: 2;
    backdrop-filter: blur(6px);
}
.gp-photo:hover .gp-photo__zoom,
.gp-photo:focus-visible .gp-photo__zoom {
    opacity: 1;
    transform: scale(1);
}
.gp-photo:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Estado vazio */
.gp-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--ink-muted);
}
.gp-empty svg { color: var(--border); margin-bottom: 1rem; }
.gp-empty h3 { font-size: 1.2rem; color: var(--ink); margin: 0 0 .5rem; }
.gp-empty p { margin: 0; font-size: .95rem; }

/* Responsivo */
@media (max-width: 720px) {
    .page-hero { padding: calc(var(--nav-h) + 2rem) 0 2rem; }
    .page-hero__stats {
        gap: 1.25rem;
        padding: .85rem 1.15rem;
    }
    .page-hero__stat strong { font-size: 1.35rem; }
    .gp-filters {
        padding: .75rem;
        gap: .4rem;
        margin-bottom: 2rem;
    }
    .gp-filter {
        padding: .45rem .75rem;
        font-size: .78rem;
    }
    .gp-event { margin-bottom: 3rem; padding-bottom: 2rem; }
    .gp-event__grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-auto-rows: 200px;
        gap: .5rem;
    }
}

/* ==========================================================================
   LIGHTBOX — visualizador de foto em tela cheia
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 2, 4, .92);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.is-open {
    display: flex;
    animation: lbFade .25s var(--ease);
}
@keyframes lbFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox__figure {
    position: relative;
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    animation: lbZoom .3s var(--ease);
}
@keyframes lbZoom {
    from { transform: scale(.96); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.lightbox__figure img {
    display: block;
    max-width: 100%;
    max-height: 76vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    background: #000;
}

.lightbox__cap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 1.25rem .25rem 0;
    color: white;
}
.lightbox__cap-main { flex: 1; }
.lightbox__event {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: hsl(45, 100%, 65%);
    margin-bottom: .35rem;
}
.lightbox__caption-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 80ch;
    color: rgba(255,255,255,.92);
}
.lightbox__cap-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .35rem;
    flex-shrink: 0;
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    white-space: nowrap;
}
.lightbox__pos {
    font-weight: 700;
    color: white;
    font-variant-numeric: tabular-nums;
}

/* Botões do lightbox */
.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255,255,255,.08);
    color: white;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
    z-index: 1001;
}
.lightbox__close:hover,
.lightbox__nav:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.28);
    transform: scale(1.05);
}
.lightbox__nav:disabled {
    opacity: .3;
    cursor: not-allowed;
    transform: none;
}
.lightbox__nav:disabled:hover {
    background: rgba(255,255,255,.08);
    transform: none;
}

.lightbox__close {
    top: 24px;
    right: 24px;
    width: 44px; height: 44px;
}
.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
}
.lightbox__nav:hover:not(:disabled) { transform: translateY(-50%) scale(1.05); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

@media (max-width: 720px) {
    .lightbox { padding: 1rem; }
    .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .lightbox__nav { width: 44px; height: 44px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__figure img { max-height: 68vh; }
    .lightbox__cap {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }
    .lightbox__cap-meta { flex-direction: row; align-items: center; gap: .75rem; }
}

.no-scroll { overflow: hidden; }

/* ==========================================================================
   CONTACT MODAL — formulário "Falar com a coordenação"
   ========================================================================== */
.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 2, 4, .55);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1.25rem;
    overflow-y: auto;
}
.contact-modal.is-open {
    display: flex;
    animation: cmFade .2s var(--ease);
}
@keyframes cmFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.contact-modal__card {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin: auto 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    padding: 2.25rem;
    animation: cmSlide .3s var(--ease);
}
@keyframes cmSlide {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.contact-modal__close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-muted);
    color: var(--ink-muted);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.contact-modal__close:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), .1);
    transform: rotate(90deg);
}

.contact-modal__head { margin-bottom: 1.75rem; padding-right: 3rem; }
.contact-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .75rem;
}
.contact-modal__eyebrow svg { color: var(--primary); }
.contact-modal__title {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 .5rem;
}
.contact-modal__sub {
    color: var(--ink-muted);
    font-size: .95rem;
    line-height: 1.55;
    margin: 0;
}

/* Formulário */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form__hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 560px) {
    .contact-form__row { grid-template-columns: 1fr; }
}
.contact-form__field { display: flex; flex-direction: column; }
.contact-form__field label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .35rem;
}
.contact-form__field label span[aria-hidden] { color: var(--primary); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    font-family: inherit;
    font-size: .95rem;
    color: var(--ink);
    padding: .7rem .85rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
    width: 100%;
}
.contact-form textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .15);
}
.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-muted); opacity: .7; }

/* Select customizado — remove appearance nativa e adiciona caret */
.contact-form__select {
    position: relative;
    display: block;
}
.contact-form__select select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
    background-image: none;
}
.contact-form__select-caret {
    position: absolute;
    right: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-muted);
    pointer-events: none;
}
.contact-form__select select:focus + .contact-form__select-caret { color: var(--primary); }

.contact-form__error {
    display: block;
    min-height: 1em;
    margin-top: .3rem;
    font-size: .8rem;
    color: var(--primary);
    line-height: 1.3;
}
.contact-form__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .75rem;
}
.contact-form__count {
    font-size: .75rem;
    color: var(--ink-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    margin-top: .3rem;
}

.contact-form__notice {
    padding: .75rem 1rem;
    font-size: .88rem;
    line-height: 1.4;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}
.contact-form__notice--error {
    background: rgba(var(--primary-rgb), .08);
    color: var(--primary-deep);
    border-color: rgba(var(--primary-rgb), .25);
}
.contact-form__notice--info {
    background: var(--surface-muted);
    color: var(--ink);
    border-color: var(--border);
}

.contact-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: .5rem;
}
.contact-form__actions .btn { padding: .8rem 1.5rem; }

/* Submit — botão com dois ícones (avião + spinner) que trocam por estado */
#cf-submit { position: relative; }
#cf-submit .cf-submit__spinner {
    display: none;
    animation: cfSpin .9s linear infinite;
}
#cf-submit.is-loading .cf-submit__label,
#cf-submit.is-loading .cf-submit__icon { display: none; }
#cf-submit.is-loading .cf-submit__spinner { display: inline-block; }
#cf-submit.is-loading::before {
    content: "Enviando…";
    margin-right: .5rem;
}
@keyframes cfSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.contact-form__legal {
    margin: .75rem 0 0;
    font-size: .75rem;
    color: var(--ink-muted);
    line-height: 1.5;
    text-align: center;
}

/* Estado de sucesso */
.contact-modal__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}
.contact-modal__success-icon {
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    border-radius: 999px;
    margin-bottom: 1rem;
    animation: cfPop .35s cubic-bezier(.2, 1.5, .5, 1);
}
@keyframes cfPop {
    from { transform: scale(.3); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.contact-modal__success h3 {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    margin: 0 0 .5rem;
    color: var(--ink);
}
.contact-modal__success p {
    color: var(--ink-muted);
    margin: 0 0 1.5rem;
    max-width: 42ch;
    line-height: 1.5;
}

@media (max-width: 560px) {
    .contact-modal { padding: 1rem .75rem; }
    .contact-modal__card { padding: 1.5rem 1.25rem; }
    .contact-form__actions { flex-direction: column-reverse; }
    .contact-form__actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   TEAMS (equipes com fotos reais)
   ========================================================================== */
.teams__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.team-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    color: white;
    background: var(--dark-bg);
}
.team-card__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.team-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.85) 100%);
    transition: opacity .3s var(--ease);
}
.team-card:hover .team-card__img img { transform: scale(1.06); }
.team-card__tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .7rem;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: white;
    width: fit-content;
    margin-bottom: 1rem;
}
.team-card__tag--red {
    background: var(--primary);
    border-color: var(--primary);
}
.team-card h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: .5rem;
}
.team-card p {
    color: rgba(255,255,255,.85);
    font-size: .93rem;
    line-height: 1.55;
    margin-bottom: 1.3rem;
    max-width: 32ch;
}
.team-card__meta {
    display: flex;
    gap: 1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,.15);
    font-size: .8rem;
    color: rgba(255,255,255,.9);
}
.team-card__meta span { display: flex; align-items: center; gap: .35rem; }

/* ==========================================================================
   CLASSES (turmas ativas — consumidas do sistema)
   ========================================================================== */
.classes__filters {
    display: flex;
    gap: .5rem;
    margin: 0 auto 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.classes__filter {
    padding: .55rem 1.05rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--ink-muted);
    font-size: .85rem;
    font-weight: 600;
    transition: all .2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.classes__filter:hover { border-color: var(--ink); color: var(--ink); }
.classes__filter.is-active {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.classes__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px; height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--ink-muted);
    font-size: .72rem;
    font-weight: 700;
}
.classes__filter.is-active .classes__filter-count {
    background: rgba(255,255,255,.18);
    color: white;
}

.classes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    min-height: 200px;
}

.class-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.class-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.class-card.is-hidden { display: none; }

.class-card__header {
    padding: 1.5rem 1.5rem 1.25rem;
    border-bottom: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    gap: .55rem;
    background:
        linear-gradient(135deg, rgba(var(--class-color-rgb, var(--primary-rgb)), .06), transparent 60%);
    position: relative;
}
.class-card__header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 4px;
    background: rgb(var(--class-color-rgb, var(--primary-rgb)));
}
.class-card__level {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .6rem;
    border-radius: 999px;
    background: rgb(var(--class-color-rgb, var(--primary-rgb)));
    color: white;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    width: fit-content;
}
.class-card__level--none {
    background: var(--surface-muted);
    color: var(--ink-muted);
}
.class-card__name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--ink);
}
.class-card__age {
    font-size: .88rem;
    color: var(--ink-muted);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.class-card__age svg { color: var(--primary); flex-shrink: 0; }
.class-card__age strong { color: var(--ink); font-weight: 600; }

.class-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}
.class-card__meta {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    font-size: .88rem;
}
.class-card__meta-item {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: var(--ink-muted);
    line-height: 1.4;
}
.class-card__meta-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.class-card__meta-item strong {
    color: var(--ink);
    font-weight: 600;
}

.class-card__schedule-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: .25rem;
}
.class-card__slots {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    list-style: none;
}
.class-card__slot {
    padding: .35rem .6rem;
    border-radius: 8px;
    background: rgba(var(--class-color-rgb, var(--primary-rgb)), .08);
    color: rgb(var(--class-color-rgb, var(--primary-rgb)));
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.2;
    display: inline-flex;
    align-items: baseline;
    gap: .3rem;
}
.class-card__slot-day {
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: -0.01em;
}
.class-card__slot-time {
    font-variant-numeric: tabular-nums;
}
.class-card__empty-slots {
    font-size: .82rem;
    color: var(--ink-muted);
    font-style: italic;
}

.classes__empty,
.classes__error {
    grid-column: 1 / -1;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--ink-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.classes__error strong { color: var(--ink); font-family: var(--font-head); }
.classes__error small { max-width: 40ch; font-size: .82rem; }

@media (max-width: 600px) {
    .classes__grid { grid-template-columns: 1fr; }
    .classes__filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .5rem; margin-left: calc(-1 * clamp(1.25rem, 3vw, 2rem)); margin-right: calc(-1 * clamp(1.25rem, 3vw, 2rem)); padding-left: clamp(1.25rem, 3vw, 2rem); padding-right: clamp(1.25rem, 3vw, 2rem); }
    .classes__filter { flex-shrink: 0; }
}

/* ==========================================================================
   AGENDA (calendário público, consumido do sistema)
   ========================================================================== */
.agenda__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.agenda__toolbar {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.agenda__nav-btn,
.agenda__today-btn {
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    font-weight: 600;
    font-size: .88rem;
    transition: all .2s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.agenda__nav-btn { width: 44px; }
.agenda__today-btn { padding: 0 1rem; }
.agenda__nav-btn:hover,
.agenda__today-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.agenda__nav-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.agenda__month-label {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--ink);
    min-width: 14ch;
    text-align: center;
    padding: 0 .5rem;
}

.agenda__wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.agenda__calendar {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 320px;
}
.agenda__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.agenda__weekdays span {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-align: center;
    padding: .35rem 0;
}
.agenda__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.agenda__cell {
    min-height: 110px;
    padding: .55rem .5rem .6rem;
    background: var(--bg);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    position: relative;
    transition: background .18s var(--ease);
}
.agenda__cell.is-out-month { opacity: .35; }
.agenda__cell.is-today {
    background: linear-gradient(135deg, rgba(var(--primary-rgb),.10), rgba(var(--primary-rgb),.03));
    outline: 1.5px solid var(--primary);
    outline-offset: -1px;
}
.agenda__cell-day {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .95rem;
    color: var(--ink);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    letter-spacing: -0.02em;
}
.agenda__cell.is-today .agenda__cell-day {
    background: var(--primary);
    color: white;
    border-radius: 999px;
}
.agenda__items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.agenda__chip {
    --chip-color: var(--primary);
    display: flex;
    align-items: baseline;
    gap: .35rem;
    padding: .28rem .45rem;
    background: var(--chip-color);
    color: white;
    border-radius: 6px;
    font-size: .72rem;
    line-height: 1.15;
    text-align: left;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.agenda__chip-time {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    opacity: .95;
}
.agenda__chip-name {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.agenda__chip.is-cancelled {
    background: transparent;
    color: var(--ink-muted);
    border: 1px dashed var(--border);
    text-decoration: line-through;
    text-decoration-color: var(--chip-color);
    box-shadow: none;
}
.agenda__chip[title] { cursor: help; }
.agenda__chip.is-more {
    background: transparent;
    color: var(--ink-muted);
    font-weight: 600;
    padding: 0 .45rem;
    justify-content: center;
    border: 0;
    box-shadow: none;
    cursor: default;
}

.agenda__loading,
.agenda__empty,
.agenda__error {
    grid-column: 1 / -1;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: var(--ink-muted);
    text-align: center;
    padding: 2rem 1rem;
}
.agenda__error strong { color: var(--ink); font-family: var(--font-head); }
.agenda__error small { font-size: .82rem; max-width: 40ch; }

.agenda__spinner {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 3px solid var(--surface-muted);
    border-top-color: var(--primary);
    animation: agenda-spin .9s linear infinite;
}
@keyframes agenda-spin { to { transform: rotate(360deg); } }

.agenda__legend {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    font-size: .82rem;
    color: var(--ink-muted);
}
.agenda__legend-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.agenda__legend-chip {
    --chip-color: var(--primary);
    width: 22px; height: 12px;
    background: var(--chip-color);
    border-radius: 4px;
}
.agenda__legend-chip.is-cancelled {
    background: transparent;
    border: 1px dashed var(--border);
    position: relative;
}
.agenda__legend-chip.is-cancelled::after {
    content: "";
    position: absolute;
    left: 2px; right: 2px; top: 50%;
    height: 1px;
    background: var(--chip-color);
}
.agenda__legend-note {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-left: auto;
    font-size: .78rem;
    color: var(--ink-muted);
    padding: .4rem .7rem;
    background: rgba(16, 185, 129, .08);
    color: hsl(142, 76%, 26%);
    border-radius: 999px;
    font-weight: 500;
}
.agenda__legend-note svg { color: hsl(142, 76%, 40%); }

/* Responsivo do calendário */
@media (max-width: 900px) {
    .agenda__head { grid-template-columns: 1fr; }
    .agenda__cell { min-height: 88px; }
    .agenda__chip-name { display: none; }
    .agenda__chip { justify-content: center; padding: .22rem .3rem; }
    .agenda__cell-day { font-size: .85rem; width: 22px; height: 22px; }
    .agenda__legend-note { margin-left: 0; }
}
@media (max-width: 600px) {
    .agenda__wrapper { padding: .75rem; margin: 0 calc(-1 * clamp(1.25rem, 3vw, 2rem)); border-radius: 0; border-left: 0; border-right: 0; }
    .agenda__weekdays span { font-size: .62rem; padding: .2rem 0; }
    .agenda__cell { min-height: 68px; padding: .35rem .25rem; }
    .agenda__grid { gap: 2px; }
    .agenda__chip { font-size: .62rem; padding: .18rem .25rem; border-radius: 4px; }
}

/* ==========================================================================
   SCIENCE (pesquisa aplicada)
   ========================================================================== */
.science {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.science__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.science__visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}
.science__visual img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.science__badge {
    position: absolute;
    top: 1.5rem; left: 1.5rem;
    padding: .6rem .9rem;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-md);
}
.science__badge svg { color: var(--primary); }

.publications {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.pub {
    padding: 1.1rem 1.25rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform .2s var(--ease), border-color .2s var(--ease);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.pub:hover {
    transform: translateX(4px);
    border-color: var(--primary);
}
.pub__type {
    padding: .3rem .55rem;
    border-radius: 6px;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.pub__body { flex: 1; }
.pub__title {
    font-size: .93rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: .25rem;
}
.pub__meta {
    font-size: .78rem;
    color: var(--ink-muted);
}

/* ==========================================================================
   TEAM (equipe) — carousel + modal (mesma lógica dos atletas)
   ========================================================================== */
.team__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
    margin-bottom: 3rem;
}
.team__nav { display: flex; gap: .5rem; }
.team__nav button {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    display: grid; place-items: center;
    transition: all .2s var(--ease);
}
.team__nav button:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.team__nav button:disabled { opacity: .35; cursor: not-allowed; }

.team__filters {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.team__filter {
    padding: .5rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--ink-muted);
    font-size: .82rem;
    font-weight: 600;
    transition: all .2s var(--ease);
}
.team__filter:hover {
    border-color: var(--ink);
    color: var(--ink);
}
.team__filter.is-active {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.team__filter-count {
    margin-left: .4rem;
    padding: 1px 6px;
    background: rgba(255,255,255,.15);
    border-radius: 999px;
    font-size: .72rem;
}
.team__filter:not(.is-active) .team__filter-count {
    background: var(--surface-muted);
}

.team__viewport {
    position: relative;
    margin: 0 calc(-1 * clamp(1.25rem, 3vw, 2rem));
    padding: 4px 0 24px;
}
.team__viewport::before,
.team__viewport::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: clamp(1.25rem, 3vw, 2rem);
    z-index: 2;
    pointer-events: none;
}
.team__viewport::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent);
}
.team__viewport::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg), transparent);
}
.team__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, calc((100% - 4rem) / 4));
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px clamp(1.25rem, 3vw, 2rem) 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.team__track::-webkit-scrollbar { display: none; }

.member {
    position: relative;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), opacity .3s var(--ease);
    display: flex;
    flex-direction: column;
    text-align: left;
    color: inherit;
    width: 100%;
}
.member:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.member.is-hidden {
    display: none;
}
.member__photo {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    isolation: isolate;
}
.member__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.member:hover .member__photo img { transform: scale(1.05); }
.member__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.5) 85%, rgba(0,0,0,.8) 100%);
    z-index: 1;
}
.member__initials {
    position: absolute;
    inset: 0;
    display: grid; place-items: center;
    color: white;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: -0.05em;
    text-shadow: 0 4px 20px rgba(0,0,0,.3);
    z-index: 0;
}
.member--coord .member__photo { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); }
.member--prof .member__photo { background: linear-gradient(135deg, var(--secondary), var(--dark-bg)); }
.member--intern .member__photo { background: linear-gradient(135deg, hsl(220, 12%, 45%), hsl(220, 10%, 28%)); }

.member__badge {
    position: absolute;
    top: 1rem; left: 1rem;
    padding: .3rem .65rem;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    color: white;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    z-index: 2;
}
.member--coord .member__badge {
    background: var(--primary);
    border-color: var(--primary);
}
.member__overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.25rem;
    color: white;
    z-index: 2;
}
.member__name {
    font-size: 1.15rem;
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: .3rem;
    color: white;
}
.member__role {
    font-size: .76rem;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.member__body {
    padding: 1.25rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.member__dept {
    font-size: .88rem;
    color: var(--ink-muted);
    line-height: 1.5;
    flex: 1;
    display: flex;
    gap: .5rem;
    align-items: flex-start;
}
.member__dept svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.member__cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
}
.member__cta svg { transition: transform .2s var(--ease); }
.member:hover .member__cta svg { transform: translateX(4px); }

/* Modal member */
.modal__info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg);
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}
.modal__info-item h5 {
    font-size: .72rem;
    font-weight: 700;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .3rem;
    font-family: var(--font-body);
}
.modal__info-item p {
    font-size: .9rem;
    color: var(--ink);
    font-weight: 600;
    margin: 0;
}

/* ==========================================================================
   JOIN (Como participar)
   ========================================================================== */
.join {
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.join__box {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    border-radius: var(--radius-xl);
    color: white;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 3rem;
    align-items: center;
}
.join__box::before, .join__box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: .06;
    pointer-events: none;
}
.join__box::before {
    width: 340px; height: 340px;
    top: -140px; right: -80px;
}
.join__box::after {
    width: 220px; height: 220px;
    bottom: -100px; left: 30%;
    opacity: .04;
}
.join__box h2 {
    color: white;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    letter-spacing: -0.03em;
}
.join__box p {
    color: rgba(255,255,255,.88);
    font-size: 1.05rem;
    margin: 1rem 0 1.75rem;
    max-width: 46ch;
    line-height: 1.6;
}
.join__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.join__paths {
    position: relative;
    display: grid;
    gap: .75rem;
}
.join__path {
    padding: 1.15rem 1.35rem;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-md);
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: background .18s var(--ease), transform .18s var(--ease);
}
.join__path:hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.join__path-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    display: grid; place-items: center;
}
.join__path h4 {
    color: white;
    font-size: .98rem;
    margin-bottom: .1rem;
    font-family: var(--font-head);
}
.join__path span { color: rgba(255,255,255,.8); font-size: .82rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--dark-bg);
    color: var(--dark-muted);
    padding: 3.5rem 0 2rem;
    font-size: .9rem;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand { max-width: 36ch; }
.footer__brand .brand__text { color: var(--dark-ink); }
.footer__brand .brand__text small { color: var(--dark-muted); }
.footer__brand p {
    margin-top: 1.2rem;
    color: var(--dark-muted);
    line-height: 1.55;
    font-size: .87rem;
}
.footer__reg {
    display: inline-block;
    margin-top: 1rem;
    padding: .35rem .75rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    font-size: .75rem;
    font-family: 'SF Mono', ui-monospace, monospace;
    color: var(--dark-ink);
}
.footer h5 {
    color: var(--dark-ink);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer ul a { color: var(--dark-muted); transition: color .18s var(--ease); }
.footer ul a:hover { color: white; }
.footer__socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer__socials a {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
    display: grid; place-items: center;
    transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.footer__socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.footer__bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .8rem;
}
.footer__inst {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.footer__inst img {
    height: 32px;
    opacity: .6;
    filter: grayscale(1) brightness(1.5);
    transition: opacity .2s var(--ease);
}
.footer__inst img:hover { opacity: 1; }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
    .athletes__track { grid-auto-columns: minmax(280px, calc((100% - 3rem) / 3)); }
    .team__track { grid-auto-columns: minmax(280px, calc((100% - 3rem) / 3)); }
}

@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero__visual { justify-self: center; max-width: 480px; }
    .mission__grid { grid-template-columns: 1fr; }
    .teams__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .science__grid { grid-template-columns: 1fr; }
    .science__visual { max-width: 460px; margin: 0 auto; aspect-ratio: 4/3; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .athletes__head { grid-template-columns: 1fr; }
    .athletes__track { grid-auto-columns: minmax(260px, calc((100% - 1.5rem) / 2)); }
    .team__head { grid-template-columns: 1fr; }
    .team__track { grid-auto-columns: minmax(260px, calc((100% - 1.5rem) / 2)); }
    .join__box { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; max-width: none; }
    .modal__card { grid-template-columns: 1fr; max-height: 88vh; }
    .modal__photo { aspect-ratio: 16/10; min-height: 0; }
    .modal__body { padding: 1.5rem 1.5rem 2rem; }
}

@media (max-width: 720px) {
    .nav__links, .nav__cta .btn { display: none; }
    .nav__cta .nav__toggle { display: flex; }
    .hero__badge--tl { left: -6px; }
    .hero__badge--br { right: -6px; }
    .athletes__track { grid-auto-columns: minmax(240px, 82%); }
    .team__track { grid-auto-columns: minmax(240px, 82%); }
    .modal__info-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .hero__meta { gap: 1rem; }
    .hero__meta-sep { display: none; }
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--surface);
    z-index: 90;
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a {
    padding: 1rem 1.25rem;
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn { margin-top: 1.5rem; }

/* ==========================================================================
   NOTÃCIAS â€” seÃ§Ã£o na landing, listagem /noticias e pÃ¡gina individual
   ========================================================================== */

/* SeÃ§Ã£o na landing (destaque da Ãºltima notÃ­cia) */
.news {
    padding: 6rem 0 6.5rem;
    background: var(--surface);
}
.news__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}
.news__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}
.news__featured {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.news__featured:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg, 0 24px 48px -20px rgba(0,0,0,.18));
}
.news__featured-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-muted);
}
.news__featured-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.news__featured:hover .news__featured-cover img { transform: scale(1.03); }
.news__featured-body {
    padding: 2rem 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}
.news__featured-date {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
}
.news__featured-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.news__featured-excerpt {
    color: var(--ink-muted);
    font-size: 1rem;
    line-height: 1.55;
    flex: 1;
}
.news__featured-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
}
.news__side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding-left: .5rem;
}
.news__side-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.news__side-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.news__side-note {
    color: var(--ink-muted);
    line-height: 1.55;
}
.news__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
}
.news__empty {
    grid-column: 1 / -1;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--ink-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

/* PÃ¡gina /noticias â€” hero + grid de todas */
.news-hero {
    padding: 8rem 0 3rem;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.news-hero__inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.news-hero__title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 1rem 0;
}
.news-hero__lead {
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 620px;
    margin: 0 auto;
}
.news-list-section { padding: 3rem 0 6rem; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.news-empty {
    grid-column: 1 / -1;
    padding: 4rem 1rem;
    text-align: center;
    color: var(--ink-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
.news-empty strong { color: var(--ink); font-family: var(--font-head); font-size: 1.1rem; }

.news-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.news-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.news-card__cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-muted);
}
.news-card__cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.news-card:hover .news-card__cover img { transform: scale(1.04); }
.news-card__cover--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb),.06), var(--surface-muted));
}
.news-card__cover--placeholder img {
    width: 40%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    opacity: .5;
    transform: none !important;
}
.news-card__body {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex: 1;
}
.news-card__date {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
}
.news-card__title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.news-card__excerpt {
    color: var(--ink-muted);
    font-size: .92rem;
    line-height: 1.5;
    flex: 1;
}
.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    color: var(--primary);
    font-size: .92rem;
    margin-top: .5rem;
}

/* PÃ¡gina individual /noticia/{slug} */
.news-article {
    padding: 6rem 0 5rem;
    background: var(--bg);
}
.news-article__cover {
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--surface-muted);
}
.news-article__cover img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.news-article__inner {
    max-width: 780px !important;
}
.news-article__back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--ink-muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: color .18s var(--ease);
}
.news-article__back:hover { color: var(--primary); }
.news-article__header { margin-bottom: 2.5rem; }
.news-article__title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 1rem 0 1rem;
}
.news-article__meta {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    align-items: center;
    color: var(--ink-muted);
    font-size: .92rem;
    margin-bottom: 1rem;
}
.news-article__lead {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--ink);
    font-weight: 500;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 1.5rem;
}
.news-article__body {
    font-size: 1.08rem;
    line-height: 1.72;
    color: var(--ink);
}
.news-article__body > * + * { margin-top: 1.2em; }
.news-article__body p { margin: 0 0 1em; }
.news-article__body h2 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 2.5em 0 .8em;
    color: var(--ink);
}
.news-article__body h3 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 2em 0 .6em;
    color: var(--ink);
}
.news-article__body h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 1.8em 0 .5em;
    color: var(--ink);
}
.news-article__body ul,
.news-article__body ol { padding-left: 1.5em; }
.news-article__body li { margin: .3em 0; }
.news-article__body a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.news-article__body blockquote {
    border-left: 3px solid var(--primary);
    padding: .4em 0 .4em 1.2em;
    margin: 1.5em 0;
    color: var(--ink-muted);
    font-style: italic;
}
.news-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5em auto;
    display: block;
}
.news-article__body figure { margin: 2em 0; }
.news-article__body figcaption {
    font-size: .88rem;
    color: var(--ink-muted);
    text-align: center;
    margin-top: .5em;
}
.news-article__body pre,
.news-article__body code {
    background: var(--surface-muted);
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .9em;
}
.news-article__body code { padding: .15em .4em; }
.news-article__body pre { padding: 1em; overflow-x: auto; }
.news-article__body hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 2.5em 0;
}
.news-article__footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
    .news__grid { grid-template-columns: 1fr; }
    .news__side { padding-left: 0; }
    .news-article__cover { aspect-ratio: 16 / 9; margin-bottom: 1.5rem; border-radius: 0; }
    .news-article { padding-top: 4.5rem; }
    .news-article__footer { flex-direction: column; }
}


/* ==========================================================================
   NOTÃCIAS â€” variante de destaque logo apÃ³s o hero
   ========================================================================== */
.news--featured {
    padding: 5rem 0 5.5rem;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(var(--primary-rgb), .08), transparent 60%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    position: relative;
}
.news--featured::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.news--featured .news__head {
    margin-bottom: 3rem;
}
.news--featured .section__title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
}
.news--featured .news__featured {
    box-shadow: 0 16px 44px -24px rgba(var(--primary-rgb), .35);
}
.news--featured .news__featured-title {
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}
.news--featured .news__side-title {
    font-size: 1.75rem;
}

