/* ============================================= */
/* ANIMAÇÕES GLOBAIS */
/* ============================================= */

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 2s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================= */
/* ESTILOS GLOBAIS */
/* ============================================= */

body {
    background-color: white;
}

/* ============================================= */
/* SEÇÃO BANNER PRINCIPAL */
/* ============================================= */

.home-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10%;
    background-color: white;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

.home-text {
    flex: 1 1 400px;
    max-width: 600px;
}

.home-text h1 {
    font-size: 2.8rem;
    color: #4a4f63;
    margin-bottom: 20px;
}

.home-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-submeter {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-submeter:hover {
    transform: scale(1.03);
}

.home-image {
    flex: 1 1 400px;
    text-align: center;
}

.home-image img {
    max-width: 500px;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

/* ============================================= */
/* SEÇÃO RECOMENDAÇÕES */
/* ============================================= */

.recomendacoes {
    padding: 60px 10%;
    text-align: center;
    background: #fdfdfd;
}

.recomendacoes h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #4a4f63;
    text-align: center;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.card {
    background: linear-gradient(145deg, #ffffff, #f3f6fb);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 30px 20px;
    flex: 1 1 280px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 15px 0;
}

.card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-card {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-card:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.icon {
    font-size: 2.5rem;
    color: #3498db;
}

/* ============================================= */
/* MEDIA QUERIES - RESPONSIVIDADE */
/* ============================================= */

@media (max-width: 900px) {
    .home-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .home-image {
        display: none;
    }

    .home-text h1 {
        font-size: 2rem;
    }

    .home-text p {
        font-size: 1rem;
    }

    .btn-submeter {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }
}