/* ==========================================================================
   Oil Change - Folha de Estilos Oficial
   Identidade: Azul-marinho (#0a192f, #0f2540) e Dourado (#d4af37, #c59b27)
   ========================================================================== */

:root {
    --navy-dark: #071322;
    --navy-primary: #0b1f3a;
    --navy-secondary: #132f54;
    --navy-light: #1e4273;
    
    --gold-primary: #d4af37;
    --gold-light: #ebd076;
    --gold-dark: #b8911c;
    --gold-hover: #c39a24;

    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #e2e8f0;
    
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(11, 31, 58, 0.08);
    --shadow-lg: 0 10px 25px rgba(11, 31, 58, 0.12);
    --transition: all 0.25s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   Cabeçalho e Navegação
   ========================================================================== */
header {
    background-color: var(--navy-primary);
    border-bottom: 2px solid var(--gold-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.navbar .brand {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-badge {
    background: #ffffff;
    border-radius: 8px;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    border: 1.5px solid var(--gold-primary);
    height: 46px;
    width: 46px;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar .brand:hover .brand-logo-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.brand-logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 5px;
}

.brand-text {
    display: inline-flex;
    align-items: center;
}

.brand-text span,
.navbar .brand span.gold-highlight {
    color: var(--gold-primary);
    margin-left: 3px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.4rem 0;
}

.nav-links a:hover {
    color: var(--gold-light);
}

.btn-nav {
    background-color: var(--gold-primary) !important;
    color: var(--navy-dark) !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: 4px;
    font-weight: 700 !important;
    transition: var(--transition);
    display: inline-block;
}

.btn-nav:hover {
    background-color: var(--gold-light) !important;
    color: var(--navy-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   Hero Section - Destaque Atendimento no Local
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 60%, var(--navy-secondary) 100%);
    color: #ffffff;
    padding: 4.5rem 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-weight: 800;
}

.hero h1 span.gold {
    color: var(--gold-primary);
}

.hero p.lead {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-features-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.hero-features-box h3 {
    color: var(--gold-primary);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 0.75rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.feature-bullet {
    color: var(--gold-primary);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--gold-primary);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    color: var(--navy-dark);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    background-color: rgba(212, 175, 55, 0.08);
}

.btn-card {
    width: 100%;
    margin-top: auto;
    background-color: var(--navy-primary);
    color: var(--gold-light);
    border: 1px solid var(--gold-primary);
}

.btn-card:hover {
    background-color: var(--gold-primary);
    color: var(--navy-dark);
    box-shadow: 0 4px 12px rgba(11, 31, 58, 0.15);
}

/* ==========================================================================
   Conteúdo Principal e Seções
   ========================================================================== */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    width: 100%;
    flex: 1;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem auto;
}

.section-subtitle {
    color: var(--gold-dark);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.1rem;
    color: var(--navy-primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   Cartões de Serviços (3 Colunas)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--navy-primary);
    border-radius: 8px;
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--gold-primary);
}

.card-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-dark);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-items {
    list-style: none;
    margin-bottom: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-items li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-items li::before {
    content: "■";
    color: var(--gold-primary);
    font-size: 0.65rem;
}

/* ==========================================================================
   Seção Destaque de Atendimento no Local
   ========================================================================== */
.inloco-section {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--gold-primary);
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-md);
}

.inloco-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.inloco-content h2 {
    font-size: 1.8rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.inloco-content p {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.benefit-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.2rem;
}

.benefit-item h4 {
    color: var(--navy-secondary);
    font-size: 1rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.benefit-item h4::before {
    content: "✓";
    color: var(--gold-dark);
    font-weight: 800;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Banner de Chamada Final (CTA)
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--gold-primary);
}

.cta-banner h2 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.cta-banner p {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

/* ==========================================================================
   Formulários e Páginas Complementares (Compatibilidade)
   ========================================================================== */
.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    flex: 1;
    width: 100%;
}

.card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
footer {
    background-color: var(--navy-dark);
    color: #94a3b8;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

footer p {
    margin-bottom: 0.4rem;
}

footer .footer-note {
    color: var(--gold-light);
    font-weight: 600;
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .inloco-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 680px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .inloco-section {
        padding: 1.8rem 1.2rem;
    }
}

/* ==========================================================================
   Formulário Inteligente de Orçamento (Multi-etapas / Wizard)
   ========================================================================== */
.wizard-container {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1rem;
    width: 100%;
}

.demo-banner {
    background-color: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-primary);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.demo-banner span.badge {
    background-color: var(--navy-primary);
    color: var(--gold-light);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.wizard-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--gold-primary);
}

/* Indicador de Passos */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 0 0.5rem;
}

.steps-indicator::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: var(--border-color);
    z-index: 1;
}

.step-indicator-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    cursor: default;
    background: transparent;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 90px;
    line-height: 1.2;
}

.step-indicator-item.active .step-number {
    background-color: var(--navy-primary);
    border-color: var(--gold-primary);
    color: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.step-indicator-item.active .step-label {
    color: var(--navy-primary);
    font-weight: 700;
}

.step-indicator-item.completed .step-number {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--navy-dark);
}

.step-indicator-item.completed .step-label {
    color: var(--navy-primary);
}

/* Painéis de Conteúdo das Etapas */
.wizard-step-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-step-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.step-header h2 {
    color: var(--navy-primary);
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.step-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Cartões de Seleção (Áreas & Fornecimento) */
.choice-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.choice-card {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--bg-white);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.choice-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.choice-card input[type="radio"] {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    accent-color: var(--navy-primary);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.choice-card.selected {
    border-color: var(--gold-primary);
    background-color: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

.choice-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--navy-primary);
}

.choice-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
    padding-right: 1.5rem;
}

.choice-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Materiais e Checkboxes */
.materials-selection-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-primary);
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: var(--transition);
}

.checkbox-label:hover {
    border-color: var(--gold-primary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--navy-primary);
    cursor: pointer;
}

/* Alertas de Validação */
.validation-message {
    display: none;
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 0.85rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Botões de Navegação do Wizard */
.wizard-footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-wizard {
    min-height: 48px;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-wizard-next {
    background-color: var(--gold-primary);
    color: var(--navy-dark);
    border: none;
    margin-left: auto;
}

.btn-wizard-next:hover {
    background-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.btn-wizard-prev {
    background-color: transparent;
    color: var(--navy-primary);
    border: 1px solid var(--navy-primary);
}

.btn-wizard-prev:hover {
    background-color: rgba(11, 31, 58, 0.05);
}

/* Revisão Final */
.review-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.review-section {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--navy-primary);
    border-radius: 6px;
    padding: 1.25rem;
}

.review-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
}

.review-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-primary);
}

.review-edit-btn {
    background: none;
    border: none;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    font-size: 0.9rem;
}

.review-item strong {
    color: var(--navy-secondary);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-disclaimer {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1.2rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

.review-disclaimer strong {
    color: var(--navy-primary);
}

/* Modal / Mensagem de Sucesso de Demonstração */
.demo-success-box {
    display: none;
    background: var(--bg-white);
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.4s ease;
}

.demo-success-box .success-icon {
    font-size: 3rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

@media (max-width: 680px) {
    .wizard-card {
        padding: 1.5rem 1rem;
    }

    .steps-indicator {
        padding: 0;
    }

    .step-label {
        display: none;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .steps-indicator::before {
        top: 18px;
        left: 10px;
        right: 10px;
    }

    .btn-wizard {
        width: 100%;
    }

    .wizard-footer-nav {
        flex-direction: column-reverse;
    }

    .btn-wizard-next {
        margin-left: 0;
    }

    .brand-logo-badge {
        height: 38px;
        width: 38px;
        padding: 2px;
    }

    .navbar .brand {
        font-size: 1.25rem;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   Fotos Opcionais do Equipamento / Veículo (Marco 5B.2)
   ========================================================================== */
.fotos-upload-container {
    background-color: var(--bg-white);
    border-radius: 8px;
}

.fotos-dropzone {
    border: 2px dashed var(--gold-primary);
    border-radius: 10px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    background-color: rgba(212, 175, 55, 0.04);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.fotos-dropzone:hover,
.fotos-dropzone.dragover {
    border-color: var(--gold-dark);
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
}

.fotos-dropzone.limit-reached {
    border-color: var(--border-color);
    background-color: var(--bg-light);
    cursor: not-allowed;
    opacity: 0.75;
}

.fotos-dropzone-icon {
    font-size: 2.2rem;
    margin-bottom: 0.35rem;
    line-height: 1;
}

.fotos-dropzone-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.25rem;
}

.fotos-dropzone-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.fotos-dropzone-hint {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-dark);
    background: rgba(212, 175, 55, 0.15);
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

/* Grid de Miniaturas */
.fotos-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.foto-preview-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.foto-preview-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold-primary);
}

.foto-preview-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 130px;
    background-color: #0f172a;
    overflow: hidden;
}

.foto-preview-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.foto-badge-numero {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(11, 31, 58, 0.85);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

.foto-preview-info {
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex-grow: 1;
}

.foto-preview-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.foto-preview-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-remover-foto {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    transition: var(--transition);
    min-height: 34px;
}

.btn-remover-foto:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #dc2626;
}

/* Fotos no Painel de Revisão */
.review-fotos-box {
    margin-top: 0.5rem;
}

.review-fotos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.review-foto-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.review-foto-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

.review-foto-item span {
    display: block;
    font-size: 0.75rem;
    padding: 0.3rem 0.4rem;
    color: var(--navy-secondary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
