:root {
    --primary: #EB0000;
    --primary-hover: #b90000;
    --text-main: #373435;
    --text-light: #9ca3af;
    /* gray-400 */
    --background-light: #ffffff;
    --background-off: #fcf8f8;
    --background-dark: #230f0f;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Tw Cen MT', 'Century Gothic', 'Lato', sans-serif;

    --container-width: 1280px;
    --header-height: 80px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--background-light);
    line-height: 1.5;
    font-size: 18px;
}

body {
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    height: 3.5rem;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-main);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 1.15rem;
        /* Increased slightly for better breathability */
    }
}

.nav-link {
    font-size: 0.8rem;
    /* Decreased slightly per request */
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.2s;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

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

.btn-cta {
    background-color: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(235, 0, 0, 0.4);
}

.mobile-menu-btn {
    display: block;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--gray-100);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-md);
}

.mobile-nav.open {
    display: flex;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-900);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), transparent);
    z-index: 10;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
}

.hero-video.active {
    opacity: 0.9;
    z-index: 1;
}

.hero-video.transitioning {
    opacity: 0.9;
    z-index: 2;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        transition: opacity 0.3s ease-in-out;
    }
}


.hero-content {
    position: relative;
    z-index: 20;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-text-container {
    max-width: 42rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-desc {
    color: var(--gray-200);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 36rem;
}

@media (min-width: 640px) {
    .hero-desc {
        font-size: 1.375rem;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-lg {
    height: 3rem;
    padding: 0 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(235, 0, 0, 0.4);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* About Section */
.section-py {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-py {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

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

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 0.8fr 1.2fr;
        /* 40/60 ratio */
        gap: 6rem;
        align-items: stretch;
        /* Stretch wrapper to full grid height */
    }

    .about-img-box.sticky-about {
        position: sticky;
        top: 5rem;
        /* Adjusted to 5rem as requested */
        z-index: 10;
    }
}

.about-img-wrapper {
    position: relative;
    z-index: 1;
}

/* Ensure reveal Doesn't Block Sticky when active */
.reveal.active {
    opacity: 1;
    transform: none;
    /* Changed from translateY(0) to avoid forming a transform context */
}

.deco-circle-1 {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 6rem;
    height: 6rem;
    background-color: rgba(235, 0, 0, 0.1);
    border-radius: 50%;
    z-index: -10;
}

.deco-circle-2 {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 8rem;
    height: 8rem;
    background-color: var(--gray-100);
    border-radius: 50%;
    z-index: -10;
}

.about-img-box {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    aspect-ratio: auto;
    background-color: var(--gray-200);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

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

.section-label {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--text-main);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-heading);
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    /* Rajdhani looks good uppercase, and matches technical feel */
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.prose {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-top: 1.5rem;
}

.prose p+p {
    margin-top: 1rem;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    border-left-width: 4px;
    border-left-style: solid;
}

.stat-item.primary {
    border-left-color: var(--primary);
}

.stat-item.gray {
    border-left-color: var(--gray-200);
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.link-arrow {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    transition: gap 0.2s;
}

.link-arrow:hover {
    gap: 0.75rem;
}

/* Activities Section */
.bg-off {
    background-color: var(--background-off);
}

.border-y {
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-16 {
    margin-bottom: 4rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    grid-auto-rows: 340px;
    grid-auto-flow: dense;
}

@media (min-width: 768px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.activity-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background-color: var(--gray-900);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: box-shadow 0.3s;
}

.activity-card:hover {
    box-shadow: var(--shadow-xl);
}

.card-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.7s;
}

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

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(235, 0, 0, 0.9), rgba(235, 0, 0, 0.4), transparent);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.activity-card:hover .card-overlay {
    opacity: 0.9;
}

.card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 10;
}

.card-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 0.75rem;
    transition: transform 0.3s;
}

.activity-card:hover .card-icon {
    transform: rotate(12deg);
}

.card-icon span {
    color: white;
    font-size: 1.875rem;
}

.card-title {
    color: white;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}

.activity-card:hover .card-title {
    transform: translateY(-0.5rem);
}

.card-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.activity-card:hover .card-desc {
    opacity: 1;
    transform: translateY(0);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

/* Image Loop Animation */
.card-bg-img-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: imageLoop 10s infinite;
}

.slide-image:nth-child(2) {
    animation-delay: 5s;
}

@keyframes imageLoop {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    /* Matching card-bg-img original opacity */
    40% {
        opacity: 0.6;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Estado inicial */
    opacity: 0;
    transition: opacity 1s ease-in-out;

    /* OTIMIZAÇÃO: Força GPU */
    will-change: opacity;
    transform: translateZ(0);
}

/* O JavaScript vai controlar isso inline, mas é bom ter no CSS */
.hero-video.active {
    opacity: 1;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.5s;
}

.activity-card:hover .card-link {
    opacity: 1;
    transform: translateY(0);
}

.span-2 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .span-2 {
        grid-column: span 2;
    }
}

/* Testimonials */
.testimonials-grid {
    column-count: 1;
    column-gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        column-count: 3;
    }
}

.testimonial-card {
    break-inside: avoid;
    background-color: #f9fafb;
    /* gray-50 */
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-100);
    margin-bottom: 1.5rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    overflow: hidden;
    background-color: #d1d5db;
    /* gray-300 */
}

.user-info h4 {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-main);
}

.user-info p {
    font-size: 0.75rem;
    color: #6b7280;
}

.quote-icon {
    margin-left: auto;
    color: var(--primary);
}

.testimonial-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    font-style: italic;
}

/* Video Testimonials */
.video-card {
    background: var(--gray-900);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.video-card video {
    width: 100%;
    aspect-ratio: 9/16;
    /* Assuming vertical/mobile videos based on descriptions, can adjust */
    object-fit: cover;
    background: #000;
}

.video-caption {
    padding: 1.5rem;
    background: white;
    flex-grow: 1;
}

.video-caption h4 {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.video-caption p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 0;
    overflow: hidden;
    width: 100%;
}

.cta-card {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 768px) {
    .cta-card {
        min-height: 80vh;
    }
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
}

/* Fixed background only on desktop for better compatibility */
@media (min-width: 1024px) {
    .cta-bg {
        background-attachment: fixed;
    }
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(235, 0, 0, 0.88) 0%, rgba(55, 52, 53, 0.92) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 56rem;
    text-align: center;
    padding: 4rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .cta-content {
        padding: 4rem 2rem;
    }
}

.cta-title {
    font-size: 1.875rem;
    /* Reduced from 2.5rem for better mobile fit */
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    hyphens: auto;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 4rem;
    }
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 42rem;
}

@media (min-width: 768px) {
    .cta-text {
        font-size: 1.375rem;
    }
}

/* Receita Cidadã Section */
.receita-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    background-color: var(--gray-100);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .receita-grid {
        grid-template-columns: 300px 1fr;
        gap: 4rem;
    }
}

.receita-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.receita-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.receita-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.receita-text {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 500;
}

/* Synthetic Field Booking Section */
.field-booking-card {
    position: relative;
    background-image: url('assets/img/campo-sintetico-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    border-radius: 2rem;
    padding: 6rem 2rem;
    /* Increased padding for better visibility of background */
    color: white;
    text-align: center;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.field-booking-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Overlay to ensure text readability */
    z-index: 1;
}

.field-booking-content {
    position: relative;
    z-index: 2;
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.field-booking-content .section-title {
    color: white;
}

.field-booking-content .prose {
    color: rgba(255, 255, 255, 0.8);
}

/* Sponsors Section */
#patrocinadores {
    background-color: var(--background-off);
}

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

@media (min-width: 768px) {
    .sponsors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    #patrocinadores {
        background-color: #111;
        /* Dark background band */
        padding: 3rem 0;
        border: none;
    }

    #patrocinadores .section-label {
        display: none;
    }

    #patrocinadores .section-title {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.875rem;
        letter-spacing: 0.2em;
        margin-bottom: 2.5rem;
    }

    #patrocinadores .mb-16 {
        margin-bottom: 0 !important;
    }

    .sponsors-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 6rem;
        padding-bottom: 0;
    }

    .sponsor-item {
        background: transparent;
        box-shadow: none;
        padding: 0;
        flex: 0 1 auto;
    }

    .sponsor-item:hover {
        transform: translateY(-3px);
        box-shadow: none;
    }

    .sponsor-img-box {
        height: 40px;
        /* Small logos as requested */
    }

    .sponsor-item img {
        filter: none;
        opacity: 1;
        max-width: 160px;
    }

    .sponsor-name,
    .sponsor-role {
        display: none;
        /* Minimalist logo bar */
    }
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sponsor-img-box {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sponsor-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    line-height: 1.2;
}

.sponsor-role {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: -0.5rem;
}

@media (min-width: 1024px) {
    .sponsor-item {
        /* This is overridden by the specific block above, but keeping for structure if needed */
        margin: 0;
    }
}

.sponsor-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.sponsor-item:hover img {
    filter: brightness(1.1);
}

/* Footer */
.footer {
    background-color: var(--text-main);
    color: white;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 2fr;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: #9ca3af;
    /* gray-400 */
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

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

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

.footer-nav a {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.footer-nav a:hover {
    color: white;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.social-btn span {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-item span {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.2s;
    word-break: break-all;
}

.contact-item span:hover {
    color: white;
}

.map-container {
    width: 100%;
    height: 22rem;
    background-color: var(--gray-800);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.5s;
}

.map-container:hover {
    box-shadow: var(--shadow-lg);
}

.copyright {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .copyright {
        flex-direction: row;
        justify-content: space-between;
    }
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a:hover {
    color: white;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    background-color: #25D366;
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
}

.whatsapp-float:hover {
    background-color: #20bd5a;
    transform: scale(1.1);
}

.whatsapp-float span {
    font-size: 1.875rem;
}

.footer-brand .brand-icon img {
    filter: brightness(0) invert(1);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Badge - Posicionamento padrão no rodapé (não fixo) */
#montesite-footer-badge {
    width: 100%;
    height: 63px;
    margin: 0;
    padding: 0;
    display: block;
}