@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #ffffff;
    --text: #374151;
    --text-dark: #1f2937;
    --muted: #6b7280;
    --black: #000000;
    --gray: #e5e7eb;
    --gray-hover: #d1d5db;
    --border: #e5e7eb;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 20px 72px;
    display: grid;
    gap: 24px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.countries {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.01em;
}

.text-dark { color: var(--text-dark); }
.text-dark-muted { color: var(--muted); }

/* ============================================
   CARDS COM IMAGEM (2 cards)
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 600px;
}

.content-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}

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

.card-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
}

.card-desc {
    font-size: 11px;
    color: var(--muted);
}

.btn-full {
    width: 100%;
}

/* ============================================
   BOTÕES - Padrão Global
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Botão Preto - Ação Principal */
.btn-primary {
    background: var(--black);
    color: #ffffff;
}

.btn-primary:hover {
    background: #1a1a1a;
}

/* Botão Cinza - Ação Secundária */
.btn-secondary {
    background: var(--gray);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--gray-hover);
    color: var(--text-dark);
}

.icon-sm {
    font-size: 14px;
    line-height: 1;
}

/* ============================================
   ARQUIVO / HISTÓRICO
   ============================================ */
.archive {
    display: grid;
    gap: 14px;
}

.archive-head h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.archive-list {
    display: grid;
    gap: 12px;
}

.archive-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    background: #ffffff;
    box-shadow: var(--card-shadow);
    display: grid;
    gap: 12px;
}

.archive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.archive-meta h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.archive .countries {
    color: var(--muted);
    font-weight: 500;
    font-size: 14px;
}

/* ============================================
   META DO MÊS
   ============================================ */
.month-meta {
    display: grid;
    gap: 4px;
}

.month-meta h1 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
    .page {
        padding: 20px 16px 48px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .card-body {
        padding: 12px;
    }

    .card-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 14px;
    }

    .archive-actions {
        flex-direction: column;
    }

    .archive-actions .btn {
        width: 100%;
    }
}
