/*********************************
* ************* BOOT *************
* Base styles and resets
******************************** */
* {
    font-family: 'Poppins', sans-serif;
}

body {
    background: #FFFFFF;
    overflow-x: hidden;
}

/* ========== ACCESSIBILITY ========== */
/* Screen reader only - oculta visualmente mas mantém acessível */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/*********************************
* ******** REUTILIZÁVEIS *********
* Reusable components
******************************** */

/* ========== BUTTONS ========== */
.btn {
    display: flex;
    border: none;
    text-decoration: none;
    font-size: var(--textSize14);
    color: var(--colorWhite);
    background: #666;
    border-radius: var(--borderRadius);
    padding: 0 30px;
    height: 50px;
    line-height: 50px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.btn-default {
    background: var(--colorSecondary);
    color: var(--colorPrimary);
}

.btn-default:hover {
    background: var(--colorSecondaryDark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========== FORMS ========== */
.form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.form_label {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.form_label:last-child {
    margin-bottom: 0;
}

.form_text {
    font-size: var(--textSize12);
    color: var(--colorText_70);
    display: block;
    padding-bottom: 8px;
    width: 100%;
}

.form_input {
    width: 100%;
    font-size: var(--textSize14);
    height: 50px;
    color: var(--colorText_90);
    padding: 0 20px;
    border: 1px solid var(--colorBorder);
    outline: none;
    resize: none;
    border-radius: var(--borderRadius);
    -moz-border-radius: var(--borderRadius);
    -webkit-border-radius: var(--borderRadius);
    background: #FFFFFF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form_input:focus {
    border-color: var(--colorPrimary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form_area {
    height: 150px;
    padding: 20px;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

.form-step.shake {
    animation: shake 0.4s ease;
}

/* Destaca o título da etapa com erro */
.form-step.has-error .captacao_form_title h2 {
    color: var(--colorError); /* Vermelho de erro */
}

/* Estilo base para mensagens de erro (invisível por padrão) */
.error-message {
    color: var(--colorError);
    font-size: var(--textSize14);
    display: none;
}

/* Mensagem de erro exibida no rodapé do formulário */
.step-footer .error-message {
    display: none;
    background: var(--colorError);
    color: #FFFFFF;
    font-size: var(--textSize14);
    text-align: center;
    border-radius: var(--borderRadius);
    padding: 6px 15px;
}

/* Aplica borda vermelha apenas em inputs visuais de texto, selects e textareas */
.form_input_error input:not([type="radio"]):not([type="checkbox"]),
.form_input_error select,
.form_input_error textarea {
    border: 1px solid var(--colorError) !important;
}

/* Remove estilo de erro de inputs ocultos (caso necessário para prevenir bugs visuais) */
input[hidden],
input[type="hidden"],
input[style*="display: none"],
input[style*="visibility: hidden"] {
    border: none !important;
}

.form_label select,
select{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url("data:image/svg+xml,%3Csvg width='14' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 6 6 6-6' stroke='%235A5A5A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 20px center no-repeat !important;
    cursor: pointer;
    padding-right: 40px;
}

/* Loading */
.mask_load{
    background: rgba(0, 0, 0, 0.8) !important;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999999999999999999999999;
    display: none;
}

.mask_load img{
    margin: auto;
    height: 90px;
}

/*********************************
* *********** FORMS *************
******************************** */
.forms{
    width: 100%;
    height: 100vh;
    background: var(--colorPrimary);
    align-items: center;
    justify-content: center;
}

.forms_center{
    width: 600px;
    max-width: 90%;
    gap: 40px;
}

.forms_center .form_logo{
    width: 100%;
    display: flex;
    justify-content: center;
}

.forms_content{
    background: #FFFFFF;
    border-radius: var(--borderRadius);
    padding: 40px;
}

.obrigado{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.obrigado .forms_content{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.obrigado h1{
    width: 100%;
    text-align: center;
    font-size: var(--textSize20);
    color: var(--colorText_90);
    margin-top: 15px;
}

.obrigado h2{
    width: 100%;
    text-align: center;
    font-size: var(--textSize16);
    font-weight: normal;
    color: var(--colorText_70);
}

/*********************************
* *********** PAGE *************
* Main page sections
******************************** */

/* ========== HEADER ========== */
.main_header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9;
}

.main_header_content {
    padding: 30px 0;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 30px;
}

.main_header_line{
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.25);
}

/* BANNER HERO */
.main_banner_hero {
    width: 100%;
    background-image: url('../../img/bg-banner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.main_banner_hero_content {
    justify-content: center;
    position: relative;
    z-index: 2;
}

.main_banner_hero_text {
    padding: 170px 0 150px 0;
    width: 100%;
    text-align: center;
}

.main_banner_hero_text h1 {
    font-size: var(--textSize54);
    color: #FFFFFF;
    line-height: 54px;
    font-weight: 600;
}

.main_banner_hero_text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--textSize16);
    line-height: 24px;
    max-width: 800px;
    margin: 24px auto 0;
}

.main_form {
    width: 100%;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.main_form_box {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 40px;
    border: 1px solid var(--colorBorder);
    margin-bottom: 40px;
}


/*********************************
* *********** COOKIES *************
******************************** */
.cookies {
    color: var(--colorText_90);
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 99;
    font-size: var(--textSize14);
    line-height: 22px;
    box-shadow: 0 4px 70px rgba(2, 33, 23, 0.2);
    background: var(--colorWhite);
    display: flex;
}

.cookies_wrapper {
    padding: 30px 40px;
    margin: auto;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(1rem);
    animation: slideUp 0.5s forwards;
}

.cookies_wrapper p {
    padding-right: 40px;
    margin-bottom: 0;
}

@keyframes slideUp {
    to {
        transform: initial;
        opacity: initial;
    }
}

.cookies_btn {
    background: var(--colorPrimary);
    color: var(--colorSecondary);
    cursor: pointer;
    border: none;
    padding: 20px 50px;
    font-size: var(--textSize14);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: var(--borderRadius);
}

.cookies_btn:hover {
    background: var(--colorPrimaryDark);
}

/*********************************
* ******** MEDIA QUERIES *********
******************************** */
/* Media Queries */
/* 1200 */
@media (max-width: 1200px) {
    
}

/* 991 */
@media (max-width: 991px) {
    .main_banner_hero_text{
        padding: 150px 0px 160px 0px;
    }

    .main_banner_hero_text h1{
        font-size: var(--textSize38);
    }

    .main_banner_hero_text p{
        margin: 15px 0 0 0;
    }

    .main_form_box{
        padding: 26px;
    }
}

/* 560 */
@media(max-width: 560px){
    .main_header_content{
        gap: 14px;
    }

    .main_header_logo img{
        height: 24px;
    }

    .main_banner_hero_text{
        padding: 130px 0px 130px 0px;
    }

    .main_form_box{
        padding: 20px;
    }
}