@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-color: #060608;
    --card-bg: #0b0c10;
    --text-color: #ffffff;
    --text-muted: #a0aec0;
    --primary-color: #e11d48;
    --border-color: #1a1d24;
    --font-title: 'Michroma', sans-serif;
    --font-text: 'Montserrat', sans-serif;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:var(--bg-color);
    color:var(--text-color);
    line-height:1.6;
    font-family:var(--font-text);
}

/* ===== HEADER / MENU SUPERIOR COM HAMBÚRGUER RESPONSIVO ===== */
header {
    background-color: rgba(6, 6, 8, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 102;
}

.logo span {
    color: var(--primary-color);
}

/* === MENU HAMBÚRGUER (BOTÃO) === */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animação do hambúrguer para X quando aberto */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* === MENU DE NAVEGAÇÃO === */
.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* === MENU LATERAL (OFF-CANVAS) PARA MOBILE === */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(6, 6, 8, 0.98);
        backdrop-filter: blur(10px);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        /*justify-content: center;*/
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 101;
        padding: 80px 20px 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Overlay escuro quando menu abre */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 10px 0;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 100px 20px;
     background-image: url("../img/hero.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    /*background: linear-gradient(135deg, rgba(6, 6, 8, 0.98) 50%, rgba(225, 29, 72, 0.1) 100%);*/
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 769px){
    .hero {min-height: 950px;}
    .hero {
    padding: 50px 10px;
    background-image: url(../img/hero-mobile.webp);
    background-size: cover;
    background-position: center;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 320px;
}

.badge {
    display: inline-block;
    background-color: rgba(225, 29, 72, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 35px;
}

.features-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
}

.hero-image {
    flex: 1;
    min-width: 320px;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    border-bottom: 4px solid var(--primary-color);
}

/* ===== VITRINE DE MÓDULOS ===== */
.vitrine {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vitrine-header {
    text-align: center;
    margin-bottom: 60px;
}

.vitrine-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.vitrine-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.grid-modulos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.modulo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, border-color 0.3s;
}

.modulo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.modulo-header {
    margin-bottom: 30px;
}

.modulo-numero {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-muted);
    line-height: 1;
    margin-bottom: 10px;
}

.modulo-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.modulo-sub {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.modulo-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.modulo-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    text-align: center;
}

.btn-acesso {
    display: block;
    width: 100%;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 14px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-acesso:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== FOOTER ===== */
footer {
    background-color: #030304;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* RODAPÉ PREMIUM */
        .footer-premium {
            background-image: url(../img/bannerfooter.jpg);
            background-size: cover;
            background-position: top;
            background-repeat: no-repeat;
            border-top: 1px solid var(--border-color);
            padding: 80px 20px 30px 20px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.5fr 1fr 1.5fr;
            gap: 40px;
        }
        .footer-col{
            text-align: left;
        }

        .footer-col h3 {
            color: #ffffff;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 25px;
            position: relative;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
        }

        .logo-footer {
            font-weight: 800;
            font-size: 1.8rem;
            color: #ffffff;
            text-decoration: none;
            display: block;
            margin-bottom: 15px;
        }

        .logo-footer span {
            color: var(--primary-color);
        }

        .footer-pitch {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 20px;
            max-width: 300px;
        }

        /* Redes sociais */
        .social-btn {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            padding: 8px 15px;
            border-radius: 4px;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.3s;
        }

        .social-btn:hover {
            border-color: var(--primary-color);
            background-color: rgba(225, 29, 72, 0.05);
        }

        /* Links */
        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--primary-color);
        }

        /* Contatos */
        .footer-contact {
            list-style: none;
            margin-bottom: 20px;
        }

        .footer-contact li {
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 12px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .footer-contact strong {
            color: #ffffff;
        }

        /* Botão Wpp no Rodapé */
        .btn-footer-wpp {
            background-color: #25d366;
            color: #ffffff;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            text-decoration: none;
            padding: 12px 20px;
            border-radius: 4px;
            font-size: 0.9rem;
            transition: background-color 0.3s;
            text-align: center;
            gap: 6px;
        }

        .btn-footer-wpp:hover {
            background-color: #1ebd59;
        }

        /* Linha final */
        .footer-bottom {
            max-width: 1200px;
            margin: 60px auto 0 auto;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
            text-align: center;
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        /* BOTÃO FLUTUANTE WHATSAPP */
        .wpp-flutuante {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 60px;
            height: 60px;
            background-color: #25d366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
            z-index: 9999;
            transition: transform 0.3s, background-color 0.3s;
        }

        .wpp-flutuante:hover {
            transform: scale(1.1);
            background-color: #1ebd59;
        }

        .wpp-icon {
            width: 35px;
            height: 35px;
        }

        /* Responsivo do rodapé */
        @media (max-width: 900px) {
            .footer-container {
                grid-template-columns: 1fr;
                gap: 45px;
                text-align: center;
            }
            .footer-col h3::after {
                left: 50%;
                transform: translateX(-50%);
            }
            .footer-pitch {
                margin: 0 auto 20px auto;
            }
            .wpp-flutuante {
                bottom: 20px;
                right: 20px;
                width: 50px;
                height: 50px;
            }
            .wpp-icon {
                width: 28px;
                height: 28px;
            }
        }

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
        .features-list {
        text-align: left;
        grid-template-columns: repeat(2, 1fr);
        }
     .features-list li {
       align-items: flex-start;
     }   
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

.hero-content .logo-hero {
    width: 150px;
}

    .logo-container {
      text-align: center;
      color: #fff;
      max-width: 255px;
      margin-bottom: 25px;
    }

    @media (max-width: 769px){
        .logo-container {max-width: 100%;}
    }

    /* Imagem da logo RC */
    .logo-rc {
      width: 160px;
      margin-bottom: 15px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    /* RODRIGO CASTRO BJJ */
    h2.subtitulo {
      font-size: 9px;
      letter-spacing: 6px;
      color: #ccc;
      font-weight: bold;
      margin-bottom: 12px;
    }

    /* DA BRANCA */
    h1.branca {
      font-size: 36px;
      font-weight: 700;
      letter-spacing: 2px;
      line-height: 1;
      margin-bottom: 8px;
      color: #fff;
    }

    /* AO com linhas */
    .ao-linha {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 8px;
    }

    .ao-linha span.linha {
      display: block;
      width: 55px;
      height: 2px;
      background: #fff;
    }

    .ao-linha span.ao {
      font-size: 14px;
      font-weight: bold;
      letter-spacing: 3px;
    }

    /* CORAL */
    h1.coral {
      font-size: 36px;
      font-weight: 700;
      letter-spacing: 2px;
      line-height: 1;
      color: #e60000;
      margin-bottom: 10px;
    }

    /* JIU·JITSU com linhas vermelhas */
    .jiu-linha {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .jiu-linha span.linha-vermelha {
      display: block;
      width: 40px;
      height: 3px;
      background: #e60000;
    }

    .jiu-linha span.jiu {
      font-size: 12px;
      letter-spacing: 4px;
      font-weight: bold;
    }

    /* BENEFICIOS */

    .beneficios {
    align-items: center;
    gap: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 499px;
    }

    /* Cada item de benefício */
    .beneficio {
    display: flex;
    align-items: center;
    gap: 5px;
    border-right: 1px solid #e60000;
    height: 60px;
    align-items: center;
    padding: 10px;
    }
    .beneficio-int {
        display: inline-flex;
        align-items: center;
    }

    @media (max-width:769px ) {
        .beneficios{
            justify-content: center;
        }
        .beneficio {
            gap: 3px;
            display: grid;
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
            margin: auto;
            width: 100%;
        }
        .beneficio-texto {
            font-size: 8px!important;
            text-align: center!important;
        }
    }

    .bultimo {border-right:0!important;}

    /* Texto do benefício */
    .beneficio-texto {
      color: var(--text-muted);
      font-size: 10px;
      line-height: 1.4;
    }
  


    /* ========== SVG ÍCONES ========== */

    /* Ícone 1: Vídeo Aulas */

    .icon-monitor rect {
      stroke: var(--text-muted); 
      stroke-width: 2;
      fill: none;
    }
    .icon-monitor line {
      stroke: var(--text-muted);
      stroke-width: 2;
    }
    .icon-monitor polygon {
      fill: var(--text-muted);
    }
    .icon-monitor path {
      stroke: var(--text-muted);
      stroke-width: 2;
      fill: none;
    }

    /* Ícone 2: Relógio */

    .icon-relogio circle {
      stroke: var(--text-muted);
      stroke-width: 2;
      fill: none;
    }
    .icon-relogio line {
      stroke: var(--text-muted);
      stroke-width: 2;
      stroke-linecap: round;
    }

    /* Ícone 3: Gráfico */

    .icon-grafico rect {
      fill: var(--text-muted);
    }
    .icon-grafico path {
      stroke: var(--text-muted);
      stroke-width: 2;
      fill: none;
    }
    .icon-grafico polygon {
      fill: var(--text-muted);
    }

    /* Ícone 4: Dispositivos */

    .icon-devices rect {
      stroke: var(--text-muted);
      stroke-width: 2;
      fill: none;
    }
    .icon-devices line {
      stroke:var(--text-muted);;
    }
    .icon-devices circle {
      stroke: var(--text-muted);
      stroke-width: 1.5;
      fill: none;
    }

    .icon-monitor,
    .icon-relogio,
    .icon-grafico,
    .icon-devices {
    width: 55px;
    height: 50px;
    }

    @media (max-width: 769px){
        .icon-monitor,
        .icon-relogio,
        .icon-grafico,
        .icon-devices {
        width: 35px;
        height: 35px;
        }
    }


    /* ========== MOUSE TRAIL - RAIO ========== */
#mouse-trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* SEÇÃO SOBRE O MESTRE */
        .sobre-mestre {
            padding: 100px 20px;
            background-image: url(../img/arte-quem-e-2.jpg);
            background-size: cover;
            background-position: top;
            background-repeat: no-repeat;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        @media (max-width: 796px){
            .sobre-mestre {
                    padding: 0px 0px;
            }
            .mestre-container{
                padding: 20px 20px 0px;
                flex-wrap: inherit;
            }
        }

        .mestre-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 60px;
            flex-wrap: wrap;
        }

        .mestre-texto {
            flex: 1.2;
            min-width: 320px;
        }

        .mestre-texto h2 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        @media (max-width: 769px){
            .mestre-texto h2{
                font-size: 1.5rem;
            }
        }

        .mestre-texto h2 span {
            color: var(--primary-color);
        }

        .mestre-texto p {
            color: var(--text-muted);
            font-size: 1.05rem;
            margin-bottom: 20px;
        }

        .mestre-foto-box {
            flex: 0.8;
            min-width: 300px;
            text-align: center;
        }

        .mestre-foto-menor {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            filter: grayscale(20%);
        }

        /* FAQ SECTION */
       /* FAQ SECTION ACCORDION */
        .faq-section {
            padding: 100px 20px;
            background-color: var(--bg-color);
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-container h2 {
            font-size: 2.2rem;
            font-weight: 800;
            text-align: center;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .faq-accordion {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .faq-item {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            overflow: hidden;
            transition: border-color 0.3s;
        }

        .faq-item:hover {
            border-color: rgba(225, 29, 72, 0.5);
        }

        /* Botão da Pergunta */
        .faq-question {
            width: 100%;
            background: none;
            border: none;
            outline: none;
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 700;
            text-align: left;
            padding: 20px 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-family: inherit;
        }

        .faq-icon {
            font-size: 0.8rem;
            color: var(--primary-color);
            transition: transform 0.3s ease;
        }

        /* Área da Resposta (Inicia escondida) */
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
            padding: 0 25px;
        }

        .faq-answer p {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
            padding-bottom: 20px;
        }

        /* Estilos quando o item está ATIVO (Aberto) */
        .faq-item.active {
            border-color: var(--primary-color);
        }

        .faq-item.active .faq-answer {
            max-height: 200px; /* Define um limite seguro para a animação */
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg); /* Gira a setinha para cima */
        }


/* Esconde no PC */
.sobre-mestre-img {
    display: none;
}

/* Mostra apenas no mobile */
@media (max-width: 768px) {
    .sobre-mestre-img {
        display: block;
        height: 500px;

        background-image: url("../img/sobre-mestre.jpg");
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;

        background-attachment: fixed;
    }
}