/* Typography.css - Estilos de Tipografia Global (iFood Style) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset e aplicação global de font */
* {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings - Poppins com peso aumentado para mais impacto */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
    color: #1E90FF;
    text-rendering: optimizeLegibility;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1E90FF;
    letter-spacing: -1px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1E90FF;
}

h3 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1E90FF;
}

h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0A3B82;
}

h5 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0A3B82;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #0A3B82;
}

/* Paragraphs */
p {
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
    letter-spacing: 0.3px;
    font-weight: 400;
}

p.text-muted {
    color: #666666;
    font-weight: 400;
}

/* Links */
a {
    color: #1E90FF;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

a:hover {
    color: #0A3B82;
    text-decoration: underline;
}

/* Labels e Inputs */
label {
    font-size: 14px;
    font-weight: 600;
    color: #1E90FF;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

input, textarea, select {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.2px;
    font-weight: 400;
}

/* Buttons */
.btn {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-transform: none;
}

.btn-primary {
    background-color: #1E90FF;
    border-color: #1E90FF;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #0A3B82;
    border-color: #0A3B82;
}

.btn-danger, .btn-success, .btn-warning, .btn-info {
    font-weight: 600;
    text-transform: none;
}

/* Small text */
small, .small {
    font-size: 13px;
    letter-spacing: 0.2px;
    color: #666666;
    font-weight: 400;
}

/* Badges */
.badge {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
}

/* Cards */
.card {
    border-radius: 8px;
}

.card-title {
    font-weight: 600;
    color: #212121;
}

.card-text {
    font-size: 14px;
    color: #757575;
}

/* Tables */
table {
    font-size: 14px;
}

th {
    font-weight: 600;
    color: #212121;
    background-color: #F5F5F5;
}

td {
    color: #212121;
    vertical-align: middle;
}

/* Form controls */
.form-control, .form-select {
    font-size: 14px;
    letter-spacing: 0.2px;
    border-color: #EEEEEE;
    border-radius: 6px;
}

.form-control:focus, .form-select:focus {
    border-color: #1E90FF;
    box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.15);
}

/* Navbar */
.navbar {
    font-size: 14px;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Alerts */
.alert {
    font-size: 14px;
    border-radius: 6px;
}

/* Dropdowns */
.dropdown-menu {
    border-radius: 6px;
    border: 1px solid #EEEEEE;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    font-size: 14px;
    color: #212121;
}

.dropdown-item:hover {
    background-color: #F5F5F5;
    color: #1E90FF;
}

/* Modals */
.modal-header {
    border-bottom: 1px solid #EEEEEE;
}

.modal-title {
    font-weight: 700;
    color: #212121;
}

.modal-body {
    font-size: 14px;
    color: #212121;
}

/* Footer */
footer {
    font-size: 13px;
    color: #757575;
}

/* Code blocks */
code, pre {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background-color: #F5F5F5;
    border-radius: 4px;
    padding: 2px 6px;
}

/* Loading spinners */
.spinner-border {
    border-width: 3px;
}

/* Tooltips */
.tooltip-inner {
    font-size: 12px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    p, label, .btn {
        font-size: 13px;
    }
}
