:root {
    --paper: #fffdf8;
    --paper-deep: #f5efe3;
    --gold: #bf8a24;
    --ink: #2e2922;
    --muted: #635f55;
    --line: #e9e0d1;
    --white: #fff;
    --shadow: 0 14px 35px rgba(71, 47, 17, .12);
    --font-body: "Montserrat", Arial, sans-serif;
    --font-display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 108%; scroll-behavior: smooth; }
body {
    background-color: #8d1a1e;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 232, 184, .08) 0%, transparent 42%),
        radial-gradient(circle at 88% 78%, rgba(24, 59, 34, .22) 0%, transparent 48%);
    color: #ffe8b8;
    font-family: var(--font-body);
    line-height: 1.55;
    overflow-x: hidden;
}
body:has(.cards-admin),
body:has(.auditoria) {
    background: var(--paper);
    color: var(--ink);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1400px, 92%); margin-inline: auto; }

.site-header { inset: 0 0 auto; padding: 1.15rem 0; position: absolute; z-index: 20; }
.header-inner { align-items: center; display: flex; gap: 1.35rem; justify-content: space-between; margin-inline: 0; position: relative; width: 100%; }
.brand { align-items: center; display: inline-flex; flex: 0 0 auto; margin-left: clamp(6rem, 9vw, 9rem); min-width: 160px; }
.brand-logo { height: auto; max-height: 82px; max-width: 140px; object-fit: contain; width: 120px; }
.brand-spark { color: var(--gold); font-size: 1.55rem; margin-right: .45rem; }
.brand-text { color: var(--green); display: flex; flex-direction: column; font-family: var(--font-display); line-height: .78; }
.brand-text small { font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; }
.brand-text strong { color: var(--red); font-size: 3rem; font-weight: 700; }
.main-nav { align-items: center; display: flex; gap: clamp(.7rem, 1.25vw, 1.55rem); justify-content: center; left: 50%; position: absolute; transform: translateX(-50%); }
.nav-link { color: #342c28; font-size: .7rem; font-weight: 800; position: relative; text-transform: uppercase; white-space: nowrap; }
.nav-link::after { background: var(--red); border-radius: 99px; bottom: -.55rem; content: ""; height: 2px; left: 50%; position: absolute; transform: translateX(-50%) scaleX(0); transition: transform .2s ease; width: 78%; }
.nav-link--cta { color: var(--red); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--red); }
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
html[data-theme="dark"] .nav-link.active { color: var(--red); }
.header-actions { align-items: center; display: flex; gap: .45rem; margin-left: auto; margin-right: clamp(1.5rem, 3vw, 3rem); }
.theme-toggle { align-items: center; background: #eee2c9; border: 1px solid #d1bd96; border-radius: 99px; color: var(--gold); cursor: pointer; display: inline-flex; font-family: inherit; height: 32px; justify-content: flex-start; line-height: 1; padding: 3px; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; width: 60px; }
.theme-toggle-icon { align-items: center; background: var(--paper); border-radius: 50%; box-shadow: 0 2px 5px rgba(71,47,17,.2); display: inline-flex; flex: 0 0 24px; font-size: .9rem; height: 24px; justify-content: center; transition: background .2s ease, color .2s ease, transform .2s ease; width: 24px; }
.theme-toggle:hover, .theme-toggle:focus-visible { border-color: var(--gold); box-shadow: 0 3px 10px rgba(71,47,17,.18); outline: 0; }
.theme-toggle:hover .theme-toggle-icon, .theme-toggle:focus-visible .theme-toggle-icon { transform: scale(1.08); }
.social-link { align-items: center; border: 1px solid #d9ccbc; border-radius: 50%; color: #40382f; display: inline-flex; font-size: .95rem; font-weight: 800; height: 31px; justify-content: center; transition: .2s ease; width: 31px; }
.social-icon { display: block; height: 16px; width: 16px; }
.hero .hero-audit { bottom: 2.5rem; height: 32px; padding: 0 1.15rem; position: absolute; right: clamp(1.25rem, 3vw, 3rem); white-space: nowrap; z-index: 4; }
.social-link:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.header-cta { align-items: center; background: var(--red); border-radius: 99px; color: var(--white); display: inline-flex; font-size: .67rem; font-weight: 800; gap: .55rem; letter-spacing: .01em; margin-left: .35rem; padding: .78rem 1.25rem; text-transform: uppercase; white-space: nowrap; }
.nav-toggle { background: transparent; border: 0; cursor: pointer; display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { background: var(--green); height: 2px; width: 25px; }

.hero { background-image: linear-gradient(90deg, rgba(255,253,248,.99) 0%, rgba(255,253,248,.95) 25%, rgba(255,253,248,.2) 53%, rgba(255,253,248,.02) 100%), var(--hero-image, url("../img/hero-natal-friburgo.png")); background-position: center; background-size: cover; min-height: min(52vw, 720px); overflow: hidden; position: relative; }
.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: 0; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,253,248,.99) 0%, rgba(255,253,248,.95) 25%, rgba(255,253,248,.2) 53%, rgba(255,253,248,.02) 100%); z-index: 0; pointer-events: none; }
.hero-wash { background: radial-gradient(circle at 8% 88%, rgba(255,214,120,.32), transparent 24%), linear-gradient(180deg, rgba(255,255,255,.34), transparent 34%); inset: 0; pointer-events: none; position: absolute; z-index: 0; }
.hero-inner { align-items: center; display: flex; margin-inline: 0 auto; min-height: min(52vw, 720px); position: relative; z-index: 1; }
.hero-copy { margin-left: clamp(6rem, 9vw, 9rem); max-width: 500px; padding-top: 5.8rem; }
.hero-kicker { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .2em; margin-bottom: .45rem; text-transform: uppercase; }
.hero-title { color: var(--green); font-family: var(--font-display); line-height: .76; }
.hero-line-one, .hero-line-two { display: block; font-size: clamp(2.3rem, 3.5vw, 4.35rem); font-weight: 600; letter-spacing: -.035em; }
.hero-word { color: var(--red); display: block; font-size: clamp(5.8rem, 10.5vw, 10.8rem); font-weight: 600; letter-spacing: -.08em; line-height: .66; margin-left: -.08em; }
.hero-line-two { margin-left: clamp(3rem, 7vw, 8rem); }
.hero-sub { color: #3f3a33; font-size: .9rem; font-weight: 500; line-height: 1.75; margin: 1.45rem 0 1.3rem; max-width: 365px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { align-items: center; border-radius: 99px; display: inline-flex; font-size: .68rem; font-weight: 800; gap: .65rem; justify-content: center; padding: .78rem 1.15rem; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); box-shadow: 0 8px 18px rgba(141,26,30,.24); color: var(--white); }
.btn-primary span { color: #ffd371; font-size: .9rem; transition: color .2s ease, transform .2s ease; }
.btn-light { background: rgba(255,255,255,.8); border: 1px solid #dccfbf; color: var(--gold); }
.play-ico { align-items: center; background: var(--gold); border-radius: 50%; color: var(--white); display: inline-flex; font-size: .52rem; height: 20px; justify-content: center; width: 20px; }
.hero-video { align-items: center; background: rgba(22,81,43,.9); border: 2px solid #d49e30; border-radius: 50%; bottom: 14%; color: var(--white); display: flex; flex-direction: column; font-family: var(--font-display); font-size: .95rem; font-weight: 700; height: 112px; justify-content: center; line-height: 1; position: absolute; right: 5%; text-align: center; text-transform: uppercase; width: 112px; }
.hero-video-play { font-family: var(--font-body); font-size: 1.25rem; margin-bottom: .4rem; }
.snowflake { color: rgba(255,255,255,.6); position: absolute; top: -30px; user-select: none; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(105vh) rotate(280deg); } }

/* Botões principais sobre o fundo vermelho (#8d1a1e) */
:is(.patrocinadores-cta, .voltar-wrap) .btn-primary {
    background: #183b22;
    border: 1.5px solid rgba(255, 232, 184, .42);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
    color: #ffe8b8;
}
:is(.patrocinadores-cta, .voltar-wrap) .btn-primary span {
    color: #ffe8b8;
}
:is(.patrocinadores-cta, .voltar-wrap) .btn-primary:hover {
    background: #ffe8b8;
    border-color: #ffe8b8;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .38);
    color: #183b22;
}
:is(.patrocinadores-cta, .voltar-wrap) .btn-primary:hover span {
    color: #8d1a1e;
    transform: translateX(3px);
}

.showcase { margin-top: -1.5rem; padding-bottom: 1.2rem; position: relative; z-index: 3; }
.feature-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
.feature-grid--page { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.feature-card {
    background: #ffe8b8;
    border: 2px solid rgba(24, 59, 34, .2);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3), 0 2px 8px rgba(24, 59, 34, .12);
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 190px;
    overflow: hidden;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
    border-color: #183b22;
    box-shadow: 0 24px 52px rgba(0, 0, 0, .4), 0 0 0 2px rgba(255, 232, 184, .35);
    transform: translateY(-6px);
}
.feature-media { min-height: 100%; overflow: hidden; }
.feature-media img { height: 100%; object-fit: cover; transition: transform .45s ease; width: 100%; }
.feature-card:hover .feature-media img { transform: scale(1.06); }
.feature-media--fallback { background-image: linear-gradient(90deg, rgba(24,59,34,.05), rgba(24,59,34,.28)), var(--banner-image, url("../img/banner-natal-2026.jpg")); background-size: cover; }
.feature-media--1 { background-position: 72% 74%; }
.feature-media--2 { background-position: 86% 25%; }
.feature-media--3 { background-position: 100% 66%; }
.feature-body { display: flex; flex-direction: column; justify-content: center; padding: 1.05rem 1rem; position: relative; z-index: 1; }
.feature-heading { align-items: center; display: flex; gap: .55rem; }
.feature-icon { align-items: center; background: #8d1a1e; border-radius: 50%; box-shadow: 0 4px 10px rgba(141, 26, 30, .28); color: #ffe8b8; display: inline-flex; flex: 0 0 auto; font-size: 1rem; height: 36px; justify-content: center; width: 36px; }
.feature-card:nth-child(even) .feature-icon { background: #183b22; box-shadow: 0 4px 10px rgba(24, 59, 34, .28); }
.feature-heading h2, .info-card h2 { color: #183b22; font-size: .9rem; font-weight: 800; line-height: 1.12; text-transform: uppercase; }
.feature-star { color: #8d1a1e; font-size: .75rem; margin: .28rem 0; }
.feature-body p, .info-card p { color: rgba(24, 59, 34, .86); font-size: .76rem; font-weight: 500; line-height: 1.55; }
.feature-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-link { align-items: center; align-self: flex-start; background: rgba(24, 59, 34, .08); border: 1.5px solid #183b22; border-radius: 99px; color: #183b22; display: inline-flex; font-size: .58rem; font-weight: 800; gap: .5rem; margin-top: .6rem; padding: .38rem .75rem; text-transform: uppercase; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.card-link span { font-size: .85rem; transition: transform .2s ease; }
.card-link:hover { transform: translateY(-2px); }
.card-link:hover span { transform: translateX(4px); }
.card-overlay { border-radius: inherit; inset: 0; position: absolute; z-index: 2; }
.card-overlay:focus-visible { outline: 2px solid #183b22; outline-offset: -3px; }
.feature-card:hover .card-link { background: #183b22; border-color: #183b22; color: #ffe8b8; transform: translateY(-2px); }
.feature-card:hover .card-link span { transform: translateX(4px); }

.facts-section { padding: 1.1rem 0 .85rem; }
.facts-shell {
    background: #ffe8b8;
    border: 2px solid rgba(24, 59, 34, .2);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .26);
    padding: .9rem 1rem;
}
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { align-items: center; border-right: 1px solid rgba(24, 59, 34, .18); display: flex; gap: .75rem; padding: .35rem .85rem; }
.fact:last-child { border-right: 0; }
.fact-icon {
    align-items: center;
    background: #183b22;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(24, 59, 34, .22);
    color: #ffe8b8;
    display: inline-flex;
    flex: 0 0 42px;
    font-size: 1.3rem;
    height: 42px;
    justify-content: center;
    line-height: 1;
    width: 42px;
}
.fact:nth-child(even) .fact-icon { background: #8d1a1e; box-shadow: 0 4px 10px rgba(141, 26, 30, .24); }
.fact strong { color: #183b22; display: block; font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.fact span:not(.fact-icon) { color: rgba(24, 59, 34, .82); display: block; font-size: .78rem; font-weight: 500; }

.content-strip { padding: .35rem 0 2.8rem; }
.content-grid { display: grid; gap: .85rem; grid-template-columns: minmax(310px, 1.15fr) 3fr; }
.countdown-panel {
    background: linear-gradient(145deg, #183b22 0%, #112a18 100%);
    border: 2px solid rgba(255, 232, 184, .32);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
    color: #ffe8b8;
    min-height: 178px;
    overflow: hidden;
    padding: 1.15rem;
    position: relative;
}
.countdown-panel::before, .countdown-panel::after { color: #ffe8b8; content: "✦"; font-size: 1.25rem; opacity: .85; position: absolute; }
.countdown-panel::before { left: 1rem; top: .55rem; }
.countdown-panel::after { bottom: .45rem; right: 1rem; }
.countdown-decor { color: #ffe8b8; float: right; font-size: 1rem; }
.countdown-panel > p { color: #ffe8b8; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1.05rem; }
.countdown > div { border-right: 1px solid rgba(255, 232, 184, .24); text-align: center; }
.countdown > div:last-child { border: 0; }
.countdown strong { color: #ffe8b8; display: block; font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1; }
.countdown span { color: rgba(255, 232, 184, .82); display: block; font-size: .56rem; font-weight: 700; margin-top: .55rem; text-transform: uppercase; }
.info-grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.info-card {
    background: #ffe8b8;
    border: 2px solid rgba(24, 59, 34, .2);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .26);
    min-height: 178px;
    overflow: hidden;
    padding: 1.1rem 1.15rem;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.info-card:hover {
    border-color: #183b22;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .38), 0 0 0 2px rgba(255, 232, 184, .35);
    transform: translateY(-6px);
}
.feature-card::after,
.info-card::after { background: radial-gradient(circle, rgba(24, 59, 34, .1), transparent 67%); content: ""; height: 170px; pointer-events: none; position: absolute; right: -70px; top: -35px; width: 170px; }
.info-copy { max-width: 82%; position: relative; z-index: 1; }
.info-icon {
    align-items: center;
    background: #8d1a1e;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(141, 26, 30, .24);
    color: #ffe8b8;
    display: inline-flex;
    font-size: 1.2rem;
    height: 36px;
    justify-content: center;
    line-height: 1;
    margin-bottom: .55rem;
    width: 36px;
}
.info-card:nth-child(even) .info-icon { background: #183b22; box-shadow: 0 4px 10px rgba(24, 59, 34, .24); }
.info-card h2 { color: #183b22; font-size: .84rem; margin-bottom: .35rem; }
.info-card .card-link { color: #183b22; }
.info-card:hover .card-link { background: #183b22; border-color: #183b22; color: #ffe8b8; transform: translateY(-2px); }
.info-card:hover .card-link span { transform: translateX(4px); }
.info-image { bottom: 0; height: 80%; object-fit: contain; object-position: right bottom; position: absolute; right: 0; width: 48%; }

.news-section { background: rgba(24, 59, 34, .22); padding: 3.5rem 0; }
.section-heading { margin-bottom: 1.6rem; text-align: center; }
.section-heading span { color: #ffe8b8; font-size: .7rem; font-weight: 800; letter-spacing: .12em; opacity: .9; text-transform: uppercase; }
.section-heading h2 { color: #ffe8b8; font-family: var(--font-display); font-size: 2.5rem; line-height: 1; }
.news-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.news-card { background: #ffe8b8; border: 2px solid rgba(24, 59, 34, .2); border-radius: 14px; box-shadow: 0 16px 36px rgba(0, 0, 0, .26); overflow: hidden; }
.news-card > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-card > div { padding: 1.1rem; }
.news-card h3 { color: #183b22; font-size: .95rem; line-height: 1.25; }
.news-card p { color: rgba(24, 59, 34, .84); font-size: .82rem; margin-top: .45rem; }

.site-footer { background: #ffe8b8; border-top: 4px solid #183b22; color: #183b22; overflow: hidden; position: relative; }
.footer-frame { display: grid; grid-template-columns: 1.15fr 1.65fr 1.55fr 1.2fr; min-height: 180px; padding: 1.5rem 0 1.2rem; }
.footer-frame > section { border-right: 1px solid rgba(24, 59, 34, .18); padding: .25rem clamp(.85rem, 1.7vw, 1.7rem); }
.footer-frame > section:last-of-type { border-right: 0; }
.footer-identity { padding-left: 0 !important; }
.footer-logo { display: inline-flex; flex-direction: column; font-family: var(--font-display); line-height: .72; }
.footer-logo span { color: #8d1a1e; font-size: 1.05rem; font-weight: 600; }
.footer-logo strong { color: #183b22; font-size: 3rem; font-weight: 700; }
.footer-logo img { height: auto; max-height: 96px; max-width: 140px; object-fit: contain; width: 140px; }
.footer-socials { display: flex; gap: .45rem; margin-top: .85rem; }
.footer-socials a { align-items: center; border: 1.5px solid rgba(24, 59, 34, .35); border-radius: 50%; color: #183b22; display: inline-flex; font-size: .8rem; font-weight: 800; height: 28px; justify-content: center; transition: background .2s ease, border-color .2s ease, color .2s ease; width: 28px; }
.footer-socials a:hover { background: #8d1a1e; border-color: #8d1a1e; color: #ffe8b8; }
.footer-identity p { color: rgba(24, 59, 34, .85); font-size: .7rem; font-weight: 500; line-height: 1.45; margin-top: .8rem; }
.site-footer h2 { color: #8d1a1e; font-size: .76rem; font-weight: 800; letter-spacing: .05em; margin-bottom: 1.2rem; text-transform: uppercase; }
.footer-info ul { columns: 2; list-style: none; }
.footer-info li { break-inside: avoid; margin-bottom: .2rem; }
.footer-info a { color: #183b22; font-size: .72rem; font-weight: 700; transition: color .15s ease; }
.footer-info a:hover { color: #8d1a1e; }
.footer-realizacao { text-align: center; }
.realizacao-list { align-items: flex-start; display: flex; flex-direction: row; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.realizacao-item { align-items: center; color: #183b22; display: flex; flex-direction: column; font-size: .72rem; font-weight: 700; gap: .4rem; line-height: 1.3; text-align: center; }
.realizacao-item img, .realizacao-placeholder { height: 40px; object-fit: contain; width: 40px; }
.realizacao-item .logo-escuro { display: none; }
.pat-logo-escuro { display: none; }
html[data-theme="dark"] .pat-logo-claro { display: none; }
html[data-theme="dark"] .pat-logo-escuro { display: inline-block; }
.realizacao-placeholder { align-items: center; background: #183b22; border-radius: 5px; color: #ffe8b8; display: inline-flex; font-family: var(--font-display); font-size: .85rem; font-weight: 700; justify-content: center; }
.footer-patrocinadores { text-align: center; }
.footer-patrocinadores p { color: #183b22; font-size: .78rem; font-weight: 700; line-height: 1.3; }
.footer-sponsor-list { align-items: center; display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
.footer-sponsor-list a, .footer-sponsor-list span { align-items: center; border-radius: 5px; color: #183b22; display: inline-flex; font-size: .68rem; font-weight: 600; justify-content: center; min-height: 40px; padding: .25rem .4rem; }
.footer-sponsor-list img { max-height: 40px; max-width: 95px; object-fit: contain; }
.footer-cta { border: 1.5px solid #8d1a1e; border-radius: 99px; color: #8d1a1e; display: inline-flex; font-size: .65rem; font-weight: 800; margin-top: .7rem; padding: .34rem .72rem; text-transform: uppercase; }
.footer-credit { background: #183b22; border-top: 0; color: #ffe8b8; font-size: .7rem; padding: .55rem 0; text-align: center; }
.footer-credit strong { color: inherit; font-weight: 800; }

html[data-theme="dark"] {
    color-scheme: dark;
    --paper: #181612;
    --paper-deep: #242018;
    --gold: #edc35d;
    --ink: #f6efe3;
    --muted: #c8beaf;
    --line: #4c4439;
    --shadow: 0 14px 35px rgba(0, 0, 0, .38);
}
html[data-theme="dark"] body {
    background-color: #6b1317;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(141, 26, 30, .45) 0%, transparent 45%),
        radial-gradient(circle at 88% 78%, rgba(20, 37, 26, .45) 0%, transparent 50%);
    color: #ffe8b8;
}
html[data-theme="dark"] body:has(.cards-admin),
html[data-theme="dark"] body:has(.auditoria) {
    background: var(--paper);
    color: var(--ink);
}
html[data-theme="dark"] .nav-link { color: #f6efe3; }
html[data-theme="dark"] .theme-toggle { background: #2c4939; border-color: #56755d; color: var(--gold); }
html[data-theme="dark"] .theme-toggle-icon { background: #edc35d; color: #2b3528; transform: translateX(26px); }
html[data-theme="dark"] .theme-toggle:hover .theme-toggle-icon,
html[data-theme="dark"] .theme-toggle:focus-visible .theme-toggle-icon { transform: translateX(26px) scale(1.08); }
html[data-theme="dark"] .social-link { background: rgba(31,28,23,.86); border-color: #675d50; color: #f6efe3; }
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible,
html[data-theme="dark"] .social-link:hover { background: #4d7f4c; border-color: #4d7f4c; color: #fff; }
html[data-theme="dark"] .nav-toggle span { background: var(--green); }
html[data-theme="dark"] .hero { background-image: linear-gradient(90deg, rgba(24,22,18,.99) 0%, rgba(24,22,18,.94) 30%, rgba(24,22,18,.38) 58%, rgba(24,22,18,.08) 100%), var(--hero-image, url("../img/hero-natal-friburgo.png")); }
html[data-theme="dark"] .hero-video-overlay { background: linear-gradient(90deg, rgba(24,22,18,.99) 0%, rgba(24,22,18,.94) 30%, rgba(24,22,18,.38) 58%, rgba(24,22,18,.08) 100%); }
html[data-theme="dark"] .hero-wash { background: radial-gradient(circle at 8% 88%, rgba(237,195,93,.18), transparent 24%), linear-gradient(180deg, rgba(255,255,255,.08), transparent 34%); }
html[data-theme="dark"] .hero-sub { color: #e8ddd0; }
html[data-theme="dark"] .btn-primary { box-shadow: 0 8px 18px rgba(141,26,30,.3); }
html[data-theme="dark"] .btn-light { background: rgba(35,31,25,.88); border-color: #675d50; }
html[data-theme="dark"] .play-ico { background: #bc8b28; }
html[data-theme="dark"] .hero-video { background: rgba(42,88,46,.94); border-color: var(--gold); }
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .facts-shell,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .news-card { background: #183b22; border-color: rgba(255, 232, 184, .22); }
html[data-theme="dark"] .feature-heading h2,
html[data-theme="dark"] .info-card h2,
html[data-theme="dark"] .fact strong,
html[data-theme="dark"] .news-card h3 { color: #ffe8b8; }
html[data-theme="dark"] .feature-star { color: #ffe8b8; opacity: .85; }
html[data-theme="dark"] .feature-body p,
html[data-theme="dark"] .info-card p,
html[data-theme="dark"] .fact span:not(.fact-icon),
html[data-theme="dark"] .news-card p { color: rgba(255, 232, 184, .84); }
html[data-theme="dark"] .feature-icon,
html[data-theme="dark"] .feature-card:nth-child(even) .feature-icon,
html[data-theme="dark"] .fact-icon,
html[data-theme="dark"] .fact:nth-child(even) .fact-icon,
html[data-theme="dark"] .info-icon,
html[data-theme="dark"] .info-card:nth-child(even) .info-icon { background: #8d1a1e; color: #ffe8b8; }
html[data-theme="dark"] .card-link,
html[data-theme="dark"] .info-card .card-link { background: rgba(255, 232, 184, .1); border-color: #ffe8b8; color: #ffe8b8; }
html[data-theme="dark"] .feature-card:hover .card-link,
html[data-theme="dark"] .info-card:hover .card-link { background: #ffe8b8; border-color: #ffe8b8; color: #183b22; }
html[data-theme="dark"] .fact { border-color: rgba(255, 232, 184, .18); }
html[data-theme="dark"] .countdown-panel { background: linear-gradient(145deg, #14251a 0%, #0e1b12 100%); border-color: rgba(255, 232, 184, .28); }
html[data-theme="dark"] .feature-card::after,
html[data-theme="dark"] .info-card::after { background: radial-gradient(circle, rgba(255, 232, 184, .1), transparent 67%); }
html[data-theme="dark"] .site-footer { background: #14251a; border-color: #ffe8b8; color: #ffe8b8; }
html[data-theme="dark"] .site-footer h2 { color: #ffe8b8; }
html[data-theme="dark"] .footer-frame > section { border-color: rgba(255, 232, 184, .18); }
html[data-theme="dark"] .footer-socials a { border-color: rgba(255, 232, 184, .35); color: #ffe8b8; }
html[data-theme="dark"] .footer-socials a:hover { background: #8d1a1e; border-color: #8d1a1e; color: #ffe8b8; }
html[data-theme="dark"] .footer-identity p,
html[data-theme="dark"] .footer-info a,
html[data-theme="dark"] .realizacao-item,
html[data-theme="dark"] .footer-patrocinadores p,
html[data-theme="dark"] .footer-sponsor-list a,
html[data-theme="dark"] .footer-sponsor-list span { color: rgba(255, 232, 184, .88); }
html[data-theme="dark"] .footer-info a:hover { color: #fff; }
html[data-theme="dark"] .realizacao-placeholder { background: #8d1a1e; color: #ffe8b8; }
html[data-theme="dark"] .realizacao-item .logo-claro { display: none; }
html[data-theme="dark"] .realizacao-item .logo-escuro { display: inline; }
html[data-theme="dark"] .footer-cta { border-color: #ffe8b8; color: #ffe8b8; }
html[data-theme="dark"] .footer-credit { background: #0e1b12; color: #ffe8b8; }

@media (max-width: 1180px) {
    .main-nav { gap: .75rem; }
    .nav-link { font-size: .62rem; }
    .header-cta { display: none; }
    .feature-card { grid-template-columns: 43% 57%; }
    .content-grid { grid-template-columns: minmax(290px, 1.05fr) 3fr; }
}
@media (max-width: 900px) {
    .site-header { background: rgba(255,253,248,.97); position: fixed; }
    html[data-theme="dark"] .site-header { background: rgba(24,22,18,.97); }
    .brand-text strong { font-size: 2.3rem; }
    .main-nav { background: var(--paper); flex-direction: column; gap: 1.25rem; inset: 0; justify-content: center; position: fixed; transform: translateX(100%); transition: transform .25s ease; z-index: 30; }
    .main-nav.open { transform: translateX(0); }
    .nav-link { font-size: .9rem; }
    .nav-toggle { display: flex; position: relative; z-index: 35; }
    .header-actions { margin-left: auto; }
    .hero, .hero-inner { min-height: 650px; }
    .hero { background-image: linear-gradient(90deg, rgba(255,253,248,.98) 0%, rgba(255,253,248,.9) 46%, rgba(255,253,248,.25) 100%), var(--hero-image, url("../img/hero-natal-friburgo.png")); }
    .hero-video { right: 4%; }
    .feature-grid, .news-grid { grid-template-columns: 1fr; }
    .feature-card { grid-template-columns: 38% 62%; min-height: 165px; }
    .facts-shell { display: block; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(2) { border-right: 0; }
    .fact:nth-child(-n + 2) { border-bottom: 1px solid rgba(24, 59, 34, .18); }
    .content-grid { grid-template-columns: 1fr; }
    .footer-frame { grid-template-columns: 1.05fr 1.4fr 1.3fr 1.05fr; }
}
@media (max-width: 600px) {
    .container { width: min(100% - 1.5rem, 1400px); }
    .site-header { padding: .75rem 0; }
    .brand { margin-left: 5rem; min-width: 130px; }
    .brand-text small { font-size: .8rem; }
    .brand-text strong { font-size: 2rem; }
    .brand-logo { max-height: 54px; max-width: 130px; }
    .social-link { display: none; }
    .hero, .hero-inner { min-height: 610px; }
    .hero { background-image: linear-gradient(90deg, rgba(255,253,248,.98) 0%, rgba(255,253,248,.87) 64%, rgba(255,253,248,.25) 100%), var(--hero-image, url("../img/hero-natal-friburgo.png")); background-position: 58% center; }
    .hero-copy { margin-left: 5rem; max-width: 85%; padding-top: 5.5rem; }
    .hero-line-one, .hero-line-two { font-size: 2.65rem; }
    .hero-word { font-size: 6.8rem; }
    .hero-line-two { margin-left: 2rem; }
    .hero-sub { font-size: .82rem; max-width: 290px; }
    .hero-video { display: none; }
    .showcase { margin-top: -0.5rem; }
    .feature-card { grid-template-columns: 40% 60%; min-height: 155px; }
    .feature-body { padding: .75rem; }
    .feature-heading h2 { font-size: .72rem; }
    .feature-icon { font-size: .8rem; height: 29px; width: 29px; }
    .feature-body p { font-size: .66rem; }
    .facts-grid { grid-template-columns: 1fr; }
    .fact, .fact:nth-child(2) { border-bottom: 1px solid rgba(24, 59, 34, .18); border-right: 0; }
    .fact:last-child { border-bottom: 0; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-frame { display: block; padding: 1.25rem 0 0; }
    .footer-frame > section { border-bottom: 1px solid rgba(24, 59, 34, .18); border-right: 0; padding: 1rem 0; }
    .footer-identity { padding-top: 0 !important; }
    .footer-info ul { columns: 2; }
    .footer-patrocinadores { text-align: left; }
    .footer-sponsor-list { justify-content: flex-start; }
    .footer-credit { padding: .7rem 0; text-align: center; }
}

/* ===== Página de detalhe do evento ===== */
.evento-hero {
    background-image: linear-gradient(90deg, rgba(255,253,248,.99) 0%, rgba(255,253,248,.95) 26%, rgba(255,253,248,.45) 58%, rgba(255,253,248,.06) 100%), var(--evento-image, url("../img/hero-natal-friburgo.png"));
    background-position: center;
    background-size: cover;
    min-height: min(36vw, 460px);
    overflow: hidden;
    position: relative;
}
.evento-hero-wash {
    background: radial-gradient(circle at 8% 88%, rgba(255,214,120,.32), transparent 24%), linear-gradient(180deg, rgba(255,255,255,.3), transparent 36%);
    inset: 0;
    pointer-events: none;
    position: absolute;
}
.evento-hero-inner {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(36vw, 460px);
    padding-top: 6rem;
    position: relative;
    z-index: 1;
}
.evento-title {
    color: var(--green);
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: .95;
    max-width: 640px;
}
.evento-local {
    color: #3f3a33;
    font-size: .78rem;
    font-weight: 700;
    margin-top: 1.1rem;
    text-transform: uppercase;
}
.evento-local-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.evento-local-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.evento-content { padding: 3rem 0 4.5rem; }
.evento-shell {
    background: #ffe8b8;
    border: 2px solid rgba(24, 59, 34, .2);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
    color: #183b22;
    padding: clamp(1.4rem, 3vw, 2.6rem);
}
.evento-meta { align-items: flex-start; display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.7rem; }
.evento-meta-item {
    align-items: center;
    background: #183b22;
    border: 1px solid #183b22;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(24, 59, 34, .18);
    color: #ffe8b8;
    display: flex;
    gap: .7rem;
    min-width: 230px;
    padding: .85rem 1rem;
}
.evento-meta-icon { color: #ffe8b8; font-size: 1.5rem; line-height: 1; }
.evento-meta-item strong { color: #ffe8b8; display: block; font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.evento-meta-item span:not(.evento-meta-icon) { color: rgba(255, 232, 184, .88); display: block; font-size: .76rem; margin-top: .15rem; }
.cartao-meta { align-items: stretch; border-bottom: 1px solid rgba(24, 59, 34, .18); display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.3rem; padding-bottom: 1.3rem; }
.cartao-datas { flex: 0 1 auto; max-width: 900px; min-width: 0; }
.cartao-meta-titulo { align-items: center; color: #183b22; display: flex; gap: .4rem; margin-bottom: .55rem; }
.cartao-meta-titulo svg { color: #8d1a1e; height: 18px; width: 18px; }
.cartao-meta-titulo strong { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cartao-datas-lista { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.cartao-datas-lista li { flex: 0 0 175px; max-width: 100%; width: 175px; }
.cartao-data {
    align-items: center;
    background: #183b22;
    border: 1.5px solid #183b22;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(24, 59, 34, .16);
    color: #ffe8b8;
    display: flex;
    gap: .45rem;
    height: 100%;
    padding: .5rem .6rem;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cartao-data:hover {
    background: #8d1a1e;
    border-color: #8d1a1e;
    box-shadow: 0 8px 20px rgba(141, 26, 30, .28);
    transform: translateY(-2px);
}
.cartao-data:focus-visible { outline: 2px solid #8d1a1e; outline-offset: 3px; }
.cartao-data-calendario { border-right: 1px solid rgba(255, 232, 184, .24); flex: 0 0 46px; padding-right: .4rem; text-align: center; }
.cartao-data-calendario b { color: #ffe8b8; display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: .95; }
.cartao-data-calendario small { color: rgba(255, 232, 184, .82); display: block; font-size: .47rem; font-weight: 700; margin-top: .2rem; text-transform: uppercase; white-space: nowrap; }
.cartao-data-info { flex: 1; min-width: 0; }
.cartao-data-semana { color: rgba(255, 232, 184, .82); display: block; font-size: .6rem; text-transform: capitalize; }
.cartao-data-hora { color: #ffe8b8; display: block; font-size: .67rem; font-weight: 700; line-height: 1.4; margin-top: .15rem; }
.cartao-data-hora-intervalo { font-size: .64rem; letter-spacing: -.015em; white-space: nowrap; }
.cartao-data-seta { color: #ffe8b8; flex-shrink: 0; height: 10px; width: 10px; }
.cartao-local { border-left: 1px solid rgba(24, 59, 34, .18); display: flex; flex: 1 1 200px; flex-direction: column; justify-content: center; min-width: 0; padding-left: 1rem; }
.cartao-local p { color: #183b22; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; padding-top: .2rem; }
.cartao-local-link { text-decoration: underline; text-decoration-color: rgba(24, 59, 34, .35); text-underline-offset: 4px; transition: color .15s ease, text-decoration-color .15s ease; }
.cartao-local-link:hover { color: #8d1a1e; text-decoration-color: #8d1a1e; }
.cartao-local-link:focus-visible { outline: 2px solid #8d1a1e; outline-offset: 3px; }
.cartao-local-link svg { color: #8d1a1e; display: inline-block; height: 12px; width: 12px; }
@media (max-width: 600px) {
    .cartao-datas { flex-basis: 100%; }
    .cartao-datas-lista li { flex: 1 1 calc(50% - .45rem); min-width: 0; width: auto; }
    .cartao-data-seta { display: none; }
    .cartao-local { border-left: 0; border-top: 1px solid rgba(24, 59, 34, .18); flex-basis: 100%; padding: 1rem 0 0; }
    .cartao-local .cartao-meta-titulo { margin-bottom: .3rem; }
}
@media (prefers-reduced-motion: reduce) { .cartao-data { transition: none; } }
.evento-resumo {
    border-left: 3px solid #8d1a1e;
    color: #8d1a1e;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 780px;
    padding-left: 1rem;
}
.evento-body { color: #183b22; font-size: .94rem; line-height: 1.8; max-width: 100%; }
.evento-body p + p { margin-top: 1rem; }
.evento-body h1, .evento-body h2, .evento-body h3 { color: #8d1a1e; font-family: var(--font-display); line-height: 1.15; margin: 1.4rem 0 .6rem; }
.evento-body h1:first-child, .evento-body h2:first-child, .evento-body h3:first-child { margin-top: 0; }
.evento-body strong { color: #183b22; font-weight: 800; }
.evento-body a { color: #8d1a1e; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.evento-body blockquote { background: rgba(24, 59, 34, .06); border-left: 4px solid #8d1a1e; border-radius: 0 10px 10px 0; color: #183b22; font-style: italic; margin: 1.2rem 0; padding: .85rem 1.2rem; }
.evento-body ul, .evento-body ol { margin: .9rem 0 .9rem 1.5rem; }
.evento-body img { display: block; margin: 1.5rem 0; max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, .16); }
/* Alinhamento de texto vindo do editor (Quill) */
.evento-body .ql-align-center { text-align: center; }
.evento-body .ql-align-right { text-align: right; }
.evento-body .ql-align-justify { text-align: justify; }
.evento-body .ql-align-left { text-align: left; }
/* Alinhamento de imagens vindo do editor (Quill) */
.evento-body img.ql-align-left, .evento-body .ql-align-left img { margin-left: 0; margin-right: auto; }
.evento-body img.ql-align-center, .evento-body .ql-align-center img { margin-left: auto; margin-right: auto; }
.evento-body img.ql-align-right, .evento-body .ql-align-right img { margin-left: auto; margin-right: 0; }
.evento-back { margin-top: 2.1rem; }

@media (max-width: 600px) {
    .evento-hero, .evento-hero-inner { min-height: 340px; }
    .evento-hero { background-image: linear-gradient(90deg, rgba(255,253,248,.98) 0%, rgba(255,253,248,.9) 58%, rgba(255,253,248,.25) 100%), var(--evento-image, url("../img/hero-natal-friburgo.png")); }
    .evento-hero-inner { padding-top: 5.5rem; }
    .evento-meta-item { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .feature-card, .info-card, .card-link, .card-link span, .feature-media img { transition: none; }
    .feature-card:hover, .info-card:hover, .card-link:hover, .feature-card:hover .card-link, .info-card:hover .card-link { transform: none; }
}

/* ===== Página de programação (calendário) ===== */
.programacao-hero { min-height: min(26vw, 330px); }
.programacao-hero .evento-hero-inner { min-height: min(26vw, 330px); padding-top: 5.2rem; }
.programacao-section { padding: 2.6rem 0 4rem; }
.programacao-layout { align-items: start; display: grid; gap: 1.5rem; grid-template-columns: 1.5fr 1fr; }
.calendario {
    background: #ffe8b8;
    border: 2px solid rgba(24, 59, 34, .2);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
    padding: clamp(1.2rem, 2.5vw, 2rem);
}
.cal-mes { margin-bottom: 1.6rem; scroll-margin-top: 2rem; }
.cal-mes:last-child { margin-bottom: 0; }
.cal-mes-nome { color: #8d1a1e; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1; margin-bottom: .8rem; }
.cal-mes-nome span { color: #183b22; font-size: 1.15rem; font-weight: 700; }
.cal-grid { display: grid; gap: .35rem; grid-template-columns: repeat(7, 1fr); }
.cal-grid-cab { margin-bottom: .35rem; }
.cal-grid-cab span { color: #183b22; font-size: .68rem; font-weight: 800; letter-spacing: .05em; padding: .3rem 0; text-align: center; text-transform: uppercase; }
.cal-dia {
    align-items: center;
    background: rgba(255, 253, 248, .55);
    border: 1.5px solid rgba(24, 59, 34, .16);
    border-radius: 10px;
    color: #183b22;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    justify-content: center;
    min-height: 56px;
    padding: .4rem .2rem;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.cal-dia:hover:not(.cal-dia-ativo) {
    background: #183b22;
    border-color: #183b22;
    box-shadow: 0 10px 22px rgba(24, 59, 34, .24);
    color: #ffe8b8;
    transform: translateY(-3px);
}
.cal-dia:hover:not(.cal-dia-ativo) .cal-dia-ponto { background: #ffe8b8; }
.cal-dia-fora { opacity: .35; }
.cal-dia-num { font-family: var(--font-body); font-size: .98rem; font-weight: 800; line-height: 1; }
.cal-dia-ponto { background: #8d1a1e; border-radius: 50%; height: 6px; width: 6px; transition: background .2s ease; }
.cal-dia-evento { background: rgba(24, 59, 34, .1); border-color: #183b22; }
.cal-dia-ativo { background: #8d1a1e; border-color: #8d1a1e; box-shadow: 0 8px 18px rgba(141, 26, 30, .35); color: #ffe8b8; }
.cal-dia-ativo .cal-dia-ponto { background: #ffe8b8; }
.cal-dia-hoje { box-shadow: inset 0 0 0 2px #183b22; }
.agenda {
    background: linear-gradient(155deg, #183b22 0%, #112a18 100%);
    border: 2px solid rgba(255, 232, 184, .32);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
    color: #ffe8b8;
    padding: clamp(1.2rem, 2.5vw, 2rem);
    position: sticky;
    top: 1rem;
    scroll-margin-top: 7rem;
}
.agenda-cab { border-bottom: 1px solid rgba(255, 232, 184, .24); margin-bottom: 1rem; padding-bottom: .85rem; }
.agenda-kicker { color: #ffe8b8; font-size: .66rem; font-weight: 800; letter-spacing: .12em; opacity: .88; text-transform: uppercase; }
.agenda-cab h2 { color: #ffe8b8; font-family: var(--font-body); font-size: 1.15rem; font-weight: 800; line-height: 1.25; margin-top: .35rem; }
.agenda-lista { display: flex; flex-direction: column; gap: .75rem; }
.agenda-item {
    background: rgba(255, 232, 184, .1);
    border: 1px solid rgba(255, 232, 184, .22);
    border-left: 3px solid #ffe8b8;
    border-radius: 10px;
    display: flex;
    gap: .8rem;
    padding: .9rem;
}
.agenda-hora { color: #ffe8b8; flex: 0 0 auto; font-size: .68rem; font-weight: 800; min-width: 62px; text-transform: uppercase; white-space: nowrap; }
.agenda-corpo h3 { color: #ffe8b8; font-size: .88rem; font-weight: 700; line-height: 1.3; }
.agenda-corpo p { color: rgba(255, 232, 184, .86); font-size: .72rem; margin-top: .25rem; }
.agenda-local { color: #ffe8b8; display: block; font-size: .65rem; font-weight: 700; margin-top: .35rem; }
.agenda-vazio { color: rgba(255, 232, 184, .88); font-size: .8rem; line-height: 1.6; padding: .5rem .2rem; }
.programacao-vazia {
    background: #ffe8b8;
    border: 2px solid rgba(24, 59, 34, .2);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
    padding: 4rem 1.5rem;
    text-align: center;
}
.programacao-vazia span { color: #8d1a1e; font-size: 2.2rem; }
.programacao-vazia h2 { color: #183b22; font-family: var(--font-display); font-size: 2.3rem; margin-top: .4rem; }
.programacao-vazia p { color: rgba(24, 59, 34, .84); font-size: .85rem; font-weight: 500; margin-top: .5rem; }

@media (max-width: 900px) {
    .programacao-layout { grid-template-columns: 1fr; }
    .agenda { position: static; }
}
@media (max-width: 600px) {
    .cal-dia { min-height: 46px; }
    .cal-dia-num { font-size: .92rem; }
    .agenda-hora { min-width: 50px; }
}

/* ===== Dark: evento e programação ===== */
html[data-theme="dark"] .evento-hero {
    background-image: linear-gradient(90deg, rgba(24,22,18,.99) 0%, rgba(24,22,18,.94) 30%, rgba(24,22,18,.4) 58%, rgba(24,22,18,.06) 100%), var(--evento-image, url("../img/hero-natal-friburgo.png"));
}
html[data-theme="dark"] .evento-hero-wash { background: radial-gradient(circle at 8% 88%, rgba(237,195,93,.14), transparent 24%), linear-gradient(180deg, rgba(255,255,255,.05), transparent 36%); }
html[data-theme="dark"] .evento-title { color: #d8ead9; }
html[data-theme="dark"] .evento-local { color: #e8ddd0; }
html[data-theme="dark"] .evento-shell { background: #183b22; border-color: rgba(255, 232, 184, .22); color: #ffe8b8; }
html[data-theme="dark"] .evento-meta-item { background: #14251a; border-color: rgba(255, 232, 184, .22); }
html[data-theme="dark"] .evento-meta-item strong { color: #ffe8b8; }
html[data-theme="dark"] .evento-meta-item span:not(.evento-meta-icon) { color: rgba(255, 232, 184, .85); }
html[data-theme="dark"] .cartao-meta { border-color: rgba(255, 232, 184, .2); }
html[data-theme="dark"] .cartao-data { background: #14251a; border-color: rgba(255, 232, 184, .25); color: #ffe8b8; }
html[data-theme="dark"] .cartao-data:hover { background: #8d1a1e; border-color: #8d1a1e; }
html[data-theme="dark"] .cartao-data-calendario { border-color: rgba(255, 232, 184, .22); }
html[data-theme="dark"] .cartao-meta-titulo, html[data-theme="dark"] .cartao-local p { color: #ffe8b8; }
html[data-theme="dark"] .cartao-meta-titulo svg, html[data-theme="dark"] .cartao-local-link svg { color: #ffe8b8; }
html[data-theme="dark"] .cartao-local { border-color: rgba(255, 232, 184, .2); }
html[data-theme="dark"] .cartao-local-link { text-decoration-color: rgba(255, 232, 184, .35); }
html[data-theme="dark"] .cartao-local-link:hover { color: #fff; text-decoration-color: #fff; }
html[data-theme="dark"] .cartao-data-calendario small, html[data-theme="dark"] .cartao-data-semana { color: rgba(255, 232, 184, .8); }
html[data-theme="dark"] .evento-resumo { border-left-color: #ffe8b8; color: #ffe8b8; }
html[data-theme="dark"] .evento-body { color: rgba(255, 232, 184, .92); }
html[data-theme="dark"] .evento-body h1, html[data-theme="dark"] .evento-body h2, html[data-theme="dark"] .evento-body h3,
html[data-theme="dark"] .evento-body strong, html[data-theme="dark"] .evento-body a { color: #ffe8b8; }
html[data-theme="dark"] .calendario { background: #183b22; border-color: rgba(255, 232, 184, .22); }
html[data-theme="dark"] .cal-mes-nome { color: #ffe8b8; }
html[data-theme="dark"] .cal-mes-nome span { color: rgba(255, 232, 184, .8); }
html[data-theme="dark"] .cal-grid-cab span { color: #ffe8b8; }
html[data-theme="dark"] .cal-dia { background: #14251a; border-color: rgba(255, 232, 184, .2); color: #ffe8b8; }
html[data-theme="dark"] .cal-dia:hover:not(.cal-dia-ativo) { background: #ffe8b8; border-color: #ffe8b8; box-shadow: 0 10px 22px rgba(0,0,0,.35); color: #183b22; }
html[data-theme="dark"] .cal-dia:hover:not(.cal-dia-ativo) .cal-dia-ponto { background: #8d1a1e; }
html[data-theme="dark"] .cal-dia-evento { background: rgba(255, 232, 184, .12); border-color: #ffe8b8; }
html[data-theme="dark"] .cal-dia-ponto { background: #ffe8b8; }
html[data-theme="dark"] .cal-dia-ativo { background: #8d1a1e; border-color: #ffe8b8; color: #ffe8b8; }
html[data-theme="dark"] .cal-dia-hoje { box-shadow: inset 0 0 0 2px #ffe8b8; }
html[data-theme="dark"] .agenda { background: linear-gradient(155deg, #14251a 0%, #0e1b12 100%); border-color: rgba(255, 232, 184, .28); }
html[data-theme="dark"] .programacao-vazia { background: #183b22; border-color: rgba(255, 232, 184, .22); }
html[data-theme="dark"] .programacao-vazia span,
html[data-theme="dark"] .programacao-vazia h2 { color: #ffe8b8; }
html[data-theme="dark"] .programacao-vazia p { color: rgba(255, 232, 184, .84); }

/* ===== Página de patrocinadores ===== */
.patrocinadores-hero { min-height: min(26vw, 330px); }
.patrocinadores-hero .evento-hero-inner { min-height: min(26vw, 330px); padding-top: 5.2rem; }
.patrocinadores-section { padding: 2.6rem 0 4rem; }
.patrocinadores-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.patrocinador-card {
    align-items: center;
    background: #ffe8b8;
    border: 2px solid rgba(24, 59, 34, .2);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .26);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 190px;
    padding: 1.5rem;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.patrocinador-card:hover {
    border-color: #183b22;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .38), 0 0 0 2px rgba(255, 232, 184, .35);
    transform: translateY(-5px);
}
.patrocinador-link { align-items: center; display: flex; flex-direction: column; gap: .85rem; }
.patrocinador-card img { max-height: 90px; max-width: 170px; object-fit: contain; }
.patrocinador-placeholder {
    align-items: center;
    background: #183b22;
    border-radius: 12px;
    color: #ffe8b8;
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    height: 66px;
    justify-content: center;
    width: 66px;
}
.patrocinador-nome { color: #183b22; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.patrocinadores-cta { display: flex; justify-content: center; margin-top: 2rem; }

html[data-theme="dark"] .patrocinador-card { background: #183b22; border-color: rgba(255, 232, 184, .22); }
html[data-theme="dark"] .patrocinador-nome { color: #ffe8b8; }
html[data-theme="dark"] .patrocinador-placeholder { background: #8d1a1e; color: #ffe8b8; }

/* Botão de voltar logo abaixo do hero, alinhado à direita */
.voltar-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.4rem;
}

/* ===== Notificações (toasts) ===== */
.toast-area {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    max-width: 380px;
    position: fixed;
    right: 1.25rem;
    top: 1.25rem;
    width: calc(100% - 2.5rem);
    z-index: 1000;
}
.toast {
    align-items: center;
    background: #ffe8b8;
    border: 1.5px solid rgba(24, 59, 34, .22);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
    display: flex;
    gap: .8rem;
    overflow: hidden;
    padding: .9rem 1rem;
    position: relative;
    animation: toast-in .35s cubic-bezier(.21,1.02,.73,1);
}
.toast-icon {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: .95rem;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    width: 34px;
}
.toast-text { color: #183b22; flex: 1; font-size: .84rem; font-weight: 700; line-height: 1.35; }
.toast-close {
    background: none;
    border: 0;
    color: rgba(24, 59, 34, .7);
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
    padding: .2rem;
    transition: color .15s;
}
.toast-close:hover { color: #8d1a1e; }
.toast-progress {
    bottom: 0;
    height: 3px;
    left: 0;
    position: absolute;
    animation: toast-progress 4.5s linear forwards;
}
.toast-success .toast-icon { background: #183b22; color: #ffe8b8; }
.toast-success .toast-progress { background: #183b22; }
.toast-error .toast-icon { background: #8d1a1e; color: #ffe8b8; }
.toast-error .toast-progress { background: #8d1a1e; }
.toast-warning .toast-icon { background: rgba(191,138,36,.2); color: #8d1a1e; }
.toast-warning .toast-progress { background: #8d1a1e; }
.toast-info .toast-icon { background: #183b22; color: #ffe8b8; }
.toast-info .toast-progress { background: #183b22; }
@keyframes toast-in {
    from { opacity: 0; transform: translateX(24px) scale(.96); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}
html[data-theme="dark"] .toast { background: #183b22; border-color: rgba(255, 232, 184, .25); }
html[data-theme="dark"] .toast-text { color: #ffe8b8; }
html[data-theme="dark"] .toast-close { color: rgba(255, 232, 184, .75); }

/* ===== Página "O Evento" ===== */
.evento-info-hero { min-height: min(26vw, 330px); }
.evento-info-hero .evento-hero-inner { min-height: min(26vw, 330px); padding-top: 5.2rem; }
.evento-sobre-body { color: #183b22; font-size: 1rem; line-height: 1.85; max-width: 860px; }
.evento-sobre-body p + p { margin-top: 1.1rem; }
.evento-sobre-body p:first-of-type { color: #183b22; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.5; }
.evento-sobre-body img { border-radius: 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .16); display: block; height: auto; margin: 1.4rem auto; max-width: 100%; }
.evento-sobre-body ul, .evento-sobre-body ol { margin: .9rem 0 .9rem 1.5rem; }
.evento-sobre-body h2, .evento-sobre-body h3 { color: #8d1a1e; font-family: var(--font-display); line-height: 1.1; margin: 1.5rem 0 .6rem; }
.evento-vazio { padding: 2rem 1rem; text-align: center; }
.evento-vazio span { color: #8d1a1e; font-size: 2rem; }
.evento-vazio p { color: rgba(24, 59, 34, .85); font-size: .88rem; font-weight: 500; margin-top: .4rem; }
html[data-theme="dark"] .evento-sobre-body { color: rgba(255, 232, 184, .92); }
html[data-theme="dark"] .evento-sobre-body p:first-of-type { color: #ffe8b8; }
html[data-theme="dark"] .evento-sobre-body h2, html[data-theme="dark"] .evento-sobre-body h3 { color: #ffe8b8; }
html[data-theme="dark"] .evento-vazio span { color: #ffe8b8; }
html[data-theme="dark"] .evento-vazio p { color: rgba(255, 232, 184, .84); }

/* ===== Página Galeria ===== */
.galeria-hero { min-height: min(26vw, 330px); }
.galeria-hero .evento-hero-inner { min-height: min(26vw, 330px); padding-top: 5.2rem; }
.galeria-section { padding: 2.6rem 0 4rem; }
.galeria-edicao { margin-bottom: 3rem; }
.galeria-edicao:last-child { margin-bottom: 0; }
.galeria-edicao-cab { align-items: center; display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: .5rem; }
.galeria-edicao-titulo { color: #183b22; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1; }
.galeria-edicao-data { background: #183b22; border: 1px solid #183b22; border-radius: 99px; color: #ffe8b8; font-size: .68rem; font-weight: 800; padding: .32rem .75rem; }
.galeria-edicao-desc { color: rgba(24, 59, 34, .84); font-size: .9rem; max-width: 720px; }
.galeria-cards { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.2rem; }
.galeria-card { background: #ffe8b8; border: 2px solid rgba(24, 59, 34, .2); border-radius: 18px; box-shadow: 0 16px 38px rgba(0, 0, 0, .26); overflow: hidden; }
.galeria-card-cab { align-items: center; background: transparent; border: 0; cursor: pointer; display: flex; font-family: var(--font-body); gap: 1rem; justify-content: space-between; padding: 1.2rem 1.4rem; text-align: left; transition: background .2s; width: 100%; }
.galeria-card-cab:hover { background: rgba(24, 59, 34, .06); }
.galeria-card-info { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.galeria-card-titulo-row { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem; }
.galeria-card-desc { color: rgba(24, 59, 34, .82); font-size: .85rem; font-weight: 500; }
.galeria-card-arrow { color: #8d1a1e; flex: 0 0 auto; font-size: 1.1rem; transition: transform .2s; }
.galeria-card.open .galeria-card-arrow { transform: rotate(180deg); }
.galeria-card-sessoes { display: none; padding: 0 1.4rem 1.4rem; }
.galeria-card.open .galeria-card-sessoes { display: block; }
.galeria-sessao { border-top: 1px solid rgba(24, 59, 34, .16); margin-top: 1.2rem; padding-top: 1.2rem; }
.galeria-sessao-cab { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem; }
.galeria-sessao-titulo { color: #8d1a1e; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.1; margin: 0; }
.galeria-sessao-desc { color: rgba(24, 59, 34, .82); font-size: .82rem; max-width: 680px; }
.galeria-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 1.2rem; }
.galeria-item { background: rgba(24, 59, 34, .06); border: 1.5px solid rgba(24, 59, 34, .16); border-radius: 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, .14); margin: 0; overflow: hidden; position: relative; }
.galeria-item img, .galeria-item video { display: block; height: 100%; object-fit: cover; width: 100%; }
.galeria-item img { aspect-ratio: 4 / 3; }
.galeria-item video { aspect-ratio: 16 / 9; background: #000; }
.galeria-item figcaption { color: #183b22; font-size: .76rem; font-weight: 600; padding: .55rem .65rem; }
html[data-theme="dark"] .galeria-card { background: #183b22; border-color: rgba(255, 232, 184, .22); }
html[data-theme="dark"] .galeria-card-cab:hover { background: rgba(255, 232, 184, .06); }
html[data-theme="dark"] .galeria-edicao-titulo,
html[data-theme="dark"] .galeria-sessao-titulo,
html[data-theme="dark"] .galeria-card-arrow,
html[data-theme="dark"] .galeria-item figcaption { color: #ffe8b8; }
html[data-theme="dark"] .galeria-card-desc,
html[data-theme="dark"] .galeria-sessao-desc { color: rgba(255, 232, 184, .84); }
html[data-theme="dark"] .galeria-sessao { border-color: rgba(255, 232, 184, .18); }
html[data-theme="dark"] .galeria-item { background: rgba(20, 37, 26, .6); border-color: rgba(255, 232, 184, .2); }
html[data-theme="dark"] .galeria-edicao-data { background: #8d1a1e; border-color: #8d1a1e; color: #ffe8b8; }

/* Galeria: uma linha por edição + "+X mídias" + lightbox */
.galeria-item { cursor: pointer; }
.galeria-item.galeria-escondido { display: none; }
.galeria-item video { pointer-events: none; }
.galeria-mais-overlay {
    align-items: center; background: rgba(22,14,4,.68); border: 0; color: #fff; cursor: pointer;
    display: flex; flex-direction: column; font-family: var(--font-body); font-size: 1.05rem;
    font-weight: 800; gap: .2rem; inset: 0; justify-content: center; letter-spacing: .02em;
    position: absolute; transition: background .2s; width: 100%;
}
.galeria-mais-overlay:hover { background: rgba(22,14,4,.82); }

.galeria-lightbox {
    align-items: center; background: rgba(12,9,4,.88); bottom: 0; display: flex;
    justify-content: center; left: 0; opacity: 0; padding: 3rem 3.5rem; pointer-events: none;
    position: fixed; right: 0; top: 0; transition: opacity .25s ease; visibility: hidden; z-index: 2000;
}
.galeria-lightbox.open { opacity: 1; pointer-events: auto; visibility: visible; }
.galeria-lb-stage { align-items: center; display: flex; flex-direction: column; gap: .6rem; margin: 0; max-height: 88vh; max-width: 90vw; }
.galeria-lb-img, .galeria-lb-video { border-radius: 12px; box-shadow: 0 18px 60px rgba(0,0,0,.55); display: block; max-height: 80vh; max-width: 90vw; }
.galeria-lb-img[hidden], .galeria-lb-video[hidden] { display: none; }
.galeria-lb-caption { color: #f3ead8; font-size: .85rem; text-align: center; }
.galeria-lb-count { color: #d9c9a8; font-size: .75rem; left: 0; position: absolute; right: 0; text-align: center; top: 1rem; }
.galeria-lb-close {
    align-items: center; background: rgba(255,255,255,.12); border: 0; border-radius: 50%;
    color: #fff; cursor: pointer; display: flex; font-size: 1.6rem; height: 46px; justify-content: center;
    line-height: 1; position: absolute; right: 1.2rem; top: 1.2rem; width: 46px; transition: background .2s;
}
.galeria-lb-close:hover { background: rgba(255,255,255,.25); }
.galeria-lb-nav {
    align-items: center; background: rgba(255,255,255,.12); border: 0; border-radius: 50%;
    color: #fff; cursor: pointer; display: flex; font-size: 1.8rem; height: 54px; justify-content: center;
    position: absolute; top: 50%; transform: translateY(-50%); width: 54px; transition: background .2s, opacity .2s;
}
.galeria-lb-nav:hover { background: rgba(255,255,255,.25); }
.galeria-lb-nav:disabled { cursor: default; opacity: .3; }
.galeria-lb-prev { left: 1.2rem; }
.galeria-lb-next { right: 1.2rem; }
@media (max-width: 640px) {
    .galeria-lightbox { padding: 2rem .8rem; }
    .galeria-lb-nav { height: 44px; width: 44px; }
    .galeria-lb-prev { left: .4rem; }
    .galeria-lb-next { right: .4rem; }
}

/* ===== Responsividade geral ===== */
html { -webkit-text-size-adjust: 100%; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
iframe, video, canvas, svg { max-width: 100%; }
.container, .header-inner, .hero-inner, .programacao-layout > *, .evento-shell,
.cards-admin-panels, .card-form, .cards-list-item, .footer-frame > section { min-width: 0; }
.evento-body, .evento-sobre-body, .galeria-card-desc, .footer-info a,
.cards-list-info, .agenda-corpo { overflow-wrap: anywhere; }
.evento-body table, .evento-sobre-body table { display: block; max-width: 100%; overflow-x: auto; }
.evento-body iframe, .evento-sobre-body iframe { height: auto; max-width: 100%; }

@media (max-width: 1180px) {
    .site-header { background: rgba(255,253,248,.98); border-bottom: 1px solid rgba(233,224,209,.8); box-shadow: 0 4px 18px rgba(71,47,17,.06); padding: .65rem 0; position: fixed; }
    html[data-theme="dark"] .site-header { background: rgba(24,22,18,.98); }
    .brand { margin-left: 0; min-width: 0; }
    .header-actions { gap: .4rem; margin-right: .25rem; }
    .header-cta, .header-actions .social-link { display: none; }
    .nav-toggle { align-items: center; border-radius: 8px; display: flex; flex: 0 0 44px; height: 44px; justify-content: center; position: relative; width: 44px; z-index: 35; }
    .nav-toggle span { border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
    .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
    .nav-toggle:hover, .nav-toggle:focus-visible { background: rgba(191,138,36,.12); outline: 2px solid var(--gold); }
    .main-nav {
        align-items: stretch; background: var(--paper); box-shadow: 0 14px 24px rgba(71,47,17,.12);
        flex-direction: column; gap: .15rem; inset: 3.75rem 0 auto; justify-content: flex-start;
        left: 0; max-height: calc(100dvh - 3.75rem); overflow-y: auto;
        padding: .65rem max(1.25rem, calc((100vw - 28rem) / 2)) 1rem;
        position: fixed; right: 0; transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
        border-radius: 0 0 14px 14px; visibility: hidden; opacity: 0; z-index: 30;
    }
    .main-nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
    .main-nav .nav-link { border-bottom: 1px solid var(--line); font-size: .83rem; padding: .9rem .75rem; text-align: center; white-space: normal; }
    .main-nav .nav-link:last-child { border-bottom: 0; }
    .main-nav .nav-link::after { display: none; }
    html[data-theme="dark"] .main-nav { background: #211e18; }
    html[data-theme="dark"] .main-nav .nav-link { border-color: #4e463b; color: #f6efe3; }
    .hero-copy { margin-left: 0; }
    .hero-inner { width: min(1400px, 92%); }
    .content-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-frame { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-frame > section:nth-child(2) { border-right: 0; }
}

@media (max-width: 900px) {
    .feature-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .programacao-layout { grid-template-columns: minmax(0, 1fr); }
    .agenda { position: static; }
    .galeria-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
    .evento-shell { padding: clamp(1.1rem, 4vw, 2rem); }
}

@media (max-width: 640px) {
    .container { width: calc(100% - 2rem); }
    .site-header { padding: .55rem 0; }
    .brand { margin-left: 0; max-width: calc(100% - 120px); min-width: 0; }
    .brand-logo { height: 48px; max-height: 48px; max-width: min(130px, 100%); width: auto; }
    .brand-text small { font-size: .75rem; }
    .brand-text strong { font-size: 1.9rem; }
    .header-inner { gap: .4rem; }
    .header-actions { margin-right: 0; }
    .theme-toggle { height: 36px; width: 60px; }
    .hero .hero-audit { bottom: 1.5rem; height: 36px; }
    .main-nav { max-height: calc(100dvh - 3.75rem); top: 3.75rem; }

    .hero, .hero-inner { min-height: clamp(540px, 88svh, 700px); }
    .hero-inner { align-items: center; width: calc(100% - 2rem); }
    .hero-copy { flex: 0 1 100%; margin-left: 0; max-width: 100%; padding: 5.25rem clamp(1rem, 4.5vw, 1.3rem) 2rem; width: 100%; }
    .hero--audit .hero-copy { padding-bottom: 5.5rem; }
    .hero-line-one, .hero-line-two { font-size: clamp(1.85rem, 8vw, 2.5rem); }
    .hero-word { font-size: clamp(4.3rem, 21vw, 6.4rem); }
    .hero-line-two { margin-left: clamp(1.2rem, 8vw, 2.8rem); }
    .hero-kicker { font-size: .62rem; letter-spacing: .14em; }
    .hero-sub { font-size: .82rem; max-width: 34ch; }
    .hero { background-image: linear-gradient(90deg, rgba(255,253,248,.99) 0%, rgba(255,253,248,.97) 48%, rgba(255,253,248,.86) 73%, rgba(255,253,248,.22) 100%), var(--hero-image, url("../img/hero-natal-friburgo.png")); background-position: 64% center; }
    .hero-video-overlay { background: linear-gradient(90deg, rgba(255,253,248,.99) 0%, rgba(255,253,248,.97) 48%, rgba(255,253,248,.86) 73%, rgba(255,253,248,.22) 100%); }
    html[data-theme="dark"] .hero { background-image: linear-gradient(90deg, rgba(24,22,18,.99) 0%, rgba(24,22,18,.97) 48%, rgba(24,22,18,.86) 73%, rgba(24,22,18,.25) 100%), var(--hero-image, url("../img/hero-natal-friburgo.png")); }
    html[data-theme="dark"] .hero-video-overlay { background: linear-gradient(90deg, rgba(24,22,18,.99) 0%, rgba(24,22,18,.97) 48%, rgba(24,22,18,.86) 73%, rgba(24,22,18,.25) 100%); }
    .hero-actions { align-items: stretch; }
    .hero-actions .btn { max-width: 100%; min-height: 44px; text-align: center; white-space: normal; }
    .showcase { margin-top: -.75rem; padding-bottom: .5rem; }
    .feature-grid, .feature-grid--page, .news-grid { grid-template-columns: minmax(0, 1fr); }
    .feature-grid { gap: .9rem; }
    .feature-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .feature-media { height: clamp(135px, 42vw, 190px); min-height: 0; }
    .feature-media img { aspect-ratio: 16 / 9; }
    .feature-body { min-width: 0; padding: 1rem 1.1rem 1.15rem; }
    .feature-heading { align-items: center; }
    .feature-heading h2 { font-size: .88rem; }
    .feature-icon { font-size: 1rem; height: 34px; width: 34px; }
    .feature-body p { -webkit-line-clamp: 4; font-size: .78rem; }
    .feature-body .card-link { font-size: .64rem; padding: .45rem .75rem; }
    .feature-star { margin: .4rem 0; }
    .facts-grid { grid-template-columns: minmax(0, 1fr); }
    .fact, .fact:nth-child(2) { border-bottom: 1px solid rgba(24, 59, 34, .18); border-right: 0; padding: .65rem .45rem; }
    html[data-theme="dark"] .fact, html[data-theme="dark"] .fact:nth-child(2) { border-bottom-color: rgba(255, 232, 184, .18); }
    .fact:last-child { border-bottom: 0; }
    .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .countdown strong { font-size: clamp(1.4rem, 8vw, 2.1rem); }
    .countdown span { font-size: .48rem; }
    .info-grid { grid-template-columns: minmax(0, 1fr); }

    .evento-hero, .evento-hero-inner,
    .programacao-hero, .programacao-hero .evento-hero-inner,
    .patrocinadores-hero, .patrocinadores-hero .evento-hero-inner,
    .evento-info-hero, .evento-info-hero .evento-hero-inner,
    .galeria-hero, .galeria-hero .evento-hero-inner { min-height: 220px; }
    .evento-hero { background-image: linear-gradient(90deg, rgba(255,253,248,.98), rgba(255,253,248,.76) 72%, rgba(255,253,248,.35)), var(--evento-image, url("../img/hero-natal-friburgo.png")); }
    html[data-theme="dark"] .evento-hero { background-image: linear-gradient(90deg, rgba(24,22,18,.98), rgba(24,22,18,.78) 72%, rgba(24,22,18,.38)), var(--evento-image, url("../img/hero-natal-friburgo.png")); }
    .evento-hero-inner, .programacao-hero .evento-hero-inner, .patrocinadores-hero .evento-hero-inner,
    .evento-info-hero .evento-hero-inner, .galeria-hero .evento-hero-inner { align-items: flex-end; padding: 5.2rem 0 1.35rem; }
    .evento-title { font-size: clamp(2.2rem, 10vw, 3.3rem); overflow-wrap: anywhere; }
    .evento-content, .programacao-section, .patrocinadores-section, .galeria-section { padding: 1.5rem 0 2.5rem; }
    .evento-shell { border-radius: 12px; padding: 1rem; }
    .evento-meta { gap: .55rem; }
    .evento-meta-item { flex: 1 1 100%; min-width: 0; }
    .evento-resumo { font-size: 1rem; padding-left: .75rem; }
    .evento-body, .evento-sobre-body { font-size: .9rem; }
    .voltar-wrap { margin-bottom: 1rem; }
    .patrocinadores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .patrocinador-card { min-height: 145px; padding: .9rem .6rem; }
    .patrocinador-card img { max-width: 100%; max-height: 70px; }
    .patrocinador-nome { font-size: .68rem; }

    .programacao-layout { gap: 1rem; }
    .calendario, .agenda { border-radius: 12px; padding: .85rem; }
    .cal-grid { gap: .2rem; }
    .cal-grid-cab span { font-size: .58rem; }
    .cal-dia { border-radius: 7px; min-height: 40px; padding: .2rem .05rem; }
    .cal-dia-num { font-size: .78rem; }
    .cal-mes-nome { font-size: 1.45rem; }
    .agenda-item { gap: .55rem; padding: .7rem; }
    .agenda-hora { min-width: 45px; white-space: normal; }

    .galeria-grid { gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .galeria-card-cab { gap: .6rem; padding: .9rem; }
    .galeria-card-sessoes { padding: 0 .8rem .9rem; }
    .galeria-lightbox { padding: 3.5rem .5rem 4rem; }
    .galeria-lb-stage { max-width: 100%; }
    .galeria-lb-img, .galeria-lb-video { max-height: 72vh; max-width: 100%; }
    .galeria-lb-close { height: 42px; right: .6rem; top: .6rem; width: 42px; }
    .galeria-lb-nav { height: 40px; width: 40px; }
    .galeria-lb-prev { left: .2rem; }
    .galeria-lb-next { right: .2rem; }

    .section-heading h2 { font-size: 2rem; }
    .footer-frame { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); padding-top: .5rem; }
    .footer-frame > section, .footer-frame > section:nth-child(2) { border-bottom: 1px solid rgba(24, 59, 34, .18); border-right: 0; padding: 1rem 0; }
    html[data-theme="dark"] .footer-frame > section, html[data-theme="dark"] .footer-frame > section:nth-child(2) { border-bottom-color: rgba(255, 232, 184, .18); }
    .footer-frame > section:last-child { border-bottom: 0; }
    .footer-info ul { columns: 1; }
    .footer-credit { text-align: left; }
    .toast-area { left: .75rem; right: .75rem; top: .75rem; width: auto; }
}

@media (max-width: 380px) {
    .container, .hero-inner { width: calc(100% - 1.25rem); }
    .hero-word { font-size: clamp(4.4rem, 22vw, 5.1rem); }
    .hero-line-one, .hero-line-two { font-size: clamp(1.8rem, 9vw, 2.2rem); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .btn { align-self: flex-start; }
    .patrocinadores-grid { grid-template-columns: minmax(0, 1fr); }
    .galeria-grid { grid-template-columns: minmax(0, 1fr); }
    .calendario { padding: .6rem; }
    .cal-dia { min-height: 36px; }
}

/* Rodapé: todas as seções centralizadas (declarado por último para valer em todas as larguras) */
.footer-frame > section { text-align: center; }
.footer-identity { align-items: center; display: flex; flex-direction: column; }
.footer-socials { justify-content: center; }
.footer-info ul { column-gap: 1.6rem; display: grid; grid-auto-flow: column; grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(2, auto); justify-content: center; }
.footer-patrocinadores { text-align: center; }
.footer-sponsor-list { justify-content: center; }
.footer-credit { text-align: center; }
