/* --- LAYOUT GERAL --- */
body {
    background-color: #f4f7f6;
}

.container-detalhe {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* --- 1. CARROSSEL "NETFLIX" (Topo - Automático) --- */
.netflix-section {
    margin-bottom: 30px;
    position: relative;
}

.netflix-title {
    font-size: 1rem;
    color: #888;
    margin-bottom: 10px;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.netflix-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5px;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}
.netflix-scroll::-webkit-scrollbar { display: none; /* Chrome/Safari */ }

.netflix-card {
    min-width: 280px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

.netflix-card:hover {
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.netflix-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.netflix-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 10px;
}

.netflix-name {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Setas do Carrossel Netflix */
.netflix-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--azul-profundo);
    border: none;
    width: 44px; /* Tamanho fixo para círculo perfeito */
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    
    /* CENTRALIZAÇÃO REAL */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important; 
    line-height: 0;
    transition: all 0.3s;
}

.netflix-btn:hover {
    background-color: var(--laranja-averah);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Correção de centralização para a seta de voltar no carrossel Netflix */
.prev-netflix span {
    margin-left: -2px; 
}
/* Ajuste opcional para a seta de avançar (geralmente não precisa, mas deixo aqui se quiser testar) */
.next-netflix span {
    margin-right: 2px;
}

/* --- 2. DETALHE DO DESTINO (NOVO LAYOUT LATERAL) --- */
.destino-container {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.titulo-grande {
    font-size: 3rem;
    color: var(--azul-profundo);
    margin-bottom: 20px;
    font-weight: 800;
    text-align: left;
    padding-left: 10px;
}

/* O WRAPPER QUE DIVIDE A TELA (GRID) */
.destino-grid-layout {
    display: grid;
    /* 3.5fr (Imagem) | 1fr (Texto) -> Aprox 80% / 20% */
    grid-template-columns: 3.5fr 1fr; 
    gap: 30px;
    align-items: start;
}

/* --- 3. SLIDESHOW GIGANTE (Coluna Esquerda) --- */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 600px; /* Altura fixa para alinhar com o texto */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.slide-grande {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-grande.active { opacity: 1; }

.slide-grande img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botões do Slideshow */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    
    /* TÉCNICA DE ENGENHARIA: Trocamos padding por width/height fixos */
    width: 56px; 
    height: 56px;
    padding: 0 !important; 
    
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.slide-btn:hover { background: var(--laranja-averah); }
.prev-slide { left: 20px; }
.next-slide { right: 20px; }
.prev-slide span {
    margin-left: 5px !important;
}

/* --- 4. COLUNA DE TEXTO (Coluna Direita) --- */
.info-coluna {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%; 
    padding: 10px 0;
}

.chamada-texto {
    font-size: 1.4rem;
    color: var(--laranja-averah);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.descricao-texto {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    text-align: left;
}

.divisor-texto {
    border: 0;
    border-top: 2px solid #eee;
    margin: 20px 0;
    width: 30%; 
}

/* --- 5. GRID DA PÁGINA GERAL (/destinos) --- */
.lista-geral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.card-destino-geral {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-radius: 14px;
    border-top: 6px solid var(--laranja-averah);
}
.card-destino-geral:hover { transform: translateY(-5px); }

.card-img-wrapper { height: 250px; overflow: hidden; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.card-info { padding: 20px; }
.card-info h3 { color: var(--azul-profundo); margin-bottom: 5px; }
.btn-ver-mais { 
    display: inline-block; 
    margin-top: 15px; 
    color: var(--laranja-averah); 
    font-weight: bold; 
}


/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
    .destino-grid-layout {
        grid-template-columns: 1fr; /* Vira uma coluna no celular */
    }
    .slideshow-container {
        height: 400px; 
    }
    .info-coluna {
        height: auto;
        padding: 20px 0;
    }
}