/* ===== VARIÁVEIS E RESET ===== */
:root {
    --primary: #b866be;
    --primary-light: #3d2a5a;
    --background: #0a0a0a;
    --card-bg: #261742;
    --text: #e0e0e0;
    --text-light: #a0a0a0;
    --accent: #ffd700;
    --border: #333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(38, 23, 64);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.btn-agendar {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-agendar:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(38, 23, 66, 0.5);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(38, 23, 66, 0.4) 50%, rgba(10, 10, 10, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.logo-hero {
    margin: 0 0;
}

.logo-img {
    height: 150px;

    animation: slideDown 0.8s ease-out;
}

.logo-said {
    height: 90px;

    animation: slideDown 0.8s ease-out;
}

.hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: #b866be;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(38, 23, 66, 0.4);
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 0 30px rgba(38, 23, 66, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-cta {
    background: #b866be;
    color:#c6c6c6;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-cta:hover {
    background: rgba(38, 23, 64);
    transform: scale(1.05);
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: block;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary);
    font-style: italic;
}

.highlight1 {
    color: #b866be;
    font-style: italic;
}


/* ===== ABOUT SECTION ===== */
.about {
    background: var(--card-bg);
}

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

.about-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(38, 23, 66, 0.3);
}

.about-content h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    padding: 1.5rem;
    background: rgba(38, 23, 66, 0.2);
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== CLASSES SECTION ===== */
.classes {
    background: linear-gradient(135deg, rgba(38, 23, 66, 0.1) 0%, rgba(38, 23, 66, 0.05) 100%);
}

.classes-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.class-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.class-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.class-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.classes-info {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.classes-info h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.classes-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: var(--card-bg);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 23, 66, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
}

#lightboxImg {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 1rem;
    z-index: 2001;
}

.lightbox-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.lightbox-btn:hover {
    background: var(--primary-light);
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, rgba(38, 23, 66, 0.3) 0%, rgba(38, 23, 66, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="rgba(38,23,66,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--card-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: rgba(38, 23, 66, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
    background: rgba(38, 23, 66, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent);
}

/* ===== EMAIL FORM ===== */
.email-form-section {
    background: rgba(38, 23, 66, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.email-form-section h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(38, 23, 66, 0.3);
}

/* ===== CONTACT INFO ===== */
.contact-info {
    background: rgba(38, 23, 66, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.contact-info h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-item {
    padding: 1rem;
}

.info-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-light);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-content {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-menu {
        display: none; /* Esconde por padrão no mobile */
        position: absolute;
        top: 60px; /* Ajuste conforme a altura da sua navbar */
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(20, 10, 30, 0.95); /* Cor escura sólida para leitura */
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 2px solid var(--primary);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex !important; /* Mostra quando o JS ativar */
    }

    .menu-toggle {
        display: block; /* Mostra o botão hambúrguer */
        font-size: 2rem;
        order: 2;
    }

    .logo-section {
        order: 1;
    }

    /* Esconde o botão de agendar no mobile para não bagunçar o topo */
    .btn-agendar {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid, .classes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
