:root {
    --cor-primaria: #004080;
    --cor-secundaria: #e63946;
    --cor-fundo: #f4f6f8;
    --cor-branco: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cor-fundo);
    color: #333;
    line-height: 1.6em;
}

header {
    background: linear-gradient(90deg, var(--cor-primaria) 0%, #0066cc 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
}

section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: auto;
}

section h2 {
    color: var(--cor-primaria);
    margin-bottom: 20px;
    font-size: 2em;
}

.box {
    background-color: var(--cor-branco);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    will-change: transform;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

ul {
    list-style: none;
}

ul li::before {
    content: "✔️ ";
    color: green;
}

.contact {
    background-color: var(--cor-primaria);
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
}

.contact h2 {
    color: white;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2em;
    margin: 8px 0;
}

.buttons {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    background-color: var(--cor-secundaria);
    color: white;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #a60000;
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #00264d;
    color: white;
    border-top: 3px solid #004080;
}

/* Animação fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    will-change: opacity, transform;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay para animação em sequência */
.fade-in:nth-of-type(1) {
    animation-delay: 0s;
}

.fade-in:nth-of-type(2) {
    animation-delay: 0.3s;
}

.fade-in:nth-of-type(3) {
    animation-delay: 0.6s;
}

.fade-in:nth-of-type(4) {
    animation-delay: 0.9s;
}

.fade-in:nth-of-type(5) {
    animation-delay: 1.2s;
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    header h1 {
        font-size: 1.8em;
    }

    section h2 {
        font-size: 1.5em;
    }

    .btn {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
}