/* ============================================================
   LUME TECH — 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 0;
    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;
    margin-bottom: 2.25rem;
}

/* Atalhos para os 3 sistemas */
.hero-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-product {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    height: 100%;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.025);
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.hero-product:hover,
.hero-product.is-active {
    border-color: var(--p);
    background: var(--p-soft);
}

.hero-product:hover {
    transform: translateY(-3px);
}

.hero-product-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0.4rem 0.6rem;
    background: #f7f7fa;
    border-radius: var(--r-sm);
}

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

.hero-product-text {
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--text-2);
    text-align: center;
}

/* Pilha de telas reais */
.hero-stack {
    position: relative;
    aspect-ratio: 16 / 12;
}

.hero-screen {
    position: absolute;
    width: 84%;
    border-radius: var(--r-md);
    overflow: hidden;
    background: #111;
    border: 1px solid var(--border-2);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    transition: transform 0.8s var(--ease), left 0.8s var(--ease), top 0.8s var(--ease), opacity 0.8s, filter 0.8s, box-shadow 0.8s;
    will-change: transform;
}

.hero-screen img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
}

.hero-screen[data-pos="0"] {
    left: 0;
    top: 22%;
    z-index: 3;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--p), 0 0 60px var(--p-soft);
}

.hero-screen[data-pos="1"] {
    left: 8%;
    top: 11%;
    z-index: 2;
    transform: scale(0.94);
    filter: brightness(0.55);
}

.hero-screen[data-pos="2"] {
    left: 16%;
    top: 0;
    z-index: 1;
    transform: scale(0.88);
    filter: brightness(0.35);
}

.hero-screen[data-pos="1"]:hover,
.hero-screen[data-pos="2"]:hover {
    filter: brightness(0.8);
}

.hero-screen-tag {
    position: absolute;
    left: 0.9rem;
    bottom: 0.9rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(10, 10, 15, 0.88);
    border: 1px solid var(--p);
    color: var(--p);
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s 0.3s, transform 0.4s 0.3s;
}

.hero-screen[data-pos="0"] .hero-screen-tag {
    opacity: 1;
    transform: none;
}

/* Faixa de benefícios */
.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2.5rem;
    margin-top: 4rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    border-top: 1px solid var(--border);
    color: var(--text-2);
    font-size: 0.92rem;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.hero-benefits i {
    color: var(--accent-2);
}

/* ========== 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;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.system-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    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);
}

.system-card-shot {
    display: block;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.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);
}

.system-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    padding: 1.25rem 1.35rem 1.4rem;
}

.system-card-logo {
    align-self: flex-start;
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0.4rem 0.75rem;
    background: #f7f7fa;
    border-radius: var(--r-sm);
    margin-bottom: 0.2rem;
}

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

.system-card-segment {
    color: var(--p);
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.system-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
}

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

.system-card:hover .system-card-link 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);
}

#cases-left {
    left: -22px;
    display: none;
}

#cases-right {
    right: -22px;
}

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

.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);
}

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

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3rem;
    padding: 3rem;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: var(--card);
}

.contact-side .section-title {
    margin-bottom: 0.75rem;
}

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


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

/* Coluna da esquerda do contato: tudo centralizado */
.contact-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-wa {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.contact-wa-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2fe077, #12a150);
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s var(--ease);
}

/* Anel pulsando: chama atenção sem poluir */
.contact-wa-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.45);
    animation: waRing 2.2s ease-out infinite;
}

.contact-wa:hover .contact-wa-icon {
    transform: scale(1.08);
}

.contact-wa-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #16a34a;
}

@keyframes waRing {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

.contact-social {
    width: 100%;
}

.contact-review {
    display: flex;
    justify-content: center;
}

.contact-review .contact-google-link {
    background: #fff;
}

.contact-social {
    text-align: center;
    padding: 1.1rem 1.25rem;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, rgba(224, 107, 31, 0.08), rgba(224, 107, 31, 0.02));
    border: 1px solid rgba(224, 107, 31, 0.2);
    margin-bottom: 1.25rem;
}

.contact-social-text {
    margin: 0 0 0.85rem;
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.45;
}

.contact-social-text strong {
    color: var(--accent);
}

/* Ícones nas cores de cada rede */
.contact-icon-btn {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    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);
}



.contact-google-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}

.contact-google-link:hover {
    border-color: var(--border-2);
}

.google-logo-full {
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.contact-google-link:hover .google-logo-full {
    filter: none;
    opacity: 1;
}

.contact-google-text {
    color: var(--text-2);
    font-size: 0.85rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border-2);
    background: var(--bg-3);
    color: var(--text);
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3a3b8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.4rem;
}

.form-field select option {
    background: var(--bg-3);
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-3);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-message {
    padding: 0.85rem 1rem;
    border-radius: var(--r-md);
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.form-message-success {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: #00d4aa;
}

.form-message-error {
    background: rgba(255, 95, 87, 0.1);
    border: 1px solid rgba(255, 95, 87, 0.3);
    color: #ff6b63;
}

/* ========== 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); }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@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); }
.hero-product { background: #fff; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05); }
.hero-product-logo, .product-logo, .system-card-logo { background: #f3f5f9; }
.hero-screen { box-shadow: 0 30px 60px rgba(15, 23, 42, 0.22); }
.hero-screen[data-pos="0"] { box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25), 0 0 0 2px var(--p); }
.hero-screen[data-pos="1"] { filter: brightness(0.92) saturate(0.8); }
.hero-screen[data-pos="2"] { filter: brightness(0.85) saturate(0.6); }
.hero-screen-tag { background: rgba(255, 255, 255, 0.95); }
.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 e rodapé em azul-marinho (textos claros) */
.hero {
    color: var(--text);
    background: radial-gradient(circle at 15% 0%, rgba(224, 107, 31, 0.22), transparent 45%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 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-grid { background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); }
.hero-glow-1 { background: rgba(224, 107, 31, 0.18); }
.hero-glow-2 { background: rgba(56, 189, 248, 0.14); }
.hero-product { background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.hero-product-logo { background: #fff; }
.hero-screen-tag { background: rgba(11, 21, 48, 0.9); }
.hero-screen[data-pos="1"] { filter: brightness(0.6); }
.hero-screen[data-pos="2"] { filter: brightness(0.4); }
.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; }

/* ========== 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-products {
        max-width: 560px;
        margin: 0 auto;
    }

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

    .hero-benefits {
        margin-top: 3rem;
    }

    .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: auto;
        border-bottom: 0;
        border-right: 1px solid var(--border);
    }

    /* 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 {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
        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) {
    .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: 1.6rem 2rem;
        gap: 2rem;
    }

    .contact-side .section-title {
        font-size: 1.9rem;
        margin-bottom: 0.4rem;
    }

    .contact-lead {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .contact-wa {
        margin-bottom: 0.9rem;
    }

    .contact-wa-icon {
        width: 46px;
        height: 46px;
        font-size: 1.5rem;
    }

    .contact-wa-icon::after {
        inset: -5px;
    }

    .contact-social {
        padding: 0.85rem 1rem;
        margin-bottom: 0.9rem;
    }

    .contact-social-text {
        margin-bottom: 0.6rem;
        font-size: 0.92rem;
    }

    .contact-icon-btn {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .contact-form {
        gap: 0.6rem;
    }

    .form-group {
        gap: 0.6rem;
    }

    .form-field {
        gap: 0.2rem;
    }

    .form-field input,
    .form-field textarea,
    .form-field select {
        padding: 0.55rem 0.8rem;
        font-size: 0.88rem;
    }

    .form-field textarea {
        min-height: 72px;
    }

    .contact-form .btn-lg {
        padding: 0.75rem 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-shot {
        aspect-ratio: 16 / 7;
    }

    .system-card-body {
        padding: 1rem 1.2rem 1.15rem;
        gap: 0.45rem;
    }
}

/* 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;
    }

    .hero-actions {
        margin-bottom: 1.6rem;
    }

    .hero-benefits {
        margin-top: 2.5rem;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
}

@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%;
    }

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

    .hero-product {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
        padding: 0.55rem;
    }

    .hero-product-logo {
        flex: 0 0 118px;
        height: 40px;
    }

    .hero-product-text {
        text-align: left;
        font-size: 0.85rem;
    }

    .hero-stack {
        aspect-ratio: 16 / 13;
    }

    .hero-screen {
        width: 84%;
    }

    .hero-screen[data-pos="1"] {
        left: 8%;
    }

    .hero-screen[data-pos="2"] {
        left: 16%;
    }

    .hero-screen-tag {
        left: 0.6rem;
        bottom: 0.6rem;
        font-size: 0.68rem;
        padding: 0.25rem 0.6rem;
    }

    .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;
    }

    .hero-benefits {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem 1rem;
        font-size: 0.82rem;
    }

    .hero-benefits li {
        align-items: flex-start;
        line-height: 1.35;
    }

    .hero-benefits i {
        margin-top: 0.15rem;
    }

    .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 / 7;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }







    .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-left {
        left: -10px;
    }

    #cases-right {
        right: -10px;
    }

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

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

    .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;
    }
}
