/* Minification failed. Returning unminified contents.
(22,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(24,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(26,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(29,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(30,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(31,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(32,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(33,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(34,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(35,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(36,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(37,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(38,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(39,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(40,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(41,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(42,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(43,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(44,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(45,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(46,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(47,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(48,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(49,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(56,23): run-time error CSS1039: Token not allowed after unary operator: '-ff'
(57,26): run-time error CSS1039: Token not allowed after unary operator: '-background'
(58,21): run-time error CSS1039: Token not allowed after unary operator: '-foreground'
(99,26): run-time error CSS1039: Token not allowed after unary operator: '-background'
(172,39): run-time error CSS1039: Token not allowed after unary operator: '-border'
(220,31): run-time error CSS1046: Expect comma, found '244'
(220,39): run-time error CSS1046: Expect comma, found '/'
(220,41): run-time error CSS1047: Expected number or percentage value in rgb function, found 'var('
(220,45): run-time error CSS1034: 
(220,45): run-time error CSS1042: Expected function, found '-'
(220,46): run-time error CSS1039: Token not allowed after unary operator: '-tw-bg-opacity'
(220,63): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
(221,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(236,25): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(258,26): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(271,30): run-time error CSS1039: Token not allowed after unary operator: '-primary-dark'
(280,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(330,18): run-time error CSS1039: Token not allowed after unary operator: '-header-height'
(365,26): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(366,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(376,30): run-time error CSS1039: Token not allowed after unary operator: '-border'
(377,25): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(383,21): run-time error CSS1039: Token not allowed after unary operator: '-foreground'
(395,30): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(396,25): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(402,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(408,39): run-time error CSS1039: Token not allowed after unary operator: '-border'
(413,25): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(420,36): run-time error CSS1039: Token not allowed after unary operator: '-border'
(490,92): run-time error CSS1039: Token not allowed after unary operator: '-background'
(512,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(553,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(558,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(567,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(572,25): run-time error CSS1039: Token not allowed after unary operator: '-institutional-green'
(580,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(603,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(624,30): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(682,21): run-time error CSS1039: Token not allowed after unary operator: '-institutional-green'
(689,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(696,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(704,62): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(716,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(717,26): run-time error CSS1039: Token not allowed after unary operator: '-surface-glass'
(719,42): run-time error CSS1039: Token not allowed after unary operator: '-shadow-soft'
(727,26): run-time error CSS1039: Token not allowed after unary operator: '-green-soft'
(728,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(732,21): run-time error CSS1039: Token not allowed after unary operator: '-institutional-green'
(737,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(762,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(765,43): run-time error CSS1039: Token not allowed after unary operator: '-shadow-soft'
(770,32): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(774,25): run-time error CSS1039: Token not allowed after unary operator: '-institutional-green'
(826,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(828,44): run-time error CSS1039: Token not allowed after unary operator: '-shadow-medium'
(913,34): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(915,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(920,42): run-time error CSS1039: Token not allowed after unary operator: '-shadow-medium'
(920,77): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(933,30): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(934,32): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(936,46): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1025,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1038,25): run-time error CSS1039: Token not allowed after unary operator: '-institutional-green'
(1046,53): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(1102,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1107,21): run-time error CSS1039: Token not allowed after unary operator: '-institutional-green'
(1112,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1119,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(1127,49): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(1148,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1150,44): run-time error CSS1039: Token not allowed after unary operator: '-shadow-medium'
(1172,21): run-time error CSS1039: Token not allowed after unary operator: '-foreground'
(1181,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(1202,40): run-time error CSS1039: Token not allowed after unary operator: '-columns'
(1219,48): run-time error CSS1039: Token not allowed after unary operator: '-shadow-medium'
(1225,18): run-time error CSS1039: Token not allowed after unary operator: '-podium-height'
(1231,44): run-time error CSS1039: Token not allowed after unary operator: '-shadow-medium'
(1285,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1347,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1353,21): run-time error CSS1039: Token not allowed after unary operator: '-primary-soft'
(1359,49): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(1365,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(1401,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1403,43): run-time error CSS1039: Token not allowed after unary operator: '-shadow-medium'
(1415,28): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(1416,43): run-time error CSS1039: Token not allowed after unary operator: '-shadow-strong'
(1465,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1471,42): run-time error CSS1039: Token not allowed after unary operator: '-shadow-soft'
(1493,21): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1505,50): run-time error CSS1039: Token not allowed after unary operator: '-gold-1'
(1505,73): run-time error CSS1039: Token not allowed after unary operator: '-gold-2'
(1505,97): run-time error CSS1039: Token not allowed after unary operator: '-gold-3'
(1512,50): run-time error CSS1039: Token not allowed after unary operator: '-silver-1'
(1512,75): run-time error CSS1039: Token not allowed after unary operator: '-silver-2'
(1512,101): run-time error CSS1039: Token not allowed after unary operator: '-silver-3'
(1519,50): run-time error CSS1039: Token not allowed after unary operator: '-bronze-1'
(1519,75): run-time error CSS1039: Token not allowed after unary operator: '-bronze-2'
(1519,101): run-time error CSS1039: Token not allowed after unary operator: '-bronze-3'
(1526,50): run-time error CSS1039: Token not allowed after unary operator: '-gold-1'
(1526,73): run-time error CSS1039: Token not allowed after unary operator: '-gold-2'
(1526,97): run-time error CSS1039: Token not allowed after unary operator: '-gold-3'
(1530,50): run-time error CSS1039: Token not allowed after unary operator: '-silver-1'
(1530,75): run-time error CSS1039: Token not allowed after unary operator: '-silver-2'
(1530,101): run-time error CSS1039: Token not allowed after unary operator: '-silver-3'
(1534,50): run-time error CSS1039: Token not allowed after unary operator: '-bronze-1'
(1534,75): run-time error CSS1039: Token not allowed after unary operator: '-bronze-2'
(1534,101): run-time error CSS1039: Token not allowed after unary operator: '-bronze-3'
(1566,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1587,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1607,32): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(1608,25): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1619,32): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(1620,25): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1646,62): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(1653,62): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(1658,21): run-time error CSS1039: Token not allowed after unary operator: '-muted-foreground'
(1742,48): run-time error CSS1039: Token not allowed after unary operator: '-background'
(1742,75): run-time error CSS1039: Token not allowed after unary operator: '-background'
(1757,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1774,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1797,25): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(1824,42): run-time error CSS1039: Token not allowed after unary operator: '-shadow-medium'
(1895,26): run-time error CSS1039: Token not allowed after unary operator: '-primary-dark'
(1904,30): run-time error CSS1039: Token not allowed after unary operator: '-institutional-green'
(1912,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(1918,32): run-time error CSS1039: Token not allowed after unary operator: '-border-strong'
(1928,25): run-time error CSS1039: Token not allowed after unary operator: '-institutional-green'
(1951,25): run-time error CSS1039: Token not allowed after unary operator: '-primary-dark'
(1986,43): run-time error CSS1039: Token not allowed after unary operator: '-shadow-medium'
(2034,43): run-time error CSS1039: Token not allowed after unary operator: '-shadow-medium'
 */
/* ================================================================
   PORTAL PREMIAÇÃO — portal-premiacao.css  v8
   Tema light (white mode) — alinhado ao styles.css
   Header e Footer atualizados para partials
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ----------------------------------------------------------------
   RESET LOCAL
---------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ----------------------------------------------------------------
   TOKENS
---------------------------------------------------------------- */
:root {
    --background: 40 20% 97%;
    --foreground: 214 30% 15%;
    --card: 40 15% 99%;
    --muted: 40 10% 92%;
    --muted-foreground: 214 10% 45%;
    --border: 214 15% 85%;
    --border-strong: 214 18% 80%;
    --primary: 214 65% 24%;
    --primary-dark: 214 70% 18%;
    --primary-soft: 214 55% 35%;
    --hover: 214 60% 65%;
    --institutional-green: 139 64% 22%;
    --green-soft: 160 35% 93%;
    --blue-soft: 214 55% 92%;
    --surface-glass: 0 0% 100% / 0.7;
    --shadow-soft: 214 30% 15% / 0.08;
    --shadow-medium: 214 30% 15% / 0.12;
    --gold-1: 43 80% 45%;
    --gold-2: 45 85% 58%;
    --gold-3: 40 75% 42%;
    --silver-1: 210 15% 58%;
    --silver-2: 210 20% 72%;
    --silver-3: 210 12% 55%;
    --bronze-1: 25 55% 42%;
    --bronze-2: 30 60% 55%;
    --bronze-3: 20 50% 38%;
    --ff: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-height: 4rem;
}

/* ----------------------------------------------------------------
   BASE
---------------------------------------------------------------- */
body {
    font-family: var(--ff);
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
    cursor: pointer;
}

.editorial-heading {
    font-weight: 700;
    letter-spacing: -1px;
}

/* ----------------------------------------------------------------
   BACKGROUND GLOBAL FIXO
---------------------------------------------------------------- */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.site-bg__base {
    position: absolute;
    inset: 0;
    background: hsl(var(--background));
}

/* Orbs — versão clara */
.site-bg__orb {
    position: absolute;
    border-radius: 9999px;
    animation: orbPulse 12s ease-in-out infinite;
}

.site-bg__orb--blue-xl {
    top: -10%;
    right: -12%;
    width: min(55vw, 50rem);
    height: min(55vw, 50rem);
    background: radial-gradient(circle, hsl(214 55% 92% / 0.55) 0%, transparent 70%);
}

.site-bg__orb--green-sm {
    top: 8%;
    right: -8%;
    width: min(40vw, 37.5rem);
    height: min(40vw, 37.5rem);
    background: radial-gradient(circle, hsl(160 40% 92% / 0.35) 0%, transparent 70%);
    animation-duration: 14s;
}

.site-bg__orb--green-md {
    top: 35%;
    left: -6%;
    width: min(35vw, 31.25rem);
    height: min(35vw, 31.25rem);
    background: radial-gradient(circle, hsl(160 35% 93% / 0.3) 0%, transparent 70%);
    animation-duration: 12s;
}

.site-bg__orb--blue-md {
    top: 65%;
    right: -5%;
    width: min(38vw, 34.375rem);
    height: min(38vw, 34.375rem);
    background: radial-gradient(circle, hsl(214 50% 93% / 0.35) 0%, transparent 70%);
    animation-duration: 11s;
}

@keyframes orbPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ----------------------------------------------------------------
   SITE APP WRAPPER
---------------------------------------------------------------- */
.site-app {
    position: relative;
    z-index: 10;
}

/* ----------------------------------------------------------------
   HEADER — componente partial
---------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: 4rem;
    background: hsl(0 0% 100% / 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid hsl(var(--border));
}

.site-header__bar {
    max-width: 90rem;
    height: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header__left,
.site-header__right,
.site-header__nav {
    display: flex;
    align-items: center;
}

.site-header__left {
    gap: 1.5rem;
}

.site-header__right {
    gap: 1rem;
}

.site-header__nav {
    gap: 0.75rem;
}

.site-header__logo {
    height: 3rem;
    width: auto;
}

.site-header__logo-link {
    display: inline-flex;
    align-items: center;
}

/* Botões do header */
.nav-chip,
.header-back,
.mobile-link {
    border: 0;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
    color: hsl(var(--muted-foreground));
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

    .nav-chip:hover,
    .header-back:hover,
    .mobile-link:hover {
        color: hsl(var(--primary));
        transform: translateY(-1px);
    }

.header-back {
    display: none;
}

.mobile-link--back {
    display: none;
}

.site-header--detail .header-back {
    display: inline-flex;
}

.site-header--detail .mobile-link--back {
    display: flex;
}

.primary-action {
    border: 0;
    background: hsl(var(--primary));
    color: white;
    border-radius: 0.5rem;
    padding: 0.5625rem 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background 220ms ease, transform 220ms ease;
}

    .primary-action:hover {
        background: hsl(var(--primary-dark));
        transform: translateY(-1px);
    }

.header-icon-btn {
    width: 2.625rem;
    height: 2.625rem;
    border: 0;
    background: transparent;
    color: hsl(var(--muted-foreground));
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    cursor: pointer;
}

/* Mobile panel */
.mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 60;
    visibility: hidden;
    pointer-events: none;
}

    .mobile-panel.is-open {
        visibility: visible;
        pointer-events: auto;
    }

.mobile-panel__backdrop {
    position: absolute;
    inset: 0;
    background: hsl(214 35% 10% / 0.45);
    opacity: 0;
    transition: opacity 250ms ease;
}

.mobile-panel.is-open .mobile-panel__backdrop {
    opacity: 1;
}

.mobile-panel__sheet {
    position: absolute;
    inset: 0;
    background: hsl(0 0% 100%);
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(0.32, 0, 0.15, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-panel.is-open .mobile-panel__sheet {
    transform: translateX(0);
}

.mobile-panel__header {
    height: var(--header-height);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background: hsl(0 0% 100%);
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-panel__logo-link {
    display: inline-flex;
    align-items: center;
}

.mobile-panel__logo {
    height: 3rem;
    width: auto;
    display: block;
}

.mobile-panel__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    flex: 1;
}

.mobile-panel__close {
    width: 2.625rem;
    height: 2.625rem;
    border: 0;
    background: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease, color 200ms ease;
}

    .mobile-panel__close:hover,
    .mobile-panel__close:focus-visible {
        background: hsl(var(--border));
        color: hsl(var(--primary));
    }

/* Nav items — contextual overrides para o painel mobile */
.mobile-panel__nav .mobile-link {
    background: transparent;
    color: hsl(var(--foreground));
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 500;
    transform: none;
}

    .mobile-panel__nav .mobile-link:hover {
        background: hsl(var(--muted));
        color: hsl(var(--primary));
        transform: none;
    }

.mobile-panel__nav .mobile-link--back {
    display: flex;
    color: hsl(var(--muted-foreground));
    font-size: 0.9375rem;
    border-radius: 0;
    justify-content: flex-start;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid hsl(var(--border));
}

    .mobile-panel__nav .mobile-link--back:hover {
        background: transparent;
        color: hsl(var(--primary));
    }

/* CTA footer com separador */
.mobile-panel__nav-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(var(--border));
}

    .mobile-panel__nav-footer .primary-action {
        width: 100%;
        border-radius: 0.875rem;
        justify-content: center;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        gap: 0.5rem;
    }

/* ----------------------------------------------------------------
   CONTENT WRAP
---------------------------------------------------------------- */
.page-shell {
    position: relative;
    z-index: 1;
}

/* ----------------------------------------------------------------
   HERO COM CARROSSEL
---------------------------------------------------------------- */
.home-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-hero__slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 700ms ease;
}

    .hero-slide.is-active {
        opacity: 1;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.home-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, hsl(0 0% 100%) 35%, hsl(0 0% 100% / 0.8) 50%, transparent 70%);
}

.home-hero__bottomfade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, hsl(0 0% 100% / 0.8) 45%, hsl(var(--background)) 100%);
}

.home-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 144px 24px 128px;
}

.home-hero__text {
    max-width: fit-content;
}

/* Social pill */
.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: hsl(0 0% 100% / 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--border) / 0.4);
    border-radius: 9999px;
    padding: 12px 20px;
    box-shadow: 0 2px 12px hsl(214 30% 15% / 0.06);
    margin-bottom: 24px;
}

.social-pill__logos {
    display: flex;
    align-items: center;
    margin-right: 2px;
}

.social-pill__logo,
.social-pill__more {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: 2px solid white;
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 6px hsl(214 30% 15% / 0.08);
}

    .social-pill__logo + .social-pill__logo,
    .social-pill__logo + .social-pill__more {
        margin-left: -12px;
    }

    .social-pill__logo img {
        width: 24px;
        height: 24px;
        object-fit: cover;
    }

.social-pill__more {
    font-size: 10px;
    font-weight: 700;
    color: hsl(var(--muted-foreground));
}

.social-pill__text {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

/* Hero título */
.hero-title {
    margin: 0 0 24px;
    font-size: 80px;
    line-height: 0.9;
    color: hsl(var(--primary));
}

    .hero-title .accent,
    .hero-title span {
        color: hsl(var(--institutional-green));
    }

.hero-description {
    margin: 0;
    max-width: 528px;
    font-size: 20px;
    line-height: 1.5;
    color: hsl(var(--primary));
}

/* Controles do carrossel */
.hero-controls {
    position: absolute;
    right: 32px;
    bottom: 32px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-button {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: hsl(0 0% 100% / 0.82);
    color: hsl(var(--primary));
    box-shadow: 0 8px 24px hsl(214 30% 15% / 0.08);
    backdrop-filter: blur(10px);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    border: 0;
    background: hsl(214 20% 75%);
    transition: transform 220ms ease, background 220ms ease;
}

    .carousel-dot.is-active {
        background: hsl(var(--primary));
        transform: scale(1.1);
    }

/* Animação entrada */
.animate-slide-up,
.slide-up {
    animation: slideUp 0.8s ease-out both;
}

.fade-in {
    animation: fadeIn 700ms ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ----------------------------------------------------------------
   SECTION SHELL — wrapper genérico
---------------------------------------------------------------- */
.section-shell {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 64px 16px;
    position: relative;
    z-index: 1;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-eyebrow {
    margin: 0 0 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 800;
    color: hsl(var(--institutional-green) / 0.8);
}

.section-title {
    margin: 0 0 16px;
    font-size: 44px;
    line-height: 1;
    color: hsl(var(--primary));
}

.section-description {
    margin: 0 auto;
    max-width: 608px;
    font-size: 16px;
    color: hsl(var(--muted-foreground));
    line-height: 1.65;
}

.section-divider {
    width: 128px;
    height: 1px;
    margin: 48px auto 0;
    background: linear-gradient(90deg, transparent, hsl(var(--border-strong)), transparent);
}

/* ----------------------------------------------------------------
   COMO FUNCIONAM — info card + feature grid
---------------------------------------------------------------- */
.info-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 32px;
    border-radius: 16px;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--surface-glass));
    backdrop-filter: blur(24px);
    box-shadow: 0 4px 20px -8px hsl(var(--shadow-soft));
}

.info-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: hsl(var(--green-soft));
    border: 1px solid hsl(var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--institutional-green));
}

.info-card h3 {
    font-size: 24px;
    color: hsl(var(--primary));
    margin-bottom: 12px;
    line-height: 1.1;
}

.info-card p {
    font-size: 14px;
    color: hsl(214 20% 45%);
    line-height: 1.8;
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    background: hsl(0 0% 100% / 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px -12px hsl(var(--shadow-soft));
    transition: border-color 0.2s;
}

    .feature-card:hover {
        border-color: hsl(var(--border-strong));
    }

    .feature-card svg {
        color: hsl(var(--institutional-green));
        flex-shrink: 0;
    }

    .feature-card span {
        font-size: 15px;
        color: hsl(214 20% 45%);
        line-height: 1.5;
    }

/* ----------------------------------------------------------------
   GALERIA — strip com scroll infinito
---------------------------------------------------------------- */
.gallery-section {
    padding-top: 16px;
}

.gallery-strip {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

    .gallery-strip::-webkit-scrollbar {
        display: none;
    }

.gallery-track {
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 0 16px;
    align-items: center;
}

.gallery-group {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid hsl(var(--border));
    background: hsl(0 0% 100% / 0.65);
    box-shadow: 0 12px 28px -18px hsl(var(--shadow-medium));
    cursor: pointer;
    display: block;
}

    .gallery-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 0%, hsl(214 30% 15% / 0.08) 100%);
        opacity: 0;
        transition: opacity 220ms ease;
    }

    .gallery-card:hover::after {
        opacity: 1;
    }

    .gallery-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 420ms ease;
        display: block;
    }

    .gallery-card:hover img {
        transform: scale(1.04);
    }

.gallery-card--large {
    width: 280px;
    height: 280px;
}

.gallery-card--small {
    width: 180px;
    height: 132px;
}

.gallery-static {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 16px;
    justify-content: center;
}

@media (max-width: 764px) {
    .gallery-static {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        justify-content: flex-start;
    }

    .gallery-static::-webkit-scrollbar {
        display: none;
    }

    .gallery-static .gallery-card {
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* ----------------------------------------------------------------
   GALERIA — wrapper e botões de navegação por setas
---------------------------------------------------------------- */
.gallery-scroll-wrap {
    position: relative;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1.5px solid hsl(var(--border-strong));
    background: hsl(0 0% 100% / 0.96);
    color: hsl(var(--primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px -2px hsl(var(--shadow-medium)), 0 0 0 0 hsl(var(--primary) / 0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        background 200ms ease,
        border-color 200ms ease,
        color 200ms ease,
        box-shadow 200ms ease,
        transform 160ms cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

    .gallery-nav:hover {
        background: hsl(var(--primary));
        border-color: hsl(var(--primary));
        color: white;
        box-shadow: 0 4px 18px -4px hsl(var(--primary) / 0.45);
        transform: translateY(-50%) scale(1.1);
    }

    .gallery-nav:active {
        transform: translateY(-50%) scale(0.93);
        transition-duration: 80ms;
    }

.gallery-nav--prev { left: 0.75rem; }
.gallery-nav--next { right: 0.75rem; }

/* Setas da galeria estática — ocultas no desktop, visíveis no mobile */
.gallery-static-nav {
    display: none;
}

@media (max-width: 764px) {
    .gallery-static-nav {
        display: inline-flex;
    }

    /* Mínimo 44 × 44 para área de toque acessível */
    .gallery-nav {
        width: 2.75rem;
        height: 2.75rem;
    }

    .gallery-nav--prev { left: 0.35rem; }
    .gallery-nav--next { right: 0.35rem; }
}

/* ----------------------------------------------------------------
   TOP MASTER HERO — seção com imagem do troféu
---------------------------------------------------------------- */
.topmaster-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.topmaster-hero__image {
    position: absolute;
    inset: 0;
}

    .topmaster-hero__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 30%;
    }

.topmaster-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, hsl(0 0% 100%) 45%, hsl(0deg 0% 100% / 89%) 60%, transparent 85%);
}

.topmaster-hero__overlay--top {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsl(180deg 9.09% 95.69%) 0%, transparent 30%);
}

.topmaster-hero__overlay--bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, hsl(60deg 12.5% 96.86%) 0%, transparent 20%);
}

.topmaster-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 1024px);
    margin: 0 auto;
    padding: 144px 0px 80px;
}

.topmaster-hero__text {
    width: min(100%, 50%);
}

.topmaster-title {
    margin: 0;
    font-size: 75px;
    line-height: 0.85;
    color: hsl(var(--primary));
}

.topmaster-year {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

    .topmaster-year span {
        font-size: 48px;
        font-weight: 700;
        color: hsl(var(--institutional-green) / 0.8);
        letter-spacing: -2px;
    }

    .topmaster-year i {
        display: block;
        width: 96px;
        height: 1px;
        background: linear-gradient(90deg, hsl(var(--border-strong)), transparent);
    }

/* ----------------------------------------------------------------
   YEAR CONTENT — wrapper dos pódios e subcategorias
---------------------------------------------------------------- */
.year-content {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 80px 16px;
}

/* ----------------------------------------------------------------
   CATEGORIAS / PÓDIO OLÍMPICO
---------------------------------------------------------------- */
.category-stack {
    width: min(100%, 1024px);
    margin: 0 auto;
    display: grid;
    gap: 80px;
}

.category {
    position: relative;
}

/* Cabeçalho da categoria */
.category-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.category-head__icon-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

    .category-head__icon-wrap::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 9999px;
        background: hsl(214 65% 70% / 0.15);
        filter: blur(12px);
    }

.category-head__icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: hsl(0 0% 100% / 0.8);
    border: 1px solid hsl(var(--border));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(18px);
    color: hsl(var(--institutional-green));
}

.category-head__text h3 {
    font-size: 24px;
    color: hsl(var(--primary));
    margin: 0;
    line-height: 1.1;
}

.category-head__text p {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 4px 0 0;
}

.category-head__line {
    flex: 1;
    height: 1px;
    margin-left: 16px;
    background: linear-gradient(90deg, hsl(var(--border-strong)), transparent);
}

/* ---- Identidade do vencedor ---- */
.winner-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    text-align: center;
}

.winner-identity--featured {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.winner-identity__logo {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    background: white;
    box-shadow: 0 10px 24px -18px hsl(var(--shadow-medium));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.winner-identity__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.winner-identity__logo svg {
    color: hsl(214 20% 70%);
}

.winner-identity__name {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
    color: hsl(var(--foreground));
    font-weight: 700;
    overflow-wrap: break-word;
    max-width: 180px;
}

.winner-identity__creci {
    margin: 0;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ---- Link do vencedor destaque ---- */
.winner-featured-wrap {
    display: flex;
    justify-content: center;
}

/* ---- Grade do pódio ---- */
.podium-grid {
    display: grid;
    gap: 0.75rem;
    align-items: end;
}

.podium-grid--standard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.podium-grid--dynamic {
    grid-template-columns: repeat(var(--columns, 1), minmax(0, 1fr));
}

.podium-spacer {
    height: 2.5rem;
}

.podium-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: pointer;
    color: inherit;
}

    .podium-column:hover .podium-block {
        box-shadow: 0 12px 30px -18px hsl(var(--shadow-medium));
    }

.podium-block {
    position: relative;
    width: 100%;
    height: var(--podium-height, 10rem);
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    border: 1px solid hsl(214 30% 92%);
    border-bottom: 0;
    background: white;
    box-shadow: 0 10px 24px -18px hsl(var(--shadow-medium));
}

.podium-block__number {
    position: absolute;
    left: 50%;
    top: 15%;
    transform: translateX(-50%);
    font-size: clamp(2.75rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1;
}

.podium-block__line {
    width: 100%;
    height: 0.375rem;
    border-radius: 0 0 0.25rem 0.25rem;
    flex-shrink: 0;
}

/* ----------------------------------------------------------------
   SUBCATEGORIAS — accordion + rank list
---------------------------------------------------------------- */
.subcategories-wrap {
    width: min(100%, 1024px);
    margin: 80px auto 0;
}

.subcategories-heading {
    text-align: center;
    margin-bottom: 48px;
}

.subcategories-heading__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

    .subcategories-heading__row i {
        display: block;
        width: 96px;
        height: 1px;
        background: linear-gradient(90deg, transparent, hsl(214 65% 70% / 0.4));
    }

        .subcategories-heading__row i:last-child {
            background: linear-gradient(90deg, hsl(214 65% 70% / 0.4), transparent);
        }

.subcategories-heading h2 {
    margin: 0;
    font-size: 28px;
    color: hsl(var(--primary));
}

.subcategory-listing {
    display: grid;
    gap: 40px;
}

/* Item de subcategoria */
.subcategory {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-items: center;
}

/* Toggle / accordion */
.subcategory__toggle {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0;
    border: 0;
    background: transparent;
    outline: 0;
    padding: 0;
    text-align: left;
    flex-direction: column;
}

.subcategory__toggle .sub-align {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.subcategory__toggle .sub-subtitle-cat {
    font-size: 14px;
    color: hsl(214deg 22.64% 51.33%);
    margin-left: 41px;
}

.subcategory__chevron {
    flex-shrink: 0;
    color: hsl(214 20% 55%);
    transition: transform 0.25s ease;
}

.subcategory__toggle:not(.is-open) .subcategory__chevron {
    transform: rotate(-90deg);
}

.subcategory__toggle.is-open .subcategory__chevron {
    transform: rotate(0deg);
}

.subcategory__toggle h3 {
    margin: 0;
    font-size: 22px;
    color: hsl(var(--primary));
    transition: color 0.2s;
    white-space: nowrap;
}

.subcategory__toggle:hover h3 {
    color: hsl(var(--primary-soft));
}

.subcategory__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, hsl(var(--border-strong)), transparent);
}

.subcategory__description {
    margin: 6px 0 0 32px;
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

/* Painel (hidden / visível com JS) */
.subcategory__panel {
    overflow: hidden;
    transition: opacity 0.25s ease;
    margin-top: 0;
    max-width: 938px;
    width: 100%;
}

    .subcategory__panel[hidden] {
        display: none;
    }

    .subcategory__panel:not([hidden]) {
        display: block;
        margin-top: 20px;
        opacity: 1;
    }

/* Lista de ranking */
.rank-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.rank-list__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px 0 0;
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    background: white;
    box-shadow: 0 8px 24px -18px hsl(var(--shadow-medium));
    overflow: hidden;
    transition: border-color 0.2s;
}

.rank-list__line {
    width: 0.375rem;
    flex-shrink: 0;
    align-self: stretch;
}

.rank-list__item:hover {
    border-color: hsl(var(--border-strong));
    box-shadow: 0 8px 24px -18px hsl(var(--shadow-strong));
}

/* Link cobre o item inteiro */
.rank-list__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Posição numérica */
.rank-list__pos {
    min-width: 28px;
    font-size: 25px;
    font-weight: 800;
    text-align: center;
    flex-shrink: 0;
}

.rank-list__pos--top10 {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    color: hsl(0deg 0% 56.5%);
}

    .rank-list__pos--top10 b {
        font-size: 8px;
        letter-spacing: 4px;
        color: hsl(214 15% 65%);
    }

    .rank-list__pos--top10 strong {
        font-size: 18px;
        color: hsl(0deg 0% 56.5%);
        right: 2px;
        position: relative;
        top: 3px;
    }

/* Logo mini na lista */
.rank-list__logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    padding: 3px;
    border: 1px solid hsl(var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 10px 0px;
    box-shadow: 0 4px 12px -6px hsl(var(--shadow-soft));
}

    .rank-list__logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        mix-blend-mode: multiply;
    }

/* Nome e CRECI */
.rank-list__name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: hsl(214 30% 20%);
    position: relative;
    z-index: 2;
    transition: color 0.2s;
}

.rank-list__item:hover .rank-list__name {
    color: hsl(var(--primary));
}

.rank-list__creci {
    font-size: 12px;
    color: hsl(214 15% 65%);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Metais — texto degradê */
.metal-text--1 {
    background: linear-gradient(135deg, hsl(var(--gold-1)) 0%, hsl(var(--gold-2)) 50%, hsl(var(--gold-3)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metal-text--2 {
    background: linear-gradient(135deg, hsl(var(--silver-1)) 0%, hsl(var(--silver-2)) 50%, hsl(var(--silver-3)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metal-text--3 {
    background: linear-gradient(135deg, hsl(var(--bronze-1)) 0%, hsl(var(--bronze-2)) 50%, hsl(var(--bronze-3)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.metal-gradient--1 {
    background: linear-gradient(135deg, hsl(var(--gold-1)) 0%, hsl(var(--gold-2)) 50%, hsl(var(--gold-3)) 100%);
}

.metal-gradient--2 {
    background: linear-gradient(135deg, hsl(var(--silver-1)) 0%, hsl(var(--silver-2)) 50%, hsl(var(--silver-3)) 100%);
}

.metal-gradient--3 {
    background: linear-gradient(135deg, hsl(var(--bronze-1)) 0%, hsl(var(--bronze-2)) 50%, hsl(var(--bronze-3)) 100%);
}

.metal-gradient--top10 {
    background: linear-gradient(135deg, hsl(214 15% 68%) 0%, hsl(214deg 1.53% 34.27%) 100%);
}

.metal-text--top10 {
    color: hsl(0deg 0% 56.5%);
}

/* ----------------------------------------------------------------
   LIGHTBOX
---------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: hsl(214 35% 10% / 0.72);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.lightbox__dialog {
    position: relative;
    width: min(100%, 960px);
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: visible;
    border: 1px solid hsl(var(--border));
    background: hsl(0 0% 100% / 0.92);
    transition: background 180ms ease, border-color 180ms ease;
}

    .lightbox__dialog img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: inherit;
    }

/* Quando a imagem está com zoom ativo o enquadramento some — a foto cresce sobre o fundo escuro */
.lightbox__dialog--zoomed {
    background: transparent;
    border-color: transparent;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    border: 1px solid hsl(var(--border));
    background: hsl(0 0% 100% / 0.82);
    color: hsl(214 20% 40%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, color 0.2s;
}

.lightbox__close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
}

    .lightbox__close:hover {
        border-color: hsl(var(--border-strong));
        color: hsl(var(--primary));
    }

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
}

    .lightbox__nav:hover {
        border-color: hsl(var(--border-strong));
        color: hsl(var(--primary));
    }

.lightbox__nav--prev {
    left: 12px;
}

.lightbox__nav--next {
    right: 12px;
}

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer {
    position: relative;
    padding: 48px 16px 64px;
    text-align: center;
}

.site-footer__topline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(var(--border-strong)), transparent);
}

.site-footer__divider {
    width: 96px;
    height: 1px;
    margin: 0 auto 32px;
    background: linear-gradient(90deg, transparent, hsl(var(--border-strong)), transparent);
}

.site-footer p {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin-bottom: 14px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.site-footer__copy {
    font-size: 12px;
    color: hsl(214 10% 65%);
}

.site-footer__disclaimer {
    display: block;
    margin-top: 16px;
    font-size: 11px;
    color: hsl(214 10% 72%);
}

/* Ocultar o footer padrão do portal nestas páginas */
footer.d-flex,
footer .title-medium {
    display: none !important;
}

/* ----------------------------------------------------------------
   RESPONSIVO
---------------------------------------------------------------- */
@media (min-width: 768px) {
    .gallery-card--large {
        width: 360px;
        height: 340px;
    }

    .gallery-card--small {
        width: 220px;
        height: 162px;
    }
}

/* ----------------------------------------------------------------
   PÁGINA DE DETALHE
---------------------------------------------------------------- */
.detail-page {
    position: relative;
    min-height: 100vh;
    padding-top: 65px;
}

.detail-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}



.detail-hero-section {
    max-width: 90rem;
}

.detail-hero__media {
    position: absolute;
    inset: 0;
}

    .detail-hero__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.detail-hero__shade-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, hsl(214 65% 8% / 0.9) 0%, hsl(214 65% 8% / 0.6) 38%, transparent 75%);
}

.detail-hero__shade-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, hsl(var(--background)) 0%, hsl(var(--background) / 0.4) 24%, transparent 55%);
}

.detail-hero__inner {
    position: relative;
    min-height: 37.5rem;
    display: flex;
    align-items: flex-start;
    padding: 4.25rem 4rem 2.5rem;
}

.floating-card {
    width: min(100%, 34rem);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    background: hsl(0 0% 100% / 0.95);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 40px -12px hsl(214 50% 20% / 0.3);
}

.floating-card__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.floating-card__logo {
    width: 4rem;
    height: 4rem;
    border-radius: 0.875rem;
    border: 1px solid hsl(var(--border));
    background: hsl(214 30% 96%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

    .floating-card__logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.floating-card__heading {
    min-width: 0;
}

    .floating-card__heading h1 {
        margin: 0;
        font-size: 1.75rem;
        line-height: 1.05;
        color: hsl(var(--primary));
    }

.floating-card__creci {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: hsl(214 20% 50%);
    font-size: 0.875rem;
}

.award-list {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.award-list-card {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid hsl(214 30% 88%);
    background: white;
    box-shadow: 0 2px 10px -8px hsl(var(--shadow-medium));
    max-width: 100%;
}

.award-list-card--fit {
    width: fit-content;
}

.award-list-card__line {
    width: 0.375rem;
    flex-shrink: 0;
}

.award-list-card__number {
    width: 3rem;
    margin-left: 0.75rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.award-list-card__content {
    min-width: 0;
    padding: 0.75rem 0.875rem 0.75rem 1rem;
}

.award-list-card__title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: hsl(214 30% 18%);
}

.award-list-card__meta {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.75rem;
    color: hsl(214 15% 50%);
}

.floating-card__description {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: hsl(214 20% 40%);
}

.floating-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.floating-card__button,
.share-button {
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.floating-card__button {
    min-height: 3rem;
    padding: 0.875rem 1.5rem;
    background: hsl(var(--primary-dark));
    color: white;
    border: 0;
    flex: 1 1 13rem;
    font-size: 0.875rem;
    font-weight: 600;
}

    .floating-card__button:hover {
        background: hsl(var(--institutional-green));
        transform: translateY(-1px);
    }

.share-button {
    min-height: 3rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid hsl(var(--border));
    color: hsl(214 20% 50%);
}

    .share-button:hover {
        background: hsl(214 30% 97%);
        border-color: hsl(var(--border-strong));
        color: hsl(214 60% 40%);
    }

.share-button__label {
    font-size: 0.8rem;
    font-weight: 600;
}

    .share-button__label.is-copied {
        color: hsl(var(--institutional-green));
    }

.detail-sections {
    width: min(100%, 64rem);
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.detail-block {
    margin-bottom: 2.5rem;
}

.detail-block__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .detail-block__header h2 {
        margin: 0;
        font-size: 1.375rem;
        color: hsl(var(--primary-dark));
        white-space: nowrap;
    }

.detail-block__line {
    flex: 1;
    height: 1px;
    background: hsl(214 30% 88%);
}

.crossref-grid {
    display: grid;
    gap: 1rem;
}

.crossref-grid--1 {
    max-width: 16rem;
    grid-template-columns: 1fr;
}

.crossref-grid--2 {
    max-width: 34rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crossref-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crossref-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid hsl(214 30% 88%);
    background: white;
    box-shadow: 0 8px 24px -18px hsl(var(--shadow-medium));
    padding: 1.25rem;
    text-align: center;
}

.crossref-card__number {
    display: inline-flex;
    justify-content: center;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 900;
}

.crossref-card__title {
    display: block;
    margin-top: 0.875rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: hsl(214 30% 18%);
}

.crossref-card__meta {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: hsl(214 15% 50%);
}

.crossref-card__line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.375rem;
}

.history-list {
    display: grid;
    gap: 0.75rem;
}

.history-item {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid hsl(214 30% 88%);
    background: white;
    box-shadow: 0 8px 24px -18px hsl(var(--shadow-medium));
}

.history-item__line {
    width: 0.375rem;
    flex-shrink: 0;
}

.history-item__number {
    width: 3rem;
    margin-left: .5px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.history-item__number--top10 {
    flex-direction: column;
    gap: 0;
}

    .history-item__number--top10 b {
        font-size: 0.5625rem;
        letter-spacing: 0.25em;
        position: relative;
        left: 2px;
    }

    .history-item__number--top10 strong {
        margin-top: -0.125rem;
        font-size: 1.3rem;
        letter-spacing: .2px;
    }

.history-item__content {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0.875rem 0.75rem 1rem;
}

.history-item__title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: hsl(214 30% 18%);
}

.history-item__meta {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.75rem;
    color: hsl(214 15% 50%);
}

@media (max-width: 1100px) {
    .site-header__nav  { display: none; }
    .header-icon-btn   { display: inline-flex; }
}

@media (max-width: 1023px) {
    .category-head {
        align-items: flex-start;
    }
    .topmaster-hero__content {
        padding: 96px 16px 64px;
    }
    .topmaster-hero__text {
        width: min(100%, 448px);
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .crossref-grid--2,
    .crossref-grid--3 {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

@media (max-width: 767px) {
    /* Hero */
    .home-hero__veil {
        background: linear-gradient(180deg, hsl(0 0% 100% / 0.92) 5%, hsl(0 0% 100% / 0.72) 35%, hsl(0 0% 100% / 0.08) 100%);
    }

    .home-hero__content {
        padding: 112px 16px 112px;
    }

    .home-hero__slides {
        left: -300px;
    }
    .hero-title {
        line-height: 1.1;
        font-size: 43px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-controls {
        right: 16px;
        bottom: 75px;
    }

    /* Info */
    .info-card {
        flex-direction: column;
        padding: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* Top master hero */
    .topmaster-hero {
        min-height: 55vh;
    }

    .topmaster-hero__overlay {
        background: linear-gradient(180deg, hsl(0 0% 100% / 0.95) 10%, hsl(0 0% 100% / 0.78) 40%, transparent 100%);
    }

    .topmaster-hero__text {
        width: 100%;
    }

    .topmaster-hero__content {
        padding: 96px 16px 64px;
    }

    .topmaster-title {
        font-size: 44px;
    }

    .topmaster-year span {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .podium-spacer {
        height: 2rem;
    }

    /* Subcategorias */
    .subcategories-heading__row i {
        width: 24px;
    }

    .subcategory__toggle h3 {
        white-space: normal;
    }

    .rank-list__creci {
        display: none;
    }

    /* Galeria */
    .gallery-card--large {
        width: 240px;
        height: 224px;
    }

    .gallery-card--small {
        width: 152px;
        height: 108px;
    }

    /* Detalhe */
    .detail-hero,
    .detail-hero__inner {
        min-height: 34rem;
    }

    .floating-card__identity {
        align-items: flex-start;
    }

    .floating-card__heading h1 {
        font-size: 1.4rem;
    }

    .floating-card__actions {
        flex-direction: column;
    }

    .floating-card__button,
    .share-button {
        width: 100%;
        height: fit-content;
        min-height: fit-content;
        flex: auto;
    }

    .award-list-card,
    .award-list-card--fit {
        width: 100%;
    }

    .history-list {
        grid-template-columns: 1fr;
    }

    .site-header__right .primary-action { display: none; }

    .home-hero__bottomfade {
        height: 500px;
    }

    .detail-hero__inner {
        padding: 20px;
        margin-bottom: 20px;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .hero-title {
        line-height: 1.1;
        font-size: 38px;
    }
}

@media (min-width: 1440px) {
    /* Hero Index — slides */
    .home-hero {
        min-height: 95vh;
    }

    .hero-slide img {
        object-position: center;
    }

    /* Hero Detalhe */
    .detail-hero {
        min-height: 85vh;
    }

    .detail-hero__inner {
        min-height: max(37.5rem, 70vh);
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .detail-hero__media img {
        object-position: top;
    }
}


