/* CSS GLOBAL */

:root{

    /*Fonte menu navegação */
    --fonte-menu-navegacao: 1.1rem;

    /*Fonte hero idx*/
    --fonte-hero: 20rem;

    /*Background color */
    --primary-background: oklch(13% 0.028 261.962);

    /*Background hero idx */
    --background-hero-idx: linear-gradient(to right, oklch(13% 0.028 261.962),#0d2035); 

    /* Background submenu */
    --submenu-background-hover: #00bfff;

    /* Background botao header */
    --background-transition: background 0.3s;

    /* Background hero */
    --background: linear-gradient(to right,oklch(13% 0.028 261.962), #1f2937);

    /* Background cards missao visao e valores */
    --background-m-v-v: #1f2937;

    /* Background submenus */
    --background-submenus: #0e0e10;

    /* Background color segmentos */
    --background-segmentos: #344151;

    /* Background color cards */
    --background-cards: #111827;

    /* Background banner */
    --background-banner: linear-gradient(to right, oklch(63.94% 0.151 219.57), oklch(38.16% 0.115 259.97));

    /* Shadow cards missao visao valores ; shadow lg*/
    --box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),
                0 4px 6px -4px rgba(0,0,0,0.1);
    
    /* Box shadow submenus */
    --box-shadow-submenus: 0 2px 8px rgba(0, 0, 0, 0.5);

    /* Cards hover */
    --border-color: #00bfff;

    /* Header Background */
    --header-background: rgba(10, 10, 12, 0.95);

    /* Box shadow header */
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);

}

/*CONFIGURAÇÕES DA PÁGINA */

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

html, body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: oklch(13% 0.028 261.962);
    color: #f5f5f5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}


ul.custom-list li::before {
  content: "▶"; /* seta preenchida */
  display: inline-block;
  width: 1.1em; /* espaço reservado */
  margin-left: -1em; /* posiciona à esquerda do texto */
}

/* MENU NAVEGACAO HEADER */

.header {
    background-color: oklch(13% 0.028 261.962);
    color: white;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.header-container{
    display: flex;
    justify-content: space-between;
    z-index: 100;
    padding: 1rem 2rem;
}

.menu-nav-responsivo{
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
}

.menu-hamburguer{
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101; /*acima do menu */
}

.menu-hamburguer span{
    display: block;
    height: 3px;
    width: 25px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.logo{
    border-top: 2px solid;
    border-bottom: 2px solid;
    font-weight: bold;
    min-width: fit-content;
    font-size: var(--fonte-menu-navegacao);
}

.logo a{
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.global-nav {
    align-items: center;
}

.global-nav-list {
    display: flex;
    list-style: none;
    position: relative;
}

.global-nav-list.show {
    display: flex; /* aparece quando clicado */
}

.nav-item {
    padding: 0.5rem 1rem;
    width: 100%;
    font-size: var(--fonte-menu-navegacao);
}

.nav-item a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
    min-width: fit-content;
}

.nav-item a:hover {
    color: var(--border-color);
}

.submenu-item {
    display: none;
    position: fixed;
    top:0;
    left:0;
    background-color: #0e0e10;
    padding: 0.5rem 0;
    list-style: none;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    min-width: 180px;
    z-index: 10;
    border: 1px solid;
}

.btn-header {
    min-width: 200px;
    justify-content: center;
    font-size: var(--fonte-menu-navegacao);
}

.btn-header:hover{
    background-color: var(--border-color);
    color: white;
}

html.body-no-scroll,
body.body-no-scroll {
    overflow: hidden;
    height: 100vh;
}


/* Submenu aparece no desktop */
@media (width: 1024px) {
    .nav-item:hover .submenu-item {
        display: block;
    }
}

    .nav-item.active .submenu-item {
        display: flex;
    }

/* Ajuste botão de orçamento */

@media (max-width: 1024px) {

    .header {
        position: relative;
        z-index: auto;
        width: 100%;
    }

    .header-container{
        padding: 1rem 2rem;
    }

    /* Esconde o menu padrão */
    .global-nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 4rem;
        left: 0;
        width: 100%;
        height: fit-content;
        text-align: center;
        background-color:  oklch(13% 0.028 261.962);;
        padding: 1rem 2rem;
        gap: 0.2rem;
        z-index: 999999;
        opacity: 0;
        transform: translateX(100%);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* Quando o menu abre */
    .global-nav-list.show {
        display: flex;
        opacity: 1;
        transform: translateX(0);
    }

    .nav-item a,
    .btn-header {
        font-size: 1.6rem;
        font-weight: 600;
        color: #fff;
    }


    /* Ícone hambúrguer aparece */
    .menu-hamburguer {
        display: flex;
    }

    /* Animação do hambúrguer virar X */
    .menu-hamburguer.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-hamburguer.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-hamburguer.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .menu-hamburguer span {
        transition: 0.3s;
    }

    /* Camada para desfocar o fundo quando o menu estiver aberto */
    .menu-blur {
        position: fixed;
        top: 4rem;
        left: 0;
        width: 100%;
        height: 100vh;
        backdrop-filter: blur(8px);
        background: rgba(0, 0, 0, 0.45);
        z-index: 9998; /* abaixo do menu, acima do site */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    /* Quando ativa */
    .menu-blur.show {
        opacity: 1;
        pointer-events: all;
    }
}

/* HERO */

.hero{
    background: var(--background);
    display: flex;
    min-height: 20vh;
}

.hero-overlay{
    color: white;
    padding: 2rem 2rem;
    display: flex;
    width: 100%;
}

.hero-content {
    display: block;
    width: 100%;
}

.hero-content p{
    font-size: 20rem;
}

.navegacao a{
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 1.25rem;
}

/*SUBMENUS*/

.nav-item:hover .submenu-item{
    display: block;
}

.submenu-item li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #f5f5f5;
    white-space: nowrap;
}

.submenu-item li a:hover{
    background-color: #00bfff;
    color: #0e0e10;
    border-radius: 4px;
}

.nav-item {
    position: relative;
}

/*BOTAO HEADER*/
.btn-header {
    background-color: #f5f5f5;
    color: #0e0e10;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    display: inline;
}

.btn-header{
    background-color: #f5f5f5;
    display: flex;
}


/* PRÉ - FOOTER */
.secao-final{
    background: black
}

.itens-site{
    height: 100%;
    padding: 2rem;
}

.logo-geral{
    display: flex;
    font-weight: bold;
    justify-content: center;
}

.logo-footer-geral{
    width: 100%;
    width: fit-content;
    border-top: 2px solid;
    border-bottom: 2px solid;
}

.itens-geral{
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    justify-items: center;
    padding: 2rem 2rem;
    width: 100%;
    min-height: 100%;
}

.informacoes{
    /* padding: 1rem; */
    align-items: center;
    align-content: center;
    width: 100%;
}

.informacoes h2{
    text-align: left;
    padding-left: 0.5rem;
}

/* FOOTER */
.footer{
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {

    .itens-site{
        height: 100%;
    }
    
    .itens-geral{
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    .footer{
        margin: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    
    .itens-geral{
        grid-template-columns: 1fr;
        display: grid;
    }
}

/* CONTATO */
.informacoes h2{
    font-size: 1.75rem;
}

.informacoes p{
    font-size: 1.25rem;
}

.informacoes ul li{
    font-size: 1.25rem;
}

@media (max-width: 460px) {
    .informacoes h2{
        font-size: 1.5rem;
    }

    .informacoes p{
        font-size: 1rem;
    }

    .informacoes ul li{
        font-size: 1rem;
    }
}

.contato{
    grid-template-columns: repeat(1, 1fr);
    display: grid;
    padding: 1rem;
    gap: 5px;
}

.contato p{
    margin-left: 0.5rem;
}

.telefone, .mensagem-email{
    grid-template-rows: repeat(1, 1fr);
    display: flex;
    align-items: center;
    padding: 0.5rem;
} 

.mensagem-email a{
    color: white;
}

.telefone img, .mensagem-email img{
    width: 2rem;
    height: 2rem;
} 

/* LOCALIZAÇÃO */
.cidades{
    padding: 1rem;
}

.localizacao{
    grid-template-columns: repeat(1, 1fr);
    display: grid;
    padding: 1rem;
}

.localizacao p{
    margin-left: 0.5rem;
    align-content: center;
}

.cidade{
    display: flex;
    padding-top: 0.5rem;
}

.cidade img{
    width: 1.8rem;
    height: 1.8rem;
}

/* MAPA DO SITE */
.mapa-site {
    padding: 1rem;
}

.mapa-site li{
    margin: 0.2rem;
    list-style-type: none;
}

.mapa-site li a{
    list-style-type: none;
    color: white;
}

/* FOOTER */

footer{
    background-color: rgba(10, 10, 12, 0.95);
    border-top:0.5px solid;
    padding: 1rem;
    text-align: center;
}

footer p{
    margin: 0;
}

/* MEDIA QUERYS PARA RESPONSIVIDADE */


/* WHATSAPP*/
.whatsapp-float {
    position: fixed;
    bottom: 20px;          /* distância da borda inferior */
    right: 20px;           /* distância da borda direita */
    z-index: 1000;         /* fica sobre outros elementos */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #25d366; /* verde padrão WhatsApp */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background-color: #25d366;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.hero,
.hero-orcamento,
.hero-contato,
.hero-locacoes {
    background: var(--background);
    display: flex;
    border: 1px solid transparent;
}

.hero-overlay,
.hero-orcamento .hero-overlay,
.hero-contato .hero-overlay,
.hero-locacoes .hero-overlay {
    font-size: 1rem;
    color: white;
    min-height: 25vh;
    padding: 2rem 2rem;
    display: flex;
}

.hero-content,
.hero-orcamento .hero-content,
.hero-contato .hero-content,
.hero-locacoes .hero-content {
    display: block;
    width: 100%;
    text-align: left;
}

.hero-content p,
.hero-orcamento .hero-content p,
.hero-contato .hero-content p,
.hero-locacoes .hero-content p {
    padding: 1rem 0;
    font-size: 2rem;
    font-weight: 500;
}

.hero-content h2,
.hero-orcamento .hero-content h2,
.hero-contato .hero-content h2,
.hero-locacoes .hero-content h2 {
    font-size: 3rem;
}

@media (max-width: 780px) {
    .hero-content p,
    .hero-orcamento .hero-content p,
    .hero-contato .hero-content p,
    .hero-locacoes .hero-content p {
        padding: 1rem 0;
        font-size: 2rem;
        font-weight: 400;
    }

    .hero-content h2,
    .hero-orcamento .hero-content h2,
    .hero-contato .hero-content h2,
    .hero-locacoes .hero-content h2 {
        font-size: 3rem;
        font-weight: 600;
    }
}