html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.programacao-page {
    max-width: 900px;
    margin: 0 auto;
}

.programacao-dia {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: .4rem;
}

.programacao-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: .8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.programacao-hora {
    font-weight: 700;
    color: #16643d;
}

.programacao-info {
    display: flex;
    flex-direction: column;
}

.programacao-titulo {
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

    .programacao-titulo:hover {
        text-decoration: underline;
    }

    .programacao-titulo.privado {
        color: #555;
        font-style: italic;
    }

.programacao-tipo {
    font-size: .85rem;
    color: #666;
}

.programacao-estado {
    color: white;
    padding: .25rem .55rem;
    border-radius: .4rem;
    font-size: .85rem;
    white-space: nowrap;
}

.estado-verde {
    background: #16643d;
}

.estado-laranja {
    background: #ff6600;
}

.estado-vermelho {
    background: #cc0000;
}

@media (max-width: 700px) {
    .programacao-item {
        grid-template-columns: 60px 1fr;
    }

    .programacao-estado {
        grid-column: 2;
        justify-self: start;
    }
}

.home-videos {
    margin-top: 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.video-item {
    min-width: 0;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

    .video-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.video-item h3 {
    margin-top: .6rem;
    font-size: 1rem;
    line-height: 1.25;
}

.video-date {
    margin: .15rem 0 0;
    color: #666;
    font-size: .9rem;
}

.home-hero {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0 2.5rem;
}

    .home-hero h1 {
        font-size: clamp(2rem, 4vw, 3.2rem);
        margin-bottom: 1rem;
    }

    .home-hero p {
        font-size: 1.08rem;
        line-height: 1.65;
    }

.home-hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
}

.home-section {
    margin: 2.5rem 0;
}

.home-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.home-link-box {
    display: block;
    padding: 1.2rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .home-link-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0,0,0,.08);
    }

    .home-link-box h3 {
        font-size: 1.1rem;
        margin-bottom: .4rem;
        color: #16643d;
    }

    .home-link-box p {
        margin: 0;
        color: #555;
    }

.home-content-list {
    line-height: 1.8;
}

.home-cta {
    margin: 2.5rem 0;
    padding: 1.2rem;
    border-radius: 14px;
    background: #eef7f1;
    border: 1px solid #cfe8d8;
}

@media (max-width: 800px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-hero-image {
        order: -1;
    }
}

.colab-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.colab-nav {
    display: flex;
    gap: .6rem;
}

.colab-arrow {
    padding: .45rem .75rem;
    border-radius: 999px;
    background: #16643d;
    color: white;
    text-decoration: none;
    font-size: .9rem;
}

    .colab-arrow:hover {
        color: white;
        background: #0f4d2f;
    }

.colab-descricao {
    margin: 1rem 0 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.colab-video-heading {
    margin-bottom: .55rem;
}

    .colab-video-heading h3 {
        margin: 0;
        font-size: 1rem;
        color: #16643d;
    }

    .colab-video-heading p {
        margin: .15rem 0 0;
        font-size: .9rem;
        color: #666;
    }

.colab-nav-bottom {
    margin-top: 2rem;
    justify-content: center;
}

.home-colaboracoes h1 {
    margin-bottom: .4rem;
}

.home-colaboracoes h2 {
    margin-top: 1.5rem;
}

.podcast-box {
    max-width: 720px;
}

    .podcast-box iframe {
        border-radius: 12px;
        margin: .75rem 0;
    }

.podcast-box {
    max-width: 720px;
}

.podcast-player {
    width: 100%;
    margin: .75rem 0 1rem;
}

.calendario-page {
    max-width: 1200px;
    margin: 0 auto;
}

.calendario-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.calendario-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

    .calendario-nav a {
        text-decoration: none;
        background: #16643d;
        color: white;
        padding: .45rem .75rem;
        border-radius: 999px;
    }

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendario-semanas div {
    font-weight: 700;
    text-align: center;
    padding: .5rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.calendario-dia {
    min-height: 145px;
    border: 1px solid #e5e7eb;
    padding: .45rem;
    background: white;
}

    .calendario-dia.fora-mes {
        background: #f8fafc;
        color: #999;
    }

    .calendario-dia.hoje {
        outline: 3px solid #16643d;
        outline-offset: -3px;
    }

.calendario-numero {
    font-weight: 700;
    margin-bottom: .35rem;
}

.calendario-video {
    font-size: .8rem;
    margin-bottom: .4rem;
    padding: .35rem;
    border-radius: .45rem;
    background: #f1f5f9;
}

    .calendario-video a {
        color: #111;
        font-weight: 600;
        text-decoration: none;
    }

        .calendario-video a:hover {
            text-decoration: underline;
        }

.calendario-hora {
    display: block;
    font-weight: 700;
    color: #16643d;
}

.calendario-estado {
    display: inline-block;
    margin-top: .25rem;
    color: white;
    padding: .15rem .35rem;
    border-radius: .3rem;
    font-size: .72rem;
}

@media (max-width: 800px) {
    .calendario-grid {
        display: block;
    }

    .calendario-semanas {
        display: none;
    }

    .calendario-dia {
        min-height: auto;
        margin-bottom: .75rem;
        border-radius: 10px;
    }

        .calendario-dia.fora-mes {
            display: none;
        }
}

@media (max-width: 800px) {
    .calendario-grid {
        display: block;
    }

    .calendario-semanas {
        display: none;
    }

    .calendario-dia {
        min-height: auto;
        margin-bottom: .75rem;
        border-radius: 12px;
        padding: .75rem;
    }

        .calendario-dia.fora-mes {
            display: none;
        }

    .calendario-numero {
        font-size: 1.1rem;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: .35rem;
        margin-bottom: .55rem;
    }

    .calendario-video {
        font-size: .95rem;
        padding: .65rem;
        margin-bottom: .55rem;
    }

    .calendario-hora {
        font-size: .9rem;
    }

    .calendario-estado {
        font-size: .78rem;
    }
}

.lojas-page {
    max-width: 1100px;
    margin: 0 auto;
}

.lojas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.loja-card {
    padding: 1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

    .loja-card h2 {
        font-size: 1.15rem;
        margin-bottom: .4rem;
        color: #16643d;
    }

.loja-pais {
    font-size: .9rem;
    color: #666;
}

.loja-notas {
    font-size: .9rem;
    color: #555;
}

.lojas-pais-section {
    margin-top: 2rem;
}

.lojas-pais-titulo {
    font-size: 1.4rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: .4rem;
    margin-bottom: 1rem;
}

.lojas-pais-section {
    margin-top: 2rem;
}

.lojas-pais-titulo {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: .4rem;
    margin-bottom: .8rem;
}

.lojas-lista {
    list-style: none;
    padding-left: 0;
}

    .lojas-lista li {
        padding: .35rem 0;
    }

    .lojas-lista a {
        text-decoration: none;
        color: #16643d;
        font-weight: 500;
    }

        .lojas-lista a:hover {
            text-decoration: underline;
        }

.pesquisa-lojas-form {
    margin: 1.5rem 0 2rem;
    max-width: 720px;
}

    .pesquisa-lojas-form label {
        font-weight: 600;
        margin-bottom: .4rem;
    }

.pesquisa-lojas-row {
    display: flex;
    gap: .6rem;
}

@media (max-width: 700px) {
    .pesquisa-lojas-row {
        flex-direction: column;
    }
}

.lojas-checkbox-lista {
    list-style: none;
    padding-left: 0;
    columns: 2;
}

    .lojas-checkbox-lista li {
        break-inside: avoid;
        padding: .25rem 0;
    }

    .lojas-checkbox-lista label {
        cursor: pointer;
    }

    .lojas-checkbox-lista input {
        margin-right: .35rem;
    }

.lojas-selecao-actions {
    display: flex;
    gap: .5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

@media (max-width: 700px) {
    .lojas-checkbox-lista {
        columns: 1;
    }
}

.eventos-page {
    max-width: 1000px;
    margin: 0 auto;
}

.eventos-pais-section {
    margin-top: 2rem;
}

    .eventos-pais-section h2 {
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: .35rem;
    }

.eventos-cidade-section {
    margin-top: 1.25rem;
}

    .eventos-cidade-section h3 {
        color: #16643d;
        font-size: 1.15rem;
    }

.eventos-lista {
    list-style: none;
    padding-left: 0;
}

.evento-item {
    padding: .8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.evento-titulo {
    font-weight: 700;
    font-size: 1.05rem;
}

    .evento-titulo a {
        color: #111;
        text-decoration: none;
    }

        .evento-titulo a:hover {
            text-decoration: underline;
        }

.evento-data {
    color: #666;
    font-size: .9rem;
    margin-top: .15rem;
}

.evento-notas {
    margin-top: .5rem;
    color: #444;
}

    .evento-notas img {
        max-width: 320px;
        height: auto;
        border-radius: 8px;
    }

.calendario-mes-corrido {
    margin-top: 2rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: .4rem;
}

.dia-semana-mobile {
    display: none;
}

@media (max-width: 768px) {
    .dia-semana-mobile {
        display: inline;
        margin-left: 4px;
        font-size: 0.85rem;
        opacity: 0.75;
        text-transform: lowercase;
    }
}