/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Importar animações do FRETE 7 */
@import url('animations.css');

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
    border-color: var(--gray-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header & Navigation - REMOVIDO: Estilos movidos para navbar.css */

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    font-size: 15rem;
    color: var(--primary-color);
    opacity: 0.1;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section.bg-light {
    background-color: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.step-title {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--gray-600);
}

/* Benefits */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.benefit-title {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: var(--gray-100);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--gray-100);
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--gray-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-400);
}

/* Form Styles */
.solicitar-frete-section {
    background-color: var(--gray-50);
    min-height: 100vh;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== PROGRESS BAR - SOLICITAR FRETE ===== */
/* 
 * Barra de progresso que mostra as etapas do formulário
 * Usada especificamente na página "Solicitar Frete"
 */
.progress-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #e5e7eb;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    background: var(--white);
    border: 3px solid #e5e7eb;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s ease;
}

.progress-step.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.progress-step.completed {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.progress-step.completed::after {
    content: '✓';
    font-size: 1.2rem;
}

.progress-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    text-align: center;
}

.progress-step.active .progress-label,
.progress-step.completed .progress-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== FORMULÁRIO POR ETAPAS - SOLICITAR FRETE ===== */
/* 
 * Estrutura do formulário dividido em etapas
 * Cada etapa é um step-content que pode ser ativado/desativado
 * Usado especificamente na página "Solicitar Frete"
 */
.form-steps {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.step-content {
    display: none;
    padding: 2.5rem;
    animation: fadeIn 0.5s ease;
}

.step-content.active {
    display: block;
}

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

.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
}

/* ===== CAMPOS DO FORMULÁRIO - SOLICITAR FRETE ===== */
/* 
 * Estilos para todos os campos de input, select e labels
 * Usados especificamente no formulário "Solicitar Frete"
 * Inclui campos ocultos, validação e estados visuais
 */
.form-group {
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

/* Campos ocultos inicialmente */
.form-group.hidden-fields {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.form-group.hidden-fields.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Campo oculto por lógica de negócio */
.form-group.hidden-by-logic {
    display: none !important;
    opacity: 0;
    transform: translateY(10px);
}

/* Indicador visual para campos ocultos por lógica */
.form-group.hidden-by-logic::before {
    content: 'ℹ️ Campo não necessário para este tipo de acesso';
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f3f4f6;
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
}

/* Garantir que campos não tenham margem quando ocultos por lógica */
.form-group.hidden-by-logic {
    margin-bottom: 0;
    height: 0;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input.error,
.form-select.error {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-input.error + .error-message,
.form-select.error + .error-message {
    display: block;
}

/* ===== ANIMAÇÕES PARA CAMPOS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group.animate-in {
    animation: slideInUp 0.4s ease forwards;
}

/* ===== BOTÕES DE NAVEGAÇÃO ===== */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.btn-step {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-prev {
    background: #f3f4f6;
    color: #6b7280;
}

.btn-prev:hover {
    background: #e5e7eb;
    color: #374151;
}

.btn-next {
    background: var(--primary-color);
    color: var(--white);
}

.btn-next:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-next:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.btn-submit {
    background: #059669;
    color: var(--white);
}

.btn-submit:hover {
    background: #047857;
    transform: translateY(-1px);
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Estilos da navbar removidos - movidos para navbar.css */
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        margin: 0 15px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .progress-container {
        padding: 0 0.5rem;
    }
    
    .progress-step {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .progress-label {
        font-size: 0.75rem;
        top: 40px;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-step {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-illustration {
        font-size: 10rem;
    }

    .progress-bar {
        margin-bottom: 1.5rem;
    }
    
    .step-content {
        padding: 1rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-subtitle {
        font-size: 1rem;
    }
}

/* ===== ANIMAÇÕES ESPECÍFICAS DO FRETE 7 ===== */

/* Logo FRETE 7 com animação de brilho */
.logo {
    position: relative;
    transition: all 0.3s ease;
}

.logo:hover {
    animation: logoGlow 2s ease-in-out infinite;
}

/* Hero section com animação de entrada */
.hero {
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

/* Cards de frete com animação de hover melhorada */
.frete-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.frete-card:hover {
    animation: freteCardHover 0.3s ease forwards;
}

/* Botões com animação de press */
.btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:active {
    animation: buttonPress 0.1s ease;
}

/* Efeito ripple nos botões */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Animações de entrada para seções */
.section {
    animation: fadeInUp 0.8s ease forwards;
}

.step, .benefit {
    animation: fadeInUp 0.6s ease forwards;
}

.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.4s; }

.benefit:nth-child(2) { animation-delay: 0.1s; }
.benefit:nth-child(3) { animation-delay: 0.2s; }
.benefit:nth-child(4) { animation-delay: 0.3s; }

/* Animações de loading para elementos dinâmicos */
.loading-state {
    animation: fadeIn 0.3s ease forwards;
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

/* Animações de transição de página */
.page-transition {
    animation: pageTransition 0.5s ease forwards;
}

/* Animações de formulário */
.form-group {
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    animation: fieldFocus 0.3s ease forwards;
}

.form-input.error,
.form-select.error {
    animation: fieldError 0.5s ease;
}

/* Animações de notificação */
.toast {
    animation: toastSlideIn 0.3s ease forwards;
}

.toast.hide {
    animation: toastSlideOut 0.3s ease forwards;
}

/* Animações de navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Animações de card de status */
.card-status {
    transition: all 0.3s ease;
}

.card-status:hover {
    transform: scale(1.05);
}

/* Animações de ícones */
.fas, .fab {
    transition: all 0.2s ease;
}

.btn:hover .fas,
.btn:hover .fab {
    transform: scale(1.1);
}

/* Animações de progress bar */
.progress-step {
    transition: all 0.3s ease;
}

.progress-step.active {
    animation: pulse 2s infinite;
}

/* Animações de lista de itens */
.item-row {
    animation: slideUp 0.3s ease forwards;
}

.item-row.adding {
    animation: slideInFast 0.2s ease forwards;
}

/* Animações de modal */
.modal-backdrop {
    animation: fadeIn 0.3s ease forwards;
}

.modal-content {
    animation: scaleIn 0.3s ease forwards;
}

/* Animações de filtros */
.filtros-content {
    transition: all 0.3s ease;
}

.filtros-content.collapsed {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

/* Animações de estatísticas */
.stat-card {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Animações de paginação */
.btn-pagina {
    transition: all 0.2s ease;
}

.btn-pagina:hover {
    transform: translateY(-2px);
}

.btn-pagina.ativo {
    animation: paginationActive 0.2s ease forwards;
}

/* Animações de scroll to top */
.scroll-to-top {
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Animações de validação */
.form-group.valid .form-input,
.form-group.valid .form-select {
    animation: validationSuccess 0.3s ease forwards;
}

.form-group.error .form-input,
.form-group.error .form-select {
    animation: validationError 0.3s ease forwards;
}

/* Animações de sucesso */
.success-message {
    animation: successCheck 0.5s ease forwards;
}

/* Animações de erro */
.error-message {
    animation: errorX 0.5s ease forwards;
}

/* Animações de loading skeleton */
.skeleton {
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

/* Animações de carregamento de dados */
.data-loading {
    animation: loadingFreightList 0.5s ease forwards;
}

/* Animações de mudança de status */
.status-change {
    animation: freteStatusChange 0.5s ease forwards;
}

/* Animações de hover em cards */
.card-hover:hover {
    animation: cardLift 0.3s ease forwards;
}

/* Animações de focus em elementos interativos */
.focusable:focus {
    animation: focusRing 0.3s ease forwards;
}

/* Animações de transição suave */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animações de entrada escalonada */
.stagger-animation > * {
    animation: fadeInUp 0.6s ease forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }

/* Hover Effects */
.step:hover .step-icon,
.benefit:hover .benefit-icon {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Focus States */
.btn:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .footer,
    .btn {
        display: none;
    }
    
    .hero,
    .section {
        padding: 1rem 0;
    }
}

/* ===== PÁGINA SOLICITAR FRETE - INÍCIO ===== */
/* 
 * ESTILIZAÇÃO ESPECÍFICA DA PÁGINA "SOLICITAR FRETE"
 * Esta seção contém todos os estilos específicos para o formulário
 * multi-etapas de solicitação de frete.
 * 
 * INCLUI:
 * - Header da página
 * - Progress bar
 * - Formulário por etapas
 * - Campos do formulário
 * - Animações
 * - Botões de navegação
 * - Estados de loading
 * - Validação visual
 * - Responsividade
 */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title i {
    color: var(--primary-color);
}

.page-subtitle {
    color: #6b7280;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.main-content {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 200px);
}

/* ===== PADDING PARA NAVEGAÇÃO INFERIOR ===== */
@media (max-width: 768px) {
    .main-content {
        padding-bottom: 6rem; /* Espaço para navegação inferior */
    }
}

/* ===== DESKTOP - PADDING NORMAL ===== */
@media (min-width: 769px) {
    .main-content {
        padding-bottom: 4rem; /* Padding normal para desktop */
    }
}

/* ===== MELHORIAS NO HEADER ===== */
/* Estilos da navbar removidos - movidos para navbar.css */

/* ===== MELHORIAS NO FORMULÁRIO ===== */
.form-input::placeholder,
.form-select::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.form-input:disabled,
.form-select:disabled {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

/* ===== ANIMAÇÕES ADICIONAIS ===== */
.progress-step {
    animation: pulse 2s infinite;
}

.progress-step.active {
    animation: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== MELHORIAS RESPONSIVAS ===== */
@media (max-width: 640px) {
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .progress-container {
        margin-bottom: 2rem;
    }
    
    .progress-step {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .progress-label {
        font-size: 0.7rem;
        top: 35px;
    }
}

/* ===== ESTADOS DE HOVER E FOCUS MELHORADOS ===== */
.form-input:hover,
.form-select:hover {
    border-color: #d1d5db;
}

.btn-step:active {
    transform: translateY(1px);
}

.progress-step:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* ===== MELHORIAS DE ACESSIBILIDADE ===== */
.form-label:focus-within {
    color: var(--primary-color);
}

.form-input:focus + .form-label,
.form-select:focus + .form-label {
    color: var(--primary-color);
}

/* ===== ESTILOS PARA PLACEHOLDER ===== */
.text-center {
    text-align: center;
}

/* ===== VALIDAÇÃO VISUAL ===== */
.form-group.required .form-label::after {
    content: ' *';
    color: #ef4444;
    font-weight: 700;
}

.form-group.valid .form-input,
.form-group.valid .form-select {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.form-group.valid .form-label {
    color: #10b981;
}

/* ===== LOADING STATES ===== */
.form-group.loading {
    opacity: 0.6;
    pointer-events: none;
}

.form-group.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== RESPONSIVIDADE MELHORADA ===== */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group.hidden-fields {
        transform: translateY(15px);
    }
}

/* ===== BOTÃO GERAR DADOS (DESENVOLVIMENTO) - SOLICITAR FRETE ===== */
/* 
 * Botões para gerar dados automaticamente durante o desenvolvimento
 * Usados especificamente na página "Solicitar Frete"
 * - btn-generate-data: Gera dados para uma etapa específica
 * - btn-generate-all: Gera dados para todas as etapas
 */
.btn-generate-data {
    background: #f59e0b !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2) !important;
    white-space: nowrap !important;
}

.btn-generate-all {
    background: #dc2626 !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2) !important;
    white-space: nowrap !important;
}

.btn-generate-all:hover {
    background: #b91c1c !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3) !important;
}

/* ===== LISTA DE ITENS - NOVA INTERFACE - SOLICITAR FRETE ===== */
/* 
 * Interface para adicionar/remover itens em listas
 * Usada especificamente na página "Solicitar Frete" nas etapas:
 * - Etapa 3: Lista de itens individuais
 * - Etapa 4: Listas condicionais (desmontagem, armazenamento, embalagem)
 */
.add-item-form {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.add-item-form:hover {
    border-color: var(--primary-color);
    background: #f1f5f9;
}

.items-list-container {
    margin-top: 1rem;
}

.items-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: white;
}

.item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    background: white;
}

.item-row:last-child {
    border-bottom: none;
}

.item-row:hover {
    background: #f8fafc;
}

.item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-nome {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.item-quantidade {
    color: #64748b;
    font-size: 0.875rem;
    background: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    display: inline-block;
}

.btn-add-item {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-add-item:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-add-item:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-remove-item {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.btn-remove-item:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.no-items-message {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-style: italic;
    background: #f8fafc;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.no-items-message i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #94a3b8;
}

/* Estilos para campos com erro */
.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    animation: fadeIn 0.3s ease;
}

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

/* Melhorar design dos radio buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.radio-option:hover {
    border-color: var(--primary-color);
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.radio-option input[type="radio"]:checked + .radio-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-option input[type="radio"]:checked ~ span {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-generate-data:hover {
    background: #d97706 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3) !important;
}

.btn-generate-data:active {
    transform: translateY(0) !important;
}

.btn-generate-data i {
    margin-right: 0.5rem;
}

/* Responsividade para o botão */
@media (max-width: 768px) {
    .step-header > div {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: flex-start !important;
    }
    
    .btn-generate-data {
        align-self: flex-start !important;
    }
}

/* ===== ELEMENTOS DE FORMULÁRIO ADICIONAIS - SOLICITAR FRETE ===== */
/* 
 * Elementos adicionais do formulário como radio buttons, checkboxes
 * e outros controles específicos usados na página "Solicitar Frete"
 * Inclui estilos para switches, radio groups e checkbox groups
 */

/* Radio Group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.radio-option:hover {
    background-color: #f8fafc;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #3b82f6;
    background-color: #3b82f6;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.checkbox-option:hover {
    background-color: #f8fafc;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #3b82f6;
    background-color: #3b82f6;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Textarea */
.form-input[rows] {
    resize: vertical;
    min-height: 80px;
}

/* Form Help */
.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

/* Links nos formulários */
.link-termos {
    color: #3b82f6;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.link-termos:hover {
    color: #2563eb;
}

/* Responsividade para novos elementos */
@media (max-width: 768px) {
    .radio-group,
    .checkbox-group {
        gap: 0.5rem;
    }
    
    .radio-option,
    .checkbox-option {
        padding: 0.375rem;
    }
    
    .radio-custom,
    .checkbox-custom {
        width: 16px;
        height: 16px;
        margin-right: 0.5rem;
    }
    
    .radio-option input[type="radio"]:checked + .radio-custom::after {
        width: 5px;
        height: 5px;
    }
    
    .checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
        font-size: 10px;
    }
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    background: var(--success);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 300px;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    opacity: 0;
    transform: translateX(100%);
}

.toast i {
    font-size: 1rem;
}

/* Responsividade do Toast */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        max-width: none;
        margin-bottom: 0.5rem;
    }
}

/* Switch buttons styling */
.switch-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    align-items: center;
}

.switch-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    background: #fff;
    transition: all 0.3s ease;
    min-width: 80px;
    justify-content: center;
}

.switch-option:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.switch-option input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.switch-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.switch-option input[type="radio"]:checked + .switch-custom {
    border-color: #3b82f6;
    background: #3b82f6;
}

.switch-option input[type="radio"]:checked + .switch-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

/* Switch selecionado - mudança completa de background e texto */
.switch-option input[type="radio"]:checked ~ .switch-label {
    color: #3b82f6;
    font-weight: 600;
}

/* Background completo do switch quando selecionado */
.switch-option input[type="radio"]:checked + .switch-custom {
    border-color: #3b82f6;
    background: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.switch-label {
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #6b7280;
}

/* Conditional fields */
.conditional-field {
    margin-top: 1rem;
    transition: all 0.2s ease;
    transform-origin: top;
}

.conditional-field.show {
    animation: slideDownFast 0.2s ease;
}

.conditional-field.hide {
    animation: slideUpFast 0.15s ease;
}

.conditional-field input {
    width: 100%;
}

@keyframes slideDownFast {
    from {
        opacity: 0;
        transform: translateY(-15px) scaleY(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

@keyframes slideUpFast {
    from {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
    to {
        opacity: 0;
        transform: translateY(-15px) scaleY(0.8);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Animações mais rápidas para itens da lista */
.item-row {
    transition: all 0.15s ease;
}

.item-row.adding {
    animation: slideInFast 0.2s ease;
}

@keyframes slideInFast {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Estilos para os popups */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
}

.popup-content {
    background: white;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    width: 600px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
    flex: 1;
}

.popup-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
    flex-shrink: 0;
    background: white;
}

/* Botões dos popups */
.btn-cancelar, .btn-confirmar, .btn-ok, .btn-novo-pedido {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem;
}

.btn-cancelar {
    background: #6b7280;
    color: white;
}

.btn-cancelar:hover {
    background: #4b5563;
}

.btn-confirmar {
    background: #10b981;
    color: white;
}

.btn-confirmar:hover {
    background: #059669;
}

.btn-ok {
    background: #3b82f6;
    color: white;
}

.btn-ok:hover {
    background: #2563eb;
}

.btn-novo-pedido {
    background: #10b981;
    color: white;
}

.btn-novo-pedido:hover {
    background: #059669;
}

/* Resumo das etapas */
.resumo-etapas {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.etapa-resumo {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.etapa-header {
    background: #f9fafb;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
}

.etapa-header h4 {
    margin: 0;
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
}

.btn-editar {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-editar:hover {
    background: #2563eb;
}

.etapa-detalhes {
    padding: 1rem;
}

.etapa-detalhes p {
    margin: 0.75rem 0;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.4;
}

.etapa-detalhes div {
    margin: 0.75rem 0;
}

.etapa-detalhes ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.etapa-detalhes li {
    margin: 0.25rem 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.etapa-detalhes strong {
    color: #374151;
}

/* Popup de envio */
.popup-envio .popup-content {
    width: 400px;
}

/* Popup de confirmação - garantir que os botões sejam sempre visíveis */
.popup-overlay .popup-content {
    min-height: 400px;
}

.loading-animation {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Popup de sucesso */
.popup-sucesso .popup-content {
    width: 500px;
}

.sucesso-message {
    text-align: center;
}

.sucesso-message p {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.codigo-frete {
    background: #f0f9ff;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.codigo-frete strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
}

.codigo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

/* Melhorias nos botões de termos */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-option:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    background: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.link-termos {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.link-termos:hover {
    text-decoration: underline;
}

/* ===== PÁGINA SOLICITAR FRETE - FIM ===== */
/* 
 * FIM DA ESTILIZAÇÃO DA PÁGINA "SOLICITAR FRETE"
 * 
 * A partir daqui começam os estilos para outras páginas:
 * - Tela de Fretes
 * - Outras funcionalidades do sistema
 */

/* ===== TELA DE FRETES ===== */

/* Filtros e Busca */
.filtros-container {
    background: white;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.filtros-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.filtros-title {
    margin: 0;
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-toggle-filtros {
    background: white;
    border: 1px solid #d1d5db;
    color: #6b7280;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.btn-toggle-filtros:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

.filtros-content {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

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

.filtro-grupo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filtro-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filtro-select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    transition: border-color 0.2s ease;
}

.filtro-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filtro-input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    transition: border-color 0.2s ease;
    width: 100%;
}

.filtro-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filtro-input[type="date"] {
    cursor: pointer;
}

.filtro-input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.5);
}

.filtro-input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(0.3);
}

.filtros-acoes {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn-limpar-filtros {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-limpar-filtros:hover {
    background: #e5e7eb;
    color: #374151;
    border-color: #9ca3af;
}

.btn-aplicar-filtros {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-aplicar-filtros:hover {
    background: #2563eb;
}

.busca-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.busca-input-wrapper {
    position: relative;
    flex: 1;
}

.busca-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.busca-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.busca-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-buscar {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-buscar:hover {
    background: #2563eb;
}

/* Estatísticas */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-icon.disponivel {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon.em-andamento {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-icon.concluido {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.stat-content h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.stat-content p {
    margin: 0.25rem 0 0 0;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Container de Fretes */
.fretes-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fretes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.fretes-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fretes-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fretes-count {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.view-toggle {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 0.25rem;
    margin-right: 1rem;
}

.btn-view-toggle {
    background: transparent;
    border: none;
    color: #6b7280;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.btn-view-toggle.active {
    background: white;
    color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-view-toggle:hover:not(.active) {
    color: #374151;
}

.fretes-title {
    margin: 0;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fretes-acoes {
    display: flex;
    gap: 1rem;
}

.btn-refresh {
    background: #6b7280;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-refresh:hover {
    background: #4b5563;
}

.btn-novo-frete {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-novo-frete:hover {
    background: #059669;
}

/* Grid de Fretes */
.fretes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Cards de Frete */
.frete-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.frete-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.frete-card.disponivel {
    border-left: 4px solid #10b981;
}

.frete-card.em-andamento {
    border-left: 4px solid #f59e0b;
}

.frete-card.concluido {
    border-left: 4px solid #8b5cf6;
}

/* Header do Card */
.card-header {
    background: #f9fafb;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.card-status.disponivel {
    background: #d1fae5;
    color: #065f46;
}

.card-status.em-andamento {
    background: #fef3c7;
    color: #92400e;
}

.card-status.concluido {
    background: #e0e7ff;
    color: #5b21b6;
}

.patrocinado-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Body do Card */
.card-body {
    padding: 1.5rem;
}

.frete-codigo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.frete-rotas {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.rota-origem, .rota-destino {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.rota-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.rota-destino .rota-icon {
    background: #10b981;
}

.rota-info {
    display: flex;
    flex-direction: column;
}

.rota-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
}

.rota-cidade {
    font-weight: 600;
    color: #111827;
}

.rota-arrow {
    color: #9ca3af;
    font-size: 1.25rem;
}

.frete-detalhes {
    margin-bottom: 1.5rem;
}

.detalhe-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.detalhe-item i {
    width: 16px;
    color: #9ca3af;
}

.detalhe-item strong {
    color: #374151;
}

.frete-descricao {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.frete-descricao p {
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

.frete-itens {
    margin-bottom: 1.5rem;
}

.frete-itens strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #374151;
}

.itens-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.item-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.item-tag.mais {
    background: #f3f4f6;
    color: #6b7280;
}

.frete-observacoes {
    padding: 1rem;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.frete-observacoes strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #92400e;
}

.frete-observacoes p {
    margin: 0;
    color: #92400e;
    line-height: 1.5;
}

/* Footer do Card */
.card-footer {
    background: #f9fafb;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.card-acoes {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.btn-ver-detalhes {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    flex: 1;
}

.btn-ver-detalhes:hover {
    background: #2563eb;
}

.btn-interessado {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    flex: 1;
}

.btn-interessado:hover {
    background: #059669;
}

.tempo-postado {
    text-align: center;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

/* Paginação */
.paginacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn-pagina {
    background: white;
    border: 1px solid #d1d5db;
    color: #6b7280;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-pagina:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-pagina.ativo {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.paginas-numeros {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagina-ellipsis {
    color: #9ca3af;
    padding: 0 0.5rem;
}

/* ===== VISUALIZAÇÃO EM LISTA ===== */

.fretes-list {
    display: none;
}

.frete-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 1rem;
}

.frete-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.frete-item.ativo {
    border-left: 3px solid #10b981;
}

.frete-item.em-andamento {
    border-left: 3px solid #f59e0b;
}

.frete-item.concluido {
    border-left: 3px solid #8b5cf6;
}

.item-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-info-principal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.item-codigo {
    font-weight: 700;
    color: #3b82f6;
    font-size: 0.875rem;
}

.item-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.item-status.ativo {
    background: #d1fae5;
    color: #065f46;
}

.item-status.em-andamento {
    background: #fef3c7;
    color: #92400e;
}

.item-status.concluido {
    background: #e0e7ff;
    color: #5b21b6;
}

.patrocinado-badge-lista {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.625rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.item-rotas-compactas {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.rota-origem-compacta, .rota-destino-compacta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.rota-origem-compacta i {
    color: #3b82f6;
    font-size: 0.875rem;
}

.rota-destino-compacta i {
    color: #10b981;
    font-size: 0.875rem;
}

.rota-arrow-compacta {
    color: #9ca3af;
    font-size: 0.75rem;
}

.item-detalhes-compactos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.detalhe-compacto {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.detalhe-compacto i {
    color: #9ca3af;
    font-size: 0.75rem;
}

.item-acoes-compactas {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-ver-detalhes-compacto {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

.btn-ver-detalhes-compacto:hover {
    background: #2563eb;
}

.btn-interessado-compacto {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

.btn-interessado-compacto:hover {
    background: #059669;
}

/* Responsividade */
@media (max-width: 768px) {
    .filtros-row {
        grid-template-columns: 1fr;
    }
    
    .busca-container {
        flex-direction: column;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .fretes-grid {
        grid-template-columns: 1fr;
    }
    
    .fretes-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .fretes-acoes {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .view-toggle {
        margin-right: 0;
        order: -1;
        width: 100%;
        justify-content: center;
    }
    
    .btn-text {
        display: none;
    }
    
    .card-acoes {
        flex-direction: column;
    }
    
    .frete-rotas {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rota-arrow {
        transform: rotate(90deg);
    }
    
    .item-detalhes-compactos {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .item-acoes-compactas {
        flex-direction: column;
    }
    
    .filtros-acoes {
        flex-direction: column;
    }
    
    .frete-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .item-info-principal {
        justify-content: center;
    }
    
    .item-rotas-compactas {
        justify-content: center;
    }
    
    .item-detalhes-compactos {
        justify-content: center;
    }
    
    .item-acoes-compactas {
        justify-content: center;
    }
}

/* ===== NAVBAR PADRÃO - REMOVIDO: Estilos movidos para navbar.css */

/* ===== NAVBAR PADRÃO - REMOVIDO ===== */

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(20px) scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== BOTÃO SCROLL-TO-TOP (ESTILOS INLINE) ===== */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: rgba(37, 99, 235, 0.3) 0px 4px 12px;
    transition: 0.3s;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: rgba(37, 99, 235, 0.4) 0px 6px 16px;
}

/* ===== RESPONSIVIDADE PARA BOTÕES VOLTAR AO TOPO ===== */
@media (max-width: 768px) {
    .back-to-top,
    .scroll-to-top {
        display: none !important; /* Ocultar completamente no mobile */
    }
}
