/* FORMULARIO */
.header .finisher-header {
    padding: 2.5rem 1.25rem;
    position: relative;
    overflow: hidden;
}



.cadastro-caixa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 80%;
    margin: 0 auto;
    padding: 1.5rem;
    background: #007595;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.cadastro-texto {
    flex: 1;
    min-width: 100%;
    max-width: 90%;
    background: linear-gradient(135deg, #b8d1e3, #a1c4e0);
    padding: 1.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #193e60;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.text-cadastro {
    font-size: 1rem;
    line-height: 1.5;
}

.form-cadastro {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 450px;
}

.form-cadastro input[type="text"],
.form-cadastro input[type="email"],
.form-cadastro input[type="tel"] {
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
    border: 1px solid #bbb;
    border-radius: 0.5rem;
    background: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-cadastro input:focus {
    border-color: #193e60;
    box-shadow: 0 0 8px rgba(25, 62, 96, 0.3);
    transform: scale(1.02);
    outline: none;
}

.form-cadastro .checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #333;
}

.form-cadastro button {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(90deg, #193e60, #14518a);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.form-cadastro button:hover {
    background: linear-gradient(90deg, #14518a, #0c3a6b);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(20, 81, 138, 0.4);
}

.form-cadastro button .icon {
    font-size: 1rem;
}


/* Animação */
.animated-background {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 1.25rem;
    background: linear-gradient(135deg, #0e3d4d, #145c74);
}

.shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shapes div {
    position: absolute;
    opacity: 0.12;
    z-index: 0;
    animation: float 20s infinite ease-in-out alternate;
}

.circle,
.circle.small,
.circle.tiny {
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #ccefff);
}

.circle {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation-duration: 25s;
}

.circle.small {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-duration: 30s;
}

.circle.tiny {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 70%;
    animation-duration: 35s;
}

.square {
    width: 90px;
    height: 90px;
    background: linear-gradient(45deg, #ffffff, #d0e8ff);
    top: 50%;
    left: 50%;
    animation-duration: 28s;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 80px solid #ffffff;
    top: 70%;
    left: 20%;
    animation-duration: 33s;
}

.hexagon {
    width: 100px;
    height: 55px;
    background: linear-gradient(to right, #ffffff, #e0f7ff);
    position: absolute;
    top: 20%;
    left: 60%;
    animation-duration: 38s;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.delay {
    animation-delay: 5s;
}

.delay-2 {
    animation-delay: 10s;
}

/* ERRO */
/* Estilização para mensagens de erro */
.error-message {
    display: flex;
    align-items: center;
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
    padding: 8px;
    border: 1px solid #d32f2f;
    border-radius: 4px;
    background-color: #ffebee;
}

/* Estilização do ícone de erro */
.error-icon {
    margin-right: 6px;
    font-size: 14px;
}

/* Estilização do input com erro */
.input-error {
    border: 1px solid #d32f2f;
    background-color: #fff1f0;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(360deg);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .cadastro {
        padding: 2rem 1rem;
    }

    .cadastro-caixa {
        padding: 1.5rem;
        max-width: 85%;
    }

    .cadastro-texto {
        padding: 1.2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .text-cadastro {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cadastro {
        padding: 1.5rem 0.75rem;
    }

    .cadastro-caixa {
        padding: 1.2rem;
        max-width: 90%;
    }

    .cadastro-texto {
        padding: 1rem;
    }

    .form-cadastro input[type="text"],
    .form-cadastro input[type="email"],
    .form-cadastro input[type="tel"] {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .form-cadastro button {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .form-cadastro .checkbox-container {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .text-cadastro {
        font-size: 0.8rem;
    }
}