:root{
    --flow-bg: #CFE6EA;      
    --flow-text: #0E3D45;      
    --flow-muted: #537B83;     
    --flow-rail: rgba(29,60,69,.28); 
    --flow-accent: #A61B27;    
    --cor-quadrado: #BDD5DD;
    --cor-botoes-azul: #358493;
    --card-pad: 32px; 
}

body {
    font-family: 'Syne', sans-serif;
}

.vermelho-nx {
    color: var(--flow-accent) !important;
}

.vermelhinho {
    color: red;
}

/* Primeiro Container */
.hero {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 70px;
}

.hero-h1 {
    font-size: 64px;
    font-weight: bold;
    line-height: 110%;
    letter-spacing: -2.5%;
    color: var(--flow-text);
    text-align: center;
}

.hero-div {
    display: flex;
    flex-direction: row;
    padding: 60px;
    background-color: var(--cor-quadrado);
    border-radius: 20px;
    gap: 40px;
}

.hero-img {
    width: 50%;
    border-radius: 12px;
}

.hero-text {
    font-size: 20px !important;
    font-weight: lighter !important;
    color: var(--flow-text);
    margin-bottom: 0px;
}

.hero-div-intern {
    border-radius: 14px;
    padding: 25px;
    border: 3px var(--flow-accent) solid;
}

.hero-div-intern_text {
    text-align: center !important;
    color: var(--flow-text) !important;
    font-size: 20px !important;
    font-weight: normal !important;
    margin-bottom: 0px;
}


/* ===== Container formulário ===== */
.forms {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.forms-div-h2 {
    display: flex;
    flex-direction: column;
    gap: 33px;
}

.forms-h2 {
    font-size: 36px;
    color: var(--flow-text);
    text-align: center;
    font-weight: 800;
    line-height: 120%;
    letter-spacing: -2%;
}

.forms-text {
    color: var(--flow-text);
    font-size: 24px;
    text-align: center;
    line-height: 145%;
    letter-spacing: -0.5%;
    font-weight: 500;
}

.forms-div {
    display: flex;
    flex-direction: row;
    gap: 25px;
    justify-content: center;
}

.forms-div-list {
    border: var(--flow-accent) 2px solid;
    border-radius: 20px;
    padding: 50px 20px;
    gap: 43px;
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    justify-content: center;
}

.forms-list {
    font-size: 20px;
    color: var(--flow-text);
    font-weight: 500;
    line-height: 145%;
    letter-spacing: -0.5%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forms-list-text {
    font-size: 20px;
    text-align: center;
    font-weight: 500;
    line-height: 145%;
    letter-spacing: -0.5%;
    color: var(--flow-text);
    align-items: flex-end;
}

.section-band{ padding-top: 0; background-color: var(--nx-white);}
.band{
    background: #CBDFE6;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    padding: clamp(18px, 3vw, 28px);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(16px, 20vw, 112px);
}

.band-left{ padding: clamp(8px, 1.5vw, 12px); }
.band-title{
    color: #0E3D45;
    text-align: right;
    font-family: Syne;
    font-size: 62px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%; 
    letter-spacing: -1.24px;
    text-align: right;
}

.form-card{
    border-radius: 8px;
    border: 1px solid var(--Neutral-colors-400, #E1E4ED);
    background: #FFF;

    box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.08);
    display: flex;
    width: 584px;
    height: 504px;
    padding: 32px 40px;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.form-card form{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px; 
}

.form-disclaimer {
    color: var(--Black-5, #2B2F32);
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.field{
    display: flex;
    flex-direction: column;
    gap: 6px;                 
}

.field--full{ grid-column: 1 / -1; }

.labels-forms{
    font-size: 13px;
    font-weight: 600;
    color: #0E3D45;
    line-height: 1.2;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"]{
    width: 100%;
    padding: 12px 14px;
    outline: none;
    transition: border .2s, box-shadow .2s;
    font-size: 14px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid var(--Neutral-colors-300, #F1F3F7);
    background: var(--Neutral-colors-100, #FFF);

    box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.08);
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"] {
    color: var(--Neutral-colors-600, #6D758F);
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.form-card input:focus{
    border-color: var(--nx-greyBlue);
    box-shadow: 0 0 0 4px rgba(53,132,147,.12);
}

#lead-submit,
.form-disclaimer,
#lead-status{ grid-column: 1 / -1; }

.form-card .btn-primary{
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 6px !important;
    background: var(--Azul-NX, #358493) !important;
    /* Neutral/Shadow 02 */
    box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.08) !important;
    color: var(--Neutral-colors-100, #FFF);
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: 'liga' off, 'clig' off !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 20px !important; 
}

@media (max-width: 576px){
    .field--full{ grid-column: 1; }
}


/* Card Container */
.card-div {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: center;
    padding: 120px;
}

.card-material, .card-about {
    background-color: var(--cor-quadrado);
    border-radius: 16px;
    padding: 20px;
    width: 485px;
    height: 620px;
    gap: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-bottom: calc(20px + var(--card-img-height)); 
}

.card-img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: var(--card-img-height);
    object-fit: cover;
    object-position: center bottom;
    display: block;
    pointer-events: none; 
}

.card-h3 {
    text-align: center !important;
    font-size: 28px !important;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -3%;
    color: var(--flow-text);
}

.card-list {
    display: flex;
    flex-direction: column;
}

.card-li {
    font-size: 20px;
    color: var(--flow-text);
    font-weight: 500;
    line-height: 145%;
    letter-spacing: -3%;
}

.card-material > *:not(.card-img),
.card-about > *:not(.card-img) {
    position: relative;
    z-index: 1;
}

.card-img {
    z-index: 0;
}

.card-material { 
    --card-img-height: 220px;
}

.card-about { 
    --card-img-height: 270px; 
}

/* Caixa Azul Container (Ultimo) */
.blue-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 60px;
    background-color: var(--flow-text);
    width: 100%;
    height: 100%;
    border-radius: 68px;
    text-align: center;
    padding: 110px !important;
}

.blue-box-h4 {
    color: #fff;
    font-size: 50px;
    font-weight: 600;
    line-height: 105%;
    letter-spacing: -3%;
}

.blue-box-a {
    background-color: var(--cor-botoes-azul);
    border-radius: 88px;
    padding: 30px 24px;
    color: #fff !important;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -2%;
    font-weight: 500;
    font-family: 'DMSans', sans-serif;
    width: 325px;
    margin: 0 auto;
}

.blue-box-a:hover {
    background-color: var(--flow-muted);
}

@media (max-width: 767px) {
    section, header {
        padding: 20px !important;
    }

    .hero {
        height: auto;
        margin-top: 30px;
    }

    .hero-h1 {
        font-size: 30px;
    }
    
    .hero-div {
        flex-direction: column;
        padding: 30px;
    }

    .forms {
        gap: 20px;
    }

    .forms-div {
        flex-direction: column;
    }

    .form-card {
        width: auto;
        height: auto;
    }

    .card-div {
        padding: 20px;
        flex-direction: column;
    }

    .card-material, .card-about {
        width: auto;
        height: auto;
    }

    .blue-box {
        padding: 60px !important;
        width: 90%;
        gap: 30px;
    }

    .blue-box-a {
        width: auto;
        font-size: 12px;
    }

    .blue-box-h4 {
        font-size: 30px;
    }

    .form-card{
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .form-card form{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: end; 
    }

    .form-card .field{
        min-width: 0;
    }

    .field--full{
        grid-column: 1 / -1 !important; 
    }

    .labels-forms{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .form-card input[type="text"],
    .form-card input[type="email"],
    .form-card input[type="tel"]{
        white-space: nowrap;
        overflow-x: auto;
        text-overflow: clip; 
        -webkit-overflow-scrolling: touch; 
    }
}

.form-card { position: relative; }
.form-state{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    min-height: 320px;           
    padding: 24px;
}

.spinner{
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(15,61,70,.15);
    border-top-color: var(--cta);
    animation: nx-spin .9s linear infinite;
}

@keyframes nx-spin { to { transform: rotate(360deg); } }
.loading-text{ color:#4a6268; font-size:14px; }
.form-success{ color: var(--cta); }
.success-icon{ color: var(--cta); transform: scale(.9); animation: nx-pop .35s ease-out forwards; }
@keyframes nx-pop { from { transform: scale(.8); opacity:0 } to { transform: scale(1); opacity:1 } }
.success-title{
    margin: 6px 0 0;
    font-family: var(--ff-title);
    color: #0E3D45;
}
.success-msg{ color:#4a6268; font-size:14px; }

[hidden]{ display:none !important; }
    .cuTJXi,
    .lmJCrv {
        display: none !important;
}


/* Pontinhos "pulando" na mensagem de redirecionamento */
.success-msg .dots{ display:inline-block; margin-left: 2px; }
.success-msg .dot{
  display:inline-block;
  width:.35em;
  animation: nx-dot-bounce 1.1s infinite ease-in-out;
}
.success-msg .dot:nth-child(2){ animation-delay: .18s; }
.success-msg .dot:nth-child(3){ animation-delay: .36s; }

@keyframes nx-dot-bounce{
  0%, 60%, 100% { transform: translateY(0); opacity:.6; }
  30%            { transform: translateY(-3px); opacity:1; }
}
