@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&family=Oxygen:wght@400;700&display=swap');

:root {
    --primary: #7b16e8;
    --secondary: #c52cff;
    --accent: #77c72f;
    --accent-2: #b4ec51;
    --dark: #111827;
    --text: #29313d;
    --muted: #667085;
    --surface: #ffffff;
    --soft: #f5f7fb;
    --border: #e4e7ec;
    --container: 1120px;
    --shadow: 0 18px 45px rgba(16, 24, 40, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

img,
video,
iframe {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(102, 0, 212, .92), rgba(203, 41, 255, .88)),
        var(--header-bg) center / cover no-repeat;
    border-bottom: 5px solid rgba(255,255,255,.88);
    box-shadow: 0 8px 30px rgba(54, 0, 112, .2);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
}

.brand img {
    width: min(230px, 42vw);
    max-height: 72px;
    object-fit: contain;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.5vw, 28px);
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-family: "Oxygen", sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    transition: opacity .2s ease, transform .2s ease;
}

.main-nav a:hover {
    opacity: .78;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.15);
    cursor: pointer;
    margin-left: auto;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
    margin: 5px auto;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 610px;
    padding: 48px 0 70px;
    background: #32131a;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--hero-bg) center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 35% 46%, rgba(255, 177, 58, .25), transparent 35%),
        linear-gradient(90deg, rgba(26, 7, 12, .64), rgba(47, 9, 14, .18) 58%, rgba(18, 7, 9, .66));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr);
    gap: 30px;
    align-items: start;
}

.section-strip {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    color: #fff;
    font-size: clamp(14px, 1.6vw, 18px);
    text-align: center;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 25px rgba(74, 157, 20, .22);
    margin-bottom: 24px;
}

.section-strip.blue {
    background: linear-gradient(90deg, #0058c8, #1681ef);
    margin-bottom: 30px;
}

.player-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.player-shell iframe,
.player-shell video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
    background: #000;
}

.player-error {
    min-height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    padding: 30px;
    text-align: center;
}

.sidebar {
    display: grid;
    gap: 20px;
}

.sidebar .section-strip {
    margin-bottom: 0;
}

.ad-card {
    display: block;
    overflow: hidden;
    background: #f00;
    box-shadow: var(--shadow);
}

.ad-card img {
    width: 100%;
    aspect-ratio: 1.12 / 1;
    object-fit: cover;
}

.contact-card {
    background: rgba(255,255,255,.91);
    padding: 21px;
    text-align: center;
    box-shadow: var(--shadow);
    font-size: 15px;
}

.contact-card p {
    margin: 12px 0;
}

.contact-card a {
    text-decoration: none;
    word-break: break-word;
}

.content-section {
    padding: 78px 0;
}

.content-section.alt {
    background: var(--soft);
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading.left {
    text-align: left;
}

.section-heading span,
.bible-inner span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.section-heading h2,
.bible-inner h2 {
    margin: 8px 0 0;
    color: var(--dark);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

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

.program-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.program-time {
    flex: 0 0 auto;
    min-width: 82px;
    padding: 12px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
    font-weight: 800;
}

.program-card span {
    color: var(--muted);
    font-size: 13px;
}

.program-card h3 {
    margin: 3px 0 0;
    font-size: 18px;
    color: var(--dark);
}

.team-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.team-card,
.news-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(16, 24, 40, .07);
    overflow: hidden;
}

.team-card {
    text-align: center;
    padding: 28px 20px;
}

.avatar {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.team-card h3 {
    margin: 0;
    color: var(--dark);
}

.team-card p {
    margin: 5px 0 0;
    color: var(--muted);
}

.news-accent {
    height: 7px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.news-body {
    padding: 24px;
}

.news-body h3 {
    margin-top: 0;
    color: var(--dark);
}

.news-body p {
    color: var(--muted);
}

.news-body a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.photo-card {
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    cursor: zoom-in;
    background: #ddd;
    box-shadow: 0 12px 30px rgba(16,24,40,.1);
}

.photo-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .25s ease;
}

.photo-card:hover img {
    transform: scale(1.035);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.video-card {
    text-decoration: none;
    color: var(--dark);
}

.video-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #101010;
    aspect-ratio: 16 / 9;
    box-shadow: 0 14px 35px rgba(16,24,40,.14);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.04);
}

.video-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
}

.play-button {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(0,0,0,.68);
    backdrop-filter: blur(4px);
    padding-left: 4px;
}

.video-card h3 {
    margin: 12px 3px 0;
    font-size: 16px;
}

.banner-section {
    padding: 0 0 68px;
}

.banner-slider {
    position: relative;
    min-height: 220px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #111;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bible-section {
    padding: 70px 0;
    color: #fff;
    background:
        radial-gradient(circle at 15% 50%, rgba(255,255,255,.16), transparent 28%),
        linear-gradient(120deg, var(--primary), var(--secondary));
}

.bible-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.bible-inner span,
.bible-inner h2 {
    color: #fff;
}

.bible-inner p {
    margin-bottom: 0;
    opacity: .9;
}

.cta-button {
    flex: 0 0 auto;
    padding: 14px 22px;
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.contact-section {
    background: #101828;
    color: #fff;
}

.contact-section .section-heading h2,
.contact-section .section-heading span {
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: center;
}

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

.contact-list a,
.contact-list span {
    padding: 14px 16px;
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.08);
    text-decoration: none;
}

.site-footer {
    padding: 22px 0;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(102, 0, 212, .94), rgba(203, 41, 255, .92)),
        var(--header-bg) center / cover no-repeat;
}

.site-footer p {
    margin: 0;
    font-weight: 700;
}

.whatsapp-float,
.back-to-top {
    position: fixed;
    right: 20px;
    z-index: 900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.whatsapp-float {
    bottom: 20px;
    background: #20b95a;
}

.back-to-top {
    bottom: 84px;
    background: var(--primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 28px;
    display: none;
    place-items: center;
    background: rgba(0,0,0,.88);
}

.lightbox.open {
    display: grid;
}

.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 85vh;
    border-radius: 14px;
}

.lightbox button {
    position: absolute;
    top: 18px;
    right: 24px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 44px;
    cursor: pointer;
}

@media (max-width: 1000px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        margin: 0;
        padding: 16px;
        background: rgba(86, 0, 173, .98);
        box-shadow: 0 16px 30px rgba(0,0,0,.2);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 8px;
        text-align: center;
    }

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

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

    .sidebar .section-strip {
        grid-column: 2;
        align-self: end;
    }

    .contact-card {
        grid-column: 2;
    }

    .ad-card {
        grid-row: 1 / span 2;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 76px;
    }

    .brand img {
        max-height: 58px;
    }

    .hero {
        padding: 28px 0 44px;
        min-height: auto;
    }

    .hero-grid,
    .sidebar,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .sidebar .section-strip,
    .contact-card,
    .ad-card {
        grid-column: auto;
        grid-row: auto;
    }

    .program-grid,
    .team-grid,
    .news-grid,
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 58px 0;
    }

    .bible-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .banner-slider {
        min-height: 150px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(calc(100% - 22px), var(--container));
    }

    .section-strip {
        margin-bottom: 14px;
    }

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

    .program-card {
        align-items: flex-start;
    }

    .program-time {
        min-width: 72px;
    }

    .whatsapp-float,
    .back-to-top {
        right: 14px;
    }
}


/* Slide lateral de anúncios */

.ad-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 700 / 620;
    overflow: hidden;
    background: #18090d;
    box-shadow: var(--shadow);
}

.ad-slides,
.ad-slide {
    position: absolute;
    inset: 0;
}

.ad-slide {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .7s ease,
        visibility .7s ease;
}

.ad-slide.active {
    opacity: 1;
    visibility: visible;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 10;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.ad-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    cursor: pointer;
}

.ad-dot.active {
    background: #fff;
    transform: scale(1.15);
}

@media (max-width: 1000px) {
    .ad-slider {
        grid-row: 1 / span 2;
    }
}

@media (max-width: 760px) {
    .ad-slider {
        grid-column: auto;
        grid-row: auto;
    }
}


/* Galeria de vídeos modelo clássico */

.video-gallery-section {
    padding-top: 56px;
    padding-bottom: 68px;
    background: #ffffff;
}

.video-gallery-heading {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 7px 20px;
    border-radius: 999px;
    color: #ffffff;
    background: #0961d8;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.video-gallery-section .video-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 48px 28px;
}

.video-gallery-section .video-card {
    display: block;
    overflow: hidden;
    border: 1px solid #d5d7da;
    border-radius: 4px;
    color: #222222;
    background: #ffffff;
    text-decoration: none;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, .08);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.video-gallery-section .video-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, .13);
}

.video-gallery-section .video-thumb {
    position: relative;
    width: calc(100% - 8px);
    margin: 4px 4px 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #d6d6d6;
}

.video-gallery-section .video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-gallery-section .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, .96);
    border-radius: 50%;
    background: rgba(80, 80, 80, .4);
    transform: translate(-50%, -50%);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, .3);
}

.video-gallery-section .play-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #ffffff;
    transform: translate(-50%, -50%);
}

.video-gallery-section .video-card h3 {
    min-height: 76px;
    margin: 0;
    padding: 14px 13px 16px;
    color: #222222;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.22;
}

.video-gallery-empty {
    padding: 30px;
    border: 1px dashed #c7cbd1;
    border-radius: 8px;
    color: #667085;
    text-align: center;
    background: #f8fafc;
}

@media (max-width: 1000px) {
    .video-gallery-section .video-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
    }
}

@media (max-width: 560px) {
    .video-gallery-section {
        padding-top: 42px;
        padding-bottom: 48px;
    }

    .video-gallery-section .video-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .video-gallery-section .video-card h3 {
        min-height: auto;
    }
}


/* Programação semanal moderna */

.weekly-programming-section {
    position: relative;
    overflow: hidden;
    padding: 82px 0;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(123, 22, 232, .08),
            transparent 30%
        ),
        #f7f8fc;
}

.programming-heading {
    max-width: 700px;
    margin: 0 auto 34px;
    text-align: center;
}

.programming-heading > span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.programming-heading h2 {
    margin: 9px 0 10px;
    color: var(--dark);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
}

.programming-heading p {
    margin: 0;
    color: var(--muted);
}

.public-program-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
    padding: 8px 4px 12px;
    scrollbar-width: thin;
}

.public-program-tab {
    flex: 0 0 auto;
    padding: 11px 16px;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    color: #475467;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 24, 40, .04);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition:
        color .18s ease,
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.public-program-tab:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.public-program-tab.active {
    color: #ffffff;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );
    box-shadow: 0 10px 24px rgba(123, 22, 232, .25);
}

.short-day-name {
    display: none;
}

.public-program-panel {
    display: none;
}

.public-program-panel.active {
    display: block;
    animation: programPanelFade .25s ease;
}

@keyframes programPanelFade {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.public-program-day-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
    padding: 0 4px;
}

.public-program-day-header span {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.public-program-day-header h3 {
    margin: 3px 0 0;
    color: var(--dark);
    font-size: 25px;
}

.public-program-day-header > strong {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(123, 22, 232, .09);
    font-size: 12px;
}

.public-program-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.public-program-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(125px, .55fr) 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 122px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(16, 24, 40, .07);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.public-program-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 0 5px 5px 0;
    background:
        linear-gradient(
            180deg,
            var(--primary),
            var(--secondary)
        );
}

.public-program-card:hover {
    transform: translateY(-3px);
    border-color: rgba(123, 22, 232, .28);
    box-shadow: 0 18px 42px rgba(16, 24, 40, .11);
}

.program-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--primary);
    background: rgba(123, 22, 232, .09);
    font-size: 13px;
    font-weight: 800;
}

.program-time-box {
    min-width: 0;
}

.program-time-box span {
    display: block;
    margin-bottom: 3px;
    color: #98a2b3;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.program-time-box strong {
    display: block;
    color: var(--primary);
    font-size: 15px;
    line-height: 1.35;
}

.program-info {
    min-width: 0;
}

.program-info h4 {
    margin: 0;
    color: var(--dark);
    font-size: 18px;
    line-height: 1.3;
}

.program-info p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.program-live-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding-left: 3px;
    border-radius: 50%;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );
    box-shadow: 0 8px 20px rgba(123, 22, 232, .24);
    font-size: 12px;
}

.public-program-empty {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 50px 20px;
    border: 1px dashed #cfd4dc;
    border-radius: 20px;
    color: var(--muted);
    background: rgba(255, 255, 255, .72);
    text-align: center;
}

.public-program-empty > div {
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 36px;
}

.public-program-empty strong {
    color: var(--dark);
}

@media (max-width: 1050px) {
    .public-program-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .weekly-programming-section {
        padding: 60px 0;
    }

    .public-program-tabs {
        justify-content: flex-start;
    }

    .full-day-name {
        display: none;
    }

    .short-day-name {
        display: inline;
        text-transform: uppercase;
    }

    .public-program-tab {
        min-width: 55px;
        padding: 10px 13px;
    }

    .public-program-day-header {
        align-items: flex-start;
    }

    .public-program-card {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .program-time-box {
        grid-column: 2;
        grid-row: 1;
    }

    .program-info {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-left: 2px;
    }

    .program-live-icon {
        grid-column: 3;
        grid-row: 1;
    }
}

/* =====================================================
   CORREÇÃO DO ESPAÇO ABAIXO DO RODAPÉ
   ===================================================== */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100%;
    background: #101828 !important;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    margin: 0 !important;
    padding-bottom: 0 !important;
}

.contact-section {
    margin-bottom: 0 !important;
}

.site-footer {
    flex-shrink: 0;
    margin: 0 !important;
    padding: 22px 0 !important;
    background: #101828 !important;
    border: 0 !important;
}

.site-footer p {
    margin: 0 !important;
}


/* Widget público de programação */

.programming-widget-public-section {
    padding: 78px 0;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(123, 22, 232, .08),
            transparent 30%
        ),
        #f7f8fc;
}

.programming-widget-public-heading {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.programming-widget-public-heading span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.programming-widget-public-heading h2 {
    margin: 8px 0 10px;
    color: var(--dark);
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.08;
}

.programming-widget-public-heading p {
    margin: 0;
    color: var(--muted);
}

.programming-widget-frame-wrap {
    padding: 14px;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(16, 24, 40, .1);
}

.programming-widget-frame {
    display: block;
    width: 100%;
    height: var(--programming-widget-height, 720px);
    border: 0;
    border-radius: 15px;
    background: #ffffff;
}

.programming-widget-fallback {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
}

.programming-widget-fallback a {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 700px) {
    .programming-widget-public-section {
        padding: 58px 0;
    }

    .programming-widget-frame-wrap {
        padding: 7px;
        border-radius: 17px;
    }

    .programming-widget-frame {
        min-height: 620px;
        border-radius: 12px;
    }

    .programming-widget-fallback {
        flex-direction: column;
        text-align: center;
    }
}


/* =====================================================
   Modo cinema do player
   ===================================================== */

.player-shell {
    position: relative;
}

.cinema-toggle {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 10px;
    color: #ffffff;
    background: rgba(8, 12, 20, .76);
    backdrop-filter: blur(8px);
    box-shadow: 0 7px 22px rgba(0, 0, 0, .3);
    cursor: pointer;
    font-size: 12px;
    transition:
        background .18s ease,
        transform .18s ease,
        opacity .18s ease;
}

.cinema-toggle:hover {
    background: rgba(123, 22, 232, .94);
    transform: translateY(-1px);
}

.cinema-toggle span {
    font-size: 18px;
    line-height: 1;
}

.cinema-toggle strong {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.cinema-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1998;
    visibility: hidden;
    opacity: 0;
    background: rgba(0, 0, 0, .94);
    backdrop-filter: blur(4px);
    transition:
        opacity .25s ease,
        visibility .25s ease;
}

body.cinema-mode {
    overflow: hidden !important;
}

body.cinema-mode .cinema-backdrop {
    visibility: visible;
    opacity: 1;
}

/*
 * O hero usa isolation:isolate.
 * No modo cinema removemos esse contexto para o player
 * conseguir ficar acima do fundo escuro.
 */
body.cinema-mode .hero {
    isolation: auto;
}

body.cinema-mode .live-column {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 2000;
    width: min(
        1120px,
        calc(100vw - 42px)
    );
    margin: 0;
    transform: translate(-50%, -50%);
}

body.cinema-mode .live-column .section-strip {
    margin-bottom: 12px;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .38);
}

body.cinema-mode .player-shell {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .72),
        0 0 0 1px rgba(255, 255, 255, .05);
}

body.cinema-mode .cinema-toggle {
    background: rgba(220, 38, 38, .9);
}

body.cinema-mode .cinema-toggle:hover {
    background: #dc2626;
}

@media (max-width: 700px) {
    .cinema-toggle {
        top: 8px;
        right: 8px;
        min-height: 34px;
        padding: 6px 9px;
    }

    .cinema-toggle strong {
        display: none;
    }

    body.cinema-mode .live-column {
        width: calc(100vw - 18px);
    }

    body.cinema-mode .live-column .section-strip {
        margin-bottom: 8px;
        font-size: 13px;
    }
}

@media (max-height: 620px) and (orientation: landscape) {
    body.cinema-mode .live-column {
        width: min(
            920px,
            calc(100vw - 120px)
        );
    }

    body.cinema-mode .live-column .section-strip {
        min-height: 32px;
        margin-bottom: 7px;
        padding: 5px 12px;
        font-size: 12px;
    }
}

/* =====================================================
   Botão Modo Cinema acima do player
   ===================================================== */

.player-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 0 10px;
}

.player-toolbar .cinema-toggle {
    position: static !important;
    top: auto !important;
    right: auto !important;
    z-index: 10;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
}

.player-toolbar .cinema-toggle:hover {
    background: linear-gradient(
        135deg,
        var(--secondary),
        var(--primary)
    );
}

body.cinema-mode .player-toolbar {
    position: relative;
    z-index: 2001;
    margin-bottom: 9px;
}

body.cinema-mode .player-toolbar .cinema-toggle {
    background: #dc2626;
}

body.cinema-mode .player-toolbar .cinema-toggle:hover {
    background: #b91c1c;
}

@media (max-width: 700px) {
    .player-toolbar {
        margin-bottom: 7px;
    }

    .player-toolbar .cinema-toggle {
        min-height: 36px;
        padding: 7px 11px;
    }

    .player-toolbar .cinema-toggle strong {
        display: inline;
    }
}

/* =====================================================
   Contador real de visitantes online
   ===================================================== */

.footer-online {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 12px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.online-dot {
    position: relative;
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #21d66f;
    box-shadow: 0 0 0 4px rgba(33, 214, 111, .15);
}

.online-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(33, 214, 111, .5);
    border-radius: 50%;
    animation: onlinePulse 1.8s ease-out infinite;
}

@keyframes onlinePulse {
    0% {
        opacity: .8;
        transform: scale(.55);
    }

    100% {
        opacity: 0;
        transform: scale(1.45);
    }
}

@media (max-width: 600px) {
    .footer-online {
        font-size: 12px;
    }
}

/* =====================================================
   Contato e botões das redes sociais
   ===================================================== */

.contact-grid-social {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
    align-items: start;
    gap: 64px;
}

.social-panel,
.contact-details-panel {
    min-width: 0;
}

.social-panel-heading,
.contact-panel-heading {
    margin-bottom: 22px;
}

.social-panel-heading > span,
.contact-panel-heading > span {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
}

.social-panel-heading h2,
.contact-panel-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
}

.social-panel > p {
    max-width: 590px;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, .82);
}

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

.social-button {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 70px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 15px;
    color: #ffffff;
    background: rgba(255, 255, 255, .07);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.social-button:hover {
    color: #ffffff;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .2);
}

.social-button > span:last-child {
    display: grid;
    line-height: 1.2;
}

.social-button small {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .68);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.social-button strong {
    color: #ffffff;
    font-size: 15px;
}

.social-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.social-instagram .social-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.social-facebook .social-icon {
    background: #1877f2;
}

.social-instagram .social-icon {
    background:
        linear-gradient(
            135deg,
            #833ab4,
            #fd1d1d,
            #fcb045
        );
}

.social-youtube .social-icon {
    background: #ff0033;
}

.social-tiktok .social-icon {
    background: #111111;
    box-shadow:
        -2px 0 0 #25f4ee,
        2px 0 0 #fe2c55;
}

.contact-details-panel {
    padding-top: 0;
}

.contact-panel-heading {
    margin-bottom: 18px;
}

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

.contact-list a,
.contact-list span {
    display: block;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, .09);
    text-decoration: none;
    transition:
        background .18s ease,
        transform .18s ease;
}

.contact-list a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .14);
    transform: translateX(3px);
}

.contact-list strong {
    margin-right: 4px;
}

@media (max-width: 900px) {
    .contact-grid-social {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 560px) {
    .social-buttons {
        grid-template-columns: 1fr;
    }

    .social-button {
        min-height: 65px;
    }
}

/* =====================================================
   Descrição acima do copyright
   ===================================================== */

.footer-description {
    max-width: 760px;
    margin: 0 auto 10px;
    color: rgba(255, 255, 255, .82);
    text-align: center;
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 600px) {
    .footer-description {
        font-size: 14px;
        margin-bottom: 8px;
    }
}
