/* ============================================================
   LumeTECH — Landing Page
   Dark tech, foco em conversão: sistemas prontos em destaque,
   sites profissionais e software sob medida.
   ============================================================ */

/* ========== VARIÁVEIS ========== */
:root {
    --bg: #f5f7fb;
    --bg-2: #ffffff;
    --bg-3: #f1f4f9;
    --card: #ffffff;
    --card-2: #ffffff;
    --navy: #0b1530;
    --navy-2: #102048;

    --accent: #E06B1F;
    --accent-2: #F08A3C;
    --accent-glow: rgba(224, 107, 31, 0.22);
    --accent-gradient: linear-gradient(135deg, #D4631A, #F08A3C);

    --text: #0f172a;
    --text-2: #475569;
    --text-3: #94a3b8;

    --border: rgba(15, 23, 42, 0.08);
    --border-2: rgba(15, 23, 42, 0.15);

    --whatsapp: #25D366;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-head: 'Plus Jakarta Sans', var(--font);

    --container: 1280px;
    --header-h: 76px;
    --gutter: 1.5rem;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 22px;

    --shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    /* Cor do produto (sobrescrita por .product--*) */
    --p: var(--accent-2);
    --p-strong: var(--accent);
    --p-ink: #fff;
    --p-soft: rgba(224, 107, 31, 0.12);
}

/* Cada sistema tem sua cor de destaque */
.product--os {
    --p: #0284c7;
    --p-strong: #0ea5e9;
    --p-ink: #fff;
    --p-soft: rgba(14, 165, 233, 0.1);
}

.product--clinic {
    --p: #b8577a;
    --p-strong: #c9738f;
    --p-ink: #fff;
    --p-soft: rgba(201, 115, 143, 0.1);
}

.product--desk {
    --p: #7c3aed;
    --p-strong: #7c3aed;
    --p-ink: #fff;
    --p-soft: rgba(124, 58, 237, 0.08);
}

/* ========== BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

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

ul,
ol {
    list-style: none;
}

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

input,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

h1,
h2,
h3 {
    font-family: var(--font-head);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: 6rem 0;
    position: relative;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-lume {
    color: var(--accent);
}

.brand-tech {
    color: #7a8089;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-2);
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.6vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-2);
    font-size: 1.075rem;
    max-width: 620px;
    margin: 0 auto;
}

/* ========== BOTÕES ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--r-md);
    font-family: var(--font-head);
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}

.btn-lg {
    padding: 0.95rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--r-lg);
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 6px 22px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-outline {
    border: 1.5px solid var(--border-2);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-2);
    background: rgba(224, 107, 31, 0.06);
}

.btn-product {
    background: var(--p-strong);
    color: var(--p-ink);
    box-shadow: 0 6px 24px var(--p-soft);
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px var(--p-soft);
    filter: brightness(1.06);
}


/* ========== MOLDURA DE JANELA (padrão Windows: título à esquerda, controles à direita) ========== */
.win-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 30px;
    padding-left: 0.85rem;
    background: #1d1d28;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.win-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.72rem;
    color: var(--text-2);
}

/* Minimizar, maximizar e fechar desenhados em CSS */
.win-dots {
    order: 2;
    display: flex;
    align-self: stretch;
    flex-shrink: 0;
}

.win-dots i {
    position: relative;
    width: 40px;
}

.win-dots i::before,
.win-dots i::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-color: #9a9aac;
}

.win-dots i:nth-child(1)::before {
    width: 10px;
    border-top: 1px solid;
}

.win-dots i:nth-child(2)::before {
    width: 9px;
    height: 9px;
    border: 1px solid;
}

.win-dots i:nth-child(3)::before,
.win-dots i:nth-child(3)::after {
    width: 12px;
    border-top: 1px solid;
    transform: translate(-50%, -50%) rotate(45deg);
}

.win-dots i:nth-child(3)::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-h);
    z-index: 100;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo-img {
    height: 62px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 0.4rem 0;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-2);
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active-link {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-nav {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

.nav-toggle,
.nav-close {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    font-size: 1.25rem;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 3.5rem) 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
}

.hero-glow-1 {
    width: 560px;
    height: 560px;
    top: -180px;
    left: -160px;
    background: rgba(224, 107, 31, 0.22);
}

.hero-glow-2 {
    width: 620px;
    height: 620px;
    top: 80px;
    right: -220px;
    background: rgba(99, 102, 241, 0.16);
}

.hero-grid {
    position: absolute;
    inset: 0;
    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: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero-description {
    color: var(--text-2);
    font-size: 1.12rem;
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Vitrine (out/2026): UMA tela por vez + as 4 logos como abas. Substituiu a
   pilha de 3 telas, os cartões e a faixa de benefícios ("hero poluído"). */
.hero-showcase {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.hero-window {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--p);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--p), 0 0 60px var(--p-soft);
    transition: border-color 0.5s, box-shadow 0.5s;
}

.hero-shots {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #0b1530;
}

/* As telas ficam empilhadas; só a ativa aparece (troca com esmaecimento). */
.hero-shot {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.hero-shot.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.hero-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.hero-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.92);
    /* Inativa um pouco apagada, sem acinzentar a logo (0.55 apagava demais). */
    opacity: 0.75;
    cursor: pointer;
    transition: opacity 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}

.hero-tab img {
    max-height: 100%;
    width: auto;
}

.hero-tab:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.hero-tab.is-active {
    opacity: 1;
    border-color: var(--p);
    box-shadow: 0 0 0 2px var(--p), 0 8px 24px var(--p-soft);
}

/* ========== SISTEMAS ========== */
.systems {
    position: relative;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

/* Capa dos sistemas */
.systems-intro {
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.systems-intro-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.75rem;
}

.system-cards {
    display: grid;
    /* 4 sistemas desde out/2026 (LumeNF-e). */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

/* Cada item: cartão + botão "Conhecer o ..." abaixo dele (out/2026). A cor do
   sistema (classe product--*) fica no item e vale para os dois. */
.system-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.system-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: var(--card);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.system-card:hover {
    border-color: var(--p);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 50px var(--p-soft);
}

/* 16:10 = proporção exata das telas (1600x1000): a tela aparece INTEIRA, sem
   corte embaixo (antes 16:8,5, e 16:7 em telas baixas). Pedido do cliente. */
.system-card-shot {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

/* Transição suave imagem → texto (cliente, out/2026: "a linha é um corte bem
   seco"). Sem a borda de 1px: a base da imagem esmaece no fundo do cartão, e a
   plaquinha da logo (abaixo) sobe e fica metade sobre a imagem. O véu é parcial
   (até ~75%) para a tela continuar visível por inteiro. */
.system-card-shot::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--card) 75%, transparent));
    pointer-events: none;
}

.system-card-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transition: transform 0.6s var(--ease);
}

.system-card:hover .system-card-shot img {
    transform: scale(1.04);
}

/* Logo, título, texto e link centralizados (cliente, out/2026). */
.system-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    flex: 1;
    padding: 1.15rem 1.25rem 1.3rem;
}

/* Plaquinha "flutuando" na emenda: metade sobre a imagem, metade sobre o texto. */
.system-card-logo {
    position: relative;
    z-index: 1;
    align-self: center;
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0.45rem 0.85rem;
    margin-top: calc(-1.15rem - 23px);
    margin-bottom: 0.15rem;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--p) 22%, rgba(15, 23, 42, 0.08));
    border-radius: var(--r-md);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.system-card-logo img {
    height: 100%;
    width: auto;
}

/* O segmento é o TÍTULO do cartão (antes rótulo miúdo em caixa-alta). Um pouco
   maior desde que o link saiu do cartão e virou botão. */
.system-card-segment {
    color: var(--text);
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.system-card-text {
    color: var(--text-2);
    font-size: 0.98rem;
    line-height: 1.5;
}

/* Botão "Conhecer o ..." fora do cartão: contorno na cor do sistema,
   preenchido no hover (ou quando o cartão acima está em hover). */
.system-card-btn {
    width: 100%;
    border: 1.5px solid var(--p);
    background: var(--card);
    color: var(--p);
}

.system-card-btn i {
    transition: transform 0.3s var(--ease);
}

.system-card-btn:hover,
.system-card:hover + .system-card-btn {
    background: var(--p);
    color: #fff;
}

.system-card-btn:hover i,
.system-card:hover + .system-card-btn i {
    transform: translateX(4px);
}

/* Seção de cada sistema */
.product {
    position: relative;
    padding: 5.5rem 0;
    overflow: hidden;
}

.product + .product {
    border-top: 1px solid var(--border);
}

.product::before {
    content: '';
    position: absolute;
    width: 720px;
    height: 720px;
    top: 50%;
    right: -260px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--p-soft);
    filter: blur(120px);
    pointer-events: none;
}

.product--reverse::before {
    right: auto;
    left: -260px;
}

.product-container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 3.5rem;
    align-items: center;
}

.product--reverse .product-info {
    order: 2;
}

/* Invertido: a galeria vai para a esquerda, mas continua na coluna larga */
@media (min-width: 961px) {
    .product--reverse .product-container {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    }
}

.product-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.product-logo {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0.5rem 0.9rem;
    background: #f7f7fa;
    border-radius: var(--r-md);
}

.product-logo img {
    height: 100%;
    width: auto;
}

.product-segment {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--p);
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-headline {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.product-description {
    color: var(--text-2);
    font-size: 1.04rem;
    margin-bottom: 1.25rem;
}

.product-description strong {
    color: var(--text);
}


.product-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-2);
}

.product-features strong {
    color: var(--text);
    font-weight: 600;
}

.product-features i {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: var(--p-soft);
    color: var(--p);
    font-size: 0.85rem;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Carrossel de telas (sistemas e sites) */
.product-gallery {
    min-width: 0;
}

.carousel-window {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border-2);
    background: #111;
    box-shadow: var(--shadow), 0 0 80px var(--p-soft);
    transition: box-shadow 0.4s;
}

.carousel-window:hover {
    box-shadow: var(--shadow), 0 0 0 1px var(--p), 0 0 90px var(--p-soft);
}

.carousel-viewport {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s var(--ease);
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    cursor: zoom-in;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    pointer-events: none;
    user-select: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.82);
    border: 1px solid var(--border-2);
    color: var(--text);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.3s, border-color 0.2s, color 0.2s;
}

.carousel-prev {
    left: 0.75rem;
}

.carousel-next {
    right: 0.75rem;
}

.carousel-window:hover .carousel-arrow,
.carousel-arrow:focus-visible {
    opacity: 1;
}

.carousel-arrow:hover {
    border-color: var(--p);
    color: var(--p);
}

.carousel-zoom {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid var(--border-2);
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel-window:hover .carousel-zoom {
    opacity: 1;
}

.carousel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.9rem;
}

.carousel-caption {
    flex: 1;
    min-width: 0;
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 3em; /* o JS ajusta para a maior legenda do carrossel */
}

.carousel-dots {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.carousel-dot {
    position: relative;
    width: 26px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
    transition: width 0.3s;
}

/* O ponto ativo enche como barra de progresso até a próxima tela */
.carousel-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 0;
    background: var(--p);
    border-radius: inherit;
}

.carousel-dot.is-active {
    width: 44px;
}

.carousel-dot.is-active::after {
    width: 100%;
}

.carousel.is-playing .carousel-dot.is-active::after {
    animation: dotFill var(--carousel-time, 5s) linear;
}

/* Área de toque maior que o ponto */
.carousel-dot::before {
    content: '';
    position: absolute;
    inset: -10px -2px;
}

@keyframes dotFill {
    from { width: 0; }
    to { width: 100%; }
}

/* ========== SITES ========== */
.sites {
    padding-bottom: 3rem;
}

.sites-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
    padding: 3.5rem;
    border-radius: var(--r-xl);
    border: 1px solid rgba(224, 107, 31, 0.22);
    background:
        radial-gradient(circle at 85% 20%, rgba(224, 107, 31, 0.16), transparent 55%),
        linear-gradient(160deg, #1a1410, #121218 60%);
    overflow: hidden;
}

.sites-title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.sites-description {
    color: var(--text-2);
    margin-bottom: 1.5rem;
}

.sites-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.92rem;
    color: var(--text-2);
}

.sites-features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.sites-features i {
    color: var(--accent-2);
    width: 18px;
    text-align: center;
}

.sites-visual {
    position: relative;
    padding-right: 9%;
}

.sites-phone {
    position: absolute;
    right: 0;
    top: 16%;
    z-index: 3;
    width: 26%;
    padding: 5px;
    border-radius: 22px;
    background: #050507;
    border: 1px solid var(--border-2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.sites-phone img {
    width: 100%;
    aspect-ratio: 9 / 19;
    object-fit: cover;
    object-position: top;
    border-radius: 17px;
}

/* ========== SOB MEDIDA ========== */
.custom-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.custom-card {
    padding: 1.6rem 1.4rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--card);
    transition: border-color 0.3s, transform 0.3s var(--ease);
}

.custom-card:hover {
    border-color: rgba(224, 107, 31, 0.45);
    transform: translateY(-4px);
}

.custom-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: var(--r-md);
    background: rgba(224, 107, 31, 0.12);
    color: var(--accent-2);
    font-size: 1.15rem;
}

.custom-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.custom-card p {
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.55;
}

.custom-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--r-lg);
    border: 1px dashed var(--border-2);
    margin-bottom: 2.5rem;
}

.custom-steps li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.custom-step-n {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    color: var(--accent-2);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.9rem;
}

.custom-steps strong {
    display: block;
    font-family: var(--font-head);
    font-size: 0.95rem;
}

.custom-steps p {
    color: var(--text-2);
    font-size: 0.84rem;
    line-height: 1.5;
}

.custom-cta {
    text-align: center;
}

/* ========== CASES ========== */
.cases {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 0;
}

.cases .section-header {
    margin-bottom: 2rem;
}

.cases-wrapper {
    position: relative;
    max-width: calc(4 * 260px + 3 * 1rem + 0.5rem); /* 4 cartões inteiros */
    margin: 0 auto;
}

.cases-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: translateY(-50%);
    transition: transform 0.25s;
}

.cases-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

/* Setas por classe (não por id): há duas linhas de carrossel desde out/2026. */
.cases-arrow--left {
    left: -22px;
    display: none;
}

.cases-arrow--right {
    right: -22px;
}

.cases-wrapper + .cases-wrapper {
    margin-top: -0.5rem;
}

.cases-carousel {
    display: flex;
    gap: 1rem;
    overflow: hidden;
    padding: 1rem 0.25rem 1.5rem;
    scroll-behavior: smooth;
    cursor: grab;
}

/* Linha com poucos cartões fica centralizada. Margem automática (e não
   justify-content: center): quando a linha transborda, as margens viram zero e
   o carrossel rola normalmente, sem cortar o primeiro cartão. */
.cases-card:first-child { margin-left: auto; }
.cases-card:last-child { margin-right: auto; }

.cases-carousel.dragging {
    scroll-behavior: auto;
    cursor: grabbing;
}

.cases-carousel.dragging .cases-card {
    pointer-events: none;
}

.cases-card {
    flex: 0 0 260px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--card);
    transition: border-color 0.3s, transform 0.3s var(--ease);
}

.cases-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.cases-card img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    user-select: none;
}

/* Logos brancos (feitos para fundo escuro) ficam escuros no cartão claro */
.cases-card--light-logo img {
    filter: invert(1);
}

/* Logos em JPG com fundo escuro chapado: o cartão assume a cor do fundo da
   logo, que ocupa o cartão inteiro — sem retângulo preto num cartão branco. */
.cases-card--caca,
.cases-card--colorpaint {
    padding: 0.4rem;
    overflow: hidden;
}

.cases-card--caca { background: #1b1819; }
.cases-card--colorpaint { background: #060606; }

.cases-card--caca img,
.cases-card--colorpaint img {
    width: 100%;
    height: 100%;
}

/* ========== CONTATO ========== */
.contact {
    padding-bottom: 5rem;
}

/* Contato enxuto (28/10/2026, "muito contaminado"): sem formulário, uma coluna
   centralizada — WhatsApp em destaque e, abaixo, redes sociais e avaliação no
   Google lado a lado. */
.contact-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: var(--card);
}

.contact-panel .section-title {
    margin-bottom: 0.6rem;
}

.contact-lead {
    color: var(--text-2);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.contact-wa-btn {
    background: linear-gradient(145deg, #2fe077, #12a150);
    color: #fff;
    font-size: 1.05rem;
    padding: 1rem 2.25rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}

.contact-wa-btn i {
    font-size: 1.35rem;
}

.contact-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    margin-top: 2rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--bg-2);
}

.contact-card-title {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.contact-icons-row {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
}

/* Ícones nas cores de cada rede */
.contact-icon-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.contact-icon-btn.facebook { background: #1877F2; }
.contact-icon-btn.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.contact-icon-btn.location { background: #EA4335; }

.contact-icon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
}

/* Avaliação no Google: o cartão inteiro é o link; logo colorido + estrelas. */
.contact-card--google {
    gap: 0.4rem;
    transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.contact-card--google:hover {
    border-color: #fbbc05;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.contact-stars {
    display: flex;
    gap: 0.2rem;
    color: #fbbc05;
    font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-2);
    padding: 2.25rem 0 2rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    text-align: center;
}

.footer-logo img {
    height: 38px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
    font-size: 0.9rem;
    color: var(--text-2);
}

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

.footer-copy {
    color: var(--text-3);
    font-size: 0.8rem;
}

/* ========== GALERIA EM TELA CHEIA ========== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.25s;
}

.lightbox-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    max-height: 100%;
    animation: zoomIn 0.3s var(--ease);
}

.lightbox-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    margin-bottom: 0.9rem;
}

.lightbox-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--p);
}

.lightbox-count {
    color: var(--text-3);
    font-size: 0.85rem;
}

.lightbox-close {
    margin-left: auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.15rem;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.lightbox-stage {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 220px);
    max-height: calc(100dvh - 220px);
    border-radius: var(--r-md);
    border: 1px solid var(--border-2);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--p);
    user-select: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid var(--border-2);
    font-size: 1rem;
    transform: translateY(-50%);
    transition: background 0.2s, border-color 0.2s;
}

.lightbox-nav:hover {
    border-color: var(--p);
    color: var(--p);
}

.lightbox-prev {
    left: -64px;
}

.lightbox-next {
    right: -64px;
}

.lightbox-caption {
    max-width: 760px;
    margin: 1rem 0 0.9rem;
    text-align: center;
    color: var(--text-2);
    font-size: 0.95rem;
}

/* ========== WHATSAPP FLUTUANTE ========== */
.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 90;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s var(--ease);
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    padding: 0.45rem 0.9rem;
    border-radius: var(--r-sm);
    background: var(--card-2);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: none;
}

/* ========== ANIMAÇÕES ========== */
@keyframes fadeIn {
    from { opacity: 0; }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.96); }
}

/* Entrada suave ao rolar: desliza pouco e devagar, com desaceleração longa */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* Hero entra ao abrir a página (já está na tela, não depende de rolagem) */
@keyframes entrada-suave {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.hero-content {
    animation: entrada-suave 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-showcase {
    animation: entrada-suave 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========== TEMA: site claro, hero e rodapé em azul-marinho ========== */
.header.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06); }
.hero { background: linear-gradient(180deg, #fff7f1 0%, #f5f7fb 70%); }
.hero-glow-1 { background: rgba(224, 107, 31, 0.14); }
.hero-glow-2 { background: rgba(99, 102, 241, 0.1); }
.hero-grid { background-image: linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px); }
.product-logo { background: #f3f5f9; }
.win-bar { background: #e8ebf1; border-bottom-color: rgba(15, 23, 42, 0.08); }
.win-title { color: #475569; }
.win-dots i::before, .win-dots i::after { border-color: #64748b; }
.systems { background: #fff; }
/* Quadros dos sistemas: contorno na cor do produto + halo + sombra em camadas para sobressair do fundo */
.system-card {
    border-color: color-mix(in srgb, var(--p) 30%, rgba(15, 23, 42, 0.1));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 8%, transparent), 0 2px 4px rgba(15, 23, 42, 0.05), 0 18px 40px -12px rgba(15, 23, 42, 0.22);
}
.system-card:hover {
    border-color: var(--p);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--p) 16%, transparent), 0 4px 8px rgba(15, 23, 42, 0.06), 0 30px 60px -14px rgba(15, 23, 42, 0.3);
}
.product:nth-of-type(even) { background: #f7f8fb; }
.product::before { opacity: 0.6; }
.carousel-window {
    background: #fff;
    border-color: color-mix(in srgb, var(--p) 35%, rgba(15, 23, 42, 0.12));
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--p) 10%, transparent), 0 2px 6px rgba(15, 23, 42, 0.06), 0 30px 60px -16px rgba(15, 23, 42, 0.32);
}
.carousel-window:hover {
    border-color: var(--p);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--p) 18%, transparent), 0 2px 6px rgba(15, 23, 42, 0.06), 0 34px 70px -16px rgba(15, 23, 42, 0.36);
}
.carousel-arrow, .carousel-zoom { background: rgba(255, 255, 255, 0.95); box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15); }
.carousel-dot { background: rgba(15, 23, 42, 0.12); }
.sites-banner { background: radial-gradient(circle at 85% 20%, rgba(224, 107, 31, 0.12), transparent 55%), linear-gradient(160deg, #fff4ec, #ffffff 65%); box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06); }
.sites-phone { background: #0f172a; }
.custom-card { box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05); }
.cases { background: #eef1f6; }
.cases-card { border-color: rgba(15, 23, 42, 0.06); box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08); }
.cases-card:hover { box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14); }
.contact-panel { box-shadow: 0 10px 40px rgba(15, 23, 42, 0.07); }
.footer { background: #fff; }
.lightbox { color: #f2f2f7; --text: #f2f2f7; --text-2: #cbd5e1; --text-3: #94a3b8; --border-2: rgba(255, 255, 255, 0.15); }
.lightbox-backdrop { background: rgba(15, 23, 42, 0.88); }
/* Menu lateral do celular é branco: textos escuros mesmo com o cabeçalho sobre o hero */
@media (max-width: 960px) { .nav-menu { background: #fff; color: #0f172a; --text: #0f172a; --text-2: #475569; } }

/* Hero em GRAFITE com trilhas de circuito (28/10/2026, escolhido entre três
   prévias: claro, azul com rede, grafite com circuito). Antes: azul-marinho com
   brilho laranja no canto. O laranja ficou só no título e no botão.
   Rodapé segue azul-marinho. */
.hero {
    color: var(--text);
    background:
        radial-gradient(circle at 72% 32%, rgba(45, 212, 191, 0.12), transparent 45%),
        linear-gradient(160deg, #0f172a 0%, #111827 100%);
    --text: #f4f6fb;
    --text-2: #b9c4da;
    --border: rgba(255, 255, 255, 0.1);
    --border-2: rgba(255, 255, 255, 0.2);
}
.hero .product--os { --p: #38bdf8; }
.hero .product--clinic { --p: #f0a9c0; }
.hero .product--desk { --p: #c4b0ff; }
.hero .product--nfe { --p: #5ef0d3; }
/* O circuito (SVG, ~8 KB) mora na camada .hero-grid; a máscara o apaga atrás do
   texto (esquerda) e o deixa visível atrás da vitrine de telas (direita). */
.hero-grid {
    background: url("../assets/fundos/hero-circuito.svg") center / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 38%, #000 62%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 38%, #000 62%);
}
.hero-glow { display: none; }
.header:not(.scrolled) { color: #fff; --text: #ffffff; --text-2: #c7d2e6; --border-2: rgba(255, 255, 255, 0.25); }
.footer { background: var(--navy); --text-2: #b9c4da; --text-3: #8391ad; border-top-color: transparent; }

/* ========== LumeNF-e (out/2026) ==========
   Solução fiscal da LumeTECH, apresentada como os outros sistemas (cartão em
   "Nossos sistemas", aba na vitrine do hero e seção .product). Turquesa da
   logo. No site é só propaganda: uma imagem de divulgação, sem telas internas. */
.product--nfe {
    --p: #0e9f8a;
    --p-strong: #19c3a6;
    --p-ink: #fff;
    --p-soft: rgba(25, 195, 166, 0.1);
}
/* Imagem de divulgação na mesma moldura de janela das telas dos sistemas. */
.product-promo {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ========== RESPONSIVO ========== */

/* Menu lateral */
@media (max-width: 960px) {
    .nav-toggle,
    .nav-close {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        padding: 5.5rem 2rem 2rem;
        background: var(--bg-2);
        border-left: 1px solid var(--border);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.4s var(--ease), visibility 0.4s;
        z-index: 200;
    }

    .nav-menu.show-menu {
        transform: none;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    .nav-close {
        position: absolute;
        top: 1.1rem;
        right: 1.1rem;
        background: var(--bg-3);
    }

    /* Hero vira uma coluna: texto em cima, telas embaixo */
    .hero {
        padding-top: calc(var(--header-h) + 2.25rem);
    }

    .hero-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-showcase {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }

    .product-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .system-cards {
        grid-template-columns: minmax(0, 1fr);
        max-width: 640px;
        margin: 0 auto;
        gap: 1rem;
    }

    .system-card {
        flex-direction: row;
    }

    .system-card-shot {
        flex: 0 0 42%;
        aspect-ratio: 16 / 10;
        align-self: center;
        border-bottom: 0;
        border-right: 1px solid var(--border);
    }

    /* Cartão na horizontal (imagem ao lado): a logo não sobe sobre a imagem e
       não há esmaecimento embaixo (a emenda aqui é na lateral). */
    .system-card-logo {
        margin-top: 0;
    }

    .system-card-shot::after {
        display: none;
    }

    /* No celular/tablet as telas entram logo após o título e a descrição */
    .product-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .product-info {
        display: contents;
    }

    .product-brand { order: 1; }
    .product-headline { order: 2; }
    .product-description { order: 3; }
    .product-gallery { order: 4; margin: 0.5rem 0 2rem; }
    .product-features { order: 6; }
    .product-actions { order: 7; }

    .product-gallery {
        max-width: 760px;
    }

    .sites-banner {
        grid-template-columns: minmax(0, 1fr);
        padding: 2.5rem;
    }

    .sites-visual {
        max-width: 620px;
    }

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

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

    .contact-panel {
        padding: 2.25rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }
}

/* Desktop: cada seção do menu ocupa uma tela e fica centralizada ao clicar no link */
@media (min-width: 961px) {
    /* Hero ocupa a tela inteira (o cabeçalho fixo fica por cima dele): sem isso,
       em monitor alto sobrava uma faixa da seção branca seguinte embaixo. */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        padding-bottom: 3rem;
    }

    .hero > .hero-container {
        width: 100%;
    }

    .sites,
    .custom,
    .cases,
    .contact {
        min-height: calc(100vh - var(--header-h));
        min-height: calc(100dvh - var(--header-h));
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem 0;
    }
}

@media (min-width: 961px) and (max-height: 860px) {
    .custom .section-header {
        margin-bottom: 1.75rem;
    }

    .custom .section-title {
        font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    }

    .custom-grid,
    .custom-steps {
        margin-bottom: 1.5rem;
    }

    .custom-card {
        padding: 1.2rem 1.2rem;
    }

    .custom-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.7rem;
    }

    .custom-steps {
        padding: 1.1rem 1.25rem;
    }
}

/* Notebooks (altura útil do navegador até ~780px): Sob medida e Contato compactos para caber em uma tela */
@media (min-width: 961px) and (max-height: 780px) {
    .sites,
    .custom,
    .cases,
    .contact {
        padding: 1.25rem 0;
    }

    .custom .section-header {
        max-width: none;
        margin-bottom: 1.25rem;
    }

    .custom .section-subtitle {
        margin-bottom: 0.4rem;
    }

    .custom .section-title {
        font-size: clamp(1.45rem, 2.2vw, 1.9rem);
        margin-bottom: 0.4rem;
    }

    .custom .section-title br {
        display: none;
    }

    .custom .section-description {
        max-width: none;
        font-size: 0.95rem;
    }

    .custom-grid {
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .custom-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 0.75rem;
        align-items: center;
        padding: 1rem;
    }

    .custom-icon {
        width: 36px;
        height: 36px;
        margin: 0;
        font-size: 1rem;
    }

    .custom-card h3 {
        margin: 0;
        font-size: 0.98rem;
    }

    .custom-card p {
        grid-column: 1 / -1;
        margin-top: 0.5rem;
        font-size: 0.85rem;
    }

    .custom-steps {
        padding: 0.85rem 1.1rem;
        margin-bottom: 1rem;
    }

    .custom-step-n {
        width: 30px;
        height: 30px;
    }

    .custom-steps p {
        font-size: 0.8rem;
    }

    .custom-cta .btn {
        padding: 0.75rem 1.5rem;
    }

    .contact-panel {
        padding: 2rem 2rem;
    }

    .contact-cards {
        margin-top: 1.5rem;
    }
}

/* Desktop: a capa dos sistemas ocupa uma tela inteira */
@media (min-width: 961px) {
    .systems-intro-head {
        max-width: none;
    }

    .systems-intro .section-description {
        max-width: none;
        white-space: nowrap;
    }

    .systems-intro {
        min-height: calc(100vh - var(--header-h));
        min-height: calc(100dvh - var(--header-h));
        padding: 3rem 0;
    }
}

@media (min-width: 961px) and (max-height: 860px) {
    .systems-intro-head {
        margin-bottom: 1.75rem;
    }

    .systems-intro .section-title {
        font-size: clamp(1.6rem, 2.8vw, 2.2rem);
        margin-bottom: 0.6rem;
    }

    .system-card-body {
        padding: 0.9rem 1.1rem 1.05rem;
        gap: 0.4rem;
    }
}

/* Desktop: cada sistema ocupa exatamente uma tela (abaixo do cabeçalho e da barra dos sistemas) */
@media (min-width: 961px) {
    .product {
        min-height: calc(100vh - var(--header-h));
        min-height: calc(100dvh - var(--header-h));
        display: flex;
        align-items: center;
        padding: 2.5rem 0;
    }
}

@media (min-width: 961px) and (max-height: 860px) {
    .product {
        padding: 1.5rem 0;
    }

    .product-brand {
        margin-bottom: 0.9rem;
    }

    .product-logo {
        height: 44px;
    }

    .product-headline {
        font-size: clamp(1.5rem, 2.4vw, 1.9rem);
        margin-bottom: 0.6rem;
    }

    .product-description {
        font-size: 0.97rem;
        margin-bottom: 1rem;
    }


    .product-features {
        gap: 0.6rem 1rem;
        margin-bottom: 1.4rem;
    }

    .product-features i {
        width: 28px;
        height: 28px;
    }

    .product-container {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    }

    .product--reverse .product-container {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    }

    .carousel-foot {
        margin-top: 0.6rem;
    }
}

/* Telas largas com pouca altura (notebooks): hero mais compacto */
@media (min-width: 961px) and (max-height: 820px) {
    .hero {
        padding-top: calc(var(--header-h) + 2rem);
    }

    .hero-title {
        font-size: clamp(2rem, 3.6vw, 2.9rem);
    }

    .hero-description {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    :root {
        --header-h: 66px;
        --gutter: 1rem;
    }

    .section {
        padding: 4.25rem 0;
    }

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

    .nav-logo-img {
        height: 46px;
    }

    .btn-nav {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.85rem, 8.4vw, 2.3rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Celular: as 4 abas em 2x2. */
    .hero-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-tab {
        height: 46px;
    }

    .win-bar {
        height: 22px;
        padding-left: 0.55rem;
    }

    .win-dots i {
        width: 26px;
    }

    .win-dots i::before,
    .win-dots i::after {
        scale: 0.8;
    }

    .win-title {
        font-size: 0.62rem;
    }

    .systems-intro {
        padding: 4rem 0 3.5rem;
    }

    .systems-intro-head {
        margin-bottom: 2rem;
    }

    .system-card {
        flex-direction: column;
    }

    .system-card-shot {
        flex: none;
        aspect-ratio: 16 / 10;
        border-right: 0;
    }

    /* Celular: cartão vertical de novo, a logo volta a ficar na emenda. */
    .system-card-logo {
        margin-top: calc(-1.15rem - 23px);
    }

    .system-card-shot::after {
        display: block;
    }







    .product {
        padding: 4rem 0;
    }

    .product-logo {
        height: 44px;
    }

    .product-features {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.7rem;
    }

    .product-actions .btn {
        flex: 1 1 100%;
    }

    .carousel-arrow {
        opacity: 1;
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }

    .carousel-prev {
        left: 0.4rem;
    }

    .carousel-next {
        right: 0.4rem;
    }

    .carousel-foot {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .carousel-caption {
        font-size: 0.85rem;
    }

    .sites-banner {
        padding: 1.75rem 1.25rem;
        gap: 2.25rem;
    }

    .sites-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .sites-banner .btn {
        width: 100%;
        white-space: normal;
    }

    .custom-grid,
    .custom-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .custom-cta .btn {
        width: 100%;
    }

    .cases {
        padding: 4rem 0;
    }

    .cases-card {
        flex-basis: 200px;
        height: 120px;
    }

    .cases-arrow--left {
        left: -10px;
    }

    .cases-arrow--right {
        right: -10px;
    }

    .contact-panel {
        padding: 1.75rem 1.1rem;
        border-radius: var(--r-lg);
    }

    /* Celular: redes e Google um embaixo do outro; WhatsApp em largura total. */
    .contact-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-wa-btn {
        width: 100%;
    }

    .lightbox {
        padding: 0.75rem;
    }

    .lightbox-img {
        max-height: calc(100vh - 260px);
        max-height: calc(100dvh - 260px);
    }

    .lightbox-nav {
        top: auto;
        bottom: -3.75rem;
        transform: none;
    }

    .lightbox-prev {
        left: calc(50% - 56px);
    }

    .lightbox-next {
        right: calc(50% - 56px);
    }

    .lightbox-caption {
        margin-top: 4.5rem;
        font-size: 0.88rem;
    }

    .lightbox-cta {
        width: 100%;
    }

    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 360px) {
    .btn-nav {
        width: 40px;
        padding: 0.5rem;
        font-size: 0;
        gap: 0;
    }

    .btn-nav i {
        font-size: 0.95rem;
    }
}
