/* ==========================================================================
   GROWORM SOLUTIONS - CORE STYLE GLOBAL
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #020617; /* Fundo base escuro idêntico ao original */
    color: #fff;
    overflow-x: hidden;
}

/* O canvas agora recebe as cores e intensidades perfeitas para destacar as partículas */
#particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 25%, rgba(14, 165, 233, 0.3), transparent 45%),
        radial-gradient(circle at 80% 35%, rgba(249, 115, 22, 0.22), transparent 45%),
        #020617;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

.section-title {
    font-size: 54px;
    text-align: center;
    margin: 80px 0 40px;
}

/* --- LIGHTBOX GLOBAL PARA OS CARDS --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(14, 165, 233, .5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    cursor: pointer;
    color: white;
}

/* --- ESTILO DO MENU SUPERIOR (HEADER) --- */
.main-header {
    width: 100%;
    padding: 25px 4%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Força o topo a empilhar verticalmente: Imagem em cima, textos embaixo */
.main-header .logo-placeholder {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
}

/* Força o texto principal e o subtexto a quebrarem em linhas separadas */
.main-header .logo-text {
    display: block !important;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 1.2 !important;
}

.main-header .logo-subtext {
    display: block !important;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-top: 4px !important;
    line-height: 1.2 !important;
}

/* TAMANHO DA LOGO DO TOPO: Mantido ajustado e visível */
.header-logo-img {
    height: 65px !important;
    width: auto !important;
    display: block !important;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 6px;
}

.main-nav a:hover, 
.main-nav a.active {
    color: #ffffff;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: #f97316;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    background-color: #f97316;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-nav:hover {
    background-color: #ea580c;
}

.btn-nav-icon {
    margin-right: 8px;
}

/* ==========================================================================
   ESTILO DO RODAPÉ GLOBAL (FOOTER)
   ========================================================================== */
.main-footer {
    width: 100%;
    background-color: #020617 !important; /* Deixado transparente para integrar ao fundo dinâmico */
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 5;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* Alinhamento exclusivo do bloco de logo do Rodapé */
.main-footer .logo-placeholder {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

.main-footer .logo-text {
    display: block !important;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 1.2 !important;
}

.main-footer .logo-subtext {
    display: block !important;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-top: 2px !important;
    line-height: 1.2 !important;
}

/* TAMANHO DA LOGO DO RODAPÉ */
.footer-logo-img {
    height: 65px !important;
    width: auto !important;
    display: block !important;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 25px;
    height: 2px;
    background-color: #f97316;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

/* Coluna da Marca */
.footer-brand-text {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 20px 0;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #f97316;
    border-color: #f97316;
    transform: translateY(-3px);
}

/* Coluna de Informações */
.contact-info-list li {
    color: #94a3b8;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

/* Faixa de Direitos Autorais Inferior */
.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    background-color: #01040f;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #94a3b8;
}

/* Responsividade do Rodapé */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}