/* Fonte Inter carregada via <link> no HTML (mais rápido que @import) */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Inter', sans-serif;
    background: #f7f9fc;
    color: #1d2939;
}


/* =====================================================
HEADER
===================================================== */

header {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 8%;

    background: white;

    position: sticky;

    top: 0;

    z-index: 100;

    box-shadow: 0 2px 15px rgba(0,0,0,0.05);

}


.logo {

    font-size: 24px;

    font-weight: 800;

    color: #172554;

    display: flex;

    align-items: center;

    gap: 8px;

}


.logo i {

    color: #2563eb;

}


.logo span {

    color: #2563eb;

}


.logo .destaque {

    color: #172554;

}


nav {

    display: flex;

    align-items: center;

    gap: 18px;

}


nav a {

    text-decoration: none;

    color: #475467;

    font-size: 13px;

    font-weight: 500;

}


nav a:hover {

    color: #2563eb;

}


button {

    border: none;

    cursor: pointer;

    font-family: inherit;

}


.btn-login {

    background: #172554;

    color: white;

    padding: 11px 18px;

    border-radius: 8px;

}


.btn-motorista {

    background: #eff6ff;

    color: #2563eb;

    padding: 11px 16px;

    border-radius: 8px;

}


/* =====================================================
HERO
===================================================== */

.hero {

    min-height: 580px;

    padding: 80px 10%;

    display: grid;

    grid-template-columns: 1fr 420px;

    gap: 80px;

    align-items: center;

    background: linear-gradient(
        135deg,
        #eff6ff,
        #ffffff
    );

}


.tag {

    background: #dbeafe;

    color: #2563eb;

    padding: 8px 14px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 600;

    display: inline-flex;

    gap: 7px;

    margin-bottom: 22px;

}


.hero h1 {

    font-size: 55px;

    line-height: 1.1;

    margin-bottom: 20px;

    color: #172554;

}


.hero h1 span {

    color: #2563eb;

}


.hero p {

    color: #667085;

    font-size: 17px;

    line-height: 1.7;

    max-width: 600px;

}


.hero-buttons {

    display: flex;

    gap: 15px;

    margin-top: 30px;

}


.btn-principal {

    background: #2563eb;

    color: white;

    padding: 15px 22px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

}


.btn-secundario {

    background: white;

    color: #172554;

    padding: 15px 20px;

    border-radius: 10px;

    border: 1px solid #d0d5dd;

}


/* HERO CARD */

.hero-card {

    background: #172554;

    padding: 35px;

    border-radius: 25px;

    color: white;

    text-align: center;

    box-shadow: 0 25px 50px rgba(37,99,235,0.2);

}


.status-online {

    position: absolute;

    left: 0;

    bottom: 46px;

    display: inline-flex;

    gap: 8px;

    align-items: center;

    background: rgba(255,255,255,0.14);

    backdrop-filter: blur(6px);

    -webkit-backdrop-filter: blur(6px);

    padding: 8px 14px;

    border-radius: 30px;

    font-size: 12px;

    transform: translateZ(84px);

}


.status-online span {

    width: 8px;

    height: 8px;

    background: #22c55e;

    border-radius: 50%;

}


/* ---------- Van em 3D ---------- */

.van-stage {

    position: relative;

    height: 300px;

    margin: 6px 0 26px;

    perspective: 900px;

}


.van-tilt {

    position: absolute;

    inset: 0;

    transform-style: preserve-3d;

    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));

    transition: transform 0.18s ease-out;

    will-change: transform;

}


.van-glow {

    position: absolute;

    left: 50%;

    top: 46%;

    width: 80%;

    height: 72%;

    transform: translate(-50%, -50%) translateZ(-30px);

    background: radial-gradient(
        closest-side,
        rgba(96,165,250,0.42),
        rgba(96,165,250,0) 72%
    );

    pointer-events: none;

}


.van-floor {

    position: absolute;

    left: 50%;

    bottom: 14px;

    width: 70%;

    height: 24px;

    transform: translateX(-50%);

    background: radial-gradient(
        closest-side,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0) 100%
    );

    filter: blur(4px);

    pointer-events: none;

}


.van-float {

    position: absolute;

    left: 50%;

    bottom: -25px;

    width: 185%;

    transform-style: preserve-3d;

    transform: translateX(-50%) translateZ(46px);

    animation: vanFlutuar 5s ease-in-out infinite;

}


.van-img {

    display: block;

    width: 100%;

    height: auto;

    user-select: none;

    -webkit-user-drag: none;

    filter:
        drop-shadow(0 16px 14px rgba(0,0,0,0.45))
        drop-shadow(0 0 22px rgba(96,165,250,0.22));

}


@keyframes vanFlutuar {

    0%, 100% {
        transform: translateX(-50%) translateZ(46px) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateZ(46px) translateY(-7px);
    }

}


.hero-card h3 {

    font-size: 24px;

    margin-bottom: 10px;

}


.hero-card p {

    color: #cbd5e1;

    font-size: 14px;

}


.estatisticas {

    display: flex;

    justify-content: space-between;

    margin-top: 35px;

    border-top: 1px solid rgba(255,255,255,0.1);

    padding-top: 25px;

}


.estatisticas div {

    display: flex;

    flex-direction: column;

}


.estatisticas strong {

    font-size: 20px;

}


.estatisticas span {

    font-size: 12px;

    color: #94a3b8;

}


/* =====================================================
BUSCA
===================================================== */

.busca {

    padding: 0 10%;

    margin-top: -40px;

    position: relative;

}


.busca-container {

    background: white;

    padding: 30px;

    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

}


.busca-container h2 {

    margin-bottom: 20px;

}


.form-busca {

    display: grid;

    grid-template-columns: 1fr 1fr 180px;

    gap: 20px;

}


.campo {

    display: flex;

    flex-direction: column;

}


.campo label {

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 8px;

}


input {

    padding: 13px;

    border: 1px solid #d0d5dd;

    border-radius: 8px;

    outline: none;

}


input:focus {

    border-color: #2563eb;

}


.form-busca button {

    background: #2563eb;

    color: white;

    border-radius: 8px;

    font-weight: 600;

}


/* =====================================================
SEÇÕES
===================================================== */

.viagens,
.como-funciona {

    padding: 100px 10%;

}


.titulo-secao {

    text-align: center;

    margin-bottom: 50px;

}


.titulo-secao span {

    color: #2563eb;

    font-weight: 700;

    font-size: 13px;

}


.titulo-secao h2 {

    font-size: 36px;

    color: #172554;

    margin: 10px 0;

}


.titulo-secao p {

    color: #667085;

}


/* =====================================================
VIAGENS
===================================================== */

.viagens-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}


.viagem-card {

    background: white;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 8px 30px rgba(0,0,0,0.06);

    transition: 0.3s;

}


.viagem-card:hover {

    transform: translateY(-7px);

}


.imagem-van {

    height: 190px;

    position: relative;

}


.imagem-van img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.disponivel {

    position: absolute;

    top: 15px;

    right: 15px;

    background: #dcfce7;

    color: #15803d;

    padding: 7px 12px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;

}


.viagem-info {

    padding: 22px;

}


.motorista-info {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

}


.avatar {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: #dbeafe;

    color: #2563eb;

    display: flex;

    justify-content: center;

    align-items: center;

    font-weight: 700;

}


.motorista-info div:last-child {

    display: flex;

    flex-direction: column;

}


.motorista-info strong {

    font-size: 13px;

}


.motorista-info span {

    font-size: 10px;

    color: #16a34a;

}


.viagem-info h3 {

    color: #172554;

    margin-bottom: 18px;

    font-size: 18px;

}


.viagem-info h3 i {

    color: #2563eb;

    margin: 0 7px;

}


.detalhes {

    display: flex;

    gap: 20px;

    margin-bottom: 25px;

    color: #667085;

    font-size: 12px;

}


.detalhes i {

    color: #2563eb;

}


.rodape-viagem {

    border-top: 1px solid #eaecf0;

    padding-top: 18px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

}


.preco {

    min-width: 120px;

}


.preco small {

    display: block;

    color: #98a2b3;

    font-size: 10px;

}


.preco strong {

    color: #2563eb;

    font-size: 19px;

}


.preco .valor-minimo {

    color: #16a34a;

    font-size: 9px;

    margin-top: 5px;

}


.botoes-viagem {

    display: flex;

    flex-direction: column;

    gap: 7px;

    width: 145px;

}


.btn-planos {

    background: #eff6ff;

    color: #2563eb;

    border: 1px solid #bfdbfe;

    padding: 9px 8px;

    border-radius: 7px;

    font-size: 10px;

    font-weight: 600;

}


.btn-planos:hover {

    background: #dbeafe;

}


.btn-reservar {

    background: #2563eb;

    color: white;

    padding: 9px 8px;

    border-radius: 7px;

    font-size: 11px;

    font-weight: 600;

}


/* =====================================================
PASSAGEIRO
===================================================== */

.passageiro {

    padding: 100px 10%;

    background: #eff6ff;

    display: grid;

    grid-template-columns: 1fr 450px;

    gap: 80px;

    align-items: center;

}


.passageiro-info > span {

    color: #2563eb;

    font-size: 13px;

    font-weight: 700;

}


.passageiro-info h2 {

    font-size: 42px;

    color: #172554;

    margin: 15px 0 20px;

    line-height: 1.2;

}


.passageiro-info > p {

    color: #667085;

    line-height: 1.8;

    font-size: 16px;

    margin-bottom: 35px;

}


.beneficios-passageiro {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


.beneficios-passageiro > div {

    display: flex;

    align-items: center;

    gap: 15px;

}


.beneficios-passageiro i {

    width: 50px;

    height: 50px;

    background: white;

    color: #2563eb;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

}


.beneficios-passageiro strong {

    color: #172554;

    display: block;

    margin-bottom: 5px;

}


.beneficios-passageiro p {

    color: #667085;

    font-size: 13px;

}


.card-cadastro-passageiro {

    background: white;

    padding: 40px;

    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(37,99,235,0.12);

}


.icone-passageiro {

    width: 60px;

    height: 60px;

    background: #2563eb;

    color: white;

    border-radius: 15px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 25px;

    margin-bottom: 20px;

}


.card-cadastro-passageiro h2 {

    color: #172554;

    margin-bottom: 8px;

}


.card-cadastro-passageiro > p {

    color: #667085;

    font-size: 14px;

    margin-bottom: 20px;

}


#formCadastroPassageiro label {

    display: block;

    margin-top: 15px;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 600;

    color: #344054;

}


#formCadastroPassageiro input {

    width: 100%;

    padding: 13px;

    border: 1px solid #d0d5dd;

    border-radius: 8px;

    font-family: inherit;

}


.termos {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 20px;

}


.termos input {

    width: auto !important;

}


.termos label {

    margin: 0 !important;

    font-size: 12px !important;

    color: #667085 !important;

}


.btn-passageiro {

    width: 100%;

    margin-top: 25px;

    padding: 15px;

    background: #2563eb;

    color: white;

    border-radius: 8px;

    font-weight: 600;

}


.login-passageiro {

    text-align: center;

    margin-top: 20px;

    font-size: 13px;

    color: #667085;

}


.login-passageiro a {

    color: #2563eb;

    font-weight: 600;

    text-decoration: none;

}


/* =====================================================
COMO FUNCIONA
===================================================== */

.como-funciona {

    background: white;

}


.passos {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}


.passo {

    text-align: center;

    padding: 30px;

}


.numero {

    width: 28px;

    height: 28px;

    background: #2563eb;

    color: white;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: auto;

    font-size: 12px;

}


.passo > i {

    font-size: 45px;

    color: #2563eb;

    margin: 20px 0;

}


.passo h3 {

    margin-bottom: 10px;

}


.passo p {

    color: #667085;

    font-size: 14px;

    line-height: 1.6;

}


/* =====================================================
VANTAGENS
===================================================== */

.vantagens {

    padding: 100px 10%;

    display: grid;

    grid-template-columns: 1fr 400px;

    gap: 80px;

    align-items: center;

}


.vantagens-texto span {

    color: #2563eb;

    font-size: 13px;

    font-weight: 700;

}


.vantagens-texto h2 {

    font-size: 40px;

    margin: 15px 0;

    color: #172554;

}


.vantagens-texto p {

    color: #667085;

    line-height: 1.7;

}


.vantagens-texto ul {

    list-style: none;

    margin-top: 30px;

}


.vantagens-texto li {

    margin: 16px 0;

    font-weight: 500;

}


.vantagens-texto li i {

    color: #22c55e;

    margin-right: 8px;

}


.vantagens-card {

    background: linear-gradient(
        135deg,
        #2563eb,
        #172554
    );

    color: white;

    padding: 60px 40px;

    border-radius: 25px;

    text-align: center;

}


.vantagens-card i {

    font-size: 80px;

    margin-bottom: 25px;

}


.vantagens-card h3 {

    font-size: 25px;

    margin-bottom: 15px;

}


.vantagens-card p {

    color: #dbeafe;

    line-height: 1.6;

}


/* =====================================================
MOTORISTA
===================================================== */

.motorista-banner {

    margin: 0 10% 80px;

    padding: 55px;

    border-radius: 20px;

    background: #172554;

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.motorista-banner span {

    color: #60a5fa;

    font-weight: 700;

    font-size: 13px;

}


.motorista-banner h2 {

    font-size: 32px;

    margin: 10px 0;

}


.motorista-banner p {

    color: #cbd5e1;

}


.motorista-banner button {

    background: #2563eb;

    color: white;

    padding: 16px 22px;

    border-radius: 10px;

    font-weight: 600;

}


/* =====================================================
FOOTER
===================================================== */

footer {

    background: #0f172a;

    color: white;

    padding: 60px 10%;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 40px;

}


footer h4 {

    margin-bottom: 20px;

}


footer a {

    display: block;

    color: #94a3b8;

    text-decoration: none;

    margin-bottom: 10px;

    font-size: 14px;

}


footer p {

    color: #94a3b8;

    margin: 10px 0;

    font-size: 14px;

}


.copyright {

    background: #020617;

    color: #64748b;

    text-align: center;

    padding: 20px;

    font-size: 12px;

}


.aviso-painel-motorista {

    display: flex;

    gap: 12px;

    align-items: flex-start;

    background: #eff6ff;

    border: 1px solid #bfdbfe;

    border-radius: 10px;

    padding: 16px;

    margin-top: 25px;

}


.aviso-painel-motorista i {

    color: #2563eb;

    font-size: 18px;

    margin-top: 2px;

}


.aviso-painel-motorista p {

    font-size: 13px;

    color: #1d3a66;

    line-height: 1.5;

}


/* =====================================================
MODAIS
===================================================== */

.modal {

    display: none;

    position: fixed;

    z-index: 1000;

    inset: 0;

    background: rgba(15,23,42,0.75);

    padding: 30px;

    overflow-y: auto;

}


.modal-content {

    background: white;

    width: 100%;

    max-width: 450px;

    margin: 40px auto;

    padding: 35px;

    border-radius: 18px;

    position: relative;

}


.modal-grande {

    max-width: 850px;

}


.fechar {

    position: absolute;

    right: 20px;

    top: 15px;

    background: transparent;

    font-size: 30px;

    color: #667085;

}


.modal-logo {

    text-align: center;

    margin-bottom: 25px;

}


.modal-logo i {

    font-size: 40px;

    color: #2563eb;

}


.modal h2 {

    color: #172554;

    margin-bottom: 8px;

}


.subtitulo {

    color: #667085;

    margin-bottom: 25px;

}


form label {

    display: block;

    margin: 15px 0 7px;

    font-size: 13px;

    font-weight: 600;

}


form input {

    width: 100%;

}


form button[type="submit"] {

    width: 100%;

    margin-top: 25px;

    padding: 14px;

    background: #2563eb;

    color: white;

    border-radius: 8px;

    font-weight: 600;

}


.criar-conta {

    text-align: center;

    margin-top: 20px;

    font-size: 13px;

    color: #667085;

}


.criar-conta a {

    color: #2563eb;

    font-weight: 600;

}


.form-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


#formMotorista h3 {

    margin-top: 30px;

    margin-bottom: 5px;

    color: #172554;

}


#formMotorista h3 i {

    color: #2563eb;

    margin-right: 5px;

}


.descricao-cadastro-plano {

    font-size: 13px;

    color: #667085;

    margin: 10px 0 15px;

}


.btn-cadastro {

    background: #16a34a !important;

}


/* =====================================================
PLANOS
===================================================== */

.modal-planos {

    max-width: 1100px;

}


.cabecalho-planos {

    text-align: center;

    margin-bottom: 40px;

}


.cabecalho-planos span {

    color: #2563eb;

    font-size: 12px;

    font-weight: 700;

}


.cabecalho-planos h2 {

    font-size: 32px;

    margin: 12px 0;

    color: #172554;

}


.cabecalho-planos p {

    color: #667085;

}


.planos-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}


.plano-card {

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    padding: 30px;

    position: relative;

    background: white;

    transition: 0.3s;

}


.plano-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);

}


.plano-destaque {

    border: 2px solid #2563eb;

}


.mais-escolhido {

    position: absolute;

    top: -12px;

    left: 50%;

    transform: translateX(-50%);

    background: #2563eb;

    color: white;

    padding: 6px 15px;

    border-radius: 20px;

    font-size: 9px;

    font-weight: 700;

}


.plano-titulo {

    display: flex;

    align-items: center;

    gap: 10px;

}


.plano-titulo i {

    width: 42px;

    height: 42px;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #eff6ff;

    color: #2563eb;

    border-radius: 10px;

}


.plano-titulo h3 {

    color: #172554;

}


.descricao-plano {

    color: #667085;

    font-size: 13px;

    margin: 20px 0;

    line-height: 1.6;

}


.preco-plano {

    margin-bottom: 25px;

}


.preco-plano small {

    display: block;

    color: #98a2b3;

}


.preco-plano strong {

    font-size: 32px;

    color: #2563eb;

}


.preco-plano span {

    color: #667085;

    font-size: 12px;

}


.plano-card ul {

    list-style: none;

    margin-bottom: 25px;

}


.plano-card li {

    font-size: 13px;

    margin: 13px 0;

    color: #475467;

}


.plano-card li i {

    color: #22c55e;

    margin-right: 7px;

}


.plano-card button {

    width: 100%;

    padding: 13px;

    background: #2563eb;

    color: white;

    border-radius: 8px;

    font-weight: 600;

}


.info-planos {

    margin-top: 30px;

    padding: 18px;

    background: #eff6ff;

    color: #475467;

    border-radius: 10px;

    font-size: 12px;

    line-height: 1.7;

}


.info-planos i {

    color: #2563eb;

    margin-right: 6px;

}


.info-planos strong {

    color: #172554;

}


.plano-vazio {

    grid-column: 1 / -1;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 12px;

    padding: 40px 20px;

    color: #667085;

}


.plano-vazio i {

    font-size: 28px;

    color: #2563eb;

}


/* =====================================================
NOTIFICAÇÃO
===================================================== */

.notificacao {

    position: fixed;

    right: 25px;

    bottom: 25px;

    background: #172554;

    color: white;

    padding: 16px 20px;

    border-radius: 10px;

    display: none;

    align-items: center;

    gap: 10px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.2);

    z-index: 2000;

}


.notificacao i {

    color: #22c55e;

}


/* =====================================================
RESPONSIVO
===================================================== */

@media (max-width: 1100px) {


    nav a {

        display: none;

    }


    .hero {

        grid-template-columns: 1fr;

    }


    .hero-card {

        max-width: 500px;

    }


    .viagens-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .passageiro {

        grid-template-columns: 1fr;

    }


    .vantagens {

        grid-template-columns: 1fr;

    }


}


@media (max-width: 700px) {


    header {

        padding: 15px 5%;

    }


    .btn-motorista {

        display: none;

    }


    .hero {

        padding: 60px 7%;

    }


    .hero h1 {

        font-size: 38px;

    }


    .hero-buttons {

        flex-direction: column;

    }


    .form-busca {

        grid-template-columns: 1fr;

    }


    .viagens-grid {

        grid-template-columns: 1fr;

    }


    .rodape-viagem {

        flex-direction: column;

        align-items: stretch;

    }


    .botoes-viagem {

        width: 100%;

    }


    .botoes-viagem button {

        width: 100%;

    }


    .passos {

        grid-template-columns: 1fr;

    }


    .passageiro {

        padding: 70px 7%;

        gap: 50px;

    }


    .passageiro-info h2 {

        font-size: 32px;

    }


    .card-cadastro-passageiro {

        padding: 25px;

    }


    .vantagens {

        padding: 70px 7%;

    }


    .vantagens-texto h2 {

        font-size: 30px;

    }


    .motorista-banner {

        margin: 0 5% 50px;

        padding: 35px;

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

    }


    footer {

        grid-template-columns: 1fr;

    }


    .form-grid {

        grid-template-columns: 1fr;

    }


    .planos-grid {

        grid-template-columns: 1fr;

    }


}


/* =====================================================
PAINEL DO MOTORISTA
===================================================== */


.corpo-painel {

    background: #f7f9fc;

}


.painel-wrapper {

    display: flex;

    min-height: 100vh;

}



/* =====================================================
SIDEBAR
===================================================== */

.painel-sidebar {

    width: 240px;

    flex-shrink: 0;

    background: #172554;

    color: white;

    display: flex;

    flex-direction: column;

    padding: 30px 20px;

    position: sticky;

    top: 0;

    height: 100vh;

}


.painel-logo {

    font-size: 20px;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 8px;

    color: #60a5fa;

}


.painel-logo .destaque {

    color: white;

}


.painel-logo-legenda {

    font-size: 12px;

    color: #93c5fd;

    margin: 6px 0 35px;

}


.painel-nav {

    display: flex;

    flex-direction: column;

    gap: 6px;

    flex: 1;

}


.painel-nav-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    border-radius: 10px;

    background: transparent;

    color: #cbd5e1;

    font-weight: 600;

    font-size: 14px;

    text-align: left;

    width: 100%;

}


.painel-nav-item i {

    width: 18px;

}


.painel-nav-item:hover {

    background: rgba(255,255,255,0.06);

    color: white;

}


.painel-nav-item.ativo {

    background: #2563eb;

    color: white;

}


.painel-sidebar-rodape {

    display: flex;

    flex-direction: column;

    gap: 8px;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.1);

}


.painel-sidebar-rodape a,
.painel-sidebar-rodape button {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #cbd5e1;

    background: transparent;

    text-decoration: none;

    font-size: 13px;

    font-weight: 500;

    padding: 8px 6px;

    text-align: left;

}


.painel-sidebar-rodape a:hover,
.painel-sidebar-rodape button:hover {

    color: white;

}



/* =====================================================
CONTEÚDO
===================================================== */

.painel-conteudo {

    flex: 1;

    padding: 40px 5%;

    max-width: 1100px;

}


.painel-topo {

    margin-bottom: 30px;

}


.painel-topo h1 {

    color: #172554;

    font-size: 26px;

    margin-bottom: 6px;

}


.painel-topo p {

    color: #667085;

    font-size: 14px;

}



/* =====================================================
CARTÕES DE ESTATÍSTICA
===================================================== */

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 30px;

}


.stat-card {

    background: white;

    border-radius: 14px;

    padding: 22px;

    display: flex;

    align-items: center;

    gap: 16px;

    box-shadow: 0 2px 15px rgba(0,0,0,0.05);

}


.stat-card i {

    width: 46px;

    height: 46px;

    border-radius: 12px;

    background: #eff6ff;

    color: #2563eb;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    flex-shrink: 0;

}


.stat-card strong {

    display: block;

    font-size: 20px;

    color: #172554;

}


.stat-card span {

    font-size: 12px;

    color: #667085;

}



/* =====================================================
CARTÃO GENÉRICO DO PAINEL
===================================================== */

.painel-card {

    background: white;

    border-radius: 14px;

    padding: 26px;

    box-shadow: 0 2px 15px rgba(0,0,0,0.05);

}


.painel-card h2 {

    font-size: 17px;

    color: #172554;

    margin-bottom: 16px;

}


.painel-obs {

    margin-top: 16px;

    font-size: 12px;

    color: #667085;

}


.painel-obs i {

    color: #2563eb;

    margin-right: 6px;

}



/* =====================================================
TABELA DE VIAGENS
===================================================== */

.tabela-viagens {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.linha-viagem {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 14px 16px;

    background: #f7f9fc;

    border-radius: 10px;

    font-size: 13px;

}


.linha-viagem strong {

    color: #172554;

}


.linha-viagem span {

    color: #667085;

}


.viagens-vazio {

    text-align: center;

    padding: 30px 10px;

    color: #667085;

    font-size: 13px;

}



/* =====================================================
ABA DE PLANOS
===================================================== */

.planos-cabecalho {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 24px;

}


.planos-cabecalho h2 {

    color: #172554;

    margin-bottom: 6px;

}


.planos-cabecalho p {

    color: #667085;

    font-size: 13px;

    max-width: 520px;

    line-height: 1.6;

}


.btn-novo-plano {

    background: #2563eb;

    color: white;

    padding: 12px 18px;

    border-radius: 10px;

    font-weight: 600;

    font-size: 13px;

    white-space: nowrap;

    display: flex;

    align-items: center;

    gap: 8px;

}


.btn-novo-plano:disabled {

    background: #cbd5e1;

    cursor: not-allowed;

}


.planos-grid-painel {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-bottom: 30px;

}


.plano-card-painel {

    background: white;

    border-radius: 14px;

    padding: 22px;

    box-shadow: 0 2px 15px rgba(0,0,0,0.05);

    display: flex;

    flex-direction: column;

    gap: 10px;

    position: relative;

}


.plano-card-painel .badge-ordem {

    align-self: flex-start;

    font-size: 11px;

    font-weight: 700;

    color: #2563eb;

    background: #eff6ff;

    padding: 4px 10px;

    border-radius: 999px;

}


.plano-card-painel h3 {

    color: #172554;

    font-size: 16px;

}


.plano-card-painel .valor {

    font-size: 22px;

    font-weight: 800;

    color: #172554;

}


.plano-card-painel .valor span {

    font-size: 12px;

    font-weight: 500;

    color: #667085;

}


.plano-card-painel ul {

    list-style: none;

    font-size: 12px;

    color: #475467;

    display: flex;

    flex-direction: column;

    gap: 6px;

}


.plano-card-painel ul li i {

    color: #2563eb;

    margin-right: 6px;

}


.plano-card-painel .plano-acoes {

    display: flex;

    gap: 10px;

    margin-top: auto;

    padding-top: 10px;

}


.plano-card-painel .plano-acoes button {

    flex: 1;

    padding: 9px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 600;

}


.plano-card-painel .btn-editar-plano {

    background: #eff6ff;

    color: #2563eb;

}


.plano-card-painel .btn-remover-plano {

    background: #fef2f2;

    color: #dc2626;

}


.planos-vazio-painel {

    grid-column: 1 / -1;

    text-align: center;

    padding: 40px 20px;

    color: #667085;

    font-size: 13px;

}



/* =====================================================
FORMULÁRIO DE PLANO
===================================================== */

.form-plano-card {

    background: white;

    border-radius: 14px;

    padding: 26px;

    box-shadow: 0 2px 15px rgba(0,0,0,0.05);

    max-width: 520px;

}


.form-plano-card h3 {

    color: #172554;

    margin-bottom: 8px;

}


.form-plano-card label {

    display: block;

    font-size: 13px;

    font-weight: 600;

    margin: 15px 0 7px;

}


.form-plano-card input {

    width: 100%;

}


.form-plano-linha {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

}


.vantagens-input {

    display: flex;

    gap: 10px;

}


.vantagens-input input {

    flex: 1;

}


.vantagens-input button {

    background: #172554;

    color: white;

    padding: 0 16px;

    border-radius: 8px;

    font-weight: 600;

    font-size: 13px;

    white-space: nowrap;

}


.lista-vantagens-form {

    list-style: none;

    margin-top: 12px;

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.lista-vantagens-form li {

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: #f7f9fc;

    padding: 8px 12px;

    border-radius: 8px;

    font-size: 13px;

    color: #1d2939;

}


.lista-vantagens-form li button {

    background: transparent;

    color: #dc2626;

    font-size: 14px;

}


.form-plano-botoes {

    display: flex;

    gap: 10px;

    margin-top: 22px;

}


.btn-salvar-plano {

    flex: 1;

    background: #2563eb;

    color: white;

    padding: 13px;

    border-radius: 8px;

    font-weight: 600;

}


.btn-cancelar-plano {

    background: #f2f4f7;

    color: #475467;

    padding: 13px 18px;

    border-radius: 8px;

    font-weight: 600;

}



/* =====================================================
RESPONSIVO
===================================================== */

@media (max-width: 900px) {

    .painel-wrapper {

        flex-direction: column;

    }


    .painel-sidebar {

        width: 100%;

        height: auto;

        position: relative;

        flex-direction: row;

        align-items: center;

        flex-wrap: wrap;

        gap: 16px;

    }


    .painel-nav {

        flex-direction: row;

        flex: unset;

    }


    .painel-sidebar-rodape {

        flex-direction: row;

        border-top: none;

        padding-top: 0;

        margin-left: auto;

    }


    .painel-logo-legenda {

        display: none;

    }


    .stats-grid,
    .planos-grid-painel {

        grid-template-columns: 1fr 1fr;

    }


    .form-plano-linha {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 560px) {

    .stats-grid,
    .planos-grid-painel {

        grid-template-columns: 1fr;

    }

}


/* =====================================================
MELHORIAS V2
===================================================== */

:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 2px;
    border-radius: 6px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    outline: none;
}

header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

section[id] {
    scroll-margin-top: 84px;
}

.viagem-card img {
    background: #e2e8f0;
}

body.modal-aberto {
    overflow: hidden;
}

.modal {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal-content {
    animation: modalEntrada 0.22s ease-out;
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: white;
    color: #172554;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1100px) {

    header {
        flex-wrap: wrap;
        gap: 10px;
    }

    nav {
        margin-left: auto;
    }

    .menu-toggle {
        display: inline-flex;
    }

    header.menu-aberto nav {
        order: 3;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 8px;
    }

    header.menu-aberto nav a {
        display: block;
        padding: 13px 0;
        border-top: 1px solid #eef2f7;
    }

    header.menu-aberto nav .btn-motorista {
        display: inline-flex;
        justify-content: center;
    }
}

/* Van em 3D no celular */

@media (max-width: 480px) {

    .van-stage {
        height: 190px;
    }

    .status-online {
        font-size: 11px;
        padding: 6px 11px;
        bottom: 34px;
    }
}


/* Sem inclinação para quem prefere menos movimento */

@media (prefers-reduced-motion: reduce) {

    .van-float {
        animation: none;
    }

    .van-tilt {
        transform: none !important;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* =====================================================
CONTA DO PASSAGEIRO NO HEADER
===================================================== */

.btn-login.logado-passageiro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    cursor: pointer;
}

.avatar-header {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 800;
    font-size: 13px;
}

.avatar-inicial {
    border: 2px solid rgba(255,255,255,.65);
}

/* =====================================================
DASHBOARD DO PASSAGEIRO
===================================================== */

.dashboard-passageiro {
    background: #f5f8fc;
    color: #172554;
}

.dp-shell {
    min-height: 100vh;
    display: flex;
}

.dp-sidebar {
    width: 250px;
    background: #172554;
    color: white;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    box-sizing: border-box;
}

.dp-logo {
    font-size: 21px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #60a5fa;
}

.dp-logo span { color: white; }
.dp-caption { color: #93c5fd; font-size: 12px; margin: 6px 0 28px; }
.dp-nav { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dp-nav button, .dp-side-link {
    border: 0;
    text-decoration: none;
    width: 100%;
    padding: 12px 13px;
    border-radius: 10px;
    background: transparent;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
}
.dp-nav button:hover, .dp-nav button.ativo { background: #2563eb; color: white; }
.dp-side-footer { display: grid; gap: 7px; }
.dp-side-footer button, .dp-side-footer a { color: #cbd5e1; background: transparent; border: 0; padding: 10px 13px; text-align: left; text-decoration: none; cursor: pointer; border-radius: 10px; }
.dp-side-footer button:hover, .dp-side-footer a:hover { background: rgba(255,255,255,.06); color: white; }

.dp-main { flex: 1; min-width: 0; }
.dp-topbar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.dp-user-mini { display: flex; align-items: center; gap: 12px; }
.dp-user-mini img, .dp-user-mini .dp-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.dp-avatar { display: flex; align-items: center; justify-content: center; background: #dbeafe; color: #2563eb; font-weight: 800; }
.dp-content { padding: 34px; max-width: 1250px; margin: 0 auto; }
.dp-content h1 { margin: 0 0 7px; font-size: 30px; color: #172554; }
.dp-subtitle { color: #667085; margin: 0 0 26px; }
.dp-aba { display: none; }
.dp-aba.ativa { display: block; }
.dp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 25px; }
.dp-stat, .dp-card { background: white; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 8px 24px rgba(15,23,42,.05); }
.dp-stat { padding: 20px; display: flex; align-items: center; gap: 15px; }
.dp-stat i { width: 46px; height: 46px; border-radius: 12px; background: #eff6ff; color: #2563eb; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.dp-stat strong { display: block; font-size: 22px; color: #172554; }
.dp-stat span { display: block; color: #667085; font-size: 13px; margin-top: 3px; }
.dp-card { padding: 24px; margin-bottom: 18px; }
.dp-card h2 { margin: 0 0 18px; font-size: 19px; }
.dp-profile-grid { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; }
.dp-photo-box { text-align: center; }
.dp-photo-preview { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; background: #eff6ff; border: 4px solid #dbeafe; display: flex; align-items: center; justify-content: center; margin: 0 auto 13px; color: #2563eb; font-size: 45px; font-weight: 800; overflow: hidden; }
.dp-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.dp-photo-label { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; padding: 9px 13px; border-radius: 9px; background: #eff6ff; color: #2563eb; font-weight: 700; font-size: 13px; }
.dp-photo-label input { display: none; }
.dp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.dp-field.full { grid-column: 1 / -1; }
.dp-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: #344054; }
.dp-field input, .dp-field textarea { width: 100%; box-sizing: border-box; border: 1px solid #d0d5dd; border-radius: 10px; padding: 11px 12px; font: inherit; outline: none; background: white; }
.dp-field textarea { min-height: 95px; resize: vertical; }
.dp-field input:focus, .dp-field textarea:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.10); }
.dp-btn { border: 0; border-radius: 10px; padding: 12px 17px; background: #2563eb; color: white; font-weight: 700; cursor: pointer; }
.dp-btn.secondary { background: #eef2f7; color: #344054; }
.dp-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.dp-empty { padding: 35px; text-align: center; color: #667085; border: 1px dashed #cbd5e1; border-radius: 14px; background: #f8fafc; }
.dp-trip { display: block; border: 1px solid #e5e7eb; padding: 20px; border-radius: 13px; margin-bottom: 14px; background: #fff; }
.dp-trip h3 { margin: 0 0 7px; font-size: 17px; }
.dp-trip p { margin: 4px 0; color: #667085; font-size: 14px; }
.dp-chip { display: inline-block; padding: 5px 9px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 800; }
.dp-trip-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.dp-trip-code { color: #667085; font-size: 12px; font-weight: 700; }
.dp-chip--pendente { background: #fff7db; color: #9a6700; }
.dp-chip--confirmada { background: #dcfce7; color: #15803d; }
.dp-chip--cancelada { background: #fee2e2; color: #b42318; }
.dp-trip-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.dp-trip-details > div { min-width: 0; padding: 12px; border-radius: 10px; background: #f8fafc; }
.dp-trip-details span, .dp-trip-details strong { display: block; }
.dp-trip-details span { color: #667085; font-size: 12px; margin-bottom: 5px; }
.dp-trip-details strong { color: #172554; font-size: 14px; overflow-wrap: anywhere; }
.dp-trip .dp-trip-created { margin: 15px 0 0; padding-top: 12px; border-top: 1px solid #eef2f6; font-size: 12px; }
.dp-mobile-menu { display: none; }

@media (max-width: 900px) {
    .dp-sidebar { width: 215px; }
    .dp-stats { grid-template-columns: 1fr; }
    .dp-content { padding: 24px; }
}

@media (max-width: 700px) {
    .dp-shell { display: block; }
    .dp-sidebar { position: static; width: 100%; height: auto; padding: 18px; }
    .dp-nav { display: grid; grid-template-columns: 1fr 1fr; }
    .dp-side-footer { grid-template-columns: 1fr 1fr; margin-top: 10px; }
    .dp-topbar { padding: 16px 20px; }
    .dp-content { padding: 20px 15px; }
    .dp-profile-grid, .dp-form-grid { grid-template-columns: 1fr; }
    .dp-field.full { grid-column: auto; }
    .dp-trip-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
    .dp-trip-topline { align-items: flex-start; flex-direction: column; }
    .dp-trip-details { grid-template-columns: 1fr; }
}


/* =====================================================
MELHORIAS: HERO RESPONSIVO E IMAGENS
===================================================== */

/* A van pode "sair" do card, mas nunca gera rolagem lateral */
.hero {
    overflow-x: clip;
}

.van-img {
    aspect-ratio: 1100 / 644;
}

/* Foto externa indisponível: mostra a van local */
.imagem-van img.img-fallback {
    object-fit: contain;
    padding: 18px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

@media (max-width: 700px) {

    .van-float {
        width: 122%;
    }

    .van-stage {
        height: 250px;
    }
}

@media (max-width: 400px) {

    .van-float {
        width: 118%;
    }

    .van-stage {
        height: 220px;
    }
}


/* Van proporcional em telas médias: não encosta no título nem sai da tela */
@media (min-width: 1101px) and (max-width: 1300px) {

    .van-float {
        width: 150%;
    }
}

@media (min-width: 1301px) and (max-width: 1500px) {

    .van-float {
        width: 170%;
    }
}


/* Dashboard do passageiro: tamanho padrão do avatar (foto ou inicial) */
.dp-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}


/* =====================================================
VERSÃO COM BANCO DE DADOS (API)
===================================================== */

/* Login: escolha entre passageiro e motorista */

.login-tipo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.login-tipo label {
    margin: 0;
    cursor: pointer;
}

.login-tipo input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px !important;
    height: 1px;
}

.login-tipo span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #475467;
    transition: all .2s;
}

.login-tipo input:checked + span {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
}

.login-tipo input:focus-visible + span {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Cards de viagem */

.disponivel.lotada {
    background: #fee2e2;
    color: #b91c1c;
}

.btn-reservar:disabled {
    background: #d0d5dd;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.viagens-grid > .viagens-vazio {
    grid-column: 1 / -1;
    font-size: 15px;
}

button:disabled .fa-spin {
    margin-right: 4px;
}

/* Painel do motorista */

.badge-contador {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.linha-viagem {
    flex-wrap: wrap;
    gap: 8px 16px;
}

.status-viagem,
.status-reserva {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
    white-space: nowrap;
}

.status-viagem.cancelada,
.status-reserva.recusada,
.status-reserva.cancelada {
    background: #fef2f2;
    color: #dc2626;
}

.status-viagem.encerrada {
    background: #f2f4f7;
    color: #667085;
}

.status-reserva.solicitada {
    background: #fffbeb;
    color: #b45309;
}

.status-reserva.confirmada {
    background: #dcfce7;
    color: #15803d;
}

.linha-viagem .btn-remover-plano,
.linha-reserva .btn-remover-plano,
.linha-reserva .btn-editar-plano,
.linha-reserva .btn-salvar-plano {
    flex: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.linha-viagem .btn-remover-plano,
.linha-reserva .btn-remover-plano {
    background: #fef2f2;
    color: #dc2626;
}

.linha-reserva .btn-editar-plano {
    background: #f0fdf4;
    color: #15803d;
}

.linha-reserva {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1fr auto;
    align-items: center;
    gap: 12px 16px;
    padding: 14px 16px;
    background: #f7f9fc;
    border-radius: 10px;
    font-size: 13px;
    border-left: 4px solid #d0d5dd;
}

.linha-reserva.status-solicitada {
    border-left-color: #f59e0b;
}

.linha-reserva.status-confirmada {
    border-left-color: #22c55e;
}

.linha-reserva > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.linha-reserva > div.plano-acoes {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}

.linha-reserva strong {
    color: #172554;
}

.linha-reserva span {
    color: #667085;
}

#formNovaViagem input[type=file] {
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .linha-reserva {
        grid-template-columns: 1fr;
    }
}

/* Painel do passageiro: ações da reserva */

.dp-trip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dp-chip--recusada {
    background: #fef2f2;
    color: #dc2626;
}


/* =====================================================
PAINEL ADMINISTRATIVO (admin.html)
===================================================== */

.admin-acesso {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #172554, #1e40af);
}

.admin-acesso-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .35);
}

.admin-acesso-logo {
    justify-content: center;
    margin-bottom: 18px;
    color: #2563eb;
}

.admin-acesso-logo .destaque {
    color: #172554;
}

.admin-acesso-card h1 {
    font-size: 22px;
    color: #172554;
    text-align: center;
}

.admin-acesso-card .subtitulo {
    text-align: center;
    margin: 6px 0 10px;
    font-size: 13px;
    color: #667085;
}

.admin-acesso-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 14px 0 6px;
    color: #344054;
}

.admin-acesso-card input {
    width: 100%;
}

.admin-acesso-card .btn-salvar-plano {
    width: 100%;
    margin-top: 22px;
}

.admin-voltar {
    display: block;
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

.admin-filtros {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.admin-filtros h2 {
    margin: 0 auto 0 0;
}

.admin-filtros input,
.admin-filtros select {
    width: auto;
    min-width: 200px;
    padding: 9px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 13px;
    background: white;
}

.admin-filtros input[type=search] {
    min-width: 280px;
}

.admin-tabela-wrap {
    overflow-x: auto;
}

.admin-tabela {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-tabela th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #667085;
    padding: 10px 12px;
    border-bottom: 1px solid #e4e7ec;
    white-space: nowrap;
}

.admin-tabela td {
    padding: 12px;
    border-bottom: 1px solid #f2f4f7;
    color: #172554;
    vertical-align: top;
}

.admin-tabela td:first-child {
    white-space: nowrap;
}

.admin-tabela tbody tr:hover {
    background: #f9fafb;
}

.admin-tabela small {
    color: #667085;
    font-size: 12px;
}

.admin-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-btn {
    border: 0;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.admin-btn.verde {
    background: #dcfce7;
    color: #15803d;
}

.admin-btn.vermelho {
    background: #fef2f2;
    color: #dc2626;
}

.admin-btn.cinza {
    background: #f2f4f7;
    color: #475467;
}

.admin-duas-colunas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-duas-colunas > * {
    margin: 0;
}

.admin-barra {
    display: grid;
    grid-template-columns: 170px 1fr 40px;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #475467;
    margin-bottom: 12px;
}

.admin-barra strong {
    text-align: right;
    color: #172554;
}

.admin-barra-trilho {
    height: 10px;
    border-radius: 5px;
    background: #f2f4f7;
    overflow: hidden;
}

.admin-barra-valor {
    height: 100%;
    border-radius: 5px;
    background: #2563eb;
}

.admin-barra-valor.solicitada { background: #f59e0b; }
.admin-barra-valor.confirmada { background: #22c55e; }
.admin-barra-valor.recusada { background: #ef4444; }
.admin-barra-valor.cancelada { background: #98a2b3; }

.admin-rotas {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: rota;
}

.admin-rotas li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f4f7;
    font-size: 13px;
    color: #172554;
}

.admin-rotas li::before {
    counter-increment: rota;
    content: counter(rota) ".";
    color: #2563eb;
    font-weight: 700;
    margin-right: 8px;
}

.admin-rotas li span {
    flex: 1;
}

.admin-rotas strong {
    color: #667085;
    font-weight: 600;
}

@media (max-width: 900px) {
    .admin-duas-colunas {
        grid-template-columns: 1fr;
    }

    .admin-filtros input,
    .admin-filtros input[type=search],
    .admin-filtros select {
        min-width: 0;
        width: 100%;
    }

    .admin-barra {
        grid-template-columns: 120px 1fr 32px;
    }
}


/* =====================================================
SERVIÇOS DO MOTORISTA E ENTREGAS
===================================================== */

/* menus de serviços que o motorista não oferece */
.painel-nav-item[hidden] {
    display: none !important;
}

.painel-texto {
    font-size: 13px;
    color: #667085;
    line-height: 1.5;
    margin: -8px 0 18px;
}

/* Escolha de serviços (cadastro e "Meus serviços") */

.servicos-opcoes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.servico-opcao {
    display: block;
    margin: 0 !important;
    cursor: pointer;
}

.servico-opcao input {
    position: absolute;
    opacity: 0;
    width: 1px !important;
    height: 1px;
    pointer-events: none;
}

.servico-opcao span {
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    height: 100%;
    padding: 14px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: white;
    transition: all .2s;
}

.servico-opcao span i {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
}

.servico-opcao strong {
    font-size: 14px;
    color: #172554;
}

.servico-opcao small {
    font-size: 12px;
    font-weight: 400;
    color: #667085;
    line-height: 1.4;
}

.servico-opcao input:checked + span {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 1px #2563eb inset;
}

.servico-opcao input:checked + span i {
    background: #2563eb;
    color: white;
}

.servico-opcao input:focus-visible + span {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Aviso de pagamento no modal de reserva */

.aviso-pagamento {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 14px 16px;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    background: #fffbeb;
}

.aviso-pagamento i {
    color: #b45309;
    font-size: 20px;
    margin-top: 2px;
}

.aviso-pagamento strong {
    display: block;
    color: #92400e;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.35;
}

.aviso-pagamento p {
    margin: 4px 0 0;
    color: #78350f;
    font-size: 12px;
    line-height: 1.45;
}

/* Abas internas da seção de entregas */

.entregas-abas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e4e7ec;
    padding-bottom: 12px;
}

.entregas-aba {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    background: #f2f4f7;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.entregas-aba.ativo {
    background: #2563eb;
    color: white;
}

.entregas-contador {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .25);
    font-size: 11px;
    text-align: center;
}

.entregas-aba:not(.ativo) .entregas-contador {
    background: #e4e7ec;
}

.entregas-capacidade {
    font-size: 12px;
    color: #667085;
}

.entregas-capacidade a {
    color: #2563eb;
    font-weight: 600;
}

.entregas-ajuda {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #667085;
}

.entregas-lista {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Cartão de entrega */

.entrega-card {
    border: 1px solid #e4e7ec;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
    padding: 18px;
    background: white;
    margin-bottom: 14px;
}

.entregas-lista .entrega-card {
    margin-bottom: 0;
}

.entrega-card.status-entregue { border-left-color: #22c55e; }
.entrega-card.status-cancelada { border-left-color: #98a2b3; }
.entrega-card.status-disponivel,
.entrega-card.status-aguardando_retirada { border-left-color: #f59e0b; }

.entrega-topo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.entrega-plataforma {
    padding: 4px 10px;
    border-radius: 20px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
}

.entrega-plataforma.plataforma-mercado_livre { background: #fef9c3; color: #854d0e; }
.entrega-plataforma.plataforma-shopee { background: #ffedd5; color: #c2410c; }
.entrega-plataforma.plataforma-amazon { background: #f1f5f9; color: #0f172a; }

.entrega-codigo {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: #667085;
}

.status-reserva.andamento {
    background: #eff6ff;
    color: #2563eb;
}

.entrega-descricao {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #172554;
}

.entrega-rota {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #f7f9fc;
    margin-bottom: 14px;
}

.entrega-rota span,
.entrega-detalhes span,
.entrega-contatos span,
.entrega-motorista span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #667085;
    margin-bottom: 4px;
}

.entrega-rota strong {
    font-size: 13px;
    color: #172554;
    font-weight: 600;
}

.entrega-rota small {
    color: #667085;
    font-weight: 400;
}

.entrega-seta {
    color: #2563eb;
    margin-top: 22px;
}

.entrega-detalhes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.entrega-detalhes strong {
    font-size: 13px;
    color: #172554;
}

.entrega-valor {
    color: #15803d !important;
    font-size: 16px !important;
}

.entrega-obs {
    margin: 12px 0 0;
    font-size: 13px;
    color: #475467;
}

.entrega-obs i {
    color: #2563eb;
    margin-right: 4px;
}

.entrega-contatos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e4e7ec;
}

.entrega-contatos strong {
    display: block;
    font-size: 13px;
    color: #172554;
}

.entrega-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #15803d;
    text-decoration: none;
}

.entrega-motorista {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: #f0fdf4;
}

.entrega-motorista > i {
    color: #15803d;
    font-size: 18px;
}

.entrega-motorista strong {
    display: block;
    color: #172554;
}

.entrega-motorista small {
    color: #667085;
}

.entrega-motorista .entrega-whatsapp {
    margin-left: auto;
}

.entrega-acoes {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.entrega-acoes button {
    flex: none;
    padding: 11px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Etapas: Aguardando retirada → Coletada → Em trânsito → Entregue */

.entrega-etapas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.entrega-etapas li {
    position: relative;
    text-align: center;
    padding: 0 4px;
}

.entrega-etapas li::before {
    content: "";
    position: absolute;
    top: 13px;
    left: -50%;
    width: 100%;
    height: 3px;
    background: #e4e7ec;
    z-index: 0;
}

.entrega-etapas li:first-child::before {
    display: none;
}

.entrega-etapas li.feita::before,
.entrega-etapas li.atual::before {
    background: #2563eb;
}

.entrega-etapa-ponto {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e4e7ec;
    color: transparent;
    font-size: 12px;
}

.entrega-etapas li.feita .entrega-etapa-ponto,
.entrega-etapas li.atual .entrega-etapa-ponto {
    background: #2563eb;
    color: white;
}

.entrega-etapas li.atual .entrega-etapa-ponto {
    box-shadow: 0 0 0 4px #bfdbfe;
}

.entrega-etapas strong {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #172554;
}

.entrega-etapas li:not(.feita):not(.atual) strong {
    color: #98a2b3;
}

.entrega-etapas small {
    display: block;
    font-size: 11px;
    color: #667085;
}

.entrega-etapas.cancelada li.feita::before,
.entrega-etapas.cancelada li.feita .entrega-etapa-ponto {
    background: #98a2b3;
}

/* Formulário de solicitação de entrega */

.entrega-form h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 4px;
    font-size: 15px;
    color: #172554;
}

.entrega-form h3 i {
    color: #2563eb;
}

.entrega-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
}

.entrega-form-grid .largura-total {
    grid-column: 1 / -1;
}

.entrega-form-grid label {
    display: block;
    margin: 12px 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #344054;
}

.entrega-form-grid input,
.entrega-form-grid select,
.entrega-form-grid textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: white;
    font: inherit;
    font-size: 14px;
}

.entrega-form-grid textarea {
    resize: vertical;
}

.dp-titulo-acao {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dp-titulo-acao .dp-btn {
    flex: none;
}

@media (max-width: 900px) {
    .painel-nav {
        flex-wrap: wrap;
    }

    .entrega-detalhes {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .servicos-opcoes,
    .entrega-form-grid,
    .entrega-contatos {
        grid-template-columns: 1fr;
    }

    .entrega-rota {
        grid-template-columns: 1fr;
    }

    .entrega-seta {
        transform: rotate(90deg);
        margin: 0;
    }

    .entrega-etapas strong {
        font-size: 10px;
    }

    .entrega-acoes button {
        flex: 1;
    }

    .entrega-codigo {
        margin-left: 0;
    }
}


/* =====================================================
ÁREA DE ENVIOS (envios.html) E CAMPOS DE COMPATIBILIDADE
===================================================== */

/* select com a mesma aparência dos inputs do modal */
.campo-select {
    width: 100%;
    padding: 13px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: white;
    font: inherit;
    font-size: 14px;
}

a.logo {
    text-decoration: none;
}

nav a.ativo {
    color: #2563eb;
    font-weight: 700;
}

a.btn-motorista {
    font-weight: 500;
}

/* banner do index que leva à Área de Envios */
.envios-banner {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1e40af, #2563eb);
}

.envios-banner span {
    color: #bfdbfe;
}

.envios-banner p {
    color: #dbeafe;
}

.botao-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    background: white;
    color: #1e40af;
    padding: 16px 22px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

/* apresentação */
.envios-hero {
    padding: 60px 10% 40px;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    text-align: center;
}

.envios-selo {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 20px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.envios-hero h1 {
    margin: 16px 0 10px;
    font-size: 38px;
    color: #172554;
}

.envios-hero > p {
    max-width: 680px;
    margin: 0 auto;
    color: #475467;
    line-height: 1.6;
}

.envios-passos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 34px auto 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.envios-passos li {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .06);
}

.envios-passos i {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
}

.envios-passos strong {
    color: #172554;
    font-size: 14px;
}

.envios-passos span {
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

/* conteúdo */
.envios-conteudo {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 16px 70px;
}

.envios-card {
    background: white;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.envios-card h2 {
    color: #172554;
    font-size: 20px;
    margin-bottom: 14px;
}

.envios-card .painel-texto {
    margin: -6px 0 14px;
}

.envios-acesso {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 20px;
    align-items: start;
}

.envios-acesso .login-tipo {
    margin-bottom: 4px;
}

.envios-aviso {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.envios-aviso > i {
    color: #2563eb;
    font-size: 24px;
    margin-top: 4px;
}

.envios-aviso p {
    color: #475467;
    line-height: 1.55;
}

.envios-aviso-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.envios-aviso-acoes > * {
    flex: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.envios-conta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #172554;
    color: white;
}

.envios-conta span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #93c5fd;
}

.envios-conta strong {
    font-size: 16px;
}

.envios-conta-acoes {
    display: flex;
    gap: 14px;
    align-items: center;
}

.envios-conta-acoes a,
.envios-conta-acoes button {
    background: none;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.entrega-dimensoes {
    display: flex;
    align-items: center;
    gap: 6px;
}

.entrega-dimensoes span {
    color: #667085;
}

.entrega-dimensoes input {
    min-width: 0;
}

.entrega-veiculo-dica i {
    color: #2563eb;
    margin-right: 4px;
}

.entrega-detalhes {
    row-gap: 14px;
}

@media (max-width: 900px) {
    .envios-acesso,
    .envios-passos {
        grid-template-columns: 1fr;
    }

    .envios-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .envios-hero {
        padding: 40px 16px 28px;
    }

    .envios-hero h1 {
        font-size: 28px;
    }

    .envios-card {
        padding: 18px;
    }
}
