* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: linear-gradient(to bottom, #f0f8ff, #e0e7ff); /* Gradiente de azul claro */
    color: #333;
    padding: 20px;
}

/* Cabeçalho */
.header {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    overflow: hidden; /* Garante que a imagem não ultrapasse o contêiner */
    height: 300px; /* Ajuste a altura conforme necessário */
}

.header-background {
    position: absolute; /* Permite que a imagem fique atrás */
    top: 0;
    left: 0;
    width: 100%; /* Ocupa toda a largura */
    height: 100%; /* Ocupa toda a altura */
    object-fit: cover; /* Ajusta a imagem para cobrir o espaço */
    z-index: -1; /* Coloca a imagem atrás do conteúdo */
}

.header-overlay {
    padding: 20px;
    border-radius: 10px;
    position: relative; /* Para manter o texto acima da imagem */
    color: black; /* Deixe o texto visível */
    text-align: center; /* Centraliza o conteúdo */
    padding: 20px; /* Ajuste o espaçamento */
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.header-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(7, 41, 9, 0);
}

.free-highlight {
    background: #ff9800;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    margin-top: 10px;
    text-shadow: none;
}

/* Seção de Apresentação */
.presentation {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.text-container {
    flex: 1;
    padding: 20px;
}

.text-container h2 {
    color: #ff5722;
    margin-bottom: 10px;
}

.text-container ul {
    list-style: none;
    margin-top: 10px;
}

.text-container ul li {
    margin-bottom: 10px;
}

.text-container ul li::before {
    content: "✔️";
    margin-right: 10px;
    color: #ff9800;
}

.text-container .highlight {
    font-weight: bold;
    margin-top: 20px;
}

.gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.terms-section {
    margin: 20px;
    text-align: center;
}

.checkbox-container {
    margin: 10px 0;
}

button {
    padding: 10px 20px;
    font-size: 1em;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button.disabled {
    background: #ccc;
    cursor: not-allowed;
}

button:not(.disabled):hover {
    background: #ff4500;
}

/* Rodapé */
footer {
    background-color: #00264d;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px; /* Espaço entre texto e imagem */
}

.footer-text {
    text-align: left;
    max-width: 400px;
}

.footer-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-text p {
    font-size: 16px;
    line-height: 1.6;
}

.footer-image img {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-copy {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 768px) {
    .header {
        height: auto; /* Ajusta a altura automaticamente */
        padding: 20px 10px; /* Reduz o padding */
    }

    .header h1 {
        font-size: 2rem; /* Reduz o tamanho da fonte */
    }

    .header-subtitle {
        font-size: 1rem; /* Reduz o tamanho da fonte */
    }

    .presentation {
        flex-direction: column;
        padding: 10px; /* Reduz o padding */
    }

    .text-container, .gallery {
        flex: 1 1 100%; /* Faz os contêineres ocuparem 100% da largura */
    }

    .gallery {
        grid-template-columns: 1fr; /* Uma coluna em telas pequenas */
    }

    .terms-section {
        margin: 10px; /* Reduz a margem */
    }

    button {
        width: 100%; /* Botão ocupa toda a largura */
        margin-top: 10px; /* Adiciona margem no topo */
    }

    /* Rodapé responsivo */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-text {
        text-align: center;
        max-width: 100%;
    }

    .footer-image img {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem; /* Reduz ainda mais o tamanho da fonte */
    }

    .header-subtitle {
        font-size: 0.9rem; /* Reduz ainda mais o tamanho da fonte */
    }

    .free-highlight {
        font-size: 0.9rem; /* Reduz o tamanho da fonte */
        padding: 8px; /* Reduz o padding */
    }

    .text-container h2 {
        font-size: 1.5rem; /* Reduz o tamanho da fonte */
    }

    .text-container ul li {
        font-size: 0.9rem; /* Reduz o tamanho da fonte */
    }

    .text-container .highlight {
        font-size: 0.9rem; /* Reduz o tamanho da fonte */
    }
}