@import url('base.css');

/* =========================================================
   PRIMEIRA DOBRA - DYPECORE
   ========================================================= */

#faqCard {
    scroll-margin-top: 110px;
}

#fundadores,
#servicos,
#como-trabalhamos {
    scroll-margin-top: 90px;
}

.hero-dypecore {
    width: 100%;
    height: 456px;
    background: #000;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;

}


.hero-container {
    width: 100%;
    max-width: 1450px;
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 45px;
}


/* =========================================================
   TEXTO
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}


.hero-tags {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    padding: 6px 12px;
    margin-bottom: 14px;

    border: 1px solid #1e2b35;
    border-radius: 30px;

    background: rgba(11, 19, 25, 0.75);

    color: #9ed8f5;

    font-family: "Google Sans Code", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
}


.hero-tags i {
    width: 5px;
    height: 5px;

    display: block;

    border-radius: 50%;

    background: #9ed8f5;

    flex-shrink: 0;
}


.hero-content h1 {
    margin: 0;

    color: #fff;

    font-family: "Stack Sans Notch", sans-serif;

    /*
       Mantém o tamanho grande original,
       mas permite adaptação gradual.
    */
    font-size: clamp(72px, 4vw, 72px);

    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2.4px;
}


.hero-content h1 span {
    background: linear-gradient(180deg,
            #a8ddf7 0%,
            #4f7598 100%);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* =========================================================
   NOTEBOOK 3D
   ========================================================= */

.hero-notebook-area {
    width: 40%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    perspective: 1200px;

    padding-top: 90px;

    flex-shrink: 0;
}


/* =========================================================
   CENA
   ========================================================= */

.laptop-scene {
    width: 620px;
    height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    perspective: 1900px;

    max-width: 100%;
}


/* =========================================================
   BRILHO ABAIXO DO NOTEBOOK
   ========================================================= */

.laptop-glow {
    position: absolute;

    width: 380px;
    height: 75px;

    bottom: 35px;

    background:
        radial-gradient(ellipse at center,
            rgba(80, 160, 220, 0.35) 0%,
            rgba(80, 160, 220, 0) 72%);

    filter: blur(3px);

    z-index: 0;

    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}


.laptop-scene:hover .laptop-glow {
    opacity: 1.5;
    transform: scale(1.2);
}


/* =========================================================
   STAGE
   ========================================================= */

.laptop-stage {
    width: 340px;
    height: 260px;

    position: relative;

    transform-style: preserve-3d;

    transform:
        rotateX(6deg) scale(1.10);

    flex-shrink: 0;
}


/* =========================================================
   NOTEBOOK COMPLETO
   ========================================================= */

.laptop-group {
    position: relative;

    width: 340px;
    height: 260px;

    transform-style: preserve-3d;

    animation:
        laptopFloat 6s ease-in-out infinite;
}


/* =========================================================
   CORPO ÚNICO
   TAMPA + BASE
   ========================================================= */

.laptop-body {
    position: relative;

    width: 340px;
    height: 260px;

    transform-style: preserve-3d;
}


/* =========================================================
   MOVIMENTO PARADO
   ========================================================= */

@keyframes laptopFloat {

    0%,
    100% {
        transform:
            rotateY(-24deg) translateY(0);
    }

    50% {
        transform:
            rotateY(-24deg) translateY(-8px);
    }

}


/* =========================================================
   ROTAÇÃO AO PASSAR O MOUSE
   ========================================================= */

.laptop-scene:hover .laptop-group {
    animation:
        laptopSpin 3.6s linear infinite;
}


@keyframes laptopSpin {

    from {
        transform:
            rotateY(0deg) scale(1.05);
    }

    to {
        transform:
            rotateY(360deg) scale(1.05);
    }

}


/* =========================================================
   TAMPA
   ========================================================= */

.laptop-lid {
    position: absolute;

    width: 340px;
    height: 210px;

    left: 0;
    bottom: 105px;

    transform-origin:
        bottom center;

    transform:
        rotateX(-4deg);

    transform-style:
        preserve-3d;

    z-index: 2;
}


/* =========================================================
   FRENTE DA TELA
   ========================================================= */

.lid-front {
    position: absolute;

    width: 340px;
    height: 210px;

    padding: 9px;

    box-sizing: border-box;

    background: #05080b;

    border-radius: 10px;

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(158, 216, 245, 0.12);

    backface-visibility:
        hidden;
}


/* =========================================================
   TRASEIRA DA TAMPA
   ========================================================= */

.lid-back {
    position: absolute;

    width: 340px;
    height: 210px;

    background:
        linear-gradient(155deg,
            #262d35 0%,
            #10151a 100%);

    border-radius: 10px;

    transform:
        rotateY(180deg) translateZ(1px);

    display: flex;

    align-items: center;
    justify-content: center;

    backface-visibility:
        hidden;
}


.lid-back img {
    width: 44%;

    filter:
        grayscale(1) brightness(1.6) opacity(0.3) drop-shadow(0 0 8px rgba(111, 184, 230, 0.4));
}


/* =========================================================
   TELA
   ========================================================= */

.screen {
    position: relative;

    width: 100%;
    height: 100%;

    border-radius: 4px;

    overflow: hidden;

    background:
        linear-gradient(160deg,
            #0a1520 0%,
            #050a10 70%);
}


.screen::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        repeating-linear-gradient(180deg,
            rgba(255, 255, 255, 0.015) 0px,
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px,
            transparent 3px);

    pointer-events: none;
}


/* =========================================================
   BRILHO DA TELA
   ========================================================= */

.screen-glow {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(circle at 30% 20%,
            rgba(111, 184, 230, 0.18),
            transparent 55%);

    transition:
        opacity 0.5s ease;
}


.laptop-scene:hover .screen-glow {
    opacity: 1.8;
}


/* =========================================================
   BARRA SUPERIOR DA TELA
   ========================================================= */

.screen-topbar {
    display: flex;

    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    border-bottom:
        1px solid rgba(158, 216, 245, 0.08);
}


.screen-topbar span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        rgba(158, 216, 245, 0.35);

    flex-shrink: 0;
}


.screen-topbar small {
    margin-left: 6px;

    font-family:
        "Courier New",
        monospace;

    font-size: 8px;

    letter-spacing: 0.5px;

    color:
        rgba(158, 216, 245, 0.45);
}


/* =========================================================
   CONTEÚDO DA TELA
   ========================================================= */

.screen-content {
    display: flex;

    height:
        calc(100% - 24px);

    min-width: 0;
}


/* =========================================================
   TERMINAL
   ========================================================= */

.terminal {
    width: 56%;

    padding: 10px 8px;

    font-family:
        "Courier New",
        monospace;

    font-size: 9.5px;

    line-height: 1.55;

    color: #7fc4ec;

    min-width: 0;
}


.terminal-dim {
    color:
        rgba(158, 216, 245, 0.4);
}


.terminal strong {
    color: #cdeeff;

    font-weight: normal;
}


.terminal-line {
    white-space: nowrap;

    overflow: hidden;

    width: 0;

    opacity: 0;

    animation:
        terminalLine 6s steps(28) infinite;
}


.line-1 {
    animation-delay: 0s;
}


.line-2 {
    animation-delay: 1.3s;
}


.line-3 {
    animation-delay: 2.6s;
}


.line-4 {
    animation-delay: 3.9s;
}


@keyframes terminalLine {

    0% {
        width: 0;
        opacity: 1;
    }

    18% {
        width: 100%;
        opacity: 1;
    }

    82% {
        width: 100%;
        opacity: 1;
    }

    90% {
        width: 100%;
        opacity: 0;
    }

    100% {
        width: 0;
        opacity: 0;
    }

}


/* =========================================================
   CURSOR
   ========================================================= */

.cursor {
    display: inline-block;

    width: 5px;
    height: 10px;

    background: #9ed8f5;

    margin-left: 2px;

    vertical-align: -1px;

    animation:
        blink 1s step-end infinite;
}


@keyframes blink {

    50% {
        opacity: 0;
    }

}


/* =========================================================
   LOGO NA TELA
   ========================================================= */

.brand-panel {
    width: 44%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border-left:
        1px solid rgba(158, 216, 245, 0.08);

    position: relative;

    min-width: 0;
}


.brand-panel img {
    width: 78%;

    position: relative;

    z-index: 2;

    filter:
        drop-shadow(0 0 10px rgba(111, 184, 230, 0.45));

    transition:
        filter 0.5s ease;
}


.laptop-scene:hover .brand-panel img {
    filter:
        drop-shadow(0 0 18px rgba(111, 184, 230, 0.9));
}


/* =========================================================
   CÍRCULO DA LOGO
   ========================================================= */

.brand-ring {
    position: absolute;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    border:
        1px solid rgba(111, 184, 230, 0.25);

    animation:
        ringSpin 8s linear infinite;
}


.brand-ring::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 50%;

    width: 4px;
    height: 4px;

    margin-left: -2px;

    border-radius: 50%;

    background: #9ed8f5;

    box-shadow:
        0 0 6px rgba(158, 216, 245, 0.9);
}


@keyframes ringSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   BASE / TECLADO
   ========================================================= */

.laptop-base {
    position: absolute;

    width: 340px;
    height: 210px;

    bottom: 0;
    left: 0;

    transform:
        rotateX(90deg) translateY(105px);

    transform-style:
        preserve-3d;

    z-index: 1;
}


.laptop-deck {
    position: absolute;

    width: 340px;
    height: 210px;

    padding:
        16px 22px;

    box-sizing: border-box;

    background:
        linear-gradient(155deg,
            #2c343d 0%,
            #171d23 55%,
            #0c1116 100%);

    border-radius: 10px;

    box-shadow:
        inset 0 0 0 1px rgba(158, 216, 245, 0.08);
}


/* =========================================================
   TECLAS
   ========================================================= */

.laptop-keys {
    display: grid;

    grid-template-columns:
        repeat(12, 1fr);

    gap: 4px;

    height: 118px;
}


.laptop-keys span {
    background:
        rgba(158, 216, 245, 0.06);

    border-radius: 2px;

    box-shadow:
        inset 0 0 0 1px rgba(158, 216, 245, 0.10);

    animation:
        keyGlow 4s ease-in-out infinite;

    animation-delay:
        calc(var(--i) * 0.06s);
}


@keyframes keyGlow {

    0%,
    88%,
    100% {

        background:
            rgba(158, 216, 245, 0.06);

        box-shadow:
            inset 0 0 0 1px rgba(158, 216, 245, 0.10);
    }

    94% {

        background:
            rgba(158, 216, 245, 0.55);

        box-shadow:
            0 0 6px rgba(158, 216, 245, 0.7);
    }

}


/* =========================================================
   TRACKPAD
   ========================================================= */

.trackpad {
    position: absolute;

    bottom: 16px;
    left: 50%;

    transform:
        translateX(-50%);

    width: 110px;
    height: 46px;

    border-radius: 6px;

    background:
        rgba(255, 255, 255, 0.03);

    box-shadow:
        inset 0 0 0 1px rgba(158, 216, 245, 0.15);
}


/* =========================================================
   BORDA FRONTAL
   ========================================================= */

.base-edge {
    position: absolute;

    width: 340px;
    height: 10px;

    bottom: 0;

    background:
        linear-gradient(#0c1116,
            #05080b);

    transform:
        rotateX(-90deg) translateZ(5px);

    border-radius:
        0 0 10px 10px;
}


.base-edge::after {
    content: "";

    position: absolute;

    left: 30px;
    right: 30px;
    top: 4px;

    height: 1px;

    background:
        rgba(111, 184, 230, 0.5);

    box-shadow:
        0 0 6px rgba(111, 184, 230, 0.6);
}


/* =========================================================
   DOBRADIÇA
   ========================================================= */

.laptop-body::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 8px;

    left: 45px;
    top: 150px;

    border-radius: 10px;

    background:
        linear-gradient(90deg,
            #080c10,
            #3b4650,
            #080c10);

    box-shadow:
        0 0 8px rgba(111, 184, 230, 0.18);

    transform:
        translateZ(2px);

    z-index: 10;
}


/* =========================================================
   FAIXA INFERIOR
   ========================================================= */
/* =========================================================
   FAIXA INFINITA - DYPECORE
   ========================================================= */
/* =========================================================
   FAIXA INFERIOR
   ========================================================= */

.hero-marquee {
    width: 100%;
    height: 64px;

    overflow: hidden;

    display: flex;
    align-items: center;

    white-space: nowrap;

    background: linear-gradient(90deg,
            #E4F3FB 0%,
            #d2e5f0 20%,
            #a9c4d8 40%,
            #5F86A6 65%,
            #416889 100%);
}


/* =========================================================
   TRILHO
   ========================================================= */

.marquee-track {
    display: flex;
    align-items: center;

    width: max-content;
    min-width: max-content;

    will-change: transform;
}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.marquee-content {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}


/* =========================================================
   TEXTO
   ========================================================= */

.marquee-content span {
    flex-shrink: 0;

    margin-right: 10px;

    color: #17344d;

    font-family: "Golos Text", sans-serif;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 0.2px;
}

.separator {
    font-size: 24px !important;
}


/* =========================================================
   IDEIAS QUE GANHARAM FORMA
   ========================================================= */

.ideas-section {
    position: relative;
    width: 100%;
    height: clamp(750px, 85vh, 900px);

    background: #000;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   ÁREA PRINCIPAL
   ========================================================= */

.ideas-sticky {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   TÍTULO
   ========================================================= */
.ideas-header {
    position: absolute;

    top: 60px;
    left: 50%;

    transform: translateX(-50%);

    width: min(760px, 90%);

    text-align: center;

    z-index: 100;

    isolation: isolate;

    pointer-events: none;
    /* <- adiciona isso */
}


/* =========================================================
   LUZ AZUL GRANDE ATRÁS DO TÍTULO
   ========================================================= */

.ideas-header::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 45%;

    /*
     * Maior que a versão anterior
     */
    width: 850px;
    height: 260px;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(ellipse at center,

            rgba(70, 155, 220, 0.30) 0%,

            rgba(55, 135, 200, 0.20) 28%,

            rgba(45, 110, 170, 0.11) 48%,

            rgba(30, 80, 130, 0.05) 65%,

            transparent 82%);

    /*
     * Deixa a luz bem espalhada,
     * sem criar uma mancha definida.
     */
    filter: blur(45px);

    z-index: -1;

    pointer-events: none;
}


/* =========================================================
   TÍTULO
   ========================================================= */
/* =========================================================
   TÍTULO — EFEITO DA REFERÊNCIA
   ========================================================= */

.ideas-header h2 {
    margin: 0 0 10px;

    font-family:
        "Golos Text",
        sans-serif;

    font-size:
        clamp(32px, 3vw, 40px);

    font-weight: 600;

    line-height: 1;

    letter-spacing: -1.5px;

    /*
     * Degradê mais suave e acinzentado,
     * semelhante ao da referência.
     */
    background:
        linear-gradient(180deg,
            #f4f7fa 0%,
            #d9e1e7 28%,
            #aebdca 58%,
            #7890a2 100%);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* =========================================================
   "GANHARAM FORMA"
   ========================================================= */

.ideas-header h2 span {
    /*
     * Mesmo tratamento visual,
     * porém levemente mais azulado.
     */
    background:
        linear-gradient(180deg,
            #dcecf7 0%,
            #c0d5e3 30%,
            #8caabd 60%,
            #66849c 100%);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

/* =========================================================
   SUBTÍTULO
   ========================================================= */

.ideas-header p {
    max-width: 640px;

    margin: 0 auto;

    color:
        rgba(255, 255, 255, .65);

    /*
     * Mantido exatamente
     */
    font-family:
        "Golos Text",
        sans-serif;

    font-size: 14px;

    line-height: 1.45;
}

/* =========================================================
   ÁREA DOS POSTS
   ========================================================= */

.ideas-stage {
    position: absolute;

    left: 0;
    top: 50%;

    width: 100%;
    height: 430px;

    transform: translateY(-38%);

    overflow: visible;

    cursor: default;
}



/* =========================================================
   ESTEIRA
   ========================================================= */

.ideas-track {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;
    height: 100%;

    transform: translateY(-50%);

    overflow: visible;

    pointer-events: none;
}


/* =========================================================
   CARD
   ========================================================= */

.idea-card {
    position: absolute;

    top: 50%;

    width: 284px;
    aspect-ratio: 4 / 5;

    transform:
        translateY(-50%) translateX(var(--x)) scale(var(--scale));

    opacity: var(--opacity);

    filter:
        blur(var(--blur)) brightness(var(--brightness));

    z-index: var(--z);

    will-change:
        transform,
        filter,
        opacity;

    transform-origin: center center;
}


/* =========================================================
   IMAGEM
   ========================================================= */

.idea-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 4px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, .5);
}


/* =========================================================
   BRILHO CENTRAL
   ========================================================= */

.ideas-stage::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 500px;
    height: 300px;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(ellipse,
            rgba(100, 170, 215, .10),
            transparent 70%);

    filter: blur(35px);

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   MÁSCARA NAS EXTREMIDADES
   ========================================================= */

.ideas-stage::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    z-index: 50;

    background:
        linear-gradient(90deg,

            #000 0%,

            rgba(0, 0, 0, .88) 4%,

            rgba(0, 0, 0, .25) 13%,

            transparent 22%,

            transparent 78%,

            rgba(0, 0, 0, .25) 87%,

            rgba(0, 0, 0, .88) 96%,

            #000 100%);
}


/* =========================================================
   PAUSA AO PASSAR O MOUSE
   ========================================================= */

.ideas-stage:hover {
    cursor: grab;
}


@media (min-width: 801px) and (max-width: 1300px) {

    .ideas-section {
        height: clamp(700px, 78vh, 800px);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

/* =========================================================
   GALERIA MOBILE — placeholder (fica escondida no desktop)
   ========================================================= */

.ideas-mobile-wrap {
    display: none;
}

@media (max-width: 800px) {

    /* seção deixa de ser 100vh e passa a
       seguir a altura do conteúdo */
    .ideas-section {
        height: auto;
        min-height: 0;
        padding: 50px 0 120px;
    }

    .founders-section {
        margin-top: 0;
    }

    .ideas-sticky {
        position: relative;
        height: auto;
        overflow: visible;
        justify-content: flex-start;
    }

    /* header sai do position:absolute e volta
       a empurrar o restante do conteúdo */
    .ideas-header {
        position: relative;
        top: 0;
        left: auto;
        transform: none;
        margin: 0 auto 24px;
    }

    .ideas-header h2 {
        font-size: 26px;
    }

    .ideas-header p {
        font-size: 10px;
    }

    .ideas-stage {
        display: none;
    }


    /* =========================================================
       WRAP DA GALERIA MOBILE
       ========================================================= */

    .ideas-mobile-wrap {
        display: block;
        position: relative;
        width: 100%;
        height: 380px;
        perspective: 1000px;
    }


    /* =========================================================
       TRILHO — scroll horizontal com snap
       ========================================================= */

    .ideas-mobile-track {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 0 calc(50% - 115px);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        transform-style: preserve-3d;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .ideas-mobile-track::-webkit-scrollbar {
        display: none;
    }


    /* =========================================================
       CARD
       ========================================================= */

    .mobile-idea-card {
        position: relative;
        flex: 0 0 auto;
        width: 230px;
        aspect-ratio: 4 / 5;
        scroll-snap-align: center;
        border-radius: 8px;
        overflow: hidden;
        transform-style: preserve-3d;
        will-change: transform, opacity, filter;
        transition: filter .15s linear;
    }

    .mobile-idea-card img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
        pointer-events: none;
        -webkit-user-drag: none;
    }


    /* =========================================================
       PONTOS INDICADORES
       ========================================================= */

    .ideas-mobile-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 18px;
    }

    .ideas-mobile-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .25);
        transition: background .3s ease, transform .3s ease;
    }

    .ideas-mobile-dot.is-active {
        background: #9ed8f5;
        transform: scale(1.4);
    }

    .ideas-sticky {
        position: relative;
        height: auto;
        overflow: visible;
        flex-direction: column;
        /* <- faltava isso */
        justify-content: flex-start;
        align-items: center;
        /* centraliza header e galeria */
    }

    .ideas-header {
        position: relative;
        top: 0;
        left: auto;
        transform: none;
        width: 90%;
        margin: 0 auto 24px;
    }

}


@media (max-width: 550px) {

    .ideas-section {
        padding: 36px 0 120px;
    }

    .ideas-header h2 {
        font-size: 23px;
    }

    .ideas-header p {
        font-size: 9px;
    }

    .ideas-mobile-wrap {
        height: 310px;
    }

    .ideas-mobile-track {
        padding: 0 calc(50% - 95px);
        gap: 14px;
    }

    .mobile-idea-card {
        width: 190px;
    }

}


/* =========================================================
   ANIMAÇÃO CONTÍNUA
   ========================================================= */

@keyframes marqueeMove {

    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 550px) {

    .hero-marquee {
        height: 42px;
    }

    .marquee-content span {
        font-size: 11px;
        margin-right: 16px;
    }

}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

/* =========================================================
   TABLET / NOTEBOOK
   ========================================================= */

@media (max-width: 1201px) {

    .hero-content h1 {
        font-size: clamp(32px, 8vw, 42px);

        line-height: 1.15;
        letter-spacing: -1px;
    }

}

@media (max-width: 1100px) {

    .hero-dypecore {
        height: 456px;
    }

    .hero-container {
        padding: 35px;
    }

    .hero-content {
        width: 55%;
    }

    .hero-notebook-area {
        width: 45%;
        padding-top: 60px;
    }

    .laptop-scene {
        transform: scale(0.85);
    }

}


/* =========================================================
   TABLET PEQUENO
   ========================================================= */

@media (max-width: 850px) {

    .hero-dypecore {
        height: auto;
        min-height: 760px;
    }

    .hero-container {
        flex-direction: column;
        justify-content: center;

        padding: 50px 30px;

        gap: 20px;
    }

    .hero-content {
        width: 100%;
        flex-shrink: 0;

        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-notebook-area {
        width: 100%;
        height: 360px;

        margin-top: 0;
        padding-top: 0;
        transform: translateY(40px);

        flex-shrink: 0;
    }

    .laptop-scene {
        transform: scale(0.9);
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 550px) {

    .hero-dypecore {
        min-height: 500px;
    }

    .hero-container {
        padding: 20px 22px;
        gap: 0;
    }

    .hero-tags {
        font-size: 9px;
        gap: 8px;

        padding: 6px 10px;
    }

    .hero-content h1 {
        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .hero-notebook-area {
        height: 250px;
        margin-top: 0;
        margin-bottom: 0;
        transform: translateY(40px);
    }

    .laptop-scene {
        transform: scale(0.62);
    }

    .hero-marquee {
        height: 42px;
    }

    .marquee-track {
        font-size: 11px;
    }

}


/* =========================================================
   CELULARES MUITO PEQUENOS
   ========================================================= */

@media (max-width: 380px) {

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.15;
    }

    .hero-tags {
        font-size: 8px;
        gap: 6px;
    }

    .hero-notebook-area {
        height: 220px;
        margin-top: 0;
        margin-bottom: 0;
        transform: translateY(30px);
    }

    .laptop-scene {
        transform: scale(0.52);
    }

}

/* =========================================================
   CO-FUNDADORES — SCROLL-DRIVEN
   ========================================================= */

.founders-section {
    position: relative;
    width: 100%;
    background: #000;
    margin-top: -80px;

}

.founders-pin-wrap {
    position: relative;
    height: 200vh;
    /* o JS ajusta pra (nº de cards * 100vh) */
}

.founders-sticky {
    position: sticky;
    top: 0;

    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    box-sizing: border-box;
    padding: 20px;
}

/* =========================================================
   CABEÇALHO
   ========================================================= */

.founders-header {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto clamp(16px, 3.5vw, 30px);
    text-align: center;
    z-index: 5;
    flex: 0 0 auto;
}

.founders-header h2 {
    margin: 0 0 10px;
    font-family: "Golos Text", sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1.5px;

    background: linear-gradient(180deg, #f4f7fa 0%, #d9e1e7 28%, #aebdca 58%, #7890a2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 18px rgba(100, 160, 200, .18);
}

.founders-header p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .72);
    font-family: "Golos Text", sans-serif;
    font-size: clamp(10px, 1.4vw, 14px);
    line-height: 1.5;
}

/* =========================================================
   STAGE
   ========================================================= */

.founders-stage {
    position: relative;
    width: min(calc(100% - 60px), 1180px);
    height: clamp(450px, 60vh, 540px);
    margin: 0 auto;
    perspective: 1600px;
    flex: 1 1 auto;
    min-height: 0;
}

.founder-card {
    position: absolute;
    inset: 0;
    left: 0;
    width: 100%;
    height: 90%;
    margin: 0;

    display: flex;
    align-items: stretch;
    gap: clamp(14px, 2.5vw, 24px);
    padding: clamp(18px, 3vw, 30px) clamp(20px, 4vw, 36px) clamp(18px, 3vw, 30px) 20px;
    box-sizing: border-box;
    overflow: visible;
    /* deixa os ícones "pousarem" sobre a borda esquerda */

    border: 2px solid #294c6b;
    border-radius: 3px;

    background:
        radial-gradient(circle at 18% 50%, rgba(40, 88, 125, .22), transparent 28%),
        linear-gradient(100deg, #05080b 0%, #020405 55%, #010202 100%);

    transition:
        transform 0.9s cubic-bezier(.22, .68, 0, 1.01),
        opacity 0.7s ease,
        filter 0.7s ease;

    will-change: transform, opacity, filter;
}

.founder-card.is-active {
    transform: translateZ(0) scale(1);
    opacity: 1;
    filter: blur(0) brightness(1);
    z-index: 3;
    pointer-events: auto;
}

.founder-card.is-behind {
    transform: translateZ(-420px) scale(0.82);
    opacity: 0;
    filter: blur(10px) brightness(0.55);
    z-index: 1;
    pointer-events: none;
}

.founder-card.is-exit {
    transform: translateZ(-420px) scale(0.82);
    opacity: 0;
    filter: blur(10px) brightness(0.55);
    z-index: 2;
    pointer-events: none;
}

.founder-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(ellipse at 40% 55%, rgba(62, 118, 157, .18), transparent 65%);
    pointer-events: none;
    border-radius: inherit;
}

/* =========================================================
   ÍCONES DE TECNOLOGIA
   barra lateral fixa, sobre a borda esquerda do card,
   centralizada verticalmente — em QUALQUER tamanho de tela
   ========================================================= */

.founder-techs {
    position: relative;
    flex: 0 0 auto;

    margin-left: -38px;
    /* faz os ícones ficarem "pousados" sobre a linha da borda */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    z-index: 20;
}

/* 1. Libere a saída de elementos no card principal */
.founder-card {
    overflow: visible !important;
    /* CRUCIAL: Permite que elementos filhos saiam das bordas */
}

@media (max-width: 460px) {
    .founder-techs {
        margin-left: -12px;
        /* Ajuste fino para telas pequenas não estourarem a tela principal */
    }
}

.tech-icon {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;
    background: #11161b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .45);
    overflow: hidden;

    transition:
        transform .35s ease,
        filter .35s ease,
        box-shadow .35s ease,
        opacity .35s ease,
        width .3s ease,
        height .3s ease;
}

.tech-icon:focus-visible {
    outline: 2px solid #75a9c6;
    outline-offset: 2px;
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.founder-techs.is-active .tech-icon {
    filter: grayscale(1) blur(1px);
    opacity: .4;
}

.founder-techs.is-active .tech-icon.is-hovered {
    filter: none;
    opacity: 1;
    transform: scale(1.18);
    box-shadow: 0 0 14px rgba(158, 216, 245, .55);
    z-index: 5;
}

/* Container principal dividido em 2 colunas */
.ide-container {
    display: flex;
    width: 100%;
    height: 100%;
    font-family: "Courier New", monospace;
    font-size: 11px;
}

/* Coluna da esquerda (Pastas) */
.ide-sidebar {
    width: 130px;
    /* Largura da barra de arquivos */
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.15);
    border-right: 1px solid rgba(110, 150, 220, 0.1);
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    user-select: none;
}

/* Itens da barra lateral (pastas e arquivos) */
.ide-file-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.ide-file-item i {
    font-size: 12px;
}

.ide-file-item.ide-file-active {
    background: rgba(120, 100, 220, 0.15);
    color: #b9aef4;
    /* Destaca o arquivo ativo */
}

/* Coluna da direita (Código) */
.ide-editor {
    flex: 1;
    padding: 6px 0;
    overflow-x: auto;
    background: transparent;
}

/* Ajuste fino para tirar o padding excessivo do body do painel */
.tech-info-window-body {
    padding: 0 !important;
    /* Permite que o layout ocupe as bordas da janela */
}

.founder-redes {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.founder-redes a {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff !important;
    font-size: 22px;

    text-decoration: none;

    transition: color .3s ease, transform .3s ease;
}

.founder-redes i {
    color: #fff !important;
}

.founder-redes a:hover {
    color: #9ed8f5 !important;
    transform: translateY(-2px);
}

.founder-redes a:hover i {
    color: #9ed8f5 !important;
}

/* --- RESPONSIVIDADE DA IDE --- */

/* Telas médias (Tablets / Celulares grandes) */
@media (max-width: 700px) {
    .ide-container {
        font-size: 10.5px;
    }

    /* Reduz a largura da sidebar para dar mais espaço ao código */
    .ide-sidebar {
        width: 100px;
        padding: 4px 0;
    }

    .ide-file-item {
        padding: 3px 5px;
        gap: 4px;
    }
}

@media (max-width: 700px) {

    /* 1. CONTAINER PRINCIPAL: Garante que nada corte à esquerda */
    .founder-card {
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
        /* Crucial para o padding não estourar a largura */
        overflow: hidden;
        /* Mantém tudo dentro do card */
    }

    /* 2. LAYOUT DO CONTEÚDO: Força empilhamento vertical limpo */
    .founder-main-content {
        display: flex;
        flex-direction: column;
        /* Foto em cima, nome e texto embaixo */
        align-items: center;
        /* Centraliza horizontalmente */
        text-align: center;
        /* Centraliza o texto (exceto a descrição se preferir) */
        gap: 20px;
        /* Dá espaço entre foto e nome */
        margin-left: 0 !important;
        /* Remove qualquer margem que esteja cortando o texto */
    }

    /* 3. A FOTO: Centralizada, sem posição absoluta */
    .founder-photo {
        position: static;
        /* Importante! */
        width: 140px;
        /* Largura controlada */
        height: auto;
        margin: 0 auto;
        /* Centraliza horizontalmente no flexbox */
        border-radius: 50%;
        /* Faz a foto circular, combinando com o design */
        overflow: hidden;
    }

    .founder-photo img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* 4. BLOCO DO NOME E TAGS: Garante que fiquem ABAIXO da foto */
    .founder-name {
        position: static;
        /* Importante! */
        margin-top: 0;
        width: 100%;
    }

    .founder-name h3 {
        font-size: 22px;
        /* Reduz o tamanho da fonte */
        margin-bottom: 8px;
    }

    /* Bloco de tags (Design, Desenvolvimento, etc) */
    .founder-role {
        display: inline-block;
        padding: 4px 10px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        font-size: 11px;
    }

    /* 5. DESCRIÇÃO: Texto centralizado ou justificado, sem cortar */
    .founder-description {
        text-align: center;
        /* Alinha com a foto e o nome */
        font-size: 14px;
        line-height: 1.6;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        /* Pequeno respiro lateral interno */
    }

    /* 6. FORMAÇÕES: Remove recuos excessivos da timeline */
    .founder-education {
        text-align: left;
        /* Títulos de formações ficam melhor à esquerda */
        width: 100%;
        padding-left: 15px;
        /* Alinha com a timeline */
    }

    .timeline {
        margin-left: 0;
    }

    /* 7. STATS (RODAPÉ): Força os 3 cards a empilharem ou ficarem flex */
    .founder-stats {
        position: static;
        display: flex;
        flex-wrap: wrap;
        /* Permite quebrar linha se for muito estreito */
        justify-content: center;
        /* Centraliza o grupo */
        gap: 10px;
        margin-top: 24px;
        width: 100%;
    }

    .founder-stat {
        flex: 1 1 calc(33.333% - 10px);
        /* 3 por linha em telas Duo/grandes */
        min-width: 100px;
        /* Não deixa ficarem muito pequenos */
        max-width: 130px;
        padding: 10px;
    }
}

/* Ajuste adicional para celulares ultra estreitos (como o Duo dobrado) */
@media (max-width: 460px) {
    .founder-name h3 {
        font-size: 19px;
    }

    .founder-description {
        font-size: 13.5px;
    }

    /* Se ficarem muito apertados, os stats empilham em 2 ou 1 */
    .founder-stat {
        flex: 1 1 120px;
        /* Empilha mais cedo */
    }
}

/* Telas pequenas (Celulares) */
/* --- IDE RESPONSIVA SEM ROLAGEM HORIZONTAL --- */

@media (max-width: 550px) {

    /* 1. AFASATA O CARD INTEIRO do bloco de cima (descrição/destaques) e de baixo (stats) */
    .tech-info-window {
        margin-top: 60px !important;
    }
}

@media (max-width: 460px) {

    /* 1. AFASATA O CARD INTEIRO do bloco de cima (descrição/destaques) e de baixo (stats) */
    .tech-info-window {
        margin-top: 20px !important;
        /* Espaço para o elemento de CIMA */
        margin-bottom: 24px !important;
        /* Espaço para o elemento de BAIXO */
        width: 100%;
        box-sizing: border-box;
    }

    /* 2. Ajuste fino na IDE interna para acompanhar o card */
    .ide-container {
        flex-direction: column;
        width: 100%;
        margin: 0;
        /* Reseta as margens internas da IDE para não duplicar espaço */
        font-size: 10px;
    }

    /* 3. Mantém as abas limpas e sem colar no código */
    .ide-sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid rgba(110, 150, 220, 0.15);
        padding: 6px 8px;
        gap: 6px;
    }

    /* 4. Trava a quebra de linha sem estouro lateral */
    .ide-editor {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 8px;
        overflow-x: hidden !important;
    }

    .ide-editor pre,
    .ide-editor code,
    .tech-info-window-body {
        white-space: pre-wrap !important;
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
        max-width: 100%;
    }
}

@media (max-width: 376px) {

    /* 1. AFASATA O CARD INTEIRO do bloco de cima (descrição/destaques) e de baixo (stats) */
    .tech-info-window {
        margin-top: 120px !important;
        /* Espaço para o elemento de CIMA */
    }
}


/* =========================================================
   FOTO + CONTEÚDO + PAINEL DE TECNOLOGIA
   ========================================================= */

.founder-main-content {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    align-items: stretch;
    gap: clamp(14px, 2.5vw, 28px);
    overflow: visible;
    /* antes era hidden — deixa a foto vazar */
}

.founder-photo {
    position: relative;
    flex: 0 0 auto;

    width: clamp(150px, 20vw, 285px);
    height: calc(100% + 45px);
    /* fica mais alta que o card */
    margin-bottom: -30px;
    /* e "desce" pra fora da borda */
    align-self: flex-end;
    /* garante que ela cresça pra baixo, não pra cima */

    display: flex;
    align-items: flex-end;
    justify-content: center;

    z-index: 4;
    pointer-events: none;

    transition: opacity .5s ease, filter .5s ease, transform .5s ease, width .3s ease, height .3s ease;
}

.founder-photo::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 70%;
    height: 55%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(74, 121, 151, .22), transparent 68%);
    filter: blur(25px);
}

.founder-photo img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    z-index: 2;
}

.founder-content {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    flex-direction: column;

    z-index: 5;

    transition: opacity .5s ease, filter .5s ease, transform .5s ease;
}

.founder-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 12px;
}

.founder-name h3 {
    margin: 0 0 10px;

    font-family:
        "Golos Text",
        sans-serif;

    font-size:
        clamp(22px, 2vw, 28px);

    font-weight: 600;

    line-height: 1;

    letter-spacing: -1.5px;

    /*
     * Degradê mais suave e acinzentado,
     * semelhante ao da referência.
     */
    background:


        linear-gradient(to left,
            #f4f7fa 0%,
            #d9e1e7 28%,
            #aebdca 58%,
            #7890a2 80%,
            #7890a2 100%);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.founder-role {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border: 1px solid rgba(130, 155, 170, .30);
    border-radius: 3px;
    background: rgba(255, 255, 255, .035);
    color: rgba(255, 255, 255, .85);
    font-family: "Golos Text", sans-serif;
    font-size: 9px;
    line-height: 1.4;
}

.founder-main {
    flex: 1 1 auto;
    min-height: 0;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 165px;
    column-gap: 20px;
}

.founder-description {
    padding-right: 3px;
    overflow-y: auto;
}

.founder-description p {
    max-width: 640px;

    margin: 0 auto;

    color:
        rgba(255, 255, 255, .65);

    /*
     * Mantido exatamente
     */
    font-family:
        "Golos Text",
        sans-serif;

    font-size: 14px;

    line-height: 1.45;

    margin-bottom: 0.7em;

    text-align: justify;
}

.founder-education {
    position: relative;
    padding-left: 13px;
    border-left: 2px solid #73a8c7;
    height: 135px;
}

.founder-education h4 {
    margin: 0 0 10px;

    font-family:
        "Golos Text",
        sans-serif;

    font-size:
        clamp(15px, 2vw, 20px);

    font-weight: 600;

    line-height: 1;

    letter-spacing: -1.5px;

    /*
     * Degradê mais suave e acinzentado,
     * semelhante ao da referência.
     */
    background:


        linear-gradient(to left,
            #f4f7fa 0%,
            #d9e1e7 28%,
            #aebdca 58%,
            #7890a2 80%,
            #7890a2 100%);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}



.timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-item {
    position: relative;
    display: block;
}

.timeline-dot {
    position: absolute;
    left: -17.5px;
    top: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c3eaff;
    box-shadow: 0 0 5px rgba(130, 200, 240, .65);
}

.timeline-item strong {
    display: block;
    margin-bottom: 3px;
    color: #e9edf0;
    font-family: "Golos Text", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
}

.timeline-item p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-family: "Golos Text", sans-serif;
    font-size: 10px;
    line-height: 1.2;
}

/* =========================================================
   MÉTRICAS
   ========================================================= */

.founder-stats {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    gap: 10px;
}

.founder-stat {
    width: 160px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(67, 102, 127, .65);
    border-radius: 7px;
    background: linear-gradient(145deg, #18242d, #091016);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.founder-stat strong {
    color: #e4edf3;
    font-family: "Golos Text", sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: .9;
    margin-bottom: 0.1em;
}

.founder-stat span {
    margin-top: 4px;
    color: #7fa3ba;
    font-family: "Golos Text", sans-serif;
    font-size: 16px;
    line-height: 1;
}

/* =========================================================
   PAINEL DE INFO DA TECNOLOGIA — ficha técnica
   ========================================================= */

.tech-info-panel {
    position: absolute;
    inset: 0;
    z-index: 6;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(16px, 2.5vw, 32px);

    overflow-y: auto;
    padding-right: 4px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(.98);
    filter: blur(6px);

    transition: opacity .5s ease, transform .5s ease, filter .5s ease;
}

.founder-card.is-active.is-info .tech-info-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.founder-card.is-active.is-info .founder-photo,
.founder-card.is-active.is-info .founder-content {
    opacity: 0;
    filter: blur(10px);
    transform: scale(.97);
    pointer-events: none;
}

.tech-info-left {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.tech-info-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.tech-info-icon {
    flex: 0 0 auto;
    width: clamp(44px, 5vw, 58px);
    height: clamp(44px, 5vw, 58px);
    border-radius: 12px;
    background:
        radial-gradient(circle at 30% 20%, rgba(110, 90, 220, .35), transparent 60%),
        #0b0f16;
    box-shadow:
        0 0 0 1px rgba(120, 130, 200, .25),
        0 0 18px rgba(90, 130, 230, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tech-info-icon img {
    width: 64%;
    height: 64%;
    object-fit: contain;
}

.tech-info-title {
    margin: 0 0 5px;
    color: #bcdcf5;
    font-family: "Golos Text", sans-serif;
    font-size: clamp(18px, 2.3vw, 26px);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tech-info-tag {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: 4px;
    border: 1px solid rgba(140, 130, 220, .35);
    background: rgba(120, 100, 220, .12);
    color: #b9aef4;
    font-family: "Golos Text", sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .3px;
}

.tech-info-desc {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-family: "Golos Text", sans-serif;
    font-size: clamp(10.5px, 1.15vw, 12px);
    line-height: 1.55;
}

.tech-info-divider {
    height: 1px;
    margin: 14px 0;
    background: linear-gradient(90deg, rgba(120, 150, 200, .35), transparent 80%);
}

.tech-info-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #8fa9e8;
    font-family: "Golos Text", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.tech-info-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-info-highlight {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(120, 140, 190, .18);
}

.tech-info-highlight i {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: rgba(110, 130, 230, .16);
    color: #9db8f2;
    font-size: 11px;
}

.tech-info-highlight strong {
    display: block;
    color: #eef3f8;
    font-family: "Golos Text", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
}

.tech-info-highlight span {
    display: block;
    color: rgba(255, 255, 255, .62);
    font-family: "Golos Text", sans-serif;
    font-size: 9px;
    line-height: 1.3;
}

.tech-info-idealfor {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-info-idealfor span {
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(140, 155, 190, .3);
    background: rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .8);
    font-family: "Golos Text", sans-serif;
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
}

.tech-info-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.tech-info-window {
    flex: 1 1 auto;
    min-height: 0;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(110, 150, 220, .35);
    border-radius: 8px;
    background: #05080c;
    box-shadow: 0 0 24px rgba(70, 110, 200, .12);
    overflow: hidden;
}

.tech-info-window-top {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(110, 150, 220, .18);
    background: rgba(255, 255, 255, .02);
}

.tech-info-window-file {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .7);
    font-family: "Courier New", monospace;
    font-size: 10px;
}

.tech-info-window-lang {
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(120, 100, 220, .15);
    color: #b9aef4;
    font-family: "Golos Text", sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .4px;
}

.tech-info-window-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 0;
}

.code-line {
    display: flex;
    gap: 12px;
    padding: 0 12px;
    font-family: "Courier New", monospace;
    font-size: 10px;
    line-height: 1.65;
    white-space: pre;
}

.code-ln {
    flex: 0 0 auto;
    width: 16px;
    text-align: right;
    color: rgba(120, 150, 200, .4);
    user-select: none;
}

.code-src {
    color: #d7e6f2;
}

.tok-com {
    color: #6b7785;
    font-style: italic;
}

.tok-str {
    color: #9ecb7a;
}

.tok-key {
    color: #c58af9;
}

.tok-var {
    color: #7fc4ec;
}

.tok-tag {
    color: #7fc4ec;
}

.tool-line {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-family: "Golos Text", sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .03);
}

.tech-info-stats {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tech-info-stat {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(110, 130, 190, .25);
    background: linear-gradient(145deg, #131c2b, #090d14);
}

.tech-info-stat strong {
    display: block;
    color: #eef3f8;
    font-family: "Golos Text", sans-serif;
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 700;
    margin-bottom: 3px;
}

.tech-info-stat span {
    display: block;
    color: #8fa3c2;
    font-family: "Golos Text", sans-serif;
    font-size: 8.5px;
    line-height: 1.3;
}

/* =========================================================
   NAVEGAÇÃO (indicadores)
   ========================================================= */

.founders-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex: 0 0 auto;
}

.founders-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(130, 155, 170, .45);
    background: rgba(255, 255, 255, .08);
    padding: 0;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease, border-color .3s ease;
}

.founders-dot.is-active {
    background: #75a9c6;
    border-color: #75a9c6;
    transform: scale(1.3);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 900px) {

    .founder-photo {
        width: clamp(130px, 18vw, 200px);
    }
}

@media (max-width: 700px) {

    .founders-sticky {
        justify-content: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .founders-stage {
        width: 100%;
        height: auto;
        min-height: clamp(600px, 92vh, 780px);
    }

    .founder-card {
        padding: 16px 16px 16px 18px;
        gap: 10px;
    }

    .founder-techs {
        margin-left: -30px;
        gap: 8px;
    }

    .tech-icon {
        width: 26px;
        height: 26px;
    }

    .founder-main-content {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        overflow: hidden;
        overflow-y: visible;

        
        /* quem rola agora é o .founders-sticky, não aqui dentro */
    }

    .founder-photo {
        width: 130px;
        height: 170px;
        margin: 0 auto;
    }

    .founder-content {
        width: 100%;
    }

    .founder-main {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .founder-education {
        height: auto;
    }

    /* CORREÇÃO PRINCIPAL: os stats voltam ao fluxo normal e ganham
       largura responsiva, em vez de 160px fixos x3 */
    .founder-stats {
        position: static;
        margin-top: 12px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .founder-stat {
        width: auto;
        flex: 1 1 90px;
        min-width: 90px;
        height: 64px;
        padding: 6px;
    }

    .founder-stat strong {
        font-size: 20px;
    }

    .founder-stat span {
        font-size: 10.5px;
    }

    .tech-info-panel {
        grid-template-columns: 1fr;
        align-items: start;
        text-align: left;
    }

    .tech-info-desc {
        max-width: 100%;
    }

    .tech-info-window {
        min-height: 160px;
    }

    .tech-info-window-body {
        overflow-x: auto;
        /* se uma linha de código for longa, rola só ali dentro */
    }

    .tech-info-highlights,
    .tech-info-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 460px) {



    .founder-techs {
        margin-left: -30px;
    }

    .tech-icon {
        width: 24px;
        height: 24px;
    }

    .founder-photo {
        width: 110px;
        height: 150px;
    }

    .founder-stat {
        flex: 1 1 80px;
        min-width: 80px;
        height: 58px;
    }

    .founder-stat strong {
        font-size: 17px;
    }

    .founder-stat span {
        font-size: 9px;
    }
}

/* =========================================================
   TABLET — EMPILHADO, TAMANHOS MAIORES, SCROLL INTERNO
   ========================================================= */

@media (min-width: 1024px) and (max-width: 1024px) {

    .tech-info-window {
        margin-top: 180px;
    }
}

@media (min-width: 701px) and (max-width: 1024px) {

    .founders-sticky {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .founders-header {
        margin-bottom: clamp(20px, 3vw, 32px);
    }

    /* altura fixa = permite scroll interno de verdade */
    .founders-stage {
        width: 100%;
        height: clamp(620px, 76vh, 820px);
    }

    .founder-card {
        overflow: visible !important;
        /* sobrescreve o overflow:visible padrão */
        padding: 26px 30px 26px 32px;
        gap: 20px;
    }

    /* ícones mais pra dentro do card (menos "pendurados" na borda) */
    .founder-techs {
        margin-left: -50px;
        gap: 14px;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
        border-radius: 9px;
    }

    /* só o conteúdo rola — os ícones ficam fixos na lateral */
    .founder-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 22px;

        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .founder-photo {
        width: 200px;
        height: 260px;
        margin: 0 auto;
        flex-shrink: 0;
    }

    .founder-content {
        width: 100%;
    }

    .founder-name {
        justify-content: center;
    }

    .founder-name h3 {
        font-size: 28px;
    }

    .founder-role {
        font-size: 12px;
        padding: 5px 12px;
    }

    .founder-main {
        grid-template-columns: 1fr;
        row-gap: 24px;
        max-width: 640px;
        /* centraliza o bloco inteiro */
        margin: 0 auto;
    }

    .founder-description {
        text-align: justify;
        overflow-y: visible;
    }

    .founder-description p {
        font-size: 15.5px;
        line-height: 1.6;
        max-width: 640px;
        margin: 0 0 0.7em;
        /* sem auto — começa na borda esquerda do container */
    }

    .founder-education {
        height: auto;
        align-self: start;
        text-align: left;
        max-width: 640px;
        margin: 0;
        /* sem auto — segue o mesmo início da descrição */
    }

    .founder-education h4 {
        font-size: 20px;
    }

    .timeline-item strong {
        font-size: 15px;
    }

    .timeline-item p {
        font-size: 11.5px;
    }

    .founder-stats {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        margin-top: 32px;
        /* era 8px — respiro maior antes dos cards */
        width: 100%;
        flex-shrink: 0;
    }

    .founder-stat {
        flex: 1 1 150px;
        width: auto;
        min-width: 140px;
        max-width: 190px;
        height: 88px;
    }

    .founder-stat strong {
        font-size: 30px;
    }

    .founder-stat span {
        font-size: 15px;
    }

    /* ficha técnica da tecnologia (ao clicar no ícone) */
    .tech-info-panel {
        grid-template-columns: 1fr;
        align-items: start;
        align-content: start;
        /* <-- adiciona isso */
        text-align: left;
        gap: 20px;
        height: 100%;
        padding-right: 10px;
    }

    .tech-info-icon {
        width: 58px;
        height: 58px;
    }

    .tech-info-title {
        font-size: 24px;
    }

    .tech-info-desc {
        font-size: 13.5px;
    }

    .tech-info-highlights {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    /* garante espaço reservado pro card de código, sem folga estranha em cima */
    .tech-info-right {
        min-height: 260px;
    }

    .tech-info-window {
        height: 260px;
        /* altura fixa em vez de min-height */
        flex: 0 0 auto;
        /* impede que o flex tente esticar ainda mais */
    }

    .tech-info-window-body {
        overflow-x: auto;
    }

    .tech-info-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

/* =========================================================
   TABLET LARGO (900px+) — FOTO MAIOR
   ========================================================= */

@media (min-width: 900px) and (max-width: 1023px) {

    .founder-photo {
        width: 320px;
        height: 400px;
    }

    /* a stage precisa de mais altura pra acomodar a foto maior */
    .founders-stage {
        height: clamp(760px, 82vh, 920px);
    }
}

/* =========================================================
   NOSSOS SERVIÇOS
   ========================================================= */

.services-section {
    position: relative;
    width: 100%;

    padding: 25px 35px;

    background: #000;
    overflow: hidden;
    margin-top: -60px;
}

/* as duas bolhas de luz do fundo */
.services-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    /* animation: servicesGlowPulse 7s ease-in-out infinite; */
}

.services-glow-1 {
    width: 480px;
    height: 480px;
    left: -100px;
    top: 20px;
    background: radial-gradient(circle, rgba(70, 140, 220, .35), transparent 70%);
}

.services-glow-2 {
    width: 520px;
    height: 520px;
    right: -120px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(90, 110, 220, .30), transparent 70%);
    /* animation-delay: 3.2s; */
}

@keyframes servicesGlowPulse {

    0%,
    100% {
        opacity: .45;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.services-header {
    position: relative;
    z-index: 2;

    max-width: 700px;
    margin: 0 auto clamp(30px, 5vw, 50px);
    text-align: center;
}

.services-header h2 {
    margin: 0 0 10px;
    font-family: "Golos Text", sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1.5px;

    background: linear-gradient(180deg, #f4f7fa 0%, #d9e1e7 28%, #aebdca 58%, #7890a2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 18px rgba(100, 160, 200, .18);
}

.services-header h2 span {
    background: linear-gradient(180deg, #dcecf7 0%, #c0d5e3 30%, #8caabd 60%, #66849c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-header p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .72);
    font-family: "Golos Text", sans-serif;
    font-size: clamp(10px, 1.4vw, 14px);
    line-height: 1.5;
}

.services-list {
    position: relative;
    z-index: 2;

    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    border-bottom: 1px solid rgba(120, 150, 200, .18);
    border-radius: 6px;
    transition: background .35s ease, border-color .35s ease;
}

.service-item.is-open {
    background: linear-gradient(90deg, rgba(70, 120, 180, 0.400), rgba(70, 120, 180, .100));
    border-color: rgba(120, 170, 220, .3);
}

.service-toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: clamp(14px, 2vw, 18px) clamp(14px, 2vw, 20px);

    font: inherit;
    text-align: left;
}

.service-title {
    color: #b2e5ffe1;
    font-family: "Golos Text", sans-serif;
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 600;
    letter-spacing: -0.2px;
    font-weight: bold;
}

.service-icon {
    position: relative;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(140, 170, 210, .45);
}

.service-icon::before,
.service-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #9ed8f5;
    transform: translate(-50%, -50%);
    transition: transform .35s ease;
}

.service-icon::before {
    width: 9px;
    height: 1.4px;
}

.service-icon::after {
    width: 1.4px;
    height: 9px;
}

.service-item.is-open .service-icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.service-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s ease;
}

.service-item.is-open .service-panel {
    grid-template-rows: 1fr;
}

.service-panel-inner {
    overflow: hidden;
}

.service-panel-inner p {
    margin: 0;
    padding: 0 clamp(14px, 2vw, 20px) clamp(14px, 2vw, 18px);
    color: rgba(255, 255, 255, .68);
    font-family: "Golos Text", sans-serif;
    font-size: clamp(12.5px, 1.15vw, 14px);
    line-height: 1.55;
    max-width: 900px;
}

@media (max-width: 550px) {
    .service-title {
        font-size: 12.5px;
    }

    .services-glow {
        filter: blur(55px);
    }

    .services-glow-1 {
        width: 300px;
        height: 300px;
    }

    .services-glow-2 {
        width: 320px;
        height: 320px;
    }
}

/* =========================================================
   SISTEMAS PÚBLICOS QUE COLABORAMOS
   ========================================================= */

.projects-section {
    position: relative;
    width: 100%;
    padding: 25px 35px;
    background: #000;
    /* margin-top: -80px; */
}

.projects-header {
    max-width: 700px;
    margin: 0 auto clamp(26px, 4vw, 40px);
    text-align: center;
}

.projects-header h2 {
    margin: 0 0 10px;
    font-family: "Golos Text", sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1.5px;

    background: linear-gradient(180deg, #f4f7fa 0%, #d9e1e7 28%, #aebdca 58%, #7890a2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 18px rgba(100, 160, 200, .18);
}

.projects-header h2 span {
    background: linear-gradient(180deg, #dcecf7 0%, #c0d5e3 30%, #8caabd 60%, #66849c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.projects-header p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .72);
    font-family: "Golos Text", sans-serif;
    font-size: clamp(10px, 1.4vw, 14px);
    line-height: 1.5;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 340px));
    justify-content: center;
    gap: clamp(16px, 2.5vw, 26px);
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(120, 150, 200, .22);
    background: #0a1018;
    transition: border-color .5s ease, box-shadow .5s ease;
}

.project-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #05080b;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-body {
    padding: 16px 18px 18px;
}

.project-body p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .7);
    font-family: "Golos Text", sans-serif;
    font-size: 12.9px;
    line-height: 1.5;
    text-align: justify;
}

.project-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    background: linear-gradient(135deg, #587fa4, #3e6388);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Golos Text", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    box-sizing: border-box;
    transition: background .3s ease, transform .3s ease;
}

.project-btn:hover {
    background: linear-gradient(135deg, #658dad, #4a7197);
    transform: translateY(-1px);
}

/* =========================================================
   COMO TRABALHAMOS
   ========================================================= */

.process-section {
    position: relative;
    width: 100%;
    padding: 25px 35px;
    background: #000;
    /* margin-top: -150px; */
}

.process-header {
    max-width: 700px;
    margin: 0 auto clamp(26px, 4vw, 40px);
    text-align: center;
}

.process-header h2 {
    margin: 0 0 10px;
    font-family: "Golos Text", sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1.5px;

    background: linear-gradient(180deg, #f4f7fa 0%, #d9e1e7 28%, #aebdca 58%, #7890a2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 18px rgba(100, 160, 200, .18);
}

.process-header h2 span {
    background: linear-gradient(180deg, #dcecf7 0%, #c0d5e3 30%, #8caabd 60%, #66849c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-header p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .72);
    font-family: "Golos Text", sans-serif;
    font-size: clamp(10px, 1.4vw, 14px);
    line-height: 1.5;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
    max-width: 1000px;
    margin: 0 auto;
}

.process-card {
    padding: clamp(16px, 2vw, 22px);
    border-radius: 10px;
    border: 1px solid rgba(120, 150, 200, .18);
    background: linear-gradient(160deg, rgba(20, 30, 45, .55), rgba(6, 10, 16, .55));

    opacity: 0;
    transform: translateY(18px) scale(1);

    transition:
        opacity .6s ease,
        transform .4s ease,
        border-color .4s ease,
        background .4s ease;
}

/* Quando o card aparece na tela */
.process-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Quando passa o mouse */
.process-card.is-visible:hover {
    border-color: rgba(120, 170, 220, .3);
    background: linear-gradient(160deg, rgba(20, 30, 45, .75), rgba(6, 10, 16, .75));
    transform: translateY(0) scale(1.05);
}



.process-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(90, 140, 220, .15);
    color: #8fc4ec;
    margin-bottom: 14px;
    font-size: 16px;
    transition: background .4s ease, color .4s ease, transform .4s ease;
}

.process-card:hover .process-icon {
    background: rgba(120, 170, 240, .3);
    color: #cfe8fb;
    transform: scale(1.08);
}

.process-card h3 {
    margin: 0 0 8px;
    color: #8eb8d5;
    font-family: "Golos Text", sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.process-card p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-family: "Golos Text", sans-serif;
    font-size: 12.5px;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FALE COM A DYPECORE + PERGUNTAS FREQUÊNTES
   ========================================================= */

.contact-section {
    position: relative;
    width: 100%;

    padding: 25px 35px 60px;

    background: #000;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.contact-glow-1 {
    width: 460px;
    height: 460px;
    left: -120px;
    top: -60px;
    background: radial-gradient(circle, rgba(70, 140, 220, .30), transparent 70%);
}

.contact-glow-2 {
    width: 480px;
    height: 480px;
    right: -140px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(90, 110, 220, .26), transparent 70%);
}

.contact-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(16px, 2.5vw, 26px);

    max-width: 1180px;
    margin: 0 auto;
}

/* =========================================================
   CARDS (compartilhado entre form e faq)
   ========================================================= */

.contact-card,
.faq-card {
    border: 1px solid rgba(120, 150, 200, .22);
    border-radius: 10px;
    background:
        radial-gradient(circle at 15% 0%, rgba(40, 88, 125, .18), transparent 40%),
        linear-gradient(160deg, #0a0f16 0%, #030507 60%, #010202 100%);
    padding: clamp(20px, 3vw, 30px);

    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.contact-card.is-visible,
.faq-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-title,
.faq-title {
    margin: 0 0 10px;
    font-family: "Golos Text", sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1.5px;

    background: linear-gradient(180deg, #f4f7fa 0%, #d9e1e7 28%, #aebdca 58%, #7890a2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 18px rgba(100, 160, 200, .18);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.contact-title span,
.faq-title span {
    background: linear-gradient(180deg, #dcecf7 0%, #c0d5e3 30%, #8caabd 60%, #66849c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================================
   FORMULÁRIO
   ========================================================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: "Golos Text", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #cfe0ea;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 14px;

    border-radius: 6px;
    border: 1px solid rgba(120, 150, 200, .30);
    background: rgba(255, 255, 255, .03);

    color: #eef3f8;
    font-family: "Golos Text", sans-serif;
    font-size: 13px;

    outline: none;

    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 96px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, .35);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(158, 216, 245, .65);
    background: rgba(158, 216, 245, .05);
    box-shadow: 0 0 0 3px rgba(158, 216, 245, .12);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(230, 110, 110, .55);
}

/* =========================================================
   BOTÃO ENVIAR
   ========================================================= */

.contact-submit {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 4px;
    padding: 13px 20px;

    border: 0;
    border-radius: 6px;

    background: linear-gradient(135deg, #587fa4, #3e6388);
    color: #fff;

    font-family: "Golos Text", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;

    cursor: pointer;

    transition: background .3s ease, transform .2s ease, box-shadow .3s ease;
}

.contact-submit:hover {
    background: linear-gradient(135deg, #658dad, #4a7197);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(70, 130, 190, .30);
}

.contact-submit:active {
    transform: translateY(0);
}

.contact-submit:disabled {
    cursor: not-allowed;
    opacity: .8;
}

.btn-loader {
    display: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    animation: btnSpin .7s linear infinite;
}

.contact-submit.is-loading .btn-text {
    opacity: .6;
}

.contact-submit.is-loading .btn-loader {
    display: inline-block;
}

@keyframes btnSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   FEEDBACK
   ========================================================= */

.form-feedback {
    min-height: 18px;

    font-family: "Golos Text", sans-serif;
    font-size: 12.5px;
    text-align: center;

    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .35s ease, transform .35s ease;
}

.form-feedback.is-success,
.form-feedback.is-error {
    opacity: 1;
    transform: translateY(0);
}

.form-feedback.is-success {
    color: #8fe0a8;
}

.form-feedback.is-error {
    color: #e68f8f;
}

/* =========================================================
   FAQ — ACCORDION
   ========================================================= */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid rgba(120, 150, 200, .20);
    border-radius: 8px;
    background: rgba(255, 255, 255, .02);
    overflow: hidden;

    transition: background .35s ease, border-color .35s ease;
}

.faq-item.is-open {
    background: linear-gradient(90deg, rgba(70, 120, 180, .28), rgba(70, 120, 180, .06));
    border-color: rgba(120, 170, 220, .35);
}

.faq-toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 14px 16px;

    font: inherit;
    text-align: left;
}

.faq-question {
    color: #cfe6f5;
    font-family: "Golos Text", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}

.faq-icon {
    position: relative;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(140, 170, 210, .45);
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #9ed8f5;
    transform: translate(-50%, -50%);
    transition: transform .35s ease;
}

.faq-icon::before {
    width: 8px;
    height: 1.4px;
}

.faq-icon::after {
    width: 1.4px;
    height: 8px;
}

.faq-item.is-open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s ease;
}

.faq-item.is-open .faq-panel {
    grid-template-rows: 1fr;
}

.faq-panel-inner {
    overflow: hidden;
}

.faq-panel-inner p {
    margin: 0;
    padding: 0 16px 14px;
    color: rgba(255, 255, 255, .68);
    font-family: "Golos Text", sans-serif;
    font-size: 12.5px;
    line-height: 1.55;
}

/* =========================================================
   RESPONSIVO — CONTATO
   ========================================================= */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 550px) {

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-glow-1,
    .contact-glow-2 {
        width: 280px;
        height: 280px;
        filter: blur(55px);
    }

}

/* =========================================================
   MODAIS LEGAIS — TERMOS DE USO / POLÍTICA DE PRIVACIDADE
   ========================================================= */

/* =========================================================
   GATILHOS (links/botões que abrem o modal)
   ========================================================= */

.legal-modal-trigger {
    appearance: none;
    -webkit-appearance: none;

    background: none;
    border: 0;
    padding: 0;

    color: rgba(255, 255, 255, .6);

    font-family: "Golos Text", sans-serif;
    font-size: 12px;

    text-decoration: underline;
    text-underline-offset: 2px;

    cursor: pointer;

    transition: color .25s ease;
}

.legal-modal-trigger:hover {
    color: #9ed8f5;
}


/* =========================================================
   LINK INTERNO (ex: "Política de Privacidade" citada
   dentro do texto dos Termos de Uso)
   ========================================================= */

.legal-modal-inline-link {
    appearance: none;
    -webkit-appearance: none;

    background: none;
    border: 0;
    padding: 0;

    color: #9ed8f5;
    font: inherit;

    text-decoration: underline;
    text-underline-offset: 2px;

    cursor: pointer;
}

.legal-modal-inline-link:hover {
    color: #bfe4f8;
}


/* =========================================================
   OVERLAY (fundo escurecido)
   ========================================================= */

.legal-modal-overlay {
    position: fixed;
    inset: 0;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(4px);

    opacity: 0;
    pointer-events: none;

    transition: opacity .3s ease;
}

.legal-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}


/* =========================================================
   CAIXA DO MODAL
   ========================================================= */

.legal-modal {
    position: relative;

    width: min(760px, 100%);
    max-height: 85vh;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(120, 150, 200, .22);
    border-radius: 14px;

    background:
        radial-gradient(circle at 15% 0%, rgba(40, 88, 125, .18), transparent 40%),
        linear-gradient(160deg, #0a0f16 0%, #030507 60%, #010202 100%);

    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);

    transform: translateY(24px) scale(.97);
    opacity: 0;

    transition:
        transform .35s cubic-bezier(.22, .68, 0, 1.01),
        opacity .35s ease;
}

.legal-modal-overlay.is-open .legal-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.legal-modal-header {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 20px 24px;

    border-bottom: 1px solid rgba(120, 150, 200, .18);
}

.legal-modal-header h2 {
    margin: 0;

    font-family: "Golos Text", sans-serif;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    letter-spacing: -0.5px;

    background: linear-gradient(180deg, #f4f7fa 0%, #d9e1e7 28%, #aebdca 58%, #7890a2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-modal-close {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    border: 1px solid rgba(120, 150, 200, .30);
    background: rgba(255, 255, 255, .03);

    color: #cfe0ea;
    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    transition: background .25s ease, border-color .25s ease, transform .2s ease;
}

.legal-modal-close:hover {
    background: rgba(158, 216, 245, .12);
    border-color: rgba(158, 216, 245, .45);
    transform: scale(1.05);
}


/* =========================================================
   CORPO (rolável)
   ========================================================= */

.legal-modal-body {
    flex: 1 1 auto;
    min-height: 0;

    overflow-y: auto;

    padding: 20px 24px 28px;

    color: rgba(255, 255, 255, .72);

    font-family: "Golos Text", sans-serif;
    font-size: 13.5px;
    line-height: 1.65;
}

.legal-modal-body::-webkit-scrollbar {
    width: 6px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: rgba(158, 216, 245, .25);
    border-radius: 6px;
}

.legal-modal-updated {
    display: inline-block;

    margin-bottom: 16px;
    padding: 3px 10px;

    border-radius: 20px;
    border: 1px solid rgba(140, 155, 190, .3);

    background: rgba(255, 255, 255, .03);

    color: rgba(255, 255, 255, .55);
    font-size: 10.5px;
}

.legal-modal-body h3 {
    margin: 22px 0 8px;

    color: #bcdcf5;

    font-family: "Golos Text", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.legal-modal-body h3:first-of-type {
    margin-top: 0;
}

.legal-modal-body p {
    margin: 0 0 12px;
}

.legal-modal-body ul {
    margin: 0 0 12px;
    padding-left: 18px;
}

.legal-modal-body li {
    margin-bottom: 6px;
}

.legal-modal-body strong {
    color: #e9edf0;
    font-weight: 600;
}

.legal-modal-body hr {
    border: 0;
    height: 1px;

    margin: 18px 0;

    background: linear-gradient(90deg, rgba(120, 150, 200, .25), transparent 85%);
}


/* =========================================================
   RODAPÉ
   ========================================================= */

.legal-modal-footer {
    flex: 0 0 auto;

    display: flex;
    justify-content: flex-end;

    padding: 14px 24px;

    border-top: 1px solid rgba(120, 150, 200, .18);
}

.legal-modal-footer button {
    padding: 9px 20px;

    border: 0;
    border-radius: 6px;

    background: linear-gradient(135deg, #587fa4, #3e6388);
    color: #fff;

    font-family: "Golos Text", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .3px;

    cursor: pointer;

    transition: background .3s ease, transform .2s ease;
}

.legal-modal-footer button:hover {
    background: linear-gradient(135deg, #658dad, #4a7197);
    transform: translateY(-1px);
}


/* =========================================================
   RESPONSIVO — TELA CHEIA NO MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .legal-modal-overlay {
        padding: 0;
    }

    .legal-modal {
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        height: 100%;

        border-radius: 0;
    }

    .legal-modal-body {
        font-size: 13px;
    }

}

@media (max-width: 460px) {

    .legal-modal-header {
        padding: 16px;
    }

    .legal-modal-body {
        padding: 16px 16px 22px;
    }

    .legal-modal-footer {
        padding: 12px 16px;
    }

}