:root {
    --candace-black: #111111;
    --candace-dark: #1a1a1a;
    --candace-red: #c22026;
    --candace-gold: #f59e0b;
    --candace-yellow: #fbbf24;
    --candace-green: #2d6a4f;
    --candace-blue: #1e3a8a;
    --candace-terracotta: #c85a17;
    --candace-purple: #581c87;
    --candace-gray: #4b5563;
    --candace-light-gray: #f3f4f6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #222222;
    background-color: #fafaf9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* ====================================================================
   TOPO ESTILO GELEDÉS COM BLOCOS COLORIDOS
   ==================================================================== */
.header-candaces {
    background-color: #ffffff;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 1060 !important;
}

.header-top-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    margin: 0 !important;
    padding: 0 !important;
}

.brand-section {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    background-color: #ffffff;
    text-decoration: none;
    color: #111827;
    transition: opacity 0.2s;
    border-bottom: none !important;
    flex-shrink: 0;
}

.brand-section:hover {
    color: #111827;
    opacity: 0.9;
}

.brand-logo-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--candace-gold);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.brand-text-container {
    margin-left: 12px;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #111111;
    margin: 0;
}

.brand-subtitle {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--candace-red);
    margin: 0;
}

.brand-cnpj {
    font-size: 0.65rem;
    color: #6b7280;
    margin: 0;
}

/* Nav Wrapper e Menu - Compacto, alinhado à direita, sem esticar pela largura toda */
.geledes-nav-wrapper {
    height: 70px;
    align-self: stretch;
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.geledes-nav-menu {
    display: flex;
    align-items: stretch;
    height: 70px;
    width: auto;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    flex-wrap: nowrap;
}

.geledes-nav-item {
    display: flex;
    align-items: stretch;
    height: 70px;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
}

.geledes-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto;
    height: 70px;
    padding: 6px 14px;
    min-width: 100px;
    max-width: 125px;
    font-size: 0.70rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: filter 0.2s ease-in-out;
    line-height: 1.15;
    box-sizing: border-box;
    border-bottom: none !important;
}

.geledes-nav-link i {
    font-size: 1.12rem !important;
    margin-bottom: 2px !important;
    line-height: 1;
}

.geledes-nav-link span {
    display: block;
    max-width: 100%;
}

.geledes-nav-link:hover {
    filter: brightness(1.15);
    box-shadow: inset 0 -3px 0 #ffffff;
}

/* Cores específicas de cada bloco */
.nav-bg-green {
    background-color: #2e7d32;
}

.nav-bg-terracotta {
    background-color: #d97706;
}

.nav-bg-yellow {
    background-color: #b45309;
}

.nav-bg-blue {
    background-color: #0284c7;
}

.nav-bg-purple {
    background-color: #6d28d9;
}

.nav-bg-dark {
    background-color: #1e293b;
}

.nav-bg-red {
    background-color: #be123c;
}

.nav-bg-rose {
    background-color: #be185d;
}

/* Botão de destaque do cadastro na barra */
.nav-bg-highlight {
    background-color: var(--candace-red);
    position: relative;
}

.nav-bg-highlight::after {
    content: "⚡ 2 MIN";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #111827;
    font-size: 0.62rem;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ====================================================================
   HERO BANNER COM IMAGEM E CHAMADA
   ==================================================================== */
.hero-banner-section {
    position: relative !important;
    background: linear-gradient(135deg, #111111 0%, #262626 100%) !important;
    color: #ffffff;
    overflow: hidden !important;
    padding: 60px 0;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(194, 32, 38, 0.25) 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.hero-img-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(245, 158, 11, 0.5);
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.hero-img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
    border-left: 4px solid var(--candace-gold);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #ffffff;
}

.hero-title span {
    color: var(--candace-gold);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 30px;
}

.badge-candaces {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--candace-gold);
    border: 1px solid var(--candace-gold);
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

/* ====================================================================
   CARDS DE CURSOS
   ==================================================================== */
.course-card {
    border: 2px solid #1f2937;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    width: 100%;
    flex: 1 1 100%;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.25);
    border-color: var(--candace-gold);
}

.course-card-header {
    padding: 20px 22px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.course-card-body {
    padding: 10px 22px 20px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    margin-bottom: 10px;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #4b5563;
    height: 108px;
    min-height: 108px;
    max-height: 108px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-footer {
    margin-top: auto;
    width: 100%;
}

.course-icon-bubble {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fef3c7;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.course-icon-bubble i {
    display: inline-block;
    line-height: 1;
}

.course-meta-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

/* ====================================================================
   FORMULÁRIOS ESTILIZADOS
   ==================================================================== */
.form-box-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 35px;
}

.form-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: var(--candace-red);
}

/* ====================================================================
   RODAPÉ ESTILO GELEDÉS / MINIMALISTA DARK
   ==================================================================== */
.footer-candaces {
    background-color: #0b0b0b;
    color: #9ca3af;
    padding: 60px 0 25px;
    border-top: 4px solid var(--candace-gold);
    margin-top: auto;
}

.footer-logo-img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    border: 2px solid var(--candace-gold);
}

.footer-heading {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link-list a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.84rem;
    transition: color 0.2s;
}

.footer-link-list a:hover {
    color: var(--candace-gold);
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1f2937;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social-btn:hover {
    background: var(--candace-gold);
    color: #000000;
    transform: translateY(-3px);
}

.newsletter-input-box {
    background: #18181b !important;
    border: 1px solid #4b5563 !important;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.newsletter-input-box::placeholder {
    color: #ffffff !important;
    opacity: 0.85 !important;
}

.newsletter-input-box::-webkit-input-placeholder {
    color: #ffffff !important;
    opacity: 0.85 !important;
}

.newsletter-input-box::-moz-placeholder {
    color: #ffffff !important;
    opacity: 0.85 !important;
}

.newsletter-input-box:-ms-input-placeholder {
    color: #ffffff !important;
    opacity: 0.85 !important;
}

.newsletter-input-box:focus {
    background: #27272a !important;
    border-color: var(--candace-gold) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25) !important;
}

.footer-bottom-copyright {
    border-top: 1px solid #1f2937;
    margin-top: 45px;
    padding-top: 25px;
    text-align: center;
    font-size: 0.78rem;
    color: #ffffff;
}

.footer-bottom-copyright a {
    color: #ffffff !important;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s ease;
}

.footer-bottom-copyright a:hover {
    color: var(--candace-gold) !important;
}

/* ====================================================================
   MENU MOBILE ELEGANTE & OFFCANVAS HERDEIRAS DE CANDACES
   ==================================================================== */
.candace-mobile-btn {
    background: #111827;
    border: 1.5px solid var(--candace-gold);
    color: #ffffff;
    border-radius: 30px;
    padding: 7px 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.candace-mobile-btn:hover,
.candace-mobile-btn:focus,
.candace-mobile-btn:active {
    background: #1f2937;
    border-color: #fbbf24;
    color: #fbbf24;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
}

.candace-btn-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #f3f4f6;
    text-transform: uppercase;
}

.candace-hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 13px;
}

.candace-hamburger-icon .line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--candace-gold);
    border-radius: 2px;
    transition: all 0.2s ease;
}

.candace-hamburger-icon .line-2 {
    width: 65%;
    margin-left: auto;
}

/* Offcanvas Mobile Elegante & Sem Espaço Branco */
.candace-offcanvas {
    background: #0b1120 !important;
    color: #ffffff !important;
    border-left: 2px solid var(--candace-gold) !important;
    width: 330px !important;
    max-width: 86vw !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
}

.candace-offcanvas-header {
    background: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
}

.candace-drawer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--candace-gold);
    object-fit: cover;
}

.candace-drawer-subtitle {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--candace-gold);
}

.candace-close-btn {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.candace-close-btn:hover {
    opacity: 1;
}

.candace-offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0 !important;
    background: #0b1120;
    overflow-y: auto;
}

.candace-drawer-nav {
    padding: 18px 16px;
}

.candace-drawer-nav-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 12px;
    padding-left: 4px;
}

.candace-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.candace-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none !important;
    color: #f1f5f9 !important;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left-width: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.candace-mobile-link .link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.candace-mobile-link .icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.candace-mobile-link .link-arrow {
    color: #64748b;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.candace-mobile-link:hover,
.candace-mobile-link:active {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
    color: #ffffff !important;
}

.candace-mobile-link:hover .link-arrow {
    transform: translateX(3px);
    color: #ffffff;
}

/* Identidades visuais de cada item */
.candace-mobile-link.link-green {
    border-left-color: #22c55e;
}

.candace-mobile-link.link-green .icon-box {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.candace-mobile-link.link-red {
    border-left-color: #ef4444;
}

.candace-mobile-link.link-red .icon-box {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.candace-mobile-link.link-terracotta {
    border-left-color: #f97316;
}

.candace-mobile-link.link-terracotta .icon-box {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}

.candace-mobile-link.link-rose {
    border-left-color: #f43f5e;
}

.candace-mobile-link.link-rose .icon-box {
    background: rgba(244, 63, 94, 0.2);
    color: #fb7185;
}

.candace-mobile-link.link-yellow {
    border-left-color: #eab308;
}

.candace-mobile-link.link-yellow .icon-box {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
}

.candace-mobile-link.link-purple {
    border-left-color: #a855f7;
}

.candace-mobile-link.link-purple .icon-box {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

.candace-mobile-link.link-dark {
    border-left-color: #94a3b8;
}

.candace-mobile-link.link-dark .icon-box {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
}

.candace-mobile-link.link-blue {
    border-left-color: #38bdf8;
}

.candace-mobile-link.link-blue .icon-box {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.link-tag-inline {
    font-size: 0.65rem;
    font-weight: 800;
    color: #fca5a5;
    letter-spacing: 0.5px;
}

/* Footer do Drawer - Preenchimento Completo & Elegante */
.candace-drawer-footer {
    padding: 20px 16px 24px;
    background: #070a12;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.candace-drawer-whatsapp {
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 12px;
    padding: 11px;
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    border: none;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
    transition: transform 0.2s ease;
}

.candace-drawer-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.5);
}

.candace-drawer-social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.candace-drawer-social:hover {
    background: var(--candace-gold);
    color: #000000;
    transform: translateY(-2px);
}

/* Bloco de Texto Justificado (História & Propósito) */
.text-justified-block {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: auto;
    line-height: 1.7;
}

/* ====================================================================
   RESPONSIVIDADE & AJUSTES DE TELAS
   ==================================================================== */
@media (max-width: 991px) {
    .header-top-row {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 68px;
        padding: 6px 16px !important;
    }

    .brand-section {
        padding: 4px 0 !important;
        max-width: calc(100% - 110px);
    }

    .brand-logo-img {
        height: 50px;
        width: 50px;
        border-width: 2px;
    }

    .brand-text-container {
        margin-left: 10px;
    }

    .brand-title {
        font-size: 1.05rem;
        line-height: 1.15;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }

    .brand-cnpj {
        font-size: 0.62rem;
    }

    /* Centralização no Hero Mobile */
    .hero-text-col {
        text-align: center !important;
    }

    .badge-candaces {
        display: inline-flex !important;
        margin: 0 auto 16px auto !important;
    }

    .hero-title {
        font-size: 1.9rem !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-subtitle {
        font-size: 1.05rem !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        line-height: 1.6 !important;
    }

    .hero-btn-group {
        justify-content: center !important;
    }

    .hero-btn-group .btn {
        width: 100% !important;
    }

    .hero-indicators-row {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Encaixe 100% da Foto da Mulher no Mobile */
    .hero-img-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 15px !important;
        border-radius: 16px !important;
    }

    .hero-img {
        width: 100% !important;
        height: 380px !important;
        object-fit: cover !important;
        object-position: center 15% !important;
        margin-top: 0 !important;
        display: block !important;
    }

    .hero-img-badge {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 0.95rem;
    }

    .brand-cnpj {
        display: none;
    }

    .candace-btn-text {
        display: none;
    }

    .candace-mobile-btn {
        padding: 8px 10px;
        border-radius: 50%;
        width: 42px;
        height: 42px;
        justify-content: center;
    }

    .candace-hamburger-icon {
        width: 16px;
        height: 12px;
    }

    .hero-img {
        height: 320px !important;
    }

    .hero-title {
        font-size: 1.65rem !important;
    }
}

/* ====================================================================
   GALERIA DE ÁLBUNS & FOTOS (ESTILO FLAMENGO / MENGOFOLIA / ANEXOS 2, 3, 4 E 5)
   ==================================================================== */
.gallery-hero-banner {
    background: linear-gradient(135deg, #450a0a 0%, #1e1b4b 100%);
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-hero-title {
    letter-spacing: 1.5px;
    color: #ffffff;
    font-weight: 900;
}

/* Pílulas de Filtro de Categoria */
.gallery-filter-pill {
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #4b5563;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.gallery-filter-pill:hover {
    color: #111827;
    background: #e5e7eb;
}

.gallery-filter-pill.active {
    background: var(--candace-red);
    color: #ffffff;
    border-color: var(--candace-red);
    box-shadow: 0 4px 12px rgba(194, 32, 38, 0.35);
}

/* Card do Álbum (Proporção Uniforme, 3 Colunas, Sem Rebarba - Anexo 2, 3, 4) */
.album-card-link {
    display: block;
    height: 100%;
}

.album-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

/* Capa Quadrada Perfeita 1:1 sem distorção */
.album-cover-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #111827;
    overflow: hidden;
}

.album-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.album-card:hover .album-cover-img {
    transform: scale(1.05);
}

/* Badges sobre a capa */
.album-photos-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(4px);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.album-category-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(194, 32, 38, 0.9);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.album-hover-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}

.album-card:hover .album-hover-backdrop {
    opacity: 1;
}

.album-hover-action {
    background: var(--candace-gold);
    color: #111827;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    transform: translateY(6px);
    transition: transform 0.25s ease;
}

.album-card:hover .album-hover-action {
    transform: translateY(0);
}

/* Bloco de Informações do Álbum (Tipografia Limpa Estilo Flamengo Anexos 2 e 3) */
.album-info-container {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.album-info-title {
    font-size: 1.02rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.album-info-date {
    font-size: 0.86rem;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.album-info-desc {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album-info-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--candace-red);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Paginação Estilo Anexo 2 (< 01 02 03 >) */
.gallery-pagination {
    gap: 8px;
}

.btn-pagination-nav {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px 10px;
    transition: color 0.2s ease;
}

.btn-pagination-nav:hover {
    color: var(--candace-red);
}

.btn-pagination-num {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    position: relative;
    transition: color 0.2s ease;
}

.btn-pagination-num:hover {
    color: #111827;
}

.btn-pagination-num.active {
    color: var(--candace-red);
    font-weight: 900;
}

.btn-pagination-num.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: var(--candace-red);
    border-radius: 2px;
}

/* ====================================================================
   PÁGINA DO ÁLBUM: GRID LINEAR ADAPTATIVO & LIGHTBOX (ANEXO 5)
   ==================================================================== */
.linear-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

@media (min-width: 992px) {
    .linear-photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.linear-photo-item {
    cursor: pointer;
    outline: none;
}

.linear-photo-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 8px;
    overflow: hidden;
    background: #181c26;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.linear-photo-item:hover .linear-photo-box,
.linear-photo-item:focus .linear-photo-box {
    transform: translateY(-4px);
    border-color: var(--candace-gold);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.linear-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.linear-photo-item:hover .linear-photo-img {
    transform: scale(1.04);
}

/* Overlay inferior com gradiente e título (Estilo Anexo 5: Nova Iguaçu, Flamengo, etc.) */
.linear-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 14px 16px;
}

.linear-photo-caption {
    flex-grow: 1;
    padding-right: 10px;
}

.linear-photo-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.linear-photo-sub {
    color: #cbd5e1;
    font-size: 0.78rem;
    margin-bottom: 0;
    opacity: 0.85;
}

.linear-photo-zoom {
    color: var(--candace-gold);
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.linear-photo-item:hover .linear-photo-zoom {
    opacity: 1;
    transform: scale(1.15);
}

/* ====================================================================
   LIGHTBOX FULLSCREEN COM BOTÕES DE NAVEGAÇÃO ENTRE FOTOS (ANEXO 5)
   ==================================================================== */
.album-lightbox-modal .modal-content {
    background-color: rgba(5, 7, 12, 0.96) !important;
    backdrop-filter: blur(10px);
}

.lightbox-stage {
    min-height: 100vh;
}

.lightbox-hero-img {
    max-height: 72vh;
    max-width: 90vw;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    transition: opacity 0.18s ease;
}

.btn-lightbox-icon-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-lightbox-icon-close:hover {
    background: var(--candace-red);
    transform: rotate(90deg);
}

/* Botões Flutuantes de Navegação Lateral */
.btn-lightbox-floating-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1055;
}

.btn-lightbox-floating-nav:hover {
    background: var(--candace-gold);
    color: #111827;
    border-color: var(--candace-gold);
    transform: translateY(-50%) scale(1.1);
}

.btn-lightbox-nav-left {
    left: 20px;
}

.btn-lightbox-nav-right {
    right: 20px;
}

@media (max-width: 768px) {
    .btn-lightbox-floating-nav {
        width: 46px;
        height: 46px;
        font-size: 1.6rem;
    }
    .btn-lightbox-nav-left { left: 8px; }
    .btn-lightbox-nav-right { right: 8px; }
}

/* Barra de Controle Inferior com Botões de Próxima/Anterior e Contador */
.lightbox-control-bar {
    width: 100%;
    max-width: 760px;
    background: rgba(18, 24, 38, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}