:root {
    --bs-primary: #245b8f;
    --bs-primary-rgb: 36, 91, 143;
    --bs-secondary: #68798b;
    --bs-secondary-rgb: 104, 121, 139;
    --bs-info: #5fa8d3;
    --bs-info-rgb: 95, 168, 211;
    --bs-success: #2f8f6b;
    --bs-success-rgb: 47, 143, 107;
    --bs-warning: #d9a441;
    --bs-warning-rgb: 217, 164, 65;
    --bs-danger: #b45a55;
    --bs-danger-rgb: 180, 90, 85;
    --bs-body-bg: #f4f1ea;
    --bs-body-color: #172434;
    --bs-border-color: rgba(36, 91, 143, .13);
    --essencial-deep: #163a5f;
    --essencial-ink: #172434;
    --essencial-bright: #4f95c8;
    --essencial-cyan: #77c4df;
    --essencial-accent: #6b4e9a;
    --essencial-muted: #647487;
    --essencial-surface: rgba(255, 255, 255, .94);
    --essencial-shadow: 0 22px 54px rgba(22, 58, 95, .10);
}

body {
    background:
        radial-gradient(circle at 8% 0%, rgba(var(--bs-info-rgb), .10), transparent 30%),
        linear-gradient(180deg, #f4f1ea 0%, #ffffff 45%, #f5f8fb 100%);
}

.error-page {
    align-items: center;
    background:
        radial-gradient(circle at 18% 16%, rgba(var(--bs-info-rgb), .16), transparent 30%),
        radial-gradient(circle at 82% 10%, rgba(var(--bs-warning-rgb), .16), transparent 28%),
        linear-gradient(135deg, #f4f1ea 0%, #ffffff 100%);
    display: flex;
    min-height: 100vh;
    padding: 2rem 0;
}

.error-card {
    max-width: 680px;
}

.error-logo {
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(var(--bs-primary-rgb), .18);
    height: 86px;
    object-fit: cover;
    width: 86px;
}

.navbar-essencial {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), .10);
    box-shadow: 0 14px 40px rgba(22, 58, 95, .07);
}

.marca-essencial {
    align-items: center;
    color: var(--essencial-deep);
    display: inline-flex;
    gap: .75rem;
    letter-spacing: -.02em;
}

.marca-essencial:hover {
    color: var(--bs-primary);
}

.marca-essencial-icone {
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(var(--bs-primary-rgb), .16);
    height: 3.1rem;
    object-fit: cover;
    width: 3.1rem;
}

.marca-essencial-subtitulo {
    color: var(--essencial-muted);
    display: block;
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: 0;
}

.navbar-essencial .nav-link {
    border-radius: 999px;
    color: rgba(var(--bs-primary-rgb), .82);
    font-size: .92rem;
    font-weight: 750;
    padding: .5rem .72rem;
}

.navbar-essencial .nav-link:hover,
.navbar-essencial .nav-link.active {
    background: rgba(var(--bs-primary-rgb), .08);
    color: var(--bs-primary);
}

.btn {
    align-items: center;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(var(--bs-primary-rgb), .09);
    display: inline-flex;
    font-weight: 750;
    gap: .45rem;
    justify-content: center;
    min-height: 2.55rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.btn:hover,
.btn:focus {
    box-shadow: 0 16px 32px rgba(var(--bs-primary-rgb), .13);
    transform: translateY(-1px);
}

.btn-primary {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .15), transparent 36%),
        linear-gradient(135deg, var(--essencial-bright), var(--bs-primary) 52%, var(--essencial-deep));
    border: 0;
}

.btn-outline-primary,
.btn-outline-secondary {
    background: rgba(255, 255, 255, .86);
    border-color: rgba(var(--bs-primary-rgb), .18);
    color: var(--bs-primary);
}

.card-essencial {
    background: var(--essencial-surface);
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    box-shadow: var(--essencial-shadow);
}

.secao-clara {
    background: rgba(255, 255, 255, .78);
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
}

.hero-essencial {
    background:
        radial-gradient(circle at 43% 44%, rgba(214, 202, 183, .36), transparent 24%),
        radial-gradient(circle at 14% 10%, rgba(79, 149, 200, .11), transparent 28%),
        radial-gradient(circle at 88% 84%, rgba(36, 91, 143, .08), transparent 30%),
        linear-gradient(120deg, #f6efe4 0%, #fbfaf7 54%, #ffffff 100%);
    min-height: 760px;
    overflow: hidden;
    padding: 5.6rem 0 4.8rem;
    position: relative;
}

.hero-essencial::before {
    background-image:
        linear-gradient(rgba(22, 58, 95, .026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 58, 95, .026) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .72), transparent 82%);
    pointer-events: none;
    position: absolute;
}

.hero-essencial::after {
    border: 10px solid rgba(215, 204, 187, .42);
    border-radius: 999px;
    box-shadow: inset 0 0 0 64px rgba(255, 255, 255, .20);
    content: "";
    height: 520px;
    left: 31%;
    opacity: .72;
    pointer-events: none;
    position: absolute;
    top: 18%;
    width: 520px;
}

.hero-essencial > .container {
    position: relative;
    z-index: 2;
}

.hero-essencial h1 {
    color: var(--essencial-deep);
    font-size: clamp(2.45rem, 4.8vw, 4.2rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.hero-essencial h1 span {
    color: var(--essencial-bright);
}

.hero-story {
    min-height: 670px;
    position: relative;
}

.hero-copy-block {
    align-self: center;
    max-width: 520px;
    position: relative;
    z-index: 4;
}

.hero-benefits {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
    max-width: 430px;
    position: relative;
    z-index: 5;
}

.hero-benefit {
    align-items: center;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
}

.hero-benefit-icon {
    align-items: center;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(var(--bs-primary-rgb), .10);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(var(--bs-primary-rgb), .10);
    color: var(--bs-primary);
    display: inline-flex;
    font-size: 1.55rem;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.hero-benefit strong,
.hero-benefit small {
    display: block;
}

.hero-benefit strong {
    color: var(--essencial-deep);
    font-size: 1.04rem;
}

.hero-benefit small {
    color: var(--essencial-muted);
    margin-top: .12rem;
}

.hero-visual {
    inset: 54px 0 0 205px;
    min-height: 560px;
    position: absolute;
    z-index: 1;
}

.hero-logo-orbit {
    align-items: center;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .68), rgba(255, 255, 255, .14) 60%, transparent 61%),
        conic-gradient(from 115deg, rgba(36, 91, 143, .16), rgba(205, 181, 130, .05), rgba(36, 91, 143, .10));
    border: 1px solid rgba(36, 91, 143, .08);
    border-radius: 999px;
    display: flex;
    height: 280px;
    justify-content: center;
    left: 270px;
    opacity: .72;
    position: absolute;
    top: 92px;
    width: 280px;
}

.hero-logo-orbit::after {
    border: 2px solid rgba(36, 91, 143, .13);
    border-radius: inherit;
    content: "";
    inset: 34px;
    position: absolute;
}

.hero-logo-orbit img {
    filter: grayscale(1) brightness(1.6);
    opacity: .36;
    width: 126px;
}

.hero-person-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.08)),
        linear-gradient(135deg, rgba(36, 91, 143, .14), rgba(217, 164, 65, .12));
    border: 1px solid rgba(36, 91, 143, .08);
    border-radius: 2rem 2rem 0 0;
    box-shadow: 0 30px 70px rgba(22, 58, 95, .10);
    height: 360px;
    left: 120px;
    overflow: hidden;
    position: absolute;
    top: 270px;
    width: 500px;
}

.hero-person-card::before {
    background:
        linear-gradient(90deg, rgba(255,255,255,.80), rgba(255,255,255,.22)),
        repeating-linear-gradient(90deg, rgba(36,91,143,.12) 0 2px, transparent 2px 48px);
    border-radius: 1.5rem 1.5rem 0 0;
    bottom: 0;
    content: "";
    height: 96px;
    left: 4%;
    position: absolute;
    right: 4%;
}

.hero-avatar {
    background: linear-gradient(145deg, #f4c7a3, #f8dec7);
    border-radius: 999px 999px 42% 42%;
    bottom: 74px;
    box-shadow: 0 26px 54px rgba(22, 58, 95, .18);
    position: absolute;
}

.hero-avatar::before {
    border-radius: 999px;
    content: "";
    left: 50%;
    position: absolute;
    top: -56px;
    transform: translateX(-50%);
}

.hero-avatar::after {
    content: "";
    position: absolute;
}

.hero-avatar-man {
    background: linear-gradient(145deg, #173857, #245b8f);
    height: 238px;
    left: 118px;
    width: 164px;
}

.hero-avatar-man::before {
    background: #f4c7a3;
    box-shadow: inset 0 14px 0 #33261f;
    height: 86px;
    width: 86px;
}

.hero-avatar-woman {
    background: linear-gradient(145deg, #d5b89d, #f1dfcc);
    bottom: 58px;
    height: 238px;
    left: 270px;
    width: 164px;
}

.hero-avatar-woman::before {
    background: #f8d7bd;
    box-shadow: -12px -8px 0 #734d35, 16px -7px 0 #734d35;
    height: 88px;
    width: 88px;
}

.hero-desk-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(var(--bs-primary-rgb), .09);
    border-radius: 1rem;
    bottom: 118px;
    box-shadow: 0 18px 38px rgba(22, 58, 95, .10);
    color: var(--essencial-deep);
    display: inline-flex;
    gap: .65rem;
    left: 0;
    padding: .9rem 1rem;
    position: absolute;
}

.hero-desk-card i {
    color: var(--bs-primary);
    font-size: 1.55rem;
}

.hero-desk-card span {
    font-size: .85rem;
    font-weight: 750;
    line-height: 1.2;
}

.hero-floating-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(var(--bs-primary-rgb), .08);
    border-radius: 1.25rem;
    box-shadow: 0 22px 54px rgba(22, 58, 95, .16);
    color: var(--essencial-deep);
    padding: 1rem 1.15rem;
    position: absolute;
    backdrop-filter: blur(14px);
    z-index: 3;
}

.hero-floating-card small,
.hero-floating-card span {
    color: var(--essencial-muted);
    display: block;
    font-size: .78rem;
}

.hero-floating-card strong {
    color: var(--bs-primary);
    display: block;
    font-size: 1.3rem;
    margin: .22rem 0;
}

.hero-floating-card i {
    color: #54b980;
    font-size: 1.6rem;
    position: absolute;
    right: 1rem;
    top: 2.45rem;
}

.hero-floating-card-top {
    right: 18px;
    top: 98px;
    width: 190px;
}

.hero-floating-card-mid {
    align-items: center;
    display: flex;
    gap: .8rem;
    right: 12px;
    top: 248px;
    width: 170px;
}

.hero-floating-card-mid i {
    color: #4f95c8;
    font-size: 2.1rem;
    position: static;
}

.hero-floating-card-mid strong {
    margin: 0;
}

.hero-form-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.90));
    border: 1px solid rgba(var(--bs-primary-rgb), .09);
    border-radius: 1.85rem;
    box-shadow: 0 30px 80px rgba(22, 58, 95, .16);
}

.text-primary {
    color: var(--bs-primary) !important;
}

.texto-apoio {
    color: var(--essencial-muted);
}

.badge-essencial {
    background: rgba(var(--bs-primary-rgb), .08);
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    color: var(--bs-primary);
}

.faixa-premium {
    background:
        radial-gradient(circle at 92% 8%, rgba(var(--bs-info-rgb), .22), transparent 28%),
        linear-gradient(135deg, #173857, #245b8f 56%, #4f95c8);
    color: #fff;
}

.faixa-premium .text-secondary,
.faixa-premium .texto-apoio,
.faixa-premium p {
    color: rgba(255, 255, 255, .82) !important;
}

.faixa-premium .card {
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 52px rgba(13, 43, 72, .16);
}

.faixa-premium .card p {
    color: #66778a !important;
}

.form-control,
.form-select {
    border-color: rgba(var(--bs-primary-rgb), .14);
    border-radius: .95rem;
    min-height: 2.8rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--essencial-bright);
    box-shadow: 0 0 0 .22rem rgba(var(--bs-primary-rgb), .13);
}

.alert {
    border-radius: 1rem;
}

.solicitacao-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(var(--bs-primary-rgb), .10);
    border-radius: 1.25rem;
    box-shadow: 0 16px 38px rgba(var(--bs-primary-rgb), .07);
}

.solicitacao-mensagem {
    background: #f7fafc;
    border: 1px solid rgba(var(--bs-primary-rgb), .08);
    border-radius: 1rem;
}

.avatar-admin {
    align-items: center;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), .12), rgba(var(--bs-info-rgb), .18));
    border: 2px solid rgba(var(--bs-primary-rgb), .10);
    border-radius: 1rem;
    color: var(--bs-primary);
    display: inline-flex;
    flex: 0 0 48px;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.monitoring-live-dot {
    animation: monitoringPulse 1.5s ease-in-out infinite;
    background: var(--bs-success);
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(var(--bs-success-rgb), .35);
    display: inline-block;
    height: .7rem;
    width: .7rem;
}

.monitoring-stat {
    overflow: hidden;
    position: relative;
}

.monitoring-stat::after {
    background: radial-gradient(circle, rgba(var(--bs-info-rgb), .16), transparent 68%);
    content: "";
    height: 150px;
    position: absolute;
    right: -54px;
    top: -70px;
    width: 150px;
}

.monitoring-stat-icon {
    align-items: center;
    background: rgba(var(--bs-primary-rgb), .09);
    border-radius: 1rem;
    color: var(--bs-primary);
    display: inline-flex;
    font-size: 1.45rem;
    height: 3.1rem;
    justify-content: center;
    width: 3.1rem;
}

.monitoring-path {
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes monitoringPulse {
    70% {
        box-shadow: 0 0 0 10px rgba(var(--bs-success-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--bs-success-rgb), 0);
    }
}

.auth-card {
    margin: 0 auto;
    max-width: 820px;
}

.localizacao-card {
    overflow: hidden;
    position: relative;
}

.localizacao-card::after {
    background: radial-gradient(circle, rgba(var(--bs-info-rgb), .18), transparent 68%);
    content: "";
    height: 220px;
    position: absolute;
    right: -80px;
    top: -90px;
    width: 220px;
}

.localizacao-icon {
    align-items: center;
    background: rgba(var(--bs-primary-rgb), .09);
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    border-radius: 1rem;
    color: var(--bs-primary);
    display: inline-flex;
    flex: 0 0 3.25rem;
    font-size: 1.45rem;
    height: 3.25rem;
    justify-content: center;
    width: 3.25rem;
}

.mapa-link {
    border-radius: 1.5rem;
    box-shadow: var(--essencial-shadow);
    display: block;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    position: relative;
}

.mapa-link::after {
    background: linear-gradient(135deg, rgba(22, 58, 95, .20), transparent 42%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.mapa-essencial {
    border: 0;
    display: block;
    height: 100%;
    min-height: 420px;
    width: 100%;
}

.mapa-leaflet-card .leaflet-control-attribution {
    font-size: .65rem;
}

.mapa-overlay-link {
    inset: 0;
    position: absolute;
    z-index: 2;
}

.landing-map-marker {
    align-items: center;
    background: rgba(220, 53, 69, .18);
    border-radius: 999px;
    display: flex;
    justify-content: center;
}

.landing-map-marker span {
    background: #dc3545;
    border: 4px solid #fff;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(220, 53, 69, .35);
    display: block;
    height: 30px;
    position: relative;
    width: 30px;
}

.landing-map-marker span::after {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 14px solid #dc3545;
    bottom: -13px;
    content: "";
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.landing-map-label {
    background: #fff;
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    border-radius: 1rem;
    box-shadow: 0 16px 34px rgba(22, 58, 95, .16);
    color: var(--essencial-muted);
    padding: .75rem .9rem;
}

.landing-map-label::before {
    display: none;
}

.landing-map-label strong,
.landing-map-label span {
    display: block;
}

.landing-map-label strong {
    color: var(--bs-primary);
    font-size: .95rem;
}

.landing-map-label span {
    font-size: .78rem;
    margin-top: .15rem;
    max-width: 240px;
    white-space: normal;
}

.nearby-business-marker {
    align-items: center;
    background: rgba(217, 164, 65, .22);
    border-radius: 999px;
    display: flex;
    justify-content: center;
}

.nearby-business-marker span {
    background: var(--bs-warning);
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(217, 164, 65, .28);
    display: block;
    height: 12px;
    width: 12px;
}

.settings-map {
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    border-radius: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72);
    min-height: 390px;
    overflow: hidden;
}

.social-link {
    align-items: center;
    background: rgba(var(--bs-primary-rgb), .08);
    border: 1px solid rgba(var(--bs-primary-rgb), .12);
    border-radius: 999px;
    color: var(--bs-primary);
    display: inline-flex;
    font-size: 1.05rem;
    height: 2.55rem;
    justify-content: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    width: 2.55rem;
}

.social-link:hover,
.social-link:focus {
    background: var(--bs-primary);
    box-shadow: 0 14px 28px rgba(var(--bs-primary-rgb), .18);
    color: #fff;
    transform: translateY(-2px);
}

.whatsapp-float {
    align-items: center;
    background: #25d366;
    border-radius: 999px;
    bottom: 1.35rem;
    box-shadow: 0 18px 38px rgba(37, 211, 102, .30);
    color: #fff;
    display: inline-flex;
    font-weight: 850;
    gap: .5rem;
    min-height: 3.35rem;
    padding: .9rem 1.15rem;
    position: fixed;
    right: 1.35rem;
    text-decoration: none;
    z-index: 1080;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
}

.whatsapp-float .bi {
    font-size: 1.45rem;
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

@media (max-width: 991.98px) {
    .navbar-essencial .navbar-collapse {
        background: rgba(255, 255, 255, .98);
        border: 1px solid rgba(var(--bs-primary-rgb), .10);
        border-radius: 1.25rem;
        box-shadow: 0 22px 52px rgba(var(--bs-primary-rgb), .10);
        margin-top: 1rem;
        padding: 1rem;
    }

    .hero-essencial {
        background:
            radial-gradient(circle at 50% 18%, rgba(var(--bs-info-rgb), .14), transparent 28%),
            linear-gradient(180deg, rgba(244, 241, 234, .94), rgba(244, 241, 234, .98));
        min-height: auto;
        padding: 3.5rem 0 3rem;
    }

    .hero-essencial::after,
    .hero-visual {
        display: none;
    }

    .hero-story {
        min-height: auto;
    }

    .hero-copy-block {
        max-width: none;
    }

    .hero-benefits {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .hero-benefit {
        grid-template-columns: 52px 1fr;
    }

    .hero-benefit-icon {
        border-radius: 18px;
        height: 52px;
        width: 52px;
    }

    .hero-form-card {
        border-radius: 1.35rem;
    }

    .mapa-link,
    .mapa-essencial,
    .settings-map {
        min-height: 320px;
    }

    .whatsapp-float {
        border-radius: 999px;
        bottom: 1rem;
        min-height: 3.15rem;
        padding: .82rem 1rem;
        right: 1rem;
    }

    .whatsapp-float span {
        display: none;
    }
}
