/* CONFIGURAÇÕES GLOBAIS */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 5%;
    background: #e1e1e1;
    height: 100px; 
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* LOGO EM OVERLAY */
.logo-wrapper {
    position: absolute;
    left: 5%;
    top: 20px; 
    z-index: 1002;
}

.main-logo-overlay {
    height: 150px; 
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.main-logo-overlay:hover { transform: scale(1.05); }

/* CONTENTOR DE ÍCONES */
.nav-icons { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
}

.social-group { 
    display: flex; 
    gap: 15px; 
    flex-wrap: nowrap;
}

/* TAMANHO DOS ÍCONES PERSONALIZADOS */
.custom-icon img {
    width: 50px;       
    height: 50px;       
    object-fit: contain; 
    display: block;
    transition: transform 0.3s ease;
}

.custom-icon:hover img {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

/* BOTÃO PLAY MODERNO */
.modern-play-btn {
    position: relative; 
    overflow: hidden;
    display: flex; 
    align-items: center; 
    gap: 10px;
    padding: 12px 28px; 
    background: #ff4f01; 
    color: white;
    border: none; 
    border-radius: 50px; 
    cursor: pointer;
    font-weight: 700; 
    font-size: 13px; 
    letter-spacing: 1px;
    transition: all 0.4s;
}

.overlay-fade {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: #045a8b;
    opacity: 0; 
    transition: opacity 0.5s ease; 
    z-index: 1;
}

.is-playing .overlay-fade { opacity: 1; }
#btn-icon, #btn-text { position: relative; z-index: 2; }

/* --- NOVO CARROSSEL (SLIDER) --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* TEXTO DE BOAS-VINDAS */
.welcome-text {
    text-align: center;
    padding: 60px 20px;
    background: #fdfdfd;
}

.title-modern {
    font-size: 2.5rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.divider {
    width: 50px;
    height: 4px;
    background: #00b894;
    margin: 0 auto 20px;
}

.subtitle-modern {
    font-size: 1.2rem;
    color: #555;
    font-weight: 300;
    margin-bottom: 25px;
}

.description {
    max-width: 700px;
    margin: 0 auto;
    color: #777;
    line-height: 1.8;
    text-align: justify;       /* Justifica o texto */
    text-justify: inter-word;  /* Suaviza o espaçamento entre palavras */
    hyphens: auto;             /* Adiciona hífens se as palavras forem muito longas */
}

/* ENDEREÇOS */
.container { max-width: 1100px; margin: 0 auto; }
.grid-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; 
    padding-bottom: 60px;
}

.address-card {
    background: white; 
    padding: 30px; 
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 5px solid #00b894;
    text-align: center;
}

/* AJUSTES MOBILE FORÇADOS */
@media (max-width: 768px) {
    .navbar { 
        height: auto !important; 
        min-height: 250px !important;
        padding: 20px 10px !important; 
        flex-direction: column !important;
        justify-content: center !important;
        gap: 15px !important;
    }

    .logo-wrapper { 
        position: relative !important; 
        left: 0 !important; 
        top: 0 !important; 
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
    }

    .main-logo-overlay { 
        height: 80px !important; 
        width: auto !important;
        transform: none !important;
    }

    .nav-icons { 
        flex-direction: column !important; 
        width: 100% !important;
        gap: 20px !important;
        align-items: center !important;
    }

    .modern-play-btn {
        width: 90% !important; 
        max-width: 300px !important;
        justify-content: center !important;
        order: 1 !important;
    }

    .social-group { 
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important; 
        gap: 12px !important;
        order: 2 !important;
    }

    .custom-icon img {
        width: 40px !important; 
        height: 40px !important;
    }

    .hero-slider { 
        height: 30vh !important; 
    }
}