/*
 * Folha de estilos para o site Reaja RS.
 * A organização das regras foi pensada para refletir a aparência do
 * layout fornecido em PDF, ajustando cores, tipografia e espaçamentos.
 */

/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    color: #010d2a;
    background: #ffffff;
}

/* Seção herói (topo) */
.hero {
    position: relative;
    height: 60vh;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* A imagem de fundo foi substituída por uma cor sólida para simplificar. */
    background-color: #006837;
    background-size: cover;
    background-position: center;
}

/* Camada de cor sobre a imagem para tornar o texto legível */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 94, 50, 0.7);
    z-index: 0;
}

.hero .logo {
    width: 100%;
    max-width: 100%;
    z-index: 1;
    margin-bottom: 1rem;
    display: block;
}

.hero .tagline {
    z-index: 1;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Contêiner do formulário sobreposto */
.form-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: -4rem; /* sobreposição sobre a seção herói */
    padding: 0 1rem;
    z-index: 2;
}

.form-container {
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 2rem 2rem 2.5rem;
    width: 100%;
    max-width: 500px;
}

.form-container h2 {
    color: #010d2a;
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.form-container h2 .bold {
    font-weight: 700;
}

.form-container label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #010d2a;
}

.form-container input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    border: none;
    background: #eeeeee;
    font-size: 1rem;
    color: #333333;
}

.form-container input:focus {
    outline: none;
    background: #e0e0e0;
}

.whatsapp-btn {
    margin-top: 1.8rem;
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 999px;
    background: #2fa255;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.whatsapp-btn:hover {
    background: #258d49;
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Seção amarela */
.yellow-section {
    background: #f1c933;
    color: #010d2a;
    padding: 4rem 1rem;
    text-align: center;
}

.yellow-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Seção “sobre” com texto e ilustração */
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 1rem;
    background: #ffffff;
}

.about-text {
    flex: 1 1 300px;
    max-width: 600px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #010d2a;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #3a3a3a;
}

.about-img {
    flex: 1 1 300px;
    max-width: 600px;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Rodapé */
footer {
    background: #f4f4f4;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.85rem;
    color: #5b5b5b;
}

footer .footer-logo img {
    width: 200px;
    max-width: 80%;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .form-container {
        padding: 1.5rem 1.5rem 2rem;
    }
    .form-container h2 {
        font-size: 1.6rem;
    }
    .yellow-section h1 {
        font-size: 2rem;
    }
    .about-section {
        padding: 3rem 1rem;
    }
    .about-text h2 {
        font-size: 1.6rem;
    }
}