/* ============================================================
   LONGEVITÁ - CSS ATUALIZADO 2026
   Desenvolvido por CRV Soluções em TI
============================================================ */

/* ============================================================
   RESET & BASE
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta Longevitá */
    --laranja: #EB7217;
    --dourado: #C1A336;
    --verde: #96B74B;
    --branco: #ffffff;
    --marrom: #523a34;

    /* Fontes */
    --font-titulo: 'Playfair Display', serif;
    --font-texto: 'Inter', sans-serif;

    /* Sombras */
    --sombra-card: 0 4px 20px rgba(0,0,0,0.08);
    --sombra-hover: 0 8px 30px rgba(150, 183, 75, 0.25);
}

body {
    font-family: var(--font-texto);
    background: #f8f9fa;
    color: var(--marrom);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================================
   TIPOGRAFIA (TUDO CENTRALIZADO)
============================================================ */
h1, h2, h3 {
    font-family: var(--font-titulo);
    color: var(--marrom);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.subtitulo {
    font-family: var(--font-texto);
    color: var(--verde);
    font-weight: 600;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 45px;
}

p, li, input, textarea, button {
    font-family: var(--font-texto);
}

/* ============================================================
   CONTAINER
============================================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ============================================================
   HEADER
============================================================ */
.header {
    background: rgba(255, 255, 255, 0.98);
    padding: 16px 0;
    border-bottom: 2px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.header-shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    height: 65px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.titulo-clinica {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    font-family: var(--font-titulo);
    color: var(--marrom);
    text-align: left;
}

.menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.menu a {
    text-decoration: none;
    color: var(--marrom);
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.menu a:hover {
    color: var(--verde);
}

/* ============================================================
   MENU HAMBURGUER (MOBILE)
============================================================ */
.menu-toggle {
    display: none;
    background: var(--verde);
    border: none;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(150, 183, 75, 0.3);
    position: relative;
    z-index: 1001;
}

.menu-toggle i {
    font-size: 1.6rem;
    color: var(--branco);
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    background: var(--laranja);
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(235, 114, 23, 0.4);
}

.menu-toggle.active {
    background: var(--laranja);
}

.menu-toggle.active i {
    transform: rotate(90deg);
}

/* ============================================================
   BUTTON PRIMARY
============================================================ */
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--verde);
    border: 2px solid var(--verde);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all .35s ease;
    cursor: pointer;
    font-family: var(--font-texto);
    font-size: 1rem;
}

.button-primary:hover {
    color: var(--branco);
    background: var(--verde);
    border-color: var(--verde);
    box-shadow: 0 0 20px rgba(150, 183, 75, 0.6),
                0 0 35px rgba(150, 183, 75, 0.4);
    transform: translateY(-2px);
    animation: neonPulse 1.5s infinite;
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(150, 183, 75, 0.6),
                    0 0 35px rgba(150, 183, 75, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(150, 183, 75, 0.8),
                    0 0 45px rgba(150, 183, 75, 0.6);
    }
}

/* ============================================================
   FUNDOS — fundo1.png e fundo2.png alternados
============================================================ */
.fundo1 {
    background: url("../imagens/fundo1.png") center center / cover no-repeat;
    padding: 90px 0;
    position: relative;
    min-height: 500px;
}

.fundo2 {
    background: url("../imagens/fundo2.png") center center / cover no-repeat;
    padding: 90px 0;
    position: relative;
    min-height: 500px;
}

.fundo1::before,
.fundo2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.01);
    pointer-events: none;
}

.fundo1 .container,
.fundo2 .container {
    position: relative;
    z-index: 1;
}

/* ============================================================
   HERO (FULLSCREEN COM IMAGEM DE FUNDO SUAVE)
============================================================ */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.30)),
                url("../imagens/img1.png") center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 249, 250, 0.4);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255, 255, 255, 0.40);
    padding: 70px 60px;
    border-radius: 24px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
}

.hero-card h1 {
    font-size: 3.2rem;
    color: var(--marrom);
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-card p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   QUEM SOMOS
============================================================ */
.quem-somos {
    text-align: center;
}

.quem-somos h2 {
    text-align: center;
}

.quem-somos .subtitulo {
    text-align: center;
}

.quem-somos-content {
    width: 90%;
    max-width: 900px;
    margin: auto;
}

.logo-grande {
    width: 200px;
    margin: 30px auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

/* Parágrafos JUSTIFICADOS (exceto subtítulo) */
.quem-somos p {
    margin-bottom: 22px;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    text-align: justify;
}

/* SUBTÍTULO CENTRALIZADO (mais específico) */
.quem-somos .subtitulo {
    text-align: center !important;
}

/* Missão, Visão e Valores */
.pilares-mvv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.pilar-card {
    background: var(--branco);
    padding: 40px 30px;
    border-radius: 18px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: var(--sombra-card);
    text-align: center;
}

.pilar-card:hover {
    transform: translateY(-8px);
    border-color: var(--verde);
    box-shadow: var(--sombra-hover);
}

.pilar-icon {
    font-size: 4rem;
    color: var(--laranja);
    margin-bottom: 20px;
}

.pilar-card h3 {
    color: var(--marrom);
    margin-bottom: 18px;
    font-size: 1.8rem;
}

.pilar-card p {
    color: #555;
    line-height: 1.8;
    text-align: center;
}

.valores-lista {
    list-style: none;
    text-align: left;
    margin-top: 15px;
}

.valores-lista li {
    margin-bottom: 12px;
    color: #444;
    font-size: 1.05rem;
}

.valores-lista i {
    color: var(--verde);
    margin-right: 10px;
}

/* ============================================================
   SERVIÇOS (BOTÕES ALINHADOS NA MESMA ALTURA)
============================================================ */
.servicos {
    text-align: center;
}

.servicos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.servico-card {
    background: var(--branco);
    width: 500px;
    padding: 40px;
    border-radius: 18px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    text-align: center;
    box-shadow: var(--sombra-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.servico-card:hover {
    transform: translateY(-8px);
    border-color: var(--verde);
    box-shadow: var(--sombra-hover);
}

.servico-conteudo {
    flex: 1;
}

.icon-servico {
    font-size: 4.5rem;
    color: var(--laranja);
    margin-bottom: 25px;
}

.servico-card h3 {
    color: var(--marrom);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.servico-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.servico-card .button-primary {
    margin-top: 20px;
}

/* ============================================================
  DESTAQUES E ATIVIDADES (4 CARDS VISÍVEIS + BOTÃO VER MAIS)
============================================================ */
.atividades {
    text-align: center;
}

.atividades-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 50px auto 0;
    padding: 0 20px;
}

/* Cards ocultos */
.atividade-card.hidden {
    display: none;
}

/* Cards (IMAGENS MAIORES: 320px + FOCO ROSTO) */
.atividade-img {
    width: 100%;
    height: 320px; /* AUMENTADO de 240px para 320px */
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.atividade-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* FOCO NO ROSTO (25% do topo) */
    transition: all 0.4s ease;
}

/* Mantém todos os outros estilos dos cards (hover, ícones, etc.) */
.atividade-card {
    background: var(--branco);
    padding: 0;
    border-radius: 18px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: var(--sombra-card);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.atividade-card:hover {
    transform: translateY(-8px);
    border-color: var(--dourado);
    box-shadow: var(--sombra-hover);
}

.atividade-card:hover .atividade-img img {
    transform: scale(1.1);
    object-position: center 20%; /* Ajuste fino no hover para rosto */
}

.atividade-info {
    padding: 24px; /* Mais espaço para texto */
    transition: all 0.4s ease;
}

/* Hover verde com texto branco (mantido) */
.atividade-card:hover .atividade-info {
    background: rgba(150, 183, 75, 0.95);
    color: var(--branco);
}

.atividade-card:hover .atividade-info h3,
.atividade-card:hover .atividade-info p {
    color: var(--branco);
}

.atividade-card:hover .icon-atividade {
    color: var(--branco);
}

.icon-atividade {
    font-size: 2.5rem;
    color: var(--verde);
    margin-bottom: 10px;
    transition: color 0.4s ease;
}

.atividade-card h3 {
    color: var(--marrom);
    margin-bottom: 10px;
    font-size: 1.2rem;
    transition: color 0.4s ease;
}

.atividade-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem; /* Levemente maior */
    transition: color 0.4s ease;
}

/* Botão "Ver mais" no padrão do site */
.btn-ver-mais {
    margin-top: 40px;
    text-align: center;
}

.btn-primary {
    background: transparent;
    border: 2px solid var(--verde);
    color: var(--verde);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--verde);
    color: var(--branco);
    box-shadow: 0 0 20px rgba(150, 183, 75, 0.4); /* Efeito neon */
    transform: translateY(-2px);
}

.btn-primary .btn-icon {
    transition: transform 0.3s ease;
}

/* Responsividade OTIMIZADA para fotos maiores */
@media (max-width: 1024px) {
    .atividades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .atividade-img {
        height: 300px; /* 300px em tablet */
    }
}

@media (max-width: 720px) {
    .atividades-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .atividade-img {
        height: 280px; /* 280px mobile */
        object-position: center 30%; /* Mais foco no rosto em mobile */
    }

    .atividade-img img:hover {
        object-position: center 25%;
    }

    .btn-ver-mais {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .atividade-img {
        height: 260px; /* 260px em mobile pequeno */
        object-position: center 35%;
    }
}


/* ============================================================
   PROFISSIONAIS (4 COLUNAS × 2 LINHAS - CARDS MENORES)
============================================================ */

.profissionais {
    text-align: center;
}

.profissionais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.profissional-card {
    background: var(--branco);
    padding: 30px 20px;
    border-radius: 18px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: var(--sombra-card);
    text-align: center;
}

.profissional-card:hover {
    transform: translateY(-8px);
    border-color: var(--laranja);
    box-shadow: var(--sombra-hover);
}

.profissional-foto {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 4px solid var(--verde);
}

.profissional-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder com iniciais (TODOS VERDE) */
.profissional-placeholder {
    background: linear-gradient(135deg, var(--verde), var(--dourado));
    display: flex;
    align-items: center;
    justify-content: center;
}

.iniciais {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--branco);
    font-family: var(--font-titulo);
}

.profissional-card h3 {
    color: var(--marrom);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cargo {
    color: var(--verde);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.profissional-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.85rem;
}

/* ============================================================
   EQUIPE MULTIDISCIPLINAR (DESIGN IGUAL NOSSO ESPAÇO)
============================================================ */

.equipe-multi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.multi-item {
    background: var(--branco);
    padding: 30px 20px;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: var(--sombra-card);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    height: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.multi-item:hover {
    transform: translateY(-5px);
    border-color: var(--verde);
    box-shadow: var(--sombra-hover);
}

/* FOTO (fica escondida, aparece no hover como fundo) */
.multi-foto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.multi-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.multi-item:hover .multi-foto {
    opacity: 1;
}

/* INFO (ícone + texto) */
.multi-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
}

/* ÍCONE (colorido normal, branco no hover) */
.multi-info i {
    font-size: 3rem;
    color: var(--laranja);
    transition: color 0.4s ease;
}

.multi-item:hover .multi-info i {
    color: var(--branco);
}

/* NOME E FUNÇÃO (coloridos normal, branco no hover) */
.multi-info h4 {
    color: var(--marrom);
    font-size: 1.2rem;
    margin: 0;
    font-family: var(--font-titulo);
    transition: color 0.4s ease;
    text-align: center;
}

.multi-item:hover .multi-info h4 {
    color: var(--branco);
}

.multi-info p {
    color: var(--verde);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.4s ease;
    text-align: center;
}

.multi-item:hover .multi-info p {
    color: var(--branco);
}

/* ============================================================
   NOSSO ESPAÇO (2 LINHAS × 2 COLUNAS - FOTOS VISÍVEIS)
============================================================ */
.espacos {
    text-align: center;
}

.espacos h2 {
    text-align: center;
}

.espacos .subtitulo {
    text-align: center;
}

.espacos-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 35px;
    background: var(--branco);
    color: var(--marrom);
    border: 2px solid var(--verde);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-texto);
}

.tab-btn:hover {
    background: var(--verde);
    color: var(--branco);
}

.tab-btn.active {
    background: var(--verde);
    color: var(--branco);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* GRID 2×2 */
.espacos-galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* CARD COM IMAGEM JÁ VISÍVEL */
.espaco-item {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 300px;
    box-shadow: var(--sombra-card);
}

.espaco-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-hover);
}

/* PLACEHOLDER COM IMAGEM DE FUNDO + GRADIENTE */
.espaco-placeholder {
    background: linear-gradient(rgba(150, 183, 75, 0.6), rgba(235, 114, 23, 0.6)),
                linear-gradient(135deg, var(--verde), var(--laranja));
    background-size: cover;
    background-position: center;
    height: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.4s ease;
    padding: 30px;
    margin-bottom: 0;
}

.espaco-item:hover .espaco-placeholder {
    background: linear-gradient(rgba(150, 183, 75, 0.85), rgba(150, 183, 75, 0.85));
}

/* ÍCONE (sempre branco) */
.espaco-placeholder i {
    font-size: 5rem;
    color: var(--branco);
    transition: all 0.4s ease;
}

/* TEXTO (sempre branco, centralizado) */
.espaco-item p {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--branco);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--laranja);
    color: var(--branco);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--verde);
    transform: rotate(90deg);
}

/* ============================================================
   LOCALIZAÇÃO
============================================================ */
.localizacao {
    text-align: center;
}

.localizacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.local-card {
    background: var(--branco);
    padding: 35px;
    border-radius: 18px;
    box-shadow: var(--sombra-card);
    transition: all 0.3s ease;
}

.local-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-hover);
}

.local-card h3 {
    color: var(--marrom);
    margin-bottom: 18px;
    font-size: 1.6rem;
}

.local-card h3 i {
    color: var(--laranja);
    margin-right: 8px;
}

.local-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: left;
}

/* ============================================================
   CONTATO
============================================================ */
.contato {
    text-align: center;
}

.contato-texto {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.form-contato {
    width: 100%;
    max-width: 650px;
    margin: 40px auto 0;
    padding: 45px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: .3s ease;
}

.form-contato:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.campo {
    margin-bottom: 25px;
    text-align: left;
}

.campo label {
    display: block;
    margin-bottom: 10px;
    color: var(--marrom);
    font-weight: 600;
    font-size: 1rem;
}

.campo label i {
    color: var(--verde);
    margin-right: 8px;
}

.campo input,
.campo textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: var(--branco);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-texto);
}

.campo input:focus,
.campo textarea:focus {
    outline: none;
    border-color: var(--verde);
    box-shadow: 0 0 15px rgba(150, 183, 75, 0.3);
}

.campo textarea {
    height: 140px;
    resize: none;
}

.btn-enviar {
    margin-top: 15px;
    width: 100%;
}

.contato-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.info-contato-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--marrom);
}

.info-contato-item i {
    color: var(--verde);
    font-size: 1.5rem;
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA
============================================================ */
.animar {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.mostrar {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--marrom);
    text-align: center;
    padding: 35px;
    margin-top: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-social a {
    color: var(--verde);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--branco);
    transform: translateY(-5px);
}

.footer p {
    color: var(--branco);
    margin: 0;
    font-size: 0.95rem;
}

.footer a {
    color: var(--verde);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--dourado);
}

/* ============================================================
   BOTÕES FLUTUANTES
============================================================ */
.floating-buttons {
    position: fixed;
    right: 26px;
    bottom: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.floating-whatsapp {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    text-decoration: none;
}

.floating-top {
    width: 48px;
    height: 48px;
    background: var(--verde);
    color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.floating-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 26px rgba(0,0,0,0.4);
}

/* ============================================================
   RESPONSIVO MOBILE
============================================================ */

@media (max-width: 1024px) {
    .profissionais-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .equipe-multi-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .espacos-galeria {
        grid-template-columns: repeat(2, 1fr);
    }

    .espacos-galeria .espaco-item:nth-child(4) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {

    .fundo1,
    .fundo2 {
        background-attachment: scroll;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        position: relative;
    }

    .logo {
        height: 55px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1000;
    }

    .menu.active {
        max-height: 600px;
        opacity: 1;
        visibility: visible;
        padding: 20px 0;
    }

    .hero {
        min-height: 100vh;
        padding: 40px 0;
    }

    .hero-card {
        padding: 45px 30px;
    }

    .hero-card h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .pilares-mvv {
        grid-template-columns: 1fr;
    }

    .servicos-grid {
        flex-direction: column;
    }

    .servico-card {
        width: 100%;
        max-width: 500px;
    }

    .atividade-card {
        min-width: 200px;
        max-width: 200px;
    }

    /* =====================================================
       CORREÇÃO DEFINITIVA — EQUIPE (CARROSSEL MOBILE)
    ===================================================== */

    /* EQUIPE GESTORA */
    .profissionais-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 20px !important;
        padding: 10px 15px 30px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .profissionais-grid::-webkit-scrollbar {
        display: none;
    }

    .profissional-card {
        min-width: 260px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

/* =====================================================
   EQUIPE MULTIDISCIPLINAR — MOBILE
===================================================== */

/* =====================================================
   EQUIPE MULTIDISCIPLINAR — MOBILE (HOVER REAL)
===================================================== */

    .equipe-multi-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 20px !important;
        padding: 10px 15px 30px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .equipe-multi-grid::-webkit-scrollbar {
        display: none;
    }

    .multi-item {
        min-width: 260px;
        height: 200px;
        flex-shrink: 0;
        scroll-snap-align: center;
        position: relative;
        overflow: hidden;
    }

    /* IMAGEM (existe, mas invisível) */
    .multi-item .multi-foto {
        position: absolute;
        inset: 0;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .multi-item .multi-foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* OVERLAY ESCURO (igual desktop) */
    .multi-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.45);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 2;
    }

    /* CONTEÚDO */
    .multi-item .multi-info {
        position: relative;
        z-index: 3;
        transition: color 0.4s ease;
    }

    /* ===== ACTIVE (simula hover) ===== */

    .multi-item.active .multi-foto {
        opacity: 1;
    }

    .multi-item.active::before {
        opacity: 1;
    }

    .multi-item.active .multi-info i,
    .multi-item.active .multi-info h4,
    .multi-item.active .multi-info p {
        color: #ffffff !important;
    }

    .multi-item.active {
        border-color: var(--verde);
        box-shadow: var(--sombra-hover);
    }

/* =====================================================
   NOSSOS ESPAÇOS — MOBILE
===================================================== */
    .espacos-galeria {
        grid-template-columns: 1fr;
    }

    .espacos-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .localizacao-grid {
        grid-template-columns: 1fr;
    }

    .contato-info {
        flex-direction: column;
        align-items: center;
    }

    .footer p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    .atividade-card {
        min-width: 180px;
        max-width: 180px;
    }

    .hero-card h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}
