/* Estilos Base e Cabeçalho */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #484747;
    display: flex; /* Adicionado para sticky footer */
    flex-direction: column; /* Adicionado para sticky footer */
    min-height: 100vh; /* Adicionado para sticky footer */
}

header {
    background-color: #ffffff; /* Azul claro esverdeado */
    padding: 1rem 0; /* Ajuste de padding vertical, horizontal é no .navbar */
    position: fixed; /* Fixa o header no topo */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Garante que o header fique acima de outros conteúdos */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Sombra sutil */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Adiciona padding horizontal dentro da navbar */
}

.logo h1 {
    margin: 0;
    font-size: 2rem; /* Aumenta um pouco o logo */
    color: #ffffff; /* Um azul/cinza escuro para o logo */
    text-decoration: none;
}

.nav-links {
    padding: 0;
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-links li {
    margin-left: 25px; /* Aumenta o espaçamento */
}

.nav-links li a {
    color: #ffffff; /* Mesma cor do logo para consistência */
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex; /* Para alinhar ícone e texto */
    align-items: center; /* Alinha verticalmente */
    gap: 8px; /* Espaço entre o ícone e o texto */
}

.nav-links li a .fas {
    font-size: 0.9em; /* Ajusta o tamanho do ícone em relação ao texto */
    /* Se precisar de mais ajustes de alinhamento vertical para o ícone: */
    /* position: relative; */
    /* top: -1px; */
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: #ffffff; /* Cor de fundo no hover/active */
    color: #ffffff; /* Texto branco no hover/active */
    text-decoration: none; /* Remove sublinhado padrão */
}

/* Estilos do Menu Hambúrguer */
.menu-hamburger {
    display: none; /* Escondido por padrão em telas maiores */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: #ffffff; /* Azul claro esverdeado */
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333; /* Mudando a cor do hambúrguer para melhor contraste */
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Animação do Hambúrguer para X */
.menu-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

main {
    padding: 20px;
    margin-top: 70px; /* Adiciona margem no topo para compensar header fixo */
    flex-grow: 1; /* Adicionado para sticky footer */
}

.secao-conteudo-pagina {
    background: #fff;
    padding: 2rem;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 900px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.secao-conteudo-pagina h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.hero {
    background-color: #C8E6C9; /* Verde claro (mais escuro) */
    color: #333; /* Ajustado para melhor contraste com fundo claro */
    padding: 4rem 2rem;
    text-align: center;
    margin: 20px 0;
    border-radius: 8px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background: #A0D2DB; /* Azul claro */
    color: #333; /* Texto escuro para contraste com azul claro */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold; /* Adicionado para melhor leitura */
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: #8DBFC7; /* Azul claro mais escuro para hover */
}

#imoveis {
    padding: 2rem 0;
    text-align: center;
}

#imoveis h2 {
    margin-bottom: 1rem; /* Reduz um pouco a margem inferior original */
    font-size: 2rem;
    display: inline-block; /* Para a borda ficar apenas sob o texto */
    padding-bottom: 10px; /* Espaço entre o texto e a linha */
    border-bottom: 3px solid #A0D2DB; /* Linha azul claro */
    position: relative; /* Necessário caso queira efeitos mais complexos com ::after */
}

/* Estilos do Filtro de Imóveis */
#filtro-imoveis-container {
    background-color: #fff;
    padding: 1.5rem;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 700px; /* Limita a largura do container do filtro */
    text-align: left; /* Alinha o texto dentro do filtro à esquerda */
}

#filtro-imoveis-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.6rem;
}

#filtro-form {
    display: grid;
    grid-template-columns: 1fr; /* Uma coluna por padrão */
    gap: 1rem;
}

.form-group-filtro {
    display: flex;
    flex-direction: column;
}

.form-group-filtro label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

.form-group-filtro input[type="text"],
.form-group-filtro input[type="number"],
.form-group-filtro select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%; /* Faz com que ocupem a largura do contêiner do grupo */
    box-sizing: border-box; /* Garante que padding e border não aumentem a largura total */
}

.form-group-filtro input[type="number"]::-webkit-inner-spin-button,
.form-group-filtro input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none; /* Remove setas de incremento/decremento no Chrome/Safari */
  margin: 0;
}
.form-group-filtro input[type="number"] {
  -moz-appearance: textfield; /* Remove setas no Firefox */
  appearance: textfield; /* Padrão para remover setas */
}

.form-actions-filtro {
    display: flex;
    gap: 1rem;
    justify-content: center; /* Centraliza os botões */
    margin-top: 1rem;
}

.form-actions-filtro .btn {
    padding: 10px 20px;
}

.form-actions-filtro .btn-limpar {
    background-color: #f44336; /* Vermelho para o botão limpar */
    color: white;
}

.form-actions-filtro .btn-limpar:hover {
    background-color: #d32f2f;
}

/* Ajustes para telas maiores no filtro */
@media (min-width: 600px) {
    #filtro-form {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Layout mais flexível */
        align-items: end; /* Alinha os itens ao final, útil se os labels tiverem tamanhos diferentes */
    }

    .form-actions-filtro {
        grid-column: 1 / -1; /* Faz os botões ocuparem toda a largura no grid */
        justify-content: flex-end; /* Alinha botões à direita em telas maiores */
    }
}


/* Estilos das Categorias de Imóveis */
.categoria-imoveis {
    margin-bottom: 2rem;
}

.categoria-imoveis h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.categoria-carrossel-container {
    position: relative;
    /* Adicionar um padding lateral se os botões ficarem muito próximos das bordas do contêiner pai */
    /* padding: 0 40px; */ /* Exemplo, ajuste conforme necessário */
}

.lista-imoveis.categoria-carrossel {
    display: flex; /* Alinha os cards de imóveis horizontalmente */
    overflow-x: auto; /* Permite scroll horizontal */
    scroll-behavior: smooth; /* Rolagem suave via JS */
    padding-bottom: 1rem; /* Espaço para a barra de scroll, se visível */
    margin: 0 -5px; /* Compensa a margem dos .imovel para alinhar com o container */

    /* Para esconder a barra de rolagem (Cross-browser) */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.lista-imoveis.categoria-carrossel::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.lista-imoveis.categoria-carrossel .imovel {
    flex: 0 0 auto; /* Impede que os cards encolham ou estiquem */
    width: calc(33.333% - 20px); /* Exibe 3 cards por vez, ajuste o % e o gap (20px) */
    margin-right: 15px;
    margin-left: 5px;
    /* Se quiser um número fixo de cards visíveis, pode usar algo como: */
    /* width: 300px; */ /* Largura fixa para cada card */
}

/* Ajustes para responsividade dos cards no carrossel */
@media (max-width: 992px) {
    .lista-imoveis.categoria-carrossel .imovel {
        width: calc(50% - 20px); /* 2 cards por vez */
    }
}

@media (max-width: 768px) {
    .lista-imoveis.categoria-carrossel .imovel {
        width: calc(100% - 20px); /* 1 card por vez em telas menores */
    }
}

.categoria-carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Centraliza verticalmente em relação ao .lista-imoveis */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 20;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
    display: none; /* JS controla a visibilidade */
}

.categoria-carrossel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.categoria-carrossel-btn.prev {
    left: -20px; /* Ajuste para fora do contêiner, ou para dentro se preferir */
}

.categoria-carrossel-btn.next {
    right: -20px; /* Estilos dos Cards de Imóveis */
}

.lista-imoveis {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
}

.imovel {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    cursor: pointer;
}

.imovel:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.imovel img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imovel:hover img {
    transform: scale(1.05);
}

.imovel-info {
    padding: 1.5rem;
}

.imovel-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.imovel-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.imovel-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.imovel-meta i {
    color: #A0D2DB;
    margin-right: 0.5rem;
}

.imovel-preco {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.imovel-preco span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.imovel-preco button {
    background: #A0D2DB;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.imovel-preco button:hover {
    background: #8DBFC7;
}

.imovel .preco::before {
    content: '';
    display: none;
}

/* Efeito de gradiente na imagem */
.imovel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
}

/* Efeito de overlay com informações */
.imovel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(255,255,255,0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.imovel:hover .imovel-overlay {
    transform: translateY(0);
}

/* Animação de entrada dos cards */
.imovel {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layout responsivo dos cards */
@media (max-width: 768px) {
    .imovel img {
        height: 200px;
    }
    
    .imovel-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .imovel-preco {
        flex-direction: column;
        gap: 1rem;
    }
}

#sobre,
#contato {
    padding: 2rem 0;
    background: #fff;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

#sobre h2,
#contato h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

#sobre p,
#contato p {
    max-width: 700px;
    margin: 0 auto 1rem auto;
}

#contato form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espaçamento entre os grupos de formulário */
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-group .fas {
    position: absolute;
    left: 15px;
    color: #777;
    font-size: 1rem; /* Tamanho do ícone */
}

#contato input[type="text"],
#contato input[type="email"],
#contato input[type="tel"],
#contato textarea {
    width: 100%;
    padding: 12px 12px 12px 45px; /* Padding: top, right, bottom, left (para o ícone) */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contato input[type="text"]:focus,
#contato input[type="email"]:focus,
#contato input[type="tel"]:focus,
#contato textarea:focus {
    border-color: #A0D2DB; /* Cor da borda em foco (azul claro do header) */
    box-shadow: 0 0 0 0.2rem rgba(160, 210, 219, 0.25); /* Sombra suave no foco */
    outline: none;
}

#contato textarea {
    resize: vertical; /* Permite redimensionamento vertical */
    min-height: 100px;
}

.btn-submit-form {
    padding: 12px 20px;
    font-size: 1.1rem;
    display: inline-flex; /* Para alinhar ícone e texto */
    align-items: center;
    justify-content: center;
    gap: 8px; /* Espaço entre o ícone e o texto do botão */
}

.info-contato {
    margin-top: 30px; /* Adiciona mais espaço acima das infos de contato */
    padding-top: 20px;
    border-top: 1px solid #eee;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background: #333;
    color: #fff;
    margin-top: 20px;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.5rem; /* Ajuste no logo para telas menores */
    }

    .menu-hamburger {
        display: flex; /* Mostra o hambúrguer em telas menores */
        background-color: transparent; /* Torna o fundo do botão hambúrguer transparente */
    }

    .nav-links {
        display: none; /* Esconde os links por padrão no mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 65px; /* Altura do header, ajuste se o padding do header mudar */
        left: 0;
        background-color: #A0D2DB; /* Fundo para o menu dropdown */
        padding: 0; /* Remove padding padrão para controlar itens individualmente */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex; /* Mostra os links quando o menu está ativo */
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center; /* Centraliza o texto dos links */
    }

    .nav-links li a {
        display: block; /* Faz o link ocupar toda a largura do <li> */
        padding: 15px 0; /* Padding vertical maior para toque */
        width: 100%;
        border-bottom: 1px solid rgba(44, 62, 80, 0.1); /* Linha separadora sutil */
        border-radius: 0; /* Remove border-radius dos links no mobile */
    }

    .nav-links li:last-child a {
        border-bottom: none; /* Remove a borda do último item */
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        background-color: #2c3e50; /* Cor de fundo no hover/active */
        color: #ffffff; /* Texto branco no hover/active */
    }

    .lista-imoveis {
        flex-direction: column;
        align-items: center;
    }

    .imovel {
        width: 90%;
        max-width: 400px;
    }

    .hero h2 {
        font-size: 2rem;
    }

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

    #contato form input[type="text"],
    #contato form input[type="email"],
    #contato form textarea {
        width: calc(100% - 22px);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
  }
  
  .modal-conteudo {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
  }
  
  .modal-conteudo img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
  }
  
  .fechar {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }


.carrossel-imagens {
    position: relative;
    overflow: hidden; 
    width: 100%;
    height: 200px; 
    margin-bottom: 10px; 
}

.imagens-container {
    display: flex;
    transition: transform 0.5s ease-in-out; 
    height: 100%;
}

.imagens-container .imovel-imagem {
    width: 100%; 
    height: 100%;
    object-fit: contain; 
    flex-shrink: 0; 
}

.btn-img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 3px;
    font-size: 18px;
}

.btn-img.prev {
    left: 10px;
}

.btn-img.next {
    right: 10px;
}

.btn-img:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.btn-whatsapp {
    display: inline-block;
    background-color: #25D366; 
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px; 
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-whatsapp i.fab.fa-whatsapp {
    margin-right: 10px; 
    font-size: 1.2em; /
}

.btn-whatsapp:hover {
    background-color: #1DAE54; 
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Estilos para o Botão WhatsApp Flutuante (index.html) */
.btn-whatsapp-flutuante {
    position: fixed;
    width: 60px; /* Largura do botão */
    height: 60px; /* Altura do botão */
    bottom: 25px; /* Distância do fundo */
    right: 25px; /* Distância da direita */
    background-color: #25D366; /* Cor verde do WhatsApp */
    color: #FFF; /* Cor do ícone */
    border-radius: 50%; /* Totalmente redondo */
    text-align: center;
    font-size: 30px; /* Tamanho do ícone */
    line-height: 60px; /* Centraliza o ícone verticalmente (igual à altura) */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000; /* Para ficar sobre outros elementos */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp-flutuante:hover {
    background-color: #1DAE54; /* Cor mais escura no hover */
    transform: scale(1.1); /* Leve aumento no hover */
    color: #FFF;
}

/* Sobre Styles */
.about-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.history-section {
    padding: 5rem 0;
    background: var(--primary-bg);
}

.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    position: absolute;
    left: -60px;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: -60px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.member-social a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.member-social a:hover {
    color: var(--secondary-color);
}

.testimonials-section {
    padding: 5rem 0;
    background: var(--primary-bg);
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 2rem 0;
}

.testimonial-item {
    flex: 0 0 300px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding: 1rem;
    }

    .timeline::before {
        left: 20px;
        width: 2px;
    }

    .timeline-item {
        width: 100%;
        padding: 1rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-date {
        left: -30px;
    }

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

    .testimonials-slider {
        display: block;
    }

    .testimonial-item {
        margin-bottom: 2rem;
    }
}