/* ==========================================================================
   Arena Quadras - Design System & Core Styles (Beach Sports Theme)
   ========================================================================== */

/* Custom Properties (Design Tokens) */
:root {
    /* Color Palette — dark court + laranja vivo */
    --primary: hsl(30, 25%, 95%);         /* Títulos claros sobre fundo escuro */
    --primary-light: hsl(16, 90%, 46%);   /* Laranja profundo (hover de botão) */
    --primary-dark: hsl(20, 16%, 5%);     /* Quase-preto quente (footer) */

    --accent: hsl(21, 96%, 54%);          /* Laranja forte — refletor aceso */
    --accent-light: hsl(30, 100%, 60%);
    --accent-glow: rgba(255, 102, 26, 0.28);

    --bg-primary: hsl(20, 12%, 8%);       /* Noite de jogo */
    --bg-secondary: hsl(20, 11%, 11%);

    --text-main: hsl(30, 18%, 92%);
    --text-muted: hsl(26, 10%, 68%);
    --text-light: hsl(0, 0%, 98%);

    --border-color: hsl(22, 10%, 20%);
    --glass-bg: rgba(20, 15, 12, 0.72);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-heading: 'Archivo', sans-serif;
    --font-body: 'Archivo', sans-serif;
    
    /* Layout & Spacing */
    --container-max-width: 1200px;
    --header-height: 80px;
    
    /* Shadows & Borders */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography Elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn:active { transform: scale(.96); }

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-light);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover {
    color: var(--text-light);
    box-shadow: 0 8px 25px rgba(240, 150, 20, 0.35);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 8px 20px rgba(10, 80, 50, 0.15);
    transform: translateY(-2px);
}

/* Reveal on Scroll Animations */
.js-enabled .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.js-enabled .fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Header Navigation Styles
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    background-color: hsl(20, 14%, 7%);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    height: 42px;
    width: auto;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-svg {
    height: 36px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* Desktop Nav */
.primary-navigation {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: none;
    position: relative;
    z-index: 200;
    padding: 10px;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Hamburger transform when open */
.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    min-height: calc(80vh - var(--header-height));
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--primary);
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(120, 80, 20, 0.05));
    animation: floatLeaf 6s ease-in-out infinite;
}

@keyframes floatLeaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

/* ==========================================================================
   Values Section
   ========================================================================== */
.values-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 20px;
    color: var(--primary);
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--accent-glow);
    border-color: rgba(255, 102, 26, 0.45);
    background-color: hsl(20, 12%, 13%);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, hsl(21, 40%, 18%) 0%, hsl(21, 45%, 13%) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
    transition: var(--transition-smooth);
}

.value-card:hover .card-icon-wrapper {
    background: radial-gradient(circle at 30% 30%, var(--accent) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    transform: scale(1.08) rotate(5deg);
}

.card-icon {
    width: 28px;
    height: 28px;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   R&D Section (Treinamentos/Clinicas)
   ========================================================================== */
.rd-section {
    padding: 100px 0;
}

.rd-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.rd-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.rd-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.rd-media:hover .rd-img {
    transform: scale(1.04);
}

.rd-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rd-desc {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin: 24px 0 36px 0;
}

/* ==========================================================================
   Products Section (Modalidades)
   ========================================================================== */
.products-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3; /* Landscape aspect ratio matches the original mockup design exactly */
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-footer {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-grow: 1;
    background-color: var(--bg-primary);
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    flex-grow: 1;
}

.btn-plus-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--accent-glow);
    transition: var(--transition-smooth);
}

.product-card:hover .btn-plus-icon {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-plus-icon:hover {
    transform: scale(1.1) rotate(90deg);
}

.plus-icon {
    width: 20px;
    height: 20px;
}

.products-action {
    margin-top: 40px;
}

/* ==========================================================================
   Sustainability Section (Lazer)
   ========================================================================== */
.sustainability-section {
    padding: 100px 0;
}

.sustainability-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.sustainability-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sustainability-desc {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin: 24px 0 36px 0;
}

.sustainability-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.sustainability-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.sustainability-media:hover .sustainability-img {
    transform: scale(1.04);
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 80px 0 40px 0;
    font-family: var(--font-body);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo-text {
    color: var(--text-light);
}

.brand-tagline {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 320px;
}

.copyright {
    margin-top: 40px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
    color: var(--text-light);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75) !important;
}

.social-link:hover {
    color: var(--accent-light) !important;
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Modal Styles (Schedules & Bookings)
   ========================================================================== */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.product-modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 40, 25, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1001;
}

.product-modal.open .modal-wrapper {
    transform: translateY(0) scale(1);
}

.modal-content {
    position: relative;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.close-icon {
    width: 20px;
    height: 20px;
}

/* Modal Body Content Styling */
.modal-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--primary);
    padding-right: 30px;
}

.modal-product-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--primary-light);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.modal-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-section-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.spec-table th, 
.spec-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.spec-table th {
    font-weight: 600;
    color: var(--primary);
    background-color: var(--bg-secondary);
    width: 35%;
}

.spec-table td {
    color: var(--text-main);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Tablet & Mobile Breakpoint (992px) */
@media (max-width: 992px) {
    /* Header & Navigation */
    .mobile-nav-toggle {
        display: block;
    }
    
    .primary-navigation {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-primary);
        padding: 40px 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 150;
        overflow-y: auto;
    }
    
    .primary-navigation[data-visible="true"] {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 28px;
    }
    
    .nav-link {
        font-size: 1.25rem;
        display: block;
    }
    
    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-img {
        max-width: 380px;
    }
    
    /* Value Cards */
    .cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* R&D and Sustainability */
    .rd-container,
    .sustainability-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .rd-media,
    .sustainability-media {
        order: 2;
    }
    
    .rd-content,
    .sustainability-content {
        order: 1;
        align-items: center;
    }
    
    .rd-img,
    .sustainability-img {
        height: 350px;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .brand-tagline {
        max-width: 100%;
    }
}

/* Mobile Breakpoint (600px) */
@media (max-width: 600px) {
    .container {
        width: 92%;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cards-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-link {
        justify-content: center;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   v4 Arena — noite de jogo: dark + laranja, coreografia e números
   ========================================================================== */

/* Tipografia atlética */
.section-title,
.hero-title {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-title {
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    line-height: 1.04;
}

/* Hero: quadra à noite, refletores laranja */
.hero-section {
    background:
        radial-gradient(circle at 82% 12%, rgba(255, 102, 26, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 8% 95%, rgba(255, 102, 26, 0.08) 0%, transparent 40%),
        var(--bg-primary);
}

.hero-kicker {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.hline { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hline > span { display: block; }

.js-enabled .hline > span {
    transform: translateY(112%);
    animation: hlineUp .9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.js-enabled .hline:nth-child(1) > span { animation-delay: .15s; }
.js-enabled .hline:nth-child(2) > span { animation-delay: .28s; }

.hline .laranja { color: var(--accent); font-style: normal; }

.js-enabled .hero-enter {
    opacity: 0;
    animation: heroRise .85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, .5s);
}

@keyframes hlineUp { to { transform: translateY(0); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero: foto real no lugar da ilustração */
.hero-section .hero-img {
    animation: none;
    max-width: 440px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 102, 26, 0.35);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 102, 26, 0.12);
}

.js-enabled .hero-section .hero-media {
    clip-path: inset(0 0 100% 0);
    animation: heroClip 1.1s cubic-bezier(0.22, 1, 0.36, 1) .35s forwards;
}

.js-enabled .hero-section .hero-img {
    transform: scale(1.07);
    animation: heroImgSettle 1.5s cubic-bezier(0.22, 1, 0.36, 1) .35s forwards;
}

@keyframes heroClip { to { clip-path: inset(0 0 0% 0); } }
@keyframes heroImgSettle { to { transform: scale(1); } }

/* Botões: texto escuro sobre laranja forte */
.btn-primary { color: hsl(20, 15%, 8%); font-weight: 700; }
.btn-primary::before { background-color: var(--accent-light); }
.btn-secondary:hover { color: hsl(20, 15%, 8%); }

/* Faixa de números */
.stats-band {
    background-color: var(--primary-dark);
    border-block: 1px solid rgba(255, 102, 26, 0.22);
    padding: 46px 0;
}

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

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.9rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.05;
}

.stat-value em { font-style: normal; font-size: 1.5rem; font-weight: 700; }

.stat-caption {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Cards de modalidade clicáveis + véu laranja no hover */
.product-card { cursor: pointer; }
.product-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.product-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 102, 26, 0.35), transparent 60%);
    opacity: 0;
    transition: opacity .35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.product-card:hover .product-img-wrapper::after { opacity: 1; }

@media (max-width: 992px) {
    .hero-actions { justify-content: center; }
}

@media (max-width: 600px) {
    .stats-band-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-title { font-size: 2.3rem; }
}

/* ==========================================================================
   Aluguel de quadras — grade de horários client-side
   ========================================================================== */
.booking-section { padding: 100px 0; background-color: var(--bg-secondary); }

.booking-card {
    max-width: 880px;
    margin: 0 auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.booking-label {
    display: block;
    font-family: var(--font-heading);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
    font-family: var(--font-heading);
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-main);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
    transition: border-color .25s, background-color .25s, color .25s, transform .25s cubic-bezier(0.22, 1, 0.36, 1);
}

.chip:hover { border-color: var(--accent); transform: translateY(-2px); }

.chip.selected {
    background-color: var(--accent);
    border-color: var(--accent);
    color: hsl(20, 15%, 8%);
}

.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.booking-input {
    width: 100%;
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text-main);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    color-scheme: dark;
}
.booking-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.booking-input::placeholder { color: var(--text-muted); }

.booking-hint { font-size: .78rem; color: var(--text-muted); margin-top: 8px; }

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 10px;
}

.slot {
    font-family: var(--font-heading);
    font-size: .86rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 0;
    cursor: pointer;
    transition: border-color .2s, background-color .2s, color .2s;
}

.slot:hover:not(:disabled) { border-color: var(--accent); }
.slot.selected { background-color: var(--accent); border-color: var(--accent); color: hsl(20, 15%, 8%); }
.slot:disabled { opacity: .32; cursor: not-allowed; text-decoration: line-through; }
.slot .noite { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .5px; color: var(--accent); }
.slot.selected .noite { color: hsl(20, 15%, 8%); }

.booking-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 26px;
}

.booking-summary-text { font-size: .96rem; color: var(--text-main); }
.booking-summary-text strong { color: var(--accent); }

@media (max-width: 640px) {
    .booking-row { grid-template-columns: 1fr; }
    .booking-summary { flex-direction: column; align-items: stretch; text-align: center; }
}
