/* =========================================
   Juliana Macarone Studio & Run
   Premium Styling - DARK GOLD EDITION
   ========================================= */

:root {
    /* Tema Premium Gold */
    --premium-gold: #D4AF37;
    --premium-gold-hover: #F3CA40;
    --premium-gold-dark: #aa8c2c;
    --yellow-gradient: linear-gradient(135deg, var(--premium-gold), #B8902E);

    /* Cores de Fundo Dark */
    --bg-dark-deep: #0a0a0a;
    --bg-dark-card: #141414;
    --border-light: rgba(255, 255, 255, 0.08);

    /* Tipografia */
    --text-main: #E0E0E0;
    --text-muted: #888888;
    --text-light: #ffffff;
    
    /* Curva de Animação Fluida (Apple Style) */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-dark-deep);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .bio-title {
    font-family: 'Playfair Display', serif;
}

/* --- TOP NAVIGATION --- */
.top-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.top-nav .nav-btn {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
}

.top-nav .btn-members {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.top-nav .btn-members:hover {
    border-color: var(--premium-gold);
    color: var(--premium-gold);
    background: rgba(212, 175, 55, 0.05);
}

.top-nav .btn-admin {
    background: var(--premium-gold);
    color: #0a0a0a;
}

.top-nav .btn-admin:hover {
    background: var(--premium-gold-hover);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* --- BUTTONS GLOBAIS --- */
.btn {
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.4s var(--ease-out-expo);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.btn-yellow {
    background: var(--yellow-gradient);
    color: #0a0a0a;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-dark {
    background: #ffffff;
    color: #0a0a0a;
}

.btn-dark:hover {
    background: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline-dark {
    border: 2px solid var(--border-light);
    color: #ffffff;
    background: transparent;
}

.btn-outline-dark:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.btn-outline-yellow {
    border: 2px solid var(--premium-gold);
    color: var(--premium-gold);
    background: transparent;
}

.btn-outline-yellow:hover {
    background: var(--premium-gold);
    color: #0a0a0a;
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    background-image: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.90), rgba(10, 10, 10, 0.70)),
        url('../img/ju_macarone.jpeg'),
        url('../img/ju_macarone2.jpeg');
    background-position: center center, left center, right center;
    background-size: cover, 50% 100%, 50% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.hero span.highlight {
    color: var(--premium-gold);
    font-style: italic;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- BIO SECTION --- */
.bio-section {
    background-color: var(--bg-dark-deep);
    padding: 8rem 5%;
    border-bottom: 1px solid var(--border-light);
}

.bio-container {
    max-width: 800px;
    margin: 0 auto;
}

.bio-title {
    font-size: 3rem;
    color: var(--premium-gold);
    margin-bottom: 2rem;
    text-align: center;
}

.bio-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.bio-signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem;
    margin-top: 3rem;
    color: #fff;
    text-align: right;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

/* --- SECTIONS GERAIS --- */
.section-container {
    padding: 6rem 5%;
    overflow: hidden;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag-yellow {
    color: var(--premium-gold);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}

/* --- CAROUSEL --- */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.pricing-grid, .race-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.pricing-grid::-webkit-scrollbar, .race-grid::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-light);
    color: #ffffff;
    width: 45px; height: 45px; min-width: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    position: absolute;
}

.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }

.carousel-btn:hover {
    background: var(--premium-gold);
    color: #0a0a0a;
    border-color: var(--premium-gold);
    transform: scale(1.1);
}

/* --- STUDIO PRICING CARDS --- */
.studio-section {
    background-color: var(--bg-dark-card);
}

.price-card {
    flex: 0 0 320px;
    background: var(--bg-dark-deep);
    border: 1px solid var(--border-light);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.price-card.featured {
    border: 2px solid var(--premium-gold);
    background: rgba(212, 175, 55, 0.03);
}

.tag-best {
    position: absolute;
    top: 0; right: 20px;
    background: var(--premium-gold);
    color: #0a0a0a;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--premium-gold);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.plan-price span {
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-freq {
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    display: block;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    text-align: left;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.plan-features li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
}

.plan-features li::before {
    content: '✦';
    color: var(--premium-gold);
    margin-right: 12px;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* --- RACE CARDS --- */
.corridas-section {
    background-color: var(--bg-dark-deep);
}

.race-card {
    flex: 0 0 340px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.race-card:hover {
    background: var(--bg-dark-card);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.race-date {
    color: var(--premium-gold);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.race-title {
    font-size: 1.8rem;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.race-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.race-status {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 2rem;
}

.race-status-open { background: rgba(212, 175, 55, 0.1); color: var(--premium-gold); border: 1px solid rgba(212, 175, 55, 0.3); }
.race-status-last { background: rgba(255, 87, 34, 0.1); color: #FF5722; border: 1px solid rgba(255, 87, 34, 0.3); }
.race-status-soon { background: rgba(33, 150, 243, 0.1); color: #64B5F6; border: 1px solid rgba(33, 150, 243, 0.3); }

.race-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

/* --- MAPA & LOCALIZAÇÃO (NOVO) --- */
.map-section {
    background-color: var(--bg-dark-card);
}

.map-container {
    display: flex;
    gap: 4rem;
    background: var(--bg-dark-deep);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.map-info {
    flex: 1;
}

.map-info h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.map-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.map-iframe-wrapper {
    flex: 1.5;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-color: #222; /* Fallback enquanto o iframe carrega */
}


/* --- FOOTER --- */
.footer {
    background: #050505;
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-light);
}

.footer p {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .hero h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .hero-buttons .btn { width: 100%; }
    
    /* Responsividade do Mapa */
    .map-container {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }
    .map-iframe-wrapper {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .top-nav { padding: 1rem; justify-content: center; }
    .hero {
        background-image: 
            linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.80)),
            url('../img/ju_macarone.jpeg');
        background-size: cover;
        background-position: center top;
        padding-top: 100px;
    }
    .bio-title { font-size: 2.2rem; }
    .bio-section { padding: 5rem 1rem; }
    
    .carousel-btn { display: none; }
    .pricing-grid, .race-grid {
        padding: 2rem 1rem;
        gap: 1rem;
        scroll-snap-type: x mandatory; 
    }
    .price-card, .race-card {
        scroll-snap-align: center;
        flex: 0 0 85vw; 
    }
    .section-container { padding: 4rem 1rem; }
}