/* Reset básico e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden; /* Evita scroll na home se as seções preencherem exatamente a tela */
    background-color: #081c15; /* Verde muito escuro, base do tema */
    color: #e0f2e9; /* Cor de texto principal clara, levemente esverdeada */
}

/* Animação de fundo sutil com partículas (opcional) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(56, 176, 0, 0.08) 1px, transparent 1.5px),
        radial-gradient(circle at 80% 70%, rgba(56, 176, 0, 0.07) 1px, transparent 1.5px),
        radial-gradient(circle at 30% 80%, rgba(56, 176, 0, 0.05) 0.5px, transparent 1px),
        radial-gradient(circle at 60% 30%, rgba(56, 176, 0, 0.06) 0.5px, transparent 1px);
    background-size: 50px 50px, 70px 70px, 40px 40px, 60px 60px;
    animation: moveParticles 60s linear infinite;
    opacity: 0.5;
    z-index: -1; /* Atrás de todo o conteúdo */
}

@keyframes moveParticles {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 1000px 500px, -800px 600px, 500px -1000px, -600px 800px; }
}

.home-sections {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Ocupa 100% da altura da viewport */
}

.home-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(21, 67, 13, 0.7), rgba(8, 28, 21, 0.9));
    border-bottom: 1px solid rgba(76, 175, 80, 0.15);
    opacity: 0;
    animation: fadeInSection 0.8s ease-out forwards;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background 0.5s ease; 
}

@keyframes fadeInSection {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação de entrada escalonada */
.home-section:nth-child(1) { animation-delay: 0.2s; transform: translateY(20px); }
.home-section:nth-child(2) { animation-delay: 0.4s; transform: translateY(20px); }
.home-section:nth-child(3) { animation-delay: 0.6s; transform: translateY(20px); }
.home-section:nth-child(4) { animation-delay: 0.8s; transform: translateY(20px); }


.home-section:last-child {
    border-bottom: none;
}

.home-section::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(124, 252, 0, 0.05) 0%,
        rgba(124, 252, 0, 0.15) 50%,
        rgba(124, 252, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease, top 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.home-section:hover::after {
    opacity: 1;
    top: 0;
    animation: scanLineEffect 1.2s ease-out infinite alternate;
}

@keyframes scanLineEffect {
    0% { transform: scaleY(1); opacity: 0.7; }
    50% { transform: scaleY(1.1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0.7; }
}

.home-section a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    position: relative;
    z-index: 1;
}

.section-content {
    padding: 25px 20px;
    border-radius: 6px;
    background-color: rgba(13, 49, 30, 0.4);
    border: 1px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.2),
                inset 0 0 10px rgba(27, 94, 32, 0.3);
    transition: background-color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    width: 90%;
    max-width: 450px;
}

.home-section:hover .section-content {
    background-color: rgba(19, 65, 40, 0.6);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.4),
                inset 0 0 15px rgba(38, 115, 49, 0.4),
                0 8px 20px rgba(0,0,0,0.4);
}

.icon-wrapper {
    margin-bottom: 18px;
    perspective: 500px;
}

.section-icon {
    font-size: 3em;
    color: #7cfc00;
    text-shadow: 0 0 12px rgba(124, 252, 0, 0.8), 0 0 25px rgba(124, 252, 0, 0.6);
    transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1), color 0.4s ease, text-shadow 0.4s ease;
}

.home-section:hover .section-icon {
    transform: rotateY(360deg) scale(1.2);
    color: #adff2f;
}

.home-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #f0fff0;
    text-shadow: 0 0 6px rgba(124, 252, 0, 0.6);
    transition: letter-spacing 0.3s ease;
}

.home-section:hover h2 {
    letter-spacing: 1.5px;
}

.home-section p {
    font-size: 0.85em;
    font-weight: 400;
    color: #b2d8b5;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    transition: color 0.3s ease;
}
.home-section:hover p {
    color: #d4ebd5;
}

/* Estilos para o botão Krator foram removidos daqui, pois ele não está mais na home */

/* Botões Flutuantes */
.floating-btn {
    position: fixed;
    bottom: 25px;
    padding: 10px 12px;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4), inset 0 0 5px rgba(13, 49, 30, 0.5);
    text-decoration: none;
    color: #e0f2e9;
    font-size: 0.8em;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border: 1px solid rgba(76, 175, 80, 0.5);
    background-color: rgba(13, 49, 30, 0.85);
    backdrop-filter: blur(5px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
}

.floating-btn:hover {
    box-shadow: 0 0 20px rgba(124, 252, 0, 0.6), inset 0 0 8px rgba(19, 65, 40, 0.3);
    background-color: rgba(19, 65, 40, 0.95);
    color: #fff;
}

.floating-btn-left {
    left: 20px;
    padding-left: 15px;
    padding-right: 15px;
    animation: pulseJump 2s infinite ease-in-out;
}
.floating-btn-left:hover { 
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.1);
}

.floating-btn-left i {
    margin-right: 8px;
    color: #7cfc00;
}

@keyframes pulseJump {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 15px rgba(76, 175, 80, 0.4), inset 0 0 5px rgba(13, 49, 30, 0.5);
    }
    50% {
        transform: translateY(-6px) scale(1.05);
        box-shadow: 0 0 25px rgba(124, 252, 0, 0.7), inset 0 0 8px rgba(19, 65, 40, 0.4);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 15px rgba(76, 175, 80, 0.4), inset 0 0 5px rgba(13, 49, 30, 0.5);
    }
}


.floating-btn-right { /* WhatsApp */
    right: 20px;
    width: 48px;
    height: 48px;
    background-color: #25D366;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}
.floating-btn-right:hover { 
    background-color: #1EBE57;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.7);
    transform: translateY(-5px) scale(1.1);
}

.floating-btn-right img {
    width: 26px;
    height: 26px;
}

/* Media Queries para responsividade */
@media (max-width: 480px) {
    .home-section h2 {
        font-size: 1.25em;
    }
    .section-icon {
        font-size: 2.5em;
    }
    .home-section p {
        font-size: 0.8em;
    }
    .section-content {
        padding: 20px 15px;
        width: 95%;
    }
    .floating-btn {
        font-size: 0.75em;
        padding: 8px 10px;
        bottom: 15px;
    }
    .floating-btn-left { left: 15px; }
    .floating-btn-right {
        right: 15px;
        width: 42px;
        height: 42px;
    }
    .floating-btn-right img {
        width: 22px;
        height: 22px;
    }
}
