/* ==========================================
   RESET E CONFIGURAÇÕES GERAIS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #0B0B0B;
    --bg-card: #141414;
    --accent-gold: #C8A96B;
    --text-light: #FFFFFF;
    --text-muted: #A3A3A3;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

span {
    color: var(--accent-gold);
}

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

/* ==========================================
   NAVBAR (Premium Glassmorphism)
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 7%;
    background-color: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

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

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--text-light);
}

.nav-menu .btn-nav {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-menu .btn-nav:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* ==========================================
   SEÇÃO HERO (Cinematográfica)
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.5), rgba(11, 11, 11, 0.95));
    z-index: -1;
}

.hero-content {
    max-width: 950px;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 48px auto;
}

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

.hero-ctas a {
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-ctas a:hover {
    transform: translateY(-3px);
}

/* ==========================================
   SEÇÕES GERAIS E ESTRUTURA
   ========================================== */
section {
    padding: 120px 0;
}

.subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

/* SOBRE A MARCA */
.about-section {
    background-color: var(--bg-dark);
    text-align: center;
}

.about-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    max-width: 900px;
    margin: 0 auto 24px auto;
    line-height: 1.2;
}

.about-section p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 48px auto;
}

.mvv-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
}

.mvv-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    flex: 1;
    max-width: 450px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.mvv-card h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-size: 1.4rem;
}

/* SERVIÇOS */
.services-section {
    background-color: #101010;
}

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

.service-card {
    background-color: var(--bg-dark);
    padding: 40px 32px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 169, 107, 0.3);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   PORTFÓLIO VISUAL (Galeria Cinematográfica)
   ========================================== */
.portfolio-section {
    background-color: var(--bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 5; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) brightness(90%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s;
}

.portfolio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 32px;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.95) 0%, rgba(11, 11, 11, 0) 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}

.portfolio-caption h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.portfolio-caption p {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(100%);
}

.portfolio-item:hover .portfolio-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   PROBLEMAS
   ========================================== */
.problems-section {
    background-color: #101010;
}

.problems-section h2 {
    font-family: 'Poppins', sans-serif;
    max-width: 900px;
    margin: 0 auto 48px auto;
}

.problems-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.problem-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 18px 24px;
    border-radius: 4px;
    text-align: left;
    color: #E5E7EB;
    border-left: 3px solid #EF4444;
}

/* ==========================================
   METODOLOGIA
   ========================================== */
.method-section {
    background-color: var(--bg-dark);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.step-card {
    position: relative;
    padding-top: 40px;
}

.step-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(200, 169, 107, 0.15);
    position: absolute;
    top: -10px;
    left: 0;
}

.step-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 12px;
    z-index: 2;
    position: relative;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   TREINAMENTOS (TAGS)
   ========================================== */
.trainings-section {
    background-color: #101010;
    text-align: center;
}

.trainings-section h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 48px;
}

.tags-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.tag {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s, border-color 0.3s;
}

.tag:hover {
    background-color: rgba(200, 169, 107, 0.1);
    border-color: var(--accent-gold);
}

/* ==========================================
   CTA FINAL
   ========================================== */
.cta-final-section {
    background: linear-gradient(rgba(11,11,11,0.9), rgba(11,11,11,0.9)), url('https://images.unsplash.com/photo-1515162305285-0293e4767cc2?q=80&w=1471&auto=format&fit=crop') center/cover no-repeat fixed;
    text-align: center;
    padding: 160px 0;
}

.cta-final-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 16px auto;
}

.cta-final-section p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* FOOTER */
.main-footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ==========================================
   WHATSAPP FLUTUANTE
   ========================================== */
.phone-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.phone-float:hover {
    transform: scale(1.1);
}

.phone-icon {
    width: 26px;  /* Tamanho ideal para não tocar nas bordas */
    height: 26px;
}

/* ==========================================
   CLASSES DE ANIMAÇÃO (Intersection Observer)
   ========================================== */
.hidden {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================== */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .about-section h2 { font-size: 2.2rem; }
    .cta-final-section h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #121212;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        transform: scaleX(0);
    }

    .navbar { padding: 20px 24px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    .mvv-grid { flex-direction: column; align-items: center; }
    .section-header h2 { font-size: 1.8rem; }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .portfolio-caption {
        opacity: 1;
        transform: translateY(0);
        padding: 20px;
    }
    
    .portfolio-caption h3 { font-size: 1.1rem; }
    
    section { padding: 80px 0; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}