:root {
    --bg-color: #0B0B0B;
    --text-color: #FFFFFF;
    --primary-color: #0047AB;
    /* R.33 Blue */
    --accent-color: #E31B23;
    /* Red CTA */
    --gray-light: #F4F4F4;
    --gray-medium: #888888;
    --gray-dark: #1A1A1A;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    background: rgba(11, 11, 11, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.btn-cta-nav {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-cta-nav:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Nav Active State */
@media (max-width: 992px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-color);
        padding-top: 100px;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

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

    .nav-links li {
        text-align: center;
        margin-bottom: 30px;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('img/IMG_1132.JPG.jpeg');
    background-size: cover;
    background-position: center;
    padding-top: var(--header-height);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-subtitle {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 30px;
}

/* Countdown */
.countdown-container {
    margin-bottom: 40px;
}

.countdown-label {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin-bottom: 10px;
}

.countdown {
    display: flex;
    gap: 20px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-block span {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.time-block small {
    font-size: 0.6rem;
    color: var(--gray-medium);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    margin-right: 15px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(227, 27, 35, 0.3);
}

.btn-secondary {
    background-color: var(--gray-dark);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--bg-color);
}

/* Base Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    color: var(--primary-color);
    text-align: center;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* About Section */
.about {
    background-color: var(--gray-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content ul {
    list-style: none;
    margin: 30px 0;
}

.about-content li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.about-content li i {
    color: var(--primary-color);
}

.about-quote {
    font-size: 1.2rem;
    font-weight: 700;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 30px 0;
}

/* Career Gallery Section */
.career-gallery {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--gray-dark);
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.8;
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* Academy Section */
.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.academy-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.academy-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.academy-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.academy-card h3 {
    margin-bottom: 15px;
}

.academy-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .academy-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .academy-btns .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        margin-right: 0;
    }
}

/* Online Class Section */
.aulao {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('img/IMG_RHUAN_AFONSO.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.aulao-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.aulao-info h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.aulao-details {
    list-style: none;
    margin-bottom: 30px;
}

.aulao-details li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 700;
}

.aulao-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 30px 0;
}

.aulao-price span {
    font-size: 1rem;
    color: var(--gray-medium);
}

/* Form Styles */
.registration-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    color: var(--bg-color);
}

.registration-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--bg-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.btn-form {
    width: 100%;
    border: none;
    margin-top: 10px;
}

@media (max-width: 992px) {

    .about-grid,
    .academy-grid,
    .aulao-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        order: 2;
    }

    .about-image {
        order: 1;
    }
}

/* Outlet Section */
.outlet {
    background-color: var(--bg-color);
}

.outlet-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.outlet-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Differentials Section */
.differentials {
    background-color: var(--gray-dark);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.diff-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.diff-item p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('img/1779CCC4-C6AB-4787-B372-3593655358A7.JPG.jpeg');
    background-size: cover;
    background-position: center;
}

.final-cta h2 {
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

.btn-large {
    font-size: 1.2rem;
    padding: 20px 50px;
}

/* Footer Styles */
footer {
    padding: 80px 0 30px;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 20px;
    color: var(--gray-medium);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--gray-medium);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray-medium);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    /* Header Responsividade */
    .header .container {
        padding: 0 15px;
    }

    .header .btn-primary {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    /* Hero Responsividade */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        display: flex;
        /* Adicionado para o gap funcionar */
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    /* Outlet Responsividade */
    .outlet .section-header {
        margin-bottom: 30px;
    }

    .outlet-content .btn-group {
        flex-direction: column;
        gap: 15px;
    }

    .outlet-content .btn {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .outlet-content {
        grid-template-columns: 1fr;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    color: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--gray-medium);
}

#pix-qr-container {
    margin: 20px 0;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
}

#pix-qr-img {
    width: 100%;
    max-width: 250px;
}

.pix-copy-paste {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#pix-code-input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.8rem;
    color: var(--gray-medium);
}

.modal-info {
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin-top: 20px;
    font-weight: 700;
}