@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;
}

::-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: 100vh;
    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: #FFFFFF;
}

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;
}

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;
}

.left button{
    font-size: var(--p3);
}

.left button i{
    font-size: var(--p3);
}

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: 10px;
}

button.ctaGrey{
    border: 1px solid var(--primary);
    color: var(--primary);
}

button.ctaGrey:disabled{
    border: 1px solid #73757C;
    color: #73757C;
}

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

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

button.ctaGrey:disabled:hover{
    background-color: transparent;
    box-shadow: 0 0 0 5px #73757c3c;
}

.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: row;
    position: relative;
    gap: 32px;
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: relative;
}

section.hero .parent .left{
    display: flex;
    width: 35%;
    flex-direction: column;
    gap: 32px;
}

section.hero .parent .right{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

section.hero .parent .right .inDiv{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20%;
    align-items: center;
    color: var(--secondary1);
}

section.hero .parent .right .inDiv div{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

section.hero .parent .right .inDiv div.cta3{
    width: fit-content;
    font-size: var(--p3);
}

.parent .right .inDiv h1, .parent .right .inDiv p{
    color: var(--secondary1);
}

.parent .right .inDiv p{
    font-size: var(--p3);
}

.solicitar{
    width: 100%;
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding: 32px 48px;
    gap: 32px;
    border-radius: calc(var(--128)/4);
    background-color: #EFEFEF;
}

.solicitar h2, .solicitar p{
    color: var(--secondary1);
}

.solicitar h2{
    font-size: var(--p);
}

.solicitar p{
    font-size: var(--p2);
}

.solicitar a, .solicitar a button{
    width: 100%;
}

.filters{
    width: 100%;
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding: 32px 48px;
    gap: 32px;
    border-radius: calc(var(--128)/4);
    background-color: #EFEFEF;
}

.filters label{
    display: none;
}

select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: var(--paragrafo);
    font-size: var(--p3);
    font-weight: 500;
    background-color: #EFEFEF;
    color: var(--secondary1);
    border: 0px solid var(--primary);
    padding: 16px 24px;
    border-radius: calc(var(--128)/4);   
    width: 100%;
    cursor: pointer;
    transition: 0.35s;
}

select:hover,
select:focus{
    outline: none;
    box-shadow: 0 0 0 5px #86b2fa7f;
    border-color: var(--primary);
}

select{
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23053888' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10% center;
    background-size: 24px;
}

select option{
    font-family: var(--paragrafo);
    font-size: var(--p3);
    color: var(--secondary1);
    background-color: var(--background);
}

section.hero .parent .right{
    display: flex;
    width: 100%;
}

#carSlider{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    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%;                              
    scroll-snap-align: center; 
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 16px;
    border: 1px solid #BEBEBE;
    border-radius: 16px;
}

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

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

.carLocation{
    font-weight: 500;
    font-size: var(--p3);
    display: flex;
    gap: 4px;
    flex-direction: row;
    align-items: center;
}

.carName{
    font-weight: 500;
    font-size: var(--p);
}

.carDetailsMother{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.carDetails{
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

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

.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;
}

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

.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 .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(--background);
    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;
}

button.cta3.this {
    display: none;
}

@media (min-width: 1499px) {
    .nav-panel {
        display: none;
    }
    .nav-shell::before { 
        opacity: 1;
    }
    .nav-shell {
        width: calc(100vw - 170px);
    }

    section.hero .parent .left{
        padding-right: 53px;
    }
}

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

    section.hero .parent .left{
        padding-right: 3px;
    }

    .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;
    }

    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;
    }

    #cardSlider {
        gap: 16px;
        align-items: flex-start;
        justify-content: flex-start;
        overflow-x: scroll;            
        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: 1100px) {
    section.hero .parent .left {
        position: absolute;
        z-index: 1;
        transition: .35s;
        transition-behavior: allow-discrete;
        opacity: 0;
        scale: 0;
        width: 0;
        display: none;
    }
    
    section.hero .parent .left.visible {
        display: flex;
        opacity: 1;
        scale: 1;
        width: 100%;
    }

    section.hero .parent .left.visible::after {
        content: "";
        position: absolute;
        top: -15%; 
        left: -15%;
        width: 150%; 
        height: 500%;
        border-radius: calc(var(--128)/6);
        background-color: rgba(0, 0, 0, 0.5); 
        box-shadow: 10px 10px 100px rgba(0, 0, 0, 0.58); 
        z-index: -1;
        pointer-events: none;
    }

    button.cta3.this {
        width: fit-content;
        display: block;
    }

    section.hero .parent .left{
        padding-right: 0px;
    }
}

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

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

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

@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;
    }

    .carCard {
        flex-direction: column;
        padding: 16px;
    }

    .carCard .horizontal {
        gap: 24px;
        padding: 16px 24px;
    }

    .carImg {
        height: 250px;
    }

    .carDetailsMother {
        align-items: center;
    }

    .carDetails {
        align-items: center;
    }

    .carDetails a{
        width: 100%;
    }

    .carDetails .this {
        align-items: center;
    }

    section.hero .parent .left {
        width: 45%;
    }

}

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

    .carName {
        font-size: calc(var(--h1)*1.15);
    }

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

    .arrows {
        gap: 10px;
    }

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

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

    #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;
    }

    .carDetails p {
        text-align: center !important;
    }

    .filters {
        width: 100%;
        padding: 32px;
        gap: 16px;
        border-radius: calc(var(--128)/6);
    }

    .filters select {
        padding: 8px 12px;
    }
}

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