: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);
}



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;
}


.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: 45vh;
    background-image: url(fotos/dialogue-9039504_1280.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: 55%;
    left: 4%;
    color: white;
    font-size: clamp(3.5rem, 4vw, 2.5rem);
}

.h2-title{
    position: relative;
    z-index: 2;
    top: 34%;
    left: 4%;
    
    color: white;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.p-text{
    position: absolute;
    z-index: 2;
    top: 81%;
    left: 5%;
    font-size: clamp(1.35rem, 4vw, 1.2rem);
    margin: 0;
    color: white;
}




    .section__contato{
        display: flex;
        width: 25%;
        left: 0;
        margin: auto;
        gap: 20px;
       height: auto;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background: var(--body-color);
        margin-left: 100px;
        padding: 20px;
    }

    .section__contato h2{
        color: #1F3368;
        font-size: 2rem;
        margin: 1rem;
    }

    .section__contato form{
        display: flex;
         flex-direction: column;
         width: 100%;
    }
   
    form label{
        color: #1F3368;
        font-size: 17px;
        margin-bottom: 1px;
        width: 100%;
        transition: width 0.5s ease;
    }

    form input{
        padding: 15px;
        outline: none;
        border: 0;
        margin-bottom: 20px;
        font-size: 15px;
        border: 2px solid #f1f1f1;
        transition: all 0.5s;
    }

    form input:focus{
        border-radius: 16px;
    }

    form textarea{
        padding: 10px;
        outline: none;
        border: 2px solid #f1f1f1;
        font-size: 15px;
        margin-bottom: 30px;
        transition: all 0.5s;
    }

    form textarea:focus{
        border-radius: 16px;
    }

    form button{
        padding: 15px;
        cursor: pointer;
        font-size: 16px;
        background: transparent;
        border: 2px solid #f1f1f1;
        color: #1F3368;
        transition: all 0.1s;
        margin-bottom: 20px;
    }

    form button:hover{
        background: #1F3368;
        color: #fff;
        border-radius: 16px;
    }


    .mapa-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-top: 40px;
    }

    .mapa-content{
        height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    }

    .mapa{
     height: 500px;
     margin-top: 20px;
     width: 100%;
     position: relative;
     display: block;
    }


    .titulo-mapa{
        position: relative;
    color: #1F3368;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    }
 
  
    .paragrafo-mapa{
        font-size: 1rem;
        text-align: center;
        margin-bottom: 20px;
    }


  
@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%;
    }

    .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%;
    }

    .mapa-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .section__contato {
        width: 25%;
        margin-left: 0;
    }

    .mapa-content {
        width: 70%;
        align-items: center;
    }

    .mapa {
        width: 100%;
    }

    form label {
        width: 70%;
    }
}


@media (max-width: 1118px) {
    .section-imagem {
        margin: 5% auto;
        height: 40vh;
        top: 50px;
        max-width: 90%;
    }
  
    .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; 
    }

    .mapa-container {
        flex-direction: column;
    }

    .section__contato {
        width: 80%;
        margin-left: 10%;
    }

    .mapa {
        width: 800px;
    }

    form label {
        width: 60%;
    }
}


@media (max-width: 768px) {
    .section-imagem {
        top: 40px;
        height: 25vh;
        margin: 0 auto;
    }

    .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;
       }

    .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; 
    }
    .mapa-container {
        flex-direction: column;
    }

    .section__contato {
        width: 80%;
        margin-left: 10%;
    }


    .section__contato h2{
        text-align: center;
    }

    .mapa {
        width: 600px;
    }

    .titulo-mapa {
        font-size: 2rem;
    }

    .paragrafo-mapa {
        font-size: 0.9rem;
    }

    form label {
        width: 90%;
    }
}

    


@media (max-width: 480px) {
    .section-imagem {
        height: 30vh;
        margin-top: 50px;
    }

    .h1-title, .h2-title {
        font-size: 1.2rem;
        top: 25%;
    }
  
    .p-text {
        font-size: 0.8rem;
        top: 60%;
    }

    .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; 
    }
    .mapa-container {
        flex-direction: column;
        gap: 20px;
    }

    .section__contato {
        width: 80%;
        padding: 10px;
    }

    .section__contato h2 {
        font-size: 1.5rem;
    }

    .mapa {
        width: 100%;
        height: 300px;
        margin-top: 20px;
    }

    .titulo-mapa {
        font-size: 1.5rem;
    }

    .paragrafo-mapa {
        font-size: 0.8rem;
    }

    form label {
        width: 100%;
    }
}
