/* Visione — tema compartilhado (vidro esmeralda). Gerado a partir da home. */
/* =====================================================================
   VISIONE — Redesign "Vidro Esmeralda"
   Paleta preservada (Esmeralda Suave). Tons claros novos são apenas
   variações da mesma família de verde, usados em brilhos e gradientes.
   ===================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --accent-primary: #1B7A53;
    --accent-secondary: #145C3E;
    --accent-glow: #145C3E;
    --accent-green: #1B7A53;
    --accent-bright: #2A9D6B;
    /* variação clara do mesmo verde */
    --accent-mint: #3FB583;
    /* brilho sobre fundo escuro */
    --signal-amber: #B45309;
    --bg-deep: #F7FBF9;
    --bg-dark: #EFF7F2;
    --bg-card: #FCFEFD;
    --border: #DCE9E2;
    --border-subtle: #DCE9E2;
    --border-glow: rgba(27, 122, 83, .45);
    --text-primary: #1A2B24;
    --text-secondary: #4A5D55;
    --text-muted: #6B7D74;
    --ink-deep: #091A12;
    /* mesmo verde-escuro do menu original */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --shadow-soft: 0 1px 2px rgba(20, 92, 62, .05), 0 14px 34px -14px rgba(20, 92, 62, .16);
    --shadow-lift: 0 2px 4px rgba(20, 92, 62, .06), 0 30px 64px -22px rgba(20, 92, 62, .34);
    --glass-white: rgba(255, 255, 255, .68);
    --glass-line: rgba(27, 122, 83, .14);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: rgba(27, 122, 83, .22);
}

:focus-visible {
    outline: 2px solid var(--accent-mint);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ---------- Fundo vivo: aurora + grade pontilhada ---------- */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
    opacity: .16;
    animation: orb-float 26s ease-in-out infinite;
    will-change: transform;
}

.orb-1 {
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, #1B7A53, transparent 70%);
    top: -220px;
    left: -200px;
}

.orb-2 {
    width: 540px;
    height: 540px;
    background: radial-gradient(circle, #0891b2, transparent 70%);
    bottom: -160px;
    right: -160px;
    animation-delay: -12s;
    opacity: .10;
}

.orb-3 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #3FB583, transparent 70%);
    top: 48%;
    right: 18%;
    animation-delay: -6s;
    opacity: .12;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1)
    }

    33% {
        transform: translate3d(50px, -34px, 0) scale(1.06)
    }

    66% {
        transform: translate3d(-26px, 24px, 0) scale(.95)
    }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(27, 122, 83, .16) 1px, transparent 1.4px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 0%, transparent 78%);
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
    z-index: 2;
}

/* ---------- Barra de progresso de leitura ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1100;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-mint));
    pointer-events: none;
}

/* =====================================================================
   NAVEGAÇÃO — barra flutuante de vidro verde
   (o blur fica no ::before para não prender o menu mobile, que é "fixed")
   ===================================================================== */
#main-nav {
    --nav-h: 188px;
    --logo-h: 156px;
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 clamp(12px, 2vw, 24px);
    transition: top .45s var(--ease);
}

#main-nav.scrolled {
    --nav-h: 124px;
    --logo-h: 100px;
    top: 10px;
}

.nav-inner {
    position: relative;
    max-width: 1200px;
    height: var(--nav-h);
    margin: 0 auto;
    padding: 0 22px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 30px;
    transition: height .45s var(--ease);
}

.nav-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(100deg, rgba(8, 38, 26, .90) 0%, rgba(16, 78, 53, .74) 46%, rgba(8, 34, 23, .88) 100%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .26);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .38),
        inset 0 -1px 0 rgba(255, 255, 255, .05),
        0 22px 50px -20px rgba(5, 30, 20, .55),
        0 2px 6px rgba(5, 30, 20, .12);
    transition: background .45s ease, box-shadow .45s ease;
}

#main-nav.scrolled .nav-inner::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 55%),
        linear-gradient(100deg, rgba(7, 32, 22, .92) 0%, rgba(14, 68, 46, .80) 46%, rgba(7, 28, 19, .90) 100%);
}

/* Logo recortado (remove a margem transparente do PNG) */
.logo-crop {
    display: block;
    position: relative;
    height: var(--logo-h);
    aspect-ratio: 404 / 453;
    overflow: hidden;
    transition: height .45s var(--ease);
}

.logo-crop img {
    position: absolute;
    max-width: none;
    height: calc(var(--logo-h) * 500 / 453);
    width: auto;
    left: calc(var(--logo-h) * -286 / 453);
    top: calc(var(--logo-h) * -43 / 453);
    transition: height .45s var(--ease), left .45s var(--ease), top .45s var(--ease);
    filter: brightness(1.5) contrast(1.06) saturate(1.1);
}

.nav-logo,
.footer-logo {
    position: relative;
    text-decoration: none;
}

/* halo verde atrás do logo (fora do recorte, então não é cortado) */
.nav-logo::before,
.footer-logo::before {
    content: '';
    position: absolute;
    inset: -22%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 181, 131, .34) 0%, transparent 66%);
    pointer-events: none;
}

.nav-logo {
    display: flex;
    align-items: center;
}

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

.nav-links a,
.dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 16.5px;
    font-weight: 500;
    letter-spacing: .005em;
    transition: background .3s ease, color .3s ease;
}

.nav-links a:hover,
.dropdown-toggle:hover,
.dropdown:focus-within>.dropdown-toggle {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-toggle i {
    transition: transform .35s var(--ease);
}

.dropdown:hover>.dropdown-toggle i,
.dropdown:focus-within>.dropdown-toggle i {
    transform: rotate(180deg);
}

/* "Contato" vira botão em destaque */
.nav-links a.nav-contact {
    margin-left: 10px;
    padding: 14px 30px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .10));
    border: 1px solid rgba(255, 255, 255, .34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.nav-links a.nav-contact:hover {
    background: #fff;
    color: var(--accent-secondary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    min-width: 232px;
    padding: 8px;
    border-radius: 22px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 45%),
        linear-gradient(145deg, rgba(27, 122, 83, .66), rgba(8, 30, 20, .84));
    -webkit-backdrop-filter: blur(26px) saturate(175%);
    backdrop-filter: blur(26px) saturate(175%);
    border: 1px solid rgba(255, 255, 255, .26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 28px 60px -18px rgba(5, 30, 20, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px) scale(.96);
    transform-origin: 50% 0;
    transition: opacity .3s ease, transform .4s var(--ease), visibility .3s;
    z-index: 100;
}

/* ponte invisível: evita o menu fechar ao atravessar o espaço */
.dropdown-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-menu a {
    display: flex;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14.5px;
    text-align: left;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

/* Botão hambúrguer (vidro) */
.hamburger-btn {
    display: none;
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    cursor: pointer;
    z-index: 1000;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
    border: 1px solid rgba(255, 255, 255, .34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 8px 20px -8px rgba(5, 30, 20, .5);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform .3s var(--ease), background .3s ease;
}

.hamburger-btn:active {
    transform: scale(.94);
}

.hb-lines {
    position: absolute;
    inset: 0;
}

.hb-lines span {
    position: absolute;
    left: 15px;
    right: 15px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .45s var(--ease), opacity .25s ease, top .45s var(--ease), left .45s var(--ease), right .45s var(--ease);
}

.hb-lines span:nth-child(1) {
    top: 18px;
}

.hb-lines span:nth-child(2) {
    top: 25px;
    left: 21px;
}

.hb-lines span:nth-child(3) {
    top: 32px;
}

.hamburger-btn.is-open .hb-lines span:nth-child(1) {
    top: 25px;
    transform: rotate(45deg);
}

.hamburger-btn.is-open .hb-lines span:nth-child(2) {
    opacity: 0;
    left: 30px;
    right: 30px;
}

.hamburger-btn.is-open .hb-lines span:nth-child(3) {
    top: 25px;
    transform: rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(4, 20, 14, .42);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s;
}

.nav-backdrop.visible {
    opacity: 1;
    visibility: visible;
}


/* =====================================================================
   RODAPÉ — esmeralda profundo (mesma cor do menu)
   ===================================================================== */
footer {
    position: relative;
    z-index: 2;
    padding: 72px 0 36px;
    color: #fff;
    background:
        radial-gradient(70% 110% at 50% 0%, rgba(42, 157, 107, .30), transparent 70%),
        linear-gradient(180deg, #0F3A29 0%, var(--ink-deep) 100%);
    border-top: 1px solid rgba(255, 255, 255, .12);
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
    mask-image: linear-gradient(180deg, #000, transparent 85%);
}

.footer-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* abaixo de 1200px a barra tem recuo lateral próprio: acompanhar */
@media (max-width: 1199px) {
    .footer-brand {
        padding-left: clamp(12px, 2vw, 24px);
    }
}

.footer-logo {
    display: block;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo .logo-crop {
    --logo-h: 150px;
}

.footer-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, .78);
    max-width: 300px;
    line-height: 1.65;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-start;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .4s var(--ease), background .3s, color .3s;
}

.footer-social a:hover {
    transform: translateY(-4px);
    background: var(--accent-mint);
    color: var(--ink-deep);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .78);
}

.footer-info a {
    color: #8FE3BC;
    text-decoration: none;
    border-bottom: 1px solid rgba(143, 227, 188, .35);
    transition: color .2s, border-color .2s;
}

.footer-info a:hover {
    color: #fff;
    border-color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    transition: color .25s, transform .3s var(--ease);
}

.footer-links a:hover {
    color: #8FE3BC;
    transform: translateX(4px);
}

/* desktop: CNPJ e Termos de Uso alinhados à última linha da descrição
   (o espaço inferior equivale aos ícones sociais: 42px + 20px de margem) */
@media (min-width: 1025px) {
    .footer-top {
        align-items: end;
    }

    .footer-info,
    .footer-links-col {
        padding-bottom: 62px;
    }
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-copy {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .68);
    text-align: center;
}


@media (max-width: 1024px) {
    #main-nav {
        --nav-h: 136px;
        --logo-h: 112px;
        top: 10px;
    }

    #main-nav.scrolled {
        --nav-h: 96px;
        --logo-h: 76px;
        top: 8px;
    }

    .nav-inner {
        padding: 0 12px 0 20px;
        border-radius: 26px;
    }

    .hamburger-btn {
        display: block;
    }

    /* Painel do menu: VIDRO VERDE translúcido */
    .nav-links {
        position: fixed;
        top: 10px;
        right: 10px;
        bottom: 10px;
        width: min(88vw, 380px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        padding: 104px 22px 28px;
        border-radius: 32px;
        overflow-y: auto;
        background:
            linear-gradient(160deg, rgba(255, 255, 255, .20) 0%, rgba(255, 255, 255, 0) 34%),
            linear-gradient(165deg, rgba(27, 122, 83, .60) 0%, rgba(8, 32, 22, .76) 100%);
        -webkit-backdrop-filter: blur(34px) saturate(190%);
        backdrop-filter: blur(34px) saturate(190%);
        border: 1px solid rgba(255, 255, 255, .30);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .45),
            inset 0 0 60px rgba(63, 181, 131, .10),
            0 40px 90px -20px rgba(2, 16, 10, .70);
        transform: translateX(calc(100% + 30px));
        opacity: 0;
        visibility: hidden;
        transition: transform .6s var(--ease), opacity .4s ease, visibility .6s;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links>* {
        opacity: 0;
        transform: translateX(26px);
    }

    .nav-links.active>* {
        opacity: 1;
        transform: none;
        transition: opacity .5s var(--ease), transform .6s var(--ease);
    }

    .nav-links.active>*:nth-child(1) {
        transition-delay: .12s
    }

    .nav-links.active>*:nth-child(2) {
        transition-delay: .19s
    }

    .nav-links.active>*:nth-child(3) {
        transition-delay: .26s
    }

    .nav-links.active>*:nth-child(4) {
        transition-delay: .33s
    }

    .nav-links a,
    .dropdown-toggle {
        width: 100%;
        padding: 15px 18px;
        font-size: 19px;
        font-family: var(--font-display);
        font-weight: 600;
        border-radius: 18px;
    }

    .dropdown-toggle {
        justify-content: space-between;
    }

    .dropdown:hover>.dropdown-toggle i,
    .dropdown:focus-within>.dropdown-toggle i {
        transform: none;
    }

    .dropdown.active>.dropdown-toggle {
        background: rgba(255, 255, 255, .14);
    }

    .dropdown.active>.dropdown-toggle i {
        transform: rotate(180deg);
    }

    .nav-links a.nav-contact {
        margin: 10px 0 0;
        justify-content: center;
    }

    /* submenu vira acordeão dentro do painel */
    .dropdown-menu {
        position: static;
        min-width: 0;
        padding: 0 0 0 14px;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .5s var(--ease);
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        transform: none;
    }

    .dropdown.active .dropdown-menu {
        max-height: 320px;
    }

    .dropdown-menu a {
        padding: 12px 16px;
        font-size: 16.5px;
        font-weight: 500;
        color: rgba(255, 255, 255, .92);
        border-left: 2px solid rgba(255, 255, 255, .22);
        border-radius: 0 14px 14px 0;
    }
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .footer-info,
    .footer-links {
        align-items: center;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
        padding-left: 0;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Barra: vidro translúcido de verdade sobre o fundo escuro; ao rolar
   (sobre seções claras) uma camada escura entra suavemente p/ manter a leitura */
.nav-inner::before,
#main-nav.scrolled .nav-inner::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .04) 60%),
        linear-gradient(100deg, rgba(27, 122, 83, .34) 0%, rgba(42, 157, 107, .24) 50%, rgba(27, 122, 83, .34) 100%);
}

.nav-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .45s ease;
    background: linear-gradient(100deg, rgba(7, 32, 22, .90) 0%, rgba(14, 68, 46, .78) 46%, rgba(7, 28, 19, .88) 100%);
}

#main-nav.scrolled .nav-inner::after {
    opacity: 1;
}


/* ---------- Rodapé: linha de brilho no topo ---------- */
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8FE3BC, transparent);
    box-shadow: 0 0 26px 2px rgba(63, 181, 131, .65);
    pointer-events: none;
}



/* =====================================================================
   PÁGINAS INTERNAS — logo plano (Visione Motorista) e hero escuro
   ===================================================================== */
.logo-flat {
    display: block;
    height: var(--logo-h);
    width: auto;
    transition: height .45s var(--ease);
    filter: brightness(1.15);
}

#main-nav.nav-motorista {
    --nav-h: 164px;
    --logo-h: 118px;
}

#main-nav.nav-motorista.scrolled {
    --nav-h: 100px;
    --logo-h: 70px;
}

.footer-logo .logo-flat {
    --logo-h: 120px;
}

.site-hero,
.erp-hero,
.page-header,
.hero-motorista {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-bottom: 0;
    border-radius: 0 0 clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px);
    background:
        radial-gradient(60% 55% at 50% 0%, rgba(42, 157, 107, .50), transparent 72%),
        radial-gradient(38% 42% at 92% 32%, rgba(8, 145, 178, .22), transparent 72%),
        radial-gradient(40% 46% at 4% 50%, rgba(27, 122, 83, .38), transparent 72%),
        linear-gradient(180deg, #0C2E1F 0%, #091A12 100%);
}

.site-hero,
.erp-hero {
    padding-top: clamp(250px, 29vh, 300px);
    padding-bottom: 96px;
}

.page-header {
    padding-top: clamp(250px, 29vh, 300px);
    padding-bottom: 80px;
}

.hero-motorista {
    padding-top: clamp(250px, 29vh, 300px);
    padding-bottom: 96px;
}

.site-hero::before,
.erp-hero::before,
.page-header::before,
.hero-motorista::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.4px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 35%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 65% at 50% 35%, #000 0%, transparent 78%);
}

.site-hero h1,
.erp-hero h1,
.page-header h1,
.hero-motorista .hero-title {
    color: #fff;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.site-hero h1 .accent,
.erp-hero h1 .accent,
.hero-motorista .hero-title .text-emerald {
    color: #8FE3BC !important;
    -webkit-text-fill-color: #8FE3BC !important;
}

.site-hero p,
.erp-hero p,
.page-header p,
.hero-motorista .hero-subtitle {
    color: rgba(255, 255, 255, .84);
}

.hero-motorista .hero-subtitle strong {
    color: #fff;
}

.uc-badge,
.page-header .section-label,
.hero-motorista .hero-badge {
    color: #CFF5E3;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.uc-badge .dot,
.hero-motorista .hero-badge .dot {
    background: var(--accent-mint);
}

.site-hero .btn-outline,
.erp-hero .btn-outline {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .34);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.site-hero .btn-outline:hover,
.erp-hero .btn-outline:hover {
    background: rgba(255, 255, 255, .18);
}

.uc-feature-tag {
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.uc-feature-tag i {
    color: var(--accent-mint);
}

.hero-motorista .hero-note {
    color: rgba(255, 255, 255, .72);
}

.hero-motorista .hero-note a,
.hero-motorista .hero-crm-terms a {
    color: #8FE3BC !important;
}

.hero-motorista .hero-crm-terms,
.hero-motorista .hero-crm-terms span {
    color: rgba(255, 255, 255, .78);
}

.nav-links a.current {
    color: #8FE3BC;
    background: rgba(255, 255, 255, .10);
}

/* Modal em vidro esmeralda */
.contact-modal-overlay {
    background: rgba(3, 18, 12, .6);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
}

.contact-modal-container {
    background: linear-gradient(155deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 40%), linear-gradient(160deg, rgba(14, 70, 48, .92), rgba(5, 26, 17, .96));
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 30px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 40px 90px -20px rgba(0, 0, 0, .7);
}

.contact-form-submit {
    background: linear-gradient(135deg, #2A9D6B, #1B7A53);
    border-radius: 14px;
}

@media (max-width: 1024px) {
    #main-nav.nav-motorista {
        --nav-h: 120px;
        --logo-h: 84px;
    }

    #main-nav.nav-motorista.scrolled {
        --nav-h: 88px;
        --logo-h: 58px;
    }

    .site-hero,
    .erp-hero,
    .page-header,
    .hero-motorista {
        padding-top: 188px;
    }

    .footer-logo .logo-flat {
        --logo-h: 100px;
    }
}

/* Botão "Voltar ao Blog" (página de artigo) */
.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .10));
    border: 1px solid rgba(255, 255, 255, .34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: background .3s, color .3s;
}

.nav-back:hover {
    background: #fff;
    color: var(--accent-secondary);
}

/* Páginas sem hero escuro (artigo): barra sempre na versão escura */
#main-nav.nav-solid .nav-inner::after {
    opacity: 1;
}
