:root {

    --black: #070a09;
    --black-soft: #0b100e;

    --navy: #101d2d;
    --navy-light: #17283b;

    --white: #f4f7f1;

    --gray: #98a49d;
    --gray-dark: #657069;

    --green: #b8ed55;
    --green-soft: #68c89b;

    --orange: #ef8b4c;

    /* Cor de destaque usada na superfície adaptável do site.
       No escuro é o verde neon original; no claro vira um
       verde mais profundo (ver body.light), pensado para não
       "gritar" sobre um fundo claro. Elementos que ficam
       permanentemente escuros (mockups, cta, cards flutuantes)
       continuam usando var(--green) puro. */
    --accent: var(--green);

    --border: rgba(244, 247, 241, 0.11);

    --shadow-soft: none;
    --shadow-lift: none;

    --radius: 18px;

    --container: 1180px;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--black);
    color: var(--white);

    font-family: "Manrope", sans-serif;

    overflow-x: hidden;

    transition:
        background 0.4s ease,
        color 0.4s ease;
}


/* =========================================================
   TEMA CLARO

   Não é um simples "inverter preto e branco": o fundo é um
   marfim suave (não branco puro), os cards ganham uma
   superfície própria com sombra real pra criar profundidade,
   e o verde neon vira um verde mais profundo e legível.
========================================================= */

body.light {
    --black: #f5f3ec;
    --black-soft: #ffffff;

    --navy: #eae6d9;
    --navy-light: #e2ddcc;

    --white: #1c1f18;

    --gray: #5b6459;
    --gray-dark: #677060;

    --accent: #587326;

    --border: rgba(28, 31, 24, 0.11);

    --shadow-soft: 0 1px 2px rgba(28, 31, 24, 0.035), 0 10px 26px rgba(28, 31, 24, 0.05);
    --shadow-lift: 0 2px 4px rgba(28, 31, 24, 0.04), 0 22px 46px rgba(28, 31, 24, 0.09);
}


/* =========================================================
   TEMA CLARO — PROFUNDIDADE

   No escuro, um branco a 1-2% de opacidade já é suficiente
   pra "levantar" um card do fundo. No claro isso é invisível
   (branco sobre um fundo já claro). Por isso os cards abaixo
   ganham uma superfície própria (branco puro) + sombra real,
   em vez de depender só da opacidade.
========================================================= */

body.light .service-card:hover {
    background: rgba(28, 31, 24, 0.035);
}


body.light .price-card {
    background: var(--black-soft);

    box-shadow: var(--shadow-soft);
}


body.light .price-card:hover {
    box-shadow: var(--shadow-lift);
}


body.light .price-card.featured {
    background:
        linear-gradient(
            145deg,
            rgba(88, 115, 38, 0.10),
            rgba(255, 255, 255, 0.9)
        );

    border-color: rgba(88, 115, 38, 0.28);
}


body.light .process-item:hover {
    background: rgba(28, 31, 24, 0.03);
}


body.light .floating-card {
    background: rgba(255, 255, 255, 0.85);

    border-color: rgba(28, 31, 24, 0.10);

    box-shadow: 0 4px 8px rgba(28, 31, 24, 0.03), 0 20px 45px rgba(28, 31, 24, 0.08);
}


/* Tingimento das seções — a versão original usa um azul-marinho
   que fica "sujo" sobre um fundo claro. Aqui usamos um verde
   bem diluído, coerente com o resto da paleta. */

body.light .portfolio-section {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(88, 115, 38, 0.05),
            transparent
        );
}


body.light .about-section {
    background:
        linear-gradient(
            120deg,
            rgba(88, 115, 38, 0.06),
            transparent 65%
        );
}


/* O mockup do navegador e a caixa de CTA continuam
   propositalmente escuros nos dois temas — então o texto
   deles precisa ficar travado em tons claros, senão herdaria
   a cor de texto do tema claro e ficaria ilegível. */

body.light .browser-content {
    color: #f4f7f1;
}


body.light .cta-box {
    color: #f4f7f1;
}


body.light .cta-box p {
    color: rgba(244, 247, 241, 0.68);
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font-family: inherit;
}


.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================
   BACKGROUND
========================= */

.background-grid {
    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: -5;

    opacity: 0.28;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            transparent 90%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            transparent 90%
        );
}


body.light .background-grid {
    opacity: 0.5;

    background-image:
        linear-gradient(
            rgba(28, 31, 24, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(28, 31, 24, 0.05) 1px,
            transparent 1px
        );
}


.orb {
    position: fixed;

    width: 900px;
    height: 900px;

    border-radius: 50%;

    pointer-events: none;

    z-index: -4;

    opacity: 0.3;
}


.orb-one {
    top: -350px;
    right: -300px;

    background:
        radial-gradient(
            circle at 50% 50%,
            var(--accent) 0%,
            rgba(184, 237, 85, 0) 68%
        );
}


.orb-two {
    top: 5%;
    left: -450px;

    background:
        radial-gradient(
            circle at 50% 50%,
            var(--navy-light) 0%,
            rgba(23, 40, 59, 0) 68%
        );
}


.orb-three {
    bottom: -450px;
    right: -180px;

    background:
        radial-gradient(
            circle at 50% 50%,
            var(--orange) 0%,
            rgba(239, 139, 76, 0) 68%
        );
}


/* No claro os orbs viram um glow bem discreto —
   com o verde mais profundo, opacidade alta ficaria
   pesada demais em vez de um brilho suave. */

body.light .orb {
    opacity: 0.16;
}

body.light .orb-three {
    background:
        radial-gradient(
            circle at 50% 50%,
            #ab5d2b 0%,
            rgba(171, 93, 43, 0) 68%
        );
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    border-bottom: 1px solid var(--border);

    background:
        rgba(7, 10, 9, 0.82);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


body.light .header {
    background:
        rgba(245, 243, 236, 0.82);

    border-bottom-color: rgba(28, 31, 24, 0.09);
}


.header-inner {
    height: 82px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


.logo {
    display: flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}


.logo-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid var(--accent);

    color: var(--accent);

    font-family: "DM Mono", monospace;

    font-size: 17px;

    transform: rotate(-8deg);
}


.logo-text {
    display: flex;

    flex-direction: column;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: -0.02em;
}


.logo-text small {
    color: var(--gray);

    font-size: 9px;

    font-family: "DM Mono", monospace;

    font-weight: 400;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    margin-top: 2px;
}


.desktop-nav {
    display: flex;

    gap: 32px;

    margin-left: auto;
    margin-right: 34px;
}


.desktop-nav a {
    color: var(--gray);

    font-size: 12px;

    transition:
        color 0.25s ease;
}


.desktop-nav a:hover {
    color: var(--white);
}


.header-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


.theme-toggle {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    background: transparent;

    color: var(--white);

    cursor: pointer;

    border-radius: 50%;

    transition:
        border 0.25s ease,
        transform 0.25s ease;
}


.theme-toggle:hover {
    border-color: var(--accent);

    transform: rotate(15deg);
}


.theme-icon {
    font-size: 16px;
}


.header-button {
    padding: 11px 17px;

    background: var(--green);

    color: #10140e;

    font-size: 11px;

    font-weight: 800;

    border-radius: 999px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.header-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px
        rgba(184, 237, 85, 0.16);
}


.mobile-menu-button {
    display: none;

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);

    background: transparent;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;
}


.mobile-menu-button span {
    width: 17px;
    height: 1px;

    background: var(--white);
}


.mobile-menu {
    display: none;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 850px;

    padding-top: 170px;
    padding-bottom: 100px;

    position: relative;

    display: flex;

    align-items: center;
}


.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(450px, 0.9fr);

    gap: 80px;

    align-items: center;
}


.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--gray);

    font-family: "DM Mono", monospace;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    margin-bottom: 26px;
}


.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 5px
        rgba(184, 237, 85, 0.07);

    /* animation:
        pulse 2s infinite; */
    animation: pulse 2s infinite;
}


@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.65);
        opacity: 0.6;
    }
}


.hero h1 {
    max-width: 760px;

    font-size:
        clamp(
            54px,
            6.5vw,
            88px
        );

    line-height: 0.96;

    letter-spacing: -0.065em;

    font-weight: 700;
}


.hero h1 span {
    color: var(--accent);

    display: block;
}


.hero-description {
    max-width: 570px;

    color: var(--gray);

    font-size: 16px;

    line-height: 1.8;

    margin-top: 30px;
}


.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 34px;
}


.button {
    min-height: 50px;

    padding: 0 21px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 800;

    transition:
        transform 0.25s ease,
        border 0.25s ease,
        background 0.25s ease;
}


.button:hover {
    transform: translateY(-3px);
}


.button-primary {
    background: var(--green);

    color: #10140e;
}


.button-primary span {
    font-size: 15px;
}


.button-secondary {
    border: 1px solid var(--border);

    color: var(--white);
}


.button-secondary:hover {
    border-color:
        rgba(184, 237, 85, 0.5);
}


.hero-highlights {
    display: flex;

    gap: 28px;

    margin-top: 65px;
}


.hero-highlights div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.hero-highlights strong {
    color: var(--accent);

    font-family: "DM Mono", monospace;

    font-size: 10px;
}


.hero-highlights span {
    color: var(--gray);

    font-size: 10px;

    white-space: nowrap;
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    position: relative;

    min-height: 540px;

    display: flex;

    align-items: center;

    justify-content: center;

    will-change: transform;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


.visual-label {
    position: absolute;

    top: 5px;
    left: 10px;

    color: var(--gray);

    font-family: "DM Mono", monospace;

    font-size: 9px;

    text-transform: uppercase;

    display: flex;

    align-items: center;

    gap: 8px;
}


.visual-label span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--orange);
}


.browser {
    width: min(100%, 590px);

    border: 1px solid var(--border);

    border-radius: 15px;

    background: #0b100e;

    box-shadow:
        0 35px 100px
        rgba(0, 0, 0, 0.35);

    transform:
        perspective(1200px)
        rotateY(-7deg)
        rotateX(3deg);

    /* animation:
        browserFloat 6s ease-in-out infinite alternate; */
    animation: browserFloat 6s ease-in-out infinite alternate;

    will-change: transform;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


@keyframes browserFloat {

    from {
        transform:
            perspective(1200px)
            rotateY(-7deg)
            rotateX(3deg)
            translateY(0);
    }

    to {
        transform:
            perspective(1200px)
            rotateY(-5deg)
            rotateX(2deg)
            translateY(-12px);
    }
}


.browser-top {
    height: 42px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.08);

    display: flex;

    align-items: center;

    padding: 0 14px;

    gap: 20px;
}


.browser-dots {
    display: flex;

    gap: 5px;
}


.browser-dots i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #46504a;
}


.browser-address {
    height: 22px;

    flex: 1;

    max-width: 260px;

    border-radius: 5px;

    background:
        rgba(255, 255, 255, 0.04);

    color: #66726b;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    display: flex;

    align-items: center;

    padding: 0 10px;
}


.browser-content {
    min-height: 420px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0b100e,
            #101d2d
        );
}


.mock-nav {
    padding: 23px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.mock-logo {
    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.08em;
}


.mock-logo span {
    color: var(--green);
}


.mock-links {
    display: flex;

    gap: 8px;
}


.mock-links i {
    width: 27px;
    height: 3px;

    background:
        rgba(255, 255, 255, 0.12);

    border-radius: 10px;
}


.mock-hero {
    position: relative;

    z-index: 2;

    padding: 60px 45px;
}


.mock-small-line {
    width: 45px;
    height: 3px;

    background: var(--green);

    margin-bottom: 18px;
}


.mock-title {
    max-width: 300px;

    font-size: 38px;

    line-height: 0.98;

    letter-spacing: -0.05em;

    font-weight: 700;
}


.mock-title span {
    color: var(--green);
}


.mock-description {
    max-width: 250px;

    color: #738079;

    font-size: 9px;

    line-height: 1.7;

    margin-top: 20px;
}


.mock-button {
    width: 100px;
    height: 31px;

    margin-top: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    background: var(--green);

    color: #10140e;

    border-radius: 999px;

    font-size: 8px;

    font-weight: 800;
}


.mock-button span {
    font-size: 11px;
}


.mock-shapes {
    position: absolute;

    right: 0;
    top: 0;

    width: 48%;
    height: 100%;
}


.shape {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);

    pointer-events: none;
}


.shape-one {
    width: 230px;
    height: 230px;

    right: -70px;
    top: 70px;

    border:
        1px solid
        rgba(184, 237, 85, 0.3);

    background:
        radial-gradient(
            circle at 40% 35%,
            rgba(184, 237, 85, 0.3),
            rgba(184, 237, 85, 0.01) 65%
        );
}


.shape-two {
    width: 140px;
    height: 140px;

    right: 80px;
    bottom: 45px;

    border:
        1px solid
        rgba(239, 139, 76, 0.3);
}


.shape-three {
    width: 40px;
    height: 40px;

    right: 160px;
    top: 105px;

    background: var(--orange);

    opacity: 0.75;

    box-shadow:
        0 0 50px
        rgba(239, 139, 76, 0.4);
}


/* =========================
   FLOATING CARDS
========================= */

.floating-card {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 12px 15px;

    border: 1px solid var(--border);

    background:
        rgba(11, 16, 14, 0.9);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 10px;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.25);

    /* animation:
        cardFloat 5s ease-in-out infinite alternate; */
    animation: cardFloat 5s ease-in-out infinite alternate;

    will-change: transform;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


.card-top {
    top: 75px;
    right: -10px;
}


.card-bottom {
    bottom: 55px;
    left: -25px;

    animation-delay: -2s;
}


@keyframes cardFloat {

    from {
        transform:
            translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(0, -9px, 0);
    }
}


.floating-icon {
    color: var(--green);

    font-size: 15px;
}


.floating-number {
    color: var(--orange);

    font-family: "DM Mono", monospace;

    font-size: 12px;
}


.floating-card div {
    display: flex;

    flex-direction: column;
}


.floating-card small {
    color: var(--gray-dark);

    font-size: 8px;
}


.floating-card strong {
    font-size: 9px;

    margin-top: 2px;
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 150px 0;

    content-visibility: auto;

    contain-intrinsic-size:
        1px 800px;
}


.section-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(260px, 0.6fr);

    gap: 80px;

    align-items: end;

    margin-bottom: 70px;
}


.section-number {
    display: block;

    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 10px;

    letter-spacing: 0.08em;

    margin-bottom: 22px;
}


.section-heading h2 {
    max-width: 760px;

    font-size:
        clamp(
            42px,
            5vw,
            68px
        );

    line-height: 0.98;

    letter-spacing: -0.055em;
}


.section-heading h2 span {
    color: var(--accent);

    display: block;
}


.section-heading > p {
    color: var(--gray);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.service-card {
    min-height: 400px;

    padding: 30px;

    position: relative;

    border-right: 1px solid var(--border);

    transition:
        background 0.3s ease,
        transform 0.3s ease;

    will-change: transform;
}


.service-card:last-child {
    border-right: none;
}


.service-card:hover {
    background:
        rgba(255, 255, 255, 0.025);

    transform:
        translate3d(0, -5px, 0);
}


.service-number {
    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 10px;
}


.service-icon {
    margin-top: 70px;

    color: var(--accent);

    font-size: 27px;
}


.service-card h3 {
    margin-top: 25px;

    font-size: 22px;

    letter-spacing: -0.035em;
}


.service-card p {
    max-width: 300px;

    margin-top: 13px;

    color: var(--gray);

    font-size: 12px;

    line-height: 1.8;
}


.service-line {
    width: 45px;
    height: 1px;

    background: var(--border);

    margin-top: 40px;
}


.service-tag {
    position: absolute;

    bottom: 30px;

    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 0.1em;
}


/* =========================
   PORTFOLIO
========================= */

.portfolio-section {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(16, 29, 45, 0.12),
            transparent
        );
}


.portfolio-feature {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.65fr);

    gap: 65px;

    align-items: center;
}


/* PREVIEW */

.portfolio-preview {
    min-width: 0;
}


.portfolio-browser {
    border: 1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;

    background: #0b100e;

    box-shadow:
        0 40px 90px
        rgba(0, 0, 0, 0.3);

    transform:
        perspective(1200px)
        rotateY(4deg);

    transition:
        transform 0.5s ease;

    will-change: transform;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


.portfolio-browser:hover {
    transform:
        perspective(1200px)
        rotateY(0)
        translate3d(0, -7px, 0);
}


.portfolio-browser-top {
    height: 43px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 0 15px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);

    color: #637068;

    font-family: "DM Mono", monospace;

    font-size: 8px;
}


.portfolio-screen {
    min-height: 430px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            125deg,
            #edf1e9 0%,
            #dce8dd 55%,
            #c8ddd1 100%
        );

    color: #17201b;
}


.edu-header {
    padding: 22px 28px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.edu-header strong {
    font-size: 15px;

    letter-spacing: -0.04em;
}


.edu-header div {
    display: flex;

    gap: 5px;
}


.edu-header span {
    width: 20px;
    height: 3px;

    border-radius: 10px;

    background:
        rgba(23, 32, 27, 0.25);
}


.edu-content {
    position: relative;

    z-index: 3;

    padding:
        65px
        55px;
}


.edu-content small {
    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 0.1em;

    opacity: 0.55;
}


.edu-content h3 {
    max-width: 400px;

    margin-top: 15px;

    font-size:
        clamp(
            35px,
            4vw,
            58px
        );

    line-height: 0.95;

    letter-spacing: -0.065em;
}


.edu-content h3 strong {
    display: block;

    color: #406f4f;
}


.edu-content p {
    max-width: 310px;

    margin-top: 18px;

    color: #5c6a61;

    font-size: 11px;

    line-height: 1.7;
}


.edu-button {
    width: max-content;

    margin-top: 24px;

    padding: 11px 17px;

    border-radius: 999px;

    background: #173a26;

    color: #eff5ed;

    font-size: 9px;

    font-weight: 700;
}


.edu-decoration {
    position: absolute;

    right: -80px;
    bottom: -100px;

    width: 380px;
    height: 380px;

    pointer-events: none;
}


.edu-decoration div {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(55, 104, 73, 0.35);
}


.edu-decoration div:nth-child(1) {
    width: 320px;
    height: 320px;

    right: 0;
    bottom: 0;
}


.edu-decoration div:nth-child(2) {
    width: 220px;
    height: 220px;

    right: 50px;
    bottom: 50px;
}


.edu-decoration div:nth-child(3) {
    width: 110px;
    height: 110px;

    right: 105px;
    bottom: 105px;

    background:
        rgba(78, 126, 91, 0.16);
}


/* PORTFOLIO INFO */

.portfolio-info {
    padding: 10px 0;
}


.portfolio-index {
    display: flex;

    justify-content: space-between;

    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.08em;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}


.portfolio-index span:first-child {
    color: var(--accent);
}


.portfolio-info h3 {
    font-size: 42px;

    letter-spacing: -0.05em;

    margin-top: 38px;
}


.portfolio-info > p {
    color: var(--gray);

    font-size: 13px;

    line-height: 1.8;

    margin-top: 16px;
}


.portfolio-details {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

    margin-top: 35px;

    padding-top: 22px;

    border-top: 1px solid var(--border);
}


.portfolio-details div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.portfolio-details small {
    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 8px;
}


.portfolio-details strong {
    font-size: 11px;
}


.portfolio-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 40px;

    color: var(--accent);

    font-size: 12px;

    font-weight: 800;

    border-bottom:
        1px solid
        rgba(184, 237, 85, 0.3);

    padding-bottom: 8px;
}


.portfolio-link span {
    transition:
        transform 0.25s ease;
}


.portfolio-link:hover span {
    transform:
        translate3d(4px, -4px, 0);
}


.portfolio-more {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 50px;

    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 0.07em;
}


.portfolio-more-line {
    height: 1px;

    flex: 1;

    background: var(--border);
}


/* =========================
   PRICING
========================= */

.pricing-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;
}


.price-card {
    position: relative;

    min-height: 570px;

    padding: 32px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background:
        rgba(255, 255, 255, 0.015);

    display: flex;

    flex-direction: column;

    transition:
        transform 0.3s ease,
        border 0.3s ease;

    will-change: transform;
}


.price-card:hover {
    transform:
        translate3d(0, -7px, 0);

    border-color:
        rgba(184, 237, 85, 0.3);
}


.price-card.featured {
    background:
        linear-gradient(
            145deg,
            rgba(184, 237, 85, 0.08),
            rgba(16, 29, 45, 0.14)
        );

    border-color:
        rgba(184, 237, 85, 0.25);
}


.popular-badge {
    position: absolute;

    top: 0;
    right: 25px;

    padding: 8px 11px;

    background: var(--green);

    color: #10140e;

    font-family: "DM Mono", monospace;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 0.08em;

    border-radius:
        0 0 7px 7px;
}


.price-top {
    display: flex;

    align-items: center;
    justify-content: space-between;
}


.price-name {
    color: var(--accent);

    font-family: "DM Mono", monospace;

    font-size: 10px;

    letter-spacing: 0.1em;
}


.price-number {
    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 10px;
}


.price-card h3 {
    margin-top: 65px;

    font-size: 53px;

    letter-spacing: -0.06em;
}


.price-from {
    color: var(--gray-dark);

    font-size: 9px;

    margin-top: -4px;
}


.price-card > p {
    color: var(--gray);

    font-size: 11px;

    line-height: 1.75;

    margin-top: 24px;

    min-height: 60px;
}


.price-card ul {
    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid var(--border);
}


.price-card li {
    color: var(--gray);

    font-size: 10px;
}


.price-button {
    margin-top: auto;

    padding: 14px;

    border: 1px solid var(--border);

    border-radius: 8px;

    text-align: center;

    font-size: 10px;

    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.price-card.featured .price-button,
.price-button:hover {
    background: var(--green);

    color: #10140e;

    border-color: var(--green);
}


/* =========================
   PROCESS
========================= */

.process-list {
    border-top: 1px solid var(--border);
}


.process-item {
    display: grid;

    grid-template-columns:
        80px 1fr 1fr;

    gap: 30px;

    align-items: center;

    min-height: 150px;

    border-bottom: 1px solid var(--border);

    transition:
        padding 0.3s ease,
        background 0.3s ease;
}


.process-item:hover {
    padding-left: 15px;

    background:
        rgba(255, 255, 255, 0.015);
}


.process-number {
    color: var(--accent);

    font-family: "DM Mono", monospace;

    font-size: 11px;
}


.process-main > span {
    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 0.1em;
}


.process-main h3 {
    margin-top: 8px;

    font-size: 24px;

    letter-spacing: -0.04em;
}


.process-item > p {
    max-width: 390px;

    color: var(--gray);

    font-size: 11px;

    line-height: 1.8;
}


/* =========================
   ABOUT
========================= */

.about-section {
    border-top: 1px solid var(--border);

    background:
        linear-gradient(
            120deg,
            rgba(16, 29, 45, 0.15),
            transparent 65%
        );
}


.about-grid {
    display: grid;

    grid-template-columns:
        0.35fr 1fr;

    gap: 80px;
}


.about-quote {
    color: var(--accent);

    font-family: Georgia, serif;

    font-size: 100px;

    line-height: 0.5;

    opacity: 0.5;
}


.about-content h2 {
    max-width: 800px;

    font-size:
        clamp(
            43px,
            5vw,
            68px
        );

    line-height: 1;

    letter-spacing: -0.06em;
}


.about-content h2 span {
    color: var(--accent);
}


.about-content > p {
    max-width: 630px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.9;

    margin-top: 28px;
}


.about-content > p + p {
    margin-top: 12px;
}


.about-content strong {
    color: var(--white);
}


.signature {
    margin-top: 50px;

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.signature span {
    font-family: "DM Mono", monospace;

    font-size: 12px;
}


.signature small {
    color: var(--gray-dark);

    font-size: 9px;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding:
        50px
        0
        120px;

    content-visibility: auto;

    contain-intrinsic-size:
        1px 700px;
}


.cta-box {
    min-height: 500px;

    position: relative;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 24px;

    padding:
        85px
        90px;

    background:
        linear-gradient(
            130deg,
            #101d2d,
            #0b100e
        );
}


.cta-eyebrow {
    color: var(--green);

    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.1em;
}


.cta-box h2 {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin-top: 25px;

    font-size:
        clamp(
            45px,
            6vw,
            80px
        );

    line-height: 0.95;

    letter-spacing: -0.065em;
}


.cta-box h2 span {
    display: block;

    color: var(--green);
}


.cta-box p {
    position: relative;

    z-index: 2;

    max-width: 480px;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.8;

    margin-top: 28px;
}


.cta-button {
    position: relative;

    z-index: 3;

    display: inline-flex;

    align-items: center;

    gap: 13px;

    margin-top: 30px;

    padding: 16px 22px;

    border-radius: 999px;

    background: var(--green);

    color: #10140e;

    font-size: 11px;

    font-weight: 800;

    transition:
        transform 0.25s ease;
}


.cta-button:hover {
    transform:
        translate3d(0, -3px, 0);
}

.cta-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.cta-decoration-one {
    width: 400px;
    height: 400px;

    right: -80px;
    top: -100px;

    border:
        1px solid
        rgba(184, 237, 85, 0.17);

    box-shadow:
        inset 0 0 80px
        rgba(184, 237, 85, 0.04);
}


.cta-decoration-two {
    width: 260px;
    height: 260px;

    right: 20px;
    top: -30px;

    border:
        1px solid
        rgba(239, 139, 76, 0.18);
}


/* =========================
   FOOTER
========================= */

.footer {
    padding-top: 70px;

    border-top: 1px solid var(--border);

    content-visibility: auto;

    contain-intrinsic-size:
        1px 400px;
}


.footer-inner {
    display: flex;

    justify-content: space-between;

    gap: 80px;

    padding-bottom: 70px;
}


.footer-brand {
    max-width: 310px;
}


.footer-brand p {
    color: var(--gray);

    font-size: 11px;

    line-height: 1.8;

    margin-top: 22px;
}


.footer-links {
    display: flex;

    gap: 100px;
}


.footer-links > div {
    display: flex;

    flex-direction: column;

    gap: 11px;
}


.footer-links span {
    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 0.08em;

    margin-bottom: 8px;
}


.footer-links a {
    color: var(--gray);

    font-size: 10px;

    transition:
        color 0.25s ease;
}


.footer-links a:hover {
    color: var(--accent);
}


.footer-bottom {
    min-height: 70px;

    border-top: 1px solid var(--border);

    display: flex;

    align-items: center;
    justify-content: space-between;

    color: var(--gray-dark);

    font-family: "DM Mono", monospace;

    font-size: 8px;
}


/* =========================
   REVEAL
========================= */

.reveal {
    opacity: 0;

    transform:
        translate3d(0, 30px, 0);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.active {
    opacity: 1;

    transform:
        translate3d(0, 0, 0);
}


/* =========================
   PAGE HIDDEN
   Economiza processamento
   quando a aba não está visível
========================= */

.page-hidden .ticker-track,
.page-hidden .browser,
.page-hidden .floating-card,
.page-hidden .eyebrow-dot {
    animation-play-state:
        paused !important;
}

/* =========================================================
   INTERAÇÕES — DESIGN ESTÁTICO
   As animações contínuas foram removidas.
========================================================= */


/* =========================
   INDICADOR DA INTERFACE
========================= */

.eyebrow-dot {
    animation: none !important;
}


/* =========================
   HERO / INTERFACE 01
========================= */

/*
   Mantemos a entrada inicial da interface.
   Depois que aparece, ela fica completamente parada.
*/

.hero-visual {
    will-change: auto;
}


/* O browser não fica mais flutuando sozinho */

.browser {
    animation: none !important;

    transform:
        perspective(1200px)
        rotateY(-7deg)
        rotateX(3deg);

    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.45s ease;
}


/*
   Única movimentação do browser:
   interação direta do usuário.
*/

.browser:hover {
    transform:
        perspective(1200px)
        rotateY(-4deg)
        rotateX(2deg)
        translate3d(0, -5px, 0);

    box-shadow:
        0 42px 105px
        rgba(0, 0, 0, 0.42);
}


/* =========================
   CARDS FLUTUANTES
========================= */

/*
   Eles ficam parados.
*/

.floating-card {
    animation: none !important;

    transform: translate3d(0, 0, 0);

    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1),
        border-color 0.35s ease,
        background 0.35s ease;
}


/*
   Movimento somente no hover.
*/

.floating-card:hover {
    transform:
        translate3d(0, -5px, 0);

    border-color:
        rgba(184, 237, 85, 0.28);
}


/* =========================
   PORTFÓLIO
========================= */

.portfolio-browser {
    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.45s ease;
}


.portfolio-browser:hover {
    transform:
        perspective(1200px)
        rotateY(0deg)
        translate3d(0, -6px, 0);

    box-shadow:
        0 45px 100px
        rgba(0, 0, 0, 0.36);
}


/*
   A imagem real do EduCriando.
*/

.portfolio-project-image {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: cover;

    object-position: top center;

    background: #edf1e9;

    user-select: none;

    -webkit-user-drag: none;
}


/*
   Mantém o acabamento de "janela de navegador".
*/

.portfolio-screen {
    padding: 0;

    overflow: hidden;

    background: #edf1e9;

    line-height: 0;
}


/* =========================
   CARDS DE SERVIÇO
========================= */

.service-card {
    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1),
        border-color 0.35s ease,
        background 0.35s ease;
}


.service-card:hover {
    transform:
        translate3d(0, -5px, 0);
}


/* =========================
   PLANOS
========================= */

.price-card {
    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


.price-card:hover {
    transform:
        translate3d(0, -6px, 0);
}


/* =========================
   PROCESSO
========================= */

.process-item {
    transition:
        padding 0.3s ease,
        background 0.3s ease;
}


/* =========================
   BOTÕES
========================= */

.button,
.cta-button,
.header-button,
.price-button {
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================
   TICKER
========================= */

/*
   Caso algum trecho antigo do HTML ainda permaneça,
   ele não será exibido.
*/

.ticker {
    display: none !important;
}


/* =========================
   REDUZIR PROCESSAMENTO
========================= */

.floating-card,
.browser,
.portfolio-browser,
.service-card,
.price-card {
    will-change: auto;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .browser {
        transform: none !important;
    }

    .browser:hover {
        transform:
            translate3d(0, -3px, 0) !important;
    }

    .portfolio-browser {
        transform: none;
    }

    .portfolio-browser:hover {
        transform:
            translate3d(0, -4px, 0);
    }

}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;

        transition-duration:
            0.01ms !important;
    }

    .hero-visual,
    .browser,
    .floating-card,
    .portfolio-browser,
    .service-card,
    .price-card {
        transform: none !important;
    }

}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .desktop-nav {
        gap: 18px;

        margin-right: 18px;
    }


    .header-button {
        display: none;
    }


    .hero-grid {
        grid-template-columns: 1fr;

        gap: 80px;
    }


    .hero {
        padding-top: 145px;
    }


    .hero-visual {
        max-width: 700px;

        margin-inline: auto;

        width: 100%;
    }


    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        border-right: none;

        border-bottom:
            1px solid
            var(--border);

        min-height: 350px;
    }


    .service-card:last-child {
        border-bottom: none;
    }


    .price-card {
        min-height: auto;

        padding: 30px;
    }


    .price-card > p {
        min-height: auto;
    }


    .portfolio-feature {
        grid-template-columns: 1fr;
    }


    .portfolio-browser {
        transform: none;
    }


    .portfolio-info {
        max-width: 600px;
    }

}


@media (max-width: 760px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--container)
        );
    }


    .desktop-nav {
        display: none;
    }


    .mobile-menu-button {
        display: flex;
    }


    .mobile-menu {
        position: absolute;

        top: 82px;
        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;

        padding:
            15px
            24px
            25px;

        background:
            rgba(7, 10, 9, 0.97);

        border-bottom:
            1px solid
            var(--border);

        transform:
            translate3d(0, -20px, 0);

        opacity: 0;

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
    }


    body.light .mobile-menu {
        background:
            rgba(247, 245, 238, 0.98);
    }


    .mobile-menu.open {
        opacity: 1;

        transform:
            translate3d(0, 0, 0);

        pointer-events: auto;
    }


    .mobile-menu a {
        padding: 15px 0;

        border-bottom:
            1px solid
            var(--border);

        color: var(--gray);

        font-size: 12px;
    }


    .mobile-menu a:last-child {
        color: var(--accent);

        border-bottom: none;
    }


    .hero {
        min-height: auto;

        padding-bottom: 80px;
    }


    .hero h1 {
        font-size:
            clamp(
                48px,
                13vw,
                72px
            );
    }


    .hero-description {
        font-size: 14px;
    }


    .hero-highlights {
        gap: 18px;

        flex-wrap: wrap;

        margin-top: 45px;
    }


    .hero-visual {
        min-height: 420px;
    }


    .browser {
        transform: none;

        width: 100%;
    }


    .floating-card {
        display: none;
    }


    .section {
        padding: 100px 0;
    }


    .section-heading {
        grid-template-columns: 1fr;

        gap: 25px;

        margin-bottom: 50px;
    }


    .section-heading h2 {
        font-size: 45px;
    }


    .portfolio-screen {
        min-height: 360px;
    }


    .edu-content {
        padding:
            50px 35px;
    }


    .edu-content h3 {
        font-size: 40px;
    }


    .process-item {
        grid-template-columns:
            50px 1fr;

        padding: 30px 0;
    }


    .process-item > p {
        grid-column: 2;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .about-content h2 {
        font-size: 45px;
    }


    .cta-section {
        padding-bottom: 80px;
    }


    .cta-box {
        padding:
            55px 30px;

        min-height: 450px;
    }


    .cta-box h2 {
        font-size: 48px;
    }


    .footer-inner {
        flex-direction: column;

        gap: 50px;
    }


    .footer-links {
        gap: 60px;
    }

}


@media (max-width: 480px) {

    .theme-toggle {
        display: none;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .button {
        width: 100%;
    }


    .hero-highlights {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);
    }


    .browser-content {
        min-height: 340px;
    }


    .mock-hero {
        padding:
            45px 25px;
    }


    .mock-title {
        font-size: 31px;
    }


    .mock-shapes {
        opacity: 0.4;
    }


    .portfolio-screen {
        min-height: 350px;
    }


    .edu-content {
        padding:
            50px 28px;
    }


    .edu-content h3 {
        font-size: 35px;
    }


    .portfolio-details {
        grid-template-columns: 1fr;
    }


    .price-card h3 {
        font-size: 48px;
    }


    .process-item {
        grid-template-columns:
            40px 1fr;
    }


    .process-main h3 {
        font-size: 20px;
    }


    .about-content h2 {
        font-size: 40px;
    }


    .cta-box h2 {
        font-size: 42px;
    }


    .footer-links {
        width: 100%;

        justify-content: space-between;
    }

}


/* =========================================================
   PERFORMANCE / TOUCH / REDUCED MOTION
========================================================= */


/* Em dispositivos touch não existe necessidade
   de parallax */
@media (hover: none), (pointer: coarse) {

    .hero-visual {
        transform: none !important;
    }


    .browser,
    .floating-card,
    .ticker-track,
    .service-card,
    .price-card {
        will-change: auto;
    }
}


/* Telas pequenas também reduzem o tamanho
   dos orbs decorativos (menos pixels pra pintar) */
@media (max-width: 899px) {

    .hero-visual {
        transform: none !important;
    }


    .orb {
        width: 500px;
        height: 500px;
    }
}


/* Respeita a preferência do usuário
   por menos movimento */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }


    .hero-visual {
        transform: none !important;
    }


    .reveal {
        opacity: 1;

        transform: none;
    }
}