/* CSS Variables */
:root {
    --primary: #f2cc0d;
    --primary-glow: rgba(242, 204, 13, 0.4);
    --bg-dark: #0a0a0a;
    --bg-light: #f8f8f5;
    --neutral-dark: #221f10;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-display);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-white);
}

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

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

ul {
    list-style: none;
}

/* 12-Column Grid System (Bootstrap-like) using CSS GRID */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.col-12 {
    grid-column: span 12;
}

.col-6 {
    grid-column: span 6;
}

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

    .col-md-4 {
        grid-column: span 4;
    }

    .col-md-8 {
        grid-column: span 8;
    }
}

@media (min-width: 992px) {
    .col-lg-6 {
        grid-column: span 6;
    }

    .col-lg-3 {
        grid-column: span 3;
    }

    .col-lg-4 {
        grid-column: span 4;
    }

    .col-lg-8 {
        grid-column: span 8;
    }
}

/* Utility classes */
.items-center {
    align-items: center;
}

.justify-center {
    justify-items: center;
}

.justify-between {
    justify-content: space-between;
}

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

.section {
    padding: 80px 0;
}

.h-100 {
    min-height: 100vh;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.95);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo-text {
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-name {
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.accent-color {
    color: var(--primary);
}

.navbar-links {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

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

.nav-btn {
    padding: 10px 24px;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.nav-btn:hover {
    background-color: var(--primary);
    color: #000;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

@media (min-width: 768px) {
    .navbar-links {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-overlay {
        display: none !important;
    }
}

/* Hero Split Section */
.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    padding-top: 80px;
}

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

.hero-pane {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    transition: var(--transition);
}

.hero-pane:hover {
    z-index: 10;
}

.hero-pane:hover .pane-bg {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.hero-pane:hover .pane-content {
    transform: translateX(10px);
}

.pane-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease, filter 0.8s ease;
    z-index: 1;
}

.production-pane .pane-bg {
    background-image: url('./img/hero-producao.jpeg');
    background-color: #1a1a1a;
}

.agency-pane .pane-bg {
    background-image: url('./img/agencia-de-marketing.jpg');
    background-color: #1a1a1a;
}


.pane-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.pane-content {
    position: relative;
    z-index: 3;
    max-width: 500px;
}

.sub-title {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .main-title {
        font-size: 5rem;
    }
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.line {
    width: 20px;
    height: 1px;
    background-color: var(--primary);
}

.cta-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 40px;
    background-color: var(--primary);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
}

.cta-btn:hover {
    background-color: var(--text-white);
    transform: translateY(-5px);
}

/* About Section */
#quem-somos {
    padding: 128px 24px;
    /* py-32 px-6 */
}

.about-title-wrapper {
    margin-bottom: 32px;
    /* For mobile spacing */
}

.text-outline {
    font-size: 4.5rem;
    /* text-7xl */
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 1);
    line-height: 1;
    /* leading-none */
    letter-spacing: -0.05em;
    /* tracking-tighter */
    opacity: 1;
    text-transform: uppercase;
    margin-bottom: 16px;
    /* mb-4 */
}

.filled-text {
    font-size: 4.5rem;
    /* text-7xl */
    font-weight: 800;
    line-height: 1;
    /* leading-none */
    letter-spacing: -0.05em;
    /* tracking-tighter */
    text-transform: uppercase;
    margin-bottom: 32px;
    /* mb-8 */
    color: var(--text-white);
}

@media (min-width: 768px) {

    .text-outline,
    .filled-text {
        font-size: 8rem;
        /* text-9xl approx */
    }
}

@media (min-width: 992px) {
    .about-title-wrapper {
        margin-bottom: 0;
    }

    #quem-somos .row {
        gap: 64px;
        /* gap-16 */
    }
}

.lead {
    font-size: 1.25rem;
    /* text-xl */
    color: var(--text-gray);
    font-weight: 300;
    margin-bottom: 32px;
    /* mb-8 */
    line-height: 1.625;
    /* leading-relaxed */
}

@media (min-width: 768px) {
    .lead {
        font-size: 1.5rem;
        /* text-2xl */
    }
}

.description {
    font-size: 1.125rem;
    /* text-lg */
    color: #6b7280;
    /* text-gray-500 */
    margin-bottom: 40px;
    /* mb-10 */
    line-height: 2;
    /* leading-loose */
}

.highlight {
    color: var(--text-white);
    font-weight: 600;
}

.stats-row {
    display: flex;
    gap: 48px;
    /* gap-12 */
    margin-top: 0;
}

.stat-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
}

/* Team Section */
.section-header {
    margin-bottom: 60px;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.team-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.card-img-wrapper {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.card-overlay {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: var(--transition);
    pointer-events: none;
}

.team-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-card:hover .card-overlay {
    border-color: var(--primary-glow);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.card-info {
    padding: 20px 0;
}

.card-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.card-info .role {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.member-bio {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    font-weight: 400;
}

.team-card:hover h3 {
    color: var(--primary);
}

/* Contact Form */
.glass-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background-color: var(--primary);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--text-white);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    background: #050505;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    background-color: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* Animations */
.reveal {
    opacity: 0;
    filter: blur(5px);
    transition: all 1s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-down {
    transform: translateY(-50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-zoom {
    transform: scale(0.9);
}

.reveal.active {
    opacity: 1;
    filter: blur(0);
    transform: translate(0, 0) scale(1);
}

/* Staggered intervals */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* Auto-stagger for common lists */
.features-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.features-list li:nth-child(2) {
    transition-delay: 0.2s;
}

.features-list li:nth-child(3) {
    transition-delay: 0.3s;
}

.features-list li:nth-child(4) {
    transition-delay: 0.4s;
}

/* Special Hero Animations */
.hero-pane .pane-content>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.hero-pane .pane-content .sub-title {
    transition-delay: 0.2s;
}

.hero-pane .pane-content .main-title {
    transition-delay: 0.4s;
}

.hero-pane .pane-content .features-list {
    transition-delay: 0.6s;
}

.hero-pane .pane-content .cta-btn {
    transition-delay: 0.8s;
}

body.loaded .hero-pane .pane-content>* {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Nav Overlay mimicking Tailwind classes used in script.js */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1005;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(24px);
    transition: all 0.5s ease-in-out;
}

.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }
.translate-x-full { transform: translateX(100%); }
.translate-x-0 { transform: translateX(0); }

.mobile-overlay-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    height: 80px;
}

.mobile-close {
    background: none;
    border: none;
    color: var(--text-white);
    padding: 8px;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

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

.mobile-btn {
    text-align: center;
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 16px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 40px;
}

/* --- WhatsApp Floating Button (Premium Design) --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    transition: transform 0.4s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 12px 40px 0 rgba(212, 175, 55, 0.2);
}

.whatsapp-float:hover svg {
    transform: rotate(10deg) scale(1.1);
    color: #fff;
}

/* Luxury Pulse Animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    z-index: -1;
    animation: gold-pulse 2.5s infinite;
}

@keyframes gold-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

/* Adjustment for mobile devices */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}