/* Importação de fonte do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #4A90E2; /* Azul vibrante */
    --secondary-color: #6a6a6a; /* Cinza médio */
    --background-light: #f9fbfd; /* Fundo muito claro */
    --background-dark: #2c3e50; /* Azul escuro para rodapé */
    --card-background: #ffffff; /* Branco puro para cards */
    --border-color: #e0e0e0; /* Cinza claro para bordas */
    --text-color-dark: #333;
    --text-color-light: #f4f4f4;
    --hover-effect: #357ABD; /* Azul para hover */
}

/* Reset Básico e Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-light);
    color: var(--text-color-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* Header Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #74B9FF 100%);
    color: var(--text-color-light);
    padding: 100px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px; /* Altura mínima para o hero */
    position: relative;
    overflow: hidden; /* Para garantir que elementos que saiam da área fiquem ocultos */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.hero-content {
    max-width: 800px;
    z-index: 1; /* Garante que o conteúdo fique acima de qualquer fundo animado */
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--card-background);
    color: var(--primary-color);
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--hover-effect);
    color: var(--card-background);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Main Content Section */
main {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    color: var(--text-color-dark);
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Download Grid */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.download-card {
    background-color: var(--card-background);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

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

.card-icon {
    margin-bottom: 25px;
    width: 100px;
    height: 100px;
    background-color: #f0f8ff; /* Fundo suave para o ícone */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.card-icon img {
    max-width: 80%;
    max-height: 80%;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.card-content h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.card-content p {
    font-size: 1.05em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

.download-link {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--card-background);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-link:hover {
    background-color: var(--hover-effect);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.download-link span {
    position: relative; /* Para potencial efeito de texto */
}

.download-arrow {
    stroke: var(--card-background);
    transition: transform 0.3s ease;
}

.download-link:hover .download-arrow {
    transform: translateY(3px); /* Pequeno movimento da seta */
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background-color: var(--background-dark);
    color: var(--text-color-light);
    margin-top: 80px;
    font-size: 0.9em;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero {
        padding: 80px 15px;
        min-height: 350px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .download-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
    }

    .download-card {
        padding: 25px;
    }

    .card-icon {
        width: 80px;
        height: 80px;
    }

    .card-content h3 {
        font-size: 1.5em;
    }

    .card-content p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .section-title {
        font-size: 1.8em;
    }
}