:root {
    --bg: #070d1c;
    --bg-soft: #111b33;
    --card: #111a2f;
    --primary: #3f8cff;
    --primary-2: #7d5dff;
    --accent: #32e8c9;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 50px rgba(3, 9, 25, 0.45);
    --radius: 20px;
    --topbar-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    line-height: 1.55;
}

h1, h2, h3, h4,
.section h2,
.hero h1,
.pricing-name,
.spotlight h3,
.contact-box h3,
.contact-form h4,
.story-content h4,
.card h3,
.panel h2,
.title {
    color: var(--heading);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

/* ── Topbar ─────────────────────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    background: var(--shell-header-bg);
    border-bottom: 1px solid var(--shell-border);
    box-shadow: var(--glass-shadow), var(--shell-highlight);
}

.topbar-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    min-height: 58px;
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.brand img {
    display: block;
    width: auto;
    height: 46px;
    max-width: 168px;
    object-fit: contain;
}

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 600;
    color: var(--muted);
    font-size: .93rem;
}

.menu a {
    position: relative;
    transition: color .22s ease;
    padding-bottom: 2px;
    white-space: nowrap;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    border-radius: 2px;
}

.menu a:hover { color: #fff; }
.menu a:hover::after { transform: scaleX(1); }

.menu a.active {
    color: #ffffff;
}

.menu a.active::after { transform: scaleX(1); }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Botões ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    font-family: inherit;
    font-size: .88rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 8px 22px rgba(63, 140, 255, 0.34);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(63, 140, 255, 0.48);
}

.btn-ghost {
    color: var(--text);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop-soft);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
}

.btn-accent {
    color: #081422;
    background: linear-gradient(135deg, var(--accent), #1dd8b3);
    box-shadow: 0 8px 22px rgba(50, 232, 201, 0.3);
    font-weight: 800;
}

.btn-accent:hover {
    box-shadow: 0 12px 32px rgba(50, 232, 201, 0.45);
}

/* ── Mobile hamburger ───────────────────────────────── */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: var(--text);
    width: 42px;
    height: 42px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .26s ease, opacity .26s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────── */
.hero {
    padding: 80px 0 56px;
}

.hero-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(50, 232, 201, .35);
    background: rgba(50, 232, 201, .07);
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .06em;
    margin-bottom: 18px;
}

.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(.85); }
}

.hero h1 {
    margin: 0 0 18px;
    font-family: "Sora", sans-serif;
    font-size: clamp(30px, 4.8vw, 54px);
    line-height: 1.07;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, var(--primary), var(--heading-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    margin: 0 0 30px;
    color: var(--muted);
    max-width: 580px;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-card {
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    overflow: hidden;
    position: relative;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(63, 140, 255, .12), transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.hero-card img {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

/* ── Section base ───────────────────────────────────── */
.section { padding: 68px 0; }

.section-head {
    margin-bottom: 30px;
    max-width: 700px;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: .16em;
    font-weight: 800;
    margin-bottom: 8px;
}

.section h2 {
    margin: 0 0 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(26px, 3.8vw, 40px);
    letter-spacing: -.01em;
}

.section p { margin: 0; color: var(--muted); }

/* ── Carrossel de seções ────────────────────────────── */
html.sections-carousel-root {
    height: 100%;
    overflow: hidden;
}

body.sections-carousel {
    height: 100dvh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.sections-carousel .topbar {
    position: relative;
    top: auto;
    flex-shrink: 0;
}

body.sections-carousel .carousel-stage {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
    padding: 10px 0 8px;
}

body.sections-carousel main {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
}

body.sections-carousel .site-footer {
    flex: 0 0 auto;
    margin-top: 0;
    overflow: visible;
}

body.sections-carousel .carousel-nav {
    position: relative;
    top: auto;
    flex-shrink: 0;
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--glass-border);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    box-shadow: var(--glass-highlight);
    pointer-events: auto;
}

.sections-carousel .carousel-section {
    display: none;
    opacity: 0;
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 16px 16px;
    margin: 0;
    width: 100%;
    padding: 28px 8px 32px 28px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(130, 155, 200, 0.28) transparent;
}

.sections-carousel .carousel-section::-webkit-scrollbar {
    width: 4px;
}

.sections-carousel .carousel-section::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.sections-carousel .carousel-section::-webkit-scrollbar-thumb {
    background: rgba(130, 155, 200, 0.22);
    border-radius: 99px;
}

.sections-carousel .carousel-section:hover::-webkit-scrollbar-thumb {
    background: rgba(130, 155, 200, 0.42);
}

.sections-carousel .carousel-section.is-active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    opacity: 1;
    animation: carouselIn 420ms cubic-bezier(.22, .85, .28, 1) both;
}

/* Painéis internos: evita empilhar vidro sobre vidro e esconder a logo de fundo */
.sections-carousel .carousel-section .panel,
.sections-carousel .carousel-section .pillar,
.sections-carousel .carousel-section .card,
.sections-carousel .carousel-section .pricing-card,
.sections-carousel .carousel-section .hero-card,
.sections-carousel .carousel-section .spotlight,
.sections-carousel .carousel-section .systems-portal,
.sections-carousel .carousel-section .contact-box,
.sections-carousel .carousel-section .contact-form,
.sections-carousel .carousel-section .story-carousel,
.sections-carousel .carousel-section .qa-marquee,
.sections-carousel .carousel-section .kpi {
    background: var(--glass-inner);
    backdrop-filter: var(--glass-backdrop-inner);
    -webkit-backdrop-filter: var(--glass-backdrop-inner);
    box-shadow: none;
}

.sections-carousel .carousel-section .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 12px 0 0;
}

.sections-carousel .hero {
    padding: 12px 0 8px;
}

.sections-carousel .section {
    padding: 8px 0;
}

/* Desktop: conteúdo do carrossel mais abaixo, legível no painel */
@media (min-width: 981px) {
    body.sections-carousel .carousel-stage {
        padding: 16px 0 12px;
    }

    .sections-carousel .carousel-section {
        padding: 44px 20px 40px 36px;
    }

    .sections-carousel .hero {
        padding: 40px 0 32px;
    }

    .sections-carousel .section {
        padding: 36px 0 28px;
    }

    .sections-carousel .carousel-section .container {
        padding: 4px 20px 0 0;
    }

    .site-footer-inner {
        padding: 16px 0;
    }
}

@keyframes carouselIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Carousel Nav ───────────────────────────────────── */
.carousel-nav {
    position: sticky;
    top: 84px;
    z-index: 26;
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: none;
    padding: 7px 8px;
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.carousel-btn {
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: rgba(240, 244, 255, .88);
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(63, 140, 255, .16);
    border-color: rgba(63, 140, 255, .38);
    color: #fff;
    transform: none;
}

.carousel-progress {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    padding: 0 4px;
}

.carousel-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: color .3s ease;
    line-height: 1;
    font-family: "Sora", sans-serif;
}

.carousel-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.carousel-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 0;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: all .28s ease;
}

.carousel-dot.active {
    width: 18px;
    background: linear-gradient(90deg, rgba(63, 140, 255, .85), rgba(50, 232, 201, .75));
    box-shadow: none;
}

.carousel-dot:hover:not(.active) {
    background: rgba(255, 255, 255, .38);
    transform: none;
}

/* ── Transition effects ─────────────────────────────── */
.section-transition-focus {
    animation: none;
}

@keyframes sectionFocusPulse {
    0% { transform: translateY(20px) scale(0.978); opacity: .4; filter: saturate(.82); }
    50% { transform: none; opacity: 1; filter: saturate(1.16) brightness(1.05); }
    100% { transform: none; opacity: 1; filter: none; }
}

.nav-transitioning::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 45;
    background:
        radial-gradient(circle at 50% 50%, rgba(50, 232, 201, 0.07), transparent 34%),
        radial-gradient(circle at 50% 50%, rgba(63, 140, 255, 0.12), transparent 52%);
    animation: navOverlayFlash 680ms ease;
}

@keyframes navOverlayFlash {
    0% { opacity: 0; }
    25% { opacity: 1; }
    100% { opacity: 0; }
}

/* ── Cards de produtos ──────────────────────────────── */
.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.card {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    padding: 22px;
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(50, 232, 201, .4), transparent);
    opacity: 0;
    transition: opacity .26s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(50, 232, 201, .4);
    box-shadow: 0 28px 56px rgba(3, 9, 25, .5);
}

.card:hover::after { opacity: 1; }

.card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.card-top img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

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

.card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text);
    line-height: 1.52;
}

.card li { margin-bottom: 6px; }

/* ── Marca SIGESOL ──────────────────────────────────── */
.sigesol-brand-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.sigesol-brand .section-head {
    max-width: 640px;
}

.sigesol-brand-showcase {
    margin: 0;
    width: min(920px, 100%);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 24px 48px rgba(2, 8, 22, 0.35);
}

.sigesol-brand-showcase img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ── Seção Assinatura / Planos ──────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pricing-card {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    padding: 28px 24px;
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(63, 140, 255, .38), transparent);
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(63, 140, 255, .42);
    box-shadow: 0 32px 64px rgba(3, 9, 25, .5), 0 0 0 1px rgba(63, 140, 255, .1);
}

.pricing-card.pricing-featured {
    border-color: rgba(63, 140, 255, .38);
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    box-shadow: 0 24px 54px rgba(3, 9, 25, .5), 0 0 0 1px rgba(63, 140, 255, .18);
}

.pricing-card.pricing-featured::before {
    background: linear-gradient(90deg, transparent, rgba(63, 140, 255, .72), transparent);
}

.pricing-card.pricing-featured:hover {
    transform: translateY(-10px);
    border-color: rgba(63, 140, 255, .62);
    box-shadow: 0 36px 70px rgba(3, 9, 25, .55), 0 0 30px rgba(63, 140, 255, .1);
}

.pricing-popular {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    color: #fff;
    align-self: flex-start;
}

.pricing-name {
    font-family: "Sora", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0;
    line-height: 1.1;
}

.pricing-desc {
    color: var(--muted);
    font-size: .9rem;
    margin: 4px 0 0;
    line-height: 1.4;
}

.pricing-divider {
    border: 0;
    height: 1px;
    background: var(--line);
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: .93rem;
    line-height: 1.42;
}

.pricing-features li::before {
    content: "✓";
    flex-shrink: 0;
    color: var(--accent);
    font-weight: 800;
    font-size: .86rem;
    margin-top: 1px;
}

.pricing-note {
    text-align: center;
    color: var(--muted);
    font-size: .86rem;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

/* ── About ──────────────────────────────────────────── */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.spotlight {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    padding: 26px;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 20px;
    align-items: start;
}

.spotlight h3 {
    margin: 0 0 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(22px, 3vw, 30px);
}

.spotlight p { margin: 0 0 14px; color: var(--text); }

.spotlight-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text);
    line-height: 1.5;
}

.spotlight-list li { margin-bottom: 6px; }

.qa-marquee {
    margin: 16px 0 0;
    border: 1px solid rgba(50, 232, 201, .22);
    border-radius: 14px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop-soft);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.qa-track {
    padding: 16px 18px 16px 20px;
    border-left: 4px solid var(--accent);
    background: rgba(0, 0, 0, .12);
}

.qa-item { display: none; color: var(--text); font-size: .92rem; line-height: 1.5; }
.qa-item.active { display: block; }
.qa-item .q { color: var(--text); font-weight: 700; display: block; margin-bottom: 4px; }
.qa-item .a { color: var(--accent); }

.kpi-boxes { display: grid; gap: 10px; }

.kpi {
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 14px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop-soft);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
}

.kpi strong {
    display: block;
    color: var(--accent);
    margin-bottom: 3px;
    font-size: .83rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ── Story carousel ─────────────────────────────────── */
.story-carousel {
    margin-top: 16px;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop-soft);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
}

.story-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop-soft);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.story-toolbar small { color: var(--muted); font-weight: 700; letter-spacing: .03em; }

.story-btn {
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: var(--text-strong);
    padding: 7px 12px;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
    text-decoration: none;
    display: inline-flex;
}

.story-btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .12); }

.story-media {
    display: block;
    background: #0b1528;
    padding: clamp(12px, 2vw, 20px);
    aspect-ratio: 1915 / 962;
    max-height: min(82vh, 900px);
    min-height: 0;
    border-right: 1px solid rgba(255, 255, 255, .1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    contain: layout paint;
}

.story-media img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background-color: #0b1528;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.story-content { padding: 18px 20px; min-height: 0; font-size: 70%; line-height: 1.5; }

.story-view {
    display: grid;
    grid-template-columns: 1.42fr 0.58fr;
    align-items: stretch;
    min-height: 0;
}

.story-content h4 {
    margin: 0 0 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(15px, 2.1vw, 21px);
}

.story-content p { margin: 0 0 14px; color: var(--text); font-size: 1em; }

.story-points { margin: 0; padding-left: 18px; color: #dfe8fb; line-height: 1.55; }
.story-points li { margin-bottom: 6px; }

.story-qa {
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
    font-size: 1em;
}

.story-qa:not(:empty) {
    padding: 14px 16px 16px;
    border-radius: 12px;
    border: 1px solid rgba(63, 140, 255, .2);
    background:
        radial-gradient(ellipse 100% 140% at 0% 40%, rgba(50, 232, 201, .09), transparent 55%),
        radial-gradient(ellipse 80% 80% at 100% 0%, rgba(63, 140, 255, .1), transparent 45%),
        linear-gradient(180deg, rgba(12, 24, 46, .88), rgba(6, 14, 30, .94));
    box-shadow: 0 10px 28px rgba(3, 9, 25, .32), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.story-qa .q { color: var(--text); font-weight: 700; font-size: .98em; }
.story-qa .a { color: var(--accent); font-size: .98em; }

.story-thumbs-wrap {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 12px;
    background: rgba(255, 255, 255, .02);
}

.story-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.story-thumb {
    width: 100px;
    min-width: 100px;
    height: 100px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.story-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.story-thumb:hover,
.story-thumb:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(159, 232, 219, .7);
    box-shadow: 0 0 0 2px rgba(159, 232, 219, .2);
    outline: none;
}

.story-thumb.active {
    border-color: #9fe8db;
    box-shadow: 0 0 0 2px rgba(159, 232, 219, .18);
}

/* ── Panel / Pillars ────────────────────────────────── */
.panel {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    padding: 26px;
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.pillars { display: grid; gap: 12px; }

.pillar {
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop-soft);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
    transition: border-color .22s ease;
}

.pillar:hover { border-color: rgba(63, 140, 255, .3); }
.pillar strong { display: block; margin-bottom: 4px; color: var(--heading); }

/* ── Contact ────────────────────────────────────────── */
.contact-box {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.contact-box h3 { margin: 0 0 8px; font-size: clamp(20px, 2.8vw, 28px); }

.contact-list { margin: 10px 0 0; color: var(--text); }
.contact-list p { margin: 0 0 4px; color: inherit; }

.whatsapp-link { display: inline-flex; align-items: center; gap: 8px; }
.whatsapp-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }

.contact-form {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop-soft);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
    border-radius: 18px;
    padding: 18px;
}

.contact-form h4 { margin: 0 0 10px; font-size: 1.06rem; }

.form-row { display: grid; gap: 6px; margin-bottom: 10px; }

.form-row label { font-size: .88rem; color: var(--muted); font-weight: 700; }

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    color: var(--text-strong);
    padding: 10px 12px;
    outline: none;
    font: inherit;
    font-size: .93rem;
    transition: border-color .2s ease, background .2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: rgba(63, 140, 255, .5);
    background: rgba(63, 140, 255, .05);
}

.form-row textarea { min-height: 88px; resize: vertical; }

.contact-status {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: .9rem;
}

.contact-status.ok {
    background: rgba(52, 227, 171, .12);
    border: 1px solid rgba(52, 227, 171, .4);
    color: #b7ffeb;
}

.contact-status.err {
    background: rgba(255, 108, 129, .12);
    border: 1px solid rgba(255, 108, 129, .4);
    color: #ffd0d8;
}

.contact-status.is-dismissing {
    transition: opacity .45s ease, margin .45s ease, padding .45s ease;
    opacity: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 0;
    overflow: hidden;
}

.hint { font-size: .84rem; color: var(--muted); margin-bottom: 12px; }

.contact-form-reset { margin-top: 14px; margin-bottom: 0; }
.contact-form-reset a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.contact-form-reset a:hover { color: #5ff0d4; }

.captcha-wrap {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(8, 17, 34, .62);
    margin-bottom: 10px;
}

.captcha-code {
    display: inline-block;
    user-select: none;
    letter-spacing: .32em;
    font-family: "Sora", monospace;
    font-weight: 800;
    font-size: 1.06rem;
    color: #e7f0ff;
    text-shadow: 0 0 2px rgba(255, 255, 255, .3);
    padding: 7px 12px;
    border-radius: 9px;
    border: 1px dashed rgba(255, 255, 255, .35);
    background:
        radial-gradient(circle at 15% 30%, rgba(63, 140, 255, .24), transparent 45%),
        radial-gradient(circle at 80% 75%, rgba(125, 93, 255, .26), transparent 45%),
        rgba(255, 255, 255, .04);
    transform: skewX(-7deg);
}

.captcha-refresh {
    margin-left: 10px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
    color: var(--accent);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: underline;
}

.captcha-refresh:disabled { opacity: .55; cursor: wait; }

/* ── Systems portal ─────────────────────────────────── */
.systems-portal {
    max-width: 820px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 30px);
    background: var(--glass-bg-medium);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
}

.systems-portal p { margin: 0 0 16px; color: var(--muted); }

.systems-url {
    color: var(--heading-light);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 1px solid rgba(63, 140, 255, .45);
}

.systems-url:hover { color: var(--heading); border-bottom-color: rgba(126, 178, 255, .7); }

.systems-bridge { margin: 18px 0 20px; padding-left: 20px; color: var(--text); line-height: 1.55; }
.systems-bridge li { margin-bottom: 10px; }
.systems-bridge strong { color: var(--heading-light); }

.systems-portal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ── Reveal animation ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

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

/* ── Rodapé fixo (shell do carrossel) ──────────────── */
.site-footer-copy {
    margin: 0;
    color: var(--text);
}

.site-footer-copy small {
    display: block;
    line-height: 1.45;
}

.site-footer-copy .muted {
    color: var(--muted);
}

.site-footer-copy a {
    color: var(--heading-light);
    text-decoration: none;
    font-weight: 700;
}

.site-footer-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.site-footer-meta b {
    color: var(--accent);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 980px) {
    html.sections-carousel-root {
        height: 100svh;
    }

    body.sections-carousel {
        height: 100svh;
        min-height: 100svh;
    }

    .menu-toggle { display: flex; }

    .menu {
        position: fixed;
        inset: var(--topbar-h) 0 0;
        background: var(--glass-bg-strong);
        backdrop-filter: var(--glass-backdrop);
        -webkit-backdrop-filter: var(--glass-backdrop);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 20px 24px;
        z-index: 29;
        border-top: 1px solid var(--line);
        display: none;
        overflow-y: auto;
    }

    .menu.is-open { display: flex; }

    .menu a {
        padding: 15px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        font-size: 1.05rem;
        text-align: left;
    }

    .menu a::after { display: none; }

    .hero-grid,
    .about,
    .spotlight-grid { grid-template-columns: 1fr; }

    .story-media {
        max-height: min(56vh, 500px);
        border-right: 0;
    }

    .story-view { grid-template-columns: 1fr; }

    .cards { grid-template-columns: 1fr; }

    .topbar-wrap {
        padding: 8px 0;
        min-height: 52px;
        gap: 10px;
    }

    .brand img {
        height: 38px;
        max-width: min(150px, 42vw);
    }

    :root { --topbar-h: 58px; }

    .carousel-nav { top: var(--topbar-h); }

    body.sections-carousel .carousel-stage {
        width: calc(100% - 24px);
        padding: 8px 0 6px;
    }

    .sections-carousel .carousel-section {
        padding: 20px 4px 24px 18px;
    }

    .topbar-actions .btn:first-child { display: none; }
}

@media (max-width: 760px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .contact-box { grid-template-columns: 1fr; }
    .carousel-label { display: none; }

    .site-footer-inner {
        width: min(1140px, calc(100% - 24px));
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 0 max(16px, env(safe-area-inset-bottom, 16px));
    }
}

@media (max-width: 480px) {
    .container {
        width: min(1140px, calc(100% - 24px));
    }

    .topbar-actions { gap: 8px; }
    .topbar-actions .btn { font-size: .8rem; padding: 9px 14px; }

    .brand img {
        height: 34px;
        max-width: min(128px, 38vw);
    }
}

/* ============================================================
   SIGESOL 2026 — identidade institucional clara
   Paleta extraída da marca: navy, azul elétrico e laranja.
   ============================================================ */
:root {
    --bg: #f6f9ff;
    --bg-soft: #edf4ff;
    --card: #ffffff;
    --primary: #075ee8;
    --primary-2: #0095ff;
    --accent: #ff7608;
    --navy: #06245f;
    --navy-deep: #03163f;
    --text: #24344f;
    --text-strong: #071d49;
    --muted: #66748b;
    --heading: #06245f;
    --heading-light: #075ee8;
    --line: #dce7f6;
    --glass-border: #dce7f6;
    --glass-bg: #ffffff;
    --glass-bg-medium: #ffffff;
    --glass-bg-strong: #f7faff;
    --shadow: 0 20px 55px rgba(5, 47, 120, .11);
    --radius: 24px;
    --topbar-h: 84px;
}

html { scroll-padding-top: 0; }

body.brand-bg {
    color: var(--text);
    background:
        radial-gradient(circle at 7% 8%, rgba(0, 149, 255, .10), transparent 27rem),
        radial-gradient(circle at 93% 42%, rgba(255, 118, 8, .07), transparent 25rem),
        #f7faff;
    background-attachment: scroll;
}

body.brand-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .32;
    background-image: linear-gradient(rgba(7, 94, 232, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 94, 232, .035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
    z-index: -1;
}

.container { width: min(1200px, calc(100% - 48px)); }

.topbar {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(7, 94, 232, .12);
    box-shadow: 0 10px 35px rgba(6, 36, 95, .08);
    backdrop-filter: blur(18px);
}

.topbar-wrap { min-height: 98px; padding: 8px 0; }
.brand { width: 220px; height: 82px; overflow: visible; }
.brand img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
}

.menu { gap: 25px; color: #50617c; font-size: .88rem; }
.menu .menu-access { display: none; }
.menu a:hover, .menu a.active { color: var(--navy); }
.menu a::after { background: linear-gradient(90deg, var(--primary), var(--accent)); }

.btn { min-height: 46px; padding: 12px 22px; border-radius: 12px; }
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #075ee8, #008ff4);
    box-shadow: 0 12px 26px rgba(7, 94, 232, .24);
}
.btn-primary:hover { box-shadow: 0 16px 32px rgba(7, 94, 232, .34); }
.btn-ghost { color: var(--navy); border: 1px solid #cbdaf0; background: rgba(255,255,255,.72); }
.btn-ghost:hover { background: #fff; border-color: var(--primary); }
.btn-accent { color: #fff; background: linear-gradient(135deg, #ff7608, #ff9b22); box-shadow: 0 12px 25px rgba(255,118,8,.22); }

main { display: block; }
.section, .hero { position: relative; scroll-margin-top: 0; }
.section { padding: 44px 0 76px; }
.section:nth-child(even) { background: rgba(234, 242, 254, .54); }

.hero {
    min-height: calc(100vh - 76px);
    padding: clamp(44px, 5vw, 68px) 0 76px;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(118deg, rgba(255,255,255,.98) 0%, rgba(247,250,255,.95) 54%, rgba(231,241,255,.92) 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    width: 580px;
    height: 580px;
    right: -220px;
    top: -230px;
    border: 1px solid rgba(7, 94, 232, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(7,94,232,.025), 0 0 0 180px rgba(7,94,232,.02);
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--navy) 0 68%, var(--accent) 68% 72%, var(--primary) 72%);
}
.hero-grid { grid-template-columns: 1.03fr .97fr; gap: clamp(42px, 7vw, 90px); }
.hero-badge {
    color: var(--primary);
    background: #e9f2ff;
    border: 1px solid #cfe1ff;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.hero h1 { color: var(--navy-deep); font-size: clamp(2.8rem, 5.4vw, 5.1rem); line-height: 1.02; letter-spacing: -.055em; }
.hero .highlight {
    display: block;
    color: transparent;
    background: linear-gradient(100deg, #075ee8 5%, #0095ff 68%, #ff7608 115%);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero p { max-width: 650px; color: #52627a; font-size: clamp(1.02rem, 1.45vw, 1.18rem); }
.hero-actions { margin-top: 30px; }
.hero-proof { display: flex; gap: 24px; margin-top: 38px; padding-top: 25px; border-top: 1px solid var(--line); }
.hero-proof span { color: #69778d; font-size: .78rem; line-height: 1.4; }
.hero-proof strong { display: block; color: var(--navy); font-size: .92rem; }

.hero-card {
    min-height: 480px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    place-items: center;
    position: relative;
    overflow: visible;
}
.hero-logo-panel {
    width: min(100%, 590px);
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 35px 85px rgba(3, 35, 96, .18);
    border: 1px solid rgba(7,94,232,.10);
    transform: rotate(-1.5deg);
}
.hero-logo-panel::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg,var(--navy) 0 70%,var(--accent) 70%); }
.hero-logo-panel img { width: 100%; height: auto; }
.hero-orbit { position: absolute; border: 1px solid rgba(7,94,232,.19); border-radius: 50%; }
.hero-orbit-one { width: 430px; height: 430px; }
.hero-orbit-two { width: 520px; height: 520px; border-style: dashed; animation: sigesol-spin 32s linear infinite; }
@keyframes sigesol-spin { to { transform: rotate(360deg); } }

.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head h2, .section-head h3 { color: var(--navy); letter-spacing: -.035em; }
.section-head p { color: var(--muted); font-size: 1.04rem; }
.eyebrow {
    color: var(--primary);
    background: transparent;
    border: 0;
    padding: 0 0 0 30px;
    letter-spacing: .14em;
    position: relative;
}
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 3px; background: var(--accent); border-radius: 3px; }

.cards { gap: 20px; }
.card, .pricing-card, .panel, .systems-portal, .spotlight, .contact-box {
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 45px rgba(6, 36, 95, .08);
    backdrop-filter: none;
}
.card { border-radius: 20px; padding: 24px; border-top: 3px solid transparent; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-7px); border-top-color: var(--primary); box-shadow: 0 26px 55px rgba(6,36,95,.14); }
.card-top img { background: #eef5ff; border-color: #dce9fb; }
.card h3, .pricing-name, .panel h2, .spotlight h3, .contact-box h3, .contact-form h4, .story-content h4 { color: var(--navy); }
.card ul, .pricing-features li, .spotlight p, .spotlight-list, .story-content p { color: var(--text); }

.systems-portal { border-radius: 24px; border-left: 5px solid var(--primary); }
.systems-bridge li { border-color: var(--line); background: #f7faff; }
.sigesol-brand-showcase { border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }

.spotlight { border-radius: 28px; padding: clamp(24px, 4vw, 46px); }
.qa-marquee, .kpi, .story-carousel { background: #f7faff; border-color: var(--line); backdrop-filter: none; }
.qa-track { background: transparent; border-left-color: var(--accent); }
.qa-item, .qa-item .q { color: var(--text); }
.qa-item .a, .kpi strong { color: var(--primary); }
.story-toolbar, .story-thumbs-wrap { background: #eef4fd; border-color: var(--line); }
.story-toolbar small { color: #53627a; }
.story-btn { color: var(--primary); background: #fff; border-color: #cbdaf0; }
.story-content { background: #fff; }
.story-qa:not(:empty) { background: #f3f7fd; border-color: #d7e5f7; box-shadow: none; }
.story-qa .q { color: var(--navy); }
.story-qa .a { color: var(--primary); }

.pricing-grid { gap: 22px; align-items: stretch; }
.pricing-card { border-radius: 22px; }
.pricing-card:hover { border-color: #b9d4fb; box-shadow: 0 25px 55px rgba(6,36,95,.14); }
.pricing-card.pricing-featured {
    color: #fff;
    background: linear-gradient(155deg, #06245f, #075ee8);
    border-color: transparent;
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(6,36,95,.25);
}
.pricing-card.pricing-featured .pricing-name,
.pricing-card.pricing-featured .pricing-desc,
.pricing-card.pricing-featured .pricing-features li { color: #fff; }
.pricing-card.pricing-featured .pricing-divider { background: rgba(255,255,255,.18); }
.pricing-popular { background: var(--accent); }
.pricing-features li::before { color: var(--primary); }
.pricing-card.pricing-featured .pricing-features li::before { color: #ffb25d; }
.pricing-note { color: var(--muted); border-color: var(--line); }

.pillars { gap: 14px; }
.pillar { color: var(--text); background: #f6f9ff; border: 1px solid var(--line); }
.pillar strong { color: var(--primary); }

.contact-box { border-radius: 28px; padding: clamp(24px, 4vw, 46px); }
.contact-list, .contact-list a, .hint { color: var(--muted); }
.contact-form { background: #f6f9ff; border: 1px solid var(--line); box-shadow: none; }
.form-row label { color: var(--navy); }
.form-row input, .form-row textarea {
    color: var(--navy);
    background: #fff;
    border: 1px solid #cbd8eb;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(7,94,232,.1); }
.captcha-code { color: var(--navy); background: #fff; border-color: #cbd8eb; }

.site-footer { color: #dce8ff; background: var(--navy-deep); }
.site-footer::before { background: transparent; border-top: 4px solid var(--accent); backdrop-filter: none; }
.site-footer-copy, .site-footer-meta { color: #dce8ff; }
.site-footer-copy .muted { color: #9db1d5; }
.site-footer-copy a { color: #7fc2ff; }

@media (max-width: 1100px) {
    .menu { gap: 16px; }
    .menu a:nth-child(4), .menu a:nth-child(5) { display: none; }
    .brand { width: 190px; height: 72px; }
    .brand img { width: 100%; }
}

@media (max-width: 980px) {
    .topbar-actions .btn:first-child { display: inline-flex; }
    .menu-toggle { display: flex; color: var(--navy); background: #f1f6ff; border-color: #d7e4f5; }
    .menu {
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        color: var(--text);
    }
    .menu a:nth-child(4), .menu a:nth-child(5) { display: block; }
    .menu .menu-access {
        display: block;
        color: var(--primary);
        font-weight: 800;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-card { min-height: 390px; }
    .hero-logo-panel { max-width: 610px; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1200px); }
    .section { padding: 34px 0 58px; }
    .hero { padding: 38px 0 58px; }
    .hero h1 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
    .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .hero-card { min-height: 300px; }
    .hero-orbit-one { width: 280px; height: 280px; }
    .hero-orbit-two { width: 340px; height: 340px; }
    .pricing-card.pricing-featured { transform: none; }
    .story-view { grid-template-columns: 1fr; }
    .story-media { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 520px) {
    .topbar-actions .btn { display: none !important; }
    .brand { width: 150px; height: 58px; }
    .brand img { width: 100%; height: 100%; }
    .hero-proof { grid-template-columns: 1fr; }
    .hero-logo-panel { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orbit-two { animation: none; }
}

/* ── SIGESOL: contraste e profundidade visual ── */
body.brand-bg {
    background:
        radial-gradient(circle at 8% 4%, rgba(0, 149, 255, .20), transparent 32rem),
        radial-gradient(circle at 94% 34%, rgba(255, 118, 8, .12), transparent 28rem),
        linear-gradient(145deg, #031333 0%, #061f50 46%, #073477 100%);
}

body.brand-bg::before {
    opacity: .55;
    background-image:
        linear-gradient(rgba(112, 174, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 174, 255, .055) 1px, transparent 1px);
}

.topbar {
    background: rgba(3, 18, 52, .90);
    border-bottom-color: rgba(121, 177, 255, .16);
    box-shadow: 0 12px 38px rgba(1, 10, 31, .28);
}

.brand {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.menu { color: #b8c9e6; }
.menu a:hover, .menu a.active { color: #fff; }
.topbar .btn-ghost {
    color: #e6efff;
    border-color: rgba(190, 215, 255, .30);
    background: rgba(255, 255, 255, .07);
}
.topbar .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }

.hero {
    color: #dbe8ff;
    background:
        radial-gradient(circle at 78% 30%, rgba(0, 149, 255, .22), transparent 27rem),
        radial-gradient(circle at 4% 90%, rgba(255, 118, 8, .10), transparent 24rem),
        linear-gradient(125deg, rgba(2, 15, 45, .98), rgba(5, 38, 91, .97) 58%, rgba(4, 65, 143, .95));
}
.hero h1 { color: #fff; }
.hero p { color: #c4d4ed; }
.hero-badge { color: #8ec8ff; background: rgba(7, 94, 232, .15); border-color: rgba(112, 181, 255, .26); }
.hero-proof { border-color: rgba(170, 204, 255, .18); }
.hero-proof span { color: #9fb2d0; }
.hero-proof strong { color: #fff; }
.hero .btn-ghost { color: #fff; border-color: rgba(188,215,255,.3); background: rgba(255,255,255,.07); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.14); }
.hero::before { border-color: rgba(126, 187, 255, .19); box-shadow: 0 0 0 90px rgba(0,149,255,.035), 0 0 0 180px rgba(0,149,255,.025); }

main > .section { background: #f4f8ff; }
main > .section:nth-of-type(odd) { background: #eaf2fd; }

#sistemas,
#sigesol-brand {
    color: #d7e5fb;
    background:
        radial-gradient(circle at 90% 15%, rgba(0,149,255,.19), transparent 24rem),
        linear-gradient(135deg, #03163f, #073274) !important;
}
#sistemas .section-head h2,
#sistemas .section-head h3,
#sigesol-brand .section-head h2 { color: #fff; }
#sistemas .section-head p,
#sigesol-brand .section-head p { color: #b9cbe7; }
#sistemas .eyebrow,
#sigesol-brand .eyebrow { color: #7fc2ff; }
#sistemas .systems-portal {
    color: #dce8fa;
    background: rgba(255,255,255,.075);
    border-color: rgba(159,196,250,.20);
    border-left-color: var(--accent);
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
#sistemas .systems-bridge li { color: #dce8fa; background: rgba(255,255,255,.06); border-color: rgba(185,211,248,.14); }
#sistemas .btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }

#destaque {
    background:
        radial-gradient(circle at 10% 25%, rgba(7,94,232,.09), transparent 25rem),
        #edf4ff !important;
}

#sobre {
    background:
        linear-gradient(112deg, #f7f1e6, #e9deca) !important;
}

#assinatura {
    background:
        radial-gradient(circle at 82% 15%, rgba(255,118,8,.08), transparent 24rem),
        linear-gradient(145deg, #e9dfcd, #f8f2e7) !important;
}

#contato {
    background:
        radial-gradient(circle at 85% 20%, rgba(0,149,255,.18), transparent 25rem),
        linear-gradient(135deg, #04183f, #082e6d) !important;
}
#contato .contact-box { box-shadow: 0 30px 75px rgba(0,0,0,.25); }

.sigesol-brand-showcase {
    border: 8px solid rgba(255,255,255,.10);
    box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

@media (max-width: 1160px) {
    .topbar-actions { gap: 7px; }
    .topbar-actions .btn { padding-inline: 15px; font-size: .8rem; }
}

@media (max-width: 980px) {
    .menu { background: #061d49; border-color: rgba(159,196,250,.18); color: #d5e3f8; }
    .menu .menu-access { color: #7fc2ff; border-top-color: rgba(159,196,250,.18); }
    .menu-toggle { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
    .topbar-actions .btn-ghost { display: none; }
}

/* ── Escala institucional compacta (-20%) e superfícies palha ── */
:root {
    --straw: #f2eadb;
    --straw-soft: #f8f3e9;
    --straw-deep: #e8dcc7;
    --card: var(--straw-soft);
    --glass-bg: var(--straw-soft);
    --glass-bg-medium: var(--straw-soft);
    --glass-bg-strong: var(--straw);
}

main > .section { background-color: var(--straw) !important; }
main > .section:nth-of-type(odd) { background-color: #ede3d1 !important; }

.section { padding: 30px 0 54px; }
.hero { padding: 30px 0 54px; }
.container { width: min(1080px, calc(100% - 38px)); }

.section-head { max-width: 650px; margin-bottom: 30px; }
.section h2 { font-size: clamp(22px, 3vw, 32px); }
.section-head h3 { font-size: clamp(20px, 2.9vw, 30px) !important; }
.section-head p { font-size: .9rem; }
.eyebrow { font-size: .66rem; margin-bottom: 6px; }

.hero { min-height: auto; }
.hero-grid { gap: clamp(30px, 5vw, 64px); }
.hero h1 { font-size: clamp(2.3rem, 4.35vw, 4.05rem); }
.hero p { font-size: clamp(.88rem, 1.15vw, 1rem); margin-bottom: 22px; }
.hero-card { min-height: 380px; }
.hero-logo-panel { width: min(100%, 470px); }
.hero-orbit-one { width: 344px; height: 344px; }
.hero-orbit-two { width: 416px; height: 416px; }
.hero-proof { margin-top: 26px; padding-top: 18px; gap: 18px; }

.cards, .pricing-grid { gap: 16px; }
.card { padding: 19px; border-radius: 17px; }
.card-top { gap: 12px; margin-bottom: 14px; }
.card-top img { width: 52px; height: 52px; }
.card h3 { font-size: .92rem; }
.card ul { font-size: .84rem; }

.pricing-card { padding: 22px 19px; gap: 14px; border-radius: 18px; }
.pricing-name { font-size: 1.3rem; }
.pricing-desc, .pricing-features li { font-size: .78rem; }
.pricing-features { gap: 8px; }

.panel { padding: 21px; }
.pillar { padding: 11px 13px; font-size: .86rem; }
.spotlight { padding: clamp(20px, 3vw, 35px); }
.spotlight h3 { font-size: clamp(19px, 2.4vw, 24px); }
.spotlight p, .spotlight-list, .systems-portal { font-size: .86rem; }
.systems-portal { max-width: 740px; padding: 22px; }

.contact-box {
    align-items: start;
    gap: 22px;
    padding: clamp(20px, 3vw, 34px);
    border-radius: 22px;
    background: var(--straw-soft);
}
.contact-box > div:first-child { align-self: start; padding-top: 4px; }
.contact-box h3 { font-size: clamp(18px, 2.2vw, 23px); }
.contact-box > div:first-child > p { font-size: .86rem; }
.contact-list { font-size: .86rem; }

.contact-form {
    padding: 15px;
    border-radius: 15px;
    background: var(--straw);
    border-color: #ddcfb8;
}
.contact-form h4 { font-size: .94rem; margin-bottom: 7px; }
.hint { font-size: .74rem; margin-bottom: 9px; }
.form-row { gap: 4px; margin-bottom: 8px; }
.form-row label { font-size: .76rem; }
.form-row input, .form-row textarea {
    padding: 8px 10px;
    font-size: .8rem;
    border-radius: 8px;
    background: #fcf8ef;
    border-color: #d9cbb4;
}
.form-row input { min-height: 38px; }
.form-row textarea { min-height: 70px; }
.captcha-wrap { padding: 7px 9px; margin-bottom: 7px; background: #596170; }
.captcha-code { font-size: .88rem; padding: 5px 9px; background: var(--straw-soft); }

.card,
.panel,
.pricing-card,
.systems-portal,
.spotlight,
.contact-box,
.contact-form,
.story-content,
.story-btn,
.kpi,
.qa-marquee,
.pillar { background-color: var(--straw-soft); }

.story-toolbar, .story-thumbs-wrap { background: var(--straw); }
.story-carousel { background: var(--straw-soft); }

@media (max-width: 760px) {
    .section { padding: 26px 0 46px; }
    .hero { padding: 28px 0 46px; }
    .container { width: min(100% - 24px, 1080px); }
    .hero h1 { font-size: clamp(2.1rem, 10vw, 3.05rem); }
    .hero-card { min-height: 250px; }
    .hero-orbit-one { width: 224px; height: 224px; }
    .hero-orbit-two { width: 272px; height: 272px; }
}

/* ── Tipografia geral e correção do menu móvel ── */
:root {
    --text: #111111;
    --text-strong: #050505;
    --muted: #303030;
    --heading: #080808;
}

body,
.section,
.section p,
.card,
.card ul,
.pricing-card,
.pricing-features li,
.panel,
.pillar,
.contact-box,
.contact-list,
.contact-list a,
.contact-form,
.hint,
.systems-portal,
.spotlight,
.spotlight p,
.spotlight-list,
.story-content,
.story-content p {
    color: #111;
}

.section-head h2,
.section-head h3,
.card h3,
.panel h2,
.pricing-name,
.contact-box h3,
.contact-form h4,
.form-row label,
.story-content h4 {
    color: #050505;
}

/* Textos sobre fundos escuros permanecem claros para acessibilidade. */
.hero,
.hero h1,
.hero p,
.hero-proof strong,
#sistemas,
#sistemas .section-head h2,
#sistemas .section-head h3,
#sistemas .section-head p,
#sistemas .systems-portal,
#sistemas .systems-bridge li,
#sigesol-brand,
#sigesol-brand .section-head h2,
#sigesol-brand .section-head p {
    color: #fff;
}

@media (max-width: 980px) {
    .topbar { overflow: visible; }
    .topbar-wrap { position: static; }

    .menu {
        position: absolute;
        inset: auto 0 auto 0;
        top: 100%;
        width: 100%;
        max-height: calc(100vh - var(--topbar-h));
        padding: 10px max(20px, calc((100vw - 1080px) / 2)) 18px;
        overflow-y: auto;
        background: var(--straw-soft);
        color: #050505;
        border: 0;
        border-top: 1px solid #d8cbb5;
        border-bottom: 3px solid var(--accent);
        box-shadow: 0 22px 38px rgba(0, 0, 0, .24);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 100;
    }

    .menu.is-open { display: flex; }

    .menu a,
    .menu a:hover,
    .menu a.active {
        display: block;
        color: #050505;
        border-bottom-color: #ded2bf;
    }

    .menu .menu-access {
        display: block;
        color: #050505;
        border-top-color: #d8cbb5;
    }

    .menu-toggle {
        position: relative;
        z-index: 101;
    }

    body.menu-open { overflow: hidden; }
}

/* ── Vitrine de produtos ───────────────────────────────────── */
#produtos {
    background:
        radial-gradient(circle at 8% 4%, rgba(255, 122, 0, .10), transparent 24%),
        linear-gradient(180deg, var(--straw) 0%, var(--straw-soft) 100%);
}

#produtos .section-head { max-width: 760px; }

.product-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    background: #fffaf0;
    border: 1px solid #dfd0b8;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(2, 28, 72, .10);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 122, 0, .55);
    box-shadow: 0 20px 42px rgba(2, 28, 72, .16);
}

.product-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
    align-items: center;
}

.product-card-media {
    aspect-ratio: 3 / 2;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #e4d8c5;
}

.product-card--featured .product-card-media {
    border-right: 1px solid #e4d8c5;
    border-bottom: 0;
}

.product-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-body { padding: 18px 20px 21px; }

.product-card-body span {
    display: block;
    margin-bottom: 6px;
    color: #c95f00;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-card-body h3 {
    margin: 0 0 7px;
    color: #050505;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.product-card-body p {
    margin: 0;
    color: #202020;
    font-size: .84rem;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 22px;
    }

    .product-card--featured {
        grid-column: auto;
        display: block;
    }

    .product-card--featured .product-card-media {
        border-right: 0;
        border-bottom: 1px solid #e4d8c5;
    }

    .product-card { border-radius: 16px; }
    .product-card-body { padding: 15px 16px 18px; }
}

/* ── Central de acesso ─────────────────────────────────────── */
#sistemas {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 18%, rgba(0, 137, 255, .30), transparent 30%),
        radial-gradient(circle at 15% 88%, rgba(255, 122, 0, .14), transparent 25%),
        linear-gradient(125deg, #020f2e 0%, #06245c 56%, #063b82 100%);
}

#sistemas::before,
#sistemas::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(116, 183, 255, .15);
    border-radius: 50%;
    pointer-events: none;
}

#sistemas::before { width: 520px; height: 520px; right: -180px; top: -270px; }
#sistemas::after { width: 360px; height: 360px; right: -75px; top: -190px; }

.access-hub {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
    gap: clamp(34px, 6vw, 78px);
    align-items: center;
}

.access-hub-copy h2 {
    margin: 10px 0 16px;
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.access-hub-copy h2 span { color: #ff8617; }

.access-hub-copy > p {
    max-width: 510px;
    margin: 0;
    color: #d7e6fb;
    font-size: .93rem;
    line-height: 1.7;
}

.access-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 24px;
}

.access-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

.access-trust i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38df8b;
    box-shadow: 0 0 0 4px rgba(56, 223, 139, .13);
}

.access-options {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 24px;
    background: rgba(2, 15, 46, .48);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    backdrop-filter: blur(12px);
}

.access-option {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 105px;
    padding: 17px 18px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(175, 207, 255, .22);
    border-radius: 17px;
    background: rgba(255, 255, 255, .07);
    transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.access-option--primary {
    border-color: rgba(45, 158, 255, .65);
    background: linear-gradient(115deg, rgba(5, 92, 209, .82), rgba(0, 145, 255, .38));
}

.access-option:hover {
    transform: translateX(5px);
    color: #fff;
    border-color: #ff8617;
    background-color: rgba(255, 255, 255, .12);
}

.access-option-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.access-option-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.access-option-content { display: grid; gap: 2px; }
.access-option-content small { color: #93c8ff; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.access-option-content strong { color: #fff; font-family: 'Sora', sans-serif; font-size: 1.05rem; }
.access-option-content em { color: #c7d7ed; font-size: .72rem; font-style: normal; line-height: 1.4; }
.access-arrow { color: #ff9b3d; font-size: 1.55rem; transition: transform .22s ease; }
.access-option:hover .access-arrow { transform: translateX(3px); }

.access-help {
    margin: 1px 0 0;
    color: #b9cce6;
    font-size: .7rem;
    text-align: center;
}

.access-help a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 860px) {
    .access-hub { grid-template-columns: 1fr; gap: 28px; }
    .access-hub-copy h2 br { display: none; }
}

@media (max-width: 520px) {
    .access-options { padding: 10px; border-radius: 18px; }
    .access-option { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; padding: 14px 12px; }
    .access-option-icon { width: 42px; height: 42px; }
    .access-option-content em { display: none; }
    .access-trust { gap: 9px 14px; }
}
