/* Reset e Estilos Globais */
:root {
    --primary-color: #0a1f67;
    --primary-color-light: #91b2e2;
    --secondary-color: #001257;
    --background-color: #F9F9F9;
    --text-color: #333;
    --text-light: #f0f0f0;
    --bg-dark: #2C3E50;
    --vermelho: #cc283a
    } 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 150px;
    height: 2px;
    margin: 3px auto 0;
    background: linear-gradient(to right, transparent 0%, var(--vermelho), transparent);
}

/* Header */
header {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 15px rgba(0, 18, 87, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

/* Logo */
.logo img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

/* Menu Desktop */
.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.desktop-nav ul li {
    position: relative;
}

/* Menu Desktop Links */
.desktop-nav ul li a,
.desktop-nav ul li a.arc {
    position: relative;
    display: inline-block;
    padding-top: 10px; /* Mantém este padding para espaço superior */
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: visible;
    padding-bottom: 8px; /* Mantém este padding para espaço inferior */
    text-decoration: none;
}

/* Arco decorativo */
.desktop-nav ul li a.arc::after {
    content: '';
    position: absolute;
    top: 5px; /* Ajuste para mover o arco para perto do topo do texto */
    left: 0;
    width: 0;
    height: 15px; /* Aumente a altura para um arco mais pronunciado */
    border-top: 3px solid var(--primary-color-light);
    border-radius: 50% 50% 0 0; /* **IMPORTANTE**: Para curvar para cima */
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
    z-index: 1;
}

/* Hover e Ativo */
.desktop-nav ul li a.arc:hover::after,
.desktop-nav ul li a.arc.active::after {
    width: 100%;
    opacity: 1;
}

/* Estilo para o ícone de dropdown */
.desktop-nav ul li a .dropdown-icon {
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

/* Rotaciona a setinha quando o submenu está aberto (mobile) */
@media (max-width: 768px) {
    .menu-item.active > a .dropdown-icon {
        transform: rotate(180deg);
    }
}

/* Rotaciona a setinha no hover (desktop) */
@media (min-width: 769px) {
    .menu-item:hover > a .dropdown-icon {
        transform: rotate(180deg);
    }
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover no desktop: mostra o submenu */
@media (min-width: 769px) {
    .menu-item:hover > .submenu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .submenu:not(:hover) {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}

@media (max-width: 768px) {
   .submenu {
        position: static;
        display: none;
        padding-left: 15px;
        box-shadow: none;
        transform: none;
        opacity: 1;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .submenu.active {
        display: block;
        max-height: 500px; /* Valor suficiente para conter todos os itens */
    }
}
.submenu li {
    padding: 0;
}

.submenu li a {
    display: block;
    padding: 8px 20px;
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 20px;
    margin: 2px 8px
}

.submenu li a:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    transform: scale(1.02); 
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .submenu {
        /* ... mantenha outros estilos ... */
        padding: 8px 0; /* Espaçamento vertical interno */
        margin: 8px 15px; /* Margem externa */
    }

    .submenu li a {
        display: block;
        padding: 12px 25px; /* Aumente este valor (topo/baixo, esquerda/direita) */
        margin: 4px 8px; /* Espaço entre os itens */
        font-size: 0.95rem; /* Tamanho de fonte levemente maior */
        border-radius: 8px;
        transition: all 0.2s ease;
        background-color: rgba(0, 0, 0, 0.02); /* Fundo sutil padrão */
    }

    .submenu li a:hover {
        background-color: var(--primary-color-light);
        color: var(--secondary-color);
        padding: 12px 25px; /* Mantém o mesmo padding do estado normal */
    }
    
}

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

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 20px 0;
        text-align: center;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        transform: translateY(-100%);
        opacity: 0;
    }

    .desktop-nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .desktop-nav ul li a {
        padding: 10px 0;
    }

    .submenu li a {
        padding: 8px 0;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}



/* Hero Section */
.hero {
    background: linear-gradient(rgba(132, 171, 255, 0.8), rgba(44, 62, 80, 0.8)), url('img/inicio.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.hero.servicos-fundo {
    position: relative;
    background: url("https://assets-blog.pagseguro.uol.com.br/wp-content/2022/01/Entenda-o-que-e-um-Contrato-de-Prestacao-de-Servicos.jpg") no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero.servicos-fundo .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* escurece a imagem */
    z-index: 1;
    border-radius: inherit;
}

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

.hero.servicos-fundo h2,
.hero.servicos-fundo p {
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #F9F9F9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* About Section */
.about {
    padding: 100px 0;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 4px #d4af37;
}


/* =================================
   RESPONSIVIDADE - TABLET & DESKTOP
   ================================= */

/* Tablet (768px+) - Mostra 2 a 3 cards */
@media (min-width: 768px) {
    .testimonials-v2 .container {
        padding: 0 40px; /* Aumenta o padding lateral */
    }

    /* Mostra os botões de navegação */
    .carousel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Ajusta o tamanho dos cards para mostrar 2 */
    .testimonial-card {
        flex-basis: calc(50% - 10px); /* 50% - metade do gap */
    }
}

/* Desktop (1024px+) - Mostra 3 cards */
@media (min-width: 1024px) {
    /* Ajusta o tamanho dos cards para mostrar 3 */
    .testimonial-card {
        flex-basis: calc(33.333% - 14px); /* 33.33% - 2/3 do gap */
    }

    .carousel-btn.prev { left: -30px; }
    .carousel-btn.next { right: -30px; }
}


/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color-light);
    color: white;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn:hover {
    background-color: #F1F1F1;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background-color: #050e16;
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--vermelho);
    position: absolute;
    bottom: -10px;
    left: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color-light);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #1A252F;
    padding: 20px 0;
    text-align: center;
}



/* FAQ Section - Versão Compacta */
.faq-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.faq-square {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 180px; /* Reduzi a altura mínima */
    border: 1px solid #f0f0f0; /* Borda sutil */
}

.faq-question {
    padding: 18px 20px; /* Reduzi o padding */
    text-align: left;
    background: white;
    border: none;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1rem; /* Fonte um pouco menor */
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-grow: 1; /* Faz a pergunta ocupar o espaço disponível */
}

.faq-question i:first-child {
    margin-right: 12px;
    color: var(--primary-color-light);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.faq-question i:last-child {
    margin-left: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    font-size: 0.95rem; /* Texto um pouco menor */
}

.faq-answer p, .faq-answer ul {
    margin-bottom: 12px; /* Espaçamento reduzido */
}

.faq-answer ul {
    padding-left: 18px;
}

.faq-answer li {
    margin-bottom: 6px;
    line-height: 1.4; /* Mais compacto */
}

/* Estado Ativo - Mais sutil */
.faq-square.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color-light);
}

.faq-question.active {
    color: var(--primary-color);
    background-color: #fffaf0; /* Fundo muito leve */
}

.faq-answer.active {
    padding: 0 20px 18px; /* Padding inferior reduzido */
    max-height: 400px;
}

/* Versão Mobile */
@media (max-width: 768px) {
    .faq-grid {
        gap: 12px;
    }
    
    .faq-square {
        min-height: auto;
    }
    
    .faq-question {
        padding: 16px;
    }
    
    .faq-answer.active {
        padding: 0 16px 16px;
    }
}

/* Seção de Benefícios - Versão Premium */
.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.benefits-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--primary-color-light);
    z-index: -1;
    opacity: 0.7;
    border-radius: 3px;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color-light) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 167, 209, 0.2);
    border-color: rgba(0, 167, 209, 0.2);
}

.benefit-card:hover::before {
    opacity: 0.1;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 209, 209, 0.3);
}

.benefit-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.benefit-content p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Card Destaque */
.benefit-card.featured {
    border: 2px solid var(--primary-color-light);
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 100%);
}

.benefit-card.featured .benefit-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #001f7a 100%);
}

/* Badges */
.benefit-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Container do botão (ESSENCIAL) */
.benefits-cta {
    display: flex;
    justify-content: center;     /* Centraliza horizontalmente */
    width: 100%;
    margin: 40px 0;             /* Espaçamento vertical */
}

/* Botão CTA (atualize seu código existente) */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001f7a 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 84, 209, 0.3);
    padding: 12px 30px;         /* Ajuste conforme necessário */
    text-decoration: none;      /* Remove sublinhado */
    border-radius: 30px;        /* Borda arredondada */
    font-weight: 600;           /* Peso da fonte */
    transition: all 0.3s ease;  /* Suaviza efeitos hover */
    display: inline-block;      /* Mantém o padding e alinhamento */
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 167, 209, 0.4);
}

/* Responsivo (adicione ao media query existente) */
@media (max-width: 768px) {
    .benefits-cta {
        margin: 30px 0;         /* Reduz espaçamento em mobile */
    }
    
    .btn-gradient {
        padding: 10px 25px;     /* Botão menor em telas pequenas */
    }
}


/* Responsividade */
@media (max-width: 992px) {
    .about .container {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .desktop-nav { /* Altere de 'nav' para 'desktop-nav' para afetar apenas o menu desktop */
        display: none;
    }
    
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}




/* Estilos específicos para a página Sobre */
.sobre-hero {
background: url('https://ogimg.infoglobo.com.br/in/23857330-4a0-c64/FT1086A/760/Amanhecer8.jpg?posicaoFoto7') no-repeat center center / cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.sobre-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.sobre-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Seção História */
.history-section {
    padding: 60px 0;
    background: white;
}

.history-content {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    align-items: center;
}

.history-text {
    flex: 1;
}

.history-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.history-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Seção Fundador */
.founder-section {
    background: #f9f9f9;
    padding: 60px 0;
}

.founder-content {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.founder-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-bio {
    flex: 2;
}

.founder-bio h3 {
    color: #d4af37;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.founder-bio p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.founder-quote {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-left: 4px solid #d4af37;
    border-radius: 0 8px 8px 0;
}

.founder-quote blockquote {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

/* Galeria */
.gallery-section {
    padding: 60px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Responsivo */
@media (max-width: 768px) {
    .history-content,
    .founder-content {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Estilos específicos para a página de Contato */
.contato-hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1568992687947-868a62a9f521?q=80&w=1332&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center / cover;
    color: white;
    padding: 150px 20px;
    text-align: center;
    overflow: hidden;
}

.contato-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* Escurece levemente a imagem */
    z-index: 1;
}

.contato-hero h1,
.contato-hero p {
    position: relative;
    z-index: 2;
}

.contato-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contato-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}


/* Seção de Informações de Contato */
.contact-info-section {
    padding: 60px 0;
    background: white;
}

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

.contact-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color-light);
    margin-bottom: 20px;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.contact-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.reference {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

.btn-map {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background: var(--vermelho);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-map:hover {
    background: var(--primary-color-light);
}

.contact-card p strong {
    color: var(--vermelho);
    font-weight: 500;
}

.social-contacts {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--vermelho);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Seção do Mapa */
.map-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-hero h1 {
        font-size: 2.2rem;
    }
}

/* ANIMAÇÃO */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* GALERIA  */
.gallery-section {
    width: 100%;
    padding: 20px 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 7px;
    padding: 0 1px;
}

.gallery-image {
    width: 100%;
    height: 180px; /* Altura fixa para uniformidade */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery-image:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.section-subtitle {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block; /* Alterado para block para centralização */
    width: fit-content; /* Ajusta ao conteúdo */
    padding: 8px 25px;
    margin: 15px auto; /* Centraliza horizontalmente */
    text-align: center;
    border: 1px solid var(--primary-color-light);
    border-radius: 30px;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden; /* Para o efeito de brilho */
}

/* Efeito de brilho sofisticado */
.section-subtitle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 45%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0) 55%
    );
    transform: rotate(30deg);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.section-subtitle:hover {
    letter-spacing: 2px;
    box-shadow: 
        0 0 0 1px var(--primary-color),
        0 0 15px rgba(var(--primary-color-rgb), 0.3); /* Brilho externo */
}


@keyframes shine {
    0% { transform: rotate(30deg) translate(-30%, -30%); }
    100% { transform: rotate(30deg) translate(30%, 30%); }
}

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

.lightbox.show {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;

    width: 30px;
    height: 30px;
    border-radius: 40%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    padding: 0;

    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.15) translateY(-2px);
    background-color: var(--primary-color-light);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 8px rgba(255, 255, 255, 0.6);
}


/* RESPONSIVIDADE - TELAS MAIORES */
@media (min-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr); /* 3 colunas em tablets */
        gap: 20px;
        padding: 0 20px;
    }
    
    .gallery-image {
        height: 200px;
    }
}

@media (min-width: 992px) {
    .gallery-container {
        grid-template-columns: repeat(4, 1fr); /* 4 colunas em desktops */
    }
    
    .gallery-image {
        height: 220px;
    }
}

@media (min-width: 1200px) {
    .gallery-container {
        grid-template-columns: repeat(5, 1fr); /* 5 colunas em telas grandes */
    }
}

/* botões flutuantes */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  align-items: flex-end;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.3s ease;
}

.whatsapp-btn {
  background-color: #25D366;
  color: white;
  font-size: 50px;
}

.portal-btn {
  background-color: white;
  color: var(--primary-color-light); 
  border: 1px solid var(--primary-color-light);
}

/* Efeito de brilho sutil e contínuo */
.floating-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: 
    0 0 10px 2px rgba(37, 211, 102, 0.6) inset,
    0 0 20px 4px rgba(37, 211, 102, 0.4);
  opacity: 0;
  animation: pulse 2s infinite;
}

.portal-btn::after {
  box-shadow: 
    0 0 10px 2px rgba(55, 71, 212, 0.6) inset,
    0 0 20px 4px rgba(89, 55, 212, 0.4);
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Opções do portal */
.portal-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  width: 180px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.portal-options a {
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.portal-options a:last-child {
  border-bottom: none;
}

.portal-options a:hover {
  background: #f8f8f8;
  color: #373ad4;
  padding-left: 25px;
}

/* Efeito ao clicar */
.floating-btn:active {
  transform: scale(0.95);
}

/* Responsivo */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 100px;
    right: 20px;
  }
  
  .floating-btn {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
  
.whatsapp-btn {
    font-size: 40px; 
    width: 56px;
    height: 56px;
  }

  .portal-options {
    bottom: 65px;
    width: 160px;
  }
}
