/* Site.css - Escola Galusa
   Mesma linguagem visual da Biblioteca Digital (logic.systems.school.galosa.Library):
   Inter, cor primária #e4563e, cards brancos arredondados que "flutuam" no hover.
   Regra da casa: textos sempre com cores sólidas (sem rgba/opacity no texto). */

/* ===== VARIÁVEIS ===== */
:root {
    --primary: #e4563e;
    --primary-light: #ff7a5e;
    --primary-dark: #c73e2a;
    --primary-soft: #fdeeea;
    --text-dark: #000000;
    --text-body: #000000;
    --text-muted: #000000;
    /* Bootstrap: textos secundários (form-text, breadcrumb, etc.) também a preto */
    --bs-body-color: #000000;
    --bs-secondary-color: #000000;
    --bs-emphasis-color: #000000;
    --bg-page: #fafbfc;
    --bg-soft: #f3f5f8;
    --border-light: #e9ecef;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 14px 30px rgba(228, 86, 62, 0.14);
    --transition: all 0.25s ease;
    --nav-height: 64px;
}

/* ===== BASE ===== */
html {
    scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--nav-height);
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--primary);
}

    a:hover {
        color: var(--primary-dark);
    }

.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* ===== BOTÕES ===== */
.btn {
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.4rem;
    transition: var(--transition);
}

.btn-sm {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.75rem 1.8rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: var(--primary-dark) !important;
        border-color: var(--primary-dark) !important;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(228, 86, 62, 0.3);
    }

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

    .btn-outline-primary:hover, .btn-outline-primary.active {
        background-color: var(--primary);
        border-color: var(--primary);
        color: #fff;
    }

.btn-white {
    background: #fff;
    color: var(--primary);
    border: 2px solid #fff;
}

    .btn-white:hover {
        background: var(--primary-soft);
        color: var(--primary-dark);
        border-color: var(--primary-soft);
        transform: translateY(-2px);
    }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

    .btn-outline-white:hover {
        background: #fff;
        color: var(--primary);
    }

/* ===== NAVBAR (igual à Biblioteca: fixa, fina, cor primária) ===== */
.site-navbar {
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(228, 86, 62, 0.25);
    min-height: var(--nav-height);
    z-index: 1030;
}

    .site-navbar .navbar-brand {
        font-size: 0.95rem;
        color: #fff;
    }

        .site-navbar .navbar-brand img {
            background-color: #fff;
            border-radius: 6px;
            padding: 2px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: 36px;
            width: auto;
        }

    .site-navbar .brand-title {
        font-weight: 700;
        font-size: 0.95rem;
        line-height: 1.2;
        color: #fff;
    }

    .site-navbar .brand-subtitle {
        font-size: 0.65rem;
        color: #fff;
        font-weight: 500;
    }

    .site-navbar .nav-link {
        color: #fff !important;
        font-weight: 500;
        font-size: 0.85rem;
        border-radius: 20px;
        margin: 0 1px;
        transition: var(--transition);
    }

        .site-navbar .nav-link:hover,
        .site-navbar .nav-link.active,
        .site-navbar .nav-item.show > .nav-link {
            background-color: var(--primary-dark);
        }

    .site-navbar .dropdown-menu {
        border: none;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
        padding: 0.5rem;
        min-width: 220px;
    }

    .site-navbar .dropdown-item {
        border-radius: 8px;
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
        color: var(--text-dark);
        font-weight: 500;
    }

        .site-navbar .dropdown-item i {
            color: var(--primary);
            width: 20px;
            display: inline-block;
        }

        .site-navbar .dropdown-item:hover,
        .site-navbar .dropdown-item.active {
            background-color: var(--primary-soft);
            color: var(--primary-dark);
        }

    .site-navbar .navbar-toggler {
        border: none;
        color: #fff;
        font-size: 1.6rem;
        padding: 0.25rem 0.5rem;
    }

        .site-navbar .navbar-toggler:focus {
            box-shadow: none;
        }

    .site-navbar .btn-inscricao {
        background: #fff;
        color: var(--primary);
        border-radius: 30px;
        font-weight: 700;
        font-size: 0.85rem;
        padding: 0.4rem 1.1rem;
        white-space: nowrap;
    }

        .site-navbar .btn-inscricao:hover {
            background: var(--primary-soft);
            color: var(--primary-dark);
        }

.user-avatar {
    width: 28px;
    height: 28px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

@media (min-width: 1200px) {
    .site-navbar .nav-link {
        padding: 0.35rem 0.75rem !important;
    }

    /* Dropdowns abrem com hover no desktop */
    .site-navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .site-navbar .dropdown > .dropdown-menu {
        top: 100%;
    }
}

@media (max-width: 1199.98px) {
    .site-navbar .navbar-collapse {
        background-color: var(--primary);
        padding: 0.5rem 0 1rem;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }

    .site-navbar .nav-link {
        padding: 0.6rem 0.9rem !important;
        font-size: 0.95rem;
    }

    .site-navbar .dropdown-menu {
        box-shadow: none;
        background: var(--primary-dark);
        margin: 0 0.5rem 0.5rem;
    }

    .site-navbar .dropdown-item,
    .site-navbar .dropdown-item i {
        color: #fff;
    }

        .site-navbar .dropdown-item:hover {
            background: var(--primary);
            color: #fff;
        }
}

/* ===== SECÇÕES ===== */
.section {
    padding: 4.5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-soft {
    background-color: var(--bg-soft);
}

.section-white {
    background-color: #fff;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

    .section-title .accent {
        color: var(--primary);
    }

.section-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.section-head-inline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

    .section-head-inline .section-title {
        margin-bottom: 0.25rem;
    }

.link-more {
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

    .link-more i {
        transition: transform 0.2s ease;
    }

    .link-more:hover i {
        transform: translateX(4px);
    }

/* ===== CABEÇALHO DAS PÁGINAS INTERNAS ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 3rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

    .page-header::after {
        content: '';
        position: absolute;
        right: -120px;
        top: -120px;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        border: 50px solid #ea6e59;
    }

    .page-header .container {
        position: relative;
        z-index: 1;
    }

    .page-header h1 {
        color: #fff;
        font-size: 2.2rem;
        font-weight: 800;
        margin-bottom: 0.4rem;
    }

    .page-header p {
        color: #fff;
        font-size: 1.05rem;
        margin-bottom: 0;
        max-width: 640px;
    }

    .page-header .breadcrumb {
        margin-bottom: 1rem;
        font-size: 0.8rem;
        font-weight: 500;
    }

        .page-header .breadcrumb a {
            color: #fff;
            text-decoration: none;
        }

            .page-header .breadcrumb a:hover {
                text-decoration: underline;
            }

    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item.active,
    .page-header .breadcrumb-item + .breadcrumb-item::before {
        color: #fff;
    }

/* Conteúdo que "sobe" sobre o cabeçalho (cards flutuantes) */
.page-body {
    margin-top: -2.5rem;
    position: relative;
    z-index: 2;
    padding-bottom: 4rem;
}

/* ===== CARDS FLUTUANTES ===== */
.g-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.g-card-hover:hover,
a.g-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #f6cfc6;
}

a.g-card {
    text-decoration: none;
    color: inherit;
}

.g-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.g-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
}

    .g-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.g-card:hover .g-card-img img {
    transform: scale(1.06);
}

.g-card-tag {
    position: absolute;
    left: 1rem;
    top: 1rem;
    background: #fff;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.g-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.g-card-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.g-card .card-actions {
    margin-top: auto;
}

.panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    padding: 2rem;
}

.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.g-card:hover .icon-badge {
    background: var(--primary);
    color: #fff;
}

.icon-badge-sm {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.15rem;
}

/* Lista com visto */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .check-list li {
        position: relative;
        padding-left: 1.9rem;
        margin-bottom: 0.6rem;
    }

        .check-list li::before {
            content: '\F26E';
            font-family: 'bootstrap-icons';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--primary);
            font-size: 1.1rem;
            line-height: 1.5;
        }

/* Imagem arredondada com sombra */
.img-rounded {
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    width: 100%;
    object-fit: cover;
}

/* Faixa de destaque (CTA) */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    color: #fff;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

    .cta-band::before {
        content: '';
        position: absolute;
        left: -80px;
        bottom: -80px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        border: 40px solid #ea6e59;
    }

    .cta-band > * {
        position: relative;
    }

    .cta-band h2, .cta-band h3, .cta-band p {
        color: #fff;
    }

.callout {
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    color: var(--text-body);
}

/* ===== CARROSSEL DA HOME ===== */
.hero-carousel {
    position: relative;
    background: #1a202c;
}

    .hero-carousel .carousel-item {
        height: 68vh;
        min-height: 420px;
        max-height: 720px;
        background-color: #1a202c;
    }

    .hero-carousel .hero-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Escurecimento por cima da imagem: a opacidade é definida por slide
       (automática, calculada pelo brilho da imagem, ou manual no backoffice) */
    .hero-carousel .hero-overlay {
        position: absolute;
        inset: 0;
        background: #000;
        opacity: var(--overlay, 0.45);
        transition: opacity 0.4s ease;
    }

    .hero-carousel .hero-content {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        align-items: center;
    }

        .hero-carousel .hero-content.align-center {
            justify-content: center;
            text-align: center;
        }

            .hero-carousel .hero-content.align-center .hero-text {
                margin: 0 auto;
            }

    .hero-carousel .hero-text {
        max-width: 720px;
    }

    .hero-carousel h1 {
        color: #fff;
        font-size: 3.2rem;
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 1rem;
        text-shadow: 0 2px 12px rgba(0,0,0,0.35);
    }

    .hero-carousel .hero-subtitle {
        color: #fff;
        font-size: 1.2rem;
        margin-bottom: 1.75rem;
        text-shadow: 0 1px 8px rgba(0,0,0,0.35);
    }

    .hero-carousel .carousel-indicators [data-bs-target] {
        width: 28px;
        height: 4px;
        border-radius: 4px;
        background-color: #fff;
        border: 0;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 64px;
        opacity: 1;
    }

    .hero-carousel .carousel-nav-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #fff;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        transition: var(--transition);
    }

    .hero-carousel .carousel-control-prev:hover .carousel-nav-btn,
    .hero-carousel .carousel-control-next:hover .carousel-nav-btn {
        background: var(--primary);
        color: #fff;
    }

/* Barra de atalhos que flutua sobre o fim do carrossel */
.quick-links {
    margin-top: -3rem;
    position: relative;
    z-index: 5;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.25rem;
}

    .quick-link strong {
        display: block;
        color: var(--text-dark);
        font-size: 0.95rem;
    }

    .quick-link small {
        color: var(--text-muted);
        font-size: 0.8rem;
    }

/* ===== FLYERS (imagens com dizeres) ===== */
.flyer-card .flyer-img {
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    aspect-ratio: 4 / 5;
}

    .flyer-card .flyer-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 10px;
    }

/* ===== PODCAST ===== */
.podcast-card .g-card-img {
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.podcast-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .podcast-play span {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: var(--primary);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        transition: var(--transition);
        padding-left: 4px;
    }

.podcast-card:hover .podcast-play span {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.podcast-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.podcast-featured {
    background: #1a202c;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

    .podcast-featured .featured-info {
        padding: 2.5rem;
        color: #fff;
    }

        .podcast-featured .featured-info h3,
        .podcast-featured .featured-info p {
            color: #fff;
        }

        .podcast-featured .featured-info .podcast-meta {
            color: #fff;
        }

.video-modal .modal-content {
    background: #000;
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-modal .btn-close-video {
    position: absolute;
    right: 0;
    top: -44px;
    color: #fff;
    font-size: 1.8rem;
    background: none;
    border: none;
    line-height: 1;
}

/* ===== BOLETIM ===== */
.boletim-cover {
    max-width: 340px;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    transform: rotate(-2deg);
    transition: var(--transition);
}

    .boletim-cover:hover {
        transform: rotate(0deg) scale(1.02);
    }

.download-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    flex-direction: row;
}

    .download-item .download-text {
        flex: 1;
        min-width: 0;
    }

        .download-item .download-text strong {
            display: block;
            font-size: 0.95rem;
            text-transform: capitalize;
        }

        .download-item .download-text small {
            color: var(--text-muted);
            text-transform: capitalize;
        }

    .download-item .download-arrow {
        color: var(--primary);
        font-size: 1.2rem;
    }

/* ===== GALERIA ===== */
.gallery-card {
    cursor: zoom-in;
}

    .gallery-card .g-card-img {
        aspect-ratio: 4 / 3;
    }

/* ===== MAPA ===== */
.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    line-height: 0;
}

    .map-frame iframe {
        width: 100%;
        height: 400px;
        border: 0;
    }

/* ===== FOOTER ===== */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    padding-top: 3.5rem;
}

    .site-footer h6 {
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 1rem;
        color: var(--text-dark);
    }

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

    .site-footer li {
        margin-bottom: 0.5rem;
    }

    .site-footer a {
        color: var(--text-muted);
        text-decoration: none;
        transition: var(--transition);
    }

        .site-footer a:hover {
            color: var(--primary);
        }

    .site-footer .footer-brand img {
        height: 44px;
        border-radius: 8px;
    }

    .site-footer .footer-bottom {
        border-top: 1px solid var(--border-light);
        padding: 1.25rem 0;
        margin-top: 2.5rem;
        color: var(--text-muted);
        font-size: 0.8rem;
    }

    .site-footer i.bi {
        color: var(--primary);
    }

.social-link {
    width: 36px;
    height: 36px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

    .site-footer .social-link i.bi {
        color: inherit;
    }

    .social-link:hover {
        background: var(--primary);
        color: #fff !important;
        transform: translateY(-2px);
    }

/* ===== BOTÕES SOCIAIS FLUTUANTES ===== */
.social-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

    .social-float a,
    .social-float button {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.25rem;
        text-decoration: none;
        border: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        transition: var(--transition);
    }

        .social-float a:hover,
        .social-float button:hover {
            transform: scale(1.1);
            color: #fff;
        }

    .social-float .sf-whatsapp {
        width: 58px;
        height: 58px;
        font-size: 1.8rem;
        background: #25D366;
    }

    .social-float .sf-instagram {
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    }

    .social-float .sf-facebook {
        background: #1877F2;
    }

    .social-float .sf-tiktok {
        background: #000;
    }

    .social-float .sf-top {
        background: var(--primary);
        width: 40px;
        height: 40px;
        font-size: 1rem;
        display: none;
    }

        .social-float .sf-top.visible {
            display: flex;
        }

@media (max-width: 576px) {
    .social-float {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

        .social-float a {
            width: 40px;
            height: 40px;
            font-size: 1.05rem;
        }

        .social-float .sf-whatsapp {
            width: 52px;
            height: 52px;
            font-size: 1.6rem;
        }
}

/* ===== FORMULÁRIOS ===== */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid #d9dee5;
    padding: 0.6rem 0.9rem;
    font-size: 0.92rem;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(228, 86, 62, 0.15);
    }

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-range::-webkit-slider-thumb {
    background: var(--primary);
}

.form-range::-moz-range-thumb {
    background: var(--primary);
}

/* ===== TABELAS ===== */
.table-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

    .table-card .table-card-header {
        background: var(--primary);
        color: #fff;
        padding: 1rem 1.5rem;
        font-weight: 700;
        font-size: 1.05rem;
    }

        .table-card .table-card-header i {
            margin-right: 0.5rem;
        }

    .table-card .table {
        margin-bottom: 0;
        font-size: 0.9rem;
    }

        .table-card .table td, .table-card .table th {
            vertical-align: middle;
            padding: 0.7rem 1rem;
        }

/* ===== BACKOFFICE ===== */
.admin-header {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

    .admin-header h1 {
        font-size: 1.5rem;
        font-weight: 800;
        margin: 0;
    }

    .admin-header .breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

.admin-thumb {
    width: 96px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg-soft);
}

.admin-thumb-contain {
    object-fit: contain;
}

.status-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 30px;
}

.status-live {
    background: #dcfce7;
    color: #166534;
}

.status-scheduled {
    background: #e0e7ff;
    color: #3730a3;
}

.status-expired {
    background: #f1f5f9;
    color: #475569;
}

.status-off {
    background: #fee2e2;
    color: #991b1b;
}

.img-preview {
    max-width: 100%;
    max-height: 240px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--bg-soft);
}

.slide-preview {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: #1a202c;
}

    .slide-preview img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .slide-preview .hero-overlay {
        position: absolute;
        inset: 0;
        background: #000;
    }

    .slide-preview .preview-text {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1rem;
        color: #fff;
    }

        .slide-preview .preview-text strong {
            font-size: 1.4rem;
            color: #fff;
        }

        .slide-preview .preview-text span {
            color: #fff;
        }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 991.98px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero-carousel h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.6rem;
    }

    .page-header {
        padding: 2.25rem 0 4rem;
    }

        .page-header h1 {
            font-size: 1.75rem;
        }

    .hero-carousel .carousel-item {
        height: 60vh;
        min-height: 380px;
    }

    .hero-carousel h1 {
        font-size: 2rem;
    }

    .hero-carousel .hero-subtitle {
        font-size: 1rem;
    }

    .cta-band {
        padding: 2rem 1.5rem;
    }

    .panel {
        padding: 1.5rem;
    }

    .quick-links {
        margin-top: -2rem;
    }
}

/* Atalho para o backoffice na navbar (só para quem tem sessão iniciada) */
.site-navbar .nav-link.nav-backoffice {
    background-color: var(--primary-dark);
}

    .site-navbar .nav-link.nav-backoffice:hover {
        background-color: #a83322;
    }
