:root {
    --primary-color: #FF6700;          /* Laranja */
    --secondary-color: #FF4500;        /* Laranja escuro */
    --dark-color: #000000;             /* Preto */
    --light-color: #FFFFFF;            /* Branco */
    --gray-color: #333333;             /* Cinza escuro */
    --light-gray: #eaeaea;             /* Cinza claro */
    --whatsapp-color: #25D366;         /* Verde WhatsApp */
    --whatsapp-hover: #128C7E;         /* Verde WhatsApp hover */
    --whatsapp-button-color: #25D366;  /* Cor do botão WhatsApp configurável */
    --whatsapp-button-text-color: #FFFFFF; /* Cor do texto do botão WhatsApp configurável */
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

.fire-o {
    display: inline-block;
    color: #FF4500;
    text-shadow: 0 0 5px #FF0000, 0 0 10px #FF8C00;
    font-weight: bold;
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    0% { text-shadow: 0 0 5px #FF0000, 0 0 10px #FF8C00; opacity: 1; transform: scale(1.05); }
    100% { text-shadow: 0 0 2px #FF0000, 0 0 5px #FF8C00; opacity: 0.9; transform: scale(1); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: rotate(5deg);
}

.logo-text {
    color: var(--light-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

header.scrolled .logo-text {
    color: var(--dark-color);
    text-shadow: none;
}

.logo-text span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

header.scrolled nav a {
    color: var(--dark-color);
    text-shadow: none;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: var(--transition);
}

nav a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1100;
}

.mobile-menu-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: var(--secondary-color);
    box-shadow: var(--shadow-hover);
}

/* Hero Section - LOGO RESPONSIVO CORRIGIDO */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/capa.jpg?v=1.1');
    background-size: cover;
    background-position: center center; /* Alinha a imagem ao centro */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; REMOVIDO para permitir controle via margens */
    text-align: center;
    color: var(--light-color);
    padding-top: 0;
    overflow: visible;
    padding-bottom: 0; /* Garante zero padding inferior */
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    width: 100%;
    margin-top: auto; /* Empurra para baixo do topo */
    margin-bottom: auto; /* Empurra stats para o fundo */
}

.logo-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    margin-top: -40px;
}

.hero-brand {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.hero-logo {
    width: 220px;
    height: 220px;
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    animation: pulse-logo 1s infinite alternate ease-in-out;
    object-fit: contain;
}

@keyframes pulse-logo {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.4;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 18px;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-stats {
    margin-top: 12px;
    width: 100%;
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 24px 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Mantém o alinhamento central em todas as telas */

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
    background-color: var(--whatsapp-button-color);
    border-color: var(--whatsapp-button-color);
    color: var(--whatsapp-button-text-color);
}

.cta-button.secondary:hover {
    background-color: transparent;
    color: var(--whatsapp-button-color);
    border-color: var(--whatsapp-button-color);
}

/* FAB Actions */
.fab-actions {
    position: fixed;
    top: 20px;
    right: 90px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1099;
}

.fab-actions.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform: translateY(30px);
    opacity: 0;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fab-btn:hover {
    background: var(--secondary-color);
    transform: translateX(-5px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.fab-actions.open .fab-btn {
    transform: translateY(0);
    opacity: 1;
}

.fab-actions.open .fab-btn:nth-child(1) { transition: var(--transition); transition-delay: 0.0s; }
.fab-actions.open .fab-btn:nth-child(2) { transition: var(--transition); transition-delay: 0.05s; }
.fab-actions.open .fab-btn:nth-child(3) { transition: var(--transition); transition-delay: 0.1s; }
.fab-actions.open .fab-btn:nth-child(4) { transition: var(--transition); transition-delay: 0.15s; }
.fab-actions.open .fab-btn:nth-child(5) { transition: var(--transition); transition-delay: 0.2s; }

/* Stats Section */
.stats {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0;
}

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap !important;
    gap: 15px; /* Reduced gap to prevent wrapping on smaller desktops */
    text-align: center;
    overflow: hidden; /* Ensure no scrollbar on desktop too */
}

@media (max-width: 768px) {
    .stats-container {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        width: 100%;
        gap: 2px;
        align-items: start;
        padding: 0 2px;
        overflow: hidden !important; /* Remove scroll */
    }
    
    .stat-item {
        width: auto !important;
        flex: 1;
        min-width: 0; /* Allow shrinking below content size if needed */
        padding: 5px 1px; /* Reduced padding */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .stat-number-wrapper {
        display: flex;
        align-items: baseline;
        justify-content: center;
        margin-bottom: 2px;
        height: auto;
        flex-wrap: nowrap;
        width: 100%;
    }

    .stat-number {
        font-size: 0.85rem !important; /* Smaller font */
        line-height: 1;
    }
    
    .stat-suffix {
        font-size: 0.7rem !important; /* Smaller font */
        margin-left: 1px;
    }

    .stat-text {
        font-size: 0.5rem !important; /* Even smaller to fit */
        line-height: 1.1;
        white-space: normal !important; /* Allow wrapping inside item */
        word-wrap: break-word !important;
        word-break: break-word !important; /* Force break if needed */
        max-width: 100%;
        display: block;
        padding: 0;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

.stat-item {
    padding: 20px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    display: block;
    transition: var(--transition);
}

.stat-number.text-mode {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

/* Serviços */
.services {
    padding: 100px 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-img {
    height: 250px;
    width: 100%;
    object-fit: cover; /* Alterado para ocupar todo o espaço uniformemente */
    object-position: center;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    text-align: left;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Sobre Section - CORRIGIDO E RESPONSIVO */
.about {
    padding: 100px 0;
    background-color: var(--dark-color);
    color: var(--light-color);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Evita que elementos decorativos causem scroll horizontal */
    position: relative;
}

.about .section-title h2 {
    color: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--light-color);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px 0;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.about-stat {
    text-align: center;
    padding: 10px;
}

.about-stat .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.about-stat .stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--light-color);
    padding: 20px;
    text-align: center;
}

.image-caption p {
    margin: 5px 0;
    color: var(--light-color);
}

.image-caption strong {
    font-size: 1.2rem;
    color: var(--light-color);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .gallery-item {
        aspect-ratio: 1 / 1;
        height: auto;
        width: 100%;
        width: 100%;
    }
    .gallery-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: white;
}

.benefits-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 992px) {
    .benefits-grid {
        /* grid-template-columns: repeat(2, 1fr); - Substituído por flex wrap natural */
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        /* grid-template-columns: 1fr; - Substituído por flex wrap natural */
    }
}

.benefit-item {
    flex: 0 1 300px; /* Base de 300px, encolhe se necessário, não cresce além disso */
    width: auto;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    text-align: center;
}

.benefit-item p {
    color: var(--gray-color);
    line-height: 1.6;
    text-align: left;
    font-size: 1rem;
}

.benefit-item ul {
    text-align: left;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    min-height: 100vh;
    min-height: 100svh;
    padding: 60px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../assets/fundo-capa/fundo.webp?v=1.1');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.cta-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.cta-content-text {
    flex: 1;
    text-align: left;
}

.cta-content-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.cta-logo-img {
    max-width: 100%;
    width: 350px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    margin-left: 0;
    margin-right: 0;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: 0;
    margin-right: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.cta-section .cta-button {
    background-color: var(--whatsapp-color);
    border-color: var(--whatsapp-color);
}

.cta-section .cta-button:hover {
    background-color: transparent;
    color: var(--whatsapp-color);
    border-color: var(--whatsapp-color);
}

@media (max-width: 992px) {
    .cta-container-flex {
        flex-direction: column-reverse;
        text-align: center;
    }

    .cta-content-text {
        text-align: center;
    }

    .cta-content-logo {
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .cta-section h2, .cta-section p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 15px;
        /* Garante que permaneça full screen */
        min-height: 100vh;
        min-height: 100svh;
        justify-content: center;
    }

    .cta-container-flex {
        gap: 20px;
    }

    .cta-section h2 {
        font-size: 2rem; /* Reduzido ~40% de 3.5rem */
        margin-bottom: 15px;
    }

    .cta-section p {
        font-size: 0.9rem; /* Reduzido de 1.2rem */
        margin-bottom: 20px;
    }

    .cta-logo-img {
        width: 200px; /* Reduzido ~40% de 350px */
    }

    .cta-content-logo {
        margin-bottom: 20px;
    }

    /* Ajuste Global de Títulos de Seção no Mobile */
    .section-title h2,
    .theme-elegant .section-title h2,
    .theme-premium .section-title h2,
    .theme-modern .section-title h2 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
    }

    /* Ajuste específico para elemento decorativo do tema elegante */
    .theme-elegant .section-title h2::before {
        font-size: 3rem !important;
        top: -15px !important;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-button-color);
    color: var(--whatsapp-button-text-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Formulário Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
    animation: modalFade 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalFade {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-header h3 {
    margin: 0;
    color: white;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    transform: rotate(90deg);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.modal-body {
    padding: 30px;
}

.admin-modal {
    max-width: 400px;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    width: min(90vw, 900px);
    height: min(90vw, 900px);
    background-color: #111;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
}

.lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #111;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--dark-color);
    background-color: var(--light-color);
}

#filtroEvento {
    height: 45px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.2);
}

.submit-btn {
    background-color: var(--whatsapp-button-color);
    color: var(--whatsapp-button-text-color);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-about p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Botão WhatsApp Específico do Footer */
#footerWhatsappBtn {
    background-color: var(--whatsapp-button-color, #25D366);
    color: var(--whatsapp-button-text-color, #ffffff);
}

#footerWhatsappBtn:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* FAQ Flutuante */
.faq-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.faq-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.faq-panel {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
}

.faq-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.faq-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.faq-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.faq-list {
    padding: 10px;
    overflow-y: auto;
    max-height: calc(70vh - 60px);
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question.active {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 400;
    transition: var(--transition);
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
}

.faq-answer p {
    padding: 15px 10px;
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 480px) {
    .faq-panel {
        width: 280px;
        left: 0;
        bottom: 50px;
    }

    .faq-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .faq-container {
        bottom: 15px;
        left: 15px;
    }
}

/* --- FIX RESPONSIVO DA SEÇÃO SOBRE --- */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .about-text {
        order: 1;
        padding: 0 15px;
    }

    .about-image {
        order: 2;
        margin-top: 20px;
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        display: block !important; /* Garante visibilidade */
        height: auto !important;
    }
    
    .about-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Força stats a stackar em tablets também se necessário, ou mantém 3 colunas se couber */
    /* Mas para garantir, vamos deixar flexível */
}

@media (max-width: 768px) {
    .about-stats {
        display: flex !important; /* Muda para Flexbox para melhor controle */
        flex-direction: column !important; /* Empilha verticalmente */
        gap: 20px;
        padding: 20px;
        height: auto;
        width: 100% !important;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .about-stat {
        width: 100% !important;
        padding: 15px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        word-wrap: break-word; /* Quebra palavras longas */
        overflow-wrap: break-word;
    }

    .about-stat:last-child {
        border-bottom: none;
    }
    
    .about-stat .stat-label {
        white-space: normal; /* Permite quebra de linha */
        max-width: 100%;
    }

    /* Garante que a imagem apareça e caiba na tela */
    .about-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible;
        margin-left: 0;
        margin-right: 0;
        max-width: 100% !important;
    }
    
    .about-image img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* --- FIX TÍTULOS MOBILE --- */
@media (max-width: 768px) {
    .section-title h2, 
    .theme-modern .section-title h2,
    .theme-elegant .section-title h2,
    .theme-premium .section-title h2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
}
