/* ============================================================
   LOUVOR — ESTILOS ESPECÍFICOS - REDESIGN IMPACTANTE
   ============================================================ */

/* Importação da fonte de impacto (Bebas Neue ou Anton) */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:wght@300;400;700;900&display=swap');

/* Variáveis de Cores Tema Ciano/Teal */
:root {
    --louvor-bg-dark: #001217;
    --louvor-bg-light: #004354;
    --louvor-cyan: #00d2ff;
    --louvor-cyan-dark: #007694;
    --font-impact: 'Anton', sans-serif;
}

/* Container que define a área total de scroll para o vídeo */
#video-scroll-container {
    position: relative;
    height: 500vh;
    background-color: var(--louvor-bg-dark);
}

/* Seção Hero que permanece fixa enquanto o usuário rola */
#hero-video-section {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--louvor-bg-dark);
}

/* Vídeo de fundo em tela cheia */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
}

/* Overlay para contraste e visual cinematográfico - Tons Ciano */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 34, 42, 0.4) 0%, rgba(0, 10, 15, 0.9) 100%),
        linear-gradient(to bottom, rgba(0, 80, 100, 0.3) 0%, rgba(0, 18, 23, 0.95) 100%);
    z-index: 2;
    mix-blend-mode: multiply;
}

/* Desfoque leve na parte inferior para integração suave com a próxima seção */
.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    background: linear-gradient(to bottom, transparent, var(--louvor-bg-dark));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
    mask-image: linear-gradient(to top, black 40%, transparent 100%);
    z-index: 3;
}

/* Conteúdo sobre o vídeo */
.hero-content-louvor {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 1000px;
    padding: 0 20px;
}

.reveal-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    margin-bottom: 30px;
}

.phrase {
    display: block;
    font-family: var(--font-impact);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 0.9;
    opacity: 0;
    filter: blur(4px);
    transform: translateY(20px);
    color: #fff;
    text-shadow: 0 0 40px rgba(0, 210, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.9);
    transition: opacity 0.6s cubic-bezier(0.2, 0, 0.2, 1),
        filter 0.6s cubic-bezier(0.2, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.phrase:nth-child(2) {
    color: var(--louvor-cyan);
}

.reveal-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 210, 255, 0.3);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    filter: blur(4px);
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Estado visível controlado pelo JS */
.phrase.active,
.reveal-subtitle.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
    animation: scrollFloat 3s ease-in-out infinite;
}

.scroll-indicator span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.mouse-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 8px #fff;
    animation: scrollMove 2s infinite;
}

/* Seção de conteúdo após o vídeo */
.louvor-main-content {
    background-color: var(--louvor-bg-dark);
    background-image: radial-gradient(circle at 50% 0%, var(--louvor-bg-light) 0%, var(--louvor-bg-dark) 80%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    min-height: 100vh;
}

/* Texto Gigante de Fundo (Marca D'água Impactante) */
.giant-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-family: var(--font-impact);
    font-size: 35vw;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    text-transform: uppercase;
    mix-blend-mode: overlay;
}

/* Ambient Background Glows - Adaptados para Ciano */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    z-index: 0;
    animation: ambientFloat 15s ease-in-out infinite alternate;
    pointer-events: none;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
}

.glow-2 {
    top: 40%;
    right: -15%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 118, 148, 0.2) 0%, transparent 70%);
    animation-delay: -5s;
}

.glow-3 {
    bottom: -20%;
    left: 20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation-delay: -10s;
}

.louvor-main-content .container {
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 80px;
}

.section-title-wrap h2 {
    font-family: var(--font-impact);
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 0%, var(--louvor-cyan) 50%, #007694 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
    text-transform: uppercase;
}

.section-title-wrap .divider {
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--louvor-cyan), #ffffff, transparent);
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

/* Grid de Departamentos do Louvor - Layout Moderno */
.louvor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.louvor-card {
    position: relative;
    z-index: 1;
    width: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 20px;
    padding: 60px 40px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 0 30px rgba(0, 210, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Card Wrapper para efeito 3D com imagem de fundo */
.card-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    /* Espaço reduzido para um efeito mais sutil */
}

/* Ícones de Fundo 3D/Neon (Substituindo as imagens) */
.card-bg-icon {
    position: absolute;
    top: -10px;
    left: 50%;
    z-index: 0;
    opacity: 0.05;
    /* Muito mais discreto e minimalista */
    color: var(--louvor-cyan);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    /* Não atrapalhar clique do card */
    /* Sombra 3D leve */
    text-shadow:
        0px 5px 0px rgba(0, 100, 130, 0.2),
        0px 10px 15px rgba(0, 0, 0, 0.5),
        0px 0px 20px rgba(0, 210, 255, 0.2);
}

.icon-vocal {
    font-size: 140px;
    transform: translateX(-50%) rotate(-10deg);
}

.icon-banda {
    font-size: 150px;
    transform: translateX(-50%) rotate(10deg);
}

.icon-producao {
    font-size: 130px;
    transform: translateX(-50%) rotate(-5deg);
}

/* Efeito Hover nos Ícones (Sutil) */
.card-wrapper:hover .card-bg-icon {
    opacity: 0.15;
    /* Levemente mais claro ao passar o mouse */
    transform: translate(-50%, -10px) scale(1.05) rotate(0deg);
    text-shadow:
        0px 8px 0px rgba(0, 150, 190, 0.3),
        0px 15px 20px rgba(0, 0, 0, 0.6),
        0px 0px 30px rgba(0, 210, 255, 0.4);
}

/* Efeito de brilho hover no card */
.louvor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 210, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    z-index: 1;
}

.card-wrapper:hover .louvor-card::before {
    left: 150%;
}

.card-wrapper:hover .louvor-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 34, 42, 0.6) 100%);
    border-color: rgba(0, 210, 255, 0.6);
    transform: translateY(-15px);
    box-shadow: inset 0 0 30px rgba(0, 210, 255, 0.1), 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 210, 255, 0.2);
}

.card-wrapper:nth-child(2) {
    transform: translateY(30px);
    /* Asimetria no meio */
}

.card-wrapper:nth-child(2):hover {
    transform: translateY(15px);
}

.card-icon-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
    z-index: 2;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.louvor-card i {
    font-size: 3rem;
    color: var(--louvor-cyan);
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.8);
}

.louvor-card h3 {
    font-family: var(--font-impact);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 0.05em;
    z-index: 2;
}

.louvor-card p {
    font-family: 'Montserrat', sans-serif;
    color: #b0c4cf;
    line-height: 1.8;
    font-size: 1.1rem;
    z-index: 2;
}

/* Info Banner estilo flyer (baseado na referência) */
.info-banner-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 30px 50px;
    border-radius: 20px;
    width: 100%;
    max-width: 1300px;
    margin: 60px auto 0;
    backdrop-filter: blur(10px);
}

.info-item {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 0.8rem;
    color: var(--louvor-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

/* Animações */
@keyframes scrollFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes ambientFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-50px) scale(1.05);
    }
}

@keyframes scrollMove {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

@media (max-width: 1024px) {
    .giant-bg-text {
        font-size: 45vw;
    }

    .louvor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-wrapper:nth-child(2) {
        transform: translateY(0);
    }

    .card-wrapper:nth-child(2):hover {
        transform: translateY(-15px);
    }

    .card-wrapper:nth-child(3) {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .phrase {
        font-size: 3.5rem;
    }

    #video-scroll-container {
        height: 400vh;
    }

    .louvor-grid {
        grid-template-columns: 1fr;
    }

    .card-wrapper:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }

    .info-banner-modern {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .giant-bg-text {
        transform: translate(-50%, -50%) rotate(0deg);
        font-size: 25vw;
        top: 20%;
        opacity: 0.05;
    }
}

/* Ajuste para o container global de departamentos */
#nossos-departamentos {
    background-color: var(--louvor-bg-dark);
    border-top: 1px solid rgba(0, 210, 255, 0.1);
}

#nossos-departamentos .container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
}