/* Variáveis Premium */
:root {
    --color-bg-dark: #050505;
    --color-bg-light: #0d0d0d;
    --color-primary-red: #D20000;
    --color-primary-red-glow: rgba(210, 0, 0, 0.6);
    --color-text-light: #ffffff;
    --color-text-muted: #a0a0a0;

    --font-heading: 'Urbanist', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --pattern-honeycomb: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    background-image: var(--pattern-honeycomb);
    background-size: 24px 24px;
    background-attachment: fixed;
    color: var(--color-text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* Utilitários Glassmorphism e Glow */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.5), rgba(10, 10, 10, 0.8));
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.text-glow {
    color: var(--color-primary-red);
    text-shadow: 0 0 20px var(--color-primary-red-glow);
}

/* Sistema de Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Navbar */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-primary-red-glow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 101;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-primary-red);
    box-shadow: 0 0 10px var(--color-primary-red-glow);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--color-primary-red);
}

/* Botões e Mobile Menu Control */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 101;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-toggle:hover {
    color: var(--color-primary-red);
}

.mobile-only-btn {
    display: none;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary-red);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--color-primary-red);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Botões Globais */
.btn-primary,
.btn-outline,
.btn-outline-play,
.btn-outline-small {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    padding: 15px 32px;
    background: linear-gradient(135deg, #e60000, var(--color-primary-red));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(210, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(210, 0, 0, 0.6);
}

.btn-outline {
    padding: 14px 30px;
    background: transparent;
    color: var(--color-primary-red);
    border: 2px solid var(--color-primary-red);
}

.btn-outline:hover {
    background: var(--color-primary-red);
    color: #fff;
    box-shadow: 0 0 15px var(--color-primary-red-glow);
}

.btn-outline-play {
    padding: 14px 20px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 1rem;
}

.btn-outline-play i {
    font-size: 1.5rem;
    color: var(--color-primary-red);
}

.btn-outline-play:hover {
    color: var(--color-primary-red);
    transform: scale(1.05);
}

.btn-outline-small {
    padding: 8px 16px;
    font-size: 0.8rem;
    background: transparent;
    border: 1px solid var(--color-primary-red);
    color: var(--color-primary-red);
    margin-top: 15px;
}

.btn-outline-small:hover {
    background: var(--color-primary-red);
    color: #fff;
}

.btn-full {
    width: 100%;
}

/* Hero Global */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(210, 0, 0, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text-box {
    max-width: 600px;
    flex: 1;
}

.badge-autoridade {
    display: inline-block;
    background: rgba(210, 0, 0, 0.1);
    border: 1px solid var(--color-primary-red);
    color: var(--color-text-light);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.badge-autoridade i {
    color: var(--color-primary-red);
    margin-right: 5px;
}

.hero-title {
    font-size: 4.8rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-graphic {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.panther-floating {
    width: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(210, 0, 0, 0.4));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Faixa Trust Strip */
.trust-strip {
    background: var(--color-bg-light);
    padding: 25px 0;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-container p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.trust-logos {
    display: flex;
    gap: 40px;
}

.trust-logos span {
    color: #555;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.trust-logos span:hover {
    color: var(--color-primary-red);
}

/* Seções Gerais */
.methodology,
.programs,
.master-section,
.portfolio-section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    color: var(--color-primary-red);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 3.5rem;
    line-height: 1.1;
}

.section-subtitle {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 15px auto 0;
    font-size: 1.1rem;
}

/* Grid Cards (Metodologia) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s;
    border-top: 3px solid var(--color-primary-red);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--color-primary-red-glow);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-primary-red);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--color-primary-red-glow);
}

.card h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* SEÇÃO PORTFÓLIO */
.portfolio-section {
    background: var(--color-bg-light);
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(30%);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(210, 0, 0, 0.9), rgba(0, 0, 0, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
    text-align: center;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Modalidades (Bento) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.bento-item {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
    transition: transform 0.5s;
}

.bento-item:hover::before {
    transform: scale(1.05);
}

.kids {
    grid-column: span 2;
}

.kids::before {
    background-image: url('https://images.unsplash.com/photo-1555597673-b21d5c935865?auto=format&fit=crop&q=80');
}

.elite {
    grid-column: span 2;
    grid-row: span 2;
    border-color: var(--color-primary-red);
}

.elite::before {
    background-image: url('https://images.unsplash.com/photo-1599058917212-d750089bc07e?auto=format&fit=crop&q=80');
    opacity: 0.6;
}

.elite h4 {
    font-size: 2.5rem;
    color: var(--color-primary-red);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.adulto {
    grid-column: span 2;
}

.adulto::before {
    background-image: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&q=80');
}

.bento-content {
    z-index: 1;
}

.bento-content h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.bento-content p {
    color: #eee;
    font-size: 0.95rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.age-badge {
    display: inline-block;
    background: var(--color-primary-red);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-top: 10px;
}

/* O Mestre */
.master-section {
    background: var(--color-bg-dark);
}

.master-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.master-image-box {
    position: relative;
}

.image-placeholder {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #333;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.image-placeholder img {
    width: 100%;
    display: block;
    filter: grayscale(50%) contrast(1.1);
    transition: filter 0.3s;
}

.image-placeholder:hover img {
    filter: grayscale(0%) contrast(1);
}

.master-dan-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--color-primary-red);
    color: #fff;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    transform: rotate(-5deg);
    box-shadow: 0 5px 15px rgba(210, 0, 0, 0.5);
}

.master-info h3 {
    color: var(--color-primary-red);
    letter-spacing: 2px;
}

.master-info h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1;
}

.master-bio {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.master-credentials {
    list-style: none;
    margin-bottom: 30px;
}

.master-credentials li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.master-credentials i {
    color: var(--color-primary-red);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-primary-red);
    padding: 5rem 0 2rem;
    background: linear-gradient(to top, #000, transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 3rem;
}

.footer-contact h4 {
    margin-bottom: 1.5rem;
    color: var(--color-primary-red);
}

.footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact i {
    color: var(--color-primary-red);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* FAB e Modais (Padronizados sem Alert) */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: transform 0.3s;
    text-decoration: none;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-box {
    width: 95%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 4px solid var(--color-primary-red);
    margin: 20px auto;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--color-primary-red);
}

.modal-title {
    font-size: 2.2rem;
    color: var(--color-primary-red);
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--color-primary-red);
    box-shadow: 0 0 10px rgba(210, 0, 0, 0.2);
}

.text-center {
    text-align: center;
}

.glow-success {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: white;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    box-shadow: 0 0 30px rgba(0, 176, 155, 0.4);
}

/* ESTILOS DO LIGHTBOX */
.lightbox-content {
    max-width: 95%;
    max-height: 90vh;
    animation: modalPop 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    border: 2px solid var(--color-primary-red);
    box-shadow: 0 0 40px rgba(210, 0, 0, 0.3);
    object-fit: contain;
}


/* =========================================
   MEDIA QUERIES - RESPONSIVIDADE MOBILE
   ========================================= */

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: 4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .elite {
        grid-row: auto;
    }

    .master-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .master-credentials {
        text-align: left;
        display: inline-block;
    }

    .master-dan-badge {
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 768px) {

    /* Header & Navigation Mobile */
    .mobile-toggle {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only-btn {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 100;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        width: 80%;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    /* Fechar menu mobile (X) via JS altera o icone no toggle */

    /* Typography e Espaçamentos */
    .section-header h2 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .methodology,
    .programs,
    .master-section,
    .portfolio-section {
        padding: 4rem 0;
    }

    /* Grids para 1 Coluna */
    .cards-grid,
    .gallery-grid,
    .bento-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Elementos Específicos */
    .kids,
    .elite,
    .adulto {
        grid-column: span 1;
        min-height: 280px;
    }

    .trust-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .trust-logos {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-outline-play {
        width: 100%;
    }

    /* Modais */
    .modal-box {
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.8rem;
    }
}