/* ===== VARIÁVEIS CSS ===== */
:root {
    /* Cores Primárias - Paleta de Autoridade */
    --primary-color: #1b1b1b; /* Azul escuro autoritário */
    --secondary-color: #f8fafc; /* Cinza muito claro */
    --accent-color: #d97706; /* Dourado autoritário */
    --accent-secondary: #b45309; /* Dourado escuro */
    --text-primary: #333333; /* Azul escuro para textos */
    --text-secondary: #4a4a4a; /* Cinza azulado médio */
    --text-light: #6b6b6b; /* Cinza azulado claro */
    
    /* Cores Neutras */
    --white: #ffffff;
    --light-gray: #f1f5f9; /* Cinza azulado muito claro */
    --gray: #cbd5e1; /* Cinza azulado médio */
    --dark-gray: #334155; /* Cinza azulado escuro */
    --black: #1f1f1f; /* Azul muito escuro */
    
    /* Gradientes Autoritários */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, #313131 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    --authority-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--black) 100%);
    
    /* Sombras Profissionais */
    --shadow-sm: 0 1px 3px rgba(51, 51, 51, 0.1);
    --shadow-md: 0 4px 6px rgba(51, 51, 51, 0.15);
    --shadow-lg: 0 10px 25px rgba(51, 51, 51, 0.2);
    
    /* Transições Suaves */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    
    /* Border Radius Minimalista */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* Espaçamentos Compactos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}


/* ===== CORREÇÕES ESPECÍFICAS DO HERO ===== */
/* Garantir que o hero tenha sempre contraste adequado */
.hero-section {
    background: var(--primary-color);
    position: relative;
}


/* Fallback para quando o vídeo não carrega - REMOVIDO O ::before que estava cobrindo o vídeo */
/* .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--authority-gradient);
    z-index: 1;
} */

/* Garantir que textos do hero sejam sempre brancos e legíveis */
.hero-title,
.hero-subtitle {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
    position: relative;
    z-index: 2;
}

/* Overlay mais escuro para melhor contraste */
.hero-overlay {
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.6) 0%, rgba(51, 51, 51, 0.5) 100%);
    z-index: 1;
}

/* Garantir que botões do hero tenham contraste adequado */
.hero-buttons .btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.hero-buttons .btn-outline-light:hover {
    background: #ffffff;
    color: var(--text-primary);
    border-color: #ffffff;
}

.hero-buttons .btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.hero-buttons .btn-primary:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Garantir que o container do hero tenha z-index adequado */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Estilo para quando o vídeo falha */
.hero-section.video-fallback .hero-fallback {
    display: block !important;
}

.hero-section.video-fallback .hero-video {
    display: none;
}

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TIPOGRAFIA MODERNA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2rem;
    font-weight: 200;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.01em;
}

/* ===== HEADER AUTORITÁRIO REFORMULADO ===== */
#mainHeader {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    box-shadow: 0 4px 20px rgba(51, 51, 51, 0.08);
    transition: all var(--transition-normal);
    z-index: 1000;
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

/* Header no scroll */
#mainHeader.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(51, 51, 51, 0.15);
    box-shadow: 0 8px 32px rgba(51, 51, 51, 0.12);
    padding: 0.5rem 0;
}


/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    transition: transform var(--transition-fast);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 0.6s ease-out forwards;
    animation-delay: 0s;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand .logo {
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand .logo-light {
    opacity: 1;
    transform: scale(1);
}

.navbar-brand .logo-dark {
    opacity: 0;
    transform: scale(0.9);
    position: absolute;
}


/* Links de navegação */
.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    position: relative;
    letter-spacing: 0.01em;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 0.6s ease-out forwards;
}

/* Delays escalonados para cada item do menu */
.navbar-nav .nav-item:nth-child(1) .nav-link {
    animation-delay: 0.1s;
}

.navbar-nav .nav-item:nth-child(2) .nav-link {
    animation-delay: 0.2s;
}

.navbar-nav .nav-item:nth-child(3) .nav-link {
    animation-delay: 0.3s;
}

.navbar-nav .nav-item:nth-child(4) .nav-link {
    animation-delay: 0.4s;
}

.navbar-nav .nav-item:nth-child(5) .nav-link {
    animation-delay: 0.5s;
}

.navbar-nav .nav-item:nth-child(6) .nav-link {
    animation-delay: 0.6s;
}

.navbar-nav .nav-item:nth-child(7) .nav-link {
    animation-delay: 0.7s;
}

.navbar-nav .nav-item:nth-child(8) .nav-link {
    animation-delay: 0.8s;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(51, 51, 51, 0.1), transparent);
    transition: left var(--transition-slow);
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(51, 51, 51, 0.05);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(51, 51, 51, 0.1);
    font-weight: 600;
}


/* Dropdown */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(51, 51, 51, 0.1);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(51, 51, 51, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    animation: dropdownFadeIn 0.3s ease-out;
}


.dropdown-item {
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-fast);
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: height var(--transition-fast);
}

.dropdown-item:hover {
    color: var(--primary-color);
    background: rgba(51, 51, 51, 0.05);
    transform: translateX(5px);
}

.dropdown-item:hover::before {
    height: 100%;
}


/* Botões do header */
.navbar-nav .btn {
    border-radius: var(--border-radius-md);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Botão administrativo */
.admin-access {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 0.6s ease-out forwards;
    animation-delay: 0.9s;
    color: var(--primary-color);

}

.navbar-nav .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.navbar-nav .btn:hover::before {
    left: 100%;
}

.navbar-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 51, 51, 0.2);
}


/* Toggle do menu mobile */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeDown 0.6s ease-out forwards;
    animation-delay: 1s;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(51, 51, 51, 0.25);
}

.navbar-toggler-icon {
    transition: transform var(--transition-fast);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

/* Animações */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 1rem !important;
        margin: 0.25rem 0;
        border-radius: var(--border-radius-md);
    }
    
    .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    
    .dropdown-item {
        padding: 0.75rem 2rem;
        border-radius: var(--border-radius-md);
    }
}

/* ===== CARDS DE REUNIÕES MINIMALISTAS ===== */
.meeting-schedule {
    margin-top: 2rem;
}

.meeting-card {
    background: var(--white);
    border: 1px solid rgba(51, 51, 51, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.meeting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.meeting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(51, 51, 51, 0.1);
    border-color: rgba(51, 51, 51, 0.15);
}

.meeting-card:hover::before {
    transform: scaleX(1);
}


.meeting-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.meeting-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.meeting-card:hover .meeting-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.3);
}

.meeting-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.meeting-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meeting-time i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

.meeting-description {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: 2.5rem;
}

.meeting-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(51, 51, 51, 0.08);
}

.meeting-location i {
    color: var(--primary-color);
    font-size: 0.8rem;
}


/* Responsividade dos cards */
@media (max-width: 768px) {
    .meeting-card {
        padding: 1.5rem;
    }
    
    .meeting-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .meeting-icon i {
        font-size: 1.25rem;
    }
    
    .meeting-title {
        font-size: 1rem;
    }
    
    .meeting-description {
        min-height: auto;
    }
}

/* ===== PÁGINA DE CULTO AO VIVO ===== */
.live-status {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Container do vídeo */
.video-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    background: var(--black);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
    border-top: 1px solid rgba(51, 51, 51, 0.1);
}

/* Cards de informação */
.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    height: 100%;
    transition: all var(--transition-normal);
    border: 1px solid rgba(51, 51, 51, 0.08);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

.info-card h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Cards de próximos cultos */
.next-service-card {
    background: var(--white);
    border: 1px solid rgba(51, 51, 51, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
    height: 100%;
}

.next-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(51, 51, 51, 0.15);
}

.service-date {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.service-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.service-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.9;
}

.service-info {
    flex: 1;
}

.service-info h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.service-info p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}


/* Responsividade */
@media (max-width: 768px) {
    .live-status {
        padding: 1.5rem;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .next-service-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .service-date {
        min-width: 60px;
        padding: 0.75rem;
    }
    
    .service-date .day {
        font-size: 1.25rem;
    }
}

/* ===== HERO SECTION MINIMALISTA ===== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-color);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    /* Melhorar compatibilidade */
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -o-object-fit: cover;
    /* Garantir que o vídeo seja visível */
    display: block;
    opacity: 1;
    /* Forçar visibilidade */
    visibility: visible;
    /* Garantir que não seja coberto */
    pointer-events: none;
}

/* Garantir que o vídeo seja sempre visível */
.hero-video:not([style*="display: none"]) {
    display: block !important;
}

/* Fallback para navegadores que não suportam object-fit */
@supports not (object-fit: cover) {
    .hero-video {
        width: auto;
        height: auto;
        min-width: 100%;
        min-height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.hero-fallback {
    width: 100%;
    height: 100%;
    background: var(--authority-gradient);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: none; /* Só mostra se o vídeo falhar */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.4) 0%, rgba(51, 51, 51, 0.3) 100%);
    z-index: 1;
}

/* Garantir que o conteúdo fique acima do vídeo */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.04em;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    opacity: 0.95;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    position: relative;
    z-index: 2;
}

.hero-buttons .btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 300;
    font-size: 0.9rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
}

.hero-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 1px solid var(--white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* ===== BOTÕES MINIMALISTAS ===== */
.btn {
    border-radius: var(--border-radius-md);
    font-weight: 300;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: var(--accent-color);
}

.btn-outline-primary {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border: 1px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== BOTÕES AUTORITÁRIOS ===== */
.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    border: none;
    font-weight: 400;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    font-weight: 400;
}

.btn-outline-primary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== CARDS MINIMALISTAS ===== */
.card {
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    overflow: hidden;
    border: none;
    background: var(--white);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: var(--spacing-lg);
}

.feature-icon {
    color: var(--accent-color);
    transition: transform var(--transition-fast);
    font-weight: 200;
}

.card:hover .feature-icon {
    transform: scale(1.05);
}

/* ===== CARDS AUTORITÁRIOS ===== */
.card {
    border: 1px solid var(--gray);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.feature-icon {
    color: var(--accent-color);
    transition: transform var(--transition-fast);
    font-weight: 200;
}

.card:hover .feature-icon {
    transform: scale(1.05);
    color: var(--accent-secondary);
}

/* ===== BADGES MINIMALISTAS ===== */
.badge {
    font-weight: 400;
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
}

/* ===== BADGES AUTORITÁRIOS ===== */
.badge {
    font-weight: 400;
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
}

.badge.bg-primary {
    background: var(--accent-gradient) !important;
    color: var(--white) !important;
    font-weight: 500;
}

/* ===== MODAL MINIMALISTA ===== */
.modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--gray);
    padding: var(--spacing-lg);
}

.modal-body {
    padding: var(--spacing-lg);
}

/* ===== PAGINAÇÃO MINIMALISTA ===== */
.pagination .page-link {
    border: none;
    color: var(--text-secondary);
    font-weight: 300;
    padding: var(--spacing-sm) var(--spacing-md);
    margin: 0 2px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--accent-color);
    color: var(--white);
}

.pagination .page-item.active .page-link {
    background: var(--accent-color);
    color: var(--white);
}

/* ===== SEÇÕES COMPACTAS ===== */
.bg-light {
    background-color: var(--light-gray) !important;
}


/* ===== SEÇÕES AUTORITÁRIAS ===== */
.bg-light {
    background: var(--light-gray) !important;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}

/* ===== CORREÇÕES DE CONTRASTE ===== */
/* Garantir que textos em seções bg-light tenham contraste adequado */
.bg-light .section-title {
    color: var(--text-primary) !important;
}

.bg-light .section-subtitle {
    color: var(--text-secondary) !important;
}

.bg-light .card-title {
    color: var(--text-primary) !important;
}

.bg-light .card-text {
    color: var(--text-secondary) !important;
}

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

/* Garantir que cards em bg-light tenham contraste adequado */
.bg-light .card {
    background: var(--white);
    border: 1px solid var(--gray);
}

.bg-light .card .card-title {
    color: var(--text-primary) !important;
}

.bg-light .card .card-text {
    color: var(--text-secondary) !important;
}

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

/* Melhorar contraste dos badges */
.badge {
    font-weight: 400;
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
}

/* Melhorar contraste dos botões outline */
.btn-outline-primary {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    font-weight: 400;
}

.btn-outline-primary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== FOOTER MINIMALISTA ===== */
footer {
    background: var(--primary-color) !important;
    font-weight: 300;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

/* ===== FOOTER AUTORITÁRIO ===== */
footer {
    background: var(--authority-gradient) !important;
    border-top: 3px solid var(--accent-color);
}

.social-links a {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* ===== ANIMAÇÕES SUAVES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVIDADE COMPACTA ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: var(--spacing-sm);
    }
    
    .card-body {
        padding: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .card-body {
        padding: var(--spacing-sm);
    }
}

/* ===== UTILITÁRIOS MINIMALISTAS ===== */
.text-primary {
    color: var(--accent-color) !important;
}

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

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* ===== GLASSMORPHISM SUTIL ===== */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* ===== LOADING ANIMATION SUAVE ===== */
.loading {
    opacity: 0;
    transform: translateY(15px);
    transition: all var(--transition-slow);
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SCROLLBAR MINIMALISTA ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===== FOCUS STATES ELEGANTES ===== */
.btn:focus,
.nav-link:focus,
.form-control:focus {
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.15);
    outline: none;
}

/* ===== FORMULÁRIOS MINIMALISTAS ===== */
.form-control {
    border: 1px solid var(--gray);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm);
    font-weight: 300;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.15);
}

.form-label {
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

/* ===== AUDIO PLAYER MINIMALISTA ===== */
.audio-player {
    background: var(--light-gray);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm);
}

.audio-player .progress {
    background: var(--gray);
    border-radius: 2px;
}

.audio-player .progress-bar {
    background: var(--accent-color);
    border-radius: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== ESPAÇAMENTOS COMPACTOS ===== */
.py-5 {
    padding-top: var(--spacing-xl) !important;
    padding-bottom: var(--spacing-xl) !important;
}

.py-4 {
    padding-top: var(--spacing-lg) !important;
    padding-bottom: var(--spacing-lg) !important;
}

.mb-5 {
    margin-bottom: var(--spacing-xl) !important;
}

.mb-4 {
    margin-bottom: var(--spacing-lg) !important;
}

.mb-3 {
    margin-bottom: var(--spacing-md) !important;
}

.mb-2 {
    margin-bottom: var(--spacing-sm) !important;
}

.mb-1 {
    margin-bottom: var(--spacing-xs) !important;
}

/* ===== TIPOGRAFIA ADICIONAL ===== */
.display-1, .display-2, .display-3, .display-4 {
    font-weight: 200;
    letter-spacing: -0.03em;
}

.lead {
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

.small {
    font-size: 0.85rem;
    font-weight: 300;
}

/* ===== BADGES MINIMALISTAS ===== */
.badge {
    font-weight: 400;
    font-size: 0.75rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
}

/* ===== MODAL MINIMALISTA ===== */
.modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--gray);
    padding: var(--spacing-lg);
}

.modal-body {
    padding: var(--spacing-lg);
}

/* ===== PAGINAÇÃO MINIMALISTA ===== */
.pagination .page-link {
    border: none;
    color: var(--text-secondary);
    font-weight: 300;
    padding: var(--spacing-sm) var(--spacing-md);
    margin: 0 2px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--accent-color);
    color: var(--white);
}

.pagination .page-item.active .page-link {
    background: var(--accent-color);
    color: var(--white);
}

/* ===== UTILITÁRIOS AUTORITÁRIOS ===== */
.text-primary {
    color: var(--accent-color) !important;
}

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

/* ===== FORMULÁRIOS AUTORITÁRIOS ===== */
.form-control {
    border: 2px solid var(--gray);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm);
    font-weight: 300;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.form-label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

/* ===== AUDIO PLAYER AUTORITÁRIO ===== */
.audio-player {
    background: var(--light-gray);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm);
}

.audio-player .progress {
    background: var(--gray);
    border-radius: 2px;
}

.audio-player .progress-bar {
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* ===== SCROLLBAR AUTORITÁRIA ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ===== FOCUS STATES AUTORITÁRIOS ===== */
.btn:focus,
.nav-link:focus,
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
    outline: none;
}

/* ===== LOGO RESPONSIVA POR TEMA ===== */
.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    opacity: 1;
}




/* Responsividade da logo */
@media (max-width: 768px) {
    .navbar-brand .logo {
        height: 35px;
    }
}

@media (max-width: 576px) {
    .navbar-brand .logo {
        height: 30px;
    }
}

/* ===== HERO REFORMULADO - PÁGINA SOBRE NÓS ===== */
.page-hero {
    background: var(--primary-color);
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.1) 0%, rgba(51, 51, 51, 0.1) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 200;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 2rem auto;
    border-radius: 2px;
    position: relative;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--accent-color);
    transform: translateY(-50%);
}

.hero-divider::before {
    left: -30px;
}

.hero-divider::after {
    right: -30px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 300;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.8;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsividade */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px 0;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 80px 0 40px 0;
    }
    
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/* ===== BOTÃO ADMINISTRATIVO ===== */
.btn-outline-warning {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transition: all var(--transition-normal);
}

.btn-outline-warning:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-warning:focus {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(217, 119, 6, 0.25);
}

/* Animação sutil para chamar atenção */
@keyframes adminPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-outline-warning:hover {
    animation: adminPulse 0.6s ease-in-out;
}

/* Responsividade do botão administrativo */
@media (max-width: 768px) {
    .navbar-nav .btn-outline-warning {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .footer .btn-outline-warning {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}
