:root {
    --primary-bg: #0d0d0d;
    --secondary-bg: #151515;
    --card-bg: #1a1a1a;
    --accent: #F5C400;
    --accent-hover: #FFD84A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #666666;
    --dark-bg: #000000;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

p {
    margin: 0 0 1.5rem 0;
    color: var(--text-secondary);
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* Typography styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #333333;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 196, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: rgba(245, 196, 0, 0.1);
    transform: translateY(-3px);
}

.w-100 {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: rgba(13, 13, 13, 0.95);
}

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

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

.logo i {
    font-size: 2.2rem;
    color: var(--accent);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(245, 196, 0, 0.08), transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(245, 196, 0, 0.05), transparent 40%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(245, 196, 0, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-list {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-list li {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeScale 1s ease forwards 0.4s;
}

@keyframes fadeScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(245, 196, 0, 0.2);
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
}

.image-wrapper img {
    border-radius: 20px;
    transition: transform 0.7s ease;
}

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

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: rgba(25, 25, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

.floating-card i {
    font-size: 2rem;
    color: var(--accent);
    background: rgba(245, 196, 0, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.card-text strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.card-text span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(51, 51, 51, 0.05);
    color: var(--accent);
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Sections Global */
section {
    padding: 100px 0;
}

/* Sobre Section */
.sobre {
    background-color: var(--secondary-bg);
}

.sobre-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sobre-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.sobre-image img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--accent);
}

.sobre-content {
    flex: 1;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat p {
    margin: 0;
    font-weight: 500;
}

/* Serviços Section */
.servicos {
    background-color: var(--primary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    padding: 50px 35px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.highlighted {
    background: var(--dark-bg);
    border-color: var(--accent);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.service-card.highlighted h3 { color: #FFFFFF; }
.service-card.highlighted p { color: rgba(255, 255, 255, 0.9); }

.service-card.highlighted:before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(245, 196, 0, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 20px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #000;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.service-link:hover {
    gap: 15px;
}

/* Resultados Section */
.resultados {
    background: linear-gradient(rgba(51, 51, 51, 0.95), rgba(51, 51, 51, 0.95)), url('../assets/hero_bg.png') center/cover fixed;
    text-align: center;
    padding: 80px 0;
}

.resultados-content h2 {
    font-size: 2.5rem;
    color: var(--accent);
}

.resultados-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.resultados-tags {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(245, 196, 0, 0.15);
    border: 1px solid rgba(245, 196, 0, 0.3);
    color: var(--accent);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
}

/* Portfolio Section */
.portfolio {
    background-color: var(--primary-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9/16; /* Estilo Shorts */
    cursor: pointer;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 1; /* Sempre visível ou sutil no dark mode */
    transition: var(--transition);
}

.portfolio-info {
    transform: translateY(0);
    transition: var(--transition);
    z-index: 5;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 0 0 0 rgba(245, 196, 0, 0.4);
}

.portfolio-item:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 0 20px rgba(245, 196, 0, 0);
}

/* Depoimentos Section */
.depoimentos {
    background-color: var(--secondary-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--primary-bg);
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    color: rgba(245, 196, 0, 0.1);
    font-family: serif;
    line-height: 1;
}

.stars {
    color: var(--accent);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    min-height: 80px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.client-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.client-details span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-container h2 {
    color: #333333;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-container p {
    color: #333333;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.cta .btn-primary {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.2rem;
}

.cta .btn-primary:hover {
    background: #222;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #FFFFFF;
    padding: 80px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #FFFFFF;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--accent);
    margin-right: 10px;
    width: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: #fff;
    color: #000;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

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

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

/* Typography Adjustments */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { margin-top: 50px; }
    .hero p { margin: 0 auto 2rem; }
    .hero-list { align-items: center; }
    .hero-buttons { justify-content: center; }
    .sobre-container { flex-direction: column; }
    .floating-card { left: 20px; }
    .services-grid, .portfolio-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .hamburger { display: block; z-index: 1001; }
    .nav-btn { display: none; }
    
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    
    .services-grid, .testimonials-grid { grid-template-columns: 1fr; }

    /* Portfolio Mobile Carousel */
    .portfolio-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }
    
    .portfolio-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
    
    .stats { flex-direction: column; gap: 20px; text-align: center; }
    .floating-card { bottom: 10px; padding: 10px; }
    .card-text strong { font-size: 1.2rem; }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    aspect-ratio: 9/16;
}

.video-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(245, 196, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-content {
        width: 85%;
    }
}
