/* --- CONFIGURAÇÕES GERAIS --- */
:root {
    --cor-tema: #E60000; /* Vermelho padrão, será substituído pelo PHP se configurado */
    --cinza-fundo: #f8f9fa;
}

body {
    padding-top: 80px; /* Espaço para o menu fixo não cobrir o conteúdo */
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* --- BANNER PRINCIPAL (HERO CAROUSEL) --- */
#heroCarousel {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #000; /* Fundo preto apenas no banner principal */
}

/* Altura fixa para Desktop */
#heroCarousel .carousel-item {
    height: 350px; 
    background-color: #000;
}

#heroCarousel img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha sem distorcer */
    object-position: center;
    opacity: 0.9;
}

/* Texto sobre o banner */
.carousel-caption {
    bottom: 20%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* --- BOTÕES --- */
.btn-tema {
    background-color: var(--cor-tema);
    color: #fff;
    border: none;
    transition: 0.3s;
}

.btn-tema:hover {
    background-color: #333;
    color: #fff;
}

/* --- SEÇÕES E TÍTULOS --- */
.section-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
}

.text-destaque { color: var(--cor-tema) !important; }
.bg-destaque { background-color: var(--cor-tema) !important; }

/* --- CARDS (SERVIÇOS) --- */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* --- GALERIA (ZOOM) --- */
.gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
}

.gallery-card .main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .main-img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}

.gallery-card:hover .gallery-overlay { opacity: 1; }

.gallery-tag {
    position: absolute; top: 10px; right: 10px;
    background: var(--cor-tema); color: #fff;
    font-size: 0.7rem; padding: 3px 8px;
    border-radius: 4px; text-transform: uppercase; font-weight: bold;
}

.watermark-mini {
    position: absolute; bottom: 10px; left: 10px;
    width: 40px; opacity: 0.8;
}

/* --- DEPOIMENTOS (ESTILO GOOGLE) --- */
/* Importante: Removemos configurações do banner principal aqui */
#carouselAvaliacoes .carousel-item {
    height: auto !important; /* Altura automática */
    background-color: transparent !important;
    padding: 10px;
}

/* Setas escuras para fundo branco */
#carouselAvaliacoes .carousel-control-prev-icon,
#carouselAvaliacoes .carousel-control-next-icon {
    filter: invert(1) grayscale(100);
}

.testimonial-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
    text-align: left;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--cor-tema);
}

.avatar-circle {
    width: 45px; height: 45px;
    background-color: var(--cor-tema);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.2rem; margin-right: 15px;
}

/* --- FOOTER --- */
footer a:hover { color: var(--cor-tema) !important; padding-left: 5px; transition: 0.3s; }

/* --- PLAYER DE RÁDIO --- */
#audio-player-bar {
    position: fixed; top: 65px; right: 20px; z-index: 1040;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px; border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

#playlist-select {
    background-color: #333; color: #fff;
    border: 1px solid #555; font-size: 0.85rem;
    max-width: 150px; border-radius: 5px;
}

/* --- RESPONSIVIDADE (CELULAR) --- */
@media (max-width: 768px) {
    /* Altura do banner no celular: 200px (Conforme pedido) */
    #heroCarousel .carousel-item {
        height: 200px; 
    }

    .carousel-caption h1 { font-size: 1.2rem; margin-bottom: 0.5rem; }
    .carousel-caption p { display: none; }
    .carousel-caption .btn { padding: 0.25rem 0.8rem; font-size: 0.8rem; }

    #audio-player-bar {
        top: auto; bottom: 10px; right: 10px; left: 10px;
        text-align: center; justify-content: center;
    }
    
    .gallery-card { height: 200px; }
}