/* =================================== */
/* == IMPORTAÇÃO DE FONTES          == */
/* =================================== */
@import url('https://fonts.googleapis.com/css2?family=Fuzzy+Bubbles:wght@400;700&family=Nunito:wght@400;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* =================================== */
/* == RESET BÁSICO                  == */
/* =================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    color: #333; 
    overflow-x: hidden; 
}

/* =================================== */
/* == MENU SUPERIOR (NAVBAR)        == */
/* =================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    transition: background-color 0.4s ease, padding 0.4s ease;
    background-color: transparent;
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    transition: color 0.4s ease;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: filter 0.4s ease;
    display: block; /* Garante visibilidade */
}

/* --- ADICIONE ISTO APÓS A CLASSE .logo img --- */

/* Container do texto do logo */
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 12px; /* Espaço entre a imagem quadrada e o texto */
    line-height: 1.1; /* Linhas mais próximas para ficar compacto */
    font-family: 'Nunito', sans-serif;
    text-align: left;
}

/* Tamanho para Desktop */
.logo-text span {
    font-size: 1rem; /* Aprox 16px */
    font-weight: 700;
    white-space: nowrap; /* Impede que quebre onde não deve */
    color: inherit; /* Herda a cor do pai (.logo) para funcionar a troca de cor */
}

/* Aumentar um pouco o destaque da segunda linha se desejar, ou manter igual */
.logo-text span:last-child {
    font-weight: 800;
    /* Opcional: deixa BOAVENTURA em caixa alta */
    font-size: 1.1rem;
}

/* --- ATUALIZAÇÃO DA RESPONSIVIDADE --- */

@media (max-width: 968px) {
    /* Ajustes para Tablets */
    .logo-text span { font-size: 0.9rem; }
    .logo-text span:last-child { font-size: 1rem; }
}

@media (max-width: 640px) {
    /* Ajustes para Celular - Reduz para caber na tela junto com o hambúrguer */
    .logo-text { margin-left: 8px; }
    .logo-text span { font-size: 0.8rem; } /* ~13px */
    .logo-text span:last-child { font-size: 0.9rem; }
    
    /* Opcional: Esconder a primeira linha em celulares MUITO pequenos se quebrar layout */
    /* .logo-text span:first-child { display: none; } */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover { 
    color: #FDD701; 
}

/* Menu Hamburguer */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Estado Scrolled (Rolagem) */
.navbar.scrolled {
    background-color: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.navbar.scrolled .logo { color: #333; }
.navbar.scrolled .logo img { filter: none; }
.navbar.scrolled .nav-links a { color: #333; }
.navbar.scrolled .nav-links a:hover { color: #FDD701; }
.navbar.scrolled .hamburger span { background: #333; }

/* Animação Hamburguer Ativo */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Menu Mobile Lateral */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active { display: block; opacity: 1; }

.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 350px; height: 100%;
    background: white;
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}
.mobile-menu.active { right: 0; }

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}
.mobile-nav-links a:hover { color: #FF6B35; }

/* =================================== */
/* == RODAPÉ (FOOTER)               == */
/* =================================== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 5% 2rem;
    margin-top: auto; 
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* Container Dinâmico (Flexbox) */
.footer-main-dynamic {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-col-dynamic {
    flex: 1;
    min-width: 200px;
}

.footer-about-dynamic {
    flex: 2; 
    min-width: 300px;
    padding-right: 2rem;
}

.footer-logo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #FF6B35;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* Filtro para converter logo para branco/colorido conforme necessidade */
    
}

.footer-description {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #999;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #FF6B35; 
}
.social-link svg {
    width: 20px; height: 20px;
    fill: currentColor;
}

.social-link:hover {
    background: #FF6B35;
    transform: translateY(-3px);
    color: white;
}

.footer-column-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: #FF6B35;
    padding-left: 5px;
}

/* Estilos de Contato */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    max-width: 100%;
}
.footer-contact-icon {
    width: 20px; height: 20px;
    color: #FF6B35;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-text, .footer-contact-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #999;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
    
    /* Previne quebra de layout com textos longos */
    word-break: break-word;      
    overflow-wrap: anywhere;     
    max-width: 100%;             
}
.footer-contact-link:hover { color: #FF6B35; }

/* Footer Bottom (Copyright e Legal) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
}
.footer-legal {
    display: flex;
    gap: 2rem;
}
.footer-legal-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-legal-link:hover { color: #FF6B35; }

/* =================================== */
/* == RESPONSIVIDADE                == */
/* =================================== */
@media (max-width: 968px) {
    .navbar { padding: 1.2rem 4%; }
    .hamburger { display: flex; }
    .nav-links { display: none; }
    .logo { font-size: 1.5rem; }
    .logo img { height: 40px; }
    
    .footer-main-dynamic { flex-direction: column; gap: 2rem; }
    .footer-about-dynamic { padding-right: 0; }
    .footer-legal { flex-direction: column; gap: 0.8rem; }
}

@media (max-width: 640px) {
    .navbar { padding: 1rem 5%; }
    .logo { font-size: 1.3rem; }
    .logo img { height: 35px; }
    
    .footer { padding: 3rem 5% 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1.5rem; }
    .footer-legal { align-items: center; }
}