/* ==========================================================================
   Design System & Premium Aesthetics - Colégio São Bento
   ========================================================================== */

:root {
    /* Colors */
    --primary-color: #B71C1C; /* Premium Deep Red */
    --primary-light: #D32F2F;
    --secondary-color: #FFD700; /* Sun Gold/Yellow */
    --secondary-hover: #FBC02D;
    
    --bg-color: #F8F9FA;
    --surface-color: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.7);
    --surface-dark: #2B0000; /* Dark Red for Footer */
    
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #E6F1FF;
    
    --whatsapp-color: #25D366;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(183, 28, 28, 0.15);
    
    --glass-blur: blur(12px);
    --border-glass: 1px solid rgba(255, 255, 255, 0.3);
    
    /* Spacing */
    --section-py: 100px;
    --container-px: 5%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        position: relative;
    }
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: var(--section-py) 0;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.subtitle {
    display: block;
    font-family: var(--font-body);
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.text-center { text-align: center; }
.text-accent { color: var(--secondary-color); }
.text-white { color: #fff; }
.text-gray { color: #a0aec0; }
.text-whatsapp { color: var(--whatsapp-color); }

.mb-4 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--surface-color);
    color: var(--surface-color);
}

.btn-outline:hover {
    background-color: var(--surface-color);
    color: var(--primary-color);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Glassmorphism Classes */
.glass {
    background: var(--surface-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--border-glass);
    box-shadow: var(--shadow-md);
}

.glass-panel {
    background: var(--surface-color);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo img {
    height: 60px !important;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--surface-color);
    transition: var(--transition-fast);
}

.navbar.scrolled .logo-text,
.navbar.navbar-light .logo-text {
    color: var(--primary-color);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--surface-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.navbar.scrolled .nav-link,
.navbar.navbar-light .nav-link {
    color: var(--primary-color);
}

.navbar.scrolled .nav-link:hover,
.navbar.navbar-light .nav-link:hover,
.navbar.scrolled .nav-link.active,
.navbar.navbar-light .nav-link.active {
    color: var(--accent-color);
}

.navbar.scrolled .mobile-toggle,
.navbar.navbar-light .mobile-toggle {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.portal-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}


.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--surface-color);
    cursor: pointer;
}

.navbar.scrolled .mobile-toggle {
    color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Restore the premium gradient background */
    background: linear-gradient(135deg, rgba(139, 0, 0, 1) 0%, rgba(50, 0, 0, 1) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    opacity: 0.15;
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    color: var(--surface-color);
    text-align: left;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-floating-img {
    max-width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-floating-img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero h1 {
    color: var(--surface-color);
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 24px;
    text-wrap: balance;
    max-width: 100%;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

/* ==========================================================================
   App Section
   ========================================================================== */
.app-section {
    background: linear-gradient(135deg, #e4eaf5 0%, #c6d0ea 100%);
    position: relative;
    overflow: hidden;
}

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

.app-text {
    z-index: 2;
}

.app-title {
    color: var(--primary-color);
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 20px;
}

.app-subtitle {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.app-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-badge img {
    height: 45px;
    transition: transform 0.3s ease;
}

.store-badge:hover img {
    transform: translateY(-3px);
}

.app-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.app-image img {
    max-height: 500px;
    object-fit: contain;
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@media (max-width: 992px) {
    .app-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-badges {
        justify-content: center;
    }
    
    .app-image img {
        max-height: 400px;
        margin-top: 30px;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.features-list {
    margin-top: 40px;
    display: grid;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    padding: 10px;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.experience-badge .text {
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* ==========================================================================
   Ensino (Services) Section
   ========================================================================== */
.dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.dark-section h2 {
    color: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.05));
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.service-card:hover::before {
    opacity: 1;
}

.card-img {
    margin-bottom: 24px;
    width: 100%;
    height: 200px;
    overflow: hidden;
    /* Organic blob shape */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.service-card:hover .card-img img {
    transform: scale(1.1);
}

.service-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #a0aec0;
    margin-bottom: 24px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.card-link i {
    transition: var(--transition-fast);
}

.service-card:hover .card-link i {
    transform: translateX(5px);
}

/* ==========================================================================
   Highlight CTA
   ========================================================================== */
.highlight-cta {
    background: linear-gradient(135deg, var(--secondary-color), #E5C354);
    padding: 80px 0;
}

.highlight-cta h2 {
    color: var(--primary-color);
}

.highlight-cta p {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.highlight-cta .btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.highlight-cta .btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.info-list {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--surface-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-icon.text-whatsapp {
    background: rgba(37, 211, 102, 0.1);
}

.info-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--surface-dark);
    color: var(--text-light);
    padding: 80px 0 20px;
}

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

.footer-col h3 {
    color: white;
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: var(--text-gray);
}

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

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

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

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ==========================================================================
   Floating Actions
   ========================================================================== */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.2s ease;
}

.float-whatsapp:hover {
    transform: scale(1.08);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        left: 20px;
        bottom: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu, .nav-actions .btn {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    /* Mobile Menu Active State */
    .nav-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface-color);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu.active .nav-link {
        color: var(--primary-color);
        font-size: 1.1rem;
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-map iframe {
        min-height: 300px;
    }
}

/* 
   Partners Section (Marquee)
   ========================================================================== */
.partners-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
    overflow: hidden;
}

.partners-section h2 {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 50px;
    font-family: var(--font-heading);
}

.partners-track-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.partners-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

.partners-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scroll-partners 30s linear infinite;
    gap: 40px;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    width: 240px;
    height: 120px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); }
}

/* 
   News & Blog Section
   ========================================================================== */
.news-section {
    background: #fdfdfd;
    padding: 100px 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.news-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin: 0;
}

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

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.news-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.08);
}

.news-content {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}

.news-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.news-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Global Mobile Responsiveness
   ========================================================================== */

/* Navbar & Mobile Menu */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #2B0000 !important; /* Dark Red Premium Background */
        flex-direction: column;
        justify-content: flex-start;
        padding: 90px 30px 40px 30px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99999 !important;
        display: flex !important;
    }
    
    .nav-menu.active {
        transform: translateX(0) !important;
    }


    .main-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
        align-items: flex-start;
        width: 100%;
    }

    .main-links li {
        width: 100%;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: #FFFFFF !important;
        display: block !important;
    }
    
    .nav-link:hover {
        color: var(--secondary-color) !important;
    }
    
    .mobile-toggle {
        display: block !important;
        background: transparent;
        border: none;
        font-size: 2.2rem;
        color: #FFFFFF !important;
        cursor: pointer;
        z-index: 100000 !important;
        position: relative;
    }
}

/* Base Sections & Typography */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding-top: 0px !important;
    }
    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-text .badge {
        margin: 0 auto 20px auto;
    }
    
    .hero-text p {
        margin: 0 auto 40px auto;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    /* Grids */
    .about-grid, 
    .mvv-10 .full-max,
    .box-eventos,
    .contact-grid,
    .footer-grid,
    .galeria-30 .full-max {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .galeria-30 .full-max figure {
        width: 100%;
    }

    /* Features List */
    .features-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature-item {
        align-items: flex-start;
    }

    /* Sobre-10 (Restaurante Block) */
    .sobre-10 .full-max {
        flex-direction: column;
    }
    
    .sobre-10 .bloco-texto::after {
        display: none !important;
    }
    
    .sobre-10 .bloco-texto {
        padding: 30px 20px;
    }

    .sobre-10 figure {
        min-height: 300px;
    }
    
    /* Footer */
    .footer-grid {
        text-align: center;
    }
    
    .footer-col {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }

    /* Horizontal Scroll Section on Mobile (Convert to Vertical Flow) */
    #horizontalScrollSection {
        height: auto !important;
        padding: 60px 20px !important;
        background: #1C0404 !important; /* Sober Dark Burgundy */
    }
    
    #horizontalScrollSection > div:first-child {
        display: none !important;
    }
    
    #horizontalScrollSection > div {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
        display: block !important;
    }
    
    #horizontalTrack {
        flex-direction: column !important;
        transform: none !important;
        gap: 25px !important;
        padding: 0 !important;
        height: auto !important;
        width: 100% !important;
    }
    
    #horizontalTrack > div {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    
    #horizontalTrack .diferencial-card {
        padding: 20px 18px !important;
        gap: 15px !important;
        border-radius: 16px !important;
    }
    
    #horizontalTrack .diferencial-card i {
        font-size: 2.6rem !important;
    }
    
    #horizontalTrack .diferencial-card p {
        font-size: 0.95rem !important;
        line-height: 1.45 !important;
        text-align: left !important;
    }
    
    #horizontalTrack .diferencial-card > div:first-child > div {
        width: 42px !important;
        height: 42px !important;
        padding: 6px !important;
    }
    
    #horizontalTrack .diferencial-card > div:first-child > div img {
        width: 24px !important;
        height: 24px !important;
    }
    
    #horizontalTrack > div:first-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    #horizontalTrack .btn {
        margin: 0 auto !important;
        display: inline-flex !important;
    }

    #horizontalTrack h2 {
        font-size: 2rem !important;
        text-align: center;
        margin-bottom: 12px !important;
    }
    
    #horizontalTrack p {
        text-align: center;
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   WhatsApp Floating Button & Mobile Adjustments
   ========================================================================== */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #FFF;
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0 !important;
    }
    .navbar .logo img {
        height: 75px !important;
    }
    .navbar.scrolled .logo img {
        height: 55px !important;
    }
    .hero {
        height: auto !important;
        min-height: 100vh;
        padding-top: 105px !important;
        padding-bottom: 50px !important;
    }
    .hero-grid {
        padding-top: 0px !important;
        gap: 25px !important;
    }
    .hero-text h1 {
        font-size: 1.85rem !important;
        margin-top: 0px !important;
        margin-bottom: 15px !important;
        line-height: 1.25 !important;
    }
    .hero-text p {
        font-size: 0.98rem !important;
        margin-bottom: 25px !important;
    }
    .float-whatsapp {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    /* Info Items & Contact Section Mobile Fixes */
    .info-item {
        padding: 14px 16px !important;
        gap: 12px !important;
        overflow: hidden !important;
        width: 100% !important;
    }
    .info-item > div:last-child {
        min-width: 0 !important;
        overflow: hidden !important;
        flex: 1 !important;
    }
    .info-item strong {
        font-size: 0.92rem !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        display: block !important;
        line-height: 1.35 !important;
    }
    .info-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.25rem !important;
        flex-shrink: 0 !important;
    }
}

/* ==========================================================================
   Cookie Consent Banner (LGPD)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    width: 100%;
    background: rgba(20, 3, 3, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
    z-index: 999999;
    padding: 20px 0;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #E2E8F0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.cookie-icon {
    font-size: 2.2rem;
    color: #FFD700;
    flex-shrink: 0;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: #FFD700;
    color: #B71C1C;
    border: none;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    background: #FBC02D;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-cookie-decline {
    background: transparent;
    color: #CBD5E1;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        text-align: center;
    }
    .cookie-text {
        flex-direction: column;
        gap: 8px;
        font-size: 0.85rem;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-buttons button {
        flex: 1;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}



