/* ===== FORÇAR CARREGAMENTO DA FONTE ===== */
@font-face {
    font-family: 'Chroma ST';
    src: url('caminho/para/sua/fonte/ChromaST.woff2') format('woff2'),
         url('caminho/para/sua/fonte/ChromaST.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}





/* ===== FORMULÁRIO IBERIUS - CSS ELEGANTE ===== */

.form-iberius-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 0px;
   font-family: "Chroma ST";
    
}

/* HEADER */
.form-header {
    text-align: left;
    margin-bottom: 0px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(3, 36, 68, 0.5);
}

.form-header h2 {
    font-size: 42px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 20px rgba(208, 139, 121, 0.15);
    font-family: "fields-display", Sans-serif;
     line-height: 1.1em;
}

.form-header .subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
     line-height: 1.1em;
    font-weight: 300;
    max-width: 500px;
    margin: 0 ;
    font-family: "Chroma ST";
}

/* STEPS */
.step {
    display: none;
    animation: fadeInUpForm 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step.active {
    display: block;
}

@keyframes fadeInUpForm {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step h3 {
    font-size: 26px;
    color: #D08B79;
    font-weight: 300;
    margin-bottom: 28px;
    text-align: left;
    letter-spacing: -0.3px;
    line-height: 1.1em;
}

/* OPTIONS GROUP */
.options-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.option-card {
    display: flex;
    align-items: center;
    padding: 16px 30px 16px 12px;
    border: 1px solid #032444;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(3, 36, 68, 0.2);
    position: relative;
    overflow: hidden;
    line-height: 1.15em;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(208, 139, 121, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-card:hover {
    border-color: rgba(208, 139, 121, 0.4);
    background: rgba(3, 36, 68, 0.4);
    transform: translateX(4px);
}

.option-card:hover::before {
    opacity: 1;
}

/* ===== RADIO CUSTOMIZADO ===== */

.option-card input[type="radio"] {
    /* Esconde o radio nativo */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    
    /* Remove o estilo padrão */
    outline: none;
    margin-right: 14px;
}

/* Hover */
.option-card input[type="radio"]:hover {
    border-color: rgba(208, 139, 121, 0.5);
    background: rgba(208, 139, 121, 0.1);
}

/* CHECKED - quando selecionado */
.option-card input[type="radio"]:checked {
    border-color: #d08b79;
    background: #d08b79;
    box-shadow: 0 0 20px rgba(208, 139, 121, 0.3);
}

/* O "ponto" interno quando selecionado */
.option-card input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    animation: radioPop 0.2s ease;
}

/* Animação do ponto */
@keyframes radioPop {
    0% { transform: translate(-50%, -50%) scale(0); }
    80% { transform: translate(-50%, -50%) scale(1.3); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Focus (acessibilidade) */
.option-card input[type="radio"]:focus-visible {
    outline: 2px solid #d08b79;
    outline-offset: 2px;
}

/* Desabilitado (se precisar) */
.option-card input[type="radio"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.option-card:has(input:checked) {
    border-color: #d08b79;
    background: rgba(208, 139, 121, 0.12);
    box-shadow: 0 0 30px rgba(208, 139, 121, 0.05);
    transform: translateX(4px);
}

.option-card:has(input:checked)::before {
    opacity: 1;
}

.option-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    position: relative;
    z-index: 1;
    letter-spacing: 0.2px;
}

/* NAVEGAÇÃO */
.step-nav {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(3, 36, 68, 0.3);
}

.step-nav .btn-prev {
    background: rgba(3, 36, 68, 0.4);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(3, 36, 68, 0.5);
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: "Chroma ST", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.step-nav .btn-prev:hover {
    background: rgba(3, 36, 68, 0.6);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(208, 139, 121, 0.2);
    transform: translateX(-2px);
}

.step-nav .btn-next,
.step-nav .btn-submit {
    background: linear-gradient(135deg, #d08b79, #b8735f);
    color: #ffffff;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: "Chroma ST", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    margin-left: auto;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(208, 139, 121, 0.2);
}

.step-nav .btn-next:hover,
.step-nav .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(208, 139, 121, 0.35);
    background: linear-gradient(135deg, #d89583, #c07d69);
}

.step-nav .btn-next:active,
.step-nav .btn-submit:active {
    transform: translateY(0);
}

/* Botão próximo sozinho (passo 1) */
.step:not(:has(.step-nav)) .btn-next {
    float: right;
    margin-top: 10px;
}

/* CAMPOS DE CONTATO */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 25px;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group label {
    font-size: 13px;
    font-weight: 500;
    color: #d08b79;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: "Chroma ST", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.field-group input {
    padding: 14px 18px;
    background: rgba(3, 36, 68, 0.3);
    border: 1px solid #032444;
    border-radius: 8px;
    font-size: 15px;
    font-family: "Chroma ST", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.field-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

.field-group input:focus {
    outline: none;
    border-color: #d08b79;
    background: rgba(3, 36, 68, 0.5);
    box-shadow: 0 0 30px rgba(208, 139, 121, 0.05);
}

.field-group input:hover {
    border-color: rgba(208, 139, 121, 0.3);
}

/* TELAS DE AGRADECIMENTO */
#thank-you-mcmv,
#thank-you-final {
    text-align: left;
    padding: 50px 20px;
    animation: fadeInUpForm 0.5s ease;
}

.thank-you-content h2 {
    font-size: 32px;
    color: #D08B79;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    line-height: 1.2em;
}


.thank-you-content.sucesso h2 {
    color: #45ff36;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1em;
}


.thank-you-content.sucesso svg {
    width: 80px;
    height: auto;
    padding: 0 0 10px 0;
}

.destaque {
    animation: anidestaque 650ms ease infinite alternate;
    font-weight: 600;
    
}

.thank-you-content.sucesso p {
    text-align: center;
        margin: auto;
        max-width: 400px;
}

.thank-you-content.sucesso {
    animation: popsucesso 350ms cubic-bezier(0, 0.78, 0.28, 1.21)  backwards ;

}

@keyframes popsucesso {
    0%{
        transform: scale(2);
        opacity: 0;
    }
    100%{
         transform: scale(1);
        opacity: 1;
    }
    
}

@keyframes anidestaque {
    0%{
        color: #ff4747;
    }
    100%{
        color: #ffdd47;
    }
}




.thank-you-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    max-width: 500px;
    
    font-weight: 300;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .form-iberius-container {
       
        margin: 15px;
        border-radius: 12px;
    }

    .form-header h2 {
        font-size: 32px;
    }

    .form-header .subtitle {
        font-size: 14px;
    }

    .step h3 {
        font-size: 19px;
    }

    .option-card {
        padding: 12px 25px 12px 12px;
    }

    .option-text {
        font-size: 14px;
    }

    .step-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-nav .btn-prev,
    .step-nav .btn-next,
    .step-nav .btn-submit {
        padding: 15px 20px;
        font-size: 14px;
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    .step-nav .btn-next,
    .step-nav .btn-submit {
        margin-left: 0;
    }

    .field-group input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .thank-you-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .form-iberius-container {
       
        margin: 10px;
    }

    .form-header h2 {
       
    }

    .step h3 {
        font-size: 17px;
    }

    .option-card {
        padding: 12px 25px 12px 12px;
    }

    .option-text {
        font-size: 14px;
    }

    .step-nav .btn-prev,
    .step-nav .btn-next,
    .step-nav .btn-submit {
        padding: 15px 15px;
        font-size: 14px;
        min-width: 80px;
    }
}

/* SCROLL PERSONALIZADO (opcional) */
.form-iberius-container::-webkit-scrollbar {
    width: 6px;
}

.form-iberius-container::-webkit-scrollbar-track {
    background: rgba(3, 36, 68, 0.3);
    border-radius: 10px;
}

.form-iberius-container::-webkit-scrollbar-thumb {
    background: #d08b79;
    border-radius: 10px;
}

.form-iberius-container::-webkit-scrollbar-thumb:hover {
    background: #b8735f;
}





