/* ==========================================
   DESIGN SYSTEM - EnvioECom/Frete Fácil
   ========================================== */

/* === 1. CSS VARIABLES === */
:root {
    /* Cores Principais */
    --primary-blue: #254bb8;
    --whatsapp-green: #25D366;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-muted: #999;
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f5f5f5;
    
    /* Borders */
    --border-color: #e0e0e0;
    --border-dark: #1a1a1a;
    
    /* Status Colors */
    --status-success: #d4edda;
    --status-success-text: #155724;
    --status-warning: #fff3cd;
    --status-warning-text: #856404;
    --status-error: #f8d7da;
    --status-error-text: #721c24;
    --status-info: #d1ecf1;
    --status-info-text: #0c5460;
}

/* === 2. RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 110px; /* Espaço para o header fixo */
}

/* === HEADER FIXO === */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 110px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.header-logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 90px;
    width: 90px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-entrar {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-entrar:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.2);
}

.btn-cadastrar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a8a 100%);
    color: white;
    border: 2px solid var(--primary-blue);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(37, 75, 184, 0.2);
}

.btn-cadastrar:hover {
    background: linear-gradient(135deg, #1a3a8a 0%, var(--primary-blue) 100%);
    border-color: #1a3a8a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 75, 184, 0.35);
}

/* === 3. CONTAINER === */
.container {
    max-width: 100%;
    margin: 0 auto;
    background: var(--bg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container Interno para Conteúdo */
.hero-section,
.how-it-works-section,
.info-text-section,
.faq-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.results-section {
    max-width: 900px;
    margin: 0 auto;
}

/* === 4. HERO SECTION === */
.hero-section {
    background: white;
    padding: 80px 25px 60px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto 48px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-description {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

.logo-area {
    text-align: center;
    margin-bottom: 16px;
}

.logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a8a 100%);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(37, 75, 184, 0.25);
}

.logo-icon i {
    font-size: 36px;
    color: white;
}

.logo-area h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.stat-item i {
    font-size: 16px;
    color: var(--primary-blue);
}

/* === 5. SEARCH CONTAINER === */
.search-container {
    margin-bottom: 32px;
}

/* === SEARCH BOX MAIN (Clean & Modern) === */
.search-box-main {
    max-width: 800px;
    margin: 0 auto 16px;
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 16px rgba(37, 75, 184, 0.15);
    transform: translateY(-2px);
}

.search-input-main {
    flex: 1;
    border: none;
    outline: none;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    padding: 24px 0;
}

.search-input-main::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.carrier-icon-main {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 12px;
}

.carrier-icon-main i {
    font-size: 24px;
    color: #9ca3af;
}

.carrier-icon-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-rastrear-main {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 0 48px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.3);
    white-space: nowrap;
}

.btn-rastrear-main:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    box-shadow: 0 8px 20px rgba(37, 75, 184, 0.4);
    transform: translateY(-2px);
}

.btn-rastrear-main:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-rastrear-main.ready {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
}

.btn-rastrear-main.ready:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5) !important;
}

.search-hint {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

/* Estados do Input */
.search-input-wrapper.valid {
    border-color: #10b981 !important;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2) !important;
}

.search-input-wrapper.partial {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 8px 16px rgba(37, 75, 184, 0.15) !important;
}

.search-input-wrapper.invalid {
    border-color: #f59e0b !important;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.15) !important;
}

.carrier-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carrier-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-rastrear {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.3);
    white-space: nowrap;
}

.btn-rastrear:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-blue) 100%);
    box-shadow: 0 6px 16px rgba(37, 75, 184, 0.4);
    transform: translateY(-2px);
}

/* Carrier Selection Compact */
.carrier-selection-compact {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.btn-carrier-compact {
    background: white;
    border: 2px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.btn-carrier-compact img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.btn-carrier-compact i {
    font-size: 20px;
}

.btn-carrier-compact:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-carrier-compact.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* Alerta de Golpes - Clean & Informativo */
.alert-golpes {
    background: #fefce8;
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    padding: 10px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.alert-golpes i {
    font-size: 16px;
    color: #ea580c;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-text {
    flex: 1;
}

.alert-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 4px;
}

.alert-text span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #78350f;
    line-height: 1.5;
}

.input-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 20px 50px 20px 54px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: all 0.2s;
    background: white;
    font-weight: 500;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 75, 184, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.input-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    transition: color 0.2s;
}

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

/* Search Examples */
.search-examples {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.examples-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.example-code {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', monospace;
}

.example-code:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}

/* === 6. BUTTONS === */

/* Botão Primário */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 20px 48px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 75, 184, 0.3);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-blue) 100%);
    box-shadow: 0 6px 20px rgba(37, 75, 184, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Botão WhatsApp - ÚNICO que mantém verde */
.btn-whatsapp {
    width: 100%;
    background: var(--whatsapp-green);
    color: white;
    border: none;
    padding: 18px 20px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.btn-whatsapp:hover {
    background: #22c55e;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
}

.btn-whatsapp .btn-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-whatsapp .btn-icon i {
    font-size: 24px;
}

.btn-whatsapp .btn-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-title {
    font-size: 15px;
    font-weight: 700;
}

.btn-subtitle {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

.btn-whatsapp > i {
    font-size: 18px;
    opacity: 0.8;
}

/* Botão Secundário Moderno */
.btn-secondary-modern {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-secondary-modern:hover {
    background: var(--bg-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.15);
    transform: translateY(-2px);
}

/* Botão Secundário (Antigo - mantido para compatibilidade) */
.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 18px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary-blue);
    box-shadow: 0 3px 10px rgba(37, 75, 184, 0.2);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* === 7. CARRIER SELECTION MODERN === */
.carrier-selection-modern {
    margin-bottom: 20px;
}

.carrier-buttons-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-carrier-modern {
    background: white;
    border: 2px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.btn-carrier-modern:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.1);
    transform: translateY(-2px);
}

.btn-carrier-modern.active {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.15);
}

.carrier-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.carrier-icon i {
    font-size: 22px;
    color: var(--text-secondary);
}

.btn-carrier-modern.active .carrier-icon {
    background: var(--primary-blue);
}

.btn-carrier-modern.active .carrier-icon i {
    color: white;
}

.carrier-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.carrier-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.carrier-desc {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.check-mark {
    width: 24px;
    height: 24px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.check-mark i {
    font-size: 12px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-carrier-modern.active .check-mark {
    background: var(--whatsapp-green);
}

.btn-carrier-modern.active .check-mark i {
    opacity: 1;
}

/* OLD CARRIER STYLES (mantidos para compatibilidade) */
.section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

/* === 8. LOADING SECTION === */
.loading-section {
    padding: 60px 25px;
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-section p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* === RESULTS HEADER (Azul) === */
.results-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a8a 100%);
    padding: 24px 0;
    margin-bottom: 0;
}

.results-header-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 25px;
}

.search-box-wrapper-results {
    display: flex;
    gap: 12px;
}

.search-input-container-results {
    flex: 1;
    position: relative;
    background: white;
    border: 2px solid white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.search-input-container-results input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    padding: 0;
}

.carrier-badge-results {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carrier-badge-results img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-rastrear-results {
    background: white;
    color: var(--primary-blue);
    border: 2px solid white;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-rastrear-results:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Alerta na página de resultados - Clean & Informativo */
.alert-golpes-results {
    background: #fefce8;
    border-bottom: 2px solid #fbbf24;
    padding: 8px 25px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
}

.alert-golpes-results i {
    font-size: 14px;
    color: #ea580c;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-golpes-results .alert-text {
    max-width: 900px;
}

.alert-golpes-results strong {
    display: inline;
    font-size: 12px;
    font-weight: 700;
    color: #92400e;
    margin-right: 4px;
}

.alert-golpes-results span {
    font-size: 11px;
    font-weight: 500;
    color: #78350f;
    line-height: 1.5;
}

/* === 9. INFO SECTION === */
.info-section {
    background: var(--bg-white);
    padding: 40px 25px;
    border-bottom: 1px solid var(--border-color);
}

/* Status Card Principal */
.status-card-main {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.status-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f8d7da;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-icon-large i {
    font-size: 40px;
    color: #dc2626;
}

.status-icon-large.success {
    background: #d4edda;
}

.status-icon-large.success i {
    color: #155724;
}

.status-icon-large.warning {
    background: #fff3cd;
}

.status-icon-large.warning i {
    color: #856404;
}

.status-icon-large.info {
    background: #d1ecf1;
}

.status-icon-large.info i {
    color: #0c5460;
}

.status-content-main {
    flex: 1;
}

.status-title-main {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.status-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Update Info */
.update-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.update-info i {
    color: var(--primary-blue);
}

.update-info strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Tracking Info Card */
.tracking-info-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.tracking-code-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.tracking-code-info-full {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tracking-code-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.carrier-logo-display {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
}

.carrier-logo-display img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.carrier-logo-display i {
    font-size: 28px;
    color: var(--text-muted);
}

.tracking-code-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tracking-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tracking-code-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
}

.delivery-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-left: 72px;
}

.delivery-address i {
    font-size: 16px;
    color: var(--primary-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

.delivery-address span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.6;
}

.delivery-address span::before {
    content: 'Destino: ';
    font-weight: 700;
    color: var(--text-primary);
}

.delivery-forecast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: #fef3c7;
    border-radius: 8px;
    margin-left: 72px;
}

.delivery-forecast i {
    font-size: 16px;
    color: #d97706;
    margin-top: 2px;
    flex-shrink: 0;
}

.delivery-forecast span {
    font-size: 14px;
    font-weight: 500;
    color: #92400e;
    line-height: 1.6;
}

.delivery-forecast span::before {
    content: 'Previsão de Entrega: ';
    font-weight: 700;
    color: #78350f;
}

.btn-share-code {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.btn-share-code:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-acompanhar {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.3);
}

.btn-acompanhar:hover {
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-blue) 100%);
    box-shadow: 0 6px 16px rgba(37, 75, 184, 0.4);
    transform: translateY(-2px);
}

.status-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.status-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a8a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(37, 75, 184, 0.25);
}

.status-icon i {
    font-size: 32px;
    color: white;
}

.status-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.status-icon.warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.status-icon.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.status-content {
    flex: 1;
}

.status-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 8px 0 12px;
    letter-spacing: -0.5px;
}

.tracking-code-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    font-family: 'Inter', monospace;
}

.tracking-code-display i {
    color: var(--primary-blue);
    font-size: 16px;
}

.status-badge-container {
    margin-top: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    background: var(--status-info);
    color: var(--status-info-text);
    border: 2px solid rgba(12, 84, 96, 0.1);
}

.status-badge.success {
    background: var(--status-success);
    color: var(--status-success-text);
    border-color: rgba(21, 87, 36, 0.1);
}

.status-badge.warning {
    background: var(--status-warning);
    color: var(--status-warning-text);
    border-color: rgba(133, 100, 4, 0.1);
}

.status-badge.error {
    background: var(--status-error);
    color: var(--status-error-text);
    border-color: rgba(114, 28, 36, 0.1);
}

/* === 10. TIMELINE SECTION === */
.timeline-section {
    background: var(--bg-white);
    padding: 40px 25px;
    border-bottom: 1px solid var(--border-color);
}

/* Timeline Estilo Melhor Rastreio */
.timeline-container-melhor {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item-melhor {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    position: relative;
}

.timeline-item-melhor:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 31px;
    top: 64px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-date-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 80px;
    padding-top: 4px;
}

.timeline-day {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-time {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.timeline-icon-melhor {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.timeline-icon-melhor i {
    font-size: 28px;
    color: var(--text-secondary);
}

.timeline-icon-melhor.active {
    background: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.3);
}

.timeline-icon-melhor.active i {
    color: white;
}

.timeline-icon-melhor.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.timeline-icon-melhor.success i {
    color: white;
}

.timeline-icon-melhor.warning {
    background: #f0ad4e;
}

.timeline-icon-melhor.warning i {
    color: white;
}

.timeline-content-melhor {
    flex: 1;
    padding-top: 8px;
}

.timeline-status-melhor {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 6px;
}

.timeline-location-melhor {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.timeline-location-melhor i {
    font-size: 14px;
}

/* Section Title Modern */
.section-title-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.title-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8eaf0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.title-icon i {
    font-size: 20px;
    color: var(--primary-blue);
}

.title-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.title-content p {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Old Section Title (mantido para compatibilidade) */
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    background: var(--bg-light);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--text-primary);
}

.section-title i {
    font-size: 16px;
}

.timeline-container {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 12px;
    bottom: -12px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.timeline-dot.active {
    background: var(--primary-blue);
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.timeline-content {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
}

.timeline-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.timeline-status {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-location {
    font-size: 13px;
    color: var(--text-secondary);
}

/* === 11. DETAILS SECTION === */
.details-section {
    background: var(--bg-white);
    padding: 40px 25px;
    border-bottom: 1px solid var(--border-color);
}

.details-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.detail-card {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s;
}

.detail-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.1);
    transform: translateY(-2px);
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 20px;
    color: white;
}

.detail-icon.origin {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.detail-icon.destination {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.detail-icon.calendar {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.detail-icon.carrier {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a8a 100%);
}

.detail-content {
    flex: 1;
    min-width: 0;
}

.detail-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.detail-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    word-wrap: break-word;
}

/* Old Details Grid (mantido para compatibilidade) */
.details-grid {
    display: grid;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
}

.detail-item i {
    font-size: 20px;
    color: var(--primary-blue);
    margin-top: 2px;
}

.detail-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-text strong {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-text span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* === 12. ACTIONS SECTION === */
.actions-section {
    background: var(--bg-white);
    padding: 40px 25px;
    border-bottom: 1px solid var(--border-color);
}

.help-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    border-radius: 12px;
    margin-bottom: 24px;
    border: 2px solid rgba(37, 75, 184, 0.1);
}

.help-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-icon i {
    font-size: 28px;
    color: white;
}

.help-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.help-content p {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-buttons > .btn-whatsapp {
    grid-column: 1 / -1;
}

/* Old Nav Buttons (mantido para compatibilidade) */
.nav-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* === 13. ERROR SECTION === */
.error-section {
    padding: 60px 25px;
    text-align: center;
}

.error-illustration {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
}

.error-icon-bg {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.error-illustration i {
    font-size: 64px;
    color: #ef4444;
    position: relative;
    z-index: 1;
}

.error-section h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.error-main-message {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.error-section h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: left;
}

.error-tips {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.tip-item i {
    font-size: 16px;
    color: var(--primary-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

.tip-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.5;
}

.error-footer-note {
    margin-top: 24px;
    padding: 16px;
    background: #e8f0ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-footer-note i {
    color: var(--primary-blue);
    font-size: 18px;
}

.error-footer-note span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

/* === ILUSTRAÇÃO DE PACOTES === */
.illustration-section {
    padding: 40px 25px;
    text-align: center;
    background: var(--bg-white);
}

.packages-illustration {
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* === SEÇÃO COMO FUNCIONA === */
.how-it-works-section {
    padding: 60px 25px;
    background: var(--bg-white);
    text-align: center;
}

.section-title-large {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle-large {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(37, 75, 184, 0.15);
    transform: translateY(-4px);
}

.feature-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-card-icon i {
    font-size: 36px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === TEXTO INFORMATIVO === */
.info-text-section {
    padding: 60px 25px;
    background: var(--bg-light);
    text-align: center;
}

.info-text-content {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    max-width: 900px;
    margin: 0 auto 32px;
    line-height: 1.4;
}

.btn-cadastre-agora {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 18px 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.3);
}

.btn-cadastre-agora:hover {
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-blue) 100%);
    box-shadow: 0 6px 16px rgba(37, 75, 184, 0.4);
    transform: translateY(-2px);
}

/* === SEÇÃO AZUL PARCEIROS === */
.partners-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    padding: 80px 25px;
    position: relative;
    overflow: hidden;
}

.partners-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.partners-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.partners-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

.partners-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto 48px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 24px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    min-height: 100px;
}

.partner-logo:hover {
    background: white;
    border-color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* === SEÇÃO FAQ === */
.faq-section {
    padding: 60px 25px;
    background: var(--bg-white);
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 48px;
}

.faq-illustration {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde047 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-illustration i {
    font-size: 64px;
    color: #f59e0b;
}

.faq-header-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-header-text p {
    font-size: 16px;
    color: var(--text-secondary);
}

.faq-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-card {
    background: white;
    border: 2px solid #e8f0ff;
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-blue);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.faq-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(37, 75, 184, 0.15);
    transform: translateY(-4px);
}

.faq-card:hover::before {
    transform: scaleY(1);
}

.faq-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e8f0ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.faq-card:hover .faq-card-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    transform: scale(1.1);
}

.faq-card-icon i {
    font-size: 28px;
    color: var(--primary-blue);
    transition: color 0.3s;
}

.faq-card:hover .faq-card-icon i {
    color: white;
}

.faq-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.4;
}

.faq-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === 14. FOOTER COMPLETO === */
.footer-complete {
    background: var(--bg-gray);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 25px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.footer-description {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s;
}

.feature-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(37, 75, 184, 0.1);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-blue);
}

.feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-text span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* === 15. RESPONSIVE === */
@media (max-width: 768px) {
    .header-fixed {
        height: 90px;
    }
    
    body {
        padding-top: 90px;
    }
    
    .header-container {
        padding: 0 20px;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .btn-entrar,
    .btn-cadastrar {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .header-actions {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 80px;
    }
    
    .header-fixed {
        height: 80px;
    }
    
    .header-container {
        padding: 0 16px;
    }
    
    .logo-img {
        height: 60px;
        width: 60px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .btn-entrar,
    .btn-cadastrar {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .logo-area h1 {
        font-size: 26px;
    }
    
    /* Search Box Mobile */
    .search-box-wrapper {
        flex-direction: column;
    }
    
    .btn-rastrear {
        width: 100%;
        justify-content: center;
    }
    
    .carrier-selection-compact {
        flex-wrap: wrap;
    }
    
    .btn-carrier-compact {
        flex: 1;
        min-width: 140px;
    }
    
    /* Results Header Mobile */
    .results-header-container {
        padding: 0 16px;
    }
    
    .search-box-wrapper-results {
        flex-direction: column;
    }
    
    .btn-rastrear-results {
        width: 100%;
        justify-content: center;
    }
    
    /* Status Card Mobile */
    .status-card-main {
        flex-direction: column;
        text-align: center;
    }
    
    .status-icon-large {
        margin: 0 auto;
    }
    
    /* Timeline Mobile */
    .timeline-date-box {
        min-width: 60px;
    }
    
    .timeline-icon-melhor {
        width: 48px;
        height: 48px;
    }
    
    .timeline-icon-melhor i {
        font-size: 22px;
    }
    
    .timeline-item-melhor:not(:last-child)::after {
        left: 23px;
    }
    
    .tracking-code-header {
        flex-wrap: wrap;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon i {
        font-size: 30px;
    }
    
    .hero-section {
        padding: 40px 20px 30px;
    }
    
    .stats-bar {
        gap: 16px;
        padding: 16px;
        flex-wrap: wrap;
    }
    
    .stat-item {
        font-size: 12px;
    }
    
    .carrier-buttons-modern {
        gap: 10px;
    }
    
    .carrier-icon {
        width: 40px;
        height: 40px;
    }
    
    .carrier-icon i {
        font-size: 18px;
    }
    
    .carrier-name {
        font-size: 14px;
    }
    
    .carrier-desc {
        font-size: 11px;
    }
    
    .input-wrapper input {
        padding: 18px 44px 18px 48px;
        font-size: 15px;
    }
    
    .btn-primary {
        padding: 18px 40px;
        font-size: 15px;
    }
    
    .timeline-section,
    .details-section,
    .actions-section,
    .info-section {
        padding: 30px 20px;
    }
    
    .details-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .status-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .status-icon {
        margin: 0 auto;
    }
    
    .status-content {
        text-align: center;
    }
    
    .status-title {
        font-size: 20px;
    }
    
    .section-title-modern {
        gap: 12px;
    }
    
    .title-icon {
        width: 40px;
        height: 40px;
    }
    
    .title-icon i {
        font-size: 18px;
    }
    
    .title-content h3 {
        font-size: 16px;
    }
    
    .title-content p {
        font-size: 12px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .btn-whatsapp {
        padding: 16px 18px;
    }
    
    .btn-whatsapp .btn-icon {
        width: 44px;
        height: 44px;
    }
    
    .btn-whatsapp .btn-icon i {
        font-size: 22px;
    }
    
    .help-card {
        padding: 18px;
    }
    
    .help-icon {
        width: 48px;
        height: 48px;
    }
    
    .help-icon i {
        font-size: 24px;
    }
    
    .help-content h4 {
        font-size: 15px;
    }
    
    .help-content p {
        font-size: 12px;
    }
    
    .features-grid {
        gap: 12px;
    }
    
    .feature-item {
        padding: 14px;
    }
    
    .feature-item i {
        font-size: 20px;
    }
    
    .error-tips {
        min-width: auto;
        width: 100%;
    }
    
    .footer {
        padding: 24px 20px;
    }
}

/* === 16. UTILITIES === */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

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

/* === RESPONSIVE NOVAS SEÇÕES === */
@media (max-width: 768px) {
    .section-title-large {
        font-size: 26px;
    }
    
    .features-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title-large {
        font-size: 22px;
    }
    
    .section-subtitle-large {
        font-size: 15px;
    }
    
    .feature-card-icon {
        width: 64px;
        height: 64px;
    }
    
    .info-text-content {
        font-size: 18px;
    }
    
    .partners-section h2 {
        font-size: 22px;
    }
    
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-logo {
        padding: 16px;
        min-height: 80px;
    }
    
    .partner-logo img {
        max-height: 40px;
    }
    
    .faq-header {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* === MELHORIAS RESPONSIVIDADE TABLET === */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === MELHORIAS MOBILE ESPECÍFICAS === */
@media (max-width: 480px) {
    /* Header Mobile */
    .hero-section {
        padding: 30px 16px;
    }
    
    .logo-area h1 {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    /* Search Mobile */
    .search-input-container {
        padding: 10px 12px;
    }
    
    .search-input-container input {
        font-size: 14px;
    }
    
    .btn-rastrear {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .btn-carrier-compact {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* Alert Mobile */
    .alert-golpes {
        padding: 12px;
        font-size: 12px;
    }
    
    .alert-golpes i {
        font-size: 20px;
    }
    
    /* Results Mobile */
    .results-header {
        padding: 16px 0;
    }
    
    .search-input-container-results {
        padding: 10px 12px;
    }
    
    /* Status Mobile */
    .status-card-main {
        padding: 20px;
    }
    
    .status-icon-large {
        width: 64px;
        height: 64px;
    }
    
    .status-icon-large i {
        font-size: 32px;
    }
    
    .status-title-main {
        font-size: 20px;
    }
    
    /* Timeline Mobile */
    .timeline-date-box {
        min-width: 50px;
        font-size: 11px;
    }
    
    .timeline-icon-melhor {
        width: 40px;
        height: 40px;
    }
    
    .timeline-icon-melhor i {
        font-size: 18px;
    }
    
    .timeline-status-melhor {
        font-size: 14px;
    }
    
    .timeline-description {
        font-size: 12px;
    }
    
    /* Details Mobile */
    .detail-card {
        padding: 16px;
    }
    
    .detail-icon {
        width: 36px;
        height: 36px;
    }
    
    .detail-icon i {
        font-size: 16px;
    }
    
    /* Feature Cards Mobile */
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    /* Info Text Mobile */
    .info-text-section {
        padding: 40px 20px;
    }
    
    .btn-cadastre-agora {
        width: 100%;
        padding: 16px 32px;
    }
    
    /* Partners Mobile */
    .partners-section {
        padding: 50px 20px;
    }
    
    .partner-logo {
        padding: 20px;
    }
    
    .partner-logo i {
        font-size: 24px;
    }
    
    /* FAQ Mobile */
    .faq-section {
        padding: 40px 20px;
    }
    
    .faq-header {
        margin-bottom: 32px;
    }
    
    .faq-card {
        padding: 20px;
    }
    
    .faq-card h4 {
        font-size: 16px;
    }
    
    .faq-card p {
        font-size: 13px;
    }
    
    /* Footer Mobile */
    .footer-container {
        padding: 32px 20px;
    }
    
    .footer-bottom {
        padding: 20px;
    }
}

/* === LANDSCAPE MOBILE === */
@media (max-width: 896px) and (orientation: landscape) {
    .header-fixed {
        height: 70px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .logo-img {
        height: 50px;
        width: 50px;
    }
}

/* === AJUSTES PARA TELAS MUITO PEQUENAS === */
@media (max-width: 360px) {
    .section-title-large {
        font-size: 20px;
    }
    
    .info-text-content {
        font-size: 16px;
    }
    
    .partners-section h2 {
        font-size: 20px;
    }
    
    .partners-section p {
        font-size: 14px;
    }
    
    .btn-carrier-compact span {
        font-size: 12px;
    }
}

/* === AJUSTE LOGOS TRANSPORTADORAS MOBILE === */
@media (max-width: 360px) {
    .partners-logos {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .partner-logo {
        padding: 16px;
        min-height: 70px;
    }
    
    .partner-logo img {
        max-height: 35px;
    }
}

/* === STATS RESPONSIVO === */
@media (max-width: 768px) {
    .partners-stats {
        gap: 16px;
    }
    
    .stat-card {
        padding: 20px 16px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .partners-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 300px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* === FRIENDLY ALERT === */
.friendly-alert {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease-out;
}

.friendly-alert i {
    font-size: 24px;
    color: #1e40af;
}

.friendly-alert span {
    font-size: 15px;
    font-weight: 600;
    color: #1e3a8a;
    flex: 1;
}

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

/* === DETECTION FEEDBACK === */
.carrier-status {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.carrier-status i {
    font-size: 24px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.carrier-status img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-input-container.valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.search-input-container.partial {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px rgba(37, 75, 184, 0.15) !important;
}

.search-input-container.invalid {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
}

.detection-feedback {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 12px;
    animation: slideDown 0.3s ease-out;
}

.detection-feedback.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #10b981;
}

.detection-feedback.invalid {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
}

.feedback-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detected-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.detection-feedback.success span {
    font-size: 15px;
    font-weight: 700;
    color: #047857;
}

.detection-feedback.invalid span {
    font-size: 15px;
    font-weight: 700;
    color: #92400e;
}

/* === DETECTION FEEDBACK PARTIAL === */
.detection-feedback.partial {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #3b82f6;
}

.detection-feedback.partial span {
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
}

.btn-rastrear:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-rastrear:disabled:hover {
    background: #d1d5db;
    transform: none;
}

/* === BOTÃO RASTREAR VERDE (100%) === */
.btn-rastrear.ready {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
}

.btn-rastrear.ready:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}

/* === HERO RESPONSIVE === */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .search-box-main {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-rastrear-main {
        width: 100%;
        justify-content: center;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .search-input-main {
        font-size: 16px;
        padding: 20px 0;
    }
    
    .search-input-wrapper {
        padding: 0 20px;
    }
}

/* === AD SECTIONS === */
.ad-section,
.ad-section-results {
    padding: 40px 25px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.ad-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ad-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 4px;
}

.ad-content {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 24px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-placeholder {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.ad-placeholder p {
    margin: 0;
}

/* Ad Responsivo */
@media (max-width: 768px) {
    .ad-section,
    .ad-section-results {
        padding: 30px 20px;
    }
    
    .ad-content {
        min-height: 80px;
    }
}

/* === BREADCRUMB === */
.breadcrumb-section {
    padding: 20px 25px 0;
    background: var(--bg-white);
}

.breadcrumb-link {
    background: transparent;
    border: none;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.breadcrumb-link:hover {
    background: #f0f4ff;
    color: #1e40af;
}

.breadcrumb-link i {
    font-size: 12px;
}

@media (max-width: 480px) {
    .breadcrumb-section {
        padding: 16px 20px 0;
    }
    
    .breadcrumb-link {
        font-size: 13px;
    }
}

/* === INPUT NOT FOUND (Vermelho) === */
.search-input-wrapper.not-found {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.carrier-icon-main .fa-times-circle {
    color: #dc2626 !important;
    font-size: 28px !important;
}

/* === BOTÃO VER DOCUMENTO === */
.btn-view-document {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    transition: all 0.2s;
}

.btn-view-document:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 75, 184, 0.2);
}

.btn-view-document i {
    font-size: 13px;
}

/* === BOTÃO WHATSAPP SOLO === */
.btn-whatsapp-solo {
    width: 100%;
    background: var(--whatsapp-green);
    color: white;
    border: none;
    padding: 18px 20px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-whatsapp-solo:hover {
    background: #22c55e;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
}

.btn-whatsapp-solo .btn-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-whatsapp-solo .btn-icon i {
    font-size: 24px;
}

.btn-whatsapp-solo .btn-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-whatsapp-solo .btn-title {
    font-size: 15px;
    font-weight: 700;
}

.btn-whatsapp-solo .btn-subtitle {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

.btn-whatsapp-solo > i {
    font-size: 18px;
    opacity: 0.8;
}
