@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* ==========================================================
   COMPASS PIPA - CSS PRINCIPAL
   Refatoração completa
========================================================== */

:root{
    --azul-principal:#006491;
    --azul-hover:#24a2dd;
    --azul-botao:#247194;

    --branco:#ffffff;
    --cinza-fundo:#f7f6f6;
    --cinza-texto:#333;
    --cinza-claro:#ddd;
}

/* ==========================================================
   RESET
========================================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;
}

body{

    font-family:"Montserrat", sans-serif;
    font-weight:400;
    background:var(--cinza-fundo);
    color:var(--cinza-texto);
    padding-top:80px;
    overflow-x:hidden;
    
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

body.home{
    padding-top:0;
    
    overflow:hidden;
}

main {

    flex:1;
}

h1,
h2,
h3{

    font-weight:700;
}

img{

    max-width:100%;
    display:block;
}

/* ==========================================================
   HEADER
========================================================== */

header{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:80px;
    background:var(--azul-principal);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 35px;
    z-index:1000;
    box-shadow:
    0 2px 10px rgba(0,0,0,.15);
}

/* LOGO */

.logo{

    display:flex;
    align-items:center;
    
    text-decoration:none;
}

.logo img{

    height:68px;
    width:auto;
    object-fit:contain;
    
     transition:.25s ease;
}

.logo:hover img{

    transform:scale(1.03);
}

/* ==========================================================
   MENU DESKTOP
========================================================== */

.header-right{

    display:flex;
    align-items:center;
    gap:35px;
}

nav{

    display:flex;
    align-items:center;
}

nav ul{

    list-style:none;
    display:flex;
    align-items:center;
    gap:5px;
}

nav ul li{

    list-style:none;
}

nav ul li a{

    color:var(--branco);
    text-decoration:none;
    padding:10px 18px;
    border-radius:6px;
    transition:.3s;
    font-size:15px;
}

nav ul li a:hover,
nav ul li a.active{

    background:var(--azul-hover);
}

/* ==========================================================
   BANDEIRAS
========================================================== */

.language-selector{

    position:relative;
}


.language-current{

    background:none;
    border:none;
    display:flex;
    align-items:center;
    gap:5px;
    cursor:pointer;
    color:#fff;
}

.language-current img{

    width:30px;
    height:30px;
    border-radius:4px;
}

.language-options{

    display:none;
    position:absolute;
    right:0;
    top:100%;      /* fica encostado no botão */
    margin-top:0;  /* sem espaço */
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.25);
    min-width:150px;
}

.language-options button{

    width:100%;
    padding:10px;
    border:none;
    background:#fff;
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    color:#333;
    font-family:inherit;
}

.language-options button:hover{

    background:#f0f0f0;
}

.language-options img{

    width:25px;
    height:25px;
    border-radius:4px;
}

.language-selector:hover .language-options{

    display:block;
}

/* ==========================================================
   MENU HAMBURGER
========================================================== */

/*.menu-toggle{

    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}*/

.menu-toggle{
    flex-shrink:0;
    width:36px;
    height:30px;
    justify-content:center;
    align-items:center;
}

.menu-toggle span{

    width:30px;
    height:3px;
    background:#fff;
    border-radius:5px;
}

/* ==========================================================
   MOBILE HEADER
========================================================== */

@media(max-width:768px){

header{

    height:75px;
    padding:0 18px;
    overflow:visible;
    position: fixed;
    
    /*height:75px;
    padding:0 18px;
    overflow:visible;
    justify-content:space-between;*/
}

/*.header-right{

    display:flex;
    align-items:center;
    gap:12px;
    margin-left:auto;
}*/

.logo img{

    height:58px;
}

.header-right{

    gap:15px;
}

.menu-toggle{

    display:flex;
}

nav{

    position:absolute;
    top:75px;
    left:0;
    width:100%;
}

nav ul{

    display:none;
    flex-direction:column;
    background:var(--azul-principal);
    width:100%;
}

nav.show ul{

    display:flex;
}

nav ul li{

    width:100%;
}

nav ul li a{

    display:block;
    width:100%;
    text-align:center;
    padding:16px;
    border-radius:0;
}

/* ==========================================================
   AJUSTE MOBILE - SELETOR DE IDIOMA
========================================================== */

.language-current{

    padding:0;
    gap:4px;
}

.language-current img{

    width:22px;
    height:22px;
    border-radius:3px;
}

.language-current span{

    font-size:10px;
}

.language-options{

    min-width:130px;
}

.language-options button{

    font-size:13px;
    padding:10px;
}

.language-options img{

    width:20px;
    height:20px;
}
}

/* ==========================================================
   CONTEÚDO PRINCIPAL
   GRID DOS PASSEIOS
========================================================== */

.container{

    width:min(1400px,90%);
    margin:30px auto 60px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap: 30px;
}

/* Tablet */

@media(max-width:1100px){

    .container{

        grid-template-columns:repeat(2,1fr);
    }
}

/* Mobile */

@media(max-width:768px){

    .container{

        width:94%;
        grid-template-columns:1fr;
        gap:24px;
    }
}

/* ==========================================================
   CARD DOS PASSEIOS
========================================================== */

.card{

    background:#fff;
    border-radius:12px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:520px;
    box-shadow:
    0 5px 18px rgba(0,0,0,.12);
    transition:.3s ease;
}

.card:hover{

    transform:translateY(-6px);
    box-shadow:
    0 12px 30px rgba(0,0,0,.18);
}

/* ==========================================================
   IMAGEM DO CARD
========================================================== */

.card img{

    width:100%;
    height:350px;
    object-fit:cover;
}

/* ==========================================================
   TÍTULO
========================================================== */

.card h2{

    color:var(--azul-principal);
    font-size:1.35rem;
    margin:18px 18px 12px;
}

/* ==========================================================
   DESCRIÇÃO
========================================================== */

.card p{

    margin:0 18px;
    line-height:1.6;
    text-align:left;
    font-size:1rem;
    flex-grow:1;
}

/* ==========================================================
   INFORMAÇÕES DO PASSEIO
========================================================== */

.info-passeio{

    margin:18px;
    padding:12px 0;
    border-top:1px solid var(--cinza-claro);
    border-bottom:1px solid var(--cinza-claro);
}

.info-passeio p{

    display:flex;
    align-items:center;
    gap:8px;
    margin:8px 0;
    font-size:.9rem;
}

.info-passeio i{

    color:var(--azul-principal);
    font-size:18px;
    width:20px;
}

/* ==========================================================
   PREÇO
========================================================== */

.card .preco{

    margin:0 18px 18px;
    color:var(--azul-principal);
    font-size:1.3rem;
    font-weight:700;
}

.card .preco span{

    display:block;
    margin-top:5px;
    color:#666;
    font-size:.75rem;
    font-style:italic;
    font-weight:400;
}

/* ==========================================================
   BOTÃO DO CARD
========================================================== */

.card button{

    width:100%;
    margin-top:auto;
    padding:15px;
    border: 0;
    background:var(--azul-botao);
    color:#fff;
    cursor:pointer;
    font-size:1rem;
    transition:.3s;
}

.card button:hover{

    background:var(--azul-principal);
}

/* ==========================================================
   AJUSTES MOBILE DOS CARDS
========================================================== */

@media(max-width:768px){

.card{

    min-height:auto;
}

.card img{

    height:260px;
}

.card h2{

    font-size:1.25rem;
}

.card p{

    font-size:.95rem;
}

.card button{

    padding:14px;
}
}

/* ==========================================================
   BOTÃO FLUTUANTE WHATSAPP
========================================================== */

.whatsapp-button{

    position:fixed;
    right:25px;
    bottom:25px;
    z-index:999;
}

.whatsapp-button img{

    width:62px;
    height:62px;
    border-radius:50%;
    box-shadow:
    0 6px 18px rgba(0,0,0,.25);
    transition:.3s ease;
}

.whatsapp-button img:hover{

    transform:scale(1.12);
}

@media(max-width:768px){

    .whatsapp-button{
        right:18px;
        bottom:18px;
    }

    .whatsapp-button img{

        width:55px;
        height:55px;
    }
}

/* ==========================================================
   AJUSTES MOBILE DO MODAL
========================================================== */

@media(max-width:768px){

.modal{

    padding:15px;
}

.modal-content{

    margin:40px auto;
    padding:22px;
}

.contact-form h2{

    font-size:1.2rem;
}

.contact-form input,
.contact-form textarea{

    font-size:.95rem;
}
}

/* ==========================================================
   FOOTER
========================================================== */

footer{

    width:100%;
    background:var(--azul-principal);
    color:#fff;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
    padding:45px 8%;
    align-items:start;
    border-top:2px solid rgba(255,255,255,.15);
}

/* ==========================================================
   COLUNAS
========================================================== */

.footer-left,
.footer-center,
.footer-right{

    display:flex;
    flex-direction:column;
}

.footer-left{

    text-align:left;
    align-items:flex-start;
}

.footer-center{

    text-align:center;
    align-items:center;
}

.footer-right{

    text-align:right;
    align-items:flex-end;
}

/* ==========================================================
   TITULOS
========================================================== */

footer h3{

    color:#fff;
    font-size:1.15rem;
    margin-bottom:15px;
}

/* ==========================================================
   TEXTOS
========================================================== */

footer p{

    color:#fff;
    margin:5px 0;
    line-height:1.7;
    font-size:.95rem;
}

/* ==========================================================
   LINKS DO FOOTER
========================================================== */

.footer-center a{

    color:#fff;
    text-decoration:none;
    margin:5px 0;
    transition:.25s;
}

.footer-center a:hover{

    color:#bde9fb;
}

/* ==========================================================
   REDES SOCIAIS
========================================================== */

.social-icons{

    display:flex;
    gap:15px;
    margin-top:10px;
}

.footer-right img{

    width:28px;
    height:28px;
    object-fit: contain;
    transition:.3s;
}

.footer-right img:hover{

    transform:scale(1.1);
}

/* ==========================================================
   CRÉDITOS
========================================================== */

.footer-creditos{

    width:100%;
    background:#005575;
    color:#a8d7ec;
    text-align:center;
    padding:14px 10px;
    font-size:.9rem;
}

.footer-creditos a{

    color:#fff;
    text-decoration:none;
}

.footer-creditos a:hover{

    text-decoration:underline;
}

/* ==========================================================
   TABLET
========================================================== */

@media(max-width:900px){

footer{

    grid-template-columns:1fr;
    text-align:center;
    gap:30px;
}

.footer-left,
.footer-center,
.footer-right{

    align-items:center;
    text-align:center;
}
}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:768px){

footer{

    padding:35px 20px;
}

footer h3{

    font-size:1.05rem;
}

footer p{

    font-size:.9rem;
}

.footer-right img{

    width:30px;
    height:30px;
}

.footer-creditos{

    font-size:.82rem;
    padding:12px;
}
}

/* ==========================================================
   PAGAMENTOS DESKTOP
========================================================== */

.payment-icons{

    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-top:10px;
}

.payment-icons img{

    width:60px;
    height:35px;
    object-fit:contain;
}

.payment-icons img:first-child{

    width:60px;
    height:22px;
}

/* ==========================================================
   PÁGINAS INTERNAS
========================================================== */

.page-title {

    text-align:center;
    color:var(--azul-principal);
    margin:30px auto 25px;
    font-size:2rem;
}

.page-content {

    width:min(900px,90%);
    margin:0 auto 60px;

}

.page-content p {

    line-height:1.7;
    margin-bottom:20px;
    text-align:justify;
}

/* ==========================================================
   PÁGINAS INSTITUCIONAIS
========================================================== */

.titulo-pagina{

    text-align:center;
    color:var(--azul-principal);
    margin:40px auto 30px;
    font-size:2rem;
}

.texto-pagina{

    width:min(900px,90%);
    margin:0 auto 60px;
}

.texto-pagina h3{

    color:var(--azul-principal);
    margin-top:25px;
    margin-bottom:10px;
    font-size:1.1rem;
}

.texto-pagina p{

    line-height:1.7;
    text-align:justify;
    margin-bottom:18px;
    color:#333;
}

@media(max-width:768px){

    .titulo-pagina{

        font-size:1.5rem;
        margin-top:25px;
    }

    .texto-pagina{

        width:92%;
    }

    .texto-pagina p{

        text-align:left;
        font-size:.95rem;
    }
}

.btn-primary{

    background:var(--azul-principal);
    color:#fff;
    padding:12px 25px;
    border-radius:5px;
    border:none;
    cursor:pointer;
}

a:focus,
button:focus{

    outline:3px solid var(--azul-hover);
}

/* ==========================================================
   H1 INVISÍVEL PARA BUSCADORES
========================================================== */

.seo-title{

position:absolute;
width:1px;
height:1px;
overflow:hidden;
clip:rect(0,0,0,0);

}

.seo-image{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    opacity:0;
    pointer-events:none;
}
