/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
    /* === PALETA PRETO & DOURADO === */
    --color-black: #080600;
    --color-gray: #0E0B04;
    --color-gray-light: #161208;
    --color-white: #F2E8CE;
    /* creme-dourado para texto */
    --color-text-dark: #1A1408;
    --color-text-muted: #9B8A62;
    /* dourado acinzentado */
    --color-gold: #C8A24D;
    /* dourado clássico */
    --color-gold-hover: #E0B85C;
    /* dourado luminoso */
    --color-gold-deep: #A07828;
    /* dourado escuro */
    --color-gold-warm: #D4A444;
    /* dourado quente */
    --color-gold-light: rgba(200, 162, 77, 0.15);

    --font-sans: 'Manrope', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;

    /* Glass — vidro escuro dourado */
    --glass-bg: rgba(14, 11, 4, 0.65);
    --glass-border: rgba(200, 162, 77, 0.20);

    --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-mid: 0.5s ease;
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Fallback for browsers without scroll-behavior support */
    -webkit-overflow-scrolling: touch;
}

body {
    background-color: #080600;
    /* preto profundo */
    /* ===================================================
       FUNDO PRETO COM GRAIN DOURADO SUTIL
       =================================================== */
    background-image:
        /* grain diagonal fino — brilho dourado */
        repeating-linear-gradient(137deg,
            transparent,
            transparent 2px,
            rgba(200, 162, 77, 0.018) 2px,
            rgba(200, 162, 77, 0.018) 3px),
        /* grain cruzado */
        repeating-linear-gradient(47deg,
            transparent,
            transparent 3px,
            rgba(160, 120, 40, 0.012) 3px,
            rgba(160, 120, 40, 0.012) 4px),
        /* reflexos dourados sutis */
        radial-gradient(ellipse at 15% 25%, rgba(200, 162, 77, 0.07) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 80%, rgba(180, 130, 50, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(220, 170, 60, 0.03) 0%, transparent 60%),
        /* base preto aveludado */
        linear-gradient(160deg,
            #0C0900 0%,
            #080600 50%,
            #0A0700 100%);
    color: var(--color-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Grain SVG fractal — textura aveludada escura */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.40;
    will-change: auto;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
}

/* Reduce grain on mobile for performance */
@media (max-width: 768px) {
    body::before {
        opacity: 0.15;
    }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Conteúdo acima da granulação */
body>* {
    position: relative;
    z-index: 1;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-mid);
}

ul {
    list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-label {
    font-size: 0.875rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold-deep);
    margin-bottom: 0.5rem;
    display: block;
}

.section-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* ==========================================================================
   UTILITY CLASSES & LAYOUT
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.section-padding {
    padding: 120px 0;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.50), 0 1px 0 rgba(200, 162, 77, 0.10) inset;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-mid);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-mid);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.btn-primary::before {
    background-color: var(--color-gold);
}

.btn-primary:hover {
    color: #fff;
}

.btn-secondary {
    background-color: rgba(200, 162, 77, 0.08);
    color: var(--color-white);
    border: 1px solid rgba(200, 162, 77, 0.20);
}

.btn-secondary::before {
    background-color: rgba(200, 162, 77, 0.14);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color var(--transition-mid), padding var(--transition-mid), box-shadow var(--transition-mid);
}

.header.scrolled {
    background: rgba(6, 5, 1, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(200, 162, 77, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.60);
    padding: 1rem 0;
}

.header-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.logo span {
    font-weight: 300;
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.75;
    color: var(--color-white);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-gold);
}

/* Language Switcher Pills */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 1.2rem;
}

.lang-pill {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(242, 232, 206, 0.50);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    line-height: 1;
}

.lang-pill:hover {
    color: var(--color-white);
    border-color: rgba(200, 162, 77, 0.35);
    background: rgba(200, 162, 77, 0.08);
}

.lang-pill.active {
    color: var(--color-gold);
    border-color: var(--color-gold);
    background: rgba(200, 162, 77, 0.12);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 1px;
    background-color: var(--color-white);
    transition: all 0.3s;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(10, 6, 0, 0.25) 0%, rgba(10, 6, 0, 0.82) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-buttons .btn-hero {
    width: 280px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-hero {
    background: rgba(10, 6, 2, 0.85);
    /* Fundo escuro */
    color: #E0B85C;
    /* Texto dourado elegante */
    border: 1px solid rgba(200, 162, 77, 0.6);
    /* Borda dourada fina */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    text-shadow: none;
    font-weight: 500;
}

.btn-hero::before {
    background: linear-gradient(135deg, rgba(200, 162, 77, 0.1), transparent);
}

.btn-hero:hover {
    color: #F2E8CE;
    border-color: var(--color-gold);
    box-shadow: 0 6px 20px rgba(200, 162, 77, 0.2), inset 0 0 15px rgba(200, 162, 77, 0.1);
    transform: translateY(-2px);
    background: rgba(20, 12, 5, 0.9);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-white);
    border-radius: 50%;
    animation: scrollFade 2s infinite;
}

@keyframes scrollFade {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* ==========================================================================
   SOBRE SECTION
   ========================================================================== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch;
}

.sobre-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.sobre-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) brightness(0.95);
    transition: filter var(--transition-mid);
}

.sobre-image:hover {
    filter: contrast(1.1) brightness(1);
}

/* Authority Cards — each card is a video window */
.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    margin-top: 2rem;
}

/* aspect-ratio fallback for older browsers */
@supports (aspect-ratio: 16 / 9) {
    .authority-grid {
        aspect-ratio: 16 / 9;
    }
}

@supports not (aspect-ratio: 16 / 9) {
    .authority-grid {
        /* 56.25% = 9/16 for 16:9 ratio */
        padding-bottom: 56.25%;
        position: relative;
    }
}

.authority-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(200, 162, 77, 0.18);
    cursor: default;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.authority-card:hover {
    transform: scale(1.02);
    border-color: rgba(200, 162, 77, 0.38);
}

/* Background fills each card, clipped by overflow: hidden */
.authority-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) saturate(0.55);
    -webkit-filter: blur(2px) saturate(0.55);
    transform: scale(1.06);
    -webkit-transform: scale(1.06);
    /* compensate blur edge artifacts */
    display: block;
    pointer-events: none;
    transition: filter 0.4s ease;
    -webkit-transition: -webkit-filter 0.4s ease;
}

.authority-card:hover .authority-card-bg {
    filter: blur(1px) saturate(0.85);
}

/* Subtle dark/brownish background */
.authority-card-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(145deg, rgba(20, 14, 8, 0.92), rgba(8, 5, 2, 0.96));
    box-shadow: inset 0 0 15px rgba(200, 162, 77, 0.05);
    border: 1px solid rgba(200, 162, 77, 0.3);
    transition: all 0.5s ease;
    z-index: 1;
}

.authority-card:hover .authority-card-overlay {
    background: linear-gradient(145deg, rgba(30, 20, 12, 0.94), rgba(12, 8, 4, 0.98));
    box-shadow: inset 0 0 25px rgba(200, 162, 77, 0.1);
    border-color: rgba(200, 162, 77, 0.5);
}

/* Text sits above overlay */
.authority-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 14px 10px;
    text-align: center;
    gap: 5px;
}

.authority-number {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 400;
    color: #C8A24D;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.authority-label {
    font-family: var(--font-sans);
    font-size: clamp(0.58rem, 1.05vw, 0.72rem);
    font-weight: 400;
    color: #E6D8B8;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    line-height: 1.35;
}

/* ==========================================================================
   ESPETACULOS (CARDS)
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    padding: 1.5rem;
    -webkit-transition: transform var(--transition-mid), border-color var(--transition-mid);
    transition: transform var(--transition-mid), border-color var(--transition-mid);
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    contain: layout style;
}



.card-img-wrapper {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.card-img-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}



.card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.card-tag.fire {
    background: rgba(220, 100, 20, 0.12);
    color: #E07030;
    border: 1px solid rgba(220, 100, 20, 0.25);
}

.card-tag.led {
    background: rgba(80, 180, 220, 0.10);
    color: #60C0E0;
    border: 1px solid rgba(80, 180, 220, 0.22);
}

.card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    color: var(--color-gold-hover);
}

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery-grid {
    display: flex;
    display: -webkit-flex;
    overflow-x: auto;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-bottom: 2rem;
    /* space for scrollbar */
    -webkit-scroll-snap-type: mandatory;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(200, 162, 77, 0.5);
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 162, 77, 0.8);
}

.gallery-item {
    flex: 0 0 calc(80vw / 2);
    -webkit-flex: 0 0 calc(80vw / 2);
    /* Shows 2.5 images on mobile */
    max-width: 300px;
    scroll-snap-align: center;
    -webkit-scroll-snap-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
    height: 100%;
    background: var(--glass-bg);
}

@supports (aspect-ratio: 4 / 5) {
    .gallery-item {
        aspect-ratio: 4 / 5;
    }
}

@supports not (aspect-ratio: 4 / 5) {
    .gallery-item {
        /* 125% = 5/4 for 4:5 ratio */
        height: 0;
        padding-bottom: 125%;
    }

    .gallery-item img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: brightness(0.85) grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) grayscale(0%);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-mid);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--color-gold);
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   SHOWREEL / VIDEO FULL WIDTH
   ========================================================================== */
.showreel-full {
    width: 100%;
    padding: 0;
    background: #000;
    border-top: 1px solid rgba(200, 162, 77, 0.12);
    border-bottom: 1px solid rgba(200, 162, 77, 0.12);
}

.video-full {
    display: block;
    width: 100%;
    max-height: 85vh;
    object-fit: cover;
    background: #000;
}

.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 1200px;
    border: 1px solid var(--glass-border);
}

.video-thumb {
    width: 100%;
    opacity: 0.7;
    transition: opacity 0.4s;
}

.video-container:hover .video-thumb {
    opacity: 1;
}

.play-btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.play-button svg {
    width: 40px;
    height: 40px;
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   CLIENTES (TICKER)
   ========================================================================== */
.clientes {
    background-color: var(--color-gray-light);
    padding: 4rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(200, 162, 77, 0.12);
    border-bottom: 1px solid rgba(200, 162, 77, 0.12);
}

.logos-ticker {
    width: 100%;
    overflow: hidden;
}

.logos-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scrollTicker 60s linear infinite;
}

.logos-track img {
    height: 75px;
    max-width: 160px;
    object-fit: contain;
    border-radius: 16px;
    padding: 10px 15px;
    background: rgba(14, 11, 4, 0.6);
    border: 1px solid rgba(200, 162, 77, 0.2);
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2rem));
    }
}

/* ==========================================================================
   DEPOIMENTOS & AVALIAÇÕES
   ========================================================================== */
.flex-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.flex-header .btn {
    font-size: 0.75rem;
    padding: 0.75rem 1.5rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Modal Avaliação — Inline Review Panel */
.review-panel {
    display: none;
    margin-top: 3rem;
    padding: 0;
    border: 1px solid rgba(200, 162, 77, 0.25);
    border-radius: 20px;
    background: rgba(13, 10, 4, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 1px 0 rgba(200, 162, 77, 0.12) inset,
        0 0 80px rgba(200, 162, 77, 0.04);
    overflow: hidden;
    animation: reviewPanelSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
}

.review-panel.active {
    display: block;
}

/* Draggable state — when the panel doesn't fit and user can reposition it */
.review-panel.draggable {
    position: fixed;
    z-index: 2500;
    cursor: default;
    max-width: 600px;
    width: 92%;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(200, 162, 77, 0.2),
        0 0 120px rgba(200, 162, 77, 0.06);
}

.review-panel.draggable .review-panel-drag {
    display: flex;
}

.review-panel.dragging {
    transition: none !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    opacity: 0.95;
}

@keyframes reviewPanelSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Drag Handle */
.review-panel-drag {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 0;
    cursor: grab;
    cursor: -webkit-grab;
    background: linear-gradient(180deg, rgba(200, 162, 77, 0.12) 0%, transparent 100%);
    border-bottom: 1px solid rgba(200, 162, 77, 0.1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: background 0.3s;
}

.review-panel-drag:hover {
    background: linear-gradient(180deg, rgba(200, 162, 77, 0.2) 0%, transparent 100%);
}

.review-panel-drag:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.drag-dots {
    font-size: 1.4rem;
    color: rgba(200, 162, 77, 0.6);
    line-height: 1;
    letter-spacing: 4px;
}

.drag-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(200, 162, 77, 0.4);
    font-family: var(--font-sans);
}

/* Panel Header */
.review-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem 2.5rem 1rem;
    gap: 1rem;
}

.review-panel-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.review-panel-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(200, 162, 77, 0.3));
}

.review-panel-header h3 {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.review-panel-subtitle {
    font-size: 0.85rem !important;
    color: var(--color-text-muted) !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    max-width: 480px;
}

.review-panel-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.review-panel-close:hover {
    background: rgba(200, 162, 77, 0.15);
    border-color: rgba(200, 162, 77, 0.3);
    color: var(--color-gold);
    transform: rotate(90deg);
}

/* Form Area */
.review-panel-form {
    padding: 0.5rem 2.5rem 2.5rem;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.review-rating-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-rating-group label:first-child {
    margin-bottom: 0;
    white-space: nowrap;
}

.review-submit-btn {
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.review-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: none;
}

.review-submit-btn:hover::after {
    animation: shimmerBtn 0.8s ease forwards;
}

@keyframes shimmerBtn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

/* ==========================================================================
   REVIEWS CAROUSEL
   ========================================================================== */
.reviews-carousel-wrapper {
    position: relative;
    padding: 0 60px;
    margin-top: 2.5rem;
}

.reviews-carousel {
    display: flex;
    display: -webkit-flex;
    gap: 1.5rem;
    overflow-x: auto;
    -webkit-scroll-snap-type: mandatory;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.25rem 1.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 340px;
    scroll-snap-align: center;
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--glass-border);
    min-height: 220px;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(200, 162, 77, 0.15);
}

.review-stars {
    color: var(--color-gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
    margin-top: auto;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), #8a6800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0e0b04;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text);
}

.review-author span {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* Arrows for reviews */
.reviews-carousel-wrapper .carousel-arrow {
    top: 50%;
    transform: translateY(-50%);
}

.reviews-carousel-wrapper .carousel-arrow.prev {
    left: 0;
}

.reviews-carousel-wrapper .carousel-arrow.next {
    right: 0;
}

/* Backdrop overlay for draggable mode */
.review-backdrop {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2400;
    -webkit-animation: fadeIn 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.review-backdrop.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Rating stars inside review panel */
.review-panel .rating-select {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.4rem;
}

.review-panel .rating-select input {
    display: none;
}

.review-panel .rating-select label {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
}

.review-panel .rating-select label:hover {
    transform: scale(1.2);
}

.review-panel .rating-select input:checked~label,
.review-panel .rating-select label:hover,
.review-panel .rating-select label:hover~label {
    color: var(--color-gold);
}

/* Responsive */
@media (max-width: 600px) {
    .review-form-grid {
        grid-template-columns: 1fr;
    }

    .review-panel-header {
        padding: 1.5rem 1.5rem 0.75rem;
        flex-direction: column;
    }

    .review-panel-close {
        position: absolute;
        top: 12px;
        right: 12px;
    }

    .review-panel-form {
        padding: 0.5rem 1.5rem 1.5rem;
    }

    .review-panel-header h3 {
        font-size: 1.3rem;
    }

    .review-rating-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .review-panel.draggable {
        width: 96%;
        max-width: none;
    }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-accordion {
    margin-top: 2rem;
    border-top: 1px solid rgba(184, 146, 42, 0.2);
}

.faq-item {
    border-bottom: 1px solid rgba(184, 146, 42, 0.2);
}

.faq-item summary {
    padding: 1.5rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding-bottom: 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info,
.contact-form {
    padding: 3rem;
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.contact-links li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-links a:hover {
    color: var(--color-gold);
}

.map-container img {
    width: 100%;
    border-radius: 4px;
    opacity: 0.85;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.form-row .form-group {
    margin-bottom: 0;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(253, 250, 244, 0.8);
    border: 1px solid rgba(184, 146, 42, 0.22);
    color: var(--color-text-dark);
    border-radius: 4px;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(184, 146, 42, 0.10);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #1A1209;
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 2px solid rgba(184, 146, 42, 0.3);
}

.footer .logo {
    color: var(--color-gold);
}

.footer .logo span {
    color: rgba(198, 168, 106, 0.6);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    font-size: 0.875rem;
    letter-spacing: 1px;
    color: #888;
}

.socials a:hover {
    color: var(--color-gold);
}

.copyright {
    font-size: 0.75rem;
    color: #555;
    margin-top: 2rem;
}

/* ==========================================================================
   LIGHTBOX 
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding: 50px 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: var(--color-gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: var(--color-white);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 100;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-gold);
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

/* ==========================================================================
   ANIMATIONS & REVEAL CLASSES
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   LOGO MARCA D'ÁGUA
   ========================================================================== */
.watermark-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 1rem 0;
    position: relative;
}

.watermark-logo {
    width: 240px;
    max-width: 72%;
    height: auto;
    opacity: 0.32;
    border-radius: 0;
    /* sem corte — exibe completo */
    /* screen: fundo branco do JPEG some no preto,
       restando apenas as partes escuras da logo,
       tingidas de dourado pelo filtro abaixo       */
    mix-blend-mode: screen;
    filter:
        brightness(1.8) sepia(0.7) saturate(2.0) hue-rotate(-5deg) contrast(0.95);
    pointer-events: none;
    animation: logoFloat 7s ease-in-out infinite;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.watermark-logo-wrapper:hover .watermark-logo {
    opacity: 0.50;
    filter:
        brightness(2.0) sepia(0.6) saturate(2.4) hue-rotate(-4deg) contrast(1.0);
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    40% {
        transform: translateY(-10px) scale(1.012);
    }

    70% {
        transform: translateY(-5px) scale(1.006);
    }
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: rgba(13, 10, 4, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(200, 162, 77, 0.25);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px 12px 14px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(200, 162, 77, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--font-sans);
}

.floating-whatsapp:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(200, 162, 77, 0.2);
    background-color: rgba(20, 15, 6, 0.95);
    border-color: rgba(200, 162, 77, 0.5);
    color: var(--color-gold);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: #25d366;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.whatsapp-text {
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.whatsapp-ping {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: rgba(200, 162, 77, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
    }

    50%,
    100% {
        transform: translateY(-50%) scale(2.5);
        opacity: 0;
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
/* Media queries consolidadas no final do arquivo */



.video-bg {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    z-index: -1;

}

/* ==========================================================================
   SOCIAL ICONS FOOTER
   ========================================================================== */
.socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.socials a {
    color: #777;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s, background-color 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.socials a:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-5px) scale(1.1);
    background: rgba(184, 146, 42, 0.12);
    box-shadow: 0 4px 15px rgba(184, 146, 42, 0.25);
}

.socials a svg {
    width: 22px;
    height: 22px;
}

/* ==========================================================================
   VÍDEO DESTAQUE (entre Espetáculos e Galeria)
   ========================================================================== */
.video-destaque {
    background: transparent;
}

.video-destaque .section-header {
    margin-bottom: 2.5rem;
}

.video-gallery-grid {
    display: flex;
    display: -webkit-flex;
    overflow-x: auto;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-bottom: 2rem;
    -webkit-scroll-snap-type: mandatory;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}

.video-gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.video-gallery-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.video-gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(200, 162, 77, 0.5);
    border-radius: 4px;
}

.video-gallery-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 162, 77, 0.8);
}

.video-gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
    background: #000;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-gallery-player {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-slow);
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(14, 11, 4, 0.6);
    color: var(--color-gold);
    border: 1px solid rgba(200, 162, 77, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
    background: rgba(200, 162, 77, 0.2);
    border-color: var(--color-gold);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: -20px;
}

.carousel-arrow.next {
    right: -20px;
}

@media (min-width: 768px) {
    .carousel-arrow.prev {
        left: -60px;
    }

    .carousel-arrow.next {
        right: -60px;
    }
}

/* ==========================================================================
   RESPONSIVO GERAL (TABLET & MOBILE)
   ========================================================================== */

/* TABLET (até 1024px) */
@media (max-width: 1024px) {

    .sobre-grid,
    .contact-grid {
        gap: 2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }

    .espetaculos .carousel-arrow {
        display: none !important;
    }
}

.mobile-only {
    display: none !important;
}

/* MOBILE (até 768px) */
@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }

    .carousel-arrow.mobile-only {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        background: transparent;
        border: 1px solid rgba(200, 162, 77, 0.4);
        color: #E0B85C;
        backdrop-filter: none;
        top: auto;
        bottom: 5px;
        transform: none;
        margin-top: 1rem;
    }

    .carousel-arrow.prev.mobile-only {
        left: calc(50% - 50px);
    }

    .carousel-arrow.next.mobile-only {
        right: calc(50% - 50px);
    }

    .header-container {
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: rgba(6, 5, 1, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        border-radius: 0 0 8px 8px;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(184, 146, 42, 0.15);
        box-shadow: 0 8px 24px rgba(184, 146, 42, 0.2);

        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .lang-switcher {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero-buttons .btn-hero {
        width: 100%;
        max-width: 250px;
        height: 48px;
        font-size: 0.75rem;
    }

    .hero-buttons .btn-hero::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(120deg, transparent 40%, rgba(200, 162, 77, 0.4) 50%, transparent 60%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        -webkit-animation: shimmerHeroMobile 2.5s infinite ease-out;
        animation: shimmerHeroMobile 2.5s infinite ease-out;
        pointer-events: none;
    }

    @keyframes shimmerHeroMobile {
        0% {
            transform: translateX(-100%);
        }

        40%,
        100% {
            transform: translateX(100%);
        }
    }

    .whatsapp-text {
        display: none;
    }

    .floating-whatsapp {
        padding: 12px;
        border-radius: 50%;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Reviews carousel on mobile */
    .reviews-carousel-wrapper {
        padding: 0 10px;
    }

    .reviews-carousel-wrapper .carousel-arrow {
        display: none;
    }

    .review-card {
        flex: 0 0 88vw;
        padding: 1.4rem;
        min-height: auto;
    }

    .review-text {
        font-size: 0.88rem;
    }

    .sobre-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .sobre-image-container {
        order: 2;
    }

    .sobre-text-container {
        order: 1;
        text-align: center;
    }

    .authority-grid {
        gap: 6px;
        grid-template-columns: 1fr 1fr;
        padding-bottom: 0;
    }

    @supports (aspect-ratio: auto) {
        .authority-grid {
            aspect-ratio: auto;
        }
    }

    .authority-card {
        min-height: 80px;
    }

    @supports (aspect-ratio: 16 / 9) {
        .authority-card {
            aspect-ratio: 16 / 9;
            min-height: auto;
        }
    }

    .authority-card-content {
        padding: 8px 6px;
    }

    .authority-number {
        font-size: 0.92rem;
    }

    .authority-label {
        font-size: 0.52rem;
        letter-spacing: 0.7px;
    }

    .cards-grid {
        display: flex;
        display: -webkit-flex;
        overflow-x: auto;
        gap: 0.75rem;
        -webkit-scroll-snap-type: mandatory;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        /* padding-right mostra a "ponta" do próximo card */
        padding-right: 5vw;
        margin-right: -5vw;
    }

    .cards-grid .card {
        /* 68vw: fica 1 card + ponta do próximo visível */
        flex: 0 0 68vw;
        min-width: 0;
        scroll-snap-align: start;
        padding: 1rem;
    }

    .cards-grid .card .card-img-wrapper img {
        height: 160px;
    }

    .cards-grid .card h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .cards-grid .card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Scrollbar for cards carousel */
    .cards-grid::-webkit-scrollbar {
        height: 4px;
    }

    .cards-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
    }

    .cards-grid::-webkit-scrollbar-thumb {
        background: rgba(200, 162, 77, 0.5);
        border-radius: 4px;
    }

    .gallery-item {
        flex: 0 0 75vw;
        max-width: none;
    }

    .video-gallery-item {
        flex: 0 0 85vw;
    }

    .logos-track {
        gap: 2rem;
    }

    /* date/time side-by-side on mobile too */
    .form-row {
        flex-direction: row;
        gap: 0.5rem;
    }

    .form-row .form-group {
        width: auto;
        flex: 1;
        margin-bottom: 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    /* Contact section mobile */
    .contato.section-padding {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* contact-info: image-only box — same size/border as before */
    .contact-info {
        display: block !important;
        padding: 0 !important;
        overflow: hidden;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        min-height: 220px;
    }

    /* Hide all text content inside contact-info */
    .contact-info>div:first-child {
        display: none !important;
    }

    /* Image wrapper fills the entire box */
    .contact-image-wrapper {
        display: block !important;
        width: 100%;
        height: 100%;
        min-height: 220px;
    }

    .contact-image-wrapper img {
        width: 100% !important;
        height: 100% !important;
        min-height: 220px;
        max-height: none !important;
        object-fit: cover;
        border-radius: 0;
        display: block;
    }

    .contact-grid {
        gap: 0;
        grid-template-columns: 1fr;
    }

    /* Form panel flush against image box */
    .contact-form {
        padding: 0.9rem 1rem;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .form-group {
        margin-bottom: 0.45rem;
    }

    .form-group label {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
        display: block;
    }

    /* hide the verbose helper text inside the Detalhes label on mobile */
    .form-group label span[style] {
        display: none;
    }

    .form-group input,
    .form-group select {
        padding: 0.45rem 0.6rem;
        font-size: 0.82rem;
        height: auto;
    }

    .form-group textarea {
        padding: 0.45rem 0.6rem;
        font-size: 0.82rem;
        min-height: 56px;
    }

    #form-contato .btn {
        padding: 0.6rem 1rem;
        font-size: 0.88rem;
        margin-top: 0.3rem;
    }

    .review-panel-header {
        padding: 0.75rem 1rem;
    }

    .review-panel-form {
        padding: 0.4rem 1rem 0.75rem;
    }
}

/* SUPER MOBILE (até 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .btn {
        padding: 1rem 1.5rem;
    }

    .gallery-item {
        flex: 0 0 85vw;
    }
}

/* ==========================================================================
   VIDEO LIGHTBOX & MOBILE PLAY/PAUSE
   ========================================================================== */

/* Hide native fullscreen button in the carousel videos */
.video-gallery-player::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

/* Position for the expand button on carousel items */
.video-gallery-item {
    position: relative;
}

.vl-expand-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-gold);
    border: 1px solid rgba(200, 162, 77, 0.4);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.vl-expand-btn:hover {
    background: rgba(200, 162, 77, 0.2);
    color: #fff;
    transform: scale(1.05);
}

/* Video Lightbox Styles */
.video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.98);
    z-index: 9999;
}

.video-lightbox.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vl-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
    line-height: 1;
}

.vl-close:hover {
    color: var(--color-gold);
}

.video-lightbox-player {
    width: 100%;
    max-width: 1200px;
    max-height: 85vh;
    outline: none;
    object-fit: contain;
}

.vl-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10000;
    padding: 0 20px;
}

.vl-prev,
.vl-next {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.35);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.2;
    transition: opacity 0.3s, background 0.3s, color 0.3s;
}

.vl-prev:hover,
.vl-next:hover {
    opacity: 0.9;
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-gold);
}

/* Briefly reveal arrows on touch (mobile) */
.vl-prev:active,
.vl-next:active {
    opacity: 0.95;
}

@media (max-width: 768px) {

    .vl-prev,
    .vl-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .vl-controls {
        padding: 0 10px;
    }

    .vl-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }
}

/* Correção para altura da imagem sobre no mobile */
@media (max-width: 768px) {
    .sobre-image-container {
        height: auto;
        min-height: auto;
        max-height: none;
    }

    .sobre-image {
        position: relative;
        height: auto;
        width: 100%;
        max-height: 55vh;
        object-fit: contain;
    }
}

/* Ajuste Mobile Avaliacoes */
@media (max-width: 768px) {
    .review-panel {
        width: 95% !important;
        max-width: 95vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .review-panel-content {
        padding: 1.5rem 1rem !important;
    }

    .review-card {
        flex: 0 0 85vw !important;
        padding: 1.2rem !important;
    }
}
/* ===== STAR RATING (Review Panel) ===== */
.rating-select {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}
.rating-select input[type="radio"] {
    display: none;
}
.rating-select label {
    font-size: 2rem;
    color: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
}
.rating-select input[type="radio"]:checked ~ label {
    color: #C8A24D;
}
.rating-select label:hover,
.rating-select label:hover ~ label {
    color: #f5c518;
    transform: scale(1.15);
}
