@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --h1: 32px;
    --h2: 28px;
    --p: 24px;
    --p2: 20px;
    --p3: 16px;
    --titulo: "Poppins", sans-serif;
    --paragrafo: "Poppins", sans-serif;
    --primary: #053888;
    --secondary1: #3f4358;
    --secondary2: #b1a690;
    --accent: #fbf0dc;
    --background: #ffffff;
    --textWhite: #ffffff;
    --128: 128px;
}

#about, #service {
  scroll-margin-top: calc(90px + 12px);
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body{
    background-color: var(--background);
}

body.no-scroll {
    overflow: hidden;
}

.loaderDiv{
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 126px;
    height: 126px;
    padding: 16px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--background);
    box-shadow: 0 0 0 0 var(--primary);
    animation: l2 1.5s infinite linear;
    position: relative;
}

.loader img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 var(--primary);
    animation: inherit;
    animation-delay: -0.5s;
}

.loader:after {
    animation-delay: -1s;
}

@keyframes l2 {
    100% {box-shadow: 0 0 0 40px #05378816}
}

.to_loader{
    opacity: 0;  
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;       
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

::-webkit-scrollbar {
  width: 0px;
}

::-webkit-scrollbar-track {
  background-color: #562525;
}

::-webkit-scrollbar-thumb {
  background-color: #FF8585;
  border-radius: 16px;
}

section, footer{
    position: relative;
    width: 100%;
    min-height: fit-content;
}

section{
    padding: 50px 85px;
}

footer{
    padding: 64px;
}

h1 {
    font-family: var(--titulo);
    font-size: var(--h1);
    color: #FFFFFF;
}

h2 {
    font-family: var(--paragrafo);
    font-weight: 500;
    font-size: var(--h2);
    color: #FFFFFF;
}

h3 {
    font-family: var(--titulo);
    font-weight: normal;
    font-size: var(--p);
    color: var(--secondary1);
}

p {
    font-family: var(--paragrafo);
    font-size: var(--p);
    color: #FFFFFF;
}

a{
    text-decoration: none;
}

.nav-shell {
    position: relative;
    z-index: 1000;
    border: none;
}

.nav-shell.hidden {
    opacity: 0;
    transform: translateY(-10px); 
    pointer-events: none;        
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.nav-shell.hidden .nav-panel {
    max-height: 0 !important;
    overflow: hidden !important;
}

.nav-shell.hidden::before {
    opacity: 0;
    transition: opacity 0.32s ease;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: fit-content;
}

.navbar .logo {
  cursor: pointer;
}

.navbar .logo img {
  height: 48px;
}

.nav-links--desktop {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links--desktop a {
  text-decoration: none;
  color: var(--secondary1);
  font-family: var(--paragrafo);
  font-size: var(--p2);
  transition: color 0.2s;
}

.nav-links--desktop a:hover { color: var(--primary); }

.hamburger {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 3;
  gap: 6px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  background: var(--primary);
  border-radius: 5px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

.nav-panel {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(.2,.9,.2,1);
    border-radius: calc(var(--128)/4);
}

.nav-panel-inner {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-panel-inner a{
    display: block;
    width: 100%;
    padding: 8px;
    text-decoration: none;
    color: var(--primary);
    background: transparent;
    border: none;
    text-align: center;
    font-family: var(--paragrafo);
    font-size: var(--p);
    transition: background 0.18s, color 0.18s;
}

.nav-panel-inner a:hover{ color: var(--secondary1); }

.nav-panel-inner button.cta{
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: var(--background);
}

.nav-panel-inner button.cta:hover{
    background-color: var(--primary);
    box-shadow: 0 0 0 5px #86b2fa7f;
}

#lang-btn {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

button.cta{
    padding: 16px 24px;
    font-family: var(--paragrafo);
    font-size: var(--p2);
    border-radius: calc(var(--128)/4);
    border: none;
    background-color: var(--primary);
    color: var(--background);
    transition: 0.35s;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

button.cta3{
    width: 100%;
    padding: 16px 24px;
    font-family: var(--paragrafo);
    font-size: var(--p2);
    border-radius: calc(var(--128)/4);
    border: 1px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
    transition: 0.35s;
    display: block;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

button.cta:hover{
    background-color: var(--primary);
    box-shadow: 0 0 0 5px #86b2fa7f;
}

button.cta3:hover{
    background-color: transparent;
    box-shadow: 0 0 0 5px #86b2fa7f;
}

.nav-panel.open {
}

section.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 50px;
}

section.hero .parent {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

section.hero .parent #background-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background: url('/resources/others/video_background.png') no-repeat center center;
    background-size: cover;
}

section.hero .parent .shadow-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle,rgba(15, 15, 15, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
}

section.hero .parent .inDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding: 32px;
}

#heroText{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    text-align: center;
    transition: 0.35s;
}

#heroText.center{
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

#form.hide{
    display: none;
}

section.hero form{
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: end;
    padding: 32px;
    background-color: #ffffff35;
    border-radius: calc(var(--128)/4);
    transition: 0.35s ;
}

section.hero form label{
    font-family: var(--paragrafo);
    font-size: var(--p3);
    font-weight: 400;
    color: var(--background);
}

section.hero form .input{
    width: 100%;
    color: var(--primary);
    background-color: var(--background);
    padding: 16px 24px;
    border: none;
    border-radius: calc(var(--128)/4);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

section.hero form input[type=text]{
    width: 170px;
    font-family: var(--paragrafo);
    color: var(--primary);
    font-weight: 500;
    border: none;
}

section.hero form input{
    width: 160px;
    font-family: var(--paragrafo);
    color: var(--primary);
    font-size: var(--p3);
    font-weight: 500;
    border: none;
}

section#cars, section#how, section#who, section#service{
    height: fit-content;
}

section#cars h1, section#cars h2, section#cars p, section#how h1, section#how h2, section#how p, section#who h1, section#who h2, section#who p, section#service h1, section#service h2, section#service p{
    color: var(--secondary1);
    text-align: center;
}

section#cars .vertical, section#how .vertical, section#who .vertical, section#service .vertical{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}


section#cars .inDiv, section#how .inDiv, section#who .inDiv, section#service .inDiv  {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

section#cars .inDiv p, section#how .inDiv p, section#who .inDiv p, section#service .inDiv p{
    width: 50vw;
}

#scardSlider {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: 8px;
    scrollbar-color: #053888 #f0f0f0; 
    padding-bottom: 16px;
    box-sizing: content-box;
}

#scardSlider::-webkit-scrollbar, #cardSlider::-webkit-scrollbar, .testimonial-slider::-webkit-scrollbar{
    height: 8px;
}

#scardSlider::-webkit-scrollbar-track, #cardSlider::-webkit-scrollbar-track, .testimonial-slider::-webkit-scrollbar-track  {
    background: #f0f0f0; 
    border-radius: 8px;
}

#scardSlider::-webkit-scrollbar-thumb, #cardSlider::-webkit-scrollbar-thumb, .testimonial-slider::-webkit-scrollbar-thumb{
    background: #053888; 
    border-radius: 8px;
}

#scardSlider::-webkit-scrollbar-thumb:hover, #cardSlider::-webkit-scrollbar-thumb:hover, .testimonial-slider::-webkit-scrollbar-thumb:hover  {
    background: #062a5c;
}

.serviceCard {
    width: 100%;
    min-width: 386px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid #BEBEBE;
    border-radius: 16px;
}

.serviceImg{
    background-color: #3f4358;
    width: 100%;
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
}

.serviceImg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.serviceName{
    font-weight: 500;
    font-size: var(--p);
    color: var(--primary) !important;
    text-align: left !important;
}

.serviceDetail{
    font-size: var(--p2);
    font-weight: 400;
    text-align: left !important;
}

.serviceDetails{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.serviceDetails p{
    width: 100%;
}

.serviceCard .horizontal{
    justify-content: space-between;
    padding: 8px 16px;
    border-radius: 16px;
    background-color: #EFEFEF;
}

#cardSlider{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 64px;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: 8px;
    scrollbar-color: #053888 #f0f0f0; 
    padding-bottom: 16px;
    box-sizing: content-box;
}

.carCard{
    width: 100%;                     
    max-width: 370px;              
    scroll-snap-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid #BEBEBE;
    border-radius: 16px;
}

.carImg{
    background-color: #3f4358;
    width: 100%;
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
}

.carImg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carName{
    font-weight: 500;
    font-size: var(--p2);
    color: var(--secondary1) !important;
}

.carDetails{
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.carDetails .this{
    width: fit-content;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.carDetails p{
    width: fit-content !important;
    text-align: left !important;
    color: var(--secondary1);
}

.carCard .horizontal{
    width: fit-content;
    gap: 32px;
    padding: 16px 32px;
    border-radius: 16px;
    background-color: #EFEFEF;
}

.carDetails a{
    width: 100% !important;
}

.carCard .vertical{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px !important;
    color: var(--secondary1);
}

.carCard .fa-solid, .horizontal .vertical p{
    font-size: var(--p3);
}

.carCard svg{
    width: 24px;
    fill: var(--secondary1);
}

.carPrice{
    font-size: var(--h1);
    font-weight: 500;
    color: var(--primary);
}

.horizontal{
    display: flex;
    flex-direction: row;
    gap: 32px;
}

section#cars #cardSlider .horizontal .vertical p{
    font-size: var(--p3);
}

button.ctaW{
    font-size: var(--p3);
    height: fit-content;
    color: var(--primary);
    background-color: var(--background);
}

button.ctaW:hover{
    background-color: var(--background);
    box-shadow: 0 0 0 5px #ffffff6c;
}

section.hero form input:focus{
    outline: none;
}

.vertical{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

section#how .horizontal, section#who .horizontal{
    width: 100%;
    gap: 0px;
    align-items: center;
}

.squareImg{
    background-color: #3f4358;
    width: 100%;
    height: 70vh;
    border-radius: calc(var(--128) / 2);
    overflow: hidden;
}

.squareImg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conteudo{
    width: 100%;
    padding-inline: 64px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.infoCard{
    border: 1px solid #BEBEBE;
    padding: 24px 32px;
    border-radius: 24px;
}

.infoCard .horizontal{
    gap: 16px !important;
    align-items: stretch !important; 
}

.infoCard .horizontal span {         
    display: flex;     
    justify-content: center;
    align-items: center;
    padding-inline: 16px;
    border-radius: 16px;
    background-color: #EFEFEF;
    color: var(--secondary1);
}

.infoCard .horizontal .vertical{
    align-items: start !important;
    gap: 8px !important;
}

.infoCard .horizontal .vertical p{
    text-align: left !important;
}

#mapModal { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background:rgba(0,0,0,0.45);
    z-index: 9999; 
    align-items: center; 
    justify-content: center;
}

#mapContainer {
    width: 760px; 
    max-width: 95%; 
    height: 520px; 
    background:#fff; 
    border-radius: 32px;
    overflow: hidden; 
    position: relative; 
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

#map { 
    width: 100%; 
    height: 100%; 
}

#searchBox { 
    position: absolute; 
    top: 16px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 84%; 
    z-index: 10; 
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#searchInput { 
    width: 100%; 
    padding: 16px 24px; 
    font-size: var(--p3); 
    border-radius: 32px 0 0 32px; 
    border: 1px solid #EFEFEF; 
}

#searchInput:focus { 
    outline: none;
}

button.control {
    background: var(--primary);
    color: var(--background); 
    font-size: var(--p3);
    border:none; 
    padding: 16px 24px; 
    border-radius: 0; 
    cursor: pointer;
    transition: .35s;
}

button.control:hover {
    background: #1d5cc3;

}

button#closeMap:hover { 
    background: #ea5957; 
}

button#closeMap { 
    background: #be3a38; 
    border-radius: 0 32px 32px 0;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: 8px;
    scrollbar-color: #053888 #f0f0f0; 
    padding-bottom: 20px;
}

.testimonial-slide {
    flex: 0 0 100%; 
    scroll-snap-align: center;
     display: flex;
    flex-direction: column;
    gap: 48px;
}

#testimonials {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    color: var(--secondary1);
}

#testimonials h2 {
    color: var(--secondary1);
}

.testimonial-text {
    font-size: var(--h2);
    color: var(--secondary1);
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: center ;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author div{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.author-name {
    margin-bottom: 8px;
    text-align: left;
    color: var(--secondary1);
    font-weight: 500;
}

div.stars {
    display: flex;
    flex-direction: row;
    font-size: var(--p);
    color: var(--primary);
}

.arrows {
    display: flex;
    gap: 16px;
}

.arrow {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--background);
    color: var(--primary);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.35s;
}

.arrow.active {
    background-color: var(--primary);
    color: var(--background);
}

.arrow:hover{
    box-shadow: 0 0 0 5px #86b2fa7f;
}

#footer{
    display: flex;
    flex-direction: column;
    background-color: var(--secondary2);
    padding-bottom: 0px !important;
    justify-content: space-between;
    gap: 64px;
}

#footer h3 {
    color: var(--background);
}

#footer .parent{
    display: flex;
    flex-direction: row;
    gap: 64px;
}

#footer .parent .groups {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    height: fit-content;
}

#footer .parent .group-card{
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 300px;
}

#footer .parent .group-card .group-card-info{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#footer .parent .group-card p{
    font-size: var(--p2);
    transition: .35s;
}

#footer .parent .group-card p:hover{
    color: var(--accent);
}

#footer .parent .group-card .group-card-info .icons a:hover{
    background-color: var(--accent);
}

#footer .parent .group-card .group-card-info .icons{
    display: flex;
    flex-direction: row;
    color: var(--background);
    gap: 16px;
}

#footer .parent .group-card .group-card-info .icons a{
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--background);
}

#footer .parent .group-card .group-card-info .icons a i{
    color: var(--secondary2);
    font-size: var(--p);
}

#footer .parent form {
    width: 100%;
}

#footer .bottom{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    padding: 16px 0px;
    height: 90px;
}

#footer .bottom > a{
    width: 100%;
}

#footer .bottom span{
    width: 100%;
    text-align: end;
    display: flex;
    justify-content: end;
    align-items: center;
}

#footer .bottom span p{
    font-size: var(--p3);
}

#footer .bottom span p a{
    color: var(--background);
}

#footer form{
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    padding: 32px;
    background-color: #ffffff35;
    border-radius: calc(var(--128)/4);
    transition: 0.35s ;
}

#footer form button.ctaW{
    width: 100%;
    color: var(--secondary1);
    font-family: var(--paragrafo);
    font-size: var(--p3);
    font-weight: 400;
}

#footer form .horizontal{
    display: flex;
    flex-direction: row;
    gap: 32px;
    width: 100%;
}

#footer form .vertical{
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#footer form label{
    font-family: var(--paragrafo);
    font-size: var(--p3);
    font-weight: 400;
    color: var(--background);
}

#footer form .input{
    width: 100%;
    background-color: var(--background);
    padding: 16px 24px;
    border: none;
    border-radius: calc(var(--128)/4);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

#footer form input{
    width: 100%;
    font-family: var(--paragrafo);
    color: var(--secondary1);
    font-weight: 500;
    border: none;
    font-size: var(--p3);
    transition: .35s;
}

#footer form textarea{
    width: 100%;
    max-height: 10rem;
    field-sizing: content;
    min-height: 2rem;
    font-family: var(--paragrafo);
    color: var(--secondary1);
    font-weight: 500;
    border: none;
    font-size: var(--p3);
    resize: none;
    transition: .35s;
}

#footer form input:focus, #footer form textarea:focus{
    outline: none;
}

#faq{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

#faq .inDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

#faq .inDiv h2, #faq .inDiv p{
    color: var(--secondary1) !important;
}

#faq .inDiv p a{
    color: var(--primary) !important;
}

.faq-container {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #ccc;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: var(--p2);
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
    color: var(--secondary1);
    transition: color 0.35s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .arrow2 {
    transition: transform 320ms cubic-bezier(.2,.9,.2,1);
    font-size: var(--p2);
}

.faq-question span{
    text-align: left;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        max-height 380ms cubic-bezier(.2,.9,.2,1),
        opacity 220ms ease,
        transform 320ms cubic-bezier(.2,.9,.2,1);
    will-change: max-height, opacity, transform;
}

.faq-item.open .faq-answer {
    opacity: 1;
    transform: translateY(0);
    margin-top: 8px;
}

.faq-answer p{
    color: var(--secondary1);
    font-size: var(--p3);
}

.faq-answer p a{
    color: var(--primary);
}


.faq-question[aria-expanded="true"] .arrow2 {
    transform: rotate(180deg);
}

@media (min-width: 1499px) {
    .nav-panel {
        display: none;
    }
    .nav-shell::before { 
        opacity: 1;
    }
    .nav-shell {
        width: calc(100vw - 170px);
    }
    section.hero .parent {
        border-radius: calc(var(--128)/2);
    }
}

@media (max-width: 1499px) {
    .nav-shell {
        width: calc(100vw - 70px);
    }

    section.hero {
        gap: 32px;
    }

    section{
        max-height: fit-content;
        padding: 35px;
    }

    .navbar::before {
        padding: 2px; 
    }

    .navbar .logo {
        font-size: 20px;
        gap: 1rem;
    }

    .navbar .logo .this{
        display: none;
    }
    

    .navbar .logo img{
        width: auto;
        height: 30px;
    }

    .navbar .nav-links {
        list-style: none;
        display: flex;
        gap: 16px;
    }

    section.hero .parent {
        border-radius: calc(var(--128)/4);
    }

    #heroText{
        top: 30%;
        left: 50%;
        transform: translate(-50%, -30%);
    }

    section#cars .inDiv p, section#how .inDiv p, section#who .inDiv p, section#service .inDiv p{
        width: 80%;
    }

    section.hero form .horizontal{
        flex-direction: column;
    }

    #cardSlider {
        gap: 16px;
        overflow-x: auto;            
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
    }

    #cardSlider2 {
        gap: 16px;
        overflow-x: auto;            
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
    }

    #footer{
        gap: 64px;
        min-height: fit-content;
    }

    #footer .parent{
        display: flex;
        flex-direction: column;
        gap: 64px;
    }

    #footer .bottom{
        height: 70px;
    }

    #footer .parent .groups {
        display: flex;
        flex-direction: row;
        gap: 0px;
        justify-content: space-between;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        height: fit-content;
    }

    #footer .parent .group-card{
        min-width: fit-content;
    }
}

@media (max-width: 1240px){
    #cardSlider {
        align-items: flex-start;
        justify-content: flex-start;
    }
}

@media (max-width: 999px) {
    :root{
        --h1: 24px;
        --h2: 20px;
        --p: 16px;
        --p2: 14px;
        --p3: 12px;
    }

        .nav-links--desktop { display: none; }      /* escondemos links do desktop */
    .hamburger { display: flex; }               /* mostramos hamburger */
    .nav-panel { display: block; }              /* painel disponível em mobile */

    .nav-links {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(0, 57, 43, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-radius: 0 0 16px 16px;
    }

    .nav-links.show {
        max-height: 400px;
    }

    .nav-links a, .nav-links button {
        width: 100%;
        padding: 16px 24px;
        font-size: 20px;
    }

    .navbar .icon {
        display: flex;
        flex-direction: column;
    }

    input,
    textarea,
    select {
        font-size: 16px !important;
    }

    
    section#cars .inDiv p, section#how .inDiv p, section#who .inDiv p, section#service .inDiv p{
        width: 100%;
    }

    #heroText{
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -25%);
        text-align: center;
    }

    section.hero form .horizontal{
        flex-direction: row;
    }

    section.hero form{
        flex-direction: column;
        align-items: center;
    }

    section.hero form input[type=text]{
        width: 170px;
    }

    section.hero form input{
        width: 110px;
    }

    .carCard {
        gap: 16px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .vertical{
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    section#how .horizontal.this{
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    
    section#who .horizontal.this{
        flex-direction: column-reverse;
        gap: 32px;
        align-items: center;
    }

    section#how .vertical.this, section#who .vertical.this{
        gap: 32px;
    }

    section#cars, section#how, section#who, section#service{
        min-height: fit-content;
    }

    section#cars .vertical, section#how .vertical, section#who .vertical, section#service .vertical{
        gap: 24px;
    }

    .squareImg{
        height: 40vh;
        border-radius: calc(var(--128) / 4);
    }

    .conteudo{
        padding-inline: 0px;
        gap: 16px;
    }
}

@media (max-width: 740px) {
    #footer{
        gap: 64px;
        min-height: fit-content;
    }

    #footer .parent{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 64px;
    }

    #footer .parent .groups{
        display: grid;
        gap: 32px;
        justify-content: space-between;
        grid-template-columns: repeat(2, 1fr);
    }

    #footer .bottom{
        height: 70px;
    }

}

@media (max-width: 600px) {
    #heroText{
        width: 90%;
        position: absolute;
        top: 15%;
        left: 50%;
        transform: translate(-50%, -15%);
        text-align: center;
        font-size: var(--h2);
    }

    section.hero .parent .inDiv{
        padding: 16px;
    }

    button.cta, #footer form .input, section.hero form .input{
        padding: 8px 12px;
        border-radius: calc(var(--128)/4);
    }

    #footer form .input2{
        border-radius: calc(var(--128)/8);
    }

    section.hero form{
        border-radius: calc(var(--128)/8);
    }

    section.hero form{
        flex-direction: column;
        gap: 16px;
        align-items: center;
        padding: 16px;
    }

    section.hero form .horizontal{
        flex-direction: column;
        gap: 16px;
    }

    section.hero form input[type=text]{
        width: 100%;
    }

    section.hero form input{
        width: 100%;
    }

    .author {
        gap: 12px;
    }

    .author img {
        width: 64px;
        height: 64px;
    }

    .author-name {
        margin-bottom: 4px;
    }

    .arrows {
        gap: 10px;
    }

    .arrow {
        width: 48px;
        height: 48px;
    }

    #scardSlider {
        -ms-overflow-style: none;
        scrollbar-width: none; 
    }

    #cardSlider {
        -ms-overflow-style: none;
        scrollbar-width: none; 
    }

    .serviceCard{
        width: 100%; 
        min-width: 100%;                           
        scroll-snap-align: center; 
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        border: 1px solid #BEBEBE;
        border-radius: 16px;
        scroll-snap-align: start;
    }

    #footer{
        gap: 32px;
        padding: 35px;
    }

    #footer .parent{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 32px;
    }

    #footer .bottom{
        height: fit-content;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    #footer .bottom > a{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 38px;
    }

    #footer .bottom span{
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #footer .parent .groups{
        display: grid;
        gap: 32px;
        justify-content: space-between;
        grid-template-columns: repeat(2, 1fr);
    }

    #footer .parent .groups {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #footer .parent form{
        gap: 16px;
        border-radius: calc(var(--128)/6);
    }

    #footer .parent form .horizontal{
        flex-direction: column;
        gap: 16px;
    }

    #footer .parent .groups .group-card-info{
        align-items: center;
    }

    .faq-container {
        max-width: 100%;
    }
}

@media (max-height: 700px)  {
    section, footer{
        min-height: 100vh;
        max-height: fit-content;
    }

    section.hero .parent{
        min-height: 95vh;
    }

    section.hero .parent .inDiv {
        padding: 16px;
        min-height: 90vh;
    }

    section.hero .parent #background-video{
        height: 90vh;
    }

    section.hero form .horizontal{
        flex-direction: column;
        gap: 16px;
    }

    section.hero form input[type=text]{
        width: 100%;
    }

    section.hero form input{
        width: 100%;
    }
}