/* Declaração da fonte Poppins localmente */
@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --azul-marinho: #0a2342;
    --amarelo-forte: #ffd700;
    --preto: #000;
    --cinza-escuro: #333;
    --cinza-claro: #f0f0f0;
    --branco: #fff;
    --cor-destaque: #e63946;
    --cor-texto-principal: #1d3557;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--branco);
    color: var(--cinza-escuro);
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 2rem;
    background: transparent;
    /* Mais transparente */
    backdrop-filter: blur(20px);
    /* Aumentei o blur para compensar */
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    /* Aumentado para ficar mais arredondado */
    border: 2px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
}

.navbar {
    display: flex;
    gap: 1rem;
}

.navbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--preto);
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.navbar a i {
    font-size: 1.2rem;
}

.navbar a span {
    font-size: 0.8rem;
}

.navbar a:hover {
    color: var(--amarelo-forte);
    transform: translateY(-2px);
}

.header-right .btn-favoritos {
    background-color: var(--azul-marinho);
    color: var(--branco);
    padding: clamp(0.4rem, 1.5vw, 0.6rem) clamp(0.8rem, 2.5vw, 1.2rem);
    border-radius: 10px;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 1rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.header-right .btn-favoritos:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(10, 35, 66, 0.2);
    background-color: var(--amarelo-forte);
    color: var(--preto);
}

.mobile-menu-icon {
    display: none;
    /* Oculto em desktop */
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--amarelo-forte);
}



/* =================================
   NOVO MENU DROPDOWN (HAMBÚRGUER)
   ================================= */
.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Container principal do menu dropdown */
.mobile-dropdown-menu {
    position: fixed;
    top: 1rem;
    /* Distância do topo */
    left: 1rem;
    /* Distância da esquerda */
    right: 1rem;
    /* Distância da direita */
    background: rgba(233, 231, 231, 0.95);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 20px;
    /* Bordas bem redondas */
    border: 1px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    /* Animação de entrada (de cima para baixo) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

/* Estado ativo do menu */
.mobile-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Cabeçalho do menu (logo e botão de fechar) */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-logo {
    height: 80px;
    width: auto;
}

.close-menu-icon {
    font-size: 1.8rem;
    color: var(--cinza-escuro);
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}

.close-menu-icon:hover {
    color: var(--cor-destaque);
    transform: rotate(90deg);
}

/* Navegação dentro do menu */
.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--cor-texto-principal);
    /* Adicionado 'color' para uma transição suave */
    transition: background-color 0.3s, padding-left 0.3s, color 0.3s;
}

.menu-nav a:hover {
    background-color: var(--azul-marinho);
    /* Fundo azul escuro */
    color: var(--amarelo-forte);
    /* Texto fica amarelo */
    padding-left: 1.5rem;
}

.menu-nav a:hover i {
    color: var(--amarelo-forte);
    /* Ícone também fica amarelo */
}

.menu-nav a i {
    font-size: 1.2rem;
    color: var(--azul-marinho);
    width: 20px;
    text-align: center;
    /* Adicionado para uma transição suave */
    transition: color 0.3s;
}

@media (max-width: 990px) {

    .navbar,
    .header-right {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .sidebar {
        width: 70%;
        height: 80vh;
    }
}

@media (max-width: 405px) {
    .menu-footer {
        flex-direction: column; /* Empilha os itens verticalmente */
        align-items: center;    /* Centraliza tudo */
        gap: 1.5rem;            /* Adiciona um bom espaço entre o botão e os ícones */
    }

    .social-links-menu a {
        margin-left: 0.8rem; /* Aumenta o espaço entre os ícones sociais */
    }
}


/* Rodapé do menu (localização e redes sociais) */
.menu-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.mobile-dropdown-menu .menu-footer .btn-agendar-reuniao-mobile {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--azul-marinho);
    /* Cor de texto escura */
    border-radius: 10px;
    border: 2px solid var(--azul-marinho);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

.mobile-dropdown-menu .menu-footer .btn-agendar-reuniao-mobile:hover {
    background-color: var(--azul-marinho);
    color: var(--branco);
    /* Muda a cor do texto para branco ao passar o mouse */
}

.mobile-dropdown-menu .menu-footer .btn-agendar-reuniao-mobile i {
    margin-right: 8px;
    font-size: 1.2rem;
    color: #25D366;
    /* Cor do WhatsApp */
}



.social-links-menu a {
    font-size: 1.5rem;
    color: var(--cor-texto-principal);
    background-color: #e9ecef;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--cor-texto-principal);
    margin: 0 0.3rem;
    box-shadow: 0 4px 0 #adb5bd;
    position: relative;
    top: 0;
    transition: top 0.15s ease, box-shadow 0.15s ease, background-color 0.3s, color 0.3s;
}

.social-links-menu {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.social-links-menu a:hover {
    color: var(--amarelo-forte);
    background-color: var(--azul-marinho);
    top: 2px;
    box-shadow: 0 2px 0 #adb5bd;
    border: 2px solid var(--amarelo-forte);
}


/* --- Seção Hero --- */
.projeto-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    overflow: hidden;
}

.projeto-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;       /* Cobre toda a área sem distorcer a imagem */
    z-index: 1;
    filter: brightness(0.9); /* Escurece um pouco a imagem para dar contraste */
}


.projeto-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    width: 100%; /* Garante que o container ocupe o espaço */
    text-align: center !important; /* Força a centralização do texto */
    color: #fff;
    /* Remove propriedades que possam estar causando conflito */
    margin: 0; 
    padding: 0;
    background: none;       /* Largura máxima para o texto */
    /* Removemos o fundo e a borda, pois o contraste vem do filtro da imagem */
}


.projeto-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Fonte responsiva e maior */
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Sombra para legibilidade */
    margin: 0;
}


.projeto-hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem); /* Fonte responsiva */
    line-height: 1.6;
    font-weight: bold;
    margin-top: 1rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7); /* Sombra para legibilidade */
}

/* --- Seção de Informações e Implantação (Juntas) --- */
.projeto-info-section-full {
    width: 100%;
    padding: 100px 5%;
    background-color: var(--branco);
}

.info-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.info-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--azul-marinho);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.info-header p {
    font-size: 1.2rem;
    color: #555;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.info-list h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list h4 i {
    color: var(--azul-marinho);
}

.info-list ul {
    list-style: none;
    padding-left: 25px;
}

.info-list li {
    color: #666;
    margin-bottom: 8px;
    position: relative;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: -15px;
    color: var(--azul-marinho);
}

/* --- Seção Galeria Principal --- */
.projeto-galeria-principal {
    width: 100%;
    padding: 100px 2%;
    background-color: #fff;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(30%, 100%), 1fr));
    gap: 20px;
    grid-auto-flow: dense;
}

@media (max-width: 768px) {
    .galeria-grid {
        /* Suas alterações para telas menores aqui */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}


.galeria-item {
    aspect-ratio: var(--aspect-ratio, 16/9);
    border-radius: 15px;
    overflow: hidden;
    
    /* ESTADO INICIAL: invisível e encolhido */
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Garante que a imagem cubra o contêiner */
    display: block;
    border-radius: 8px; /* Bordas levemente arredondadas */
}

.galeria-item.visible {
    opacity: 1;
    transform: scale(1);
}



.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}


/* =================================
   Layout de Produtos Final (Info Horizontal)
   ================================= */

.projeto-produtos-section {
    padding: 80px 4%;
    background-color: #ffffff;
}

/* Introdução dos Produtos (não muda) */
.produtos-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
    padding: 0 2rem;
}
.produtos-intro h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--azul-marinho);
    margin-bottom: 1rem;
}
.produtos-intro p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--cinza-escuro);
    line-height: 1.6;
}

/* Container principal de cada produto */
.produto-container {
    display: block; /* Garante que info e galeria fiquem empilhados */
    max-width: 1200px;
    margin: 0 auto 6rem auto;
}

/* Bloco de informações do produto */
.produto-info {
    text-align: center; /* Centraliza o botão de WhatsApp */
    margin-bottom: 2.5rem; /* Espaço entre as infos e a galeria */
}

.info-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2rem;
  margin: 0 auto;
  max-width: 1200px;
  box-sizing: border-box;
  background: #fff; /* opcional, remova se não quiser cor */
  border-radius: 1rem; /* opcional, remova se não quiser borda arredondada */
}

@media (max-width: 900px) {
  .info-wrapper {
    padding: 1.5rem;
    gap: 1.5rem;
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .info-wrapper {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
    max-width: 100vw;
  }
}

.info-bloco h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--azul-marinho);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.info-bloco .produto-area {
    font-size: 1.3rem;
    font-weight: 300;
    color: #555;
}

.info-bloco ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-bloco li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.info-bloco li i {
    color: var(--azul-marinho);
    margin-right: 10px;
}

.info-bloco .sugestao-decor {
    font-style: italic;
    color: #777;
    padding-top: 0.5rem;
}

/* Galeria de imagens do produto */
.produto-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    width: 100%;
}

.produto-galeria img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(.4,1.5,.5,1);
}

.produto-galeria img:hover {
    transform: scale(1.03);
}

/* Botão de WhatsApp */
.btn-whatsapp-produto {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.2rem; /* Fonte um pouco maior */
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border: none; /* Remove qualquer borda padrão */
    border-radius: 50px;
    
    /* Gradiente verde vibrante */
    background: linear-gradient(45deg, #25D366, #128C7E);
    
    /* Sombra para efeito 3D */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    
    position: relative; /* Necessário para o efeito de brilho */
    overflow: hidden;   /* Esconde o brilho que sai para fora do botão */
    cursor: pointer;
    transition: all 0.3s ease; /* Transição suave para todos os efeitos */
}

.btn-whatsapp-produto i {
    margin-right: 12px; /* Mais espaço para o ícone */
    vertical-align: middle; /* Alinha melhor o ícone com o texto */
}

/* Efeito de levantar e aumentar a sombra no hover */
.btn-whatsapp-produto:hover {
    transform: translateY(-3px); /* Levanta o botão sutilmente */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Sombra mais pronunciada */
}

/* Efeito de clique */
.btn-whatsapp-produto:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Efeito de brilho que passa pelo botão no hover */
.btn-whatsapp-produto::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: left 0.7s ease-in-out;
}

.btn-whatsapp-produto:hover::before {
    left: 120%;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .produto-info {
        text-align: left !important;
    }
    .info-wrapper {
        flex-direction: column !important; /* Empilha os blocos de info no mobile */
        align-items: center !important; /* Centraliza os blocos */
        gap: 2.5rem;
    }
    .info-bloco ul {
        text-align: left;
        display: inline-block;
    }
}


/* --- Seção de Imagens Estáticas (Substituindo os Carrosséis) --- */
.projeto-imagens-estaticas {
    padding: 100px 4%;
    background-color: #fff;
}

.imagem-categoria {
    margin-bottom: 80px;
}

.imagem-categoria h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--azul-marinho);
    margin-bottom: 30px;
}

/* Novo container para a rolagem */
.galeria-scroll-container {
    overflow-x: auto; /* Habilitar rolagem horizontal */
    padding: 10px 0; /* Adicionar um pouco de preenchimento */
    -webkit-overflow-scrolling: touch; /* Melhora a experiência em iOS */
}

/* Estilizando a barra de rolagem para navegadores Webkit */
.galeria-scroll-container::-webkit-scrollbar {
    height: 12px;
}

.galeria-scroll-container::-webkit-scrollbar-track {
    background: #d6d6d6;
    border-radius: 10px;
}

.galeria-scroll-container::-webkit-scrollbar-thumb {
    background: var(--cinza-escuro);
    border-radius: 10px;
    transition: background 0.9s cubic-bezier(.4,0,.2,1), box-shadow 0.9s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
}

.galeria-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
}

.imagem-grid {
    display: flex; /* Mudar para flexbox */
    gap: 20px;
    width: max-content; /* Permite que o grid se expanda além da tela */
}

.imagem-grid img {
    width: auto; /* Largura automática para manter a proporção */
    height: 350px; /* Altura fixa para todas as imagens */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0; /* Impede que as imagens encolham */
    transition: transform 0.3s ease;
}

.imagem-grid img:hover {
    transform: scale(1.03); /* Efeito de zoom sutil no hover */
}

/*
=================================
    FOOTER INSTITUCIONAL
=================================
*/
.footer-main {
    background: linear-gradient(135deg, #0a2342, #0d2c54);
    color: var(--cinza-claro);
    padding: 3rem 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-col .logo-footer-img {
    max-width: 100px;
}

.footer-col .tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--branco);
    margin-top: 0;
    margin-bottom: 1.5rem;
    cursor: default;
}

.footer-col-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 180px;
    /* Ajuste o tamanho conforme necessário */
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    color: var(--branco);
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 600;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--amarelo-forte);
}

.footer-col p,
.footer-col ul li {
    color: #ccc;
    line-height: 1.8;
    font-size: 0.95rem;
    cursor: pointer;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-col ul li a:hover {
    color: var(--amarelo-forte);
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    width: 15px;
    text-align: center;
    color: var(--amarelo-forte);
}

.footer-col .contact-info li {
    transition: color 0.3s, padding-left 0.3s;
}

/* Aplica o efeito ao passar o mouse */
.footer-col .contact-info li:hover {
    color: var(--amarelo-forte);
    padding-left: 5px;
}


.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background-color: var(--amarelo-forte);
    color: var(--azul-marinho);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    /* Aumenta um pouco o padding superior */
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
}
