* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

h1 {
    font-size: 2.5rem;
    color: #054021;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    font-size: 1.1rem;
    color: #054021;
    max-width: 700px;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

form {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 650px;
    transition: all 0.3s ease;
}

legend {
    display: none;
}

fieldset {
    border: none;
    width: 100%;
    padding-top: 0.2rem;
}

label {
    display: block;
    margin-top: 0.6rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #054021;
    letter-spacing: 0.01em;
}

/* ===== TODOS OS INPUTS, SELECT E TEXTAREA ===== */
input[type="text"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #b0bec5;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    background-color: #f9fafb;
    color: #1a1a1a;
    display: block;
}

textarea {
    min-height: 120px;
    resize: none;
    overflow-y: hidden;
    line-height: 1.5;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #054021 50%),
        linear-gradient(135deg, #054021 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 15px) calc(50% - 3px);
    background-size: 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #06a350;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(6,163,80,0.15);
}

select:invalid,
select option[value=""] {
    color: #757575;
}

select option {
    color: #1a1a1a;
}

span[data-fs-error] {
    display: block;
    color: #d32f2f;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

/* ===== TOGGLE SWITCH ===== */
.toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f0faf4;
    border: 1.5px solid #c8e6c9;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-top: 1.4rem;
    cursor: pointer;
    gap: 1rem;
    transition: background-color 0.2s;
}

.toggle-wrapper:hover {
    background-color: #e6f4ea;
}

.toggle-label-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #054021;
    line-height: 1.4;
    flex: 1;
}

/* ===== BOTÃO ===== */
button[type="submit"] {
    background-color: #06a350;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6,163,80,0.3);
    letter-spacing: 0.02em;
}

button[type="submit"]:hover {
    background-color: #054021;
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(5,64,33,0.3);
}

button[type="submit"]:active {
    transform: scale(0.98);
}

button[type="submit"]:disabled {
    background-color: #b0bec5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== MENSAGENS FORMSPREE ===== */
[data-fs-success] {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

[data-fs-success][style*="block"],
[data-fs-success]:not(:empty) {
    display: block;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 450px) {
    body { padding: 1rem; }
    h1 { font-size: 1.8rem; }
    form { padding: 1.5rem; }
    .toggle-label-text { font-size: 0.85rem; }
}