/* IMPORTAR CSS RESPONSIVO (Tem de ser a primeira linha!) */
@import url('./mobile.css');

/* --- VARIÁVEIS DE COR E ESTILO --- */
:root {
    --bg-color: #050505;
    --primary-color: #E224D5;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --accent: #888888;
    --nav-bg: #050505; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- ANIMAÇÕES --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease-out forwards; }

/* --- NAVEGAÇÃO E LOGO --- */
header {
    background-color: var(--nav-bg);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(226, 36, 213, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 2%;
    max-width: 1600px;
    margin: auto;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    transition: transform 0.3s ease;
    mix-blend-mode: lighten;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links { list-style: none; display: flex; gap: 20px; align-items: center; }
.nav-links li a { color: var(--text-light); text-decoration: none; font-weight: 600; font-size: 14px; text-transform: uppercase; transition: color 0.3s; }
.nav-links li a:hover, .nav-links li a.active { color: var(--primary-color); }

/* Botão Área Cliente no Menu */
.nav-links li a.btn-login-menu {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    padding: 8px 18px;
    border-radius: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-links li a.btn-login-menu:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(226, 36, 213, 0.3);
}

.menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.menu-toggle span { height: 3px; width: 25px; background-color: var(--primary-color); margin-bottom: 4px; border-radius: 2px; }

/* --- ESTRUTURA GERAL --- */
main { flex: 1; padding-top: 90px; }
.page-section { padding: 120px 2% 50px; max-width: 1600px; margin: auto; }
h1.section-title, h2.section-title { text-align: center; color: var(--primary-color); margin-bottom: 40px; font-size: 36px; text-transform: uppercase; letter-spacing: 2px; }

.btn {
    padding: 12px 30px; background-color: var(--primary-color); color: var(--text-light); border: none; border-radius: 25px; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: transform 0.3s, background 0.3s; text-transform: uppercase; text-decoration: none; display: inline-block; text-align: center;
}
.btn:hover { transform: scale(1.05); background-color: #c01ab4; }

/* --- HERO BANNER (PÁGINA PRINCIPAL) --- */
.hero-banner {
    width: 100%; min-height: 80vh; background: linear-gradient(rgba(5, 5, 5, 0.8), rgba(34, 8, 32, 0.9)), url('https://images.unsplash.com/photo-1518609878373-06d740f60d8b?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat; 
    display: flex; align-items: center; justify-content: center; text-align: center; margin-top: -90px; padding-top: 90px;
}
.hero-content { max-width: 800px; padding: 20px; }
.hero-content h1 { font-size: 60px; margin-bottom: 20px; font-weight: 800; }
.hero-content h1 span { color: var(--primary-color); }
.hero-content p { font-size: 18px; margin-bottom: 40px; color: #e0e0e0; line-height: 1.8; }

/* --- SECÇÃO FEATURES (PORQUÊ NÓS?) --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; text-align: center; margin-top: 20px; }
.feature-box { background-color: #111; padding: 40px 30px; border-radius: 12px; border: 1px solid #222; transition: transform 0.3s, border-color 0.3s; }
.feature-box:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.feature-icon { font-size: 50px; margin-bottom: 20px; }
.feature-box h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 22px; }
.feature-box p { color: #cccccc; font-size: 15px; line-height: 1.6; }

/* --- SECÇÃO GALERIA --- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); grid-auto-rows: 250px; gap: 15px; max-width: 1600px; margin: 0 auto; padding: 0 2%; }
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.row-span-2 { grid-row: span 2; }

/* =========================================================
   NOVO DESIGN MODALIDADES - CARTAZ PREMIUM
   ========================================================= */

.modalidades-hero {
    position: relative;
    text-align: center;
    padding: 80px 20px 40px;
    overflow: hidden;
    background: #050505;
}

.glow-circle {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(226,36,213,0.15) 0%, rgba(5,5,5,0) 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.glitch-title {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

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

.modalidades-hero p {
    color: #aaa;
    font-size: 18px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.modalidades-art-container {
    padding: 40px 2% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-section {
    margin-bottom: 120px;
    position: relative;
}

.category-giant-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 3px rgba(226, 36, 213, 0.8);
    text-shadow: 0 0 20px rgba(226, 36, 213, 0.3);
    position: absolute;
    top: -40px; 
    left: 0px; 
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: -2px;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 90px; 
    align-items: start;
    position: relative;
    z-index: 1;
}

.art-card {
    background: #0a0a0a; 
    border: 1px solid #1a1a1a;
    border-radius: 24px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.art-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px; 
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}

.art-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.1);
    transition: all 0.6s ease;
}

.art-card-content {
    padding: 25px 10px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.art-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.art-card h3 {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.art-card-icon {
    color: #444;
    font-size: 22px;
    font-weight: bold;
    transform: rotate(0deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.art-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.art-card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -30px 40px -20px var(--primary-color);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.art-card:hover {
    transform: translateY(-8px);
    border-color: rgba(226, 36, 213, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(226, 36, 213, 0.05);
}

.art-card:hover .art-card-img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.08); 
}

.art-card:hover h3 {
    color: var(--primary-color);
}

.art-card:hover p {
    color: #ccc;
}

.art-card:hover .art-card-icon {
    color: var(--primary-color);
    transform: rotate(45deg); 
}

.art-card:hover .art-card-img-wrapper::after {
    opacity: 0.6; 
}

/* --- PÁGINA PREÇOS --- */
.table-container { width: 100%; overflow-x: auto; }
.tabela-precos { width: 100%; border-collapse: collapse; margin-top: 20px; background-color: #111; border-radius: 10px; overflow: hidden; font-size: 13px; }
.tabela-precos th, .tabela-precos td { padding: 12px 8px; text-align: center; vertical-align: middle; border: 1px solid #333; }
.tabela-precos th { background-color: var(--primary-color); color: var(--text-light); font-weight: 600; text-transform: uppercase; font-size: 12px; }
.tabela-precos td { color: #ddd; }
.tabela-precos td:first-child { font-weight: 600; color: var(--primary-color); background-color: #1a1a1a; }
.tabela-precos tr:hover td { background-color: #222; }

/* --- PÁGINA HORÁRIOS (BASE DESKTOP) --- */
.schedule-container { background: linear-gradient(135deg, #050505 0%, #E224D5 100%); padding: 30px; border-radius: 15px; margin-bottom: 60px; border: 1px solid #333; }
.schedule-title { text-align: center; color: #fff; margin-bottom: 30px; font-size: 24px; text-transform: uppercase; letter-spacing: 2px; }
.schedule-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.day-col { display: flex; flex-direction: column; gap: 12px; }
.day-header { background: #000; color: #fff; text-align: center; padding: 12px; border-radius: 20px; font-weight: 800; text-transform: uppercase; font-size: 14px; border: 2px solid #fff; }
.class-block { background: #fff; color: #000; text-align: center; padding: 15px 10px; border-radius: 15px; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; min-height: 70px; box-shadow: 0 4px 6px rgba(0,0,0,0.2); text-transform: uppercase; }
.instrument-block { background: #fff; color: #000; text-align: center; padding: 30px 10px; border-radius: 15px; font-weight: 800; font-size: 20px; line-height: 1.6; height: 100%; min-height: 350px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 6px rgba(0,0,0,0.2); }
.class-block.empty { background: transparent; box-shadow: none; color: transparent; }

/* ESTILOS DO SELETOR DE DIAS MOBILE */
.mobile-day-selector {
    display: none;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
    position: sticky;
    top: 92px;
    background-color: var(--bg-color);
    padding: 12px 5px;
    z-index: 900;
    border-bottom: 1px solid #111;
}
.day-tab {
    background-color: #111;
    color: #aaa;
    border: 1px solid #222;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 65px;
    text-align: center;
}
.day-tab.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(226, 36, 213, 0.4);
}

/* --- CONTACTOS --- */
.form-section { max-width: 600px; margin: 0 auto; width: 100%; }
.form-section h2 { color: var(--text-light); font-size: 24px; margin-bottom: 20px; font-weight: 800; text-align: center; }
.contact-form { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 15px; background-color: #111; border: 1px solid #333; color: var(--text-light); border-radius: 5px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--primary-color); }

/* --- PARCERIAS --- */
.parcerias-grid { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 80px; padding: 40px 0; }
.parceiro-card { display: flex; align-items: center; justify-content: center; position: relative; width: auto; }
.parceiro-img-box { width: 300px; height: 300px; background-color: #ffffff; border: 1px solid #e0e0e0; display: flex; align-items: center; justify-content: center; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1; border-radius: 12px; }
.parceiro-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.parceiro-info { display: flex; flex-direction: column; gap: 15px; margin-left: -20px; z-index: 2; align-items: flex-start; }
.parceiro-nome { background-color: #ffffff; color: var(--primary-color); padding: 15px 25px; border-radius: 8px; font-weight: 800; font-size: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); max-width: 250px; text-align: center; border: 1px solid #f0f0f0; }
.btn-info { background-color: var(--primary-color); color: var(--text-light); padding: 10px 25px; border-radius: 25px; text-decoration: none; font-weight: 800; font-size: 13px; text-transform: uppercase; transition: transform 0.3s, background 0.3s; box-shadow: 0 4px 10px rgba(226,36,213,0.2); }
.btn-info:hover { background-color: #c01ab4; transform: scale(1.05); }

/* --- LOJA --- */
.shop-container { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.products { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-content: start; }
.product-card { background-color: #111; border: 1px solid #222; border-radius: 12px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(226,36,213,0.15); border-color: var(--primary-color); }

.product-img-wrapper { position: relative; width: 100%; height: 250px; border-bottom: 1px solid #222; overflow: hidden; background-color: #050505; }
.product-img-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out; }

.img-back { opacity: 0; }
.img-front-only { opacity: 1; }

.product-card:hover .product-img-wrapper .img-front { opacity: 0; }
.product-card:hover .product-img-wrapper .img-back { opacity: 1; transform: scale(1.05); }
.product-card:hover .product-img-wrapper .img-front-only { transform: scale(1.05); }

.product-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; text-align: center; justify-content: center; }
.product-info h4 { font-size: 18px; color: var(--text-light); margin-bottom: 10px; }
.product-info p { color: var(--primary-color); font-weight: 800; font-size: 24px; margin-bottom: 15px; }

.seletores-loja { display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px; }
.seletores-loja select {
    padding: 8px 12px; background-color: #050505; color: var(--text-light); border: 1px solid #333; border-radius: 5px; font-family: inherit; font-size: 13px; outline: none; cursor: pointer; transition: border-color 0.3s;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 35px;
}
.seletores-loja select:focus { border-color: var(--primary-color); }

.cart { width: 320px; flex-shrink: 0; background: #111; padding: 30px; border-radius: 12px; border: 1px solid var(--primary-color); position: sticky; top: 120px; box-shadow: 0 4px 15px rgba(226,36,213,0.1); }
.cart h2 { color: var(--text-light); border-bottom: 1px dashed #333; padding-bottom: 15px; margin-bottom: 20px; font-size: 22px; text-transform: uppercase; }
.cart-items { list-style: none; margin-bottom: 25px; min-height: 60px; }
.cart-items li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding: 15px 0; font-size: 14px; color: #ddd; }
.cart-total { font-size: 22px; font-weight: 900; display: flex; justify-content: space-between; margin-bottom: 25px; color: var(--text-light); }
.cart-total span:last-child { color: var(--primary-color); }

.caixa-destaque { background: #1a1a1a; border-left: 4px solid var(--primary-color); padding: 15px; margin: 20px 0; border-radius: 0 8px 8px 0; font-size: 13px; }
.caixa-destaque p { margin: 6px 0; color: #ddd; }
.caixa-destaque strong { color: var(--text-light); font-weight: bold; }
.aviso { color: var(--primary-color); font-size: 13px; font-weight: bold; margin-bottom: 25px; }

.botoes-email { margin-top: 20px; border-top: 1px dashed #333; padding-top: 20px; }
.btn-email-action { width: 100%; padding: 14px 20px; margin-bottom: 12px; background-color: transparent; color: var(--text-light); border: 2px solid var(--primary-color); border-radius: 25px; font-size: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-email-action:hover { background-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(226,36,213,0.3); }
.btn-email-action.sucesso { background-color: #10b981; border-color: #10b981; color: #fff; }
.btn-voltar { border-color: #444; color: #999; margin-top: 20px; }
.btn-voltar:hover { background-color: #333; border-color: #333; color: #fff; transform: translateY(0); box-shadow: none; }

/* --- FOOTER --- */
footer { background-color: var(--nav-bg); border-top: 1px solid #333; margin-top: auto; text-align: center; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; padding: 40px 2%; max-width: 1200px; margin: 0 auto; }
.footer-info { display: flex; flex-direction: column; align-items: center; color: var(--text-light); flex: 1; min-width: 250px; }
.footer-info .icon { font-size: 28px; margin-bottom: 15px; }
.footer-info p { font-size: 14px; line-height: 1.6; color: #cccccc; margin-bottom: 5px; }
.footer-info a { color: #cccccc; text-decoration: none; transition: color 0.3s; }
.footer-info a:hover { color: var(--primary-color); }
.footer-bottom { padding: 20px; background-color: #000; color: var(--accent); font-size: 12px; border-top: 1px solid #1a1a1a; }

/* =========================================================
   CARROSSEL 3D (ALUGUER DE ESPAÇOS)
   ========================================================= */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; 
    perspective: 1200px; 
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 45%; 
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, z-index 0.6s;
    opacity: 0;
    z-index: 1;
    transform: translateX(0) scale(0.5) translateZ(-300px);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    z-index: 10;
    transform: translateX(0) scale(1) translateZ(0);
    box-shadow: 0 15px 40px rgba(226,36,213,0.3);
}

.carousel-item.prev {
    opacity: 0.5;
    z-index: 5;
    transform: translateX(-65%) scale(0.8) translateZ(-150px);
}

.carousel-item.next {
    opacity: 0.5;
    z-index: 5;
    transform: translateX(65%) scale(0.8) translateZ(-150px);
}

/* Botões do Carrossel */
.carousel-controls {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.btn-carousel {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
}

.btn-carousel:active {
    transform: scale(0.95);
}

.btn-prev {
    background-color: #333;
    color: #ccc;
}
.btn-prev:hover {
    background-color: #444;
    color: #fff;
}

.btn-next {
    background-color: #E224D5;
    color: #fff;
}
.btn-next:hover {
    background-color: #c01ab4;
}