@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
    border-color: #2E8B57;
    /* Cor verde mais escura para a borda em foco */
    outline: none;
    /* Remove o outline padrão do navegador */
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
    /* Adiciona um brilho sutil verde */
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light grey background */
    color: #333;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
header {
    background-color: #005429; /* Darker green for header */
    padding: 20px 0;
    text-align: center;
}

header .logo {
    max-width: 180px; /* Slightly larger logo */
    height: auto;
}

/* Main Content */
main {
    padding: 20px 0;
}

.intro-text {
    background-color: #d3d3d375; /* Very light green for intro text section */
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: justify;
}

.intro-text .highlight-text {
    font-size: 1.15em; /* Larger font size */
    font-weight: 700; /* Bold */
    line-height: 1.6;
    margin-bottom: 15px;
    color: #202020; /* Darker green for highlight text */
}

.form-section {
    /* background-color: #fff; */
    padding: 30px;
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    margin-bottom: 20px;
}

.form-section h1 {
    text-align: center;
    text-transform: uppercase;
    color: #000000; /* Darker green for form title */
    margin-bottom: 30px;
    font-size: 2em;
}

/* Form Styles */
form fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

form legend {
    font-size: 1.2em;
    font-weight: bold;
    color: #555;
    padding: 0 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="number"],
.form-group textarea {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #005429; /* Darker green for submit button */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
    background-color: #256F45; /* Slightly darker green on hover */
}

/* Download Section */
.download-section {
    background-color: #e1e1e1; /* Very light green for download section */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 20px;
}

.download-section p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333;
}

.download-section .button-download {
    display: inline-block;
    background-color: #005429; /* Green for download button */
    color: white;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.download-section .button-download:hover {
    background-color: #005429;
}

/* Footer */
footer {
    background-color: #005429; /* Darker green for footer */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

/* Responsiveness */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .intro-text,
    .form-section,
    .download-section {
        padding: 20px;
    }

    form fieldset {
        padding: 15px;
    }

    form legend {
        font-size: 1.1em;
    }

    .form-group input,
    .form-group textarea {
        width: calc(100% - 20px);
    }

    .form-section h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    header .logo {
        max-width: 150px;
    }

    .intro-text,
    .form-section,
    .download-section {
        padding: 15px;
    }

    .form-section h1 {
        font-size: 1.5em;
    }

    .intro-text .highlight-text {
        font-size: 1em;
    }

    form button[type="submit"],
    .download-section .button-download {
        font-size: 1em;
        padding: 10px;
    }
}
