@charset "UTF-8";

/* ========== Hero v2 ========== */
.hero-v2 {
    position: relative;
    min-height: min(92vh, 920px);
    padding: calc(var(--header-h) + 2.5rem) 0 4rem;
    background: linear-gradient(145deg, var(--brand-blue-dark) 0%, #1a3578 42%, var(--brand-blue) 100%);
    color: var(--brand-white);
    overflow: hidden;
}

.hero-v2__mesh {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 212, 0, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.08) 0%, transparent 35%),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
    pointer-events: none;
}

.hero-v2__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.hero-v2__orb--1 {
    width: 320px;
    height: 320px;
    background: var(--brand-yellow);
    opacity: 0.22;
    top: -80px;
    right: 8%;
}

.hero-v2__orb--2 {
    width: 240px;
    height: 240px;
    background: #5b7fd6;
    opacity: 0.35;
    bottom: 10%;
    left: -60px;
}

.hero-v2 .container {
    position: relative;
    z-index: 1;
}

.hero-v2__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-v2__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.5rem;
    }
}

.hero-v2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 212, 0, 0.15);
    border: 1px solid rgba(255, 212, 0, 0.35);
    color: var(--brand-yellow);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-v2__title {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-v2__title em {
    font-style: normal;
    color: var(--brand-yellow);
    display: block;
}

.hero-v2__lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.65;
    opacity: 0.9;
    max-width: 48ch;
    margin-bottom: 2rem;
}

.hero-v2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.hero-v2__actions .btn-outline-brand {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--brand-white);
}

.hero-v2__actions .btn-outline-brand:hover,
.hero-v2__actions .btn-outline-brand:focus-visible {
    background: var(--brand-white);
    color: var(--brand-blue-dark) !important;
    border-color: var(--brand-white);
}

.hero-v2__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-v2__metric {
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
    font-size: 0.875rem;
}

.hero-v2__metric strong {
    display: block;
    font-size: 1.125rem;
    color: var(--brand-yellow);
    font-weight: 800;
}

/* Dashboard preview (CSS only) */
.hero-v2__panel {
    position: relative;
}

.dash-preview {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
    transition: transform 0.4s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .dash-preview:hover {
        transform: perspective(1200px) rotateY(-2deg) rotateX(2deg);
    }
}

.dash-preview__bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.dash-preview__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.dash-preview__dot:nth-child(1) { background: #ff6b6b; }
.dash-preview__dot:nth-child(2) { background: var(--brand-yellow); }
.dash-preview__dot:nth-child(3) { background: #51cf66; }

.dash-preview__logo {
    margin-left: auto;
    height: 22px;
    width: auto;
    opacity: 0.9;
}

.dash-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.dash-preview__tile {
    padding: 0.75rem 0.5rem;
    border-radius: 10px;
    background: var(--surface-muted);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-blue);
}

.dash-preview__tile i {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--brand-blue-dark);
}

.dash-preview__tile--accent {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: var(--brand-white);
}

.dash-preview__tile--accent i {
    color: var(--brand-yellow);
}

.dash-preview__chart {
    height: 88px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--surface-blue) 0%, var(--surface-muted) 100%);
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 0.75rem;
}

.dash-preview__bar-col {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: var(--brand-blue);
    opacity: 0.85;
}

.dash-preview__bar-col:nth-child(2) { height: 55%; opacity: 0.5; }
.dash-preview__bar-col:nth-child(3) { height: 75%; }
.dash-preview__bar-col:nth-child(4) { height: 40%; opacity: 0.45; }
.dash-preview__bar-col:nth-child(5) { height: 90%; background: var(--brand-yellow); opacity: 1; }
.dash-preview__bar-col:nth-child(6) { height: 65%; }

.hero-v2__float {
    position: absolute;
    padding: 0.85rem 1.1rem;
    background: var(--brand-yellow);
    color: var(--brand-blue-dark);
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-v2__float--sed {
    top: -12px;
    right: -8px;
}

.hero-v2__float--sync {
    bottom: 24px;
    left: -16px;
    background: var(--brand-white);
    color: var(--brand-blue);
}

@media (max-width: 991.98px) {
    .dash-preview {
        transform: none;
    }

    .hero-v2__float--sed,
    .hero-v2__float--sync {
        position: static;
        margin-top: 1rem;
        display: inline-flex;
    }

    .hero-v2__panel {
        display: flex;
        flex-direction: column;
    }
}

/* ========== Trust strip ========== */
.trust-strip {
    padding: 1.25rem 0;
    background: var(--brand-white);
    border-bottom: 1px solid var(--border);
}

.trust-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.trust-strip__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-strip__item i {
    color: var(--brand-blue);
    font-size: 1.15rem;
}

/* ========== Bento diferenciais ========== */
.bento-section {
    padding: 5rem 0;
    background: var(--surface);
}

.bento-section__header {
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.bento-features {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .bento-features {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }

    .bento-features .bento-feat--wide {
        grid-column: span 2;
    }
}

@media (min-width: 992px) {
    .bento-features {
        grid-template-columns: 1.2fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .bento-features .bento-feat--hero {
        grid-row: span 2;
    }

    .bento-features .bento-feat--wide {
        grid-column: span 1;
    }
}

.bento-feat {
    position: relative;
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: transform var(--transition), box-shadow var(--transition);
}

.bento-feat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.bento-feat--hero {
    background: linear-gradient(160deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    color: var(--brand-white);
    border: none;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-feat--hero::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: var(--brand-yellow);
    opacity: 0.2;
    border-radius: 50%;
}

.bento-feat--hero .bento-feat__icon {
    background: rgba(255, 212, 0, 0.2);
    color: var(--brand-yellow);
}

.bento-feat--hero h3,
.bento-feat--hero p {
    color: #ffffff;
    position: relative;
}

.bento-feat--hero p {
    color: rgba(255, 255, 255, 0.92);
}

.bento-feat--accent {
    background: linear-gradient(135deg, #fff9e0 0%, var(--surface) 100%);
    border-color: rgba(255, 212, 0, 0.4);
}

.bento-feat__icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--surface-blue);
    color: var(--brand-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.bento-feat:not(.bento-feat--hero) h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 0.5rem;
}

.bento-feat:not(.bento-feat--hero) p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ========== Stats dark band ========== */
.stats-band {
    padding: 4.5rem 0;
    background: var(--brand-blue-dark);
    color: var(--brand-white);
    position: relative;
    overflow: hidden;
}

.stats-band::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--brand-yellow);
    opacity: 0.06;
    border-radius: 50%;
    right: -120px;
    bottom: -160px;
}

.stats-band .section-label {
    color: var(--brand-yellow);
}

.stats-band .section-title {
    color: var(--brand-white);
}

.stats-band__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .stats-band__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-glass {
    text-align: center;
    padding: 1.75rem 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

.stat-glass__value {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--brand-yellow);
    line-height: 1.1;
}

.stat-glass__label {
    font-size: 0.8125rem;
    opacity: 0.85;
    margin-top: 0.35rem;
}

.stat-glass__icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

/* ========== Soluções bento (sem zigzag) ========== */
.solucoes-bento {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface) 100%);
}

.solucoes-bento__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .solucoes-bento__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .solucoes-bento__grid {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, minmax(200px, auto));
    }

    .sol-card--a { grid-column: span 7; grid-row: span 2; }
    .sol-card--b { grid-column: span 5; }
    .sol-card--c { grid-column: span 5; }
    .sol-card--d { grid-column: span 12; }
}

.sol-card {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background: var(--brand-white);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.sol-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(33, 64, 154, 0.14);
}

.sol-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-yellow));
}

.sol-card--a::before { background: var(--brand-blue); }
.sol-card--b::before { background: var(--brand-yellow); }
.sol-card--c::before { background: linear-gradient(90deg, var(--brand-yellow), var(--brand-blue)); }
.sol-card--d::before { height: 100%; width: 5px; right: auto; background: var(--brand-blue-dark); opacity: 0.15; }

.sol-card__num {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--surface-blue);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    user-select: none;
}

.sol-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--surface-blue);
    color: var(--brand-blue);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.sol-card--a {
    background: linear-gradient(135deg, var(--brand-blue-dark) 15%, var(--brand-blue) 100%);
    color: var(--brand-white);
    border: none;
}

.sol-card--a .sol-card__num { color: rgba(255, 255, 255, 0.22); }
.sol-card--a .sol-card__icon {
    background: rgba(255, 212, 0, 0.2);
    color: var(--brand-yellow);
}

.sol-card--a h3,
.sol-card--a p {
    color: #ffffff;
    position: relative;
}

.sol-card--a p {
    color: rgba(255, 255, 255, 0.92);
}

.sol-card:not(.sol-card--a) h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 0.5rem;
    position: relative;
}

.sol-card:not(.sol-card--a) p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
    position: relative;
    max-width: 42ch;
}

.sol-card--d {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    min-height: auto;
    padding: 1.5rem 2rem;
    background: var(--brand-white);
}

@media (max-width: 575.98px) {
    .sol-card--d {
        flex-direction: column;
        align-items: flex-start;
    }
}

.sol-card--d .sol-card__body { flex: 1; }

/* ========== Fluxo SED ========== */
.flow-sed {
    padding: 4rem 0;
    background: var(--brand-white);
}

.flow-sed__steps {
    display: grid;
    gap: 1.5rem;
}

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

.flow-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.flow-step__num {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-yellow);
    color: var(--brand-blue-dark);
    font-weight: 800;
    font-size: 1rem;
}

.flow-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 0.5rem;
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========== CTA home ========== */
.cta-home {
    padding: 4rem 0 5rem;
}

.cta-home__box {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 24px;
    background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-blue-dark) 70%);
    color: var(--brand-white);
    overflow: hidden;
    position: relative;
}

.cta-home__box::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: var(--brand-yellow);
    opacity: 0.12;
    border-radius: 50%;
    top: -100px;
    right: -60px;
    pointer-events: none;
}

.cta-home__box > * {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .cta-home__box {
        grid-template-columns: 1fr auto;
    }
}

.cta-home__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
}

.cta-home__text {
    opacity: 0.9;
    margin: 0;
    position: relative;
}

/* Mapa na home — destaque extra */
.home-mapa .section-cobertura {
    padding: 5rem 0;
    background: var(--surface);
}

.home-mapa .mapa-wrap {
    border: none;
    box-shadow: 0 24px 60px rgba(33, 64, 154, 0.12);
}

/* Header sobre hero escuro */
.page-home .site-header:not(.is-scrolled) {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo: halo leve no hero escuro (sem caixa branca) */
.page-home .site-header:not(.is-scrolled) .site-header__logo {
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.6))
        drop-shadow(0 0 4px rgba(255, 255, 255, 0.28))
        drop-shadow(0 1px 6px rgba(0, 0, 0, 0.16));
    transition: filter var(--transition);
}

.page-home .site-header:not(.is-scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.92);
}

.page-home .site-header:not(.is-scrolled) .nav-link:hover,
.page-home .site-header:not(.is-scrolled) .nav-link:focus-visible,
.page-home .site-header:not(.is-scrolled) .nav-link.is-active {
    color: var(--brand-white);
    background: rgba(255, 255, 255, 0.12);
}

.page-home .site-header:not(.is-scrolled) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
    filter: invert(1);
}

.page-home .site-header.is-scrolled,
.page-home .site-header.is-solid {
    background: rgba(255, 255, 255, 0.98);
}

.page-home .site-header.is-scrolled .nav-link,
.page-home .site-header.is-solid .nav-link {
    color: var(--text-primary);
}

