/* =========================================================
   SIMULADOR DE CUSTO DE VEÍCULO
   Estilos exclusivos da ferramenta
   ========================================================= */

/* ---------------------------------------------------------
   Orientação
   --------------------------------------------------------- */

.tool-orientation {
    border-top: 3px solid #2563eb;
}

.orientation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.orientation-item {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.orientation-item strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 1rem;
}

.orientation-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   Resultado
   --------------------------------------------------------- */

.vehicle-result {
    scroll-margin-top: 110px;
}

.vehicle-result .summary-grid {
    margin-bottom: 24px;
}

.vehicle-result .summary-card {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vehicle-result .summary-value {
    font-variant-numeric: tabular-nums;
}

.result-total-value {
    color: #2563eb;
    font-size: 1.15rem;
}


/* ---------------------------------------------------------
   Informações e interpretação
   --------------------------------------------------------- */

.result-information {
    border-top: 3px solid #2563eb;
}

.information-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.information-item {
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.information-item h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 1rem;
}

.information-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   Aviso importante
   --------------------------------------------------------- */

.notice-box {
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    line-height: 1.6;
}

.notice-box strong {
    color: #0f172a;
}


/* ---------------------------------------------------------
   Ajustes de impressão
   --------------------------------------------------------- */

@media print {
    header,
    footer,
    .tool-breadcrumb,
    .ad-container,
    .tool-orientation,
    .actions,
    .result-actions {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .tool-page {
        padding: 0;
    }

    .tool-header {
        padding-top: 20px;
    }

    .tool-section {
        padding-top: 10px;
    }

    .section-card,
    .vehicle-result {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }

    .vehicle-result {
        display: block !important;
    }

    .result-information {
        break-inside: avoid;
    }
}


/* ---------------------------------------------------------
   Responsividade
   --------------------------------------------------------- */

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

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

@media (max-width: 650px) {
    .orientation-grid,
    .information-grid {
        gap: 14px;
    }

    .orientation-item,
    .information-item {
        padding: 16px;
    }

    .notice-box {
        padding: 16px;
    }
}