@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gilroy'; src: url('fonts/Gilroy-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
    --black-bg: #0A0A0A; --light-bg: #1A1A1A;
    --cta-red: #FE0307; --cta-red-hover: #E00003; --cta-red-transparent: rgba(254, 3, 7, 0.4);
    --dark-red: #A30000; --gradient-red-50: rgba(232, 55, 82, 0.048);
    --white-text: #FFFFFF; --gray-text: #CCCCCC; --dark-gray-text: #888888;
    --menu-stroke: rgba(15, 9, 9, 0.56); --border-subtle: rgba(255, 255, 255, 0.05); --border-light: rgba(255, 255, 255, 0.1);
    --container-padding: clamp(10px, 5vw, 100px); --section-padding: clamp(40px, 8vw, 80px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Gilroy', sans-serif; color: var(--white-text); line-height: 1.6; background-color: var(--black-bg); position: relative; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background: url('img/fundo_detalhado.svg') repeat var(--black-bg); background-size: auto; opacity: 0.1; z-index: -1; }
body.menu-open { overflow: hidden; }

.container { max-width: 1920px; margin: 0 auto; padding: 0 80px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 600; line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
p { font-size: clamp(0.9rem, 1.5vw, 1rem); }

.btn-primary, .btn-secondary, .btn-whatsapp { display: inline-block; color: var(--white-text); font-weight: 600; cursor: pointer; text-align: center; transition: 0.3s ease; }
.btn-primary { background: var(--cta-red); padding: clamp(15px, 3vw, 28px) clamp(30px, 5vw, 60px); border-radius: 20px; text-transform: uppercase; font-size: clamp(0.9rem, 1.5vw, 1.2rem); letter-spacing: 1px; border: none; }
.btn-primary:hover, .btn-secondary:hover { background: linear-gradient(to right, var(--cta-red-hover) 60%, rgba(224, 0, 3, 0.6) 100%); box-shadow: 0 2px 10px rgba(254, 3, 7, 0.6); }
.btn-secondary { display: block; background: var(--cta-red); padding: 12px; border-radius: 10px; margin-top: 20px; }
.btn-whatsapp { background-color: #25D366; padding: clamp(12px, 2vw, 15px) clamp(25px, 4vw, 40px); border-radius: 15px; font-size: clamp(0.95rem, 1.5vw, 1.1rem); }
.btn-whatsapp:hover { background-color: #1DA851; }

.main-header { position: fixed; top: 15px; left: 0; right: 0; z-index: 1000; padding: 0; }
.menu-box { width: auto; height: clamp(60px, 10vw, 112px); margin: 0 var(--container-padding); padding: clamp(15px, 2vw, 25px); fill: var(--bg_menu, rgba(15, 9, 9, 0.56)); stroke: #FFF; filter: drop-shadow(0 64px 64px rgba(102, 37, 0, 0.56)) drop-shadow(0 56px 64px rgba(41, 15, 0, 0.56)); backdrop-filter: blur(80px); border: 1px solid rgba(254, 3, 7, 0.162); border-radius: 20px; }
.header-content { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo img { height: clamp(60px, 5vw, 70px); }
.main-nav ul { display: flex; gap: clamp(20px, 5vw, 90px); align-items: center; }
.main-nav a { color: var(--white-text); font-weight: 600; font-size: clamp(1.2rem, 1.2vw, 1rem); padding: 5px 0; position: relative; transition: color 0.3s ease; }
.main-nav a:hover::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background-image: linear-gradient(to right, var(--gradient-red-50), var(--cta-red)); }
.header-cta { font-size: clamp(0.8rem, 1.2vw, 0.9rem); padding: 10px 20px; border-radius: 10px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 101; }
.menu-toggle .bar { display: block; width: 25px; height: 3px; background-color: var(--white-text); margin: 5px 0; transition: 0.4s ease; }
.menu-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

.hero-section { min-height: 50vh; padding: clamp(100px, 15vw, 150px) 0 clamp(30px, 5vw, 50px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: url(img/bg_bg.jpg) center/cover no-repeat; overflow: hidden; width: 100%; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 1300px; width: 100%; padding: 0 clamp(20px, 3vw, 50px); }
.hero-content h1 { max-width: 800px; margin: 20px auto 10px; color: var(--white-text); }
.hero-cta { font-size: clamp(1rem, 2vw, 1.2rem); padding: 15px 30px; max-width: 560px; width: clamp(80%, 50vw, 50%); margin: 15px auto; }

.gallery-container { width: 100%; max-width: 1200px; margin: 30px auto; position: relative; }
.gallery-wrapper { overflow: hidden; border-radius: 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(15px, 3vw, 30px); width: 100%; margin: 10px 0; transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.gallery-item { position: relative; width: 100%; height: clamp(250px, 30vw, 400px); border-radius: 20px; overflow: hidden; cursor: pointer; transition: 0.3s ease; }
.gallery-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: 0.3s ease; }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%); transition: opacity 0.3s ease; z-index: 1; }
.item-content { position: absolute; bottom: 0; left: 0; right: 0; color: var(--white-text); padding: clamp(10px, 3vw, 20px); text-align: center; z-index: 2; }
.item-content h3 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 600; text-transform: uppercase; text-shadow: 0 2px 4px rgba(0,0,0,0.7); }
.gallery-item:hover { transform: translateY(-10px); box-shadow: 0 5px 20px rgba(254, 3, 7, 0.3); }
.gallery-item:hover .gallery-image { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 0.7; }
.carousel-indicators { display: none; justify-content: center; gap: 12px; margin-top: 25px; padding: 0 20px; }
.indicator { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; }
.indicator.active { background: var(--cta-red); width: 32px; border-radius: 6px; border-color: rgba(254,3,7,0.3); box-shadow: 0 0 12px rgba(254,3,7,0.4); }
.indicator:hover { background: rgba(255,255,255,0.6); transform: scale(1.15); }
.indicator.active:hover { background: var(--cta-red-hover); }

.lightbox-modal { display: none; position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 99999; opacity: 0; transition: opacity 0.3s ease; }
.lightbox-modal.active { opacity: 1; }
.lightbox-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.95); z-index: 1; }
.lightbox-content { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 2; padding: 80px 40px 40px; animation: lightboxZoomIn 0.3s ease; }
@keyframes lightboxZoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#lightboxImage { max-width: 85vw; max-height: 75vh; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.lightbox-caption { margin-top: 25px; color: var(--white-text); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; text-align: center; text-shadow: 0 2px 8px rgba(0,0,0,0.8); max-width: 80%; }
.lightbox-close { position: absolute; top: 30px; right: 30px; background: rgba(0,0,0,0.7); border: 2px solid var(--white-text); color: var(--white-text); font-size: 32px; font-weight: bold; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; z-index: 3; padding: 0; backdrop-filter: blur(10px); }
.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg) scale(1.1); box-shadow: 0 0 20px rgba(255,255,255,0.5); }

.patrocinadores-section { padding: 20px 0; text-align: center; fill: rgba(15,9,9,0.56); stroke: #FFF; filter: drop-shadow(0 64px 64px rgba(102,37,0,0.56)); backdrop-filter: blur(80px); border: 1px solid rgba(254,3,7,0.162); border-radius: 20px; }
.patrocinadores-content { display: flex; justify-content: center; align-items: center; gap: 0 clamp(40px, 6vw, 60px); flex-wrap: wrap; }
.patrocinio-label { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; color: var(--white-text); }
.patrocinadores-logos { display: flex; justify-content: center; align-items: center; gap: clamp(30px, 8vw, 100px); flex-wrap: wrap; }
.patrocinadores-logos a { display: inline-block; transition: 0.3s ease; }
.patrocinadores-logos a:hover { transform: translateY(-5px) scale(1.05); opacity: 0.8; }
.patrocinadores-logos img { height: clamp(40px, 6vw, 60px); width: auto; display: block; }

.sobre-nos-section { padding: 100px 10px 0 10px; text-align: center; background: transparent; }
.sobre-nos-content { max-width: 900px; margin: 0 auto; padding: 30px clamp(20px, 4vw, 40px); }
.sobre-nos-content h2 { margin-bottom: clamp(30px, 5vw, 50px); color: var(--white-text); position: relative; display: inline-block; }
.sobre-nos-content h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: linear-gradient(to right, var(--gradient-red-50), var(--cta-red)); border-radius: 2px; }
.sobre-nos-text { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 25px); }
.sobre-nos-text p { color: var(--gray-text); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.8; margin: 0; }
.sobre-nos-text p:first-child { font-size: clamp(1.1rem, 1.6vw, 1.2rem); color: var(--white-text); font-weight: 600; }

.como-funciona-section { padding: var(--section-padding) 0; text-align: center; }
.como-funciona-section h2 { margin-bottom: clamp(30px, 6vw, 60px); }
.funcionalidades-grid { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.funcionalidade-item { width: clamp(100px, 25vw, 250px); text-align: center; }
.funcionalidade-item img { height: clamp(60px, 8vw, 80px); margin: 0 auto 20px; }
.funcionalidade-item h3 { margin-bottom: 5px; color: var(--white-text); }
.funcionalidade-item p { color: var(--white-text); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
.margin-top p { margin-top: -10px; }
.process-connector { height: 1px; width: clamp(80px, 25vw, 180px); margin-top: 40px; object-fit: contain; }

.nosso-estudio-section { padding: clamp(40px, 8vw, 80px) 0; text-align: center; background: transparent; }
.nosso-estudio-content { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.nosso-estudio-content h2 { margin-bottom: clamp(20px, 4vw, 30px); color: var(--white-text); }
.nosso-estudio-content p { color: var(--gray-text); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.8; }

.opcoes-projeto-section { padding: 20px 0; text-align: center; }
.opcoes-projeto-content { width: auto; margin: 0 var(--container-padding); padding: clamp(20px, 4vw, 40px) clamp(10px, 2vw, 20px); background: linear-gradient(#0A0909 41%, #0A0909 100%) padding-box, radial-gradient(circle at top left, #ffffffaf 0%, #8B0000 100%) border-box; border: 0.5px solid transparent; border-radius: 25px; }
.opcoes-projeto-section h2 { margin-bottom: clamp(20px, 4vw, 40px); color: var(--white-text); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(15px, 3vw, 30px); justify-items: center; max-width: 1400px; margin: 0 auto; }
.card { width: 100%; max-width: 350px; min-height: 500px; padding: clamp(25px, 4vw, 40px) clamp(20px, 3vw, 30px); display: flex; flex-direction: column; justify-content: space-between; text-align: left; background: linear-gradient(#0A0909 41%, #0A0909 100%) padding-box, radial-gradient(circle at top left, #ffffff 0%, #8B0000 100%) border-box; border: 0.5px solid transparent; border-radius: 25px; }
.card h3 { color: var(--white-text); margin-bottom: 10px; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.card p { color: var(--cta-red); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.card .price { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin: 15px 0; }
.card .price small { font-size: 0.4em; color: var(--gray-text); font-weight: 400; }
.card ul { font-size: clamp(0.85rem, 1.2vw, 0.9rem); flex-grow: 1; margin: 15px 0; }
.card ul li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.card ul li::before { content: '✓'; color: var(--white-text); position: absolute; left: 0; top: 0; }

.agendamento-section { padding: clamp(20px, 4vw, 40px) 0 0; text-align: center; }
.agendamento-section h2 { margin-bottom: clamp(20px, 4vw, 40px); }

.reels-section { padding: var(--section-padding) 0 clamp(50px, 10vw, 100px); text-align: center; }
.reels-section h2 { margin-bottom: clamp(30px, 6vw, 60px); }
.reels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(15px, 3vw, 30px); justify-items: center; max-width: 1400px; margin: 0 auto; }
.reel-item { width: 100%; max-width: 280px; background: #0F0909; border-radius: 8px; border: 1px solid var(--border-subtle); overflow: hidden; text-align: left; transition: 0.3s ease; }
.reel-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(254, 3, 7, 0.3); }
.reel-thumbnail { position: relative; width: 100%; padding-bottom: 160%; background: #121212; }
.reel-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: clamp(40px, 8vw, 50px); height: clamp(40px, 8vw, 50px); background: var(--cta-red); border-radius: 50%; opacity: 0.9; z-index: 10; }
.play-icon::after { content: ''; position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%); border: 8px solid transparent; border-left: 12px solid var(--white-text); }
.reel-info { padding: clamp(12px, 2vw, 15px) clamp(12px, 2vw, 15px) clamp(20px, 3vw, 25px); }
.reel-title-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.red-dot { width: 6px; height: 6px; background: var(--cta-red); border-radius: 50%; margin-right: 5px; }
.reel-live-label { color: var(--white-text); font-size: clamp(0.75rem, 1.2vw, 0.85rem); font-weight: 600; margin-right: 5px; }
.reel-metadata-label { color: var(--cta-red); font-size: clamp(0.75rem, 1.2vw, 0.85rem); font-weight: 600; text-transform: uppercase; }
.reel-description { color: var(--white-text); font-size: clamp(0.9rem, 1.2vw, 1rem); line-height: 1.3; margin-bottom: 5px; }
.reel-views { color: var(--gray-text); font-size: clamp(0.8rem, 1.1vw, 0.85rem); }

.main-footer { padding: clamp(20px, 3vw, 40px) var(--container-padding); text-align: center; border-top: 1px solid var(--border-light); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.footer-links { display: flex; gap: clamp(15px, 3vw, 30px); flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--gray-text); font-weight: 600; font-size: clamp(0.85rem, 1.2vw, 1rem); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--dark-red); }
.social-media { display: flex; gap: clamp(15px, 2vw, 20px); justify-content: center; }
.social-media img { height: clamp(20px, 3vw, 24px); filter: brightness(0.8); transition: filter 0.3s ease; }
.social-media img:hover { filter: brightness(1.2); }
.footer-logo img { width: clamp(80px, 12vw, 120px); height: auto; }
.copyright { color: var(--dark-gray-text); font-size: clamp(0.75rem, 1.1vw, 0.85rem); margin-top: 20px; }

@media (max-width: 1300px) {
    .container { padding: 10px; }
    h1 { font-size: clamp(2rem, 4vw, 3rem); }
    .process-connector { width: clamp(80px, 25vw, 130px); }
    .funcionalidade-item { width: clamp(100px, 25vw, 200px); }
    .opcoes-projeto-section { padding: 0; }
    .opcoes-projeto-section h2 { margin-top: 30px; }
    .reels-content { padding: 0 50px; }
}

@media (max-width: 992px) {
    .main-nav a { font-size: clamp(1rem, 1.2vw, 1rem); }
    .main-nav ul { gap: 30px; }
    .hero-section { padding: 120px 30px 40px; }
    .logo img { height: clamp(40px, 5vw, 70px); }
    .process-connector { width: clamp(80px, 25vw, 120px); }
    .funcionalidade-item { width: clamp(100px, 25vw, 130px); }
}

@media (max-width: 768px) {
    .main-header { top: 10px; }
    .menu-box { height: 60px; padding: 15px; }
    .main-nav, .header-cta { display: none; }
    .menu-toggle { display: block; }
    .main-nav.open { display: flex; flex-direction: column; position: fixed; inset: 0; width: 100%; height: 100vh; background: rgba(10, 10, 10, 0.98); padding-top: 80px; justify-content: flex-start; align-items: center; z-index: 99; overflow-y: auto; }
    .main-nav.open ul { flex-direction: column; text-align: center; gap: 25px; }
    .main-nav.open .header-cta { display: block !important; margin-top: 30px; }
    .hero-section { padding: 100px 20px 40px; min-height: auto; background-image: none; border-radius: 20px; }
    .gallery-container, .gallery-wrapper { margin: 25px 0; padding: 0 20px; border-radius: 20px; }
    .gallery-container, 
    .gallery-grid, 
    .gallery-item {
        touch-action: pan-y !important;
        user-select: none; /* Evita selecionar o texto/imagem ao arrastar */
        -webkit-user-select: none;
    }
    .gallery-item a, 
    .gallery-image {
        pointer-events: none;
    }
    .gallery-wrapper { padding: 0; overflow: hidden; }
    .gallery-grid { display: flex; grid-template-columns: none; gap: 0; width: 100%; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); border-radius: 20px; }
    .gallery-item { flex: 0 0 100%; width: 100%; height: clamp(280px, 60vw, 450px); margin: 0; border-radius: 20px; cursor: default !important;}
    .gallery-item a {pointer-events: none;}
    .gallery-image { filter: brightness(0.85); }
    .gallery-overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, transparent 70%); }
    .item-content { padding: 25px 20px; }
    .item-content h3 { font-size: clamp(1.1rem, 4vw, 1.3rem); font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
    .carousel-indicators { display: flex; margin-top: 20px; }
    .gallery-item:hover, .gallery-item:hover .gallery-image { transform: none; box-shadow: none; }
    .patrocinadores-logos { flex-direction: row; gap: 30px; }
    .funcionalidades-grid { flex-direction: column; gap: 20px; }
    .process-connector { transform: rotate(90deg); width: 50px; margin: 15px 0; }
    .funcionalidade-item { width: 100%; }
    .cards-grid { grid-template-columns: 1fr; gap: 20px; }
    .card { max-width: 100%; }
    .reels-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .footer-content, .footer-links { flex-direction: column; gap: 15px; }
    .lightbox-close { top: 20px; right: 20px; width: 45px; height: 45px; font-size: 28px; }
    .lightbox-caption { font-size: 1.1rem; margin-top: 15px; }
    #lightboxImage { max-width: 95vw; max-height: 70vh; }
    .lightbox-content { padding: 70px 15px 20px; }

    body, html {
        overflow-y: auto !important; 
        overflow-x: hidden !important;
        height: auto !important;
        position: static !important;
        touch-action: pan-y !important; /* Diz ao navegador: PERMITA ROLAR VERTICALMENTE */
    }
}

@media (max-width: 605px) { .patrocinio-label { padding-bottom: 20px; } }

@media (max-width: 480px) {
    .menu-box { margin: 0 10px; }
    .hero-content h1 { font-size: 1.75rem; }
    .gallery-container { padding: 0 15px; }
    .gallery-item { height: clamp(250px, 55vw, 380px); }
    .item-content { padding: 20px 15px; }
    .item-content h3 { font-size: clamp(1rem, 4.5vw, 1.2rem); }
    .patrocinadores-logos { gap: 20px; }
    .patrocinadores-logos img { height: 35px; }
    .reels-grid { grid-template-columns: 1fr; }
    .reel-item { max-width: 100%; }
    .opcoes-projeto-content { margin: 0 10px; padding: 20px 15px; }
    .indicator { width: 10px; height: 10px; }
    .indicator.active { width: 28px; }
    .lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 24px; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .main-nav.open { padding-top: 60px; }
    .main-nav.open ul { gap: 15px; }
    .hero-section { min-height: auto; padding: 80px 20px 30px; }
    .gallery-item { height: clamp(200px, 35vw, 300px); }
    #lightboxImage { max-height: 75vh; }
}