/*
================================================================================
| ARQUIVO: style_Home.css (v6.2 - Logo Otimizado)                              |
| DESCRIÇÃO: Arquivo de estilo principal para todo o site.                     |
| ATUALIZAÇÃO: Logo ampliado no estado inicial sem alterar a altura do header. |
================================================================================
*/

/* --- FONTES E RESET GERAL --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Mulish:wght@400;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: clip;
}

h1, h2, h3 {
    font-family: 'Mulish', sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================================================================================
| HEADER DINÂMICO                                                              |
================================================================================
*/
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0); /* Sombra inicial transparente */
    transition: padding 0.4s ease, box-shadow 0.4s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    /* AJUSTE: Padding vertical reduzido para dar espaço ao logo */
    padding: 1.2rem 2rem; 
    transition: padding 0.4s ease;
}

#main-header .logo img {
    /* AJUSTE: Altura do logo aumentada para ocupar mais espaço */
    height: 60px; 
    transition: height 0.4s ease;
}

/* ESTADO ENCOLHIDO (permanece o mesmo) */
#main-header.scrolled {
    box-shadow: 0 2px_10px rgba(0, 0, 0, 0.08); /* Sombra aparece ao rolar */
}

#main-header.scrolled .header-content {
    padding: 0.8rem 2rem; /* Padding final (menor) */
}

#main-header.scrolled .logo img {
    height: 45px; /* Altura final do logo (menor) */
}


.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

main {
    /* AJUSTE: Padding-top corrigido para a altura total do header inicial */
    padding-top: 98px; 
}

/* --- MENU MOBILE GLOBAL --- */
.menu-toggle { display: none; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 3px; background-color: #333; margin: 5px 0; transition: all 0.3s ease; }

.mobile-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100%; background: #fff; z-index: 1002; transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; }
.mobile-menu.active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.1); }
.mobile-menu-header { padding: 1rem 1.5rem; text-align: right; }
.mobile-menu-header .fa-times { font-size: 1.8rem; cursor: pointer; }
.mobile-menu-content ul { list-style: none; padding: 0; }
.mobile-menu-content li a { display: block; padding: 1.2rem 1.5rem; font-size: 1.1rem; color: #333; text-decoration: none; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: 1rem; }
.mobile-menu-content li a:hover { background: #f8f8f8; }

.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.overlay.active { opacity: 1; visibility: visible; }


/*
================================================================================
| ESTILOS ESPECÍFICOS DA PÁGINA HOME (index.html)                              |
================================================================================
*/
.hero-carousel, .banner-hero { overflow: hidden; position: relative; background-color: #e0e0e0; }
.carousel-container { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-slide { min-width: 100%; position: relative; }
.carousel-slide-image { width: 100%; display: block; height: auto; }
.carousel-nav { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.carousel-dot { width: 12px; height: 12px; background: rgba(255, 255, 255, 0.6); border-radius: 50%; cursor: pointer; transition: background 0.3s; }
.carousel-dot.active { background: #fff; }

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.carousel-control.prev { left: 15px; }
.carousel-control.next { right: 15px; }

@media (min-width: 769px) {
    .hero-carousel .carousel-slide, .banner-hero {
        aspect-ratio: 1920 / 800;
    }
    .hero-carousel .carousel-slide-image, .banner-hero img {
        height: 100%;
        object-fit: cover;
    }
}

.section { padding: 5rem 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 3rem auto; color: #666; line-height: 1.7; }

.about-content-wrapper { margin-bottom: 3rem; }
.about-content-wrapper p {
    text-align: justify;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.8;
    font-size: 0.95rem;
}

.cards-container { position: relative; }
.cards-wrapper { display: flex; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 1.5rem; scrollbar-width: none; -ms-overflow-style: none; }
.cards-wrapper::-webkit-scrollbar { display: none; }
.cards-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 280px; gap: 1.5rem; }
.card { background: #fff; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.07); overflow: hidden; cursor: pointer; transition: all 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 1.5rem; }
.card-content h3 { margin-bottom: 0.5rem; }
.card-content p { font-size: 0.9rem; color: #666; text-align: left; }

.cards-nav-button { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: 1px solid #ddd; border-radius: 50%; width: 45px; height: 45px; cursor: pointer; z-index: 10; font-size: 1.2rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.cards-nav-button.prev { left: -22px; }
.cards-nav-button.next { right: -22px; }

.services-section { background: #fff; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; text-align: center; }
.info-card { background: #fff; padding: 2.5rem 2rem; border-radius: 24px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.info-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); }
.info-card i { font-size: 2.5rem; color: #111; margin-bottom: 1.5rem; display: block; }
.info-card img { height: 40px; margin-bottom: 1.5rem; object-fit: contain; filter: grayscale(100%); opacity: 0.8; }
.info-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; font-weight: 600; color: #111; }
.info-card p { color: #666; font-size: 0.95rem; line-height: 1.6; text-align: center; }

.map-wrapper { text-align: justify; max-width: 800px; margin: 0 auto; }
.map-wrapper p { margin-bottom: 2rem; text-align: center;}
.map-container { height: 400px; border-radius: 15px; overflow: hidden; margin-bottom: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.btn-rota { background: #000; color: #fff; padding: 1rem 2.5rem; border-radius: 30px; text-decoration: none; font-weight: 500; transition: background 0.3s; display: inline-block; }
.btn-rota:hover { background: #333; }

.parking-section { background: #fff; padding-top: 2rem; }
.parking-content { display: flex; align-items: center; gap: 4rem; flex-wrap: wrap; background-color: #fff; border-radius: 24px; padding: 3rem; box-shadow: 0 20px 60px rgba(0,0,0,0.07); }
.parking-info, .parking-visual { flex: 1; min-width: 300px; }
.parking-info p { text-align: justify; line-height: 1.8; margin-bottom: 2rem; }
.parking-prices { list-style: none; margin: 2rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.parking-prices li {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    background-color: #f5f5f5;
    color: #333;
    text-align: left;
}
.parking-prices li:hover {
    background-color: #3a3a3a;
    color: #fff;
    transform: scale(1.03);
}
.horario-info {
    font-size: 0.9rem;
    background-color: #3a3a3a;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    line-height: 1.6;
    text-align: left;
}
.parking-image { width: 100%; border-radius: 15px; }

.stores-carousel-container { position: relative; }

.stores-carousel { 
    display: flex; 
    overflow-x: auto;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.stores-carousel::-webkit-scrollbar { 
    display: none;
}
.stores-carousel.active {
    cursor: grabbing;
}


.stores-wrapper { display: flex; flex-wrap: nowrap; gap: 1.5rem; }
.store-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.store-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.store-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.stores-nav-button { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.9); border: 1px solid #ddd; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #333; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.stores-nav-button.prev { left: -20px; }
.stores-nav-button.next { right: -20px; }

.contact-section { background: #111; color: #fff; padding-top: 7rem; padding-bottom: 5rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.contact-card { background: #222; padding: 2rem; border-radius: 15px; text-align: center; text-decoration: none; transition: transform 0.3s ease, background-color 0.3s ease; }
.contact-card:hover { background: #333; transform: translateY(-5px); }
.contact-card i { font-size: 2rem; margin-bottom: 1rem; display: block; color: #fff; }
.contact-card h3 { color: #fff; }
.contact-card p { color: #ccc; text-align: center; }

.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 3rem; color: #fff; cursor: pointer; z-index: 2002; }
.lightbox-content { background: #fff; border-radius: 16px; max-width: 900px; width: 100%; max-height: 95vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.lightbox-carousel { position: relative; overflow: hidden; flex-shrink: 0; }
.lightbox-carousel-container { display: flex; transition: transform 0.4s ease-in-out; }
.lightbox-carousel-slide { min-width: 100%; aspect-ratio: 16 / 10; background-color: #f0f0f0; }
.lightbox-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-carousel-prev, .lightbox-carousel-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); color: #fff; border: none; border-radius: 50%; width: 45px; height: 45px; font-size: 1.5rem; cursor: pointer; z-index: 1; transition: background 0.3s; }
.lightbox-carousel-prev:hover, .lightbox-carousel-next:hover { background: rgba(0,0,0,0.7); }
.lightbox-carousel-prev { left: 15px; }
.lightbox-carousel-next { right: 15px; }
.lightbox-caption { padding: 1.5rem 2rem; text-align: center; }
#lightbox-title { margin-bottom: 0.5rem; font-size: 1.8rem; }
#lightbox-text { color: #666; margin-bottom: 1.5rem; }
.lightbox-carousel-dots { display: flex; justify-content: center; gap: 8px; }
.lightbox-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; border: none; cursor: pointer; transition: background 0.3s; padding: 0; }
.lightbox-dot.active { background: #333; }


.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); text-align: center; }

footer { background-color: #111; color: #f0f0f0; padding: 4rem 2rem; text-align: center; }
.footer-content { max-width: 800px; margin: 0 auto; }
.footer-logo { height: 50px; margin-bottom: 1.5rem; }
.footer-content p { color: #aaa; text-align: center; line-height: 1.7; }
.social-links { margin: 2rem 0; display: flex; justify-content: center; gap: 1.5rem; }
.social-links a { color: #fff; font-size: 1.5rem; transition: color 0.3s ease; }
.social-links a:hover { color: #ccc; }


@media (max-width: 768px) {
    .hero-carousel .carousel-slide, .banner-hero {
        aspect-ratio: 4 / 5;
    }
    .hero-carousel .carousel-slide-image, .banner-hero img {
        height: 100%;
        object-fit: cover;
    }

    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .cards-nav-button { display: none; }
    
    .stores-nav-button {
        display: flex;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .stores-nav-button.prev { left: 5px; }
    .stores-nav-button.next { right: 5px; }

    .parking-content { flex-direction: column; gap: 2rem; padding: 2rem; }
    .section-title { font-size: 2rem; }
    .lightbox-content { max-height: 85vh; }
    .lightbox-caption { padding: 1rem 1.5rem; }
    #lightbox-title { font-size: 1.5rem; }
    
    .carousel-control { width: 40px; height: 40px; font-size: 1.2rem; }
    .carousel-control.prev { left: 10px; }
    .carousel-control.next { right: 10px; }
}

.footer-credit {
    margin-top: 2rem; /* Adiciona um espaço acima do crédito */
    padding-top: 1.5rem; /* Adiciona um espaçamento interno */
    border-top: 1px solid #333; /* Cria uma linha divisória sutil */
}

.footer-credit p {
    font-size: 0.9rem; /* Define um tamanho de fonte menor para o texto */
    color: #888; /* Define uma cor cinza para "Desenvolvido por" */
}

.footer-credit a,
.footer-credit a:link,
.footer-credit a:visited {
    color: #ffffff; /* Cor do texto: BRANCO */
    font-weight: bold; /* Estilo da fonte: NEGRITO */
    text-decoration: none; /* Remove o sublinhado padrão do link */
    transition: opacity 0.3s ease; /* Adiciona uma transição suave */
}

.footer-credit a:hover {
    opacity: 0.8; /* Leve efeito de transparência ao passar o mouse */
}


section[id] {
  scroll-margin-top: 110px; /* Valor um pouco maior que a altura do header para garantir espaço */
}