/*
Theme Name: Boi Mocidade de Pinheiro
Theme URI: 
Author: Nerialdo
Author URI: 
Description: Tema personalizado para o Boi Mocidade de Pinheiro.
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: boi-mocidade-de-pinheiro
*/
:root {
    --primary-color: #0b265c;
    /* Azul Profundo */
    --secondary-color: #d32f2f;
    /* Vermelho Nobre */
    --gold-color: #d4af37;
    /* Dourado Metálico */
    --gold-light: #f1c40f;
    --text-color: #1a1a1a;
    --light-bg: #fdfdfd;
    --white: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-menu: 'Oswald', sans-serif;
    --primary-color-rgb: 11, 38, 92;
    --header-height: 380px;
    --header-height-scrolled: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    background-color: var(--light-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
}

a {
    color: var(--primary-color);
    transition: 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-red {
    color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Festive Identity Strip - Bumba Meu Boi Style */
.identity-strip-wrapper.festive-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    /* Alinhado com a largura visual do slider */
    position: relative;
    padding: 0 40px;
    height: 110px;
    background: #b71c1c;
    /* Vermelho Veludo */
    background-image: url('https://www.transparenttextures.com/patterns/black-linen.png');
    /* Textura de tecido */
    margin: 100px auto 10px auto;
    /* Aumentado significativamente para limpar o topo e admin bar */
    border-top: 5px solid var(--gold-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bordas Recortadas (Scalloped) no fundo da faixa */
.identity-strip-wrapper.festive-banner::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background-image: radial-gradient(circle at 10px 0, transparent 12px, var(--gold-color) 13px);
    background-size: 20px 15px;
}

.identity-name {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 35%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.left-name {
    text-align: right;
    padding-right: 5px;
    /* Quase encostado no medalhão */
}

.right-name {
    text-align: left;
    padding-left: 5px;
    /* Quase encostado no medalhão */
}

/* Medalhão Solar */
.logo-container.medallion-sun {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: #fff;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid var(--gold-color);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.4), 0 15px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    /* Garante que os raios não saiam do círculo */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Raios de Sol do Medalhão - Ajustado para trás do logo */
.logo-container.medallion-sun::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: repeating-conic-gradient(from 0deg, rgba(255, 215, 0, 0.4) 0deg 10deg, transparent 10deg 20deg);
    border-radius: 50%;
    z-index: 1;
    /* Atrás do logo */
    animation: rotateSun 20s linear infinite;
}

.logo-container.medallion-sun img {
    max-height: 180px;
    width: auto;
    position: relative;
    z-index: 2;
    /* Na frente dos raios */
}

@keyframes rotateSun {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Bandeirinhas Sociais - São João Style */
.social-flags {
    position: absolute;
    top: -45px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.flag {
    width: 40px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 18px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 80%, 0% 100%);
    /* Formato de bandeirinha */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.flag.whatsapp {
    background-color: #25d366;
}

.flag.instagram {
    background-color: #e1306c;
}

.flag.youtube {
    background-color: #ff0000;
}

.flag:hover {
    transform: translateY(5px) scale(1.1);
}

.header-inner-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    /* Compactado */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Header - Fixed to Top */
.premium-header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled State - Compact & Minimal */
.premium-header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    top: 0;
}

.premium-header.scrolled .header-inner-centered {
    padding: 0;
}

.premium-header.scrolled .social-flags,
.premium-header.scrolled .identity-name,
.premium-header.scrolled .medallion-sun,
.premium-header.scrolled .festive-banner {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.9);
    pointer-events: none;
    margin: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    transition: all 0.5s ease;
}

.premium-header.scrolled .menu-faixa {
    margin-top: 0;
    background-color: var(--primary-color);
    box-shadow: none;
    border: none;
}

.premium-header.scrolled .centered-nav a {
    color: var(--white);
    padding: 15px 10px;
    /* Reduzido lateralmente no scroll também */
}

.centered-logo img {
    max-height: 220px;
    width: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-height, transform;
}

.centered-nav {
    width: 100%;
    margin-top: 85px;
    /* Ajustado para equilíbrio visual */
    margin-bottom: 0;
}

.centered-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Mais próximos */
}

.centered-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--font-menu);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 10px 5px;
    /* Reduzido lateralmente */
    display: inline-block;
    transition: 0.3s;
}

.centered-nav a:hover {
    color: var(--secondary-color);
}

.centered-nav li.current-menu-item a {
    color: var(--secondary-color);
    position: relative;
}

.centered-nav li.current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 25px;
    right: 25px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Home Slider */
.home-slider-section {
    position: relative;
    width: 100%;
    background-color: var(--light-bg);
    padding: 420px 0 40px 0;
    /* Espaço para o header fixo expandido */
    transition: padding 0.5s ease;
}

.premium-header.scrolled+.site-main .home-slider-section {
    padding-top: 100px;
    /* Reduzido no scroll */
}

/* Moldura Orgânica estilo "Papel Fotográfico/Cultural" */
.slider-cultural-frame {
    position: relative;
    padding: 15px;
    /* Espessura da borda branca */
    background: #fff;
    /* Borda irregular sutil */
    border-radius: 2px 255px 3px 25px / 255px 5px 225px 3px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: rotate(-0.5deg);
    /* Leve inclinação artística */
    transition: transform 0.4s ease;
}

.slider-cultural-frame:hover {
    transform: rotate(0deg) scale(1.01);
}

.slider-cultural-frame .swiper {
    border-radius: 3px;
    overflow: hidden;
    transform: rotate(0.5deg);
    /* Desfaz a inclinação para a imagem interna ficar reta */
}

.swiper {
    width: 100%;
    height: 450px;
    /* Fixo e retangular */
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 38, 92, 0.9), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.slider-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.slider-content h2 {
    font-size: 3rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

/* News Section */
.home-news {
    padding: 80px 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.news-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    text-decoration: none;
}

/* Agenda Section */
.home-agenda {
    background: var(--primary-color);
    padding: 80px 15px;
    position: relative;
}

.home-agenda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.agenda-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.agenda-date {
    font-size: 2rem;
    color: var(--secondary-color);
}

.agenda-details h3 {
    margin: 0 0 5px 0;
}

.agenda-details h3 a {
    color: var(--white);
    text-decoration: none;
}

.agenda-details p {
    color: #ddd;
    margin: 0;
}

/* --- RODAPÉ PREMIUM --- */
.site-footer {
    background: #111;
    color: #eee;
    padding: 0;
    font-family: var(--font-body);
    position: relative;
}

/* Faixa de Fitas Cultural */
.footer-cultural-ribbon {
    display: flex;
    height: 12px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 80px;
}

.footer-cultural-ribbon span {
    flex: 1;
    height: 100%;
}

.footer-cultural-ribbon span:nth-child(5n+1) { background: #d32f2f; } /* Vermelho */
.footer-cultural-ribbon span:nth-child(5n+2) { background: #1976d2; } /* Azul */
.footer-cultural-ribbon span:nth-child(5n+3) { background: #fbc02d; } /* Amarelo */
.footer-cultural-ribbon span:nth-child(5n+4) { background: #388e3c; } /* Verde */
.footer-cultural-ribbon span:nth-child(5n+5) { background: #ffffff; } /* Branco */

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-widget h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-about .footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.footer-about p {
    line-height: 1.8;
    color: #aaa;
    font-size: 0.95rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-list {
    list-style: none;
    padding: 0;
}

.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.footer-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: #20ba5a;
}

.footer-social-premium {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.site-info {
    background: #0a0a0a;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.developer-credit a {
    color: #999;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--secondary-color);
}

@media (max-width: 991px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-about {
        grid-column: span 1;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .centered-logo img {
        max-height: 100px;
    }

    /* Antigos estilos mobile removidos para evitar conflito com o novo design de 991px */


    /* Remove hover effect on mobile */
    .slider-content h2 {
        font-size: 2rem;
    }

    /* --- TIPOGRAFIA RESPONSIVA --- */
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .entry-content {
        padding: 25px !important;
    }
}

/* --- NOVAS SEÇÕES CULTURAIS --- */

:root {
    --gold-color: #f1c40f;
    --gold-dark: #d4ac0d;
}

.gold-btn {
    background-color: var(--gold-color) !important;
    color: #111 !important;
    border-color: var(--gold-color) !important;
    font-weight: 900 !important;
}

.gold-btn:hover {
    background-color: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
}

.gold-title {
    color: var(--gold-color) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gold-icon {
    color: var(--gold-color);
}

/* Sobre o Boi */
.home-about-section {
    padding: 80px 15px;
    background-color: #fff;
    background-image: url('https://www.transparenttextures.com/patterns/clean-textile.png');
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.image-cultural-frame img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--secondary-color);
    display: block;
    margin: 0 auto;
}

/* Agenda Tickets */
.pattern-palha {
    background-color: var(--primary-color);
    background-image: url('https://www.transparenttextures.com/patterns/woven-light.png');
    /* Padrão de palha/cesto */
}

.agenda-ticket {
    background: #fff;
    border-radius: 10px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-left: 8px solid var(--secondary-color);
    margin-bottom: 15px;
    overflow: hidden;
}

/* Efeito de ticket cortado nas laterais */
.agenda-ticket::before,
.agenda-ticket::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    background-image: url('https://www.transparenttextures.com/patterns/woven-light.png');
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.agenda-ticket::before {
    left: -15px;
}

.agenda-ticket::after {
    right: -15px;
}

.ticket-date i {
    font-size: 2.5rem;
}

.ticket-details h3 a {
    color: var(--primary-color) !important;
    font-weight: 800;
}

.ticket-details div {
    color: #666;
    font-size: 0.95rem;
}

/* Media Section (Video & Galeria) */
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.cultural-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-color);
}

.box-title {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.video-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mini-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* News Cards */
.cultural-card {
    border-top: 5px solid var(--secondary-color);
}

@media (max-width: 991px) {

    /* --- RESET DO CONTAINER NO MOBILE --- */
    .premium-header .container,
    .header-inner-centered {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        align-items: stretch !important;
    }

    /* Reativar bandeirinhas no mobile com ajuste de posição */
    .social-flags {
        display: flex !important;
        position: absolute !important;
        top: 0 !important;
        /* Presas ao topo da faixa vermelha */
        right: 20px !important;
        gap: 8px !important;
        z-index: 20 !important;
    }

    .social-flags .flag {
        width: 35px !important;
        height: 50px !important;
        font-size: 16px !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    }

    /* --- FAIXA FESTIVA: Centralização e Efeito Premium --- */
    .festive-banner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 25px !important;
        background: #b71c1c !important;
        background-image: url('https://www.transparenttextures.com/patterns/black-linen.png') !important;
        height: auto !important;
        /* Deixa o padding definir a altura */
        min-height: 140px !important;
        border-top: none !important;
        /* Removida a borda amarela do topo para colar */
        margin: 0 auto !important;
        /* Colado no topo */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important;
        /* Padding para o círculo respirar */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
        position: relative !important;
        overflow: visible !important;
    }

    .festive-banner .identity-name,
    .festive-banner::after {
        display: none !important;
    }

    /* --- LOGO: Medalhão Solar GIGANTE com Efeito Giratório --- */
    .logo-container.medallion-sun {
        position: relative !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        width: 140px !important;
        height: 140px !important;
        min-width: 140px !important;
        background: #fff !important;
        border: 5px solid var(--gold-color) !important;
        margin: 0 !important;
        display: flex !important;
        flex-shrink: 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        z-index: 5 !important;
        overflow: hidden !important;
    }

    .logo-container.medallion-sun img {
        max-height: 105px !important;
        z-index: 2 !important;
        position: relative !important;
    }

    /* Raios Solares Giratórios Mobile (CORRIGIDO: Translate + Rotate) */
    .logo-container.medallion-sun::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 180% !important;
        height: 180% !important;
        background: repeating-conic-gradient(from 0deg, rgba(255, 215, 0, 0.4) 0deg 10deg, transparent 10deg 20deg) !important;
        z-index: 1 !important;
        animation: rotateSunMobile 15s linear infinite !important;
        border-radius: 50% !important;
    }

    @keyframes rotateSunMobile {
        from {
            transform: translate(-50%, -50%) rotate(0deg);
        }

        to {
            transform: translate(-50%, -50%) rotate(360deg);
        }
    }

    /* --- NOME DO BOI --- */
    .mobile-identity-name {
        display: flex !important;
        flex-direction: column !important;
        color: var(--white) !important;
        font-family: var(--font-heading) !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        line-height: 1.2 !important;
        flex: 0 1 auto !important;
        text-align: left !important;
        z-index: 6 !important;
    }

    .mob-name-top {
        font-size: 20px !important;
        /* Ligeiramente maior */
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
    }

    .mob-name-bottom {
        font-size: 15px !important;
        color: var(--gold-color) !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
    }

    /* --- BARRA DE AÇÕES: Corrigido Vazamento Lateral --- */
    .mobile-actions-wrapper {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 20px !important;
        background: var(--white) !important;
        border-bottom: 2px solid var(--gold-color) !important;
        position: relative !important;
        margin: 0 !important;
        z-index: 10 !important;
    }

    .mobile-slogan {
        font-family: var(--font-heading) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: var(--primary-color) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        flex: 1 !important;
        text-align: left !important;
    }

    .mobile-social-icons a {
        font-size: 22px !important;
        color: var(--primary-color) !important;
    }

    .menu-toggle {
        display: block !important;
        position: static !important;
        /* Remove conflitos de posicionamento absoluto */
        margin-left: auto !important;
        /* Garante que encoste na direita se o flex falhar */
        margin-right: 0 !important;
        background: none !important;
        border: none !important;
        font-size: 32px !important;
        color: var(--primary-color) !important;
        padding: 0 !important;
        cursor: pointer !important;
        line-height: 1 !important;
    }

    /* --- SLIDER: Gap de 30px exatos abaixo da borda amarela --- */
    .home-slider-section {
        padding-top: 230px !important;
    }

    /* --- MENU LATERAL OFF-CANVAS: Corrigido e 100% Clicável --- */
    .centered-nav {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 300px !important;
        height: 100vh !important;
        background: var(--primary-color) !important;
        margin: 0 !important;
        z-index: 99999 !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        visibility: hidden;
    }

    .centered-nav.toggled {
        right: 0 !important;
        visibility: visible;
    }

    .mobile-menu-header {
        display: flex !important;
        justify-content: flex-end !important;
        padding: 20px 25px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .close-menu {
        color: var(--white) !important;
        font-size: 32px !important;
        cursor: pointer !important;
        line-height: 1 !important;
    }

    .centered-nav ul {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .centered-nav li {
        width: 100% !important;
        display: block !important;
    }

    .centered-nav a {
        display: block !important;
        width: 100% !important;
        color: var(--white) !important;
        padding: 20px 30px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        font-size: 18px !important;
        text-align: left !important;
        box-sizing: border-box !important;
        transition: background 0.3s ease !important;
    }

    .centered-nav a:active {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    /* --- PÁGINAS INTERNAS: Ajuste de topo para o header fixo --- */
    body:not(.home) .site-main {
        padding-top: 280px !important;
    }

    body.home .site-main {
        padding-top: 0 !important;
    }
}

/* Esconder elementos mobile no desktop */
@media (min-width: 992px) {

    .menu-toggle,
    .mobile-actions-wrapper,
    .mobile-identity-name,
    .mobile-menu-header {
        display: none !important;
    }
}

/* --- SISTEMA DE TÍTULOS UNIFICADO (PAGINAS INTERNAS) --- */
.page-header {
    background: #f4f4f4 url('https://www.transparenttextures.com/patterns/clean-textile.png');
    padding: 60px 0;
    margin-bottom: 50px;
    border-bottom: 2px solid #eee;
    width: 100%;
    text-align: center;
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    margin: 0;
}

.page-title::before,
.page-title::after {
    content: '';
    height: 4px;
    background: var(--secondary-color);
    flex-grow: 1;
    max-width: 180px;
}

.entry-content {
    background: #fff;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Ajuste para as páginas internas terem o fundo padrão do projeto */
.site-main {
    background-image: url('https://www.transparenttextures.com/patterns/clean-textile.png');
    min-height: 80vh;
}

/* Padding superior APENAS para páginas internas (não afeta a home) */
body:not(.home) .site-main {
    padding-top: 380px;
    /* Base desktop padding */
    padding-bottom: 60px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Redução do padding ao rolar a página para eliminar o vácuo nas internas */
body.scrolled:not(.home) .site-main {
    padding-top: 100px;
}

@media (max-width: 991px) {

    /* --- PÁGINAS INTERNAS: Ajuste de topo para o header fixo --- */
    body:not(.home) .site-main {
        padding-top: 280px !important;
    }

    body.scrolled:not(.home) .site-main {
        padding-top: 180px !important;
    }
}

/* --- PAGINAÇÃO (PÁGINA DE ARQUIVOS/AGENDA) --- */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.nav-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #fff;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.nav-links .page-numbers.current {
    border: 2px solid var(--secondary-color);
}

/* --- AGENDA HORIZONTAL LAYOUT (LISTA DE EVENTOS) --- */
.agenda-list-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.agenda-row-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.agenda-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.agenda-row-img {
    width: 350px;
    flex-shrink: 0;
    position: relative;
}

.agenda-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agenda-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 4rem;
    min-height: 200px;
}

.agenda-row-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agenda-row-content h3 {
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Badge de Data Flutuante */
.agenda-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 70px;
    display: flex;
    flex-direction: column;
}

.agenda-month {
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 0;
}

.agenda-day {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 900;
    padding: 10px 0;
    background: #fff;
    line-height: 1;
}

@media (max-width: 768px) {
    .agenda-row-card {
        flex-direction: column;
    }

    .agenda-row-img {
        width: 100%;
        height: 250px;
    }

    .agenda-row-content {
        padding: 25px;
    }
}

/* --- FUNDO FESTIVO: NOITE DE SÃO JOÃO E BUMBA MEU BOI --- */
.festive-sao-joao-bg {
    position: relative;
    background-color: #061126;
    /* Azul Escuro Profundo (Veludo) */
    background-image:
        /* Reflexo da Fogueira / Calor do São João */
        radial-gradient(circle at bottom center, rgba(220, 20, 60, 0.4) 0%, transparent 70%),
        /* Brilho da Lua / Magia */
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        /* Estrelas do Céu / Miçangas do Boi */
        radial-gradient(#fff, rgba(255, 255, 255, .2) 1.5px, transparent 3px),
        radial-gradient(#fff, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(#fff, rgba(255, 255, 255, .1) 1.5px, transparent 3px),
        radial-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .1) 1px, transparent 2px);
    background-size: 100% 100%, 100% 100%, 300px 300px, 150px 150px, 400px 400px, 200px 200px;
    background-position: 0 0, 0 0, 0 0, 40px 60px, 130px 270px, 70px 100px;
    padding: 100px 15px;
    border-top: 4px solid var(--secondary-color);
    border-bottom: 4px solid var(--secondary-color);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.festive-sao-joao-bg .container {
    position: relative;
    z-index: 2;
}

/* Ajuste dos cards de agenda (Tickets) para combinar com a noite */
.festive-sao-joao-bg .agenda-ticket {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.festive-sao-joao-bg .agenda-ticket:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-5px) !important;
    border-color: var(--secondary-color) !important;
}

.festive-sao-joao-bg .ticket-details h3 a {
    color: #fff !important;
}

.festive-sao-joao-bg .ticket-details div {
    color: #ddd !important;
}

/* --- TV MOCIDADE (YouTube Fullslider) --- */
.youtube-slider {
    padding: 20px 0 !important;
    width: 100% !important;
}

.youtube-slider .swiper-slide {
    width: 400px;
    /* Largura fixa para garantir espaçamento idêntico */
    height: auto;
}

@media (max-width: 1024px) {
    .youtube-slider .swiper-slide {
        width: 300px;
    }
}

@media (max-width: 640px) {
    .youtube-slider .swiper-slide {
        width: 260px;
    }
}

.youtube-slide-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    width: 100%;
}

.youtube-slide-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Moldura Festiva (Efeito Bordado/Bandeirinha) */
.youtube-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border: 4px dashed var(--secondary-color);
    /* Linha pontilhada Dourada/Amarela */
    border-radius: 12px;
    padding: 4px;
    background-color: var(--primary-color);
    /* Fundo Azul Escuro */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.youtube-slide-card:hover .youtube-thumbnail {
    border-color: #E60000;
    /* Muda pra vermelho no hover */
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.3);
}

.youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.5s ease;
}

.youtube-slide-card:hover .youtube-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    opacity: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.youtube-slide-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
    color: var(--secondary-color);
    opacity: 1;
}

.youtube-title-box {
    padding: 15px 5px 0 5px;
    background: transparent;
}

.youtube-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem;
}

/* Setas Customizadas (Redondas, Menores e Vermelhas) */
.youtube-next,
.youtube-prev {
    background-color: #E60000 !important;
    color: #fff !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    margin-top: -15px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 20;
}

.youtube-next {
    right: 15px !important;
}

.youtube-prev {
    left: 15px !important;
}

.youtube-next:after,
.youtube-prev:after {
    font-size: 0.9rem !important;
    font-weight: bold;
}

.youtube-next:hover,
.youtube-prev:hover {
    background-color: var(--primary-color) !important;
    transform: scale(1.1);
}

/* Lightbox */
.youtube-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.youtube-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    z-index: 10000;
}

.lightbox-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

/* --- SEÇÃO INSTAGRAM (NOVO) --- */
.home-instagram-section {
    position: relative;
    overflow: hidden;
}

.instagram-feed-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.home-instagram-section .btn-primary:hover {
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

/* --- MESTRA JUCINE SECTION (PONTO DE CULTURA) --- */
.mestra-jucine-section {
    width: 100%;
    background-color: #fcfbf9;
    /* Off-white leve para contrastar */
    background-image: url('https://www.transparenttextures.com/patterns/clean-textile.png');
    overflow: hidden;
    border-top: 2px solid var(--gold-color);
}

.mestra-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.mestra-image-col {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    box-sizing: border-box;
}

.mestra-image-col img.mestra-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mestra-text-col {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.mestra-content-box {
    background: #ffffff;
    padding: 50px 45px;
    max-width: 650px;
    position: relative;
    border: 3px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

/* Moldura Dupla Deslocada (Efeito do Print) */
.mestra-content-box::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold-color);
    z-index: -1;
    pointer-events: none;
}

.mestra-subtitle {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-align: left;
}

.mestra-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
}

.mestra-description {
    line-height: 1.8;
    color: #444;
    text-align: left;
}

/* Responsividade */
@media (max-width: 991px) {

    .mestra-image-col,
    .mestra-text-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mestra-image-col img.mestra-img {
        max-height: 450px;
        min-height: auto;
    }

    .mestra-text-col {
        padding: 50px 20px;
    }

    .mestra-content-box {
        margin-top: 10px;
        padding: 35px 25px;
    }

    .mestra-content-box::before {
        top: -12px;
        left: -12px;
        border-width: 2px;
    }

    .mestra-subtitle {
        text-align: center;
    }

    .mestra-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .mestra-description {
        text-align: center;
    }
}

/* --- CULTURAL RIBBONS TRANSITION (FITAS DO BOI) --- */
.cultural-ribbons-transition {
    position: absolute;
    top: -30px;
    /* Reduzido para não cobrir o botão do YouTube */
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    overflow: visible;
    pointer-events: none;
}

.cultural-ribbons-transition svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fita-animada {
    transform-origin: center;
    animation: dancaFita 4s ease-in-out infinite alternate;
}

.fita-verde {
    animation-delay: 0s;
}

.fita-vermelha {
    animation-delay: -1s;
}

.fita-amarela {
    animation-delay: -2s;
}

.fita-azul {
    animation-delay: -3s;
}

@keyframes dancaFita {
    0% {
        transform: translateY(-5px) rotate(-1deg);
    }

    100% {
        transform: translateY(10px) rotate(1deg);
    }
}

@media (max-width: 768px) {
    .cultural-ribbons-transition {
        height: 60px;
        top: -15px;
    }
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* --- PURE MOSAIC GALLERY (HOME) --- */
.pure-mosaic-gallery {
    column-count: 3;
    column-gap: 15px;
    width: 100%;
}

.pure-mosaic-gallery .mosaic-item {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pure-mosaic-gallery .mosaic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pure-mosaic-gallery .mosaic-item img {
    width: 100% !important;
    height: auto !important;
    display: block;
    transition: opacity 0.3s ease, transform 0.5s ease;
    margin: 0;
}

.pure-mosaic-gallery .mosaic-item:hover img {
    opacity: 0.9;
    transform: scale(1.03);
    /* Mantendo o efeito de zoom suave */
}

/* Responsividade do Mosaico Puro */
@media (max-width: 991px) {
    .pure-mosaic-gallery {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .pure-mosaic-gallery {
        column-count: 2;
        column-gap: 5px;
    }

    .pure-mosaic-gallery .mosaic-item {
        margin-bottom: 5px;
        border-radius: 4px;
    }
}

/* --- HERO RIBBONS BACKGROUND (SURPRESA!) --- */
.hero-ribbons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
    /* Vibrante mas no fundo */
}

.hero-ribbons-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fita-animada-hero {
    transform-origin: center;
    animation: dancaFitaHero 6s ease-in-out infinite alternate;
}

.fita-verde-hero {
    animation-delay: 0s;
}

.fita-vermelha-hero {
    animation-delay: -1.5s;
}

.fita-amarela-hero {
    animation-delay: -3s;
}

.fita-azul-hero {
    animation-delay: -4.5s;
}

@keyframes dancaFitaHero {
    0% {
        transform: translateY(-15px) rotate(-1.5deg) scale(1);
    }

    100% {
        transform: translateY(15px) rotate(1.5deg) scale(1.03);
    }
}

.cultural-ribbons-transition svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fita-animada {
    transform-origin: center;
    animation: dancaFita 4s ease-in-out infinite alternate;
}

.fita-verde {
    animation-delay: 0s;
}

.fita-vermelha {
    animation-delay: -1s;
}

.fita-amarela {
    animation-delay: -2s;
}

.fita-azul {
    animation-delay: -3s;
}

@keyframes dancaFita {
    0% {
        transform: translateY(-5px) rotate(-1deg);
    }

    100% {
        transform: translateY(10px) rotate(1deg);
    }
}

@media (max-width: 768px) {
    .cultural-ribbons-transition {
        height: 60px;
    }

    /* Slider mais horizontal no mobile */
    .swiper {
        height: 250px !important;
    }

    .slider-content h2 {
        font-size: 1.8rem;
    }

    /* O Príncipe da Baixada (Imagem em cima, Texto embaixo) */
    .about-grid {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 30px;
    }

    .about-text {
        text-align: center !important;
    }

    .about-text .section-title {
        text-align: center !important;
    }

    /* Instagram: Como usa iframe do LightWidget, aplicamos Scroll Horizontal no mobile para as fotos ficarem graúdas! */
    .instagram-feed-container-full {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px !important;
        /* Espaço para o dedo */
    }

}

/* --- COMPARTILHAMENTO SOCIAL PREMIUM --- */
.premium-social-share {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.premium-social-share.share-centered {
    justify-content: center;
    border: none;
    margin: 10px 0 30px;
    padding: 0;
}

.share-label {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 1px;
}

.share-centered .share-label {
    font-size: 0.7rem;
}

.share-buttons-wrapper {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.premium-social-share.share-small .share-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    color: #fff;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.twitter { background: #000000; }
.share-btn.linkedin { background: #0077b5; }

@media (max-width: 768px) {
    .premium-social-share:not(.share-centered) {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


/* --- RODAPÉ FESTIVO PREMIUM (BANNER COMPLETO) --- */
.festive-footer {
    background: #0033aa;
    background: linear-gradient(135deg, #0099ff 0%, #0033aa 100%);
    color: #fff;
    padding: 0;
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    border-top: 5px solid var(--secondary-color);
    z-index: 10;
}

.footer-banner-panoramic {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 70%);
}

.side-images {
    position: absolute;
    top: 0;
    height: 100%;
    width: 40%;
    max-width: 600px;
    z-index: 1;
}

.side-images img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.mask-left {
    left: 0;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

.mask-right {
    right: 0;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

.festive-layout-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.festive-center-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 50px; /* Garante que o contato não encoste no menu */
}

.side-content {
    margin-top: 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.footer-contact-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.footer-phone {
    font-size: 1.6rem; /* Tamanho discreto e elegante */
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    margin-bottom: 5px;
    display: block;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-insta {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.footer-main-bull {
    position: relative;
    z-index: 30;
    margin-bottom: 10px;
}

.footer-main-bull img {
    max-width: 450px; /* Tamanho reduzido para equilíbrio */
    height: auto;
    filter: drop-shadow(0 0 50px rgba(255,255,255,0.3));
    transform: translateY(-50px); /* Pop-out discreto */
}

.fallback-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* --- NAVEGAÇÃO E INFO --- */
.footer-navigation-bar {
    background: rgba(0,0,0,0.4);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-navigation-bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-navigation-bar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    opacity: 0.8;
}

.site-info {
    background: rgba(0,0,0,0.5);
    padding: 20px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.developer-credit a {
    color: #fff;
    font-weight: 700;
}

@media (max-width: 991px) {
    .footer-banner-panoramic { 
        height: auto !important; 
        min-height: 400px !important;
        padding: 40px 0 !important; 
        display: flex !important;
        flex-direction: column !important;
    }
    .side-images { display: none !important; }
    .footer-main-bull { 
        margin-bottom: 20px !important; 
        margin-top: 0 !important;
    }
    .footer-main-bull img { 
        max-width: 280px !important; 
        width: 100% !important;
        transform: translateY(0) !important; 
    }
    .festive-layout-wrapper { 
        position: relative !important; 
        height: auto !important; 
        display: block !important;
        width: 100% !important;
    }
    .festive-center-container {
        padding-bottom: 20px !important;
    }
}

@media (max-width: 768px) {
    .footer-main-bull img { max-width: 220px !important; }
    .footer-navigation-bar ul { 
        flex-wrap: wrap !important; 
        gap: 10px 15px !important; 
        padding: 0 10px !important;
        justify-content: center !important;
    }
    .footer-navigation-bar ul li a { 
        font-size: 0.7rem !important; 
        padding: 5px !important;
    }
    .footer-phone { 
        font-size: 1.8rem !important; 
        margin-bottom: 5px !important; 
    }
    .footer-contact-label { 
        font-size: 0.65rem !important; 
        margin-top: 10px !important;
    }
    .footer-insta {
        font-size: 0.8rem !important;
    }
    .footer-navigation-bar {
        padding: 20px 5px !important;
    }
}

/* --- SISTEMA INSTITUCIONAL PADRONIZADO --- */
.institutional-page-wrapper {
    padding-top: var(--header-height); /* COMPENSA O MENU FIXO (380px) */
    background: #f9f9f9;
}

.institutional-breadcrumb {
    margin-top: 15px;
    color: #888;
    font-size: 0.9rem;
}

.institutional-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.institutional-content {
    padding: 60px 0;
}

.narrow-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.institutional-content .entry-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin: 40px 0 20px;
    border-left: 6px solid var(--secondary-color);
    padding-left: 20px;
}

.institutional-content .entry-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    .institutional-page-wrapper { padding-top: 200px; }
    .narrow-container { padding: 30px; margin: 0 15px; }
}