/* =======================================================
    VARIÁVEIS 
======================================================= */
:root {
    --black: #000000;
    --bg-secondary: #0e0e0f;
    --bg-card: #141418;

    --primary: #7c3aed;
    --primary-neon: #a855f7;
    --primary-dark: #4c1d95;

    --secondary: #22d3ee;
    --secondary-soft: #67e8f9;

    --text-main: #f8fafc;
    --text-light: #cbd5f5;
    --text-muted: #9f97a1;
    --text-dark: #6b7280;

    --overlay: rgba(0, 0, 0, 0.5);
    --glass: rgba(0, 0, 0, 0.4);
    --border-neon: rgba(168, 85, 247, 0.6);
}

/* =======================================================
   RESET E CONFIGURAÇÕES GERAIS
======================================================= */
* {
    box-sizing: border-box;
}

html, body{
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    background-color: rgb(0, 0, 0);
}

/* Responsividade imagens */
img {
    max-width: 100%;
    height: auto;
}


/* =======================================================
   SEÇÕES PRINCIPAIS (CONTENT / PARALLAX)
======================================================= */

.content {
    background: rgb(14, 14, 15);
    padding: 80px 20px;
    min-height: 100vh;
}

.hero {
    height: 50vh;
    background-image: url("../img/AdobeStock_1008056342.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
    background-attachment: fixed;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero h1 {
    position: relative;
    z-index: 1;
    color: rgb(255, 255, 255);
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* =======================================================
   NAVBAR
======================================================= */

.navbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    align-items: center;
    background-color: black;
    border-bottom: 1px solid rgba(178, 85, 215, 0.613);
    z-index: 1000;
    transition: top 0.3s ease;
}

.navbar img {
    width: 230px;
}

.navbar-links {
    height: 100%;
}

.navbar-links ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    list-style: none;
}

.navbar-links li a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #9f97a1;
    font-weight: 500;
}

.navbar-links li:hover {
    background-color: #582fc938;
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    width: 90%;
    height: 3px;
    background: linear-gradient(162deg,
            rgb(124, 116, 129) 0%,
            rgba(59, 52, 69, 1) 100%);
    border-radius: 10px;
}


/* =======================================================
   RESPONSIVIDADE
======================================================= */

@media (max-width: 800px) {

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar-links ul {
        flex-direction: column;
        width: 100%;
    }

    .navbar-links ul li {
        text-align: center;
    }

    .navbar-links ul li a {
        padding: .5rem 1rem;
    }

    .navbar-links.active {
        display: flex;
    }

    /* Cards mobile */
    .card, 
    .cardhome {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    /* Servicos e Hero fix mobile */
    .hero,
    .servicos {
        background-attachment: scroll;
    }

    /* Slider circular mobile */
    .circle-wrapper {
        width: 100%;
        max-width: 300px;
        aspect-ratio: 1/1;
        height: auto;
        min-width: auto;
    }

    /* Carrossel mobile */
    .slide {
        min-width: 200px;
    }
}


/* =======================================================
   COMPONENTES (CARDS / TEXTO / IMAGENS)
======================================================= */

.faixa {
  width: 100%;
  overflow: hidden;
  background-color: #0f172a;
  color: rgb(255, 255, 255);
  padding: 10px 0;
}

.faixa-track {
  display: flex;
  width: max-content;
  animation: infinite-marquee 18s linear infinite;
  will-change: transform;
}

.faixa span {
  font-size: 20px;
  white-space: nowrap;
  margin-right: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes infinite-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.img {
    width: 300px;
    border-radius: 200px;
}
.cardhome {
    background: rgba(5, 0, 10, 0.8);
    backdrop-filter: blur(2px);
    display: flex;
    gap: 40px;
    padding: 20px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    color: rgb(255, 255, 255);
}

.card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 30px;
    padding: 60px 20px;

    background: transparent;
}

.text {
    text-align: center;
    color: white;
}

p {
    text-align: justify;

    background: linear-gradient(180deg,
            rgb(247, 245, 255) 0%,
            rgb(163, 127, 163) 100%);

    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.squad {
    padding: 25px;
    border-radius: 20px;

    background: rgba(10, 0, 20, 0.6);
    backdrop-filter: blur(6px);

    text-align: center;

    transition: 0.3s;
    border: 1px solid transparent;

    position: relative;
    overflow: hidden;
}
.squad h1 {
    color: var(--primary-neon);
    margin-bottom: 10px;
}
.squad:hover {
    transform: translateY(-10px) scale(1.03);
    border: 1px solid var(--primary-neon);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}
.squad p {
    font-size: 0.9rem;
    text-align: center;
}
.squad::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(168, 85, 247, 0.2),
        transparent
    );

    opacity: 0;
    transition: 0.3s;
}

.squad:hover::before {
    opacity: 1;
}
/* =======================================================
   SERVIÇOS
======================================================= */

.servicos {
    padding: 80px 20px;
    background: var(--bg-secondary);
    text-align: center;
    background-image: url("../img/AdobeStock_1008056342.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    position: relative;
}

.servicos h1 {
    color: var(--text-main);
}

.servicos > .sub {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.sub {
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* GRID */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CARD */
.servico-card {
    background: rgba(10, 0, 20, 0.6);
    backdrop-filter: blur(6px);

    border-radius: 20px;
    padding: 25px;

    transition: 0.3s;
    border: 1px solid transparent;

    text-align: center;
}

/* Ícone */
.servico-card lord-icon {
    margin-bottom: 10px;
    background: rgba(10, 0, 20, 0.4);
    backdrop-filter: blur(10px);
}

/* Título */
.servico-card h2 {
    margin: 10px 0;
    color: var(--primary-neon);
}

/* Texto */
.servico-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Lista */
.servico-card ul {
    list-style: none;
    padding: 0;
}

.servico-card ul li {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 5px 0;
}

/* HOVER (efeito neon) */
.servico-card:hover {
    transform: translateY(-10px) scale(1.03);
    border: 1px solid var(--primary-neon);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}
.servicos::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.8),
        rgba(0,0,0,0.6),
        rgba(124, 58, 237, 0.3)
    );

    z-index: 0;
}
.servicos h1,
.servicos p,
.servicos .servicos-grid {
    position: relative;
    z-index: 1;
}

/* =======================================================
   CURSOR CUSTOMIZADO
======================================================= */

.cursor {
    position: fixed;
    z-index: 999;
    pointer-events: none;

    width: 10px;
    height: 10px;
    border-radius: 50%;

    background: rgb(149, 229, 245);

    transform: translate(-50%, -50%);

    transition:
        width 0.2s ease,
        height 0.2s ease,
        opacity 0.3s ease,
        transform 0.2s ease;
}

.cursor.active {
    width: 40px;
    height: 40px;
    mix-blend-mode: difference;
}

.cursor.hidden {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
}


/* =======================================================
   SLIDER CIRCULAR (HERO)
======================================================= */

.circle-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    min-width: 350px;
}

.circle-mask {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.slider {
    display: flex;
    height: 100%;
    width: calc(var(--loop-item-count, 10) * 100%);
    animation: infinite-image-loop 26s linear infinite;
    will-change: transform;
}

.slider img {
    width: calc(100% / var(--loop-item-count, 10));
    height: 100%;
    object-fit: cover;
    flex: 0 0 calc(100% / var(--loop-item-count, 10));
}

@keyframes infinite-image-loop {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.neon-border {
    position: absolute;
    top: -10px;
    left: -10px;

    width: calc(100% + 20px);
    height: calc(100% + 20px);

    border-radius: 50%;
    z-index: 1;
    pointer-events: none;

    background: conic-gradient(transparent,
            #6dd6d6,
            transparent,
            #a40ea4,
            transparent);

    animation: rotate 20s linear infinite;
    filter: blur(5px);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* =======================================================
   CARROSSEL HORIZONTAL
======================================================= */

/* Container Principal */
/* Container do Carrossel */
.carrossel {
    display: flex;
    gap: 30px;
    padding: 80px 40px; /* Aumentamos o respiro para o movimento */
    overflow: hidden;
    background-color: transparent; /* Deixa o fundo do site aparecer */
    align-items: center;
}

.carrossel-track {
    display: flex;
    align-items: center;
    gap: inherit;
    width: max-content;
    animation: infinite-carousel-loop 32s linear infinite;
    will-change: transform;
}

.faixa:hover .faixa-track,
.circle-mask:hover .slider,
.carrossel:hover .carrossel-track {
    animation-play-state: paused;
}

@keyframes infinite-carousel-loop {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Cada Slide */
.slide {
    min-width: 300px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 2px solid rgba(168, 85, 247, 0.3); /* Borda roxa sutil */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    cursor: pointer;
}

/* Imagem */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8); /* Fica um pouco escura para destacar o hover */
    transition: 0.5s;
}

/* Movimento Zig-Zag */
.slide:nth-child(odd) { transform: translateY(-20px); }
.slide.baixo { transform: translateY(20px); }

/* HOVER: Apenas na Imagem/Slide */
.slide:hover {
    transform: scale(1.1) translateY(0) !important;
    z-index: 10;
    border-color: #a855f7; /* Roxo vibrante */
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); /* Glow Roxo */
}

.slide:hover img {
    filter: brightness(1.1);
}
/* =======================================================
   BENTO GRID (QUEM SOMOS)
======================================================= */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.bento-item {
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-neon);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
    background: rgba(25, 25, 35, 0.9);
}

/* Ajustes de Posicionamento */
.main-about { grid-column: span 2; grid-row: span 2; min-height: 300px; }
.mission { grid-column: span 2; }
.vision { grid-column: span 1; }
.values { grid-column: span 1; }

/* Estilização Interna */
.bento-item h3 { color: var(--secondary); margin-bottom: 10px; }
.bento-item h2 { color: var(--primary-neon); font-size: 2rem; }

.bento-badge {
    background: var(--primary-dark);
    color: var(--text-main);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    width: fit-content;
    margin-top: 20px;
}

.values-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.values-tags span {
    font-size: 0.75rem;
    background: rgba(124, 58, 237, 0.1);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.team-section {
    margin-top: auto; /* Joga para o final do card */
    padding-top: 20px;
}

.team-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.avatar-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
    margin-left: -12px; /* Faz as fotos se sobreporem */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avatar-wrapper:first-child { margin-left: 0; }

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    object-fit: cover;
}

.avatar-wrapper:hover {
    transform: translateY(-5px);
    z-index: 10;
}

/* Tooltip com o nome da pessoa */
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.avatar-wrapper:hover .tooltip {
    opacity: 1;
    bottom: 110%;
}

.avatar-wrapper.plus {
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid var(--bg-card);
}

.team-desc {
    font-size: 0.75rem !important;
    color: var(--text-muted);
    margin: 0;
}

/* Responsividade Bento */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .main-about, .mission, .vision, .values {
        grid-column: span 2;
    }
}
/* =======================================================
   ESTILO DO MODAL (POPUP)
======================================================= */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000; /* Acima de tudo, inclusive da navbar */
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid var(--primary-neon);
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover { color: var(--secondary); }

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

#modal-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-neon);
    object-fit: cover;
}

.modal-text h2 { color: var(--primary-neon); margin: 0; }
.modal-text h4 { color: var(--secondary); margin: 5px 0 15px; }
.modal-text p { color: var(--text-light); text-align: center; }

/* =======================================================
   ESTILO FOOTER (RODAPÉ) TECH
======================================================= */

.main-footer {
    background: rgba(15, 23, 42, 0.9); /* Azul marinho profundo semi-transparente */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    padding: 60px 20px 20px;
    margin-top: 50px; /* Dá um espaço do resto do site */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Ajusta para mobile */
    gap: 30px;
}

.footer-brand .footer-logo {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
    background: linear-gradient(90deg, #fff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: #B2BAB2;
    font-size: 0.9rem;
}

.footer-label {
    display: block;
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-align: center;
}

.contato-icons {
    display: flex;
    gap: 25px;
}

.icon-link {
    transition: transform 0.3s ease;
}

.icon-link:hover {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(178, 186, 178, 0.6);
    font-size: 0.8rem;
}

/* Responsividade: No celular, os itens ficam um embaixo do outro */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: 10px;
    }
}

/* =======================================================
   REFINAMENTO INSTITUCIONAL
======================================================= */

@font-face {
    font-family: "Citizen Sans";
    src: url("../fonts/CitizenSans-Public.otf") format("opentype");
    font-display: swap;
}

:root {
    --black: #071016;
    --bg-secondary: #f5f8fb;
    --bg-card: #ffffff;
    --primary: #155e75;
    --primary-neon: #0f766e;
    --primary-dark: #0b3b4a;
    --secondary: #6a25eb;
    --secondary-soft: #8ecae6;
    --text-main: #10202a;
    --text-light: #38515e;
    --text-muted: #647681;
    --text-dark: #10202a;
    --overlay: rgba(6, 18, 27, 0.62);
    --glass: rgba(255, 255, 255, 0.86);
    --border-neon: rgba(21, 94, 117, 0.22);
    --surface: #ffffff;
    --surface-soft: #eef5f8;
    --line: rgba(16, 32, 42, 0.12);
    --shadow: 0 18px 45px rgba(7, 16, 22, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(180deg, #f8fbfd 0%, #eef5f8 38%, #f7fafc 100%);
    color: var(--text-main);
    font-family: "Citizen Sans", Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(21, 94, 117, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(21, 94, 117, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
}

img {
    display: block;
}

h1,
h2,
h3,
h4 {
    letter-spacing: 0;
    line-height: 1.12;
}

p {
    color: var(--text-light);
    background: none;
    -webkit-text-fill-color: currentColor;
    text-align: left;
}

.navbar {
    min-height: 78px;
    justify-content: space-between;
    padding: 0 7vw;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 35px rgba(7, 16, 22, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar img {
    width: 150px !important;
    max-height: 58px;
    object-fit: contain;
}

.navbar-links li a {
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-links li:hover {
    background: transparent;
}

.navbar-links li a:hover {
    color: var(--primary);
    background: rgba(21, 94, 117, 0.09);
}

.toggle-button .bar {
    background: var(--primary);
}

.hero {
    min-height: 72vh;
    height: auto;
    padding: 150px 24px 86px;
    background-position: center;
    background-attachment: fixed;
    justify-content: flex-start;
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(7, 16, 22, 0.82) 0%, rgba(7, 16, 22, 0.62) 45%, rgba(7, 16, 22, 0.25) 100%),
        linear-gradient(180deg, rgba(7, 16, 22, 0.15), rgba(7, 16, 22, 0.62));
}

.hero h1 {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(2.6rem, 8vw, 6.6rem);
    font-weight: 800;
    text-align: left;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.faixa {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 12px 0;
    border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.faixa span {
    font-size: clamp(0.78rem, 2vw, 1rem);
    font-weight: 800;
    letter-spacing: 1.2px;
}

.cardhome {
    max-width: 1180px;
    margin: -42px auto 0;
    padding: clamp(28px, 6vw, 62px);
    background: var(--surface);
    color: var(--text-main);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 3;
}

.cardhome .text,
.content > .text,
body > .text {
    max-width: 760px;
    margin-inline: auto;
    text-align: left;
}

.text {
    color: var(--text-main);
}

.text h1,
.servicos h1 {
    color: var(--text-main);
    font-size: clamp(2rem, 5vw, 3.8rem);
    margin-bottom: 14px;
}

.text p,
.cardhome p,
.sub {
    color: var(--text-light);
    font-size: 1rem;
}

.circle-wrapper {
    width: min(38vw, 360px);
    height: min(38vw, 360px);
    min-width: 280px;
}

.circle-mask {
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(7, 16, 22, 0.16);
}

.neon-border {
    top: -8px;
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(21, 94, 117, 0.75), rgba(37, 99, 235, 0.55), rgba(142, 202, 230, 0.5));
    filter: blur(0);
    opacity: 0.55;
}

.card {
    max-width: 1180px;
    margin: 0 auto;
    padding: 76px 20px 54px;
}

.squad,
.servico-card,
.bento-item {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(7, 16, 22, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.squad {
    padding: 30px;
    text-align: left;
}

.squad::before {
    display: none;
}

.squad h1,
.servico-card h2,
.bento-item h2 {
    color: var(--primary);
}

.squad p,
.servico-card p,
.team-desc {
    color: var(--text-light);
    text-align: left;
}

.squad:hover,
.servico-card:hover,
.bento-item:hover {
    transform: translateY(-6px);
    border-color: rgba(21, 94, 117, 0.34);
    box-shadow: 0 24px 55px rgba(7, 16, 22, 0.14);
    background: #ffffff;
}

.carrossel {
    gap: 18px;
    padding: 72px max(24px, calc((100vw - 1180px) / 2));
    background: #10202a;
}

.slide {
    min-width: 280px;
    height: 190px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.slide:hover {
    border-color: rgba(142, 202, 230, 0.75);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
}

body > .text {
    padding: 74px 24px 18px;
}

.content {
    min-height: auto;
    background: var(--surface-soft);
    padding: 88px 20px;
}

.bento-grid {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 22px;
    padding: 0;
}

.main-about,
.values {
    grid-column: auto;
    grid-row: auto;
}

.values {
    align-self: stretch;
}

.bento-item h3 {
    color: var(--secondary);
}

.values-tags span {
    color: var(--primary-dark);
    background: rgba(21, 94, 117, 0.08);
    border: 1px solid rgba(21, 94, 117, 0.16);
    border-radius: 6px;
    font-weight: 700;
}

.avatar-wrapper img,
.avatar-wrapper.plus {
    border-color: #ffffff;
}

.tooltip {
    background: var(--primary-dark);
    border-radius: 4px;
}

.servicos {
    padding: 96px 20px;
    background-position: center;
}

.servicos::before {
    background:
        linear-gradient(90deg, rgba(245, 248, 251, 0.96), rgba(245, 248, 251, 0.88)),
        rgba(255, 255, 255, 0.82);
}

.servicos-grid {
    max-width: 1120px;
    margin: 42px auto 0;
}

.servico-card {
    padding: 34px 28px;
    text-align: left;
}

.servico-card lord-icon {
    background: rgba(21, 94, 117, 0.08);
    border-radius: 8px;
}

.servico-card ul li {
    color: var(--text-main);
    border-top: 1px solid var(--line);
    padding: 10px 0;
    margin: 0;
}

.cursor {
    background: rgba(37, 99, 235, 0.45);
}

.main-footer {
    margin-top: 0;
    background: #071016;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.footer-brand p,
.footer-bottom,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 900px) {
    .navbar {
        padding: 0 22px;
    }

    .hero {
        min-height: 64vh;
        background-attachment: scroll;
    }

    .cardhome {
        margin-top: 0;
        border-radius: 0;
        border-inline: 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .main-about,
    .values {
        grid-column: auto;
    }
}

@media (max-width: 800px) {
    .navbar {
        align-items: flex-start;
        min-height: 70px;
    }

    .navbar-links {
        padding: 0 0 14px;
    }

    .navbar-links ul li {
        text-align: left;
    }

    .navbar-links ul li a {
        padding: 0.75rem 0;
    }

    .toggle-button {
        top: 1.5rem;
        right: 1.5rem;
    }

    .cardhome,
    .card {
        text-align: left;
    }

    .circle-wrapper {
        width: min(100%, 320px);
        height: auto;
        min-width: 0;
        aspect-ratio: 1 / 1;
    }

    .slide {
        min-width: 220px;
        height: 160px;
    }
}

/* =======================================================
   AJUSTE DE PALETA - TEMA ESCURO ORIGINAL
======================================================= */

:root {
    --black: #000000;
    --bg-secondary: #0e0e14;
    --bg-card: #15111d;
    --primary: #7c3aed;
    --primary-neon: #a855f7;
    --primary-dark: #4c1d95;
    --secondary: #22d3ee;
    --secondary-soft: #67e8f9;
    --text-main: #f8fafc;
    --text-light: #d7d3e8;
    --text-muted: #a9a1b7;
    --text-dark: #f8fafc;
    --overlay: rgba(0, 0, 0, 0.58);
    --glass: rgba(16, 12, 24, 0.78);
    --border-neon: rgba(168, 85, 247, 0.42);
    --surface: #121018;
    --surface-soft: #0b0b10;
    --line: rgba(168, 85, 247, 0.2);
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
}

body {
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 30%),
        linear-gradient(180deg, #050507 0%, #0e0e14 45%, #050507 100%);
    color: var(--text-main);
}

body::before {
    background:
        linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
}

p,
.text p,
.cardhome p,
.sub,
.squad p,
.servico-card p,
.team-desc {
    color: var(--text-light);
}

.navbar {
    background: rgba(0, 0, 0, 0.88);
    border-bottom-color: rgba(168, 85, 247, 0.42);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.42);
}

.navbar-links li a {
    color: var(--text-muted);
}

.navbar-links li a:hover {
    color: #ffffff;
    background: rgba(124, 58, 237, 0.2);
}

.toggle-button .bar {
    background: linear-gradient(162deg, #a855f7 0%, #22d3ee 100%);
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(8, 5, 14, 0.66) 48%, rgba(76, 29, 149, 0.24) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.7));
}

.faixa {
    background: #0f172a;
    border-block-color: rgba(168, 85, 247, 0.32);
}

.cardhome,
.squad,
.servico-card,
.bento-item {
    background: rgba(15, 12, 22, 0.9);
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
}

.cardhome {
    color: var(--text-main);
}

.text,
.text h1,
.servicos h1 {
    color: var(--text-main);
}

.squad h1,
.servico-card h2,
.bento-item h2 {
    color: var(--primary-neon);
}

.squad:hover,
.servico-card:hover,
.bento-item:hover {
    background: rgba(20, 16, 30, 0.96);
    border-color: rgba(168, 85, 247, 0.56);
    box-shadow: 0 24px 58px rgba(124, 58, 237, 0.22);
}

.neon-border {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.78), rgba(34, 211, 238, 0.58), rgba(124, 58, 237, 0.48));
}

.carrossel {
    background: #08080d;
}

.slide {
    border-color: rgba(168, 85, 247, 0.28);
}

.slide:hover {
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow: 0 24px 55px rgba(168, 85, 247, 0.22);
}

.content {
    background: var(--surface-soft);
}

.bento-item h3 {
    color: var(--secondary);
}

.values-tags span {
    color: var(--text-light);
    background: rgba(124, 58, 237, 0.16);
    border-color: rgba(168, 85, 247, 0.34);
}

.tooltip {
    background: var(--primary);
}

.servicos::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.84), rgba(9, 7, 14, 0.76), rgba(76, 29, 149, 0.36));
}

.servico-card lord-icon {
    background: rgba(124, 58, 237, 0.16);
}

.servico-card ul li {
    color: var(--text-light);
    border-top-color: rgba(168, 85, 247, 0.18);
}

.cursor {
    background: rgba(34, 211, 238, 0.65);
}

.main-footer {
    background: #050507;
    border-top-color: rgba(168, 85, 247, 0.22);
}

.faixa-home-hidden {
    display: none;
}

.faixa {
    margin-top: 24px;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.24), 0 18px 40px rgba(0, 0, 0, 0.24);
}

.faixa:not(.faixa-home-hidden) span {
    color: transparent;
    font-size: 0;
}

.faixa:not(.faixa-home-hidden) span::before {
    color: #ffffff;
    font-size: clamp(0.78rem, 2vw, 1rem);
    letter-spacing: 1.2px;
}

.faixa:not(.faixa-home-hidden) span:nth-child(odd)::before {
    content: "EMPREENDEDORISMO - INOVAÇÃO • TECNOLOGIA - FINANÇAS • EMPREENDEDORISMO - INOVAÇÃO •";
}

.faixa:not(.faixa-home-hidden) span:nth-child(even)::before {
    content: "TECNOLOGIA - FINANÇAS • EMPREENDEDORISMO - INOVAÇÃO • EMPREENDEDORISMO - INOVAÇÃO";
}

body::before {
    background: none;
}

.cardhome,
.content {
    position: relative;
    overflow: hidden;
}

.cardhome > *,
.content > * {
    position: relative;
    z-index: 1;
}

.cardhome::before,
.content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(168, 85, 247, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(34, 211, 238, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 18% 18%, black, transparent 52%);
    -webkit-mask-image: radial-gradient(circle at 18% 18%, black, transparent 52%);
}

.content::before {
    opacity: 0.75;
    mask-image: radial-gradient(circle at 82% 12%, black, transparent 48%);
    -webkit-mask-image: radial-gradient(circle at 82% 12%, black, transparent 48%);
}

@media (min-width: 1000px) {
    .hero {
        min-height: 64vh;
        padding-bottom: 104px;
    }

    .cardhome {
        margin-top: -76px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
        gap: clamp(30px, 4vw, 58px);
        min-height: 360px;
        overflow: visible;
    }

    .cardhome .text {
        align-self: center;
    }

    .circle-wrapper {
        justify-self: end;
        align-self: center;
        width: min(28vw, 340px);
        height: min(28vw, 340px);
        min-width: 300px;
        transform: translateY(-8px);
    }

    .circle-mask {
        border-radius: 10px;
    }

    .neon-border {
        opacity: 0.72;
    }
}

.hero,
.servicos {
    --parallax-offset: 0px;
    background-position: center calc(50% + var(--parallax-offset));
    will-change: background-position;
}

.hero {
    background-position: center calc(42% + var(--parallax-offset));
}

@media (prefers-reduced-motion: reduce) {
    .hero,
    .servicos {
        --parallax-offset: 0px !important;
        background-position: center;
        will-change: auto;
    }
}

/* =======================================================
   MENU MOBILE SUAVE
======================================================= */

@media (max-width: 800px) {
    .navbar-links {
        display: block;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-8px);
        transition:
            max-height 0.36s ease,
            opacity 0.26s ease,
            transform 0.32s ease,
            padding 0.32s ease;
        padding: 0;
        pointer-events: none;
    }

    .navbar-links.active {
        display: block;
        max-height: 260px;
        opacity: 1;
        transform: translateY(0);
        padding: 0 0 14px;
        pointer-events: auto;
    }

    .navbar-links ul {
        transform: translateY(-6px);
        transition: transform 0.32s ease;
    }

    .navbar-links.active ul {
        transform: translateY(0);
    }
}

/* =======================================================
   CONTATO / CHATBOT
======================================================= */

.chat-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: 90px 7%;
    background: #08080d;
    color: var(--text-main);
}

.chat-contact-info h1 {
    margin: 0 0 18px;
    color: var(--text-main);
}

.chat-contact-info p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    color: var(--text-light);
}

.contact-list span {
    padding: 14px 16px;
    border: 1px solid rgba(168, 85, 247, 0.24);
    border-radius: 8px;
    background: rgba(15, 12, 22, 0.74);
}

.chatbot-card {
    border: 1px solid rgba(168, 85, 247, 0.32);
    border-radius: 8px;
    background: rgba(15, 12, 22, 0.94);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    overflow: hidden;
}

.chatbot-header,
.chatbot-form,
.chatbot-visitor {
    display: flex;
    gap: 10px;
    padding: 14px;
}

.chatbot-header {
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(168, 85, 247, 0.22);
}

.chatbot-header > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.8);
}

.chatbot-header select,
.chatbot-visitor input,
.chatbot-form input {
    min-width: 0;
    border: 1px solid rgba(168, 85, 247, 0.28);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--text-main);
    outline: none;
}

.chatbot-header select {
    padding: 9px 10px;
}

.chatbot-visitor {
    border-bottom: 1px solid rgba(168, 85, 247, 0.18);
}

.chatbot-visitor input,
.chatbot-form input {
    flex: 1;
    padding: 12px 13px;
}

.chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 300px;
    max-height: 380px;
    padding: 18px;
    overflow-y: auto;
}

.chat-message {
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 8px;
    line-height: 1.5;
    color: var(--text-main);
}

.chat-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(34, 211, 238, 0.52));
}

.chat-message.bot,
.chat-message.ai {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.18);
}

.chatbot-form {
    border-top: 1px solid rgba(168, 85, 247, 0.22);
}

.chatbot-form button,
.chatbot-end,
.chatbot-clear {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    background: var(--primary);
}

.chatbot-form button {
    padding: 0 18px;
}

.chatbot-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 14px 14px;
}

.chatbot-end,
.chatbot-clear {
    padding: 11px 14px;
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.28);
}

.chatbot-clear {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
    .chat-contact {
        grid-template-columns: 1fr;
        padding: 70px 20px;
    }

    .chatbot-visitor {
        flex-direction: column;
    }

    .chatbot-actions {
        grid-template-columns: 1fr;
    }
}

/* =======================================================
   REFINO RESPONSIVO FINAL
======================================================= */

@media (pointer: coarse) {
    .cursor {
        display: none !important;
    }
}

@media (max-width: 700px) {
    body {
        font-size: 15px;
    }

    .navbar {
        min-height: 64px;
        padding: 0 18px;
    }

    .navbar img {
        width: 112px !important;
        max-height: 48px;
    }

    .navbar-links.active {
        max-height: 340px;
    }

    .navbar-links ul {
        width: 100%;
        gap: 4px;
    }

    .navbar-links li a {
        width: 100%;
        padding: 0.82rem 0;
        font-size: 0.96rem;
    }

    .hero {
        min-height: 58vh;
        padding: 118px 18px 62px;
        background-position: center;
    }

    .hero h1 {
        width: 100%;
        font-size: clamp(2.35rem, 14vw, 4.5rem);
        line-height: 1;
    }

    .faixa {
        margin-top: 0;
        padding: 9px 0;
    }

    .faixa span {
        margin-right: 26px;
    }

    .cardhome {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
        padding: 34px 20px;
        margin: 0;
        border-radius: 0;
    }

    .cardhome .text,
    .content > .text,
    body > .text {
        width: 100%;
        max-width: none;
    }

    .text h1,
    .servicos h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .text p,
    .cardhome p,
    .sub {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    .circle-wrapper {
        align-self: center;
        width: min(82vw, 310px);
        min-width: 0;
    }

    .card {
        grid-template-columns: 1fr;
        padding: 42px 18px;
        gap: 16px;
    }

    .squad {
        padding: 22px;
    }

    .carrossel {
        padding: 44px 18px;
        gap: 14px;
    }

    .carrossel-track {
        gap: 14px;
        animation-duration: 28s;
    }

    .slide {
        min-width: min(72vw, 240px);
        height: 150px;
        border-radius: 8px;
    }

    .slide:nth-child(odd) {
        transform: translateY(-10px);
    }

    .slide.baixo {
        transform: translateY(10px);
    }

    body > .text {
        padding: 48px 20px 12px;
    }

    .content {
        padding: 62px 20px;
    }

    .bento-grid,
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .bento-item,
    .servico-card {
        padding: 24px 20px;
    }

    .team-avatars {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .servicos {
        padding: 70px 20px;
        background-attachment: scroll;
    }

    .chat-contact {
        padding: 58px 16px;
        gap: 28px;
    }

    .contact-list span {
        padding: 12px 14px;
        overflow-wrap: anywhere;
    }

    .chatbot-header {
        align-items: flex-start;
        gap: 12px;
        flex-direction: column;
    }

    .chatbot-header select {
        width: 100%;
    }

    .chatbot-messages {
        min-height: 260px;
        max-height: 340px;
        padding: 14px;
    }

    .chat-message {
        max-width: 92%;
        font-size: 0.94rem;
    }

    .chatbot-form {
        flex-direction: column;
    }

    .chatbot-form button {
        min-height: 44px;
        padding: 12px 18px;
    }

    .footer-content {
        align-items: flex-start;
        text-align: left;
    }

    .contato-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .slide {
        min-width: 78vw;
    }

    .chatbot-card {
        margin-inline: -4px;
    }
}
