html, body {
    margin: 0;
    padding: 0;
    height: 100%; 
    font-family: 'Manrope', sans-serif;
    color: white;
    
}
/*
*{
    border: 1px solid red !important;
}
*/
#spline-bg {
    width: 100vw;
    height: 100vh;
    position: fixed; 
    top: 0;
    left: 0;
    z-index: -1; 
}

#main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 10px 30px;
    width: 90%; 
    max-width: 1200px;
    
    /* --- ADICIONE ESTA LINHA --- */
    box-sizing: border-box; 
    /* -------------------------- */

    background: rgba(27, 26, 26, 0.15); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(185, 185, 185, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px; 
}

.logo {
    height: 30px; 
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #C198FF; 
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    background-color: white;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -0.5px;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.action-btn:hover {
    background-color: #f0f0f0;
}

.whatsapp-btn {
    display: flex; 
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s;
    text-decoration: none; 
}

.whatsapp-btn i {
    color: white; 
    font-size: 18px; 
}

.whatsapp-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-section {
    padding-top: 150px; 
    padding-bottom: 100px; 
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    position: relative; 
    z-index: 1; 
}

.hero-content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    width: 90%;
    margin-top: auto; 
    margin-bottom: 80px; 
}

.hero-left {
    display: flex;
    flex-direction: column;
}

.main-title .second-line {
    display: inline-block;
    padding-left: 30px; 
}

.main-title {
    font-size: 5rem; 
    font-weight: 700;
    line-height: 1.1; 
    margin: 0 0 40px 0;
}

.cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-button-primary {
    background: linear-gradient(90deg, #C198FF 0%, #271675 100%); 
    color: white;
    font-weight: 500;
    padding: 18px 30px;
    font-size: 20px; 
    border: none;
    letter-spacing: -0.6px;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px; 
}
.cta-button-primary i {
    font-size: 18px;
    margin-left: 5px;
    transform: translateY(1px); 
}

.cta-button-primary:hover {
    opacity: 0.9;
}

.cta-link-secondary {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: opacity 0.3s;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.cta-link-secondary:hover {
    opacity: 1;
}

.hero-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.graphic-container {
    width: 100px;
    height: 100px;
}

.copy-text {
    font-size: 1.15em;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    max-width: 450px; 
    opacity: 0.85;
}

#hero {
    height: 80vh;
    box-shadow: 
        inset 0 -80px 60px rgba(0, 0, 0, 0.9);
    display: flex;
}

#servicos {
    background-color: #000000;
}

.solutions-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    margin-top: 20px; 
}
.solutions-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    width: 100%;
    margin-bottom: 30px; 
}

.solutions-left {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.solutions-right {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tag-impacto {
    background: linear-gradient(90deg, #C198FF 0%, #271675 100%); 
    color: white;
    letter-spacing: -0.4px;
    width: 250px; 
    font-weight: 500;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    cursor: default; 
    font-size: 1.3em;
    margin-bottom: 30px;
    width: auto; 
}

.solutions-left {
    width: 70%; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 60px 0;
}

.social-proof-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 10px 0;
    max-width: 450px; 
}

.card-subtitle {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.card-description {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.8;
}

.client-avatars {
    display: flex;
    position: relative;
    margin-right: 50px;
}

.client-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #1a1a1a; 
    object-fit: cover;
    position: relative;
    margin-left: -15px; 
    transition: transform 0.2s;
}

.client-img:first-child {
    margin-left: 0;
}

.client-count {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white; 
    color: #333; 
    font-weight: 800;
    font-size: 0.9em;
    position: absolute; 
    top: 0;
    left: 100px; 
    border: 3px solid #1a1a1a; 
}

.video-card.single-video {
    width: 100%; 
    padding-bottom: 60%;
    position: relative;
    overflow: hidden; 
}

.solution-media {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    position: absolute; 
    top: 0;
    left: 0;
}

/* ============================
        SEÇÃO SEGMENTOS
   ============================ */

#segmentos {
    width: 100%;
    height: 100vh;
    background-color: #000000; 
}

.segmentos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: repeat(2, 1fr); 
    height: 100%;
}

.segmento-item {
    position: relative; 
    overflow: hidden;
    background-color: #111;
}

.segmento-bg-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.7); 
}

.segmento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4); 
    transition: background-color 0.4s ease;
}

.segmento-item h3 i {
    width: 45px;
    height: 45px; 
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem; 
}

.segmento-item h3 {
    font-size: 1.3rem; 
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- Efeitos Hover --- */

.segmento-item:hover .segmento-bg-gif {
    transform: scale(1.01); 
    filter: brightness(0.9);
}

.segmento-item:hover .segmento-overlay {
    background-color: rgba(5, 2, 10, 0.496); 
}

.segmento-item:hover h3 {
     transform: scale(1.01); 
}

/* ============================
        SEÇÃO WORKFLOW
   ============================ */

#workflow {
    background-color: #000000;
    background-image: radial-gradient(
        ellipse 80% 50% at 50% 0%, 
        rgba(193, 152, 255, 0.25) 0%, 
        rgba(39, 22, 117, 0.1) 40%, 
        rgba(0, 0, 0, 0) 70% 
    );
    background-repeat: no-repeat; 

    padding: 100px 0;
    position: relative;
    overflow-x: hidden; 
}

.workflow-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -1.05px;
    margin-bottom: 50px;
    color: white;
}

.workflow-title .register-mark {
    font-size: 1.5rem;
    vertical-align: super;
    margin-left: -5px;
}

.workflow-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px; 
    overflow: hidden; 
}

.workflow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.workflow-intro {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    flex-basis: 40%;
    margin: 0;
}

.marquee-container {
    flex-basis: 55%; 
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1.05px;
    color: white;
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    margin-right: 20px;
}

.marquee-asterisk {
    color: #A100FF;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


.workflow-grid {
    display: grid;
    grid-template-columns: 30% 70%;
}

.workflow-category,
.workflow-steps {
    padding: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.workflow-category {
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
}

.workflow-category h3 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.workflow-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.workflow-grid .workflow-category:nth-last-child(-n+2),
.workflow-grid .workflow-steps:nth-last-child(1) {
    border-bottom: none;
}

.workflow-item {
    background-color: white;
    color: #111;
    border-radius: 50px;
    padding: 10px 15px 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative; 
    transition: transform 0.2s ease;
}

.workflow-item:hover {
    transform: scale(1.03);
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #A100FF; 
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.workflow-item[data-label-top] {
    margin-top: 20px;
}

.workflow-item[data-label-top]::before {
    content: attr(data-label-top); 
    position: absolute;
    top: -22px; 
    left: 50%;
    transform: translateX(-50%);
    color: #aaa; 
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap; 
}

.workflow-item[data-label-dotted="true"]::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%; 
    height: auto;
    aspect-ratio: 1 / 1; 
    border-radius: 50%; 
    border: 2px dotted #a200ffcd; 
    z-index: -1; 
}


/* ============================
        SEÇÃO SOBRE NÓS
   ============================ */

#sobre {
    background-color: #000;
    padding: 100px 0;
    position: relative;
    z-index: 1; 
}

.about-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.about-header .section-title {
    margin: 0;
}

.about-cta-button {
    background: linear-gradient(90deg, #C198FF 0%, #271675 100%);
    color: white;
    font-weight: 500;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-cta-button:hover {
    opacity: 0.9;
}

.about-cta-button i {
    transition: transform 0.2s ease;
}

.about-cta-button:hover i {
    transform: translateX(3px);
}

.about-cards-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.about-card {
    flex: 1; 
    min-width: 0; 
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    overflow: hidden; 
    background-color: #050505; 
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.about-card-image {
    height: 280px;
    width: 100%;
    overflow: hidden;
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.about-card:hover .about-card-image img {
    transform: scale(1.05); 
}

.about-card-content {
    padding: 30px;
}

.about-card-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}

.about-card-content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.8;
    margin: 0;
}


/* ============================
     SEÇÃO "INCLUSO" (FEATURES)
   ============================ */

#features {
    position: relative; 
    background-color: #000;
    overflow: hidden; 
    height: 100vh;
    max-height: 1080px; /* Limite de 1920x1080 */
    box-sizing: border-box;

    /* Removemos o display:flex, pois o container cuidará de si */
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0.6; 
}

.features-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    
    /* CORREÇÃO: O container é nosso "canvas" relativo */
    position: relative; 
    z-index: 2;
    height: 100%; /* Ocupa 100% da altura da seção */
}

.features-header {
    position: static; /* O header em si não se move */
}

/* --- TÍTULOS --- */

.features-header h2 {
    position: absolute;
    top: 10%;
    left: 0;  
    letter-spacing: -1.1px;
    font-size: 4rem; 
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
    color: white;
    z-index: 10;
}

.features-header h3 {
    position: absolute;
    top: 20%; 
    left: 30%;
    letter-spacing: -1.1px;
    font-size: 4rem; 
    font-weight: 500;
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
    z-index: 10;
}

.innovate-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: rotate(-45deg);
    text-decoration: none;
    color: white;
    margin-left: 20px;
    transition: all 0.3s ease;
}

/* ... (Estilos do innovate-link e hover continuam os mesmos) ... */
.innovate-link i { 
    font-size: 1.4rem; transition: transform 0.3s ease; 
}
.innovate-link:hover { 
    background-color: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.7); 
}
.innovate-link:hover i {
    transform: rotate(-180deg);
}


/* --- ESTILOS BASE DOS CARDS --- */
.features-card {
    border-radius: 20px;
    overflow: hidden;
    position: absolute; /* CADA CARD É ABSOLUTO */
    z-index: 5; /* Fica na frente do fundo, mas atrás dos títulos */
    box-sizing: border-box;
}

.image-card {
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.image-card img { 
    width: 100%; height: 100%; display: block; 
}

.tag-exclusividade {
    position: absolute; top: 15px; left: 15px;
    background: rgba(22, 22, 22, 0.5);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px; padding: 6px 12px;
    font-size: 0.75rem; font-weight: 500;
    color: white; text-transform: uppercase; z-index: 3;
}

.glass-card {
    height: 220px;
    padding: 30px;
    background: rgba(27, 26, 26, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(185, 185, 185, 0.25);
    transition: border-color 0.3s ease;
}
.glass-card:hover { border-color: rgba(255, 255, 255, 0.5); }

.card-dot {
    width: 25px; height: 25px;
    background: radial-gradient(circle, #A100FF 0%, #610099 100%);
    border-radius: 50%; margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(161, 0, 255, 0.5);
}

.glass-card h4 {
    font-size: 1rem; font-weight: 600; margin: 0;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: white;
}


/* --- POSICIONAMENTO INDIVIDUAL DOS CARDS --- */
/* (Valores em % para semi-responsividade. Ajuste se necessário) */

#card-exclusividade {
    top: 50%;
    left: 0;
    width: 25%;
}

#card-metodologia {
    top: 36%;
    left: 40%;
    width: 25%;
}

#card-tecnologia {
    top: 33%;
    left: 70%;
    width: 25%;
}

#card-inovacao {
    top: 68%;
    left: 40%;
    width: 25%;
}

#card-suporte {
    top: 65%;
    left: 70%;
    width: 25%;
}

/* ============================
        SEÇÃO FAQ
   ============================ */

#faq {
    background-color: #000;
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Linha final */
}

.faq-container {
    max-width: 900px; /* Mais estreito, como no protótipo */
    width: 90%;
    margin: 0 auto;
}

.faq-tag {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 20px auto;
    background: linear-gradient(to right, #C198FF, #271675);
    color: black;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 25px 0;
    cursor: pointer;
    text-align: left;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    font-family: 'Manrope', sans-serif;
    padding-right: 20px; /* Espaço para o ícone */
}

.icon-wrapper {
    width: 35px;
    height: 35px;
    background-color: #2a2a2a; /* Círculo cinza escuro */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-shrink: 0; /* Impede que o ícone encolha */
}

.icon-wrapper i {
    font-size: 0.9rem;
}

/* --- Lógica de Mostrar/Esconder Ícone --- */
.icon-wrapper .icon-up { display: none; }
.icon-wrapper .icon-down { display: block; }

.accordion-item.active .icon-wrapper .icon-up { display: block; }
.accordion-item.active .icon-wrapper .icon-down { display: none; }

/* --- Lógica de Abrir/Fechar Painel --- */
.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-panel p {
    font-size: 1rem;
    line-height: 1.7;
    color: #b0b0b0; /* Cinza claro para resposta */
    margin: 0;
    padding-bottom: 25px;
}

/* Define a altura do painel quando o item está ativo */
.accordion-item.active .accordion-panel {
    max-height: 500px; /* Altura suficiente para qualquer resposta */
    transition: max-height 0.4s ease-in;
}

/* ============================
        SEÇÃO RODAPÉ
   ============================ */

.footer-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; 
    width: 90%;
    margin: 0 auto;
    padding: 40px 0; /* Padding vertical, mas 0 horizontal */
}

.footer-top-logo img {
    height: 60px; 
    width: auto;
    opacity: 0.9;
}

.footer-main-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0; 
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem; 
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
    width: fit-content;
}

.footer-bottom-content {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0; /* Padding aqui */
}

#main-footer {
    background-color: #000;
    padding: 0; 
    position: relative;
    z-index: 1;
}

.footer-container {
    width: 100%; 
    margin: 0;
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.2); 
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px; 
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    background-image: url('../img/footer.jpg'); 
    background-size: cover;
    background-position: center 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px; 
}

.footer-main-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 40px; /* Espaçamento interno dos links */
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem; /* Consistente com .nav-item */
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
    width: fit-content;
}

.footer-link:hover {
    opacity: 1;
}

/* --- Barra de Vidro Inferior --- */

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 120px;
    background: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
}

.footer-copyright {
    font-size: 0.9rem;
    color: white;
    opacity: 0.7;
    line-height: 1.4;
    flex: 1; 
}

.footer-copyright p {
    margin: 0;
}

.footer-center-icon {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer-lottie-icon {
    width: 65px;
    height: 65px;
}

.footer-socials {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    flex: 1;
}

.footer-socials a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    opacity: 1;
    transform: scale(1.1);
}



/* ============================
     ESTILIZAÇÃO SCROLLBAR
   ============================ */

/* --- Para Firefox --- */
html {
    scrollbar-width: thin;
    scrollbar-color: #A100FF #1a1a1a; 
}

/* --- Para Chrome, Safari, Edge e outros baseados em WebKit --- */
body::-webkit-scrollbar {
    width: 8px; 
}

body::-webkit-scrollbar-track {
    background: #1a1a1a; 
}

body::-webkit-scrollbar-thumb {
    background-color: #A100FF; 

    border: 2px solid #1a1a1a; 
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #7200af;
}

/* ===================================================
   ===================================================
      INÍCIO DO CÓDIGO RESPONSIVO COMPLETO
   ===================================================
   =================================================== */

/* =================================
     HEADER RESPONSIVO (MOBILE)
   ================================= */

/* 1. Esconde o hamburger no Desktop */
.hamburger-menu {
    display: none; /* Escondido por padrão */
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0 10px 0 0; /* Espaçamento */
    order: -1; /* Coloca ele antes do WhatsApp */
}

/* 2. Estilos do Menu Overlay (escondido por padrão) */
.mobile-menu-overlay {
    position: fixed;  /* --- CORREÇÃO: Voltamos para FIXED */
    top: 0;
    left: 0;
    width: 100vw;     /* --- CORREÇÃO: Usamos 100vw (viewport width) */
    height: 100vh; 
    background: rgba(10, 5, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 40px 30px;
    box-sizing: border-box;
    opacity: 0;
    /* --- ANIMAÇÃO (SUBSTITUIÇÃO) --- */
    visibility: hidden;
    /* Começa como um círculo minúsculo no canto do botão "X" */
    clip-path: circle(0% at 90% 5%); 
    /* Anima o 'clip-path' com uma curva suave */
    transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.6s;
    /* ------------------------------ */
}

/* 3. Estilos do CONTEÚDO do menu */

/* Header (Logo + X) */
.mobile-menu-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-logo {
    height: 25px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Estado ativo do menu (quando o JS adicionar a classe) */
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    clip-path: circle(150% at 90% 5%);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-item {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    opacity: 0.8;
}

.mobile-menu-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-actions .whatsapp-btn {
    display: flex; 
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 2px solid white;
    border-radius: 50%;
}
.mobile-menu-actions .action-btn {
    background-color: white;
    color: #333;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.mobile-menu-lottie {
    width: 100px;
    height: 100px;
}

.mobile-menu-socials {
    display: flex;
    gap: 30px;
}
.mobile-menu-socials a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    opacity: 0.7;
}

@media (max-width: 992px) {
    
    /* --- 1. Header (Correção de Overflow) --- */
    .nav-links {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
    #main-header {
        padding: 10px 20px;
        width: auto;        
        left: 15px;         
        right: 15px;        
        transform: none;    
        max-width: none;    
    }
    .logo { height: 25px; }
    .action-btn { padding: 8px 16px; font-size: 14px; }
    .nav-actions { gap: 7.5px; }

    
    /* --- 2. Hero Section (Empilhamento) --- */
    #hero {
        height: auto; 
        padding-top: 200px;
        padding-bottom: 80px;
    }
    .hero-content-container {
        flex-direction: column;
        align-items: flex-start; 
        gap: 30px;
    }
    .hero-left,
    .hero-right {
        width: 100%;
    }
    .main-title {
        font-size: 2.7rem; 
        margin-bottom: 20px;
    }
    .main-title .second-line {
        padding-left: 10; 
    }
    .copy-text {
        max-width: 100%; 
    }
    .cta-group {
        flex-direction: column; /* Empilha botões */
        align-items: flex-start;
        gap: 0;
    }
    .cta-button-primary {
        font-size: 1rem;
        padding: 15px 25px;
    }
    .cta-link-secondary {
        display: none;
    }

    .hero-right {
        display: flex;
        flex-direction: row; 
        align-items: center; 
        gap: 15px; 
    }
    .graphic-container{
        display: none;
    }
    .hero-right .graphic-container {
        width: 70px; 
        height: 70px;
        flex-shrink: 0;
    }

    #scene-1-graphic {
         width: 70px !important; 
         height: 70px !important;
    }

    .copy-text {
        max-width: 100%; 
        font-size: 1.2rem;
        opacity: 0.9;
        text-align: left; /* Garante alinhamento */
    }
    
    /* --- 3. Seção Serviços --- */
    .page-section { /* Padding geral */
        padding-top: 80px;
        padding-bottom: 80px; 
    }
    .solutions-content-wrapper {
        flex-direction: column; /* Empilha */
        gap: 30px;
    }
    .solutions-left, 
    .solutions-right {
        width: 100%;
    }
    .section-title { /* Título padrão */
        font-size: 2.5rem; 
        margin-bottom: 30px;
    }
    .client-count {
        /* Correção do bug de posição */
        position: relative;
        left: auto;
        top: auto;
        margin-left: -15px;
    }
    .video-card.single-video {
        padding-bottom: 75%; /* Ajuste de proporção */
    }


    /* --- 4. Seção Segmentos --- */
    #segmentos {
        height: auto; /* Altura automática */
    }
    .segmentos-grid {
        grid-template-columns: 1fr; /* Uma coluna */
        grid-template-rows: auto;
    }
    .segmento-item {
        height: 250px; /* Altura fixa para cada card */
    }

    /* --- 5. Seção Workflow --- */
    #workflow {
        padding: 40px 0;
        
        /* --- CORREÇÃO DO BRILHO MOBILE --- */
        background-image: radial-gradient(
            circle at 50% 1%, /* Um círculo focado no topo */
            rgba(193, 152, 255, 0.4) 5%,  /* Opacidade mais forte */
            rgba(39, 22, 117, 0.156) 15%,   
            rgba(0, 0, 0, 0) 80%        
        );
    }
    .workflow-title {
        font-size: 2.5rem;
    }
    .workflow-header {
        flex-direction: column; /* Empilha */
        gap: 0px;
    }
    .workflow-intro {
        flex-basis: auto;
        text-align: center;
        font-size: 1rem; /* <-- ADICIONE ISSO */
        line-height: 1.6;
    }
    .marquee-container {
        flex-basis: auto;
        width: 100%;
    }
    .marquee-content {
        font-size: 1.5rem;
    }
    .workflow-grid {
        grid-template-columns: 1fr; /* Uma coluna */
    }
    .workflow-category {
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
    }
    .workflow-steps {
        justify-content: center;
        gap: 10px;
    }
    .workflow-item {
        padding: 8px 16px 8px 10px; /* Padding menor */
        font-size: 0.8rem;          /* Fonte menor */
        gap: 6px;                   /* Espaço menor */
    }
    .step-number {
        width: 25px;                /* Círculo menor */
        height: 25px;
        font-size: 0.8rem;          /* Número menor */
    }

    /* --- 6. Seção Sobre Nós --- */
    #sobre { 
        padding: 80px 0; 
    }
    .about-header {
        flex-direction: column; /* Empilha */
        align-items: flex-start;
        gap: 20px;
    }
    .about-cards-container {
        flex-direction: column; /* Empilha */
    }


    /* --- 7. Seção Features (Layout Absoluto) --- */
    #features {
        height: auto; /* Desliga altura fixa */
        padding: 120px 0 80px 0;
    }
    .features-container {
        height: auto;
        position: static; /* Desliga o "canvas" absoluto */
        width: 90%;
    }
    .features-bg {
        opacity: 0.3; /* Fundo mais sutil */
    }
    /* Muda TUDO de 'absolute' para 'static' */
    .features-header h2,
    .features-header h3 {
        position: static;
        font-size: 2.5rem;
        text-align: center;
        left: auto;
        top: auto;
        transform: none;
    }
    .features-header h3 {
        justify-content: center;
        margin-bottom: 40px;
    }
    .innovate-link {
        transform: rotate(0deg); /* Reseta rotação da seta */
    }
    .features-card {
        position: static; /* Tira do 'absolute' */
        width: 100% !important; /* Força a largura */
        margin-bottom: 20px;
    }
    .glass-grid-wrapper {
        position: static;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr; /* Uma coluna */
        gap: 20px;
    }
    .glass-card {
        height: auto; 
        padding: 25px;
    }


    /* --- 8. Seção FAQ --- */
    #faq { 
        padding: 80px 0; 
    }
    .faq-main-title {
        font-size: 2.5rem;
    }
    .question-text {
        font-size: 1.1rem;
    }
    .faq-tag {
        font-size: 0.9rem;
    }


    /* --- 9. Footer (Superior) --- */
    .footer-top-content {
        flex-direction: column;
        gap: 40px;
    }
    .footer-main-links {
        padding: 0;
        align-items: center;
    }
    .footer-top-logo img {
        height: 40px;
    }
    
    /* --- 10. Footer (Inferior - Correção de Overflow) --- */
    .footer-bottom-bar {
        padding-left: 30px;  
        padding-right: 30px;
    }
}


/* CSS que faz o menu overlay funcionar */
body.menu-is-open #main-header {
    display: none;
}

/* =================================
     ANIMAÇÃO STAGGER DO CONTEÚDO
   ================================= */

/* 1. Define o estado "escondido" de todo o conteúdo do menu */
.mobile-menu-header,
.mobile-nav-item,
.mobile-menu-actions,
.mobile-menu-lottie,
.mobile-menu-socials {
    opacity: 0;
    transform: translateY(10px);
    /* Define a transição de saída (rápida) */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 2. Define o estado "visível" quando o menu está ativo */
.mobile-menu-overlay.active .mobile-menu-header,
.mobile-menu-overlay.active .mobile-nav-item,
.mobile-menu-overlay.active .mobile-menu-actions,
.mobile-menu-overlay.active .mobile-menu-lottie,
.mobile-menu-overlay.active .mobile-menu-socials {
    opacity: 1;
    transform: translateY(0);
    /* Define a transição de entrada (mais suave) */
    transition-duration: 0.4s;
}

/* 3. Cria o efeito "cascata" (stagger) na entrada */
.mobile-menu-overlay.active .mobile-menu-header  { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav-item:nth-child(1) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-nav-item:nth-child(2) { transition-delay: 0.35s; }
.mobile-menu-overlay.active .mobile-nav-item:nth-child(3) { transition-delay: 0.4s; }
.mobile-menu-overlay.active .mobile-nav-item:nth-child(4) { transition-delay: 0.45s; }
.mobile-menu-overlay.active .mobile-menu-actions { transition-delay: 0.5s; }
.mobile-menu-overlay.active .mobile-menu-lottie  { transition-delay: 0.55s; }
.mobile-menu-overlay.active .mobile-menu-socials { transition-delay: 0.6s; }