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

/* NAVBAR — altura aumentada */
.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 5% 38px;
    background: linear-gradient(135deg, #0a1628 0%, #0d2b55 45%, #1a4a8a 80%, #0f3060 100%);
    height: 140px;
    position: relative;
    z-index: 1001;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

/* NAVBAR FIXA — apenas desktop */
@media (min-width: 769px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }
    body {
        padding-top: 140px;
    }
}

/* LOGO EM OVERLAY */
.logo-wrapper {
    position: absolute;
    left: 5%;
    top: 15px; 
    z-index: 1002;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-name {
    display: flex;
    flex-direction: column;
    color: #c9d6ea;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    line-height: 1.35;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.brand-name-main {
    font-weight: 700;
}
.brand-name-sub {
    font-weight: 400;
    opacity: 0.85;
}

.main-logo-overlay {
    height: 180px;   /* era 150px — cresce proporcionalmente */
    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: 24px; 
}

.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);
}

/* ÍCONE TV — vermelho vivo */
.tv-icon img {
    filter: hue-rotate(180deg) saturate(3) brightness(0.85) sepia(1) hue-rotate(-50deg) saturate(5) brightness(1.1) !important;
}
.tv-icon:hover img {
    filter: hue-rotate(180deg) saturate(3) brightness(0.85) sepia(1) hue-rotate(-50deg) saturate(5) brightness(1.3) !important;
    transform: translateY(-3px);
}

/* BOTÃO PLAY — sem fundo, transparente sobre navbar azul */
.modern-play-btn {
    position: relative; 
    overflow: hidden;
    display: flex; 
    align-items: center; 
    gap: 10px;
    padding: 11px 22px; 
    background: transparent; 
    color: white;
    border: 2px solid rgba(255,255,255,0.38); 
    border-radius: 50px; 
    cursor: pointer;
    font-weight: 700; 
    font-size: 13px; 
    letter-spacing: 1px;
    transition: all 0.3s;
    white-space: nowrap;
}
.modern-play-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.65);
}



.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; }

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

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

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

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Desktop: mostra a imagem "desktop", esconde a "mobile" */
.slide-bg-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* Mobile: mostra a imagem "mobile", esconde a "desktop" */
    .slide-bg-desktop {
        display: none;
    }
    .slide-bg-mobile {
        display: block;
    }
}

.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;
    text-justify: inter-word;
    hyphens: auto;
}

/* 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;
}

/* INFO SECTION */
.info-section {
    padding: 40px 20px;
    background: #f9f9f9;
}

/* AJUSTES MOBILE */
@media (max-width: 900px) {
    .nav-icons {
        gap: 14px;
    }
    .social-group {
        gap: 10px;
    }
    .custom-icon img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .navbar { 
        height: auto !important; 
        min-height: 260px !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;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }

    .brand-name {
        font-size: 0.8rem;
        align-items: center;
        text-align: center;
    }

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

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

    .modern-play-btn {
        width: 90% !important; 
        max-width: 280px !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: 3 !important;
    }

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

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

    .title-modern {
        font-size: 1.7rem;
    }
}