/* ==========================================================================
   Simples Sistemas — Landing Page (Home)
   Design system: dark, glass, glow. Mobile-first.
   Breakpoints estruturais: 480 / 768 / 1024 / 1280 / 1600
   ========================================================================== */

:root {
    --bg: #050816;
    --bg-soft: #070b1e;
    --bg-elevated: #0c1330;
    --blue: #0EA5FF;
    --blue-2: #2563EB;
    --purple: #6D28D9;
    --cyan: #00D4FF;
    --accent: var(--cyan);
    --whatsapp: #25D366;
    --text: #FFFFFF;
    --text-2: #94A3B8;
    --text-3: #64748B;
    --border: rgba(255, 255, 255, .09);
    --border-strong: rgba(255, 255, 255, .16);
    --glass: rgba(255, 255, 255, .045);
    --glass-strong: rgba(255, 255, 255, .08);
    --nav-bg: rgba(5, 8, 22, .72);
    --scrollbar-thumb: rgba(255, 255, 255, .18);
    --scrollbar-thumb-hover: rgba(255, 255, 255, .28);
    --map-filter: grayscale(.3) invert(.92) contrast(.9);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --container: 1240px;
    --nav-height: 66px;
    --gradient-brand: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    --gradient-purple: linear-gradient(135deg, var(--purple) 0%, var(--blue-2) 100%);
    --shadow-card: 0 20px 60px rgba(2, 6, 20, .5);
    --shadow-glow: 0 0 120px rgba(14, 165, 255, .25);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Tema claro — mesma paleta de marca (azul/ciano/roxo/whatsapp),
   só as superfícies (fundo, texto, bordas, glass) trocam. */
:root[data-theme="light"] {
    --accent: #0284C7;
    --bg: #F3F5FA;
    --bg-soft: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --text: #0B1229;
    --text-2: #475569;
    --text-3: #64748B;
    --border: rgba(11, 18, 41, .10);
    --border-strong: rgba(11, 18, 41, .18);
    --glass: rgba(11, 18, 41, .03);
    --glass-strong: rgba(11, 18, 41, .055);
    --nav-bg: rgba(255, 255, 255, .78);
    --scrollbar-thumb: rgba(11, 18, 41, .22);
    --scrollbar-thumb-hover: rgba(11, 18, 41, .34);
    --map-filter: grayscale(.15);
    --shadow-card: 0 16px 46px rgba(15, 23, 42, .10);
}

/* ---------- Reset ---------- */
html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    transition: background .3s var(--ease);
}

html {
    scrollbar-color: var(--scrollbar-thumb) var(--bg);
    scroll-padding-top: var(--nav-height);
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 6px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--scrollbar-thumb-hover);
    }

#site-home * {
    box-sizing: border-box;
}

#site-home {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    padding-top: var(--nav-height);
    transition: background .3s var(--ease), color .3s var(--ease);
}

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

    #site-home a {
        color: inherit;
        text-decoration: none;
    }

    #site-home ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #site-home h1, #site-home h2, #site-home h3, #site-home h4, #site-home p {
        margin: 0;
    }

    #site-home button {
        font-family: inherit;
        cursor: pointer;
    }

/* Fallback: qualquer ícone sem regra específica de tamanho fica sensato
   (especificidade baixa de propósito, para não sobrepor regras por seção) */
.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Ambient background glow layer, shared by whole page */
.sh-bg-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(720px 480px at 12% -6%, rgba(14, 165, 255, .22), transparent 60%),
        radial-gradient(680px 460px at 88% 18%, rgba(109, 40, 217, .20), transparent 60%),
        radial-gradient(620px 420px at 50% 100%, rgba(0, 212, 255, .12), transparent 60%);
}

/* ---------- Layout primitives ---------- */
.sh-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
    position: relative;
    z-index: 1;
}

.sh-section {
    padding: 72px 0;
    position: relative;
}

.sh-section-tight {
    padding: 48px 0;
}

.sh-head {
    max-width: 680px;
    margin-bottom: 44px;
}

.sh-head-center {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 44px;
}

.sh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

    .sh-eyebrow .icon {
        width: 14px;
        height: 14px;
    }

.sh-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--text);
}

    .sh-title span {
        background: var(--gradient-brand);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.sh-subtitle {
    margin-top: 16px;
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-2);
    line-height: 1.65;
}

.sh-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

    [data-reveal].is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Buttons ---------- */
.sh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15.5px;
    border: 1px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
    white-space: nowrap;
}

    .sh-btn .icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

.sh-btn-primary {
    background: var(--gradient-brand);
    color: #04101f;
    box-shadow: 0 12px 34px rgba(14, 165, 255, .38);
}

    .sh-btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 44px rgba(14, 165, 255, .5);
    }

.sh-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 12px 34px rgba(37, 211, 102, .28);
}

    .sh-btn-whatsapp:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 44px rgba(37, 211, 102, .4);
    }

.sh-btn-ghost {
    background: var(--glass);
    color: var(--text);
    border-color: var(--border-strong);
    backdrop-filter: blur(10px);
}

    .sh-btn-ghost:hover {
        background: var(--glass-strong);
        transform: translateY(-3px);
    }

.sh-btn-block {
    width: 100%;
}

.sh-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* ---------- Glass card ---------- */
.sh-card {
    background: linear-gradient(180deg, var(--glass-strong), var(--glass));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
}

.sh-icon-tile {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: #04101f;
    flex-shrink: 0;
}

    .sh-icon-tile .icon {
        width: 24px;
        height: 24px;
    }

.sh-icon-tile-purple {
    background: var(--gradient-purple);
    color: #fff;
}

.sh-icon-tile-ghost {
    background: var(--glass-strong);
    color: var(--accent);
    border: 1px solid var(--border);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.sh-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--nav-bg);
    backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    transition: background .3s var(--ease), border-color .3s var(--ease);
}

.sh-nav-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.sh-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.01em;
}

    .sh-logo img {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

.sh-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.sh-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-left: 14px;
}

.sh-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease, transform .2s ease;
}

    .sh-theme-toggle:hover {
        background: var(--glass-strong);
        transform: translateY(-2px);
    }

    .sh-theme-toggle .icon {
        width: 18px;
        height: 18px;
    }

    .sh-theme-toggle .icon-moon {
        display: flex;
    }

    .sh-theme-toggle .icon-sun {
        display: none;
    }

:root[data-theme="light"] .sh-theme-toggle .icon-moon {
    display: none;
}

:root[data-theme="light"] .sh-theme-toggle .icon-sun {
    display: flex;
}

    .sh-nav-links a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 9px 13px;
        border-radius: var(--radius-pill);
        font-size: 14px;
        font-weight: 500;
        color: var(--text-2);
        transition: background .2s, color .2s;
    }

        .sh-nav-links a:hover {
            color: var(--text);
            background: var(--glass);
        }

        .sh-nav-links a .icon {
            width: 15px;
            height: 15px;
        }

    .sh-nav-links .sh-nav-cta {
        color: #04101f;
        background: var(--gradient-brand);
        font-weight: 700;
    }

        .sh-nav-links .sh-nav-cta:hover {
            color: #04101f;
            filter: brightness(1.08);
        }

.sh-nav-dropdown {
    position: relative;
}

.sh-nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-2);
    background: none;
    border: 0;
    transition: background .2s, color .2s;
}

    .sh-nav-dropdown-trigger:hover {
        color: var(--text);
        background: var(--glass);
    }

    .sh-nav-dropdown-trigger .icon-chevron {
        width: 14px;
        height: 14px;
        transition: transform .25s var(--ease);
    }

.sh-nav-dropdown.is-open .sh-nav-dropdown-trigger {
    color: var(--text);
    background: var(--glass);
}

    .sh-nav-dropdown.is-open .sh-nav-dropdown-trigger .icon-chevron {
        transform: rotate(180deg);
    }

.sh-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    padding: 8px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    z-index: 210;
}

.sh-nav-dropdown.is-open .sh-nav-dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sh-nav-dropdown-menu li + li {
    margin-top: 2px;
}

.sh-nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
}

    .sh-nav-dropdown-menu a:hover {
        color: var(--text);
        background: var(--glass);
    }

    .sh-nav-dropdown-menu a .icon {
        width: 16px;
        height: 16px;
        color: var(--accent);
        flex-shrink: 0;
    }

@media (max-width: 1024px) {
    .sh-nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        font-size: 16px;
    }

    .sh-nav-dropdown-menu {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border-color: var(--border);
        background: var(--glass);
        max-height: 0;
        padding: 0 8px;
        overflow: hidden;
        transition: max-height .3s var(--ease), padding .3s var(--ease);
    }

    .sh-nav-dropdown.is-open .sh-nav-dropdown-menu {
        max-height: 240px;
        padding: 8px;
        margin-top: 4px;
    }
}

.sh-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text);
}

    .sh-nav-toggle .icon {
        width: 20px;
        height: 20px;
    }

    .sh-nav-toggle .icon-close {
        display: none;
    }

#site-home.sh-menu-open .sh-nav-toggle .icon-menu {
    display: none;
}

#site-home.sh-menu-open .sh-nav-toggle .icon-close {
    display: block;
}

@media (max-width: 1024px) {
    .sh-nav-links {
        position: fixed;
        inset: var(--nav-height) 0 0 0;
        height: calc(100vh - var(--nav-height));
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--bg-elevated);
        backdrop-filter: blur(20px);
        padding: 18px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .35s var(--ease);
    }

        .sh-nav-links a {
            padding: 14px 16px;
            border-radius: var(--radius-md);
            font-size: 16px;
        }

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

    #site-home.sh-menu-open .sh-nav-links {
        transform: translateX(0);
    }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.sh-hero {
    padding: 64px 0 96px;
    position: relative;
}

.sh-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.sh-hero-title {
    font-size: clamp(34px, 5.6vw, 60px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.06;
}

    .sh-hero-title span {
        background: var(--gradient-brand);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.sh-hero-desc {
    margin-top: 22px;
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-2);
    max-width: 540px;
    line-height: 1.65;
}

.sh-hero-list {
    margin-top: 28px;
    display: grid;
    gap: 13px;
}

    .sh-hero-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 15.5px;
        color: var(--text);
    }

.sh-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(14, 165, 255, .16);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .sh-check .icon {
        width: 13px;
        height: 13px;
        stroke-width: 3;
    }

.sh-hero-actions {
    margin-top: 36px;
}

.sh-hero-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-3);
}

/* Device mockup */
.sh-mockup-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    min-height: clamp(260px, 34vw, 400px);
}

.sh-mockup-glow {
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle, rgba(14, 165, 255, .35), transparent 65%);
    filter: blur(50px);
    z-index: 0;
    animation: sh-pulse 6s ease-in-out infinite;
}

@keyframes sh-pulse {
    0%, 100% {
        opacity: .7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

.sh-device {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    border-radius: 18px;
    background: linear-gradient(160deg, #131a35, #0a0f24);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(255, 255, 255, .02) inset;
    padding: 12px;
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
    transition: transform .5s var(--ease);
}

    .sh-device:hover {
        transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
    }

/* Os devices ficam sempre absolutos e sobrepostos; a rotação de qual está
   "na frente" anima via top/right/bottom/left + transform/opacity (nunca
   alternando `position`), para a transição nunca quebrar o layout. JS
   (initDeviceSwap) rotaciona periodicamente as classes sh-pos-*. */
.sh-mockup-wrap [data-swap-pair] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: top .8s var(--ease), right .8s var(--ease), bottom .8s var(--ease), left .8s var(--ease), transform .8s var(--ease), opacity .8s var(--ease);
}

.sh-mockup-wrap [data-swap-pair].sh-pos-front {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    opacity: 1;
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}

    .sh-mockup-wrap [data-swap-pair].sh-pos-front:hover {
        transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
    }

.sh-mockup-wrap [data-swap-pair].sh-pos-mid {
    top: 16%;
    right: -6%;
    bottom: -10%;
    left: 20%;
    z-index: 1;
    opacity: .85;
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) scale(.94);
}

.sh-mockup-wrap [data-swap-pair].sh-pos-back {
    top: -8%;
    right: 24%;
    bottom: 22%;
    left: -8%;
    z-index: 0;
    opacity: .6;
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) scale(.88);
}

@media (max-width: 640px) {
    .sh-mockup-wrap [data-swap-pair].sh-pos-mid,
    .sh-mockup-wrap [data-swap-pair].sh-pos-back {
        display: none;
    }
}

.sh-device-screen {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .06);
}

    .sh-device-screen img {
        width: 100%;
    }

.sh-zoomable {
    cursor: zoom-in;
    transition: filter .25s ease;
}

    .sh-zoomable:hover {
        filter: brightness(1.06);
    }

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

.sh-zoom-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(5, 8, 22, .72);
    border: 1px solid var(--border-strong);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s ease;
}

    .sh-zoom-hint .icon {
        width: 16px;
        height: 16px;
    }

.sh-device-screen:hover .sh-zoom-hint {
    opacity: 1;
}

/* ---------- Lightbox ---------- */
.sh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(2, 4, 12, .92);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s var(--ease);
}

    .sh-lightbox.is-open {
        opacity: 1;
        pointer-events: auto;
    }

.sh-lightbox-img {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    border-radius: 16px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
    transform: scale(.96);
    transition: transform .28s var(--ease);
}

.sh-lightbox.is-open .sh-lightbox-img {
    transform: scale(1);
}

.sh-lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-strong);
    border: 1px solid var(--border-strong);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

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

    .sh-lightbox-close .icon {
        width: 18px;
        height: 18px;
    }

.sh-device-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 10px;
}

    .sh-device-bar span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .18);
    }

.sh-float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border-radius: 14px;
    background: rgba(9, 14, 32, .92);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
    font-size: 13.5px;
    font-weight: 700;
    animation: sh-float 5s ease-in-out infinite;
}

    .sh-float-card .icon {
        width: 18px;
        height: 18px;
        color: var(--accent);
    }

.sh-float-1 {
    top: -6%;
    left: -6%;
    animation-delay: .3s;
}

.sh-float-2 {
    bottom: 6%;
    right: -7%;
    animation-delay: 1.1s;
}

@keyframes sh-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 640px) {
    .sh-float-card {
        display: none;
    }
}

@media (min-width: 1024px) {
    .sh-hero-grid {
        grid-template-columns: 1.05fr .95fr;
        gap: 32px;
    }
}

/* ==========================================================================
   LIVE STATS
   ========================================================================== */
.sh-stats-panel {
    padding: 20px;
    border-radius: var(--radius-lg);
}

@media (min-width: 640px) {
    .sh-stats-panel {
        padding: 36px;
    }
}

.sh-stats-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}

.sh-stats-timestamp {
    font-size: 13px;
    color: var(--text-3);
}

    .sh-stats-timestamp span {
        color: var(--accent);
        font-weight: 600;
    }

.sh-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.sh-stat-card {
    padding: 22px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--border);
    transition: transform .3s var(--ease), border-color .3s;
}

    @media (hover: hover) {
        .sh-stat-card:hover {
            transform: translateY(-4px);
            border-color: var(--border-strong);
        }
    }

    .sh-stat-card .icon {
        width: 22px;
        height: 22px;
        color: var(--accent);
        margin-bottom: 10px;
    }

.sh-stat-number {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

.sh-stat-label {
    margin-top: 6px;
    font-weight: 600;
    font-size: 13.5px;
}

.sh-stat-sub {
    margin-top: 4px;
    font-size: 11.5px;
    color: var(--text-3);
}

@media (min-width: 640px) {
    .sh-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .sh-stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ==========================================================================
   SIMPLES SEND
   ========================================================================== */
.sh-send-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: center;
}

.sh-send-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 26px 0 30px;
}

.sh-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--glass);
    border: 1px solid var(--border);
}

    .sh-feature-row .icon {
        width: 20px;
        height: 20px;
        color: var(--whatsapp);
        flex-shrink: 0;
        margin-top: 2px;
    }

    .sh-feature-row strong {
        display: block;
        font-size: 14px;
        font-weight: 700;
    }

    .sh-feature-row small {
        color: var(--text-3);
        font-size: 12.5px;
    }

.sh-send-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

@media (min-width: 640px) {
    .sh-send-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .sh-send-grid {
        grid-template-columns: 1.05fr .95fr;
        gap: 40px;
    }
}

/* ==========================================================================
   INTEGRATIONS / API
   ========================================================================== */
.sh-api-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.sh-api-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    transition: transform .3s var(--ease);
}

    @media (hover: hover) {
        .sh-api-card:hover {
            transform: translateY(-6px);
        }
    }

    .sh-api-card h3 {
        margin: 18px 0 8px;
        font-size: 18px;
        font-weight: 700;
    }

    .sh-api-card p {
        color: var(--text-2);
        font-size: 14.5px;
        line-height: 1.6;
    }

@media (min-width: 768px) {
    .sh-api-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   LEITOR XML
   ========================================================================== */
.sh-xml-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: center;
}

.sh-xml-benefits {
    margin: 22px 0 28px;
    display: grid;
    gap: 11px;
}

    .sh-xml-benefits li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14.5px;
        color: var(--text-2);
    }

        .sh-xml-benefits li .icon {
            width: 16px;
            height: 16px;
            color: var(--accent);
        }

.sh-xml-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sh-xml-note .icon {
        width: 15px;
        height: 15px;
    }

.sh-xml-card {
    padding: 26px;
    border-radius: var(--radius-lg);
}

.sh-xml-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(0, 212, 255, .1);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
}

    .sh-xml-badge .icon {
        width: 14px;
        height: 14px;
    }

.sh-xml-preview {
    border-radius: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 16px;
    margin-bottom: 16px;
}

.sh-xml-row {
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(14, 165, 255, .35), rgba(0, 212, 255, .1));
    margin-bottom: 8px;
}

    .sh-xml-row:nth-child(1) {
        width: 92%;
    }

    .sh-xml-row:nth-child(2) {
        width: 100%;
        opacity: .8;
    }

    .sh-xml-row:nth-child(3) {
        width: 76%;
        opacity: .6;
    }

    .sh-xml-row:nth-child(4) {
        width: 84%;
        opacity: .4;
    }

.sh-xml-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

    .sh-xml-tags span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        font-weight: 600;
        padding: 6px 11px;
        border-radius: var(--radius-pill);
        background: var(--glass);
        border: 1px solid var(--border);
    }

        .sh-xml-tags span .icon {
            width: 13px;
            height: 13px;
        }

.sh-xml-free {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-2);
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

@media (min-width: 1024px) {
    .sh-xml-grid {
        grid-template-columns: 1.05fr .95fr;
        gap: 40px;
    }
}

/* ==========================================================================
   NUMBERS (Nossos números)
   ========================================================================== */
.sh-numbers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.sh-number-card {
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.sh-number-value {
    font-size: clamp(34px, 4.4vw, 46px);
    font-weight: 800;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sh-number-label {
    margin-top: 6px;
    font-weight: 700;
    font-size: 15px;
}

.sh-number-sub {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-3);
}

@media (min-width: 768px) {
    .sh-numbers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.sh-testi-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 4px 22px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

    .sh-testi-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .sh-testi-scroll::-webkit-scrollbar-thumb {
        background: var(--border-strong);
        border-radius: 6px;
    }

.sh-testi-card {
    scroll-snap-align: start;
    flex: 0 0 300px;
    padding: 26px;
    border-radius: var(--radius-lg);
}

.sh-testi-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

    .sh-testi-avatar {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gradient-brand);
        color: #04101f;
        font-weight: 800;
        font-size: 15px;
        letter-spacing: -.02em;
    }

    .sh-testi-head strong {
        display: block;
        font-size: 14.5px;
    }

    .sh-testi-head small {
        color: var(--text-3);
        font-size: 12px;
    }

.sh-testi-stars {
    display: flex;
    gap: 2px;
    color: #FFB703;
    margin-bottom: 10px;
}

    .sh-testi-stars .icon {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }

.sh-testi-card p {
    font-size: 13.8px;
    line-height: 1.65;
    color: var(--text-2);
}

/* ==========================================================================
   SEGMENTS (accordion)
   ========================================================================== */
.sh-segments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.sh-segment {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sh-segment-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: transparent;
    border: 0;
    color: var(--text);
    text-align: left;
}

.sh-segment-head-title {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
}

.sh-segment-head .icon-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-3);
    transition: transform .3s var(--ease);
    flex-shrink: 0;
}

.sh-segment.is-open .icon-chevron {
    transform: rotate(180deg);
}

/* Truque de grid-template-rows 0fr → 1fr: anima a altura sem precisar medir
   o conteúdo em JS (scrollHeight) e nunca corta texto, seja qual for o tamanho. */
.sh-segment-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
}

.sh-segment.is-open .sh-segment-body {
    grid-template-rows: 1fr;
}

.sh-segment-body-in {
    min-height: 0;
    overflow: hidden;
    padding: 18px 24px 24px;
    margin: 0 22px;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 12px;
}

    .sh-segment-body-in li {
        font-size: 13.8px;
        color: var(--text-2);
        line-height: 1.6;
    }

    .sh-segment-body-in strong {
        color: var(--text);
    }

@media (min-width: 900px) {
    .sh-segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   SOLUTIONS / FEATURES
   ========================================================================== */
.sh-solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.sh-solution-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
}

    .sh-solution-card .sh-icon-tile {
        margin-inline: auto;
        margin-bottom: 16px;
    }

    .sh-solution-card h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .sh-solution-card p {
        font-size: 14px;
        color: var(--text-2);
        line-height: 1.6;
        margin-bottom: 14px;
    }

.sh-solution-list {
    display: grid;
    gap: 7px;
    text-align: left;
}

    .sh-solution-list li {
        font-size: 13px;
        color: var(--text-2);
        display: flex;
        gap: 8px;
    }

    .sh-solution-list .icon {
        width: 15px;
        height: 15px;
        color: var(--accent);
        flex-shrink: 0;
        margin-top: 2px;
    }

@media (min-width: 768px) {
    .sh-solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sh-features-strip {
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    text-align: center;
}

.sh-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

    .sh-feature-item .icon {
        width: 26px;
        height: 26px;
        color: var(--accent);
    }

    .sh-feature-item span {
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: .03em;
        color: var(--text-2);
    }

@media (min-width: 640px) {
    .sh-features-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .sh-features-strip {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ==========================================================================
   COMPANY (Empresa)
   ========================================================================== */
.sh-company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.sh-compliance {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, rgba(255, 183, 3, .16), rgba(255, 209, 102, .1));
    border: 1px solid rgba(255, 183, 3, .25);
    color: #FFD166;
    font-weight: 700;
    font-size: 13.5px;
    margin: 18px 0;
}

    .sh-compliance .icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.sh-company-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 22px 0 30px;
}

    .sh-company-features .sh-feature-row .icon {
        color: var(--accent);
    }

.sh-company-card {
    padding: 26px;
    border-radius: var(--radius-lg);
}

.sh-company-photo {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}

    .sh-company-photo img {
        width: 100%;
        object-fit: cover;
        object-position: center 20%;
        max-height: 260px;
    }

.sh-kpi-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.sh-kpi {
    text-align: center;
}

    .sh-kpi strong {
        display: block;
        font-size: 22px;
        font-weight: 800;
    }

    .sh-kpi small {
        color: var(--text-3);
        font-size: 12px;
    }

.sh-kpi-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.sh-kpi-tile {
    padding: 14px 8px;
    border-radius: var(--radius-md);
    background: var(--gradient-brand);
    color: #04101f;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

    .sh-kpi-tile .icon {
        width: 18px;
        height: 18px;
    }

    .sh-kpi-tile span {
        font-size: 11.5px;
        font-weight: 800;
        line-height: 1.2;
    }

@media (min-width: 1024px) {
    .sh-company-grid {
        grid-template-columns: 1.05fr .95fr;
    }
}

/* ==========================================================================
   CONTACT CTA (zap) — card único, com um lado de conteúdo e outro de
   estatísticas em tiles reais (não uma linha de texto fina e vazia).
   ========================================================================== */
.sh-contact-cta {
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.sh-contact-cta-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 12px 30px rgba(37, 211, 102, .28);
}

    .sh-contact-cta-icon .icon {
        width: 30px;
        height: 30px;
    }

.sh-contact-cta-body h2 {
    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 12px;
}

.sh-contact-cta-body > p {
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 460px;
}

.sh-contact-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.sh-contact-cta-email {
    font-size: 13px;
    color: var(--text-3);
}

    .sh-contact-cta-email a {
        color: var(--text);
        text-decoration: underline;
    }

.sh-contact-cta-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-content: center;
}

.sh-contact-cta-stat {
    padding: 22px 14px;
    border-radius: var(--radius-md);
    background: var(--glass);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform .3s var(--ease), border-color .3s;
}

    .sh-contact-cta-stat strong {
        display: block;
        font-size: clamp(22px, 2.4vw, 26px);
        font-weight: 800;
        letter-spacing: -.01em;
        background: var(--gradient-brand);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .sh-contact-cta-stat span {
        display: block;
        margin-top: 6px;
        font-size: 12px;
        color: var(--text-3);
    }

@media (hover: hover) {
    .sh-contact-cta-stat:hover {
        transform: translateY(-3px);
        border-color: var(--border-strong);
    }
}

@media (min-width: 900px) {
    .sh-contact-cta {
        grid-template-columns: 1.15fr .85fr;
        align-items: center;
        padding: 44px;
        gap: 40px;
    }
}

/* ==========================================================================
   CONTACT INFO + MAP
   ========================================================================== */
.sh-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.sh-contact-card {
    padding: 22px;
    border-radius: var(--radius-lg);
}

    .sh-contact-card h3 {
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--accent);
        margin-bottom: 10px;
    }

    .sh-contact-card p {
        font-size: 14.5px;
        color: var(--text-2);
        margin-bottom: 4px;
    }

    .sh-contact-card a:hover {
        color: var(--text);
    }

    .sh-contact-card a .icon {
        width: 15px;
        height: 15px;
        vertical-align: -3px;
        margin-right: 2px;
    }

@media (min-width: 640px) {
    .sh-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sh-contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sh-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

    .sh-map iframe {
        width: 100%;
        height: 320px;
        border: 0;
        display: block;
        filter: var(--map-filter);
    }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sh-footer {
    padding: 28px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-3);
    font-size: 13px;
}

    .sh-footer a {
        color: var(--text-2);
    }

        .sh-footer a:hover {
            color: var(--text);
        }

/* ==========================================================================
   PLANOS (página de assinatura)
   ========================================================================== */
.sh-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: stretch;
}

.sh-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 26px;
    border-radius: var(--radius-lg);
    text-align: left;
}

    .sh-price-card.is-popular {
        border-color: rgba(14, 165, 255, .5);
        box-shadow: 0 0 0 1px rgba(14, 165, 255, .35), var(--shadow-card);
        background: linear-gradient(180deg, rgba(14, 165, 255, .14), var(--glass));
    }

.sh-price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: #04101f;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.sh-price-name {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 4px;
}

.sh-price-tagline {
    color: var(--text-2);
    font-size: 13.5px;
    margin-bottom: 22px;
}

.sh-price-value {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

    .sh-price-value small {
        font-size: 13.5px;
        font-weight: 600;
        color: var(--text-2);
    }

.sh-price-discount {
    display: inline-block;
    color: #FFD166;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

.sh-price-notes {
    font-size: 11.5px;
    color: var(--text-3);
    line-height: 1.6;
    margin-bottom: 20px;
}

.sh-price-features {
    display: grid;
    gap: 11px;
    margin-bottom: 26px;
    flex: 1;
}

    .sh-price-features li {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        font-size: 13.5px;
        color: var(--text-2);
    }

    .sh-price-features .icon {
        width: 15px;
        height: 15px;
        color: var(--accent);
        flex-shrink: 0;
        margin-top: 2px;
    }

@media (min-width: 900px) {
    .sh-pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sh-quote {
    text-align: center;
    font-size: clamp(15px, 1.5vw, 21px);
    font-style: italic;
    color: var(--text-2);
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 860px) {
    .sh-quote {
        white-space: nowrap;
    }
}

.sh-footer-logo {
    display: block;
    margin: 0 auto 18px;
    height: 40px;
    width: auto;
    opacity: .9;
}

/* ==========================================================================
   STATUS (página /Status)
   ========================================================================== */
.sh-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent);
}

    .sh-alert-banner.is-manutencao {
        border-left-color: #FFB703;
    }

    .sh-alert-banner.is-atencao {
        border-left-color: #FF4D6D;
    }

.sh-alert-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, .12);
    color: var(--accent);
}

.sh-alert-banner.is-manutencao .sh-alert-icon {
    background: rgba(255, 183, 3, .14);
    color: #FFB703;
}

.sh-alert-banner.is-atencao .sh-alert-icon {
    background: rgba(255, 77, 109, .14);
    color: #FF4D6D;
}

.sh-alert-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 6px;
}

.sh-alert-pin {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--glass-strong);
    border: 1px solid var(--border-strong);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    color: var(--text-2);
}

    .sh-alert-pin .icon {
        width: 11px;
        height: 11px;
    }

.sh-alert-text {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

.sh-alert-date {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sh-alert-date .icon {
        width: 13px;
        height: 13px;
    }

.sh-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: #04101f;
    font-size: 12px;
    font-weight: 800;
}

.sh-status-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 720px) {
    .sh-status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .sh-status-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sh-status-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sh-status-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sh-status-name {
    font-weight: 700;
    font-size: 15.5px;
    flex: 1;
}

.sh-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

.sh-status-pill.is-online {
    background: rgba(37, 211, 102, .14);
    color: #34D399;
}

.sh-status-pill.is-offline {
    background: rgba(255, 77, 109, .14);
    color: #FF4D6D;
}

.sh-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 currentColor;
}

.sh-status-pill.is-online .sh-status-dot {
    animation: sh-status-pulse 1.8s ease-in-out infinite;
}

@keyframes sh-status-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, .55);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(52, 211, 153, 0);
    }
}

.sh-status-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.sh-status-url {
    font-size: 12.5px;
    color: var(--text-3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

    .sh-status-url:hover {
        color: var(--accent);
    }

.sh-tempo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 11.5px;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

    .sh-tempo-badge .icon {
        width: 12px;
        height: 12px;
    }

.sh-tempo-badge.is-rapido {
    background: rgba(37, 211, 102, .14);
    color: #34D399;
}

.sh-tempo-badge.is-medio {
    background: rgba(255, 183, 3, .14);
    color: #FFB703;
}

.sh-tempo-badge.is-lento {
    background: rgba(255, 77, 109, .14);
    color: #FF4D6D;
}

.sh-status-msg {
    font-size: 13px;
    color: var(--text-2);
}

/* ---------- Modal genérico (avisos, etc.) ---------- */
.sh-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 4, 12, .82);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease);
}

    .sh-modal.is-open {
        opacity: 1;
        pointer-events: auto;
    }

.sh-modal-panel {
    width: 100%;
    max-width: 640px;
    max-height: 84vh;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
    transform: scale(.96) translateY(8px);
    transition: transform .25s var(--ease);
}

.sh-modal.is-open .sh-modal-panel {
    transform: scale(1) translateY(0);
}

.sh-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
}

    .sh-modal-header h3 {
        flex: 1;
        font-size: 18px;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.sh-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .sh-modal-close:hover {
        background: var(--glass-strong);
    }

    .sh-modal-close .icon {
        width: 16px;
        height: 16px;
    }

.sh-modal-body {
    padding: 22px 24px;
    overflow-y: auto;
    display: grid;
    gap: 14px;
}

.sh-alert-card {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: var(--glass);
    border: 1px solid var(--border);
}

.sh-alert-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-weight: 700;
    font-size: 14.5px;
    margin-bottom: 8px;
}

.sh-alert-tipo-badge {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(0, 212, 255, .14);
    color: var(--accent);
}

.sh-alert-card-body {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 8px;
}

.sh-alert-card-footer {
    font-size: 11.5px;
    color: var(--text-3);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sh-alert-card-footer .icon {
        width: 12px;
        height: 12px;
    }

/* ==========================================================================
   LEITOR XML (ferramenta /LeitorXML)
   ========================================================================== */
.sh-xml-tool-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
}

.sh-xml-tool-card {
    padding: 32px;
}

.sh-file-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 36px 20px;
    border-radius: var(--radius-md);
    border: 1.5px dashed var(--border-strong);
    background: var(--glass);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

    .sh-file-drop:hover,
    .sh-file-drop.is-dragover {
        background: var(--glass-strong);
        border-color: var(--cyan);
    }

    .sh-file-drop .sh-icon-tile {
        margin-bottom: 6px;
    }

    .sh-file-drop strong {
        font-size: 15.5px;
    }

    .sh-file-drop small {
        color: var(--text-3);
        font-size: 12.5px;
    }

.sh-xml-files-summary {
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--text-2);
    text-align: center;
    min-height: 18px;
}

.sh-xml-tool-card .sh-btn {
    margin-top: 18px;
}

.sh-xml-tool-card .sh-alert-banner {
    margin-top: 18px;
    padding: 14px 16px;
}

.sh-xml-trust-row {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

    .sh-xml-trust-row span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-size: 12.5px;
        color: var(--text-2);
    }

    .sh-xml-trust-row .icon {
        width: 15px;
        height: 15px;
        color: var(--accent);
    }

.sh-xml-benefits-card {
    padding: 32px;
}

    .sh-xml-benefits-card h2 {
        font-size: 19px;
        font-weight: 800;
        margin-bottom: 14px;
    }

.sh-xml-benefits-list {
    display: grid;
    gap: 14px;
}

    .sh-xml-benefits-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 13.8px;
        color: var(--text-2);
        line-height: 1.6;
    }

    .sh-xml-benefits-list .icon {
        width: 18px;
        height: 18px;
        color: var(--accent);
        flex-shrink: 0;
        margin-top: 2px;
    }

@media (min-width: 960px) {
    .sh-xml-tool-grid {
        grid-template-columns: 1.1fr .9fr;
    }
}

/* Spinner do modal de carregamento */
.sh-spinner {
    width: 56px;
    height: 56px;
    margin-inline: auto;
    border-radius: 50%;
    background: conic-gradient(var(--cyan), var(--blue-2), var(--cyan));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 0);
    animation: sh-spin .9s linear infinite;
}

@keyframes sh-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   PRIVACIDADE (documento legal)
   ========================================================================== */
.sh-legal-card {
    padding: 40px;
}

.sh-legal-intro {
    font-size: 15.5px;
    color: var(--text-2);
    line-height: 1.75;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.sh-legal-section {
    display: flex;
    gap: 18px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
}

    .sh-legal-section:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .sh-legal-section .sh-icon-tile {
        flex-shrink: 0;
    }

    .sh-legal-section h2 {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .sh-legal-section p {
        font-size: 15px;
        color: var(--text-2);
        line-height: 1.75;
    }

.sh-legal-contact {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.75;
}

    .sh-legal-contact a {
        color: var(--accent);
        text-decoration: underline;
    }

@media (max-width: 560px) {
    .sh-legal-card {
        padding: 26px 20px;
    }

    .sh-legal-section {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   Global responsive polish
   ========================================================================== */
@media (max-width: 480px) {
    .sh-section {
        padding: 52px 0;
    }

    .sh-container {
        padding-inline: 16px;
    }

    .sh-btn {
        width: 100%;
    }

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

@media (min-width: 1600px) {
    :root {
        --container: 1360px;
    }
}
