:root{
    --header-height: 5rem;

    --first-color:hsl(220, 68%, 54%);
    --first-color-lighten:hsl(220, 68%, 97%);
    --title-color:hsl(220, 48%, 28%);
    --text-color:hsl(220, 12%, 45%);
    --body-color:hsl(220, 100%, 99%);



    --normal-font-size:1.375rem;
    --smal-font-size:1.125rem;
    --smaller-font-size:1rem;



    --font-medium:500;  
    --font-semi-bold:600;


    --z-tooltip:10;
    --z-fixed:100;
}

@media screen and (min-width: 1024px){
    :root {
        --normal-font-size: 1rem;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



ul{
    list-style: none;
}

a{
    text-decoration: none;
}


.container{
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.header{
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    z-index: 99999999999999999999999999999999999999;
}

.nav{
    height: var(--header-height);
}


.nav__burguer,
.nav__close{
    color: #1F3368;
}

.nav__data{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo{
    font-size: 1.65rem;
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    color: #1F3368;
    font-weight: var(--font-semi-bold);
}

.nav__logo i{
    font-size: 1.4rem;
    color: #E3622C;
}

.nav__toggle{
    position: relative;
    width: 32px;
    height: 32px;
}


.nav__burguer,
.nav__close{
position: absolute;
width: max-content;
height: max-content;
inset: 0;
margin: auto;
font-size: 1.25rem;
cursor: pointer;
transition: opacity .1s, transform .4s;
}


.nav__close{
    opacity: 0;
}

@media screen and (max-width: 1118px) {
    .nav__menu{
      position: absolute;
      left: 0;
      top: 2.5rem;
      width: 100%;
      height: calc(100vh - 3.5rem);
      overflow: auto;
      pointer-events: none;
      opacity: 0;
      transition: top .4s, opacity .3s;
    }
    .nav__menu::-webkit-scrollbar{
        width: 0;
    }
    .nav__list{
        padding-top: 1rem;
    }
}

.nav__link{
    color: #1F3368;
  background-color: var(--body-color);
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    font-size: 1.1rem;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
}

.nav__link:hover{
    background-color: #1F3368;
    color: #E3622C;
}


.show-menu{
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

.show-icon .nav__burguer{
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__close{
    opacity: 1;
    transform: rotate(90deg);
}


.dropdown__item{
    cursor: pointer;
}

.dropdown__arrow{
    font-size: 1.25rem;
    transition: trasform .4s;
}

.dropdown__link{
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: #1F3368;
    background-color: white;
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: var(--font-semi-bold);
    transition: background-color .3s;
}

.dropdown__link i{
    font-size: 1.5rem;
    color: #E3622C;
}

.dropdown__menu{
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-out;
}

.dropdown__item:hover .dropdown__menu{
    max-height: 1000px;
    transition: max-height .4s ease-in;
}

.dropdown__item:hover .dropdown__arrow{
    transform: rotate(180deg);
}


@media  screen and (max-width: 340px) {
    .container{
        margin-inline: 1rem;
    }

    .nav__link{
        padding-inline: 1rem;
    }
}


@media screen and (min-width: 1118px){
    .container{
        margin-inline: auto;
    }
    .nav{
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }
    .nav__toggle{
        display: none;
    }
    .nav__list{
        height: 100%;
        display: flex;
        column-gap: 3rem;
    }

    .nav__link{
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }

    .nav__link:hover{
        background-color: transparent;
    }
    .dropdown__item{
    position: relative;
    }
    .dropdown__menu{
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: 0;
        top: 6rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
    }

    .dropdown__link{
        padding-inline: 1rem 3.5rem;
    }


    .dropdown__item:hover .dropdown__menu{
        opacity: 1;
        top: 5.5rem;
        pointer-events: initial;
        transition: top .3s;
    }
    .section-imagem {
        margin: 5% auto;
        height: 40vh;
        top: 50px;
        max-width: 90%;
    }


    .slider{
        display: flex;
        flex-direction: column;
    }

    .h1-title, .h2-title {
        font-size: clamp(1.2rem, 4vw, 2rem);
        left: 5%;
        top: 25%;
    }

    .p-text {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        top: 60%;
        left: 5%;
    }

    .slider .slider-box img {
        width: 60%;
        height: 70%;
        left: 35%;
        top: 80px;
        cursor: pointer;
    }

    .slider .slider-box .texto-slider {
        left: 1.5rem;
        font-size: 1.2rem; 
        top: auto;
        width: 100%; 
    }


 
    .texto-slider p{
        font-size: 1.2rem;
        width: 50%;
    }

    .texto-slider a{
        font-size: 1rem;
    }

    .local__info{
        font-size: 1rem;
        text-align: center;
    }


    
    .titulo-unidades {
        font-size: 3rem; 
    }

    .local__info p {
        margin-top: 15px;
    }

    .setas {
        margin-top: 3.9rem;
        left: 60%; 

    }

    .posto__ancara{
        font-size: 1.2rem;
        text-align: center;
        left: 3rem;
    }

    .btn-nav-box {
        gap: 5px; 
    }

    .btn-nav-box .btn-nav {
        width: 15px; 
        height: 7px;
        display: none;
    }





    .container-apresentacao {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        gap: 1.5rem;
        width: 90%;
    }

    .content-apresentacao {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .apresentacao-link {
        text-align: center;
        margin: 0;
        display: inline-block;
    }

    .boxes {
        align-items: center;
        gap: 1.5rem;
        margin: 0 auto;
    }

    .box2 {
        width: 50%;
        right: 0;
    }

    .box{
        width: 50%;
    left: 0;
    }

    .section-menu{
        align-items: center;
        margin: 2%;
    }
}

body{
    font-family: 'Poppins', sans-serif;
    font-size: var(--normal-font-size);
    line-height: 1.8;
    background-color: var(--body-color);
    color: var(--text-color);

}

.main{
    width: 100%;
    padding: 0.01rem;
}

.section{
    margin-bottom: 3rem;
}


.section__title{
    font-size: 1.8rem;
    color: var(--title-color);
    text-align: center;
}

.section__title2{
    font-size: 1.8rem;
    color: var(--title-color);
    text-align: center;

}

.section__description{
    font-size: var(--smal-font-size);
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}


.boxes{
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 20px;
}

/* Parte da imagem */
.box-image {
    height: 60%; 
}

.box-image img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}


.box-text {
    padding: 15px; 
    text-align: center; 
    font-size: 16px; 
    color: #333;
    height: 40%; 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
}

.box-text h2{
    color: #1F3368;
    font-size: 1.4rem;
    
}

.service__description{
    font-size: var(--smaller-font-size);
}


.footer{
    text-align: center;
    background-color: var(--body-color);
    padding: 20px 0;
    margin-top: 70px;
    color: var(--text-color);
    width: 100%;
}

.footer-container{
    display: flex;
    color: #1F3368;
}

.footer-container ul{
    width: 25%;
}

.footer-container h3{
    margin-bottom: 16px;
    font-weight: 600;
}

.redes-sociais i{
   margin-right: 10px;   
}

.footer-container ul>p{
    margin-bottom: 40px;
}

.footer-container li{
    margin: 10px 0;
}

.footer-container a{
    color: #1F3368;
}


.hr-footer{
    border: none; 
    height: 3px;
    background-color: #E3622C; 
    margin: 40px 300px; 
}





.section-imagem{
    width: 100%;
    max-width: 89.5%;
    margin-top: 6.4%;
    margin-left: 115px;
    align-items: center;
    border-radius: 22px;
    height: 30vh;
    background-image: url(fotos/servicosfotocentral.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    border-radius: 22px;
    pointer-events: none;
    z-index: 1;
}

.h1-title{
    position: relative;
    z-index: 2;
    top: 48%;
    left: 4%;
    color: white;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.h2-title{
    position: relative;
    z-index: 2;
    top: 30%;
    left: 4%;
    color: white;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.p-text{
    position: absolute;
    z-index: 2;
    top: 78%;
    left: 5%;
    font-size: clamp(0.5rem, 4vw, 1.2rem);
    margin: 0;
    color: white;
}



.apresentacao{
    padding: 20px 0;
}

.container-apresentacao{
justify-content: space-between;
display: flex;
margin-left: 170px;
width: 80%;
gap: 20px;
}


.content-apresentacao{
    margin: 30px;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-left: 70px;
}

.apresentacao-paragrafo1{
margin-top: 20px;
}

.apresentacao-paragrafo{
    margin-top: 40px;
    text-align: center;
    color: black;
    font-size: 1rem;
}



.box {
    width: 412px;
    height: 325.547px;
    left: 310px;
    position: relative;
    border: 1px solid #ddd; 
    border-radius: 20px; 
    overflow: hidden; 
    background-color: white;
}

.box2{
    width: 412px;
    height: 325.547px;
    left: 0px;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    background-color: white;
}

.box3{
    width: 412px;
    height: 325.547px;
    right: 310px;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    background-color: white;
}
.boxes{
    margin:60px 0;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}



.box-image {
    height: 70%; 
}


.box-image img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.box-image:hover{
    background-image: url("fotos/Group\ 75.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.box-text {
    padding: 15px; 
    text-align: center; 
    font-size: 14px; 
    color: #333;
    height: 30%; 
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
}

.box-text h2{
    color: #1F3368;
    font-size: 1.5rem;
}

.link__combustivel{
   margin: 40%;
   color: #1F3368;
}

.link__combustivel:hover{
    color: #E3622C;
}

.qualidades-gasolina {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    margin: 20px 0;
}

.list-qualidade {
    flex: 1;
    margin: 0 10px;
}

.opcao-qualidade {
    display: block;
    padding: 10px 15px;
    text-align: center;
    border: 2px solid #1F3368;
    border-radius: 10px;
    color: #1F3368;
    font-family: Arial, sans-serif;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.opcao-qualidade:hover {
    background-color: #1F3368;
    color: #fff;
}



@media  screen and (max-width: 340px) {
    .container{
        margin-inline: 1rem;
    }

    .nav__link{
        padding-inline: 1rem;
    }
}

@media screen and (min-width: 1118px){
    .container{
        margin-inline: auto;
    }
    .nav{
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }
    .nav__toggle{
        display: none;
    }
    .nav__list{
        height: 100%;
        display: flex;
        column-gap: 3rem;
    }

    .nav__link{
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }

    .nav__link:hover{
        background-color: transparent;
    }
    .dropdown__item{
    position: relative;
    }
    .dropdown__menu{
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: 0;
        top: 6rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
    }

    .dropdown__link{
        padding-inline: 1rem 3.5rem;
    }


    .dropdown__item:hover .dropdown__menu{
        opacity: 1;
        top: 5.5rem;
        pointer-events: initial;
        transition: top .3s;
    }
    .section-imagem {
        margin: 5% auto;
        height: 40vh;
        top: 50px;
        max-width: 90%;
    }


    .slider{
        display: flex;
        flex-direction: column;
    }

    .h1-title, .h2-title {
        font-size: clamp(1.2rem, 4vw, 2rem);
        left: 5%;
        top: 25%;
    }

    .p-text {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        top: 60%;
        left: 5%;
    }

    .slider .slider-box img {
        width: 60%;
        height: 70%;
        left: 35%;
        top: 80px;
        cursor: pointer;
    }

    .slider .slider-box .texto-slider {
        left: 1.5rem;
        font-size: 1.2rem; 
        top: auto;
        width: 100%; 
    }


 
    .texto-slider p{
        font-size: 1.2rem;
        width: 50%;
    }

    .texto-slider a{
        font-size: 1rem;
    }

    .local__info{
        font-size: 1rem;
        text-align: center;
    }


    
    .titulo-unidades {
        font-size: 3rem; 
    }

    .local__info p {
        margin-top: 15px;
    }

    .setas {
        margin-top: 3.9rem;
        left: 60%; 

    }

    .posto__ancara{
        font-size: 1.2rem;
        text-align: center;
        left: 3rem;
    }

    .btn-nav-box {
        gap: 5px; 
    }

    .btn-nav-box .btn-nav {
        width: 15px; 
        height: 7px;
        display: none;
    }





    .container-apresentacao {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        gap: 1.5rem;
        width: 90%;
    }

    .content-apresentacao {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .apresentacao-link {
        text-align: center;
        margin: 0;
        display: inline-block;
    }

    .link__combustivel{
        margin: 37%;
        text-align: center;
     }
     
     .link__combustivel:hover{
         color: #E3622C;
     }

    .boxes {
        align-items: center;
        gap: 1.5rem;
        margin: 0 auto;
    }


    .box{
        width: 50%;
        left: 0;
    }

    .box2{
        width: 50%;
    left: 0;
    }
    
    .box3{
        width: 50%;
        right: 0;
    }
}


@media (max-width: 1118px) {
    .section-imagem {
        margin: 5% auto;
        height: 40vh;
        top: 50px;
        max-width: 90%;
    }
    .section-menu{
        display: flex;
        flex-direction: column;
    }

    .section-menu h2{
        text-align: center;
        font-size: 1.4rem;
        margin:10% 26%;
    }

    .section-menu a{
    font-size: 1.2rem;
    margin: 0 12%;
    }


    .slider{
        display: flex;
        flex-direction: column;
    }

    .h1-title, .h2-title {
        font-size: clamp(1.2rem, 4vw, 2rem);
        left: 5%;
        top: 25%;
    }

    .p-text {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        top: 60%;
        left: 5%;
    }

    .slider .slider-box img {
        width: 60%;
        height: 70%;
        left: 35%;
        top: 80px;
        cursor: pointer;
    }

    .slider .slider-box .texto-slider {
        left: 1.5rem;
        font-size: 1.2rem; 
        top: auto;
        width: 100%; 
    }


 
    .texto-slider p{
        font-size: 1.2rem;
        width: 50%;
    }

    .texto-slider a{
        font-size: 1rem;
    }

    .local__info{
        font-size: 1rem;
        text-align: center;
    }


    
    .titulo-unidades {
        font-size: 3rem; 
    }

    .local__info p {
        margin-top: 15px;
    }

    .setas {
        margin-top: 3.9rem;
        left: 60%; 

    }

    .posto__ancara{
        font-size: 1.2rem;
        text-align: center;
        left: 3rem;
    }

    .btn-nav-box {
        gap: 5px; 
    }

    .btn-nav-box .btn-nav {
        width: 15px; 
        height: 7px;
        display: none;
    }





    .container-apresentacao {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        gap: 1.5rem;
        width: 90%;
    }

    .content-apresentacao {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .apresentacao-link {
        text-align: center;
        margin: 0;
        display: inline-block;
    }

    .boxes {
        align-items: center;
        gap: 1.5rem;
        margin: 0 auto;
    }
    .boxes1 {
        align-items: center;
        gap: 1.5rem;
    }

    .box2 {
        width: 50%;
        right: 0;
    }

    .box{
        width: 50%;
    left: 0;

    }
    .box3{
        width: 50%;
    left: 0;
    }

    .link__combustivel{
        margin:37%;
        text-align: center;
     }

     .section-menu{
        text-align: center;
        align-items: center;
     }
     
     .link__combustivel:hover{
         color: #E3622C;
     }

    .post-filter {
        font-size: 1.5rem; 
        margin: 20px; 
    }

    .filter-item {
        font-size: 0.8rem; 
    }

    .post {
        gap: 1rem; 
        padding: 1.5rem; 
    }

    .post-box {
        flex-direction: column; 
        padding: 15px; 
    }

    .text-post {
        width: 90%; 
        padding: 20px; 
    }

    .post-img {
        width: 100%; 
        height: 200px; 
        margin-bottom: 1rem; 
    }

    .post-title,
    .post-title2 {
        font-size: 1.25rem; 
    }

    .post-description {
        margin-top: 1rem;
        font-size: 0.9rem; 
    }

    .post-date {
        font-size: 0.8rem; 
    }

    .footer-container {
        gap: 15px; 
        text-align: center; 
    }

    .footer-container ul {
        flex: 1 1 250px; 
        text-align: center; 
    }

    .footer-container h3 {
        font-size: 1.1rem;
    }

    .footer-container li {
        font-size: 0.85rem; 
    }

    .hr-footer {
        width: 90%; 
        margin: 15px auto; 
    }
}


@media (max-width: 768px) {
    .section-imagem {
        top: 40px;
        height: 25vh;
    }


    .slider{
        display: flex;
        flex-direction: column;
    }


      
    .section-menu{
        display: flex;
        flex-direction: column;
    }

    .section-menu h2{
        text-align: center;
        font-size: 1.4rem;
        margin:10% 26%;
    }

    .section-menu a{
    font-size: 1.2rem;
    margin: 0 12%;
    }


    .h1-title, .h2-title {
        font-size: clamp(1.2rem, 4vw, 1rem);
        text-align: center;
        top: 25%;
        left: 0;
    }

    .p-text {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
        top: 72%; 
        left: 0;
        text-align: center;
       }

    .slider .slider-box img {
        width: 53%;
        height: 46%;
        left: 45%;
        top: 35%;
        margin-top: 3rem;
        cursor: pointer;
    }

    .slider .slider-box .texto-slider {
        left: 1.5rem;
        font-size: 1.2rem; 
        width: 100%; 
        height: 100%;
    }

    .texto-slider p{
        font-size: 1rem;
    }

    .texto-slider a{
        font-size: 1rem;
        
    }

    .local__info{
        font-size: 1rem;
    }

    
    .titulo-unidades {
        font-size: 2rem;
    }


    .setas {
        margin-top: 3.9rem;
        left: 60%; 

    }

    .posto__ancara{
        font-size: 1.2rem;
        text-align: center;
        left: 3rem;
    }

    .btn-nav-box {
        gap: 5px; 
    }

    .btn-nav-box .btn-nav {
        width: 15px; 
        height: 7px;
        display: none;
    }
    .content-apresentacao {
        gap: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10%;
        justify-content: space-between;
    }


    .apresentacao-paragrafo1{
        align-items: center;
        margin: 30px;
    }

    .apresentacao-paragrafo{
        align-items: center;
        margin: 30px;
    }

    .boxes1{
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        gap: 20px; 
        padding: 10px;
    }
    .boxes{
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        gap: 20px; 
        padding: 10px;
    }

    .box, .box2, .box3 {
        width: 90%; 
        height: auto; 
        left: auto; 
        right: auto;
        margin: 0 auto; 
        border: 1px solid #ddd; 
        border-radius: 8px; 
        overflow: hidden; 
        background-color: white; 
        cursor: pointer;
    }

    .content-apresentacao{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .menu-container{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .qualidades-gasolina{
        display: flex;
        align-items: center;
        flex-direction: column;
        
    }



    .box-text {
        padding: 10px; 
        text-align: center;
        font-size: 14px; 
        height: auto; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .box-text h2 {
        font-size: 1.2rem; 
        color: #1F3368; 
    }


    .footer-container {
        flex-direction: column; 
        gap: 20px; 
    }

    .footer-container ul {
        width: 90%; 
    }

    .footer-container li {
        margin: 5px 0; 
        font-size: 0.8rem; 
    }

    .hr-footer {
        width: 90%;
        margin: 10px auto;
        height: 2px; 
    }
}

    


@media (max-width: 480px) {
    .section-imagem {
        height: 30vh;
    }

    .h1-title, .h2-title {
        font-size: 1.2rem;
        top: 15%;
    }

    .section-menu{
        display: flex;
        flex-direction: column;
    }

    .section-menu h2{
        text-align: center;
        font-size: 1.4rem;
        margin:10% 26%;
    }

    .section-menu a{
    font-size: 1.2rem;
    margin: 0 12%;
    }

    .p-text {
        font-size: 0.8rem;
        top: 50%;
    }

    .slider .slider-box img {
        width: 100%;
        height: auto;
    }

    .apresentacao-paragrafo {
        font-size: 0.9rem;
    }

    .setas {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .content-apresentacao {
        gap: 1rem;
    }

    .box, .box2 {
        max-width: 100%;
    }

    .footer-container {
        gap: 15px; 
    }

    .footer-container ul {
        text-align: center; 
    }

    .footer-container li {
        font-size: 0.9rem; 
    }

    .footer-container a {
        font-size: 0.85rem; 
    }

    .hr-footer {
        margin: 15px auto; 
        height: 1.5px; 
    }
}

  