/* ============================================================
   DESIGN SYSTEM - Diogo Animação e Eventos
   ============================================================ */
:root {
    --primary-color: #ffcc00;
    --primary-gradient: linear-gradient(135deg, #ffcc00, #ffaa00);
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1ebc5a;
    --dark-color: #0c0c0e;
    --dark-surface: #161619;
    --light-bg: #f8f9fc;
    --text-color: #4a4a54;
    --text-dark: #1e1e24;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 80px;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ============================================================
   NAVBAR COM GLASSMORPHISM
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(12, 12, 14, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    transition: var(--transition-smooth);
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.navbar-brand:hover { opacity: 0.85; }

.logo-img {
    height: 54px;
    margin-right: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 204, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.15);
}

/* Links de Navegação */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
    margin: 0 auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.social-nav-icon {
    color: var(--primary-color);
    font-size: 1.4rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-nav-icon:hover {
    color: #fff;
    transform: translateY(-2px);
}

.nav-btn {
    background-color: var(--whatsapp-color);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    white-space: nowrap;
}

.nav-btn:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Hambúrguer */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   TIPOGRAFIA E ELEMENTOS GLOBAIS
   ============================================================ */
h1, h2, h3 {
    color: var(--text-dark);
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.12rem;
    margin-bottom: 55px;
    color: var(--text-color);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

section {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Botão Principal com Pulsação */
.btn {
    display: inline-block;
    background: var(--whatsapp-color);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    animation: btnPulse 2.5s infinite;
}

.btn:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    animation: none;
}

.btn i { margin-right: 8px; }

@keyframes btnPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Badge de Avaliações */
.reviews-badge {
    margin-bottom: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 204, 0, 0.1);
    padding: 9px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 204, 0, 0.25);
}

/* ============================================================
   1. HERO SECTION COM ANIMAÇÕES DE ENTRADA
   ============================================================ */
.hero {
    background: linear-gradient(to bottom, rgba(12, 12, 14, 0.88) 0%, rgba(12, 12, 14, 0.65) 100%),
                url('galeria/foto1.jpeg') center/cover no-repeat;
    height: calc(100vh - 80px);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 860px;
    color: #fff;
}

.pre-title {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.15;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    font-weight: 400;
    color: #d8d8e0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Animações de Entrada do Hero */
.hero-anim {
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    animation-delay: var(--delay, 0s);
}

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

/* ============================================================
   2. SEÇÃO DE CONTADORES / PROVA SOCIAL
   ============================================================ */
.stats {
    background: var(--primary-gradient);
    padding: 70px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1;
}

.stat-suffix {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1;
}

.stat-label {
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(12, 12, 14, 0.75);
    max-width: 150px;
    line-height: 1.4;
}

/* ============================================================
   3. DIFERENCIAIS
   ============================================================ */
.differentials {
    background-color: #ffffff;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.diff-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.diff-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transition: height 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 204, 0, 0.18);
}

.diff-card:hover::before { height: 6px; }

.diff-card i {
    font-size: 2.6rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #1a1a1a, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.diff-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.diff-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.65;
}

/* ============================================================
   4. SERVIÇOS COM ÍCONES
   ============================================================ */
.services {
    background-color: var(--light-bg);
}

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

.service-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    transform: scaleY(0.3);
    transform-origin: top;
    transition: transform 0.4s ease;
    border-radius: 0 4px 4px 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    transform: scaleY(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 204, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: var(--transition-smooth);
}

.service-icon i {
    font-size: 1.8rem;
    color: #b8860b;
}

.service-card:hover .service-icon {
    background: var(--primary-gradient);
}

.service-card:hover .service-icon i {
    color: var(--dark-color);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service-card p {
    font-size: 0.98rem;
    color: var(--text-color);
    line-height: 1.75;
}

/* ============================================================
   5. GALERIA
   ============================================================ */
.gallery {
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: block;
}

.gallery-item.lightbox-trigger {
    cursor: zoom-in;
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: var(--shadow-lg);
}

.story-video {
    height: 370px;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 9/16;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    transition: transform 0.35s ease;
}

.lightbox.open .lightbox-img {
    transform: scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(6px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================================
   6. DEPOIMENTOS
   ============================================================ */
.testimonials {
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18rem;
    font-family: Georgia, serif;
    color: rgba(255, 204, 0, 0.04);
    line-height: 1;
    pointer-events: none;
}

.testimonials .section-title { color: #fff; }
.testimonials .section-subtitle { color: #7a7a84; }

.testimonials-slider {
    max-width: 820px;
    margin: 40px auto 0;
    position: relative;
}

.testimonial-slides {
    position: relative;
    min-height: 220px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 45px 50px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-style: italic;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.testimonial-card p {
    font-size: 1.2rem;
    margin-bottom: 28px;
    color: #d0d0d8;
    line-height: 1.8;
}

.testimonial-card .author {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* ============================================================
   7. FAQ
   ============================================================ */
.faq {
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: #ffffff;
    padding: 22px 28px;
    margin-bottom: 14px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-left: 4px solid transparent;
    transition: var(--transition-smooth);
}

details:hover {
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

details[open] {
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

summary {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    list-style: none;
    position: relative;
    padding-right: 30px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
}

details[open] summary::after { content: '−'; }

details p {
    margin-top: 14px;
    color: var(--text-color);
    font-size: 0.97rem;
    line-height: 1.75;
}

/* ============================================================
   8. RODAPÉ
   ============================================================ */
footer {
    background-color: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 90px 20px 45px;
    border-top: 1px solid #1c1c22;
}

footer h2 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 2.2rem;
    font-weight: 800;
}

.footer-cta { margin-bottom: 60px; }

.footer-socials { margin-bottom: 40px; }

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(255, 204, 0, 0.4);
    background-color: #fff;
}

.footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 35px;
    font-size: 0.9rem;
    color: #6c6c78;
}

.footer-info p { margin-bottom: 6px; }

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background-color: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    transition: var(--transition-smooth);
    animation: floatPulse 2.5s infinite;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes floatPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1024px) {
    .nav-links { gap: 20px; }
}

@media (max-width: 768px) {
    body { padding-top: 70px; }

    .navbar {
        height: 70px;
        padding: 0 20px;
    }

    /* Oculta links de nav e ícones sociais no mobile */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(12, 12, 14, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        border-bottom: 1px solid rgba(255, 204, 0, 0.15);
    }

    .nav-links.open {
        max-height: 320px;
        padding: 20px 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 14px 20px;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-link::after { display: none; }

    .social-nav-icon { display: none; }

    .hamburger { display: flex; }

    .logo-img { height: 46px; }

    /* Hero */
    .hero h1 { font-size: 2.1rem; }
    .hero p  { font-size: 1.05rem; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-number { font-size: 2.8rem; }

    /* Títulos */
    .section-title { font-size: 1.9rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 35px; }

    /* Depoimentos */
    .testimonial-card { padding: 30px 24px; }
    .testimonial-card p { font-size: 1.05rem; }
    .testimonial-slides { min-height: 260px; }

    /* Lightbox */
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    /* Botão flutuante */
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 2.4rem; }
    .stat-label { font-size: 0.85rem; }
    section { padding: 70px 16px; }
}
