:root {
    /* Paleta principal alinhada ao logo da MOTORIZA CNH */
    --azul-noturno: #021526;   /* contorno bem escuro do losango */
    --azul-escuro:  #03314B;   /* azul intermediário para fundos e textos fortes */
    --azul-claro:   #8ED4F4;   /* azul claro de fundo do logo */
    --azul-destaque:#035C8C;   /* azul de destaque para botões e elementos de foco */
    --verde-whats:  #22C55E;   /* verde padrão WhatsApp */
    --background-soft: #DDEFFD; /* faixas suaves em azul bem claro */
    --branco: #FFFFFF;
    --cinza: #6B7280;
    --cinza-borda: #E5E7EB;
    --shadow-card: 0 18px 40px rgba(2, 21, 38, 0.20);
    --radius-card: 20px;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ====== ESTILOS GERAIS DA LANDING PAGE (index.php) ====== */
body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F2F8FD; /* azul bem clarinho, inspirado no fundo do logo */
    color: #021526;      /* texto principal em azul bem escuro */
}

/* CONTAINER E SEÇÕES */

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 70px 0;
}

.section-light {
    background: #F9FAFB;
}

.section-soft {
    background: var(--background-soft);
}

.section-gradient {
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.18), transparent 60%),
                linear-gradient(to bottom, #0B1220, #020617);
    color: #E5E7EB;
}

.section-cta {
    background: linear-gradient(135deg, #1E293B, #0B1120);
    color: #E5E7EB;
}

/* HEADER – topo da landing (index.php) */

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(2, 21, 38, 0.96); /* azul bem escuro do contorno do logo */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    color: #93C5FD;
}

.logo-sub {
    font-weight: 600;
    color: #E5E7EB;
    font-size: 14px;
}

/* NAV */

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}

.nav a {
    color: #E5E7EB;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav a:hover {
    background: rgba(148, 163, 184, 0.16);
    color: #FFFFFF;
}

.nav-cta {
    background: #22C55E;
    color: #052E16;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

.nav-cta:hover {
    background: #16A34A;
}

/* MENU MOBILE */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--branco);
    font-size: 22px;
}

/* HERO – bloco inicial da landing (index.php) */

.hero {
    position: relative;
    background: radial-gradient(circle at top left, var(--azul-claro) 0, var(--azul-escuro) 35%, #021526 100%);
    color: var(--branco);
    padding: 90px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(162, 213, 242, 0.4), transparent 65%);
    opacity: 0.5;
    filter: blur(1px);
}

.hero-bg.hero-bg-1 {
    top: -150px;
    right: -80px;
}

.hero-bg.hero-bg-2 {
    bottom: -200px;
    left: -120px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(15,23,42,0.3), transparent 55%);
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: center;
}

/* HERO – texto e destaques */

.hero-content {
    max-width: 560px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,197,250,0.4);
    color: #BFDBFE;
    margin-bottom: 14px;
}

.hero-pill i {
    color: #60A5FA;
    font-size: 13px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.15rem, 3vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 14px;
    color: #F9FAFB;
}

.hero h1 span {
    color: var(--azul-claro);
}

.hero-sub {
    font-size: 15px;
    color: #CBD5F5;
    margin-bottom: 18px;
    max-width: 520px;
}

/* HERO – badges/resumos */

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.55);
    font-size: 12px;
    color: #E5E7EB;
}

.hero-badge i {
    color: var(--azul-claro);
}

/* HERO – CTAs */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--azul-destaque), #021526);
    color: #E0F2FE;
    box-shadow: 0 10px 25px rgba(2,21,38,0.55);
}

.btn-primary:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #E5E7EB;
    border: 1px solid rgba(148,163,184,0.7);
}

.btn-outline:hover {
    background: rgba(15,23,42,0.6);
}

.hero-mini-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #CBD5F5;
}

.hero-mini-info span i {
    margin-right: 4px;
}

/* HERO – imagem e card de formulário */

.hero-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(2,21,38,0.85);
    border: 1px solid rgba(148,163,184,0.4);
    background: radial-gradient(circle at top left, rgba(142,212,244,0.5), rgba(2,21,38,1));
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: lighten;
}

/* CARD – formulário de leads (index.php) */

.hero-form-card {
    background: rgba(15,23,42,0.98);
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 18px 50px rgba(2,21,38,0.9);
    border: 1px solid rgba(148,163,184,0.5);
}

.hero-form-card h2 {
    font-size: 17px;
    margin-bottom: 4px;
    color: #E5E7EB;
}

.hero-form-card .form-sub {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 14px;
}

/* ALERTAS DO FORM */

.alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.alert i {
    margin-top: 2px;
    font-size: 14px;
}

.alert-success {
    background: rgba(22,163,74,0.1);
    border: 1px solid rgba(34,197,94,0.6);
    color: #BBF7D0;
}

.alert-success i {
    color: #4ADE80;
}

.alert-error {
    background: rgba(220,38,38,0.1);
    border: 1px solid rgba(248,113,113,0.7);
    color: #FCA5A5;
}

.alert-error i {
    color: #F97373;
}

/* FORM – campos do card de leads */

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lead-form label {
    font-size: 13px;
    color: #E5E7EB;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.7);
    padding: 8px 10px;
    background: rgba(15,23,42,0.98);
    color: #E5E7EB;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    border-color: var(--azul-claro);
    box-shadow: 0 0 0 1px rgba(142,212,244,0.45);
}

.lead-form textarea {
    resize: vertical;
}

.form-consent {
    font-size: 11px;
    color: #9CA3AF;
    margin: 4px 0 2px;
}

.form-consent input {
    margin-right: 6px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-note {
    margin-top: 8px;
    font-size: 11px;
    color: #9CA3AF;
}

/* SEÇÃO “FAIXA DE CONFIANÇA” – trust-strip (index.php) */

.trust-strip {
    padding: 26px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #374151;
}

.trust-item i {
    font-size: 18px;
    color: var(--azul-destaque);
    margin-top: 2px;
}

/* CARDS – serviços, etc. */

.card {
    background: var(--branco);
    border-radius: var(--radius-card);
    padding: 18px 18px 20px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid #E5E7EB;
}

/* Títulos dos cards (Regularização de CNH, Defesa e Recurso de Multas, etc.) */
.card h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #035C8C; /* mesmo azul de destaque dos títulos */
}

/* Textos internos dos cards (descrição dos serviços) */
.card p {
    font-size: 13px;
    color: #1F3B66; /* azul escuro para boa leitura */
}

/* GRID GENÉRICO */

.grid {
    display: grid;
    gap: 18px;
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ICONES DOS SERVIÇOS */

.card-service .icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #E0F2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.card-service .icon-circle i {
    color: var(--azul-destaque);
    font-size: 18px;
}

/* SEÇÃO: GALERIA – três imagens principais (index.php) */

.section-gallery {
    background: #E7F5FF; /* galeria em azul clarinho, próximo ao fundo do logo */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.5);
    box-shadow: var(--shadow-card);
    background: #021526;
}

.gallery-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    opacity: 0.94;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.04);
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,21,38,0.9), rgba(2,21,38,0.1));
    color: #E5E7EB;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
}

.gallery-tag {
    align-self: flex-start;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(142,212,244,0.16);
    border: 1px solid rgba(142,212,244,0.7);
    padding: 4px 8px;
    color: #E0F2FE;
    margin-bottom: 4px;
}

.gallery-overlay h3 {
    font-size: 14px;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 12px;
    color: #D1D5DB;
}

/* CABEÇALHOS DE SEÇÃO – usados em várias seções do index */

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

/* Títulos das seções (SERVIÇOS, GALERIA, DEPOIMENTOS, FAQ) */
.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    margin-bottom: 8px;
    color: #035C8C; /* azul de destaque, combinando com o logo */
}

/* Subtítulos/descrições logo abaixo dos títulos das seções */
.section-header p {
    font-size: 14px;
    color: #1F3B66; /* azul mais escuro e legível */
}

/* COMO FUNCIONA – steps-grid (index.php) */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.step {
    background: rgba(15,23,42,0.9);
    border-radius: 18px;
    padding: 16px 14px;
    border: 1px solid rgba(148,163,184,0.6);
    color: #E5E7EB;
    box-shadow: 0 18px 40px rgba(15,23,42,0.6);
}

.step-badge {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(142,212,244,0.18);
    border: 1px solid rgba(142,212,244,0.9);
    color: #E0F2FE;
}

.step h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.step p {
    font-size: 13px;
    color: #CBD5F5;
}

/* DEPOIMENTOS – cards (index.php) */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.testimonial {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px 14px 14px;
    border: 1px solid #E5E7EB;
    box-shadow: var(--shadow-card);
    position: relative;
}

.testimonial.highlighted {
    border-color: var(--azul-claro);
    box-shadow: 0 18px 40px rgba(142,212,244,0.4);
}

.testimonial-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #E0F2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.testimonial-icon i {
    color: var(--azul-destaque);
}

.testimonial p {
    font-size: 13px;
    color: #1F3B66; /* mesmo azul dos textos das seções/cards */
    margin-bottom: 8px;
}



.testimonial span {
    font-size: 12px;
    color: #6B7280;
}

/* FAQ – perguntas e respostas (index.php) */

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    cursor: pointer;
}

.faq-icon {
    margin-left: 8px;
    color: #6B7280;
    font-size: 12px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease;
    font-size: 13px;
    color: #4B5563;
    padding: 0 12px 0 12px;
}

.faq-item.open .faq-answer {
    padding-bottom: 10px;
}

/* CTA FINAL – bloco de contato (index.php) */

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

/* FOOTER – rodapé geral do site (index.php) */

.footer {
    background: #020617;
    border-top: 1px solid rgba(148,163,184,0.35);
    padding: 18px 0 18px;
    color: #9CA3AF;
    font-size: 12px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo {
    height: 26px;
    width: auto;
}

.footer-link {
    color: #9CA3AF;
    text-decoration: none;
}

.footer-link:hover {
    color: #E5E7EB;
}

/* BOTÃO WHATSAPP FIXO – flutuante em todas as páginas */

.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #052E16;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 35px rgba(22,163,74,0.65);
    text-decoration: none;
    font-size: 26px;
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 40px rgba(22,163,74,0.75);
}

/* =======================
   PAINEL DE LEADS – ADMIN
   (usado em leads.php, lead_historico.php e listagens)
   ======================= */

.admin-body {
    background: #020617;
}

/* Header admin aproveita o mesmo header, só reforça a vibe "painel" */

.admin-header {
    background: rgba(15, 23, 42, 0.98);
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.admin-main {
    padding: 24px 0 40px;
}

.admin-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #E5E7EB;
}

.admin-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 3px;
}

.admin-subtitle {
    font-size: 13px;
    color: #9CA3AF;
}

/* KPIs (cartões de resumo) */

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.card-kpi {
    position: relative;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 55%), #020617;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 12px 14px 14px;
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.95);
}

.card-kpi-label {
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 6px;
}

.card-kpi-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
}

.card-kpi-sub {
    margin-top: 4px;
    font-size: 11px;
    color: #9CA3AF;
}

/* CARD DE FILTROS – estilo "lançamentos financeiros" */

.admin-filters {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.1), transparent 55%), #020617;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    margin-bottom: 18px;
    color: #E5E7EB;
    padding: 12px 14px 14px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.filter-group label {
    font-size: 12px;
    color: #9CA3AF;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 6px 8px;
    margin-top: 4px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #020617;
    color: #E5E7EB;
    font-size: 13px;
}

.filter-actions {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.btn-small {
    padding: 6px 12px;
    border-radius: 999px;
    background: #2563EB;
    border: none;
    color: #E5E7EB;
    font-size: 13px;
    cursor: pointer;
}

.btn-small.outline {
    background: transparent;
    border: 1px solid rgba(148,163,184,0.8);
}

/* TABELAS DO ADMIN (leads, processos, clientes, etc.) */

.admin-table-wrapper {
    margin-top: 16px;
    background: #020617;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.95);
    overflow: hidden;
}

.admin-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #E5E7EB;
}

.admin-table-wrapper thead {
    background: #020617;
}

.admin-table-wrapper th,
.admin-table-wrapper td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(30, 64, 175, 0.6);
}

.admin-table-wrapper th {
    text-align: left;
    font-size: 12px;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* BADGES DE TIPO DE CASO (multas, suspensão, etc.) */

.badge-tipo-multas {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.7);
    color: #BFDBFE;
}

.badge-tipo-suspensao {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.7);
    color: #FEF9C3;
}

.badge-tipo-cassacao {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.7);
    color: #FCA5A5;
}

.badge-tipo-bloqueio {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.7);
    color: #BAE6FD;
}

.badge-tipo-consulta {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.7);
    color: #A7F3D0;
}

/* LGPD – indica se o cliente autorizou ou não */

.badge-lgpd-ok {
    background: rgba(22, 163, 74, 0.15);
    border-color: rgba(22, 163, 74, 0.7);
    color: #BBF7D0;
}

.badge-lgpd-nao {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.7);
    color: #FECACA;
}

/* PAGINAÇÃO, STATUS, ETC. */

.badge-status {
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
}

.badge-status-aberto {
    background: rgba(52,211,153,0.16);
    color: #6EE7B7;
}

.badge-status-fechado {
    background: rgba(59,130,246,0.16);
    color: #93C5FD;
}

/* CARD FINANCEIRO – usado em financeiro / exportações */

.admin-filters-finance {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 60%), #020617;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.95);
    padding: 14px 16px 16px;
    margin-bottom: 22px;
    color: #E5E7EB;
}

/* ====== KANBAN – quadro de tarefas (kanban.php) ====== */

.kanban-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow-x: auto;
}

.kanban-coluna {
    width: 320px;
    background: #0E1F3A;
    border: 1px solid #1F3B66;
    border-radius: 14px;
    padding: 10px;
    flex-shrink: 0;
}

.coluna-header {
    padding: 10px;
    border-bottom: 1px solid #1F3B66;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coluna-titulo {
    font-size: 14px;
    font-weight: 600;
}

.coluna-count {
    font-size: 12px;
    color: #9CA3AF;
}

.kanban-cards {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kanban-card {
    background: #020617;
    border-radius: 12px;
    border: 1px solid #1F3B66;
    padding: 10px;
    font-size: 13px;
}

/* TAGS DE TIPO / LGPD / HISTÓRICO – usadas em várias telas admin */

linha-topo {
    display: flex;
    justify-content: space-between;
}

.badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
}

.tipo {
    background: #4AA3FF44;
    color: #5AB0FF;
}

.lgpd {
    background: #3DDC8444;
    color: #6BFFAF;
}

.btn-historico {
    padding: 6px 10px;
    background: #173B74;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
}

/* =========================
   ESTILOS FINAIS / RESPONSIVO
   (aplicam tanto ao index quanto ao admin)
   ========================= */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
        gap: 32px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-grid,
    .trust-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        gap: 10px;
    }

    .nav {
        position: absolute;
        top: 56px;
        right: 16px;
        background: #020617;
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(15,23,42,0.9);
        padding: 10px 10px 10px;
        flex-direction: column;
        align-items: flex-start;
        min-width: 220px;
        display: none;
    }

    .nav.nav-open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: 88px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .trust-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-4,
    .steps-grid,
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}
/* =========================================
   AJUSTES DE COR PARA TÍTULOS E TEXTOS AZUIS
   – Seções: Serviços, Galeria, Depoimentos, FAQ
   ========================================= */

/* Título principal de cada seção (O que a MOTORIZA…, Direção segura…, etc.) */
.section-header h2 {
    color: #2563EB; /* azul forte, combina com o restante do site */
}

/* Texto logo abaixo do título da seção */
.section-header p {
    color: #142033; /* azul mais escuro, fácil de ler */
}

/* Títulos dos cards de serviço (Regularização de CNH, Defesa e Recurso de Multas, etc.) */
.card-service h3 {
    color: #2563EB;
}

/* Texto de descrição dentro dos cards de serviço */
.card-service p {
    color: #142033;
}

/* Texto dos depoimentos (frases dos clientes) */
.testimonial p {
    color: #142033;
}

/* Subtítulo dos depoimentos (linha “Depoimentos de quem já passou…”) */
#depoimentos .section-header p {
    color: #142033;
}

/* Subtítulo da galeria (linha “Imagens que representam…” ) */
.section-gallery .section-header p {
    color: #142033;
}

/* Subtítulo do FAQ (linha “Respostas diretas…” ) */
#faq .section-header p {
    color: #142033;
}
/* =========================================
   Correção do subtítulo da seção ESCURA
   (Como funciona na prática)
   ========================================= */

.section-gradient .section-header p {
    color: #FFFFFF !important; /* deixa o texto branco */
    opacity: 0.9; /* opcional: leve suavidade sem perder leitura */
}
/* ============================
   AJUSTE DE RODAPÉ – MOTORIZA CNH
   Deixar texto e links visíveis no fundo escuro
   ============================ */

.footer {
    background: #020617; /* mantém o azul escuro uniforme */
    padding: 25px 0;
    color: #F1F5F9 !important; /* texto branco suave */
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Texto do rodapé */
.footer p,
.footer-copy {
    color: #F1F5F9 !important; /* branquinho */
    font-size: 14px;
}

/* Logo do rodapé */
.footer-logo {
    filter: brightness(1.15); /* deixa o logo mais claro e visível */
    max-height: 40px;
}

/* Links (Política de Privacidade, Termos de uso) */
.footer a,
.footer-link {
    color: #8ED4F4 !important; /* azul claro combinando com o logo */
    text-decoration: none;
}

.footer a:hover {
    color: #B6E8FF !important; /* hover mais claro */
}

/* CNPJ */
.footer-right p {
    color: #E2E8F0 !important;
}
/* ============================================
   CORREÇÃO DO LOGO NO RODAPÉ – MOTORIZA CNH
   ============================================ */

/* Remove filtros estranhos aplicados anteriormente */
.footer-logo {
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    
    /* Tamanho ideal */
    height: 55px; 
    width: auto;

    /* Garante que não distorce */
    object-fit: contain !important;
    display: block;
}

/* Ajusta o container do rodapé para melhor alinhamento */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* =======================================================================
   RESPONSIVIDADE – AJUSTES MOBILE SEM MEXER NO LAYOUT ORIGINAL
   ======================================================================= */

/* Tablets — telas médias */
@media (max-width: 992px) {

    .header-inner {
        padding: 12px 16px;
        gap: 16px;
    }

    .section-inner {
        padding: 48px 16px;
    }

    .hero-grid,
    .trust-grid,
    .services-grid,
    .steps-grid,
    .cases-grid,
    .testimonials-grid,
    .faq-grid,
    .cta-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px;
    }
}

/* Celulares */
@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    .section-inner {
        padding: 40px 16px;
    }

    .section-header {
        text-align: left;
        gap: 8px;
    }

    .section-title {
        font-size: 22px;
        line-height: 1.3;
    }

    /* ---------- HEADER ---------- */
    .header-inner {
        padding: 10px 16px;
    }

    .header-logo img {
        max-width: 150px;
        height: auto;
    }

    .header-nav {
        position: fixed;
        inset: 60px 0 0 0;
        display: none; /* mantém seu JS/Toggle atual */
        flex-direction: column;
        background: radial-gradient(circle at top, #020617 0%, #020617 80%);
        padding: 20px;
        gap: 12px;
        z-index: 999;
    }

    .header-nav a {
        padding: 10px 0;
        font-size: 16px;
    }

    /* ---------- HERO ---------- */
    .hero {
        padding-top: 72px;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .hero-main {
        order: 1;
    }

    .hero-aside {
        order: 2;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.25;
    }

    .hero-highlight {
        font-size: 14px;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-badges {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-image {
        max-width: 260px;
        margin: 0 auto;
    }

    /* ---------- TODAS AS SEÇÕES EM 1 COLUNA ---------- */
    .trust-grid,
    .services-grid,
    .steps-grid,
    .cases-grid,
    .testimonials-grid,
    .faq-grid,
    .cta-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* ---------- CARTÕES ---------- */
    .service-card,
    .case-card,
    .testimonial-card,
    .faq-item,
    .cta-card {
        padding: 14px 16px;
    }

    /* ---------- FORMULÁRIOS ---------- */
    form,
    .lead-form,
    .contact-form {
        max-width: 100%;
    }

    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    input,
    select,
    textarea {
        font-size: 15px;
    }

    /* ---------- FOOTER ---------- */
    .footer-grid {
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Smartphones pequenos */
@media (max-width: 480px) {

    .hero-title {
        font-size: 22px;
    }

    .hero-highlight {
        font-size: 13px;
    }

    .btn,
    .btn-primary,
    .btn-outline {
        width: 100% !important;
        justify-content: center;
        text-align: center;
        padding: 12px 16px;
    }

    .badge,
    .chip {
        font-size: 11px;
    }

    .service-card,
    .case-card,
    .testimonial-card {
        padding: 12px 14px;
    }
}
