/* Reset & Variables */
:root {
    --color-bg: #050505;
    --color-text: #ffffff;
    --color-primary: #003ea8;
    --color-secondary: #00c3f7;
    --font-main: 'Montserrat', sans-serif;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--color-secondary);
}

.highlight-cyan {
    color: var(--color-secondary);
    text-shadow: 0 0 10px rgba(0, 195, 247, 0.5);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 8px rgba(0, 195, 247, 0.6);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    transition: 0.3s;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(5, 5, 5, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 8rem 0 6rem 0;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-logo-img {
    height: 54px;
    width: auto;
    display: block;
    margin: 0 auto 2.5rem auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
}

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

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 62, 168, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 195, 247, 0.6);
}

/* Secondary Translucent Button */
.btn-secondary-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-secondary-glass i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-secondary-glass:hover i {
    transform: translateY(3px);
}



@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-logo-img {
        height: 42px;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3.5rem;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-secondary-glass {
        display: flex;
        width: fit-content;
        max-width: 100%;
        white-space: nowrap;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        gap: 0.6rem;
        padding: 0.9rem 1.25rem;
        font-size: 0.88rem;
        box-sizing: border-box;
    }

    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Sections General */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Sobre Section */
#sobre {
    background-color: #0a0a0a;
}

.sobre-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sobre-text p {
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 1.1rem;
}

.highlight-text {
    font-size: 1.3rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin-top: 2rem;
}

/* Services Section */
#servicos {
    background-color: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.service-img img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-img img {
    transform: scale(1.2) rotate(8deg);
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 62, 168, 0.1), rgba(0, 195, 247, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 40px rgba(0, 62, 168, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-img {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 4, 15, 0.5);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-secondary);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.service-card p {
    position: relative;
    z-index: 1;
    color: #bbb;
    font-size: 0.95rem;
}

/* Portfolio Section & Carousel */
#portfolio {
    background-color: #080808;
    overflow: hidden;
    position: relative;
    padding-bottom: 5rem;
}

.solutions-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 1rem;
    box-sizing: border-box;
}

.portfolio-card {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    height: auto;
    display: flex;
    flex-direction: column;
}

.slide-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .slide-image img {
    transform: scale(1.05);
}

/* Gradient backgrounds for solutions */
.gradient-redes {
    background: linear-gradient(135deg, #020b1e 0%, #003ea8 50%, #00c3f7 100%);
}

.gradient-site {
    background: linear-gradient(135deg, #0e0514 0%, #4a00e0 50%, #8e2de2 100%);
}

.gradient-identidade {
    background: linear-gradient(135deg, #01132a 0%, #005c8a 50%, #00c3f7 100%);
}

.gradient-trafego {
    background: linear-gradient(135deg, #091200 0%, #465900 50%, #ccff00 100%);
}

.slide-content {
    padding: 2rem;
    background: #1a1a1a;
    position: relative;
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.slide-content p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 0.2rem;
}

.view-case-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    color: var(--color-text);
    font-weight: 600;
    transition: color 0.3s;
}

.view-case-btn i {
    margin-left: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.view-case-btn:hover {
    color: var(--color-secondary);
}

.view-case-btn:hover i {
    transform: translateX(5px);
}



/* Timeline Styles (Portfolio Page) */
#portfolio-page {
    position: relative;
    padding: 5rem 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Vertical Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-secondary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 10px rgba(0, 195, 247, 0.5);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInTimeline 0.8s forwards;
}

.timeline-item:nth-child(odd) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(even) {
    animation-delay: 0.4s;
}

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

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

/* Markers */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-bg);
    border: 4px solid var(--color-secondary);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 195, 247, 0.8);
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    position: relative;
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: scale(1.02);
    border-color: var(--color-secondary);
}

.project-img-wrapper {
    height: 200px;
    background: #000;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
}

.timeline-content h3 {
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

/* Mobile Timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item::after {
        left: 18px;
    }

    /* Adjust marker position */

    .portfolio-slide {
        min-width: 100%;
    }

    .portfolio-card {
        height: auto;
    }
}


/* Avaliacoes Section */
#avaliacoes {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg) 0%, #00102b 100%);
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
}

.avaliacoes-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.reviews-slider-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-wrapper-outer {
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.reviews-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.review-slide {
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.review-box {
    text-align: center;
    padding: 3.5rem 4.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-avatar {
    width: 85px;
    height: 85px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-secondary);
    box-shadow: 0 0 20px rgba(0, 195, 247, 0.5);
    transition: transform 0.3s ease;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-slide:hover .review-avatar {
    transform: scale(1.05);
}

.stars {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.review-box p {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1.8rem;
    line-height: 1.8;
    color: #f0f0f0;
    font-weight: 400;
}

.review-box cite {
    display: block;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.reviews-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.6);
    color: var(--color-secondary);
    border: 1px solid rgba(0, 195, 247, 0.3);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.prev-review {
    left: -80px;
}

.next-review {
    right: -80px;
}

.reviews-btn:hover {
    background: var(--color-secondary);
    color: #050505;
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(0, 195, 247, 0.7);
}

.reviews-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border: 2px solid var(--color-secondary);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 195, 247, 0.15);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-bg);
    box-shadow: 0 0 20px rgba(0, 195, 247, 0.4);
}

@media screen and (max-width: 1024px) {
    .prev-review {
        left: -20px;
    }
    .next-review {
        right: -20px;
    }
}

@media screen and (max-width: 768px) {
    #avaliacoes {
        padding: 4rem 1.5rem;
    }
    
    .review-box {
        padding: 3rem 2rem;
    }
    
    .review-box p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .reviews-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .prev-review {
        left: -10px;
    }
    
    .next-review {
        right: -10px;
    }
}

@media screen and (max-width: 576px) {
    .reviews-slider-container {
        padding-top: 2rem;
    }
    
    .review-box {
        padding: 2.5rem 1.25rem;
    }
    
    .reviews-btn {
        top: 0;
        transform: none;
        width: 42px;
        height: 42px;
    }
    
    .prev-review {
        left: 10px;
    }
    
    .next-review {
        right: 10px;
    }
    
    .reviews-btn:active {
        transform: scale(0.95);
    }
}

/* Footer */
footer {
    background-color: black;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #111;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.contact-links li {
    margin-bottom: 1rem;
}

.contact-links a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.contact-links i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    transform: translateY(30px);
}

/* Videos Section */
#videos-section {
    background-color: #0b0b0b;
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.videos-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.videos-intro-left {
    display: flex;
    flex-direction: column;
}

.videos-intro-right {
    display: flex;
    flex-direction: column;
}

.videos-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1.5px;
}

.videos-description p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.videos-description p:last-child {
    margin-bottom: 2rem;
}

.videos-highlight {
    border-left: 4px solid #ccff00;
    padding-left: 1.5rem;
}

.videos-highlight p {
    font-size: 1.1rem;
    color: #ccff00;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/* 3 Videos Showcase Grid */
.videos-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
    width: 100%;
}

.video-showcase-card {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #030303;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.video-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 195, 247, 0.3);
    border-color: rgba(0, 195, 247, 0.5);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.video-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 1.5rem;
    color: #ffffff;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.videos-bottom-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    width: 100%;
}

/* Responsive Overrides for Videos Section */
@media screen and (max-width: 992px) {
    .videos-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .videos-intro-left {
        align-items: center;
    }
    
    .videos-intro-right {
        align-items: center;
    }
    
    .videos-title {
        font-size: 3.5rem;
        line-height: 1.1;
        text-align: center;
        margin-bottom: 0;
    }
    
    .videos-description p {
        text-align: center;
    }
    
    .videos-highlight {
        border-left: none;
        border-top: 2px solid #ccff00;
        border-bottom: 2px solid #ccff00;
        padding: 1.2rem 1.5rem;
        text-align: center;
        max-width: 540px;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .videos-highlight p {
        text-align: center;
    }
    
    .videos-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 4rem;
    }
    
    .videos-bottom-cta {
        margin-top: 4rem;
    }
}

@media screen and (max-width: 768px) {
    #videos-section {
        padding: 5rem 1.5rem;
    }
    
    .videos-title {
        font-size: 2.8rem;
        line-height: 1.1;
        text-align: center;
    }
    
    .videos-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 3rem;
    }
    
    .video-showcase-card {
        max-width: 280px;
    }
    
    .videos-bottom-cta {
        margin-top: 3rem;
    }
}

/* Metodologia (Timeline) Section */
#metodologia {
    background-color: #050505;
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

.methodology-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.methodology-header {
    text-align: center;
    margin-bottom: 5rem;
    width: 100%;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 1.5rem auto 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 0;
}

/* Timeline Lines */
.timeline-line,
.timeline-line-progress {
    position: absolute;
    width: 4px;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.timeline-line {
    background: rgba(255, 255, 255, 0.08);
}

.timeline-line-progress {
    background: linear-gradient(to bottom, #00c3f7 0%, #bd00ff 33%, #ccff00 66%, #ffc107 100%);
    height: 0; /* Dynamic height updated in JS */
    box-shadow: 0 0 20px rgba(0, 195, 247, 0.6);
    z-index: 1;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 4rem;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

#metodologia .timeline-item::after {
    content: none !important;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* Dots */
.timeline-dot {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    top: 2.8rem;
    z-index: 5;
    background: #050505;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.left .timeline-dot {
    right: -11px;
}

.timeline-item.right .timeline-dot {
    left: -11px;
}

/* Active Dots Styles */
.step-cyan.active .timeline-dot {
    background: #00c3f7;
    border-color: #00c3f7;
    box-shadow: 0 0 20px rgba(0, 195, 247, 0.8);
    transform: scale(1.2);
}

.step-purple.active .timeline-dot {
    background: #bd00ff;
    border-color: #bd00ff;
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.8);
    transform: scale(1.2);
}

.step-red.active .timeline-dot {
    background: #ccff00;
    border-color: #ccff00;
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.8);
    transform: scale(1.2);
}

.step-yellow.active .timeline-dot {
    background: #ffc107;
    border-color: #ffc107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
    transform: scale(1.2);
}

/* Cards */
.timeline-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    width: 100%;
}

.timeline-item.active .timeline-card {
    background: rgba(255, 255, 255, 0.04);
}

.timeline-card:hover {
    transform: translateY(-6px);
}

/* Hover highlights per card type */
.step-cyan.active .timeline-card {
    border-color: rgba(0, 195, 247, 0.25);
    box-shadow: 0 20px 40px rgba(0, 195, 247, 0.08);
}

.step-purple.active .timeline-card {
    border-color: rgba(189, 0, 255, 0.25);
    box-shadow: 0 20px 40px rgba(189, 0, 255, 0.08);
}

.step-red.active .timeline-card {
    border-color: rgba(204, 255, 0, 0.25);
    box-shadow: 0 20px 40px rgba(204, 255, 0, 0.08);
}

.step-yellow.active .timeline-card {
    border-color: rgba(255, 193, 7, 0.25);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.08);
}

/* Badges */
.step-badge {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
}

.step-cyan .step-badge {
    background: rgba(0, 195, 247, 0.1);
    color: #00c3f7;
    border: 1px solid rgba(0, 195, 247, 0.2);
}

.step-purple .step-badge {
    background: rgba(189, 0, 255, 0.1);
    color: #bd00ff;
    border: 1px solid rgba(189, 0, 255, 0.2);
}

.step-red .step-badge {
    background: rgba(204, 255, 0, 0.1);
    color: #ccff00;
    border: 1px solid rgba(204, 255, 0, 0.2);
}

.step-yellow .step-badge {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

/* Card typography */
.timeline-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.4;
    font-weight: 700;
}

.timeline-card p {
    font-size: 1rem;
    color: #c8c8c8;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.step-detail {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    margin-top: 1rem;
}

.step-cyan .step-detail {
    color: #00c3f7;
}

.step-purple .step-detail {
    color: #df80ff;
}

.step-red .step-detail {
    color: #ccff00;
}

.step-yellow .step-detail {
    color: #ffd03b;
}

/* Footer Section */
.methodology-footer {
    text-align: center;
    margin-top: 6rem;
    max-width: 800px;
    width: 100%;
    z-index: 2;
}

.final-statement {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2.5rem;
    font-style: italic;
    line-height: 1.5;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

/* Pulse Button Animation */
.pulse-btn {
    box-shadow: 0 0 0 0 rgba(0, 195, 247, 0.6);
    animation: cta-pulse 2s infinite;
}

@keyframes cta-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 195, 247, 0.6);
    }
    70% {
        transform: scale(1.04);
        box-shadow: 0 0 0 18px rgba(0, 195, 247, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 195, 247, 0);
    }
}

/* Responsive Overrides */
@media screen and (max-width: 768px) {
    #metodologia {
        padding: 5rem 1.5rem;
    }

    .timeline-container {
        padding: 2rem 0;
    }

    .timeline-line,
    .timeline-line-progress {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 1.5rem 1rem 1.5rem 3.5rem;
        transform: translateY(40px);
    }

    .timeline-dot {
        left: 10px !important;
        right: auto !important;
        top: 2.4rem;
        width: 18px;
        height: 18px;
    }

    .timeline-card {
        padding: 2rem 1.5rem;
    }

    .timeline-card h3 {
        font-size: 1.25rem;
    }

    .final-statement {
        font-size: 1.25rem;
    }
}

/* Cases (Resultados) Section */
#cases {
    background-color: #080808;
    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cases-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cases-header {
    text-align: center;
    margin-bottom: 5rem;
    width: 100%;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.case-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 2.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 490px;
}

.case-card:hover {
    transform: translateY(-10px);
}

/* Card-specific border glow color on hover */
.case-card.card-cyan:hover {
    border-color: rgba(0, 195, 247, 0.35);
    box-shadow: 0 20px 45px rgba(0, 195, 247, 0.09);
}

.case-card.card-purple:hover {
    border-color: rgba(189, 0, 255, 0.35);
    box-shadow: 0 20px 45px rgba(189, 0, 255, 0.09);
}

.case-card.card-pink:hover {
    border-color: rgba(204, 255, 0, 0.35);
    box-shadow: 0 20px 45px rgba(204, 255, 0, 0.09);
}

/* Header text */
.case-card-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    display: block;
}

.card-cyan .case-card-header h3 {
    color: #00c3f7;
}

.card-purple .case-card-header h3 {
    color: #bd00ff;
}

.card-pink .case-card-header h3 {
    color: #ccff00;
}

/* Metrics List */
.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.card-cyan .metric-num {
    color: #00c3f7;
    text-shadow: 0 0 15px rgba(0, 195, 247, 0.35);
}

.card-purple .metric-num {
    color: #bd00ff;
    text-shadow: 0 0 15px rgba(189, 0, 255, 0.35);
}

.card-pink .metric-num {
    color: #ccff00;
    text-shadow: 0 0 15px rgba(204, 255, 0, 0.35);
}

.metric-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Footers */
.case-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
}

.case-card-footer p {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.card-cyan .case-card-footer p {
    color: rgba(0, 195, 247, 0.85);
}

.card-purple .case-card-footer p {
    color: rgba(224, 102, 255, 0.85);
}

.card-pink .case-card-footer p {
    color: rgba(204, 255, 0, 0.85);
}

/* Specialist Section */
#especialista {
    background-color: #050505;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.especialista-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.especialista-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.especialista-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.especialista-img-wrapper {
    position: relative;
    max-width: 440px;
    width: 100%;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(190, 77, 255, 0.5) 0%, rgba(0, 195, 247, 0.5) 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(190, 77, 255, 0.15);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.especialista-img-wrapper:hover {
    transform: translateY(-8px) scale(1.01);
}

.especialista-img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    display: block;
    object-fit: cover;
}

.especialista-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.especialista-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    border: 1px solid rgba(190, 77, 255, 0.35);
    background: rgba(190, 77, 255, 0.06);
    color: #be4dff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(190, 77, 255, 0.1);
}

.especialista-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
}

.highlight-purple {
    color: #be4dff;
    text-shadow: 0 0 20px rgba(190, 77, 255, 0.35);
}

.especialista-text p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.25rem;
}

.especialista-text p strong {
    color: #ffffff;
}

.especialista-text .specialist-lead {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.especialista-quote {
    font-size: 1.4rem !important;
    font-style: italic;
    font-weight: 700;
    color: #ccff00 !important;
    text-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
    margin-top: 2rem;
    margin-bottom: 2.5rem !important;
    letter-spacing: 0.25px;
}

.especialista-action {
    width: 100%;
}

/* Clientes Ticker Section */
#clientes-ticker {
    background-color: #000000;
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ticker-container {
    width: 100%;
}

.ticker-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 2.5px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.ticker-track {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 0.5rem 0;
}

.ticker-track::before,
.ticker-track::after {
    content: "";
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker-track::before {
    left: 0;
    background: linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.ticker-track::after {
    right: 0;
    background: linear-gradient(to left, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.ticker-line-wrapper {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollTickerDesktop 52s linear infinite;
}

.ticker-img {
    height: 90px;
    width: auto;
    padding-right: 3.5rem; /* Symmetrical padding-right replaces gap for 100% seamless looping! */
    filter: invert(1) grayscale(1) opacity(0.35);
    transition: filter 0.3s ease;
}

.ticker-img:hover {
    filter: invert(1) grayscale(1) opacity(0.85);
}

@keyframes scrollTickerDesktop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Foco Negócio Section */
#foconegocio {
    background-color: #050505;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.foconegocio-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Using fr units prevents the fixed gap from causing horizontal overflow! */
    gap: 4rem;
    align-items: stretch;
    width: 100%;
    max-width: var(--max-width); /* Align perfectly with other containers */
    margin: 0 auto;
}

.foconegocio-content {
    display: flex;
    flex-direction: column;
}

.foconegocio-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.foconegocio-subtitle {
    font-size: 1.25rem;
    color: #ccff00;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    font-family: 'Montserrat', sans-serif;
}

.foconegocio-text p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.foconegocio-text p:last-child {
    margin-bottom: 2.5rem;
}

.foconegocio-highlight {
    border-left: 4px solid #00c3f7;
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}

.foconegocio-highlight p {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.foconegocio-highlight p:first-child {
    color: #00c3f7;
    margin-bottom: 0.25rem;
}

.foconegocio-cta {
    margin-top: 1rem;
}

/* Hourglass Image Column */
.foconegocio-media {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    position: relative;
}

.hourglass-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hourglass-img {
    height: 100%;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 195, 247, 0.15));
    animation: floatHourglass 6s ease-in-out infinite;
}

@keyframes floatHourglass {
    0% {
        transform: scale(1.2) translateY(0);
    }
    50% {
        transform: scale(1.2) translateY(-12px);
    }
    100% {
        transform: scale(1.2) translateY(0);
    }
}

@keyframes floatHourglassMobile {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1) translateY(-8px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

/* Responsive grid overrides */
@media screen and (max-width: 992px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .case-card {
        min-height: auto;
    }
    
    .foconegocio-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left; /* Left align all text on mobile viewports */
    }
    
    .foconegocio-content {
        order: 2; /* Move copy below the image on mobile */
    }
    
    .foconegocio-media {
        order: 1; /* Move hourglass drawing above the title on mobile */
    }
    
    .foconegocio-highlight {
        border-left: 4px solid #00c3f7; /* Keep the elegant left border on mobile */
        border-top: none;
        padding-left: 1.5rem;
        padding-top: 0;
        display: block;
        max-width: 100%;
        margin: 0 0 3rem 0; /* Left align highlight container */
    }
    
    .hourglass-wrapper {
        height: auto;
        margin: 0 auto 2rem auto; /* Centers the hourglass drawing and gives margin before the title */
    }
    
    .hourglass-img {
        width: 100%;
        height: auto;
        animation: floatHourglassMobile 6s ease-in-out infinite;
    }
    
    .especialista-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .especialista-media {
        order: 1;
    }
    
    .especialista-content {
        order: 2;
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    #cases {
        padding: 5rem 1.5rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .case-card {
        padding: 2.5rem 1.5rem;
        min-height: auto;
    }
    
    .metric-num {
        font-size: 2.3rem;
    }
    
    #foconegocio {
        padding: 5rem 1.5rem;
    }
    
    .foconegocio-title {
        font-size: 2.2rem;
    }
    
    .foconegocio-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .foconegocio-highlight p {
        font-size: 1.1rem;
    }
    
    .hourglass-wrapper {
        max-width: 380px;
    }
    
    #especialista {
        padding: 5rem 1.5rem;
    }
    
    .especialista-title {
        font-size: 2.2rem;
    }
    
    .especialista-text .specialist-lead {
        font-size: 1.1rem;
    }
    
    .especialista-quote {
        font-size: 1.25rem !important;
        margin-top: 1.5rem;
        margin-bottom: 2rem !important;
    }
    
    .especialista-img-wrapper {
        max-width: 340px;
    }
    
    #clientes-ticker {
        padding: 1.25rem 0;
    }
    
    .ticker-title {
        font-size: 0.68rem;
        margin-bottom: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .ticker-track::before,
    .ticker-track::after {
        width: 80px;
    }
    
    .ticker-line-wrapper {
        animation: scrollTickerDesktop 36s linear infinite;
    }
    
    .ticker-img {
        height: 52px;
        padding-right: 1.75rem; /* Seamless mobile gap padding replaces flex gap */
    }
}
    