/* ===================================== GERAL ===================================== */

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "GtAmericaStandardRegular";
    src: url(../fonts/GT-America-Standard-Regular.otf);
}

@font-face {
    font-family: "GtAmericaStandardMedium";
    src: url(../fonts/GT-America-Standard-Medium.otf);
}

@font-face {
    font-family: "GtAmericaStandardBold";
    src: url(../fonts/GT-America-Standard-Bold.otf);
}

/* COLORS */
:root {
    --orange: #ff8931;
    --white: #ffffff;
    --green: #243834;
    --lgreen: #376d4f;
    --lblue: #d7e2dc;
    --darkGreen: #182a26;
    --gray: #8c9593;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: #006f4d;
    font-family: GtAmericaStandardRegular, Arial, Helvetica, sans-serif;
    font-size: 1rem;
    width: 100%;
}

main {
    height: 100vh;
}

/***** HEADER/BANNER  *****/
/***** FORM  *****/

.header {
    min-height: 1400px;
    background-image: url("../images/bg_header.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.container-header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 30px;
    margin: auto;
}

.txtBanner-header {
    max-width: 600px;
    width: 100%;
    margin-right: 50px;
    margin-top: 40px;
}

.txtBanner-header img {
    width: 100%;
}

.txtBanner-header h1 {
    font-family: GtAmericaStandardBold;
    color: var(--white);
    font-size: 4rem;
    letter-spacing: 2px;
    margin-top: 30px;
}

.txtBanner-header h1 span {
    color: var(--green);
}

.txtBanner-header-md {
    max-width: 600px;
    width: 100%;
    margin: auto;
    width: 100%;
    display: none;
    margin-bottom: 50px;
}

.txtBanner-header-md img {
    width: 100%;
}

.txtBanner-header-md h1 {
    font-family: GtAmericaStandardBold;
    color: var(--white);
    font-size: 3rem;
    letter-spacing: 2px;
    margin-top: 30px;
}

.txtBanner-header-md h1 span {
    color: var(--green);
}

#anchorBtn {
    bottom: 80px;
    cursor: pointer;
    position: fixed;
    right: 170px;
    transition: 0.6s ease;
    z-index: 999999999;
}

#anchorBtn img {
    max-width: 370px;
}

#anchorBtn:hover {
    transform: scale(1.05);
}

/* ===================================== FORM ===================================== */

.main-form {
    position: relative;
}

#form-section {
    background-color: var(--white);
    padding: 50px 50px;
    max-width: 550px;
    width: 100%;
    border-radius: 40px;
    margin-bottom: 30px;
    height: 100%;
    margin-left: 50px;
}

#form-container {
    padding: 5px;
    max-width: 780px;
    width: 100%;
    margin-left: 5px;
}

#form-intro h3 {
    font-family: GtAmericaStandardBold;
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 15px;
}

#form-intro p {
    font-size: 1.1rem;
    color: var(--lgreen);
}

form {
    margin-top: 40px;
    width: 100%;
}

.input-line {
    margin-top: 20px;
    display: flex;
    justify-content: space-evenly;
}

.input-container {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
    width: 100%;
}

.input-line:nth-child(1) .input-container:nth-child(3) {
    max-width: 200px;
}

.input-line:nth-child(2) .input-container,
.input-line:nth-child(4) .input-container {
    max-width: 132px;
}

.input-line:nth-child(3) .input-container,
.input-line:nth-child(4) .input-container {
    max-width: 206px;
}

.input-line:nth-child(4) .input-container {
    max-width: 132px;
}

#cnpj {
    max-width: 200px;
}

#cpf {
    max-width: 200px;
}

#razao {
    max-width: 140px;
}

.input-check-container {
    display: flex;
    width: 100%;
}

.input-check-container p {
    color: var(--lgreen);
    font-size: 0.8rem;
    width: 100%;
}

form label {
    color: var(--lgreen);
}

form label {
    font-size: 16px;
    position: relative;
    top: -70px;
    transition: 0.4s ease;
}

form input,
select {
    position: relative;
    z-index: 999;
    padding: 15px 0px;
    padding-left: 5px;
    border-radius: 10px;
    background-color: var(--lblue);
    color: var(--gray);
    border: none;
}

select option {
    color: var(--gray);
}

form input:focus,
select:focus {
    color: var(--gray);
}

form input[type="submit"] {
    background-color: var(--orange);
    border: none;
    border-radius: 30px;
    color: var(--white);
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    height: 50px;
    outline: none;
    position: relative;
    width: 140px;
    z-index: 999;
    margin: auto;
    line-height: 10px;
    transition: all 0.3s;
    text-transform: uppercase;
}

form input[type="submit"]:hover {
    transform: scale(1.03);
}

form input:focus + label {
    color: #ffffff;
    font-size: 0.8rem;
    top: -40px;
}

/* The container */
.checkbox {
    cursor: pointer;
    display: block;
    padding-left: 25px;
    position: relative;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    background-color: #eee;
    height: 15px;
    left: 0;
    position: absolute;
    top: 0;
    width: 15px;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked + .checkmark {
    background-color: #ff8931;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
    left: 4px;
    top: 2px;
    width: 3px;
    height: 6px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.ast-lar {
    color: #ff8931;
}

.logo {
    width: 250px;
    margin: auto;
}

.logo img {
    width: 100%;
}

/* ===================================== SECTION VANTAGENS ===================================== */

#vantagens {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 50px;
    position: relative;
    bottom: 380px;
}

.vantagens-content {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

.vantagens-txt {
    margin-top: 50px;
}

.vantagens-content h2 {
    font-family: GtAmericaStandardBold;
    font-size: 3.2rem;
    color: var(--darkGreen);
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.vantagens-content h2 span {
    color: var(--orange);
}

.vantagens-infos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.vantagem-info {
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

/* .vantagem-info:nth-child(1), .vantagem-info:nth-child(2), .vantagem-info:nth-child(3) {
    border-right: 2px solid var(--orange);
} */

.vantagem-info img {
    max-width: 160px;
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
}

.vantagem-info p {
    text-align: center;
    color: var(--green);
    font-size: 1.8rem;
}

.vantagem-info h4 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--orange);
    font-size: 2.5rem;
}

.btn-vantagens {
    max-width: 450px;
    width: 100%;
    margin: auto;
    text-align: center;
    cursor: pointer;
    margin-top: 20px;
}

#btn-vantagens {
    background-color: var(--white);
    border: 2px solid var(--orange);
    border-radius: 40px;
    color: var(--orange);
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    height: 80px;
    outline: none;
    position: relative;
    width: 100%;
    z-index: 999;
    margin: auto;
    line-height: 10px;
    margin: auto;
    transition: all 0.3s;
    text-transform: uppercase;
}

#btn-vantagens a {
    color: var(--orange);
    text-decoration: none;
}

#btn-vantagens:hover {
    transform: scale(1.03);
}

/* ===================================== SECTION 3 FOOTER ===================================== */

.sectionFooter {
    position: relative;
    bottom: 700px;
    padding-left: 10%;
    display: flex;
    align-items: center;
    min-height: 1400px;
    background-image: url("../images/banner_footer.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sectionFooter-content {
    max-width: 550px;
    margin-top: 350px;
}

.fTitle {
    margin-bottom: 40px;
}

.sectionFooter-content h3 {
    font-family: GtAmericaStandardBold;
    color: var(--white);
    font-size: 4rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.sectionFooter-content p {
    color: var(--white);
    font-size: 1.7rem;
    line-height: 2.2rem;
    margin-bottom: 50px;
}

.sectionFooter-content h3 span {
    color: var(--orange);
}

.fBtn {
    width: 100%;
    margin: auto;
    text-align: center;
}

#btn-sec3F {
    background-color: var(--green);
    border: 2px solid var(--orange);
    border-radius: 40px;
    color: var(--orange);
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    height: 80px;
    outline: none;
    position: relative;
    width: 500px;
    z-index: 999;
    margin: auto;
    line-height: 10px;
    margin: auto;
    transition: all 0.3s;
    text-transform: uppercase;
}

#btn-sec3F a {
    color: var(--orange);
    text-decoration: none;
}

#btn-sec3F:hover {
    transform: scale(1.03);
}

/* ===================================== SUCCESS ===================================== */

.header_success {
    background-color: var(--green);
}

.bg_success {
    max-width: 800px;
    width: 100%;
    margin: auto;
    display: flex;
}

.bg_success img {
    width: 100%;
}

.main-sucess {
    background-color: #294640;
}

#success-section {
    align-items: center;
    background-color: #294640;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 100px;
    position: relative;
    width: 100%;
}

#success-section p {
    color: #ffffff;
    font-size: 1.5rem;
    max-width: 400px;
    width: 100%;
}

#success-section p:nth-child(1) {
    margin-bottom: 20px;
}

#success-section p strong {
    color: #ff8931;
    font-size: 2.5rem;
    font-weight: bold;
}

/* ===================================== MD - MOBILE ===================================== */

@media (max-width: 1400.98px) {

    #anchorBtn img {
        max-width: 250px;
    }

    .txtBanner-header {
        max-width: 300px;
    }

    .txtBanner-header h1 {
        font-size: 3.5rem;
    }

    .sectionFooter-content {
        max-width: 450px;
    }

    .sectionFooter-content h3 {
        font-size: 3.5rem;
    }

    .sectionFooter-content p {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    #btn-sec3F {
        width: 450px;
    }
}

@media (max-width: 1150.98px) {

    #anchorBtn {
        right: 100px;
    }

    #anchorBtn img {
        max-width: 200px;
    }

    .sectionFooter-content {
        max-width: 350px;
    }

    #btn-sec3F {
        font-size: 1rem;
        height: 60px;
        width: 340px;
    }
}

@media (max-width: 991.98px) {
    .header {
        background-position: 30%;
    }

    .txtBanner-header {
        margin-right: 20px;
    }

    .txtBanner-header img {
        max-width: 300px;
    }

    .txtBanner-header h1 {
        font-size: 2.5rem;
    }

    .container-header {
        width: 90%;
    }

    #form-section {
        margin-left: 20px;
    }

    /* Section Vantagens  */
    .vantagem-info {
        min-width: 300px;
        padding-left: 0;
    }
}

@media (max-width: 900.98px) {

    #anchorBtn {
        right: 70px;
    }

    #anchorBtn img {
        max-width: 180px;
    }

    .txtBanner-header {
        max-width: 280px;
    }

    .txtBanner-header h1 {
        font-size: 2.3rem;
    }

    .sectionFooter-content {
        max-width: 300px;
    }

    .sectionFooter-content h3 {
        font-size: 2.2rem;
    }

    .sectionFooter-content p {
        font-size: 1rem;
    }

    #btn-sec3F {
        font-size: 0.9rem;
        width: 310px;
    }

    .vantagem-info {
        max-width: 180px;
    }
}

@media (max-width: 800.98px) {

    .header {
        background-image: url(../images/bg_header_mobile.png);
        background-position: 40% 50%;
        height: 100%;
        padding-bottom: 100px;
        margin-bottom: 600px;
    }

    .container-header {
        flex-direction: column;
        max-width: 600px;
    }

    .txtBanner-header {
        display: none;
    }

    .txtBanner-header-md {
        display: block;
    }

    .logo {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .txtBanner-header {
        margin-bottom: 20px;
    }

    #form-section {
        max-width: 650px;
        margin-left: 0;
    }

    #cnpj {
        max-width: 175px;
    }

    #cpf {
        max-width: 275px;
    }

    #razao {
        max-width: 275px;
    }

    .input-line:nth-child(2) .input-container {
        max-width: 135px;
    }

    .input-line:nth-child(3) .input-container {
        max-width: 210px;
    }

    .input-line:nth-child(4) .input-container {
        max-width: 175px;
    }

    /* Section Vantagens  */

    #vantagens {
        top: -600px;
    }

    .vantagens-content h2 {
        padding-left: 30px;
        padding-right: 30px;
        font-size: 2.3rem;
    }

    .vantagem-info {
        min-width: 270px;
        padding-left: 0;
    }

    .vantagem-info p {
        font-size: 1rem;
    }

    /* Section3 Footer */
    .sectionFooter {
        padding-left: 5%;
        bottom: 1020px;
    }

    .sectionFooter-content h3 {
        font-size: 2.1rem;
    }

    .fTitle {
        max-width: 300px;
    }

    #btn-sec3F {
        width: 80%;
        height: 70px;
        line-height: 20px;
    }
}

@media (max-width: 640.98px) {
    .fTitle {
        max-width: 250px;
    }

    .input-line:nth-child(2) .input-container {
        max-width: 123px;
    }
}

@media (max-width: 575.98px) {
    .header {
        height: auto;
        margin-bottom: 1000px;
    }

    .main-form {
        top: 20px;
    }

    form {
        width: 95%;
    }

    #form-intro {
        margin-bottom: 40px;
    }

    #form-section {
        padding: 20px 20px;
    }

    select {
        height: 50px;
    }

    .txtBanner-header-md {
        padding: 20px 50px;
        margin-top: 30px;
    }

    .txtBanner-header-md h1 {
        font-size: 2.5rem;
    }

    #form-section {
        max-width: 500px;
    }

    .input-line {
        flex-direction: column;
        margin-top: 0;
    }

    .input-container {
        margin-bottom: 20px;
    }

    #cpf,
    #cnpj,
    #razao,
    .input-line:nth-child(1) .input-container:nth-child(3) {
        max-width: 100%;
    }

    .input-line:nth-child(2) .input-container {
        max-width: 100%;
    }

    .input-line:nth-child(4) .input-container {
        max-width: 100%;
    }

    .input-line:nth-child(3) .input-container {
        max-width: 100%;
    }

    /* Section vantagens */

    #vantagens {
        top: -980px;
        margin-bottom: 120px;
    }

    .vantagem-info {
        min-width: 250px;
    }

    .btn-vantagens {
        max-width: 420px;
    }

    #btn-vantagens {
        font-size: 1.2rem;
    }

    /* Section3 footer */
    .sectionFooter {
        bottom: 1040px;
        background-image: url(../images/banner_footer-md.png);
        background-position: 10% 50%;
        min-height: 800px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sectionFooter-content {
        margin-top: 0;
        max-width: 400px;
    }

    .sectionFooter-content h3 {
        font-size: 2rem;
    }

    .sectionFooter-content p {
        font-size: 1.2rem;
    }

    #btn-sec3F {
        font-size: 1rem;
    }

    .fTitle {
        max-width: 400px;
    }

    .fTitle h3 {
        line-height: 2.5rem;
    }
}


@media (max-width: 415.98px) {

    .header {
        padding-bottom: 30px;
    }

    #form-container {
        padding: 0;
    }

    #form-section {
        margin-bottom: 0;
    }

    .logo {
        margin-bottom: 50px;
    }

    #anchorBtn {
        bottom: 25px;
        right: 30px;
    }

    #anchorBtn img {
        max-width: 120px;
    }

    /* section vantagens */

    #vantagens {
        bottom: 910px;
    }

    .vantagem-info:nth-child(1),
    .vantagem-info:nth-child(2),
    .vantagem-info:nth-child(3) {
        border-right: 0;
    }

    .vantagem-info p {
        font-size: 1.3rem;
    }

    .btn-vantagens {
        max-width: 320px;
    }

    #btn-vantagens {
        font-size: 1rem;
    }

    /* section3 footer */
    .sectionFooter {
        background-position: 15%;
        padding-left: 0;
        min-height: 900px;
    }

    .sectionFooter-content {
        margin: auto;
    }

    .fTitle {
        max-width: 290px;
    }

    .fBtn {
        text-align: center;
    }
}

#form-container form .btn-submit {
  background-color: var(--orange);
  border: none;
  border-radius: 30px;
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  height: 50px;
  outline: none;
  position: relative;
  width: 150px;
  z-index: 999;
  margin: auto;
  line-height: 10px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;


  -webkit-appearance: none;
  appearance: none;
}

#form-container form .btn-submit:hover {
  transform: scale(1.03);
}

#form-container form .btn-submit[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none !important;
}

.loader {
  border: 3px solid rgba(255,255,255,0.4); 
  border-top: 3px solid #fff;     
  border-radius: 50%;
  width: 18px; 
  height: 18px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}