/* ===================================== 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;
    --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%;
}

/***** HEADER/BANNER  *****/
/***** FORM  *****/

.header {
    display: flex;
    justify-content: center;
    min-height: 700px;
    background-color: #243834;
    background-image: url("../images/banner_header.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.container-header {
    width: 100%;
    display: flex;
    justify-content:center;
    margin-top: 3%;
}

.txtBanner-header {
    max-width: 400px;
    width: 100%;
}

.txtBanner-header h1 {
    font-family: GtAmericaStandardBold;
    color: var(--white);
    font-size: 2.7rem;
    letter-spacing: 2px;
}

.txtBanner-header h1 span {
    color: var(--orange);
}

#anchorBtn {
    bottom: 80px;
    cursor: pointer;
    position: fixed;
    right: 40px;
    transition: .6s ease;
    z-index: 999999999;
}

#anchorBtn img {
    max-width: 150px;
}

#anchorBtn:hover {
    transform: scale(1.05);
}

/* ===================================== FORM ===================================== */

#form-section {
    background-color: var(--green);
    padding: 30px 40px;
    max-width: 500px;
    width: 100%;
    border-radius: 40px;
    margin-bottom: 30px;

}

#form-container {
    margin: 10px;
    max-width: 780px;
    width: 100%;
}

#form-intro h3 {
    font-family: GtAmericaStandardBold;
    font-size: 1.1rem;
    line-height: 1.3rem;
    color: var(--orange);
    margin-bottom: 5px;
}

#form-intro p {
    font-size: 0.9rem;
    line-height: 1.2rem;
    color: var(--white);
}

form {
    margin-top: 50px;
    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: 330px;
}

.input-line:nth-child(2) .input-container, .input-line:nth-child(4) .input-container {
    max-width: 125px;
}

.input-line:nth-child(3) .input-container, .input-line:nth-child(4) .input-container {
    max-width: 365px;
}

.input-line:nth-child(4) .input-container {
    max-width: 125px;
}

#cnpj {
    max-width: 120px;
}

#cpf {
    max-width: 200px;
}

#razao {
    max-width: 195px;
}

.input-check-container {
    display: flex;
    margin-bottom: 10px;
    width: 100%;
}

.input-check-container p {
    color: var(--white);
    font-size: 0.8rem;
    width: 100%;
}

form label {
    color: var(--white);
}

form label {
    font-size: 14px;
    position: relative;
    top: -70px;
    transition: .4s ease;
}

form input, select {
    position: relative;
    z-index: 999;
    padding: 15px 0px;
    padding-left: 5px;
    border-radius: 15px;
    background-color: var(--darkGreen);
    color: var(--gray);
}

select option {
    color: var(--gray);
}

form input:focus, select:focus {
    color: var(--gray);
}



/* 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: 178px;
    margin: auto;
    margin-bottom: 20px;
    display: none;
}

/* ===================================== SECTION VANTAGENS ===================================== */

#vantagens {
    background-color: var(--white);
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 50px;
}

.vantagens-content {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

.vantagens-content h2 {
    font-family: GtAmericaStandardBold;
    font-size: 2.3rem;
    color: var(--darkGreen);
    text-align: center;
}

.vantagens-content h2 span {
    color: var(--orange);
}

.vantagens-infos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
} 

.vantagem-info {
    min-width: 250px;
    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: 111px;
    margin: auto;
}

.vantagem-info p {
    text-align: center;
    color: var(--green);
}

.btn-vantagens {
    max-width: 450px;
    width: 100%;
    margin: auto;
    text-align: center;
}

#btn-vantagens {
    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: 100%;
    z-index: 999;
    margin: auto;
    line-height: 10px;
    margin: auto;
    text-decoration: underline;
    transition: all 0.3s;
    text-transform: uppercase;
}

#btn-vantagens a {
    color: var(--white);
}

#btn-vantagens:hover {
    transform: scale(1.03);
}

/* ===================================== SECTION 3 FOOTER ===================================== */

.sectionFooter {
    padding-left: 10%;
    display: flex;
    justify-content: start;
    align-items: center;
    min-height: 800px;
    background-color: #243834;
    background-image: url("../images/banner_footer.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sectionFooter-content {
    max-width: 500px;
}

.fTitle {
    margin-bottom: 40px;
}

.sectionFooter-content h3 {
    font-family: GtAmericaStandardBold;
    color: var(--white);
    font-size: 2.4rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.sectionFooter-content p {
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.5rem;
}

.sectionFooter-content h3 span {
    color: var(--orange);
}

.fBtn {
    max-width: 450px;
    width: 100%;
    margin: auto;
    text-align: left;
}

#btn-sec3F {
    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: 100%;
    z-index: 999;
    margin: auto;
    line-height: 10px;
    margin: auto;
    text-decoration: underline;
    transition: all 0.3s;
    text-transform: uppercase;
}

#btn-sec3F a {
    color: var(--white);
}

#btn-sec3F:hover {
    transform: scale(1.03);
}

/* ===================================== SUCCESS ===================================== */


.header_success {
    background-color: var(--green);
}

.bg_success {
    max-width: 800px;
    width: 100%;
    margin: auto;
}

.bg_success img {
    width: 100%;
}


#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: 991.98px) {
    .header {
        background-position: 30%;
    }

    .container-header {
        width: 90%;
    }

    /* Section Vantagens  */
    .vantagem-info {
        min-width: 200px;
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    .header {
        background-image: url(../images/banner_header_md.png);
        background-position: 40%;
    }

    .container-header {
        flex-direction: column;
        width: auto;
    }

    .logo {
        display: block;
    }

    .txtBanner-header {
        margin-bottom: 20px;
    }

    #form-section {
        max-width: 650px;
    }

    #cnpj {
        max-width: 175px;
    }

    #cpf {
        max-width: 275px;
    }

    #razao {
        max-width: 275px;
    }

    .input-line:nth-child(2) .input-container {
        max-width: 175px;
    }

    .input-line:nth-child(4) .input-container {
        max-width: 175px;
    }

    /* Section Vantagens  */

    .vantagens-content h2 {
        padding-left: 30px;
        padding-right: 30px;
        font-size: 2rem;
    }

    .vantagem-info {
        min-width: 150px;
        padding-left: 0;
    }

    /* Section3 Footer */
    .sectionFooter {
        padding-left: 5%;
    }

    #btn-sec3F {
        width: 80%;
    }
}

@media (max-width: 575.98px) {

    .header {
        background-position: 30%;
    }

    .txtBanner-header {
        padding: 20px 50px;
        margin-top: 30px;
    }

    .txtBanner-header h1 {
        font-size: 2rem;
    }

    #form-section {
        max-width: 500px;
    }

    .input-line {
        flex-direction: column;
    }

    .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 */

    .vantagem-info {
        min-width: 250px;
    }

    .btn-vantagens {
        max-width: 420px;
    }

    #btn-vantagens {
        font-size: 1.2rem;
    }

    /* Section3 footer */
    .sectionFooter-content h3 {
        font-size: 2rem;
    }

    .sectionFooter-content p {
        font-size: 1.2rem;
    }

    #btn-sec3F {
        font-size: 1rem;
    }

    .fTitle h3 {
        line-height: 2.5rem;
    }
}

@media (max-width: 415.98px) {

    .header {
        background-image: none;
    }

    #form-section {
        margin-bottom: 0;
    }

    .logo {
        margin-bottom: 50px;
    }

    #anchorBtn {
        bottom: 25px;
        right: 30px;
    }

    #anchorBtn img {
        max-width: 100px;
    }

    /* section vantagens */
    .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;
    }

    .sectionFooter-content {
        margin: auto;
    }
}

#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); }
}
