/* FONTS (self-hosted, latin subset) */

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/fonts/poppins-600.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/poppins-700.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("assets/fonts/roboto-var.woff2") format("woff2");
}

:root {
    --bg-main: #050608;
    --bg-elevated: #0b0f17;
    --bg-card: #10141f;
    --primary-cyan: #00c8ff;
    --primary-blue: #1877ff;
    --text-main: #f9fafb;
    --text-soft: #a9b1be;
    --border-subtle: #1f2933;
    --chip-bg: #111827;
    --white: #ffffff;
}

/* RESET BÁSICO */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #050608 50%, #000 100%);
    color: var(--text-main);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 200, 255, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1.5rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wrap img {
    height: 70px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.logo-text-sub {
    font-size: 0.78rem;
    color: var(--text-soft);
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

nav a {
    position: relative;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    padding-bottom: 0.15rem;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--primary-cyan), var(--primary-blue));
    transition: width 0.2s ease;
}

nav a:hover {
    color: var(--white);
}

nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 0.5rem;
}

/* BOTÕES */

.btn {
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    border: 1px solid transparent;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: #f9fafb;
    box-shadow: 0 0 24px rgba(24, 119, 255, 0.6);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(24, 119, 255, 0.8);
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--text-soft);
}

.btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(15, 23, 42, 0.9);
}

/* SEÇÕES BASE */

main {
    padding-bottom: 4rem;
}

section {
    padding: 3.5rem 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.7rem;
}

.eyebrow {
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-cyan);
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-soft);
    max-width: 520px;
}

/* HERO */

.hero {
    position: relative;
    padding: 3rem 0 3.6rem;
}

.hero::before {
    content: "";
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 1100px;
    background: radial-gradient(circle,
    rgba(0, 170, 255, 0.2) 0%,
    rgba(0, 100, 200, 0.04) 40%,
    rgba(0, 0, 0, 0) 70%);
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 2.6rem;
    align-items: center;
}

.hero-label {
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 0.9rem;
}

.hero-big {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.hero-big span.accent {
    color: var(--primary-cyan);
}

.hero-slogan {
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-cyan);
    margin-top: 0.6rem;
    margin-bottom: 1.6rem;
}

.hero-text {
    font-size: 0.98rem;
    color: #bfc6d1;
    max-width: 520px;
    margin-bottom: 1.8rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    font-size: 0.8rem;
    color: var(--text-soft);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-meta-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, var(--primary-cyan), var(--primary-blue));
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.8);
}

.hero-card {
    border-radius: 20px;
    background: linear-gradient(145deg, #0b0f17, #050608);
    border: 1px solid rgba(40, 60, 90, 0.8);
    padding: 1.6rem 1.4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95),
    0 0 32px rgba(24, 119, 255, 0.5);
    font-size: 0.9rem;
}

.hero-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-soft);
}

.hero-card-tag span.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.9);
}

.hero-card-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-card-text {
    font-size: 0.86rem;
    color: var(--text-soft);
    margin-bottom: 1.1rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.metric {
    border-radius: 14px;
    background: #05070d;
    border: 1px solid rgba(31, 41, 55, 0.9);
    padding: 0.7rem 0.75rem;
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-soft);
    margin-bottom: 0.15rem;
}

.metric-value {
    font-size: 0.92rem;
    font-weight: 600;
}

.metric-tag {
    font-size: 0.78rem;
    color: var(--primary-cyan);
    margin-top: 0.1rem;
}

.hero-tech-label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 0.35rem;
}

.hero-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.78rem;
}

.tech-pill {
    padding: 0.24rem 0.6rem;
    border-radius: 999px;
    background: var(--chip-bg);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

/* SERVICES */

.services {
    position: relative;
    background: #050608;
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.services::before {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(120px);
    z-index: 0;
}

.services > .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: 18px;
    border: 1px solid rgba(45, 55, 72, 0.9);
    padding: 1.15rem 1.25rem 1.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.service-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
}

.service-title {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 600;
}

.service-text {
    color: var(--text-soft);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.service-tag {
    font-size: 0.78rem;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    background: var(--chip-bg);
    border: 1px solid rgba(75, 85, 99, 0.9);
    color: var(--text-soft);
}

/* SHOWCASE */

.showcase {
    background: #050608;
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.showcase-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: flex-end;
    margin-bottom: 1.8rem;
}

.showcase-intro .section-header {
    margin-bottom: 0;
}

.showcase-intro .section-subtitle {
    max-width: 620px;
}

.showcase-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.6rem;
    align-items: start;
}

.showcase-frame {
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid rgba(45, 55, 72, 0.9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95),
    0 0 32px rgba(24, 119, 255, 0.35);
    overflow: hidden;
}

.showcase-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    background: #0b0f17;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    color: var(--text-soft);
}

.showcase-bar span.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #1f2933;
}

.showcase-bar span.url {
    margin-left: 0.6rem;
    padding: 0.1rem 0.7rem;
    border-radius: 999px;
    background: #05070d;
    border: 1px solid var(--border-subtle);
}

.showcase-frame img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
    transition: opacity 0.12s ease;
}

.showcase-frame img.is-changing {
    opacity: 0;
}

.showcase-tabs {
    display: grid;
    gap: 0.6rem;
}

.showcase-tab {
    text-align: left;
    font: inherit;
    color: var(--text-main);
    background: var(--bg-card);
    border: 1px solid rgba(45, 55, 72, 0.9);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.showcase-tab:hover {
    border-color: rgba(0, 200, 255, 0.5);
}

.showcase-tab[aria-selected="true"] {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.25);
}

.showcase-tab strong {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.showcase-tab span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 0.1rem;
}

.showcase-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 1.8rem;
}

.showcase-point {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #05070d;
    border: 1px solid rgba(31, 41, 55, 0.9);
    font-size: 0.88rem;
    color: var(--text-soft);
}

.showcase-point h3 {
    font-family: "Poppins", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.showcase-stack {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.showcase-stack .hero-tech-label {
    margin: 0 0.4rem 0 0;
}

/* PROCESS */

.process {
    background: #050608;
}

.process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.35fr);
    gap: 2rem;
    align-items: start;
}

.process .section-header {
    margin-bottom: 1.8rem;
}

.process .section-title {
    font-size: 1.7rem;
}

.steps {
    display: grid;
    gap: 1rem;
}

.step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.7rem 0.3rem;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-family: "Poppins", sans-serif;
    color: #e5f7ff;
    background: radial-gradient(circle at 30% 30%, rgba(0, 200, 255, 0.9), #04203b);
    box-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
}

.step-title {
    font-family: "Poppins", sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-soft);
}

.process-card {
    border-radius: 20px;
    padding: 1.4rem 1.4rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95),
    0 0 26px rgba(24, 119, 255, 0.45);
    font-size: 0.92rem;
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 20% 0, rgba(0, 200, 255, 0.18), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.process-card h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

/* Lista de bullets dentro do card */
.process-list {
    list-style: none;
    margin-top: 0.4rem;
    display: grid;
    gap: 0.45rem;
}

.process-list li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    color: var(--text-soft);
    font-size: 0.9rem;
}

/* bolinha azul dos bullets */
.process-list li span.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
    margin-top: 0.35rem;
}

/* ABOUT & TECH */

.about {
    background: #050608;
    border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr);
    gap: 2.4rem;
    align-items: flex-start;
}

.about-text {
    font-size: 0.92rem;
    color: var(--text-soft);
    display: grid;
    gap: 0.65rem;
}

.about-highlight {
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: #05070d;
    border: 1px solid rgba(107, 114, 128, 0.9);
    color: var(--text-main);
    font-size: 0.9rem;
}

.pill-row {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--chip-bg);
    border: 1px solid rgba(75, 85, 99, 0.9);
    color: var(--text-soft);
}

.tech-panel {
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem 1.25rem 1.35rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.95);
    font-size: 0.86rem;
}

.tech-groups {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.7rem;
}

.tech-group-label {
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-soft);
    margin-bottom: 0.15rem;
}

.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tech-chip {
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--chip-bg);
    border: 1px solid rgba(75, 85, 99, 0.9);
}

/* CONTACT */

.contact {
    background: #050608;
    border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr);
    gap: 2.4rem;
    align-items: flex-start;
}

.contact-text {
    font-size: 0.92rem;
    color: var(--text-soft);
    display: grid;
    gap: 0.7rem;
}

.contact-highlight {
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(0, 200, 255, 0.08);
    border: 1px solid rgba(0, 200, 255, 0.7);
    font-size: 0.88rem;
}

.contact-email {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.86rem;
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    background: #05070d;
    border: 1px dashed rgba(148, 163, 184, 0.8);
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.contact-email span.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary-cyan);
}

.contact-note {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 0.3rem;
}

.contact-box {
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem 1.2rem 1.4rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.95);
    font-size: 0.88rem;
    display: grid;
    gap: 0.8rem;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: space-between;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.contact-value {
    font-size: 0.9rem;
}

/* FOOTER */

footer {
    background: #000;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 1.1rem 0 1.6rem;
    font-size: 0.8rem;
    color: var(--text-soft);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===========================
       BREAKPOINT 960px
       =========================== */

@media (max-width: 960px) {

    .hero-inner,
    .services-grid,
    .showcase-intro,
    .showcase-grid,
    .process-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    header {
        position: sticky;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.5rem 1rem;
        background: #000;
        border-bottom: 1px solid rgba(0, 200, 255, 0.18);
    }

    nav.is-open {
        display: flex;
    }

    nav a {
        padding: 0.85rem 0;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(31, 41, 55, 0.7);
    }

    nav a::after {
        display: none;
    }

    header .nav-toggle {
        display: inline-flex;
    }

    .header-inner {
        justify-content: space-between;
    }

    .process-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.7rem;
    }

    .process-card {
        margin-top: 0.3rem;
    }

    .showcase-intro {
        gap: 1rem;
        align-items: flex-start;
    }

    .showcase-roles {
        justify-content: flex-start;
    }

    .showcase-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-points {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }
}

/* ===========================
       MOBILE — até 640px
       =========================== */

@media (max-width: 640px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
        font-size: 0.95rem;
    }

    main {
        padding-bottom: 4.5rem;
    }

    .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 1rem;
    }

    header {
        border-bottom-width: 1px;
    }

    .header-inner {
        padding: 0.6rem 0;
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 0.75rem;
    }

    .logo-wrap img {
        height: 40px;
    }

    .logo-wrap {
        gap: 0.5rem;
    }

    .logo-text-main {
        font-size: 0.9rem;
        letter-spacing: 0.16em;
    }

    .logo-text-sub {
        font-size: 0.78rem;
    }

    .header-cta {
        flex: 1;
        justify-content: flex-end;
        margin-right: 0;
    }

    .btn {
        font-size: 0.78rem;
        letter-spacing: 0.12em;
    }

    section {
        padding: 2.4rem 0;
    }

    .section-header {
        margin-bottom: 1.3rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .hero {
        padding-top: 2.1rem;
        padding-bottom: 2.6rem;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.8rem;
    }

    .hero-big {
        letter-spacing: 0.12em;
        line-height: 1.1;
    }

    .hero-text {
        max-width: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .hero-card {
        width: 100%;
        margin: 1.2rem 0 0 0;
        padding: 1.35rem 1.15rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .service-card {
        padding: 1.4rem 1.15rem;
    }

    .service-icon {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .process .section-title {
        font-size: 1.45rem;
    }

    .process-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .process-card,
    .tech-panel,
    .contact-box {
        padding: 1.1rem 1.05rem 1.2rem;
    }

    .showcase-tabs {
        grid-template-columns: 1fr;
    }

    .showcase-bar span.url {
        display: none;
    }

    .step {
        padding: 0.6rem 0.1rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }

    .process-card {
        padding: 1.2rem 1.05rem 1.3rem;
    }

    .contact-email {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .contact {
        padding-bottom: 3rem;
    }

    .contact-box {
        margin-bottom: 0.75rem;
    }
}

/* ACCESSIBILITY & UTILITIES */

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: var(--primary-cyan);
    color: #001018;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.skip-link:focus {
    top: 0.75rem;
}

:focus-visible {
    outline: 2px solid var(--primary-cyan);
    outline-offset: 3px;
    border-radius: 6px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

.btn-block {
    justify-content: center;
    width: 100%;
    margin-top: 0.3rem;
}

.text-link {
    color: var(--primary-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* MOBILE MENU BUTTON */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--text-main);
}

/* HERO CARD SCREENSHOT */

.hero-card-shot {
    display: block;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(40, 60, 90, 0.9);
}

.hero-card-shot img {
    width: 100%;
    height: auto;
    transition: transform 0.25s ease;
}

.hero-card-shot:hover img {
    transform: scale(1.03);
}

/* COPY OUTCOMES */

.step-outcome {
    display: block;
    margin-top: 0.3rem;
    color: var(--primary-cyan);
    font-weight: 500;
}

.about-outcome {
    color: var(--text-main);
}

/* CONTACT / FOOTER */

.copy-email {
    margin-left: 0.4rem;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: transparent;
    color: var(--text-soft);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
}

.copy-email:hover {
    color: var(--white);
    border-color: var(--white);
}

.footer-links a:hover {
    color: var(--white);
}

/* SHOWCASE ZOOM + LIGHTBOX */

.showcase-zoom {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.showcase-zoom-hint {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(5, 6, 8, 0.85);
    border: 1px solid rgba(0, 200, 255, 0.5);
    font-size: 0.78rem;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.showcase-zoom:hover .showcase-zoom-hint,
.showcase-zoom:focus-visible .showcase-zoom-hint {
    opacity: 1;
}

.lightbox {
    width: min(96vw, 1600px);
    max-height: 94vh;
    margin: auto;
    padding: 0;
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 14px;
    background: #050608;
    overflow: auto;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.85);
}

.lightbox img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-out;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.2rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(5, 6, 8, 0.9);
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* HERO BALANCE */

.hero-stack {
    margin-top: 1.6rem;
}

.hero-stack .hero-tech-label {
    margin-bottom: 0.5rem;
}

.hero-card-link {
    display: inline-block;
    margin-top: 0.3rem;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-cyan);
}

.hero-card-link:hover {
    color: var(--white);
}

.hero-card-text {
    margin-bottom: 0.8rem;
}

/* PROCESS CARD */

.process-card {
    position: sticky;
    top: 100px;
}

.process-facts {
    display: grid;
    gap: 0.9rem;
    margin: 1.3rem 0 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.process-facts dt {
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-cyan);
}

.process-facts dd {
    font-size: 0.9rem;
    color: var(--text-main);
}

.process-card .btn {
    position: relative;
}

@media (max-width: 960px) {
    .process-card {
        position: static;
    }
}

.process-list li span.dot {
    flex: 0 0 7px;
}

/* ABOUT PANEL */

.tech-panel {
    position: sticky;
    top: 100px;
}

.panel-fit {
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-subtle);
}

.panel-fit .tech-group-label {
    margin-bottom: 0.5rem;
}

@media (max-width: 960px) {
    .tech-panel {
        position: static;
    }
}

/* CONTACT REDESIGN */

.contact .section-header {
    margin-bottom: 1.4rem;
}

.contact-brief {
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: rgba(0, 200, 255, 0.06);
    border: 1px solid rgba(0, 200, 255, 0.45);
    margin-bottom: 1.1rem;
}

.contact-brief-title {
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
}

.contact-brief-list {
    list-style: none;
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.contact-brief-list li {
    position: relative;
    padding-left: 1.3rem;
}

.contact-brief-list li::before {
    content: "";
    position: absolute;
    left: 0.1rem;
    top: 0.5em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
}

.contact-channels {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.95rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(45, 55, 72, 0.9);
}

.contact-channel-icon {
    flex: 0 0 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-channel-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-channel-label {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.contact-channel-value {
    font-size: 0.95rem;
    color: var(--text-main);
    overflow-wrap: anywhere;
}

a.contact-channel-value:hover {
    color: var(--primary-cyan);
}

.contact-channel .copy-email {
    margin-left: 0;
    flex: 0 0 auto;
}

.contact-box {
    position: sticky;
    top: 100px;
}

.contact-box-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: -0.4rem;
}

.contact-steps {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.contact-steps li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.contact-steps li span {
    flex: 0 0 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: radial-gradient(circle at 30% 30%, rgba(0, 200, 255, 0.9), #04203b);
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    color: #e5f7ff;
}

@media (max-width: 960px) {
    .contact-box {
        position: static;
    }
}

/* LANGUAGE SWITCH */

nav a.lang-link {
    padding: 0.15rem 0.6rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 999px;
    font-size: 0.78rem;
}

nav a.lang-link::after {
    display: none;
}

@media (max-width: 960px) {
    nav a.lang-link {
        align-self: flex-start;
        margin-top: 0.8rem;
        padding: 0.35rem 0.9rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.5);
    }
}

/* AI ASSISTANT */

.ai-flow {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    margin-bottom: 1.8rem;
}

.ai-step {
    position: relative;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(45, 55, 72, 0.9);
    font-size: 0.88rem;
    color: var(--text-soft);
}

.ai-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -1.35rem;
    transform: translateY(-50%);
    color: var(--primary-cyan);
    font-size: 1.1rem;
}

.ai-step h3 {
    font-family: "Poppins", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0.35rem 0 0.2rem;
}

.ai-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: radial-gradient(circle at 30% 30%, rgba(0, 200, 255, 0.9), #04203b);
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    color: #e5f7ff;
}

.ai-note {
    margin-top: 1.4rem;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.ai-cta {
    margin-top: 1.6rem;
}

@media (max-width: 960px) {
    .ai-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .ai-flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.9rem;
    }

    .ai-cta {
        white-space: normal;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}

/* SHOWCASE VIDEO TAB */

.showcase-video {
    display: block;
    width: 100%;
    height: auto;
    background: #050608;
}

.showcase-frame [hidden] {
    display: none !important;
}

/* SHOWCASE: tabs column matches the frame height (desktop) */

@media (min-width: 961px) {
    .showcase-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: stretch;
    }

    .showcase-tabs {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }

    .showcase-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0.5rem 0.9rem;
    }

    .showcase-tab span {
        font-size: 0.78rem;
        line-height: 1.4;
    }
}
