:root {
    --verde: #176b42;
    --verde-escuro: #104b30;
    --verde-claro: #eaf5ee;
    --vermelho: #c83b35;
    --dourado: #e6b84c;
    --fundo: #f5f7f5;
    --texto: #24332a;
    --texto-secundario: #68756c;
    --borda: #e5eae6;
    --branco: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--fundo);
    color: var(--texto);
}

/* =========================================
   HEADER
========================================= */

.header {
    background: linear-gradient(
        135deg,
        var(--verde-escuro),
        var(--verde)
    );
    color: white;
    padding: 5px 10px;
    text-align: center;
}

.header-content {
    max-width: 900px;
    margin: auto;
}

.logo {
    max-width: 220px;
    max-height: 180px;
    object-fit: contain;
}

.header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
}

.header h2 {
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

.header p {
    margin: 22px 0 0;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
}

/* =========================================
   CONTAINER
========================================= */

.container {
    max-width: 900px;
    margin: auto;
    padding: 25px 16px 50px;
}

/* =========================================
   LOCATION
========================================= */

.location {
    margin-bottom: 35px;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--borda);
}

.location-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--verde-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.location-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--verde-escuro);
    margin: 0;
}

.location-address {
    font-size: 13px;
    color: var(--texto-secundario);
    margin-top: 4px;
    line-height: 1.4;
}

/* =========================================
   GRID
========================================= */

.activities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* =========================================
   CARD
========================================= */

.activity-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: 16px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
    min-height: 110px;
}

.activity-card:hover {
    transform: translateY(-2px);
    border-color: #cbd8ce;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.activity-card:focus-visible {
    outline: 3px solid var(--verde);
    outline-offset: 3px;
}

.activity-image {
    width: 76px;
    height: 76px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 12px;
    background: #fafafa;
}

.activity-info {
    flex: 1;
    min-width: 0;
}

.activity-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 5px;
}

.activity-location {
    font-size: 12px;
    color: var(--texto-secundario);
    line-height: 1.4;
}

/* =========================================
   BOTÃO
========================================= */

.activity-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: var(--verde);
    color: white;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    transition: background 0.15s ease;
}

.activity-card:hover .activity-button {
    background: var(--verde-escuro);
}

/* =========================================
   SETA
========================================= */

.activity-arrow {
    color: var(--verde);
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
}

/* =========================================
   ATIVIDADE INDISPONÍVEL
   CARD EM TONS DE CINZA
========================================= */

.activity-disabled {
    cursor: default;
    background: #f0f0f0;
    border-color: #d6d6d6;
    color: #666666;
}

/* Não aplicar efeito de interação */

.activity-disabled:hover {
    transform: none;
    border-color: #d6d6d6;
    box-shadow: none;
}

/* Imagem em escala de cinza */

.activity-disabled .activity-image {
    filter: grayscale(100%);
    background: #e8e8e8;
}

/* Nome da atividade */

.activity-disabled .activity-name {
    color: #555555;
}

/* Localização */

.activity-disabled .activity-location {
    color: #777777;
}

/* =========================================
   BOTÃO DESABILITADO
========================================= */

.activity-button-disabled {
    background: #9e9e9e;
    color: #ffffff;
    opacity: 0.8;
    cursor: not-allowed;
}

/* Não alterar a cor no hover */

.activity-disabled:hover .activity-button {
    background: #9e9e9e;
}

/* Seta */

.activity-disabled .activity-arrow {
    color: #999999;
}

/* =========================================
   HORÁRIO DE FUNCIONAMENTO
========================================= */

.activity-schedule {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    line-height: 1.5;
}

.activity-schedule span {
    color: var(--texto-secundario);
    font-size: 13px;
}

.activity-schedule strong {
    color: var(--texto);
    font-size: 16px;
    font-weight: 700;
}

/* =========================================
   DESTAQUE (OPCIONAL)
========================================= */

.activity-card.featured {
    border: 2px solid var(--dourado);
    background: #fffdf7;
}

.badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #fff2cf;
    color: #856213;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   EMPTY STATE
========================================= */

.empty-message {
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    color: var(--texto-secundario);
}

/* =========================================
   FOOTER
========================================= */

.footer {
    text-align: center;
    padding: 25px 15px;
    font-size: 12px;
    color: var(--texto-secundario);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .header {
        padding: 5px 10px;
    }

    .header h1 {
        font-size: 24px;
    }

    .header h2 {
        font-size: 16px;
    }

    .header p {
        font-size: 14px;
    }

    .container {
        padding: 22px 12px 35px;
    }

    .activities {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .activity-card {
        min-height: 100px;
        padding: 13px;
        gap: 12px;
    }

    .activity-image {
        width: 68px;
        height: 68px;
    }

    .activity-name {
        font-size: 15px;
    }

    .location-title {
        font-size: 17px;
    }

    .activity-schedule strong {
        font-size: 13px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .activity-card,
    .activity-button {
        transition: none;
    }

    .activity-card:hover {
        transform: none;
    }
}