:root {
    --blue-700: #5a9f9a;
    --blue-800: #2b6d68;
    --blue-900: #1b4052;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Barlow';
}

/* Global */
.container {
    max-width: 1350px;
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
}

input:focus,
textarea,
select:focus {
    outline: none;
    border: 0.0625rem solid var(--blue-800);
 

}

.form-group {
    display: flex;
    gap: 1.875rem;
}

.form-input label {
    font-weight: bold;
    color: black;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    margin-top: 0.625rem;
}

.form-input input,
select,
textarea {
    width: 100%;
    height: 3.4375rem;
    border: 0.0625rem solid #ccc;
    border-radius: 0.5rem;
    color: var(--green-500);
    padding: 1rem;
    font-size: 1rem;
}

.form-input.input-select {
    position: relative;
    display: inline-block;
}

.form-input select {
    width: 100%;
    padding: 0.625rem;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-color: rgba(255, 255, 255, 0.836);
    border: 1px solid #ccc;
    border-radius: 0.625rem;
    font-size: 1rem;
}

.error-message {
    font-size: 12px;
    display: none;
    color: red;
}

.form-input input:focus {
    outline: none;
    border: 0.0625rem solid var(--blue-800);

}

.btn {
    font-size:1rem;
    border-radius: 1.5rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    min-width: 14.375rem;
    height: 3.125rem;
}

.btn a {
    padding: 0 2.5rem;
    text-transform: uppercase;
    min-width: 14.375rem;
    height: 3.125rem;
    border-radius: 1.5rem;
    font-weight: bold;
    display: flex;
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.primary {
    background-color: var(--blue-800);
}

.primary:hover {
    background-color: var(--blue-700);
}

.primary a {
    background-color: var(--blue-800);
    color: white;
}

.secondary {
    height: 3.125rem;
    color: white;
    background-color: var(--blue-700);
}

.secondary:hover {
    background-color: var(--blue-700);
}

.secondary a {
    height: 3.125rem;
    color: var(--purple-800);
    background-color: var(--blue-700);
}

.secondary a:hover {
    color: white;
    background-color: var(--blue-800);
}

h1 {
    color: white;
    font-size: 2.5rem;
    width: 100%;
    max-width: 50rem;
    font-weight: 500;
    text-transform: uppercase;
}

h2 {
    color: var(--blue-900);
    font-size: 2.25rem;
    line-height: 2.5rem;

}


header nav {
    height: 7.5rem;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

header .header .logo {
    max-width: 19.875rem;
}

header .header .logo img {
    width: 100%;
}

header .header .nav-bar .itens-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

header .header .nav-bar .itens-menu li {
    list-style-type: none;
}


header .header .nav-bar .itens-menu li a:hover {
    color: var(--blue-700);
}

header .header .nav-bar .itens-menu li a {
    color: var(--blue-800);
    text-decoration: none;
    font-weight: 500;
    font-size:1.125rem;
    font-weight: bold;
}

header .header .nav-bar .itens-menu button {
    margin-left: 2rem;
}

header .header nav #icon-menu {
    width: 28px;
    display: none;
    cursor: pointer;
}

/** Icons fixos */
.icons-fixed {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: fixed;
    right: 1rem;
    z-index: 90000;
    bottom: 1rem;
    text-align: center;
}

.icons-fixed .icon-top {
    cursor: pointer;
    width: 40px;
    display: none;
    margin: 1rem auto;
    height: 40px;
    text-align: center;
}

.icons-fixed .icon-top:hover {
    background-color: var(--blue-400);
}

/** Animações **/
.element-to-animate  {
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.element-to-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-initial {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.visible-initial {
    opacity: 1;
    transform: translateY(0);
}

/** Cookies **/
.cookies {
    width: 100%;
    padding: 1rem 0;
    position: fixed;
    z-index: 10333333333330;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.cookies .box-cookies {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    color: white !important;
    font-size: 1rem !important;
}

.cookies .box-cookies a {
    color: var(--blue-700);
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}

.cookies .box-cookies a:hover {
    color: white;
}

.btn-cookies {
    background-color: var(--blue-800);
    font-size: 1rem;
    min-width: 14.375rem;
    color: white;
    height: 3.125rem;
    border-radius: 1.5rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-cookies:hover {
    background-color: var(--blue-700);
    color: white;
}
/** Modal Vídeo **/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Fundo semitransparente */
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.modal-content iframe {
    width: 600px;
    height: 400px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
}
/** Section banner **/
.section-banner-destaque {
    position: relative;
    padding: 2rem 0;
    width: 100%;
    min-height: 500px;
    height: 100%;
}

.section-banner-destaque .banner-desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block; /* Garantir que a imagem de desktop esteja visível */
    z-index: 1;
}

.section-banner-destaque .banner-mobile {
    z-index: 1;
    display: none;
    aspect-ratio: 6 / 5;
    width: 100px;

}

/* Box formulario de contato */
.section-banner-destaque .box-contact{
    height: 500px;
    border-radius: 8px;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: end;
}
.section-banner-destaque .box-contact .form-contact{
    max-width: 28.75rem;
    width: 100%;
    min-height: 26.875rem;
    border-radius: 0.625rem;

    background-color: white;
}
.section-banner-destaque .box-contact .form-contact h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: var(--blue-800);
    padding: 1rem 0;
    height: 3.75rem;
    border-radius: 8px 8px 0 0;
    text-align: center;
    font-size: 1rem;
    width: 100%;

}
.section-banner-destaque .box-contact .form-contact form {
    padding: 1rem 1.5rem;
}
.section-banner-destaque .box-contact .form-contact .input-submit
{
    padding: 0 2.5rem;
    margin-top: 1rem;
    text-transform: uppercase;
    min-width: 12.5rem;
    height: 3.438rem;
    cursor: pointer;
    background-color: var(--blue-800);
    border-radius: 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-banner-destaque .box-contact .form-contact .input-submit:hover{
    background-color: var(--blue-700);
}
.section-banner-destaque .box-contact .form-contact .input-submit
.btn-submit
{
    border: none;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    background-color: transparent;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
}

/* Section products*/
.section-products{
    margin:4rem 0;
}
.section-products h2{
  text-align: center;
}
.section-products .content-products{
    margin-top: 2rem;
}
.section-products .content-products .product-single{
    border: 1px solid #ccc;
    border-radius:8px;
}
.section-products .content-products .product-single .img-product{
  width:100%;
  min-height: 11.875rem;
  width: 100%;
}
.section-products .content-products .product-single .img-product img{
    padding-top: 1rem;
    object-fit: cover;
    object-position: center;
    width: 100%;
    border-radius: 8px 8px 0 0;
}
.section-products .content-products .product-single h3{
    margin-top: 1rem;
    text-align: center;
    color: var(--blue-900);

}
.section-products .content-products .product-single p{
    text-align: center;
    padding: 0 1rem;
}
.section-products .content-products .product-single .itens-product{
    text-align: left;
    padding:  1rem 1rem;
}
.section-products .content-products .product-single .itens-product p{
    margin-top: 0.313rem;
    display: flex;
    padding: 0rem;
    align-items: center;
    color: var(--blue-900);
    font-weight: 500;
    font-size: 0.875rem;
    justify-content:center ;
    text-align: center;
    gap:0.313rem ;
}
.section-products .content-products .product-single .itens-product p img{
    width: min-content;

}
.section-products .content-products .product-single  h4{
    margin-top: 1rem;
   background-color: #E6E6E6;
   width: 100%;
   height: 2.188rem;
   color: var(--blue-900);
   display: flex;
   align-items: center;
   justify-content: center;
}
.section-products  button{
    margin: 3rem auto;
    display: block;
}

/* Section advantagens */
.section-about{
    margin: 2rem 0;
    text-align: center;
}
.section-about h2{
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
}
.section-about p{
    max-width: 900px;
    margin: 0 auto;
    margin-top: 1rem;
    font-size: 1.375rem;
    color: #3A3A3A;
    line-height: 1.875rem;
}
.section-about img{
    width: 100%;
    margin-top: 2rem;
    border-radius: 1rem;
}
/* Section banner simulate */
.section-banner-simulate{
margin:4rem 0;
padding: 2rem 0;
text-align: center;
display: flex;
width: 100%;
align-items: center;
min-height: 350px;
background-position: center;
background-size: cover;
}
.section-banner-simulate h2{
    color: white !important;
    margin-bottom: 2rem;
}
.section-banner-simulate button{
max-width: 24.063rem;
width: 100%;
}

/** Section Vantagens **/
.section-advantages{
    background-color: #f4f4f5;
    padding: 4rem 0;
    text-align: center;
}
.section-advantages button{
    margin: 3rem auto;
    display: block;
}
.section-advantages h2{
   max-width: 35rem;
   width: 100%;
   margin: 0 auto;
}
.section-advantages .content-advantages{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 3rem;
    align-items: center;
    justify-content: space-between;
    gap:1rem;
}
.section-advantages .content-advantages .advantages-single {
    background-color: white;
    border-radius: 0.625rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 20rem;
}
.section-advantages .content-advantages .advantages-single h4{
    margin: 1rem 0;
    font-size: 1.625rem;
    color: var(--blue-900);
}
.section-advantages .content-advantages .advantages-single p{
    font-size: 1.125rem;
    color: #2c2c2c;
}
/** Section form **/
.section-form {
    margin: 4rem 0;
}
.section-form .content-form{
    display: flex;
    gap:3rem;
    background-color: #ebf7f6;
    padding: 2rem 3rem;
    align-items: center;
    border-radius: 1.875rem;
    justify-content: space-between;
    min-height: 32.5rem;
}
.section-form .content-form .text-form h3{
    color: var(--blue-900);
    font-size: 1.625rem;
}
.section-form .content-form .text-form h2{
    color: var(--blue-900);

}
.section-form .content-form .text-form p{
    font-size: 1.375rem;
    color: #2c2c2c;
    margin-top: 2rem;
}
.section-form .content-form .form-simulate{
    width: 100%;
    max-width: 30rem;
}
.section-form .content-form .form-simulate .form-header{
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.section-form .content-form .form-simulate h4{
    text-align: center;
    text-transform: uppercase;
    color: var(--blue-900);
    font-weight: bold;
}
.section-form .content-form .form-simulate .form-header{
    margin-top: 2rem;
}
.section-form .content-form .form-simulate .form-header button{
   cursor: pointer;
   min-width: 13.75rem;
   width: 100%;
   font-size: 1.625rem;
   color: var(--blue-900);
   text-align: center;
   border-left: 0;
   border-top: 0;
   border-right: 0;
   background-color: transparent;
   border-bottom: 5px solid var(--blue-700);
   font-weight: bold;
}
.section-form .content-form .form-simulate .form-header button:hover{
    opacity: 0.5;
}
.section-form .content-form .form-simulate form{
    margin-top: 2rem;
}
.section-form .content-form .form-simulate form label{
    color:var(--blue-900);
    font-size: 1.125rem;
    font-weight: 500;
}
.section-form .content-form .form-simulate form .box-input{
    display: flex;
    align-items: center;
    background-color: #deedec;
    height: 3.125rem;
    border-radius: 0.625rem;
    padding: 0 1rem;
    margin-top: 0.625rem;
}
.section-form .content-form .form-simulate form .box-input span{
    font-size: 1.125rem;
    color: #85949c;

}
.form-header button.inativo {
    opacity: 0.5;
    cursor: not-allowed;
}
.section-form .content-form .form-simulate form input[type="text"]{
        border: none;
        border-radius: 0.625rem;
        background-color: transparent;
        width: 100%;
        height: 100%;
        margin-left: 1rem;
        color: var(--blue-900);
        font-weight: bold;
        font-size: 1.25rem;
}
.section-form .content-form .form-simulate form input[type="submit"]{
        max-width: 24.063rem;
        width: 100%;
        margin: 2rem auto;
        display: block;
        font-weight: bold;
}   
.section-form .content-form .form-simulate form input[type="submit"]:hover{
    background-color: var(--blue-800);
}

.section-consorcio{
    display: flex;
    align-items: center;
    height: 37.5rem;
}
.section-consorcio .img-consorcio{
    width: 50%;
    height: 37.5rem;
    
}
.section-consorcio .img-consorcio img{
    width:100%;
    height: 37.5rem;
    object-fit: cover;
    object-position: center;
}
.section-consorcio .content-consorcio{
    width: 50%;
    padding: 4rem;
    background-color: #f4f4f5;
    min-height: 37.5rem;
    display: flex;
    align-items: center;
   
}
.section-consorcio .content-consorcio h2{
    max-width: 400px;
    width: 100%;
}
.section-consorcio .content-consorcio li{
    margin-top: 1.5rem;
    list-style-type: none;
    font-size: 1.375rem;
}

/** Section testemunhos **/
.section-testimonials{
    margin: 3rem 0 ;
}
.section-testimonials button{
    margin: 3rem auto;
    display: block;
}
.section-testimonials h2{
    margin: 0 auto ;
    text-align: center;
}
.section-testimonials .content-testimonials{
    width: 90%;
    margin: 3rem auto;
}
.section-testimonials .content-testimonials .testimonials-single{
    border: 1px solid #f4f4f5;
    border-radius: 0.625rem;
    padding: 2rem;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.section-testimonials .content-testimonials .testimonials-single iframe{
    width: 100%;
}
.section-testimonials .content-testimonials .testimonials-single .stars-testimonials{
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.section-testimonials .content-testimonials .testimonials-single .testimonial{
    margin-top: 1rem;
    position: relative;
    z-index: 0;
    cursor: pointer;
    min-height: 8.75rem;
    height: 100%;
}
.section-testimonials .content-testimonials .testimonials-single .testimonial p{
    font-size: 1.25rem;
    color: #3A3A3A;
}
.section-testimonials .content-testimonials .testimonials-single .testimonial img{
    position: relative;
    z-index: 0;
    width: 100%;
}

.section-testimonials .content-testimonials .testimonials-single .testimonial a[data-video]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('../../images/carros/icon-video.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 45px;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 15;
} 
.section-testimonials .content-testimonials .testimonials-single .testimonial a[data-video]:hover::before {
    transform: translate(-50%, -50%) scale(1.2); /* Aumenta a escala para 1.2 */
    opacity: 1; /* Certifique-se de que o ícone permaneça visível */
}
.section-testimonials .content-testimonials .testimonials-single h3{
    color: var(--blue-900);
    margin-top: 1rem;
    font-size: 1.25rem;
}
.section-testimonials .content-testimonials .testimonials-single h4{
    color:var(--blue-900);
    font-weight: 500;   
}

/** Footer **/
.section-footer {
    margin-top: 3rem;
    text-align: center;
    padding-top: 3rem;
    background-color:#00223a;
}
.section-footer p{
    color: white;
    margin-top: 2rem;
}
.section-footer .logo-footer {
    width: 100%;
    max-width: 16.75rem;
}

.section-footer .content-footer {
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 5rem;
    align-items: center;

}

.section-footer .redes {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.section-footer .redes p {
    width: 50px;
    padding-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    background-color: white;

}

.section-footer .redes p:hover {
   background-color:var(--blue-800);

}

.section-footer .content-footer .infos-footer .infos-single .redes p:hover {
    background-color: var(--orange-400);
}

.section-footer .signature-footer {
    margin-top: 2rem;
    padding: 1rem 0;
    text-align: center;
}

.section-footer .signature-footer span {
    color: white;
    font-size: 0.875rem;
}

.section-footer .signature-footer P {
    display: flex;
    align-items: center;
    color: white;
    justify-content: center;
    gap: 0.85rem;
    font-size: 0.75rem;
    margin-top: 0.313rem;
}
@media screen and (max-width: 1070px) {
    .section-testimonials .content-testimonials{
        width: 100%;
        margin: 3rem auto;
    }
}
@media screen and (max-width: 1230px) {
    header .header .logo {
        margin: 0 auto;
    }

    header nav {
        justify-content: end;
    }

    header .header nav #icon-menu {
        display: block;
    }

    .header .nav-bar {
        padding: 3rem;
        display: flex;
        flex-direction: column-reverse;
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        z-index: 20;
        background-color: var(--blue-900);
        opacity: 0;
        overflow: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .header .nav-bar.active {
        opacity: 1;
        color: #000000;
        height: auto;
    }

    header .header .nav-bar .itens-menu {
        text-align: center;
        display: flex;
        justify-content: center;
        gap: 2rem;
        width: 100%;
        flex-direction: column;
    }
    header .header .nav-bar .itens-menu li a{
        color: white;
    }
    header .header .nav-bar .itens-menu button {
        margin-left: 0rem;
    }

}

@media screen and (max-width: 990px) {
    .section-consorcio .img-consorcio{
        width: 100%;
    }
    .section-consorcio .content-consorcio{
        width: 100%;
    }
    .section-banner-destaque {
        padding: 0rem 0;
    }
    .section-banner-destaque .banner-desktop{
        display: none;
     }
     .section-banner-destaque .banner-mobile{
         display: block;
         width: 100%;
     }

     .section-banner-destaque .box-contact{
        height: 250px;
        border-radius: 8px;
        width: 100%;
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        margin: 0 auto;
        justify-content: end;
    }
     .section-banner-destaque .box-contact .form-contact{
        position: absolute;
        background-color: white;
        max-width: 28.75rem;
        height: 26.875rem;
        border-radius: 0.625rem;
        top: 20%; /* Centraliza verticalmente */
        left: 50%; /* Centraliza horizontalmente */
        transform: translate(-50%, -50%); /* Ajusta para o centro exato */
        width: 100%;
        z-index: 10;
    }
    .section-footer .content-footer {
        width: 100%;

    }

    .content-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-blog .content-blog {
        margin-top: 2rem;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .section-advantages .content-advantages{
        grid-template-columns: repeat(2, 1fr);
    }
    .section-form .content-form{
        display: flex;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .section-form .content-form .text-form{
        text-align: center;
    }
    .section-form .content-form .form-simulate{
        margin: 0 auto;
    }
    .section-consorcio{
        padding: 1rem 0;
        display: flex;
        flex-wrap: wrap-reverse;
        height: auto;
    }
    .section-consorcio .content-consorcio{
        width: 100%;
        padding: 4rem;
        background-color: #f4f4f5;
        min-height:auto;
        display: flex;
        align-items: center;
       
    }

}

@media screen and (max-width: 768px) {
body,html{
    font-size: 80%;
}
    h1 {
        font-size: 1.875rem;
    }

    .section-footer .content-footer {
        flex-wrap: wrap;
    }

    .section-footer .content-footer .infos-footer {
        flex-wrap: wrap;
    }

    .cookies .box-cookies {
        padding: 1rem 0;
        flex-wrap: wrap;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .header .nav-bar {
        top: 90px;
    }
    .section-banner-destaque .banner-desktop{
       display: none;
    }
    .section-products .content-products .product-single h3{
        font-size: 1.375rem;
    }
    .section-products .content-products .product-single p{
        font-size: 1.25rem;
    }
    .section-products .content-products .product-single .itens-product p{
        font-size: 1.125rem;
    }
    .section-products .content-products .product-single .itens-product h4{
        font-size: 1.125rem;
    }

}

@media screen and (max-width: 550px) {
    .content-products {
        grid-template-columns: 1fr;
    }
    .section-form .content-form .form-simulate .form-header{
        display: flex;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 450px) {
    .cookies .box-cookies {
        flex-wrap: wrap;
        text-align: center;
    }

    .cookies .box-cookies .btn-cookies {
        margin: 0 auto;
    }
    .section-advantages .content-advantages{
        grid-template-columns: repeat(1, 1fr);
    }


}