/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Colors */
    --bg-color: #001419;
    --bg-white: #FFFFFF;
    --bg-light: #F8F7F3;
    --bg-surface: #002129;
    --bg-surface-hover: #002d38;
    --primary-color: #7AFD29;
    --primary-hover: #61CA20;
    --text-main: #f0f0f0;
    --text-dark: #001419;
    --text-muted: #8b9d9d;
    --text-muted-dark: #666666;
    --border-color: rgba(122, 253, 41, 0.1);

    /* Typography */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* Shadows */
    --shadow-surface: 0 10px 30px rgba(0, 0, 0, 0.5);

    /* Layout */
    --container-width: 1320px;
    --section-padding: 128px 0;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

::selection {
    background-color: var(--primary-color);
    color: #000;
}

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

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

ul {
    list-style: none;
}

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

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

.section {
    padding: var(--section-padding);
}

.bg-surface {
    background-color: var(--bg-surface);
}

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

.text-green {
    color: var(--primary-color);
}

.mb-8 {
    margin-bottom: 2rem;
}

/* Background Utils */
.bg-white {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white .section-title,
.bg-white .project-link {
    color: var(--text-dark);
}

.bg-white .section-desc,
.bg-white .intro-subheading,
.bg-white p {
    color: var(--text-muted-dark);
}

.bg-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light .section-title {
    color: var(--text-dark);
}

.bg-light .section-desc,
.bg-light p {
    color: var(--text-muted-dark);
}

.btn-menu-mobile {
    display: none !important;
}

.bg-dark {
    background-color: var(--bg-color);
    color: var(--text-main);
}

.bg-dark h2,
.bg-dark .section-title,
.bg-dark .step-content h3 {
    color: #FFFFFF !important;
}

.bg-dark .section-desc,
.bg-dark .step-content p,
.bg-dark p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Removido override de tagline para bg-dark para respeitar novas cores específicas */


/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Neon Arrow Button */
/* Neon Arrow Button Refactored */
.btn-neon-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: #0a0a0a !important;
    /* Garantir contraste */
    border-radius: 999px;
    padding: 16px 64px 16px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    border: none;
    overflow: hidden;
    text-decoration: none;
    transition: all .3s ease;

    /* Glow neon */
    box-shadow:
        0 0 20px rgba(122, 253, 41, 0.6),
        0 0 40px rgba(122, 253, 41, 0.4),
        0 0 60px rgba(122, 253, 41, 0.2);
}

.btn-neon-arrow .btn-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-neon-arrow .btn-icon i {
    font-size: 16px;
    color: #001419;
    transform: rotate(-45deg);
    transition: transform .5s ease;
}

.btn-neon-arrow:hover {
    box-shadow:
        0 0 25px rgba(122, 253, 41, 0.9),
        0 0 60px rgba(122, 253, 41, 0.6),
        0 0 90px rgba(122, 253, 41, 0.4);
}

.btn-neon-arrow:hover .btn-icon i {
    transform: rotate(0deg);
}

/* White Lightning Button (Secondary) */
.btn-white-lightning {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #0a0a0a !important;
    border-radius: 999px;
    padding: 16px 64px 16px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-white-lightning:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.btn-white-lightning .btn-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-white-lightning .btn-icon i {
    font-size: 16px;
    color: #ffffff;
}

/* Collaborate Button (Dynamic Icon Shift) */
.btn-collaborate {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #001419 !important;
    border-radius: 999px;
    padding: 16px 64px 16px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-collaborate .btn-text {
    position: relative;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-collaborate .btn-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-collaborate .btn-icon i {
    font-size: 16px;
    transition: transform 0.5s ease;
}

/* Hover State */
.btn-collaborate:hover {
    background: #f5f5f5;
    padding-left: 64px;
    padding-right: 32px;
}

.btn-collaborate:hover .btn-icon {
    right: calc(100% - 50px);
    transform: translateY(-50%) rotate(45deg);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(0, 20, 25, 0.8);
    backdrop-filter: blur(12px);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: url('line.svg') no-repeat center bottom;
    background-size: 100% 1px;
}

.header.scrolled {
    height: 80px;
    background: rgba(0, 20, 25, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
}

.header .btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    color: rgb(255, 255, 255);
}

.logo img {
    width: 200px;
    height: auto;
}

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

.nav-list li {
    position: relative;
}

.has-megamenu {
    position: static !important;
}

.nav-list a {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.nav-list a.active {
    background: #FFFFFF;
    color: #001419;
}

/* Megamenu Base */
.megamenu {
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 100%;
    max-width: var(--container-width);
    background: rgba(0, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.megamenu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 280px;
    gap: 40px;
}

.megamenu-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 24px;
    opacity: 0.8;
}

.megamenu-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.3s ease;
    margin-bottom: 8px;
    background: transparent !important;
    /* Sobrescreve estilo geral das pills do menu */
    border: none !important;
}

.megamenu-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.megamenu-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 2px;
}

.megamenu-text strong {
    display: block;
    font-size: 14px;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.megamenu-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.megamenu-featured {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-content strong {
    display: block;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.featured-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-simple {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.btn-simple:hover {
    gap: 12px;
}

.nav-list>li>a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.has-megamenu:hover>a i {
    transform: rotate(180deg);
}

/* Blog Megamenu Specifics */
.col-span-2 {
    grid-column: span 2;
}

.megamenu-links {
    list-style: none;
    padding: 0;
}

.megamenu-links li {
    margin-bottom: 12px;
}

.megamenu-links li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}

.megamenu-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px !important;
}

.megamenu-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.megamenu-post {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.3s ease;
    background: transparent !important;
}

.megamenu-post:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.megamenu-post img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.post-info strong {
    display: block;
    font-size: 14px;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.post-info span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 288px;
    background-image: url('quadriculado.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    z-index: 0;
    pointer-events: none;
}



.hero-container {
    text-align: left;
    width: 100%;
    max-width: var(--container-width);
    position: relative;
    z-index: 1;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Grupo 1: Processos, Depoimentos (e Hero) */
.hero .tagline,
.process .tagline,
.testimonials .tagline {
    color: rgb(207, 207, 210);
}

/* Grupo 2: Serviços, Projetos, FAQ, Blog */
.services .tagline,
.projects .tagline,
.faq .tagline,
.blog .tagline {
    color: rgb(84, 89, 95);
}

.tagline i {
    color: var(--primary-color);
    font-size: 16px;
}

.hero .tagline i {
    color: var(--primary-color);
}

.hero-title {
    font-size: 72px;
    font-weight: 500;
    line-height: 1.1;
    color: rgb(255, 255, 255);
    margin-bottom: 16px;
    max-width: 990px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 64px;
    max-width: 800px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.intro {
    text-align: left;
}

.intro-container {
    width: 100%;
}

.intro-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    line-height: 58px;
    font-weight: 400;
    margin-bottom: 48px;
    color: rgb(0, 20, 25);
}

.intro-subheading {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    line-height: 43px;
    font-weight: 400;
    color: #00141980;
}

/* ==========================================================================
   Common Section Styles
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    text-align: left;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-desc {
    font-size: 1.1rem;
    color: rgba(0, 20, 25, 0.6);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
/* Cor da tagline de serviços agora definida no grupo principal */

.services .section-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 43px;
    color: rgb(0, 20, 25);
    margin-bottom: 24px;
}

.services .section-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: rgba(0, 20, 25, 0.6);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-auto-rows: 1fr;
    gap: 32px;
}

.service-card {
    padding: 32px;
    border-radius: 30px;
    transition: background-color 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: none;
}

/* Efeito de subir removido */

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    margin-bottom: 0;
    opacity: 0.8;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
}

.service-card .pill {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    color: inherit;
    transition: all 0.3s ease;
}

.card-white .pill {
    background-color: rgba(0, 0, 0, 0.05);
}

.card-dark .pill {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.card-grey .pill {
    background-color: rgba(0, 0, 0, 0.08);
}

.card-green .pill {
    background-color: rgba(0, 0, 0, 0.1);
}

.service-card:hover .pill {
    opacity: 0.8;
}

/* Specific Card Spans */
.service-card:nth-child(1) {
    grid-column: span 4;
}

.service-card:nth-child(2) {
    grid-column: span 3;
}

.service-card:nth-child(3) {
    grid-column: span 2;
}

.service-card:nth-child(4) {
    grid-column: span 5;
}

.service-card:nth-child(5) {
    grid-column: span 4;
}

/* Card Colors */
.card-white {
    background-color: #FFFFFF;
    color: #000;
}

.card-dark {
    background-color: #001419;
    color: #FFFFFF;
}

.card-grey {
    background-color: #E6E6E1;
    color: #000;
}

.card-green {
    background-color: var(--primary-color);
    color: #000;
}

/* Service Icon Styles */
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 24px;
}

.service-icon i {
    font-size: 24px;
}

.icon-green {
    background-color: var(--primary-color);
    color: #000;
}

.icon-dark {
    background-color: #001419;
    color: #FFFFFF;
}

.service-card h3 {
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 20px;
    font-weight: 400;
    color: rgb(0, 20, 25);
}

.card-dark h3 {
    color: #FFFFFF;
}

.service-card p {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    opacity: 0.7;
    color: inherit;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:nth-child(n) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px;
        min-height: auto;
    }

    .service-card h3 {
        font-size: 28px;
    }
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process .section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    align-items: flex-end;
    max-width: 100%;
}

.process .tagline {
    grid-column: 1 / -1;
    margin-bottom: 24px;
}

.process .section-title {
    font-size: 48px;
    line-height: 58px;
    color: #FFFFFF;
    margin-bottom: 0;
    max-width: 80%;
}

.process .section-desc {
    font-size: 16px;
    line-height: 26px;
    color: #FFFFFFB3 !important;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 80px;
}

.step {
    position: relative;
    padding: 0 40px;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.step:first-child {
    padding-left: 0;
}

.step:last-child {
    border-right: none;
    padding-right: 0;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.step-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.step-progress {
    width: 60px;
}

.progress-track {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
}

.step-content {
    margin-top: 0;
}

.step-content h3 {
    font-size: 36px;
    margin-bottom: 32px;
    color: #FFFFFF;
    font-weight: 300;
}

.step-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-pills .pill {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
    display: inline-block;
}

.step-pills .pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.step-pills .pill:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.step-pills .pill.active {
    background: var(--primary-color);
    color: #000000;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 991px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .step,
    .step:first-child,
    .step:last-child {
        padding: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 60px;
    }

    .step:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ==========================================================================
   Projects Section — Bento Grid
   ========================================================================== */
.projects .section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    align-items: flex-end;
    max-width: 100%;
}

.projects .tagline {
    grid-column: 1 / -1;
    margin-bottom: 24px;
}

.projects .section-title {
    font-size: 48px;
    line-height: 58px;
    margin-bottom: 0;
    max-width: 80%;
}

.projects .section-desc {
    font-size: 16px;
    line-height: 26px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.bento-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.6s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

/* Item grande — ocupa 2 colunas na primeira linha */
.bento-large {
    grid-column: span 2;
    height: 400px;
}

/* Item alto — ocupa 2 linhas na coluna da direita */
.bento-tall {
    grid-row: span 2;
    height: 100%;
}

/* Item largo — ocupa 2 colunas na segunda linha */
.bento-wide {
    grid-column: span 2;
    height: 280px;
}

/* Itens padrão (sem classe especial) */
.bento-item:not(.bento-large):not(.bento-tall):not(.bento-wide) {
    height: 280px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq section.bg-light {
    padding: 128px 0;
}

.faq .section-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 43px;
    color: rgb(0, 20, 25);
    margin-bottom: 24px;
}

.faq .section-desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: rgba(0, 20, 25, 0.6);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: stretch;
}

.faq-info {
    display: flex;
    flex-direction: column;
}

.btn-dark-pill {
    background-color: #001419;
    color: #FFFFFF;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: none;
}

.btn-dark-pill:hover {
    background-color: #002d38;
    transform: translateY(-2px);
}

.faq-cta-card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 24px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-cta-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: #001419;
    margin-bottom: 0;
}

.faq-cta-card p {
    font-size: 14px;
    color: rgba(0, 20, 25, 0.6);
    line-height: 1.5;
    margin-bottom: 10px;
}

.faq-cta-card .btn {
    align-self: flex-start;
    margin-top: 10px;
    border-radius: 999px;
    padding: 12px 32px;
}

.faq-accordion .accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: #FFFFFF;
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    font-weight: 400;
    color: #001419;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    background: #001419;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}



.accordion-content {
    overflow: hidden;
}



.accordion-content p {
    padding: 24px;
}

@media (max-width: 1024px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .faq-cta-card {
        margin-top: 40px;
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials .section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    align-items: flex-end;
    max-width: 100%;
    margin-bottom: 60px;
}

.testimonials .tagline {
    grid-column: 1 / -1;
    margin-bottom: 24px;
}

.testimonials .section-title {
    font-size: 48px;
    line-height: 58px;
    margin-bottom: 0;
    max-width: 80%;
    color: #FFFFFF !important;
}

.testimonials .section-desc {
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.7) !important;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
}

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

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: #f8f8f5;
    border-radius: 24px;
    overflow: hidden;
    padding: 16px 16px 32px;
    border: none;
}

.blog-img {
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 0;
}

.blog-content h3 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.blog-content p {
    font-size: 14px;
    color: #717171;
    line-height: 1.5;
    margin-bottom: 24px;
}

.blog-content .project-link {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    max-width: 500px;
}

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

.btn-contact-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    /* Invisível inicialmente */
    padding: 24px;
    border-radius: 20px;
    text-decoration: none;
    color: #FFFFFF;
    transition: background-color 0.4s, border-color 0.4s;
    gap: 20px;
}

.btn-contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.btn-contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.btn-contact-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-contact-text strong {
    font-size: 18px;
    font-weight: 600;
}

.btn-contact-text span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.btn-contact-arrow {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-contact-card:hover .btn-contact-arrow {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .btn-contact-card {
        padding: 16px;
        gap: 16px;
    }

    .btn-contact-text strong {
        font-size: 16px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-color);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 60px;
}

.footer-top .logo img {
    width: 200px;
    height: auto;
}

.footer-top>p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 700px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-main);
    font-size: 20px;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-line {
    width: 100%;
    margin-bottom: 30px;
}

/* ==========================================================================
   Premium Mobile Experience
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

@media screen and (max-width: 991px) {
    :root {
        --section-padding: 80px 0;
    }

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

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--text-main);
        font-size: 24px;
        cursor: pointer;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: -1;
    }

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

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .logo {
        display: flex;
        justify-content: flex-start;
    }

    .logo img {
        height: 40px;
        width: auto !important;
        margin: 0 !important;
        display: block;
        object-position: left;
    }

    .nav-list a {
        font-size: 32px;
        font-weight: 300;
        background: none;
        border: none;
        padding: 10px 0;
    }

    .nav-list a.active {
        color: var(--primary-color);
        background: none;
    }

    .megamenu {
        display: none;
    }

    .has-megamenu a i {
        display: none;
    }

    .btn-menu-mobile {
        display: inline-flex !important;
        margin-top: 40px;
        padding: 16px 40px;
        font-size: 16px;
    }

    .intro-heading {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 24px;
    }

    .intro-subheading {
        font-size: 22px !important;
        line-height: 1.4 !important;
    }

    .hero {
        padding-top: 160px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 46px;
        line-height: 1.1;
        letter-spacing: -0.04em;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 1.5;
        margin-top: 24px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero-actions .btn,
    .btn-neon-arrow,
    .btn-white-lightning {
        width: fit-content;
    }

    .services-grid,
    .projects-grid,
    .blog-grid,
    .bento-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 24px;
    }

    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 300px !important;
    }

    .section-header {
        text-align: center;
        margin-bottom: 48px;
    }

    .projects .section-header,
    .process .section-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .projects .section-header .tagline,
    .process .section-header .tagline,
    .projects .section-header .section-title,
    .process .section-header .section-title {
        margin-bottom: 0;
    }

    .section-title {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    .section-desc {
        font-size: 16px;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 38px;
    }

    .section-title {
        font-size: 32px !important;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .btn-neon-arrow,
    .btn-white-lightning {
        padding: 14px 64px 14px 24px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
}