/* estrutura_cabecalhorodape.css (v1.0.4) - Estilos exclusivos para cabeçalho e rodapé (modernizado, sem Tailwind) */

/* Estilos globais que afetam cabeçalho/rodapé e o corpo */
html, body {
    font-family: 'Inter', sans-serif; /* Usando Inter para um visual mais moderno */
    color: #272626;
    overflow-x: hidden;
    width: 100%;
    background-color: #f5f5f5;
    min-height: 100vh; /* Garante que o corpo tenha pelo menos a altura da viewport */
    display: flex; /* Habilita flexbox para o layout da página */
    flex-direction: column; /* Organiza os filhos (cabeçalho, conteúdo, rodapé) em coluna */
}

h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Inter', sans-serif; /* Consistência na fonte */
    color: #272626;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Estilos do Cabeçalho */
.cabecalho-principal {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra mais suave e moderna */
    padding: 1rem 1.5rem; /* py-4 px-6 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem; /* mt-2 */
    margin-bottom: 1rem; /* mb-4 */
    border-radius: 0.5rem; /* rounded-lg */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1280px; /* max-w-screen-xl */
    box-sizing: border-box;
    transition: all 0.3s ease-in-out; /* Transição para efeitos de hover/scroll */
}

.cabecalho-logo-wrapper {
    flex-shrink: 0;
}

.cabecalho-logo-img {
    height: 4rem; /* h-16 */
    width: auto;
}
@media (min-width: 1024px) { /* lg */
    .cabecalho-logo-img {
        height: 5rem; /* md:h-20 */
    }
}

/* Menu de Navegação para Desktop */
.nav-desktop {
    display: none; /* hidden */
    flex-grow: 1;
    justify-content: center;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
}
@media (min-width: 1024px) { /* lg */
    .nav-desktop {
        display: flex; /* lg:flex */
    }
}

.nav-desktop ul {
    display: flex;
    gap: 2rem; /* space-x-8 */
    border: 2px solid #f97316; /* border-2 border-orange-500 */
    border-radius: 9999px; /* rounded-full */
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    list-style: none; /* remove default list style */
    margin: 0; /* remove default margin */
}

.nav-desktop a {
    color: #272626; /* Default text color */
    transition: color 0.2s ease-in-out; /* transition-colors */
    font-weight: 500; /* font-medium */
    text-decoration: none; /* Remove sublinhado */
}

.nav-desktop a:hover {
    color: #ea580c; /* hover:text-orange-600 */
}

/* Ícones de Redes Sociais para Desktop */
.social-desktop {
    display: none; /* hidden */
    align-items: center;
    gap: 1rem; /* space-x-4 */
}
@media (min-width: 1024px) { /* lg */
    .social-desktop {
        display: flex; /* lg:flex */
    }
}

.social-desktop a {
    color: #272626; /* Default text color */
    font-size: 1rem; /* text-base */
    font-weight: 500; /* font-medium */
    transition: color 0.2s ease-in-out; /* transition-colors */
    text-decoration: none; /* Remove sublinhado */
}

.social-desktop a:hover {
    color: #ea580c; /* hover:text-orange-600 */
}

.social-icon {
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
    transition: transform 0.2s ease-in-out; /* Transição para hover */
}

.social-icon:hover {
    transform: scale(1.1); /* Leve zoom no hover */
}

/* Botão de Menu para Mobile */
.mobile-menu-toggle-wrapper {
    display: flex;
    align-items: center;
}
@media (min-width: 1024px) { /* lg */
    .mobile-menu-toggle-wrapper {
        display: none; /* lg:hidden */
    }
}

.mobile-menu-button {
    color: #374151; /* text-gray-700 */
    background: none;
    border: none;
    cursor: pointer;
    outline: 2px solid transparent; /* focus:outline-none */
    outline-offset: 2px;
    padding: 0.5rem; /* Adicionado padding para facilitar o clique */
}

.mobile-menu-button-svg {
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
}

/* Sidebar para Mobile */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; /* inset-0 */
    background-color: rgba(0, 0, 0, 0.6); /* bg-black bg-opacity-50 - escurecido um pouco */
    z-index: 40;
    display: none; /* hidden */
    transition: opacity 0.3s ease-in-out; /* Transição para o overlay */
    opacity: 0;
}
.mobile-overlay.is-open {
    opacity: 1;
}

@media (min-width: 1024px) { /* lg */
    .mobile-overlay {
        display: none; /* lg:hidden */
    }
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%; /* h-full */
    width: 16rem; /* w-64 */
    background-color: #1a202c; /* bg-gray-900 - ligeiramente mais escuro */
    color: #ffffff; /* text-white */
    z-index: 50;
    transform: translateX(100%); /* transform translate-x-full */
    transition: transform 0.3s ease-in-out; /* transition-transform duration-300 */
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2); /* Sombra para o sidebar */
}
.mobile-sidebar.is-open {
    transform: translateX(0);
}

@media (min-width: 1024px) { /* lg */
    .mobile-sidebar {
        display: none; /* lg:hidden */
    }
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem 1.5rem 1.5rem; /* py-6 pl-8 pr-6 */
    border-bottom: 1px solid #4a5568; /* border-b border-gray-700 - ligeiramente mais claro */
}

.mobile-sidebar-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
}

.mobile-sidebar-close-button {
    color: #a0aec0; /* text-gray-400 - ligeiramente mais claro */
    background: none;
    border: none;
    cursor: pointer;
    outline: none; /* focus:outline-none */
    padding: 0.5rem;
}

.mobile-sidebar-close-button-svg {
    width: 1.5rem; /* w-6 */
    height: 1.5rem; /* h-6 */
}

.mobile-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem; /* p-6 */
    gap: 1rem; /* space-y-4 */
}

.mobile-sidebar-nav a {
    color: #cbd5e0; /* text-gray-300 - ligeiramente mais claro */
    transition: color 0.2s ease-in-out; /* transition-colors */
    font-size: 1.125rem; /* text-lg */
    font-weight: 500; /* font-medium */
    text-decoration: none;
    padding: 0.5rem 0; /* Adicionado padding para área de clique */
}

.mobile-sidebar-nav a:hover {
    color: #f97316; /* hover:text-orange-500 */
}

.mobile-sidebar-social-section {
    padding-top: 1.5rem; /* pt-6 */
    border-top: 1px solid #4a5568; /* border-t border-gray-700 - ligeiramente mais claro */
    margin-top: 1.5rem; /* mt-6 */
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space-y-4 */
}

.mobile-social-link {
    color: #a0aec0; /* text-gray-400 */
    font-size: 0.875rem; /* text-sm */
    display: block;
    text-decoration: none;
}

.mobile-sidebar-social-icons {
    display: flex;
    gap: 1rem; /* space-x-4 */
}

.mobile-social-icon-img {
    width: 1.75rem; /* w-7 */
    height: 1.75rem; /* h-7 */
    transition: transform 0.2s ease-in-out;
}

.mobile-social-icon-img:hover {
    transform: scale(1.1);
}


/* Estilos do Rodapé */
.site-footer {
    background-color: #2d3748; /* bg-gray-800 - ligeiramente mais escuro para contraste */
    color: #ffffff; /* text-white */
    padding-top: 2rem; /* py-8 */
    padding-bottom: 2rem; /* py-8 */
    border-top-left-radius: 0.5rem; /* rounded-t-lg */
    border-top-right-radius: 0.5rem; /* rounded-t-lg */
    text-align: center;
    border-top: 2px solid #4a5568; /* Borda superior mais integrada */
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1); /* Sombra suave para o rodapé */
    margin-top: auto; /* Empurra o rodapé para o final do container flex */
}

.footer-container {
    max-width: 1280px; /* container (assumed max-width) */
    margin-left: auto; /* mx-auto */
    margin-right: auto; /* mx-auto */
    display: flex;
    flex-direction: column; /* flex-col */
    align-items: center; /* items-center */
    justify-content: space-between; /* justify-between */
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
    gap: 1.5rem; /* Espaçamento entre os blocos do rodapé */
}
@media (min-width: 768px) { /* md */
    .footer-container {
        flex-direction: row; /* md:flex-row */
    }
}

.footer-logo-wrapper {
    margin-bottom: 0; /* mb-0 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-img {
    height: 4rem; /* h-16 */
    width: auto;
}
@media (min-width: 768px) { /* md */
    .footer-logo-img {
        height: 5rem; /* md:h-20 */
    }
}

.footer-nav {
    text-align: center; /* text-center */
    margin-bottom: 1rem; /* mb-4 */
}
@media (min-width: 768px) { /* md */
    .footer-nav {
        text-align: left; /* md:text-left */
        margin-bottom: 0; /* md:mb-0 */
    }
}

.footer-nav ul {
    display: flex;
    flex-direction: column; /* flex-col */
    gap: 0.5rem; /* space-y-2 */
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (min-width: 768px) { /* md */
    .footer-nav ul {
        flex-direction: row; /* md:flex-row */
        gap: 0; /* md:space-y-0 */
        margin-left: -1.5rem; /* md:space-x-6 (for children) */
        justify-content: center; /* Para manter centralizado em linha */
    }
    .footer-nav ul li {
        margin-left: 1.5rem; /* md:space-x-6 */
    }
}

.footer-nav a {
    color: #e2e8f0; /* Cor mais clara para links no rodapé */
    transition: color 0.2s ease-in-out; /* transition-colors */
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400; /* Levemente mais leve */
}

.footer-nav a:hover {
    color: #f97316; /* hover:text-orange-500 */
}

.footer-copyright-text {
    font-size: 0.875rem; /* text-sm */
    color: #a0aec0; /* text-gray-400 */
    margin-top: 1rem; /* Espaçamento para o copyright */
}
