/* =========================================
           VARIÁVEIS & TEMA
   ========================================= */
:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --koda-green: #00E076;
    --koda-green-glow: rgba(0, 224, 118, 0.4);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;
    --glass-shadow: rgba(0, 0, 0, 0.5);

    --header-bg-top: rgba(240, 240, 240, 0.95);
    --header-text-top: #050505;
    --header-border-top: rgba(255, 255, 255, 0.8);
    --header-bg-scroll: rgba(5, 5, 5, 0.7);
    --header-text-scroll: #ffffff;
    --header-border-scroll: rgba(255, 255, 255, 0.1);

    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="light"] {
    --bg-color: #f0f2f5;
    --text-main: #111111;
    --text-muted: #555555;
    --koda-green: #00bf63;
    --koda-green-glow: rgba(0, 191, 99, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: rgba(0, 0, 0, 0.05);

    --header-bg-top: rgba(10, 10, 10, 0.95);
    --header-text-top: #ffffff;
    --header-border-top: rgba(0, 0, 0, 0.8);
    --header-bg-scroll: rgba(255, 255, 255, 0.7);
    --header-text-scroll: #050505;
    --header-border-scroll: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
}

p {
    line-height: 1.6;
    color: var(--text-muted);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

/* --- HEADER --- */
/* --- HEADER (COM EFEITO DE ENCOLHER/IMERSÃO) --- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    /* ESTADO INICIAL (NO TOPO - MAIOR) */
    width: 90%;
    /* Começa um pouco menor na largura para ficar elegante */
    max-width: 1300px;
    padding: 15px 50px;
    /* Mais alto e com mais respiro */

    background: var(--header-bg-top);
    color: var(--header-text-top);
    border: 1px solid var(--header-border-top);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    z-index: 1000;

    /* A MÁGICA ACONTECE AQUI: Transição suave de tudo */
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ESTADO QUANDO ROLA A TELA (COMPACTO) */
header.scrolled {
    width: 95%;
    /* Estica um pouco */
    padding: 12px 30px;
    /* Encolhe a altura */

    background: var(--header-bg-scroll);
    color: var(--header-text-scroll);
    border-color: var(--header-border-scroll);
    backdrop-filter: blur(25px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.logo {
    justify-self: start;
}

/* LOGO TAMBÉM VAI MUDAR DE TAMANHO */
.logo img {
    height: 45px;
    /* Logo grande no topo */
    width: auto;
    transition: all 0.4s ease;
    /* Animação suave */
}

/* Logo diminui quando rola */
header.scrolled .logo img {
    height: 30px;
    /* Tamanho original compacto */
}

/* ... O RESTANTE DO CSS DO HEADER (nav-links, controls, etc) PERMANECE IGUAL ... */
.nav-links {
    justify-self: center;
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    color: inherit;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--koda-green);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--koda-green);
}

.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.controls {
    display: flex;
    gap: 15px;
    align-items: center;
    border-right: 1px solid rgba(128, 128, 128, 0.3);
    padding-right: 20px;
    margin-right: 5px;
}

.icon-svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: 0.3s;
}

.control-btn:hover .icon-svg {
    stroke: var(--koda-green);
    transform: scale(1.1);
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: inherit;
}

.lang-menu {
    position: absolute;
    top: 40px;
    right: -10px;
    background: var(--header-bg-top);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 12px;
    padding: 10px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--header-text-top);
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
    font-size: 0.9rem;
    color: inherit;
}

.lang-option:hover {
    background: rgba(128, 128, 128, 0.1);
    color: var(--koda-green);
}

.mobile-toggle {
    display: none;
    color: inherit;
    font-size: 1.5rem;
    justify-self: end;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 1001;
    padding: 80px 30px;
    border-left: 1px solid var(--glass-border);
    transition: 0.4s var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    color: var(--text-main);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-family: 'Space Grotesk';
    font-weight: 700;
    color: inherit;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-muted);
}

.mobile-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.mob-ctrl-btn {
    padding: 10px 15px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: inherit;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- GERAL --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
    border-bottom: 1px solid var(--glass-border);
}

.section-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--koda-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: 0.3s;
    box-shadow: 0 10px 30px var(--glass-shadow);
}

.hover-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--koda-green);
    box-shadow: 0 10px 40px rgba(0, 224, 118, 0.15);
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 0 20px;
    pointer-events: none;
}

.hero-content>* {
    pointer-events: auto;
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 8rem);
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(180deg, var(--text-main) 20%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-glow {
    padding: 15px 40px;
    background: var(--koda-green);
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 0 20px var(--koda-green-glow);
    transition: 0.3s;
    display: inline-block;
    margin-top: 30px;
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--koda-green-glow);
    background: var(--text-main);
    color: var(--bg-color);
}

.btn-header-outline {
    padding: 10px 25px;
    background: transparent;
    color: inherit;
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid currentColor;
    transition: 0.3s;
    margin-top: 0;
    white-space: nowrap;
}

.btn-header-outline:hover {
    background: var(--koda-green);
    border-color: var(--koda-green);
    color: #000;
}

.btn-outline {
    padding: 15px 40px;
    background: transparent;
    color: var(--text-main);
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    display: inline-block;
    margin-top: 30px;
    margin-left: 10px;
}

.btn-outline:hover {
    border-color: var(--koda-green);
    color: var(--koda-green);
}

/* --- BANNER CONTRAST SECTION (FULL WIDTH) --- */
.banner-section {
    padding: 0;
    width: 100%;
    height: 80vh;
    /* Altura considerável */
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    /* Espaço do header */
}

/* O CANVAS DE PARTÍCULAS */
#banner-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Acima da imagem, abaixo do texto */
    pointer-events: none;
}

.banner-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 0;
    /* Full width sem bordas */
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Garante que preencha tudo */
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Overlay para escurecer levemente a imagem e destacar o botão */
.banner-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.banner-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    /* Bem acima de tudo */
    text-align: center;
    width: 100%;
}

.banner-cta {
    font-size: 1.2rem;
    padding: 20px 50px;
    z-index: 100;
    /* Garantia extra */
    position: relative;
}

/* ANIMAÇÃO DE PULSAR O BOTÃO */
@keyframes attention-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 224, 118, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(0, 224, 118, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 224, 118, 0.4);
    }
}

.banner-cta.pulsing-btn {
    animation: attention-pulse 2s infinite;
}

.banner-cta:hover {
    animation: none;
    background: #fff;
    color: #000;
    box-shadow: 0 0 60px rgba(0, 224, 118, 0.6);
    transform: scale(1.1);
}

/* --- SHOWCASE VIDEO --- */
.showcase-video {
    padding-top: 50px;
    /* Mais espaço para não colar no banner */
    padding-bottom: 150px;
    position: relative;
    z-index: 5;
    margin-top: 0;
}

.monitor-frame {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
    border-radius: 20px 20px 0 0;
    background: #000;
    overflow: hidden;
    box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    min-height: 400px;
}

.monitor-bar {
    height: 40px;
    background: #151515;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.r {
    background: #ff5f57;
}

.dot.y {
    background: #febc2e;
}

.dot.g {
    background: #28c840;
}

video {
    width: 100%;
    display: block;
    opacity: 0.95;
}

/* Custom Player */
.monitor-frame.playing .play-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--koda-green);
    background: rgba(0, 0, 0, 0.5);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 224, 118, 0.2);
}

.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: 0.3s;
}

.monitor-frame:hover .custom-controls {
    opacity: 1;
}

.play-btn {
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
}

.play-btn:hover {
    color: var(--koda-green);
}

.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--koda-green);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--koda-green-glow);
    transition: width 0.1s linear;
}

/* --- STATS & TIMELINE --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--koda-green);
    display: block;
    margin-bottom: 10px;
    font-family: 'Space Grotesk';
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.tl-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.tl-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--bg-color);
    border: 2px solid var(--koda-green);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: background 0.3s;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--glass-border);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--glass-border);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--glass-border);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--glass-border) transparent transparent;
}

.right::after {
    left: -10px;
}

.tl-content {
    padding: 20px 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    position: relative;
}

.tl-content h3 {
    color: var(--koda-green);
    margin-bottom: 5px;
}

.tl-content h4 {
    color: var(--text-main);
    margin-bottom: 10px;
}

/* --- SWIPER CAROUSEL --- */
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 80px;
    overflow: visible;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 500px;
    height: 400px;
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    filter: blur(2px) grayscale(80%);
    opacity: 0.6;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.swiper-slide-active {
    filter: blur(0) grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
    border-color: var(--koda-green);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.c-img-container {
    width: 100%;
    height: 60%;
    overflow: hidden;
}

.c-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-content {
    height: 40%;
    padding: 20px;
    background: var(--glass-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.c-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.c-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.c-btn {
    padding: 8px 20px;
    background: var(--koda-green);
    color: black;
    font-weight: 700;
    border-radius: 30px;
    font-size: 0.8rem;
    transition: 0.3s;
    cursor: pointer;
    text-transform: uppercase;
}

.c-btn:hover {
    background: white;
    transform: scale(1.05);
}

/* --- SERVIÇOS & FAQ --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.service-card h3 {
    color: var(--text-main);
    margin-bottom: 10px;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--koda-green);
}

.plus-card::after {
    content: '+';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--koda-green);
    transition: 0.3s;
    font-weight: bold;
}

.plus-card:hover::after {
    transform: rotate(90deg);
    color: white;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    cursor: pointer;
    padding: 30px;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--koda-green);
    font-weight: bold;
    transition: 0.3s;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-body {
    max-height: 200px;
    margin-top: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- MODAIS --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-color);
    border: 1px solid var(--koda-green);
    max-width: 600px;
    width: 100%;
    padding: 50px;
    border-radius: var(--radius-lg);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s var(--transition);
    box-shadow: 0 0 50px rgba(0, 224, 118, 0.2);
    max-height: 90vh;
    overflow-y: auto;
    color: var(--text-main);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.project-modal-content {
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    max-width: 1000px;
    width: 100%;
    padding: 0;
    border-radius: var(--radius-lg);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s var(--transition);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.modal-overlay.active .project-modal-content {
    transform: scale(1);
}

.pm-media {
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--glass-border);
    min-height: 400px;
}

.pm-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.pm-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pm-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1;
}

.pm-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    transition: 0.3s;
    z-index: 10;
    cursor: pointer;
}

.close-btn:hover {
    color: var(--koda-green);
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--koda-green);
}

.modal-list {
    margin: 30px 0;
    list-style: none;
    padding: 0;
}

.modal-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.modal-list li::before {
    content: '➔';
    color: var(--koda-green);
    margin-right: 15px;
}

/* --- FORMULÁRIO --- */
.form-group {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.form-label {
    display: block;
    color: #a1a1aa;
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-align: left;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #00E076;
    background-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 15px rgba(0, 224, 118, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select option {
    background-color: #1a1a1a;
    color: white;
    padding: 10px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* TRUST BAR & FOOTER */
.footer-trust {
    margin: 30px 0;
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-trust:hover {
    opacity: 1;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-icon {
    width: 16px;
    height: 16px;
    stroke: var(--koda-green);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-links a {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: none;
    transition: 0.3s;
}

.trust-links a:hover {
    color: var(--koda-green);
    text-decoration: underline;
}

footer {
    padding: 100px 0 40px;
    background: var(--bg-color);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 20px;
}

.social-links a {
    margin-right: 20px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--koda-green);
}

/* MARQUEE & TOAST */
.marquee-container {
    background: var(--bg-color);
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.tech-icon {
    font-size: 3rem;
    color: var(--text-muted);
    font-weight: 900;
    transition: 0.3s;
    cursor: default;
    opacity: 0.3;
}

.tech-icon:hover {
    color: var(--koda-green);
    text-shadow: 0 0 20px var(--koda-green-glow);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--bg-color);
    color: var(--text-main);
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid var(--glass-border);
    position: fixed;
    z-index: 10000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 1rem;
    border-left: 4px solid var(--koda-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* WHATSAPP FLOAT (Z-INDEX INFINITO) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    z-index: 9999999 !important;
    /* ACIMA DE TUDO */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(37, 211, 102, 0.6);
}

.whatsapp-float.pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* COMPARE GRID */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.compare-img-container {
    text-align: center;
}

@media (max-width: 1024px) {
    header {
        display: flex;
        justify-content: space-between;
    }

    .nav-links,
    .header-right {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .timeline::after {
        left: 31px;
    }

    .tl-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .tl-item::after {
        left: 21px;
    }

    .left::before,
    .right::before {
        left: 60px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--glass-border) transparent transparent;
    }

    .right {
        left: 0%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    header {
        padding: 15px 20px;
        width: 95%;
    }

    .hero h1 {
        font-size: 13vw;
        line-height: 1.1;
    }

    .swiper-slide {
        width: 280px;
        height: 350px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-modal-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
        border-radius: 16px;
    }

    .pm-media {
        min-height: 250px;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .pm-info {
        padding: 30px 20px;
    }

    .pm-title {
        font-size: 1.8rem;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }

    .compare-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-trust {
        flex-direction: column;
        gap: 15px;
    }

    #scheduleForm>div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}