/* ================================================================
   VLMR FILMS — style.css
   Estilos principais. Responsividade em responsive.css
================================================================ */

/* ───────────────────────────────────────────
   VARIÁVEIS DE DESIGN (mantidas do original)
─────────────────────────────────────────── */
:root {
    --bg-color-dark:  #15111f;
    --light:          #e5e6ff;
    --dark-text:      #3A1F73;
    --accent:         #F2EA79; 
    --highlight:      #3E22F2 ;
    --alternative:    #BC17BF;

    /* Tipografia */
    --titleFont: "Bebas Neue", sans-serif;
    --textcomom: "Inter", sans-serif;

    /* Espaçamentos */
    --section-pad: 100px 80px;
    --max-w: 1280px;

    /* Header */
    --header-h: 70px;
}

/* ───────────────────────────────────────────
   RESET GLOBAL
─────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color-dark);
    color: var(--light);
    font-family: var(--textcomom);
    overflow-x: hidden;
    /* Cursor padrão — pode trocar por cursor personalizado */
}

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

ul {
    list-style: none;
}

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

/* ───────────────────────────────────────────
   UTILITÁRIOS
─────────────────────────────────────────── */
.reveal {
    /* Estado inicial definido via gsap.set() no JS.
       Sem opacity:0 aqui para não esconder conteúdo caso o script falhe. */
}

/* ================================================================
   INTRO SPLASH
================================================================ */
#intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--bg-color-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    pointer-events: none; /* Não bloqueia cliques após sumir */
}

.intro-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.intro-vlmr {
    font-family: var(--titleFont);
    font-size: clamp(80px, 15vw, 160px);
    color: var(--light);
    letter-spacing: -2px;
    /* Animado pelo GSAP */
    opacity: 0;
    transform: scaleX(0.6);
}

.intro-films {
    font-family: var(--titleFont);
    font-size: clamp(28px, 5vw, 56px);
    color: var(--highlight);
    letter-spacing: 8px;
    text-transform: lowercase;
    opacity: 0;
    transform: translateY(10px);
}

/* Barra de progresso da intro */
.intro-bar {
    width: 0%;
    height: 2px;
    background: var(--highlight);
    border-radius: 2px;
    max-width: 300px;
}

/* ================================================================
   FAB — INSTAGRAM
================================================================ */
#fab-instagram {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: var(--textcomom);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(220, 39, 67, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#fab-instagram:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 30px rgba(220, 39, 67, 0.7);
}

/* ================================================================
   HEADER / NAV
================================================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    height: var(--header-h);
    transition: background 0.4s ease, backdrop-filter 0.4s ease,
                box-shadow 0.4s ease;
}

/* Estado padrão — transparente sobre o hero */
#header.transparent {
    background: transparent;
}

/* Estado após scroll — blur + fundo semitransparente */
#header.scrolled {
    background: rgba(21, 17, 31, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 48px;
}

/* Logo */
.logo-main,
.footer-logo,
.footer-logo-small {
    display: flex;
    flex-direction: column;
    line-height: 1;
    user-select: none;
}

.logo-vlmr {
    font-family: var(--titleFont);
    font-size: 28px;
    color: var(--light);
    letter-spacing: -0.5px;
}

.logo-films {
    font-family: var(--titleFont);
    font-size: 11px;
    color: var(--highlight);
    letter-spacing: 5px;
    text-transform: lowercase;
}

/* Links de navegação */
#nav-bar {
    display: flex;
    gap: 36px;
    margin-left: auto;
}

.nav-item a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(229, 230, 255, 0.7);
    transition: color 0.2s ease;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--highlight);
    transition: width 0.3s ease;
}

.nav-item a:hover {
    color: var(--light);
}

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

/* Botão CTA no header */
.btn-header {
    white-space: nowrap;
    padding: 9px 20px;
    border: 1px solid var(--light);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--light);
    background: transparent;
    transition: background 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

.btn-header:hover {
    background: var(--light);
    color: var(--bg-color-dark);
}

/* Hambúrguer mobile — oculto no desktop */
#menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

#menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ================================================================
   HERO
================================================================ */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 60px 80px;
}

/* Vídeo de fundo */
#hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Overlay gradiente escuro */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(21, 17, 31, 0.3) 0%,
        rgba(21, 17, 31, 0.1) 40%,
        rgba(21, 17, 31, 0.8) 85%,
        rgba(21, 17, 31, 1)   100%
    );
}

/* Conteúdo sobre o vídeo */
.hero-content {
    position: relative;
    z-index: 2;
}

.jumble {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.hero-title {
    font-family: var(--titleFont);
    font-size: clamp(60px, 14vw, 140px);
    color: var(--light);
    letter-spacing: -2px;
    /* Opacity inicial definida pelo GSAP */
}

.hero-subtitle {
    font-family: var(--titleFont);
    font-size: clamp(28px, 5vw, 68px);
    color: var(--highlight);
    letter-spacing: 10px;
    text-transform: lowercase;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(229, 230, 255, 0.6);
    margin-top: 12px;
    text-transform: uppercase;
}

/* Scroll indicator animado */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    right: 80px;
    z-index: 3;
    width: 1px;
    height: 60px;
    background: rgba(229, 230, 255, 0.15);
    overflow: hidden;
}

.scroll-indicator span {
    display: block;
    width: 100%;
    height: 40%;
    background: var(--highlight);
    animation: scrollDown 1.6s ease-in-out infinite;
}

@keyframes scrollDown {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(300%); }
}

/* ================================================================
   SEÇÃO SERVIÇOS
================================================================ */
#services {
    padding: var(--section-pad);
    max-width: var(--max-w);
    margin: 0 auto;
}

/* Bloco de texto introdutório */
.text-container {
    text-align: center;
    max-width: 90%;
    margin: 0 auto 80px;
}

.headline{
    font-weight: 800;
    font-style: italic;
    color: #fff;
}
.destaque{
    color: #3E22F2;
}

.text-container h2,
.section-label {
    font-family: var(--textcomom);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light);
    margin-bottom: 4px;
}

/* Palavra grande em destaque */
.section-big-word {
    font-family: var(--titleFont);
    font-size: clamp(44px, 10vw, 80px);
    line-height: 1;
    margin-bottom: 24px;
    max-width: 100%;
}

.section-big-word span {
    color: var(--highlight);
}

.section-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(229, 230, 255, 0.65);
    margin-bottom: 36px;
}

/* Botão outline */
.btn-outline {
    display: inline-block;
    padding: 13px 36px;
    border: 1px solid var(--highlight);
    color: var(--highlight);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 3px;
    transition: background 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--highlight);
    color: var(--bg-color-dark);
}

/* ─── Tópicos (Criação / Produção / Realização) ─── */
.topicos {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

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

/* Inverte a ordem nos pares para layout alternado */
.t-container:nth-child(even) .t-text { order: 2; }
.t-container:nth-child(even) .t-media { order: 1; }

.t-index {
    font-size: 12px;
    color: rgba(229, 230, 255, 0.4);
    font-weight: 500;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.t-text h3 {
    font-family: var(--titleFont);
    font-size: clamp(40px, 5vw, 72px);
    color: var(--light);
    margin-bottom: 16px;
    line-height: 1;
}

.t-text p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(229, 230, 255, 0.6);
    max-width: 380px;
}

/* Placeholder do vídeo — amarelo como no layout */
.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--highlight);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-placeholder:hover {
    opacity: 0.85;
}

/* Botão play sobre o placeholder */
.play-btn {
    width: 52px;
    height: 52px;
    background: rgba(21, 17, 31, 0.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.play-btn svg {
    width: 18px;
    height: 18px;
    color: var(--highlight);
    margin-left: 3px; /* Compensa o triângulo visualmente */
}

.video-placeholder:hover .play-btn {
    transform: scale(1.12);
}

/* ================================================================
   SEÇÃO QUEM SOMOS / GALERIA
================================================================ */
#quem {
    padding: var(--section-pad);
    background: #0e0b17; /* Levemente mais escuro para separar visualmente */
}

#quem .text-container {
    margin-bottom: 60px;
    text-align: center;
}

#quem .text-container h2 {
    font-family: var(--titleFont);
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

#quem .text-container h2 span {
    color: var(--highlight);
}

#quem .text-container p {
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(229, 230, 255, 0.6);
    font-weight: 600;
}

/* Grade de galeria — 4 colunas, layout assimétrico */
.video-gallery {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

/* Item padrão */
.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

/* Item largo — ocupa 2 colunas */
.gallery-item.wide {
    grid-column: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: #1e1929;
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-placeholder {
    background: #2a2238;
    transform: scale(1.03);
}

/* ================================================================
   SEÇÃO CTA
================================================================ */
#cta {
    padding: 120px 80px;
    text-align: center;
    background: var(--bg-color-dark);
    position: relative;
    overflow: hidden;
}

/* Detalhe decorativo de fundo */
#cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(62, 34, 242, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-sub {
    font-size: 18px;
    font-weight: 400;
    color: rgba(229, 230, 255, 0.6);
    margin-bottom: 8px;
}

#cta h2 {
    font-family: var(--titleFont);
    font-size: clamp(72px, 12vw, 140px);
    color: var(--light);
    line-height: 1;
    margin-bottom: 40px;
}

/* Botão WhatsApp */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: #25D366;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

/* ================================================================
   FOOTER
================================================================ */
#footer {
    background: #0a0812;
    padding: 80px 80px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    padding-bottom: 60px;
}

/* Coluna esquerda */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer-logo .logo-vlmr {
    font-size: 40px;
}

.footer-logo .logo-films {
    font-size: 14px;
}

.footer-contato p {
    font-size: 14px;
    color: rgba(229, 230, 255, 0.7);
    margin-bottom: 6px;
}

.footer-contato a:hover {
    color: var(--highlight);
}

.footer-address p {
    font-size: 13px;
    color: rgba(229, 230, 255, 0.45);
    line-height: 1.8;
}

/* Google Maps */
.footer-map {
    width: 100%;
}

#map {
    width: 100%;
    height: 280px;
    border-radius: 6px;
    overflow: hidden;
    background: #1e1929; /* Fallback enquanto o mapa carrega */
    border: 1px solid rgba(255,255,255,0.08);
}

/* Rodapé inferior */
.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo-small .logo-vlmr { font-size: 20px; }
.footer-logo-small .logo-films { font-size: 8px; letter-spacing: 4px; }

.footer-bottom p {
    font-size: 12px;
    color: rgba(229, 230, 255, 0.3);
    letter-spacing: 0.5px;
}



/* ================================================================
   FORMULÁRIO DE CONTATO
================================================================ */

.footer-form {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: #1e1929;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    color: var(--light);
    font-family: var(--textcomom);
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--highlight);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    padding: 14px 24px;
    background: var(--highlight);
    color: var(--bg-color-dark);
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-form button:hover {
    opacity: 0.85;
}

/* ================================================================
   YOUTUBE EMBED
================================================================ */

.youtube-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
}

.youtube-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ================================================================
   FAB — WHATSAPP
================================================================ */

#fab-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;

    display: flex;
    align-items: center;
    gap: 8px;

    background: #25D366;
    color: #fff;

    padding: 12px 20px;
    border-radius: 50px;

    font-family: var(--textcomom);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;

    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

#fab-whatsapp:hover {
    transform: translateY(-3px) scale(1.04);

    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

#fab-whatsapp svg {
    flex-shrink: 0;
}
.fa-brands{
    font-size: 1.5rem;
}