        html { scroll-behavior: smooth; }
        
        /* Fontes e ajustes finos */
        body { font-family: 'Asap', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
        .modal-active { overflow: hidden; }
        
        /* Ajuste para o container do vídeo manter proporção */
        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
        }
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Estilização para scrollbar personalizada */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        ::-webkit-scrollbar-thumb {
            background: #d0920d;
            border-radius: 10px;
        }

        /* Utility para esconder views */
        .hidden-view {
            display: none;
        }

        /* Estilos Específicos do Novo Calendário */
        .modal-open { overflow: hidden; }
        .modal-backdrop { background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .animate-fade-in { animation: fadeIn 0.4s ease-out forwards; }

        /* Simulação da fonte Corsiva */
        .font-corsiva {
            font-family: 'Monotype Corsiva', 'Apple Chancery', cursive;
        }

        /* Estilos da Identidade Visual */
        .bg-manual-light {
            background-color: #F9F5EF;
            background-image: radial-gradient(#d0920d 0.5px, transparent 0.5px);
            background-size: 20px 20px;
        }

        .glass-card-light {
            background: rgba(255, 255, 255, 0.65);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
        }

        .menu-item-light {
            padding: 1.5rem;
            cursor: pointer;
            border-bottom: 1px solid rgba(44, 54, 57, 0.1);
            transition: all 0.3s ease;
            color: rgba(44, 54, 57, 0.6);
        }
        .menu-item-light:hover {
            background: rgba(255, 255, 255, 0.5);
            color: #2c3639;
        }
        .menu-item-light.active {
            background: white;
            color: #d0920d;
            border-left: 4px solid #d0920d;
            font-weight: bold;
        }

        .content-panel {
            display: none;
            animation: fadeIn 0.4s ease-out forwards;
        }
        .content-panel.active {
            display: block;
        }
        .panel-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #2c3639;
            margin-bottom: 1rem;
            letter-spacing: -0.05em;
        }

        /* Animação do Modal Identidade Visual */
        #modal-diretrizes {
            transition: opacity 0.3s ease;
        }
        #modal-content {
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        }
        #modal-diretrizes.hidden-modal {
            opacity: 0;
            pointer-events: none;
        }
        #modal-diretrizes.hidden-modal #modal-content {
            transform: scale(0.95) translateY(20px);
            opacity: 0;
        }

        /* Iniciativas: imagem em área própria, texto e botão sempre acessíveis */
        .social-card {
            background:rgba(255,255,255,.055);border:1px solid rgba(231,200,165,.26);
            border-radius:22px;overflow:hidden;display:flex;flex-direction:column;
            width:100%;max-width:430px;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
        }
        .social-card:hover {transform:translateY(-4px);border-color:rgba(208,146,13,.7);box-shadow:0 18px 45px rgba(0,0,0,.16);}
        .social-card-photo {height:196px;position:relative;overflow:hidden;background:#62402a;}
        .social-card-photo img{height:100%;width:100%;object-fit:cover;transition:transform .5s ease;}
        .social-card:hover .social-card-photo img{transform:scale(1.035);}
        .social-card-body {padding:28px;display:flex;flex-direction:column;flex:1;}
        .social-card-action {display:inline-flex;align-items:center;gap:8px;align-self:flex-start;min-height:44px;margin-top:auto;
            color:#f3bd49;font-size:.9rem;font-weight:700;border-bottom:1px solid rgba(243,189,73,.5);}
        .social-card-action:hover {color:white;border-color:white;}
        .social-card-photo-caption {position:absolute;left:14px;bottom:14px;background:rgba(44,54,57,.86);color:white;font-size:11px;
            letter-spacing:.08em;font-weight:800;text-transform:uppercase;padding:7px 11px;border-radius:6px;}
        /* Revisão visual: cabeçalho sólido, legível e persistente em todas as telas */
        :root { --co-ouro: #d0920d; --co-escuro: #2c3639; --co-marfim: #f9f5ef; }
        body { padding-top: 76px; }
        .co-header { position:fixed; z-index:90; left:0;right:0;top:0;background:#fff; height: 76px; display: flex; align-items:center; border-bottom:1px solid rgba(83,44,17,.11); box-shadow:0 2px 12px rgba(44,54,57,.035); transition:box-shadow .22s ease; }
        .co-header-scrolled { box-shadow: 0 10px 30px rgba(44,54,57,.11); }
        .co-header > .container { width:100%; }
        .co-header-logo { height:58px; max-width:190px; }
        .co-desktop-nav .nav-link { position:relative; padding:12px 0; }
        .co-desktop-nav .nav-link::after { content:''; position:absolute; left:0; right:100%; bottom:5px; height:2px; background:var(--co-ouro); transition:right .2s ease; }
        .co-desktop-nav .nav-link:hover::after, .co-desktop-nav .nav-link:focus-visible::after { right:0; }
        .co-hero { min-height: min(790px, calc(100svh - 76px)); }
        .co-hero-title { text-wrap:balance; }
        .co-info-card:hover, .co-event-card:hover { transform:translateY(-3px); }
        #home-view section[id], #contato { scroll-margin-top:92px; }
        button, a { -webkit-tap-highlight-color:transparent; }
        a:focus-visible, button:focus-visible, input:focus-visible { outline:3px solid #d0920d; outline-offset:3px; }
        .co-header [id="main-logo"]:focus-visible { border-radius:8px; }
        @media(max-width:1279px) { .co-header-logo { height:54px; } }
        @media(max-width:767px) {
            body { padding-top:68px; }
            .co-header {height:68px;}
            .co-hero { min-height: min(760px, calc(100svh - 68px)); padding-bottom:35px; }
            .co-hero-title {font-size: clamp(2.1rem, 9.5vw, 3.2rem);}
            .co-header-logo {height:50px;}
        }
        @media(prefers-reduced-motion:reduce) {
            html {scroll-behavior:auto;}
            *, *::before, *::after {animation-duration:.01ms!important;transition-duration:.01ms!important;}
        }


        /* Design institucional — marca, cartões configuráveis e destaque estadual */
        .co-header {height:84px;}
        body {padding-top:84px;}
        .co-header-logo {height:78px; max-width:240px; width:auto;}
        .co-hero {min-height:min(790px,calc(100svh - 84px));}
        #home-view section[id], #contato {scroll-margin-top:101px;}
        .co-home-cards-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,295px),1fr));gap:24px;max-width:1100px;margin:0 auto; }
        .co-home-cards-grid[data-count="1"]{ max-width:570px; }
        .co-home-cards-grid[data-count="2"]{ max-width:980px; }
        .co-home-card {display:flex;flex-direction:column;min-height:222px;border:1px solid rgba(162,123,92,.18);border-bottom:3px solid #d0920d; background:#fff;box-shadow:0 14px 38px rgba(44,54,57,.085);border-radius:19px;padding:28px;transition:transform .25s ease,box-shadow .25s ease;}
        .co-home-card:hover {transform:translateY(-3px);box-shadow:0 20px 44px rgba(44,54,57,.12);}
        .co-home-card-icon {display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:13px;color:#a66d0a;background:#fbf2df;margin-bottom:15px;}
        .co-home-card h3{font-size:1.22rem;line-height:1.4;color:#2c3639;font-weight:700;margin-bottom:10px;}
        .co-home-card p{font-size:.94rem;line-height:1.65;color:#546168;flex:1;}
        .co-home-card a,.co-home-card button{display:inline-flex;align-items:center;gap:9px;align-self:flex-start;margin-top:17px;color:#90520f;font-size:.92rem;font-weight:700;cursor:pointer;}
        .co-home-card .co-card-photo{max-height:145px;width:100%;object-fit:cover;border-radius:12px;margin-bottom:18px;}
        .co-state-loading {padding:35px;text-align:center;color:#768188;}
        .co-event-banner{position:relative;border-radius:26px;background:linear-gradient(118deg,#452411 0%,#2c3639 96%);color:white;min-height:330px;overflow:hidden;box-shadow:0 22px 60px rgba(44,54,57,.16);isolation:isolate;}
        .co-event-banner .co-banner-backdrop {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.30;z-index:-2;}
        .co-event-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(44,31,21,.98) 0%,rgba(44,31,21,.83) 58%,rgba(44,31,21,.1) 100%);z-index:-1;}
        .co-event-banner-content{padding:clamp(30px,6vw,64px);max-width:850px;}
        .co-event-banner-tag {display:inline-flex;padding:9px 15px;border:1px solid rgba(231,180,70,.6);color:#f2ca72;background:rgba(208,146,13,.13);border-radius:60px;font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:20px;}
        .co-event-banner h2{font-size:clamp(1.9rem,4vw,3.3rem);line-height:1.16;letter-spacing:-.025em;font-weight:800;max-width:780px;}
        .co-event-banner p{line-height:1.65;color:#f1e6da;max-width:675px;margin-top:16px;}
        .co-banner-meta {font-size:.95rem;color:#f8dca5!important;font-weight:600;}
        .co-banner-button{display:inline-flex;align-items:center;gap:8px;background:#d0920d;color:white;border-radius:11px;padding:13px 23px;margin-top:24px;font-weight:800;box-shadow:0 4px 18px rgba(0,0,0,.15);}
        .co-footer{background:radial-gradient(ellipse at top left,rgba(208,146,13,.09),transparent 42%),#263237;}
        .co-footer-brand{background:#fffdf8;border:1px solid rgba(208,146,13,.30);padding:12px 24px;min-height:105px;min-width:195px;border-radius:18px;box-shadow:0 8px 23px rgba(0,0,0,.13);transition:transform .25s ease;}
        .co-footer-brand:hover{transform:translateY(-2px);}
        .co-footer-logo{height:82px;width:auto;max-width:210px;}
        .co-ui-icon{display:inline-block;width:18px;height:18px;vertical-align:-.2em;flex-shrink:0;pointer-events:none;}
        .co-link-icon{display:inline-flex;align-items:center;gap:7px;max-width:100%;text-decoration:none;line-height:1.45;}
        .co-link-icon .co-ui-icon{width:16px;height:16px;transition:transform .18s ease;}
        .co-link-icon:hover .co-ui-icon,.co-link-icon:focus-visible .co-ui-icon{transform:translate(2px,-2px);}
        .co-nav-back{display:inline-flex;align-items:center;gap:8px;min-height:40px;}
        .co-nav-back .co-ui-icon{width:17px;height:17px;}
        .co-live-status{display:inline-flex;align-items:center;gap:6px;}
        .co-live-status .co-live-dot{margin-right:0;}
        .co-live-active #co-live-mobile-label{display:inline-flex;align-items:center;gap:7px;}
        @media(max-width:1279px){.co-header-logo{height:72px;max-width:220px;}}
        @media(max-width:767px){body{padding-top:70px;}.co-header{height:70px;}.co-header-logo{height:62px;max-width:190px;}.co-hero{min-height:min(760px,calc(100svh - 70px));}.co-home-card{min-height:190px;padding:24px;}.co-event-banner:after{background:linear-gradient(90deg,rgba(44,31,21,.94),rgba(44,31,21,.65));}}


        /* Páginas internas — Agenda e Iniciativas */
        .co-internal-top {background:linear-gradient(118deg,#452713,#62391e 55%,#a27b5c);color:#fff;}
        .co-page-kicker {font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#f1be5e;}
        .co-filter-button {padding:10px 19px;border-radius:999px;border:1px solid #ddcbb6;font-weight:700;font-size:.9rem;color:#532c11;background:white;transition:all .2s ease;min-height:44px;}
        .co-filter-button[aria-pressed="true"] {background:#532c11;border-color:#532c11;color:#fff;}
        .co-event-list-item {background:white;border:1px solid #e9dfd1;border-radius:18px;padding:clamp(18px,3vw,28px);box-shadow:0 7px 23px rgba(44,54,57,.04);}
        .co-event-date {min-width:82px;background:#f9f3ea;color:#532c11;padding:12px 8px;border-radius:12px;text-align:center;}
        .co-event-detail summary {list-style:none;cursor:pointer;color:#a05a12;font-weight:700;display:inline-flex;align-items:center;gap:8px;padding:9px 0;}
        .co-event-detail summary::-webkit-details-marker {display:none;}
        .co-event-detail summary::after{content:'';display:inline-block;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:3px;transition:transform .18s ease;}
        .co-event-detail[open] summary::after {transform:rotate(225deg);}
        .co-initiative-photo {width:100%;height:clamp(215px,28vw,380px);object-fit:cover;border-radius:18px;}
        .co-live-active {background:#c91d24!important;border-color:#c91d24!important;color:#fff!important;box-shadow:0 8px 24px rgba(201,29,36,.25)!important;}
        .co-live-active:hover{background:#ab131b!important;}
        .co-live-dot {display:inline-block;background:currentColor;width:8px;height:8px;border-radius:50%;margin-right:5px;animation:coLivePulse 1.8s infinite;}
        @keyframes coLivePulse {50%{opacity:.45;}}
        @media (max-width:767px) {
            .co-hero {height:auto!important;min-height:calc(100svh - 70px)!important;padding-top:40px;padding-bottom:100px!important;}
            .co-hero-title {line-height:1.17!important;}
            .co-hero .co-hero-content {padding-top:12px!important;}
            .co-hero .co-hero-content > p {font-size:1rem;line-height:1.65;}
            .co-header {padding:0;}
            #mobile-menu{max-height:calc(100dvh - 70px);}
            .social-card-photo{height:185px;}
            .co-event-list-item {padding:18px;}
        }
        @media (max-width:390px) {
            .co-hero-title {font-size:clamp(1.85rem,9.3vw,2.3rem)!important;}
            .co-header-logo {max-width:162px;}
            .co-home-card {padding:20px;}
        }


        /* V3.2 — busca intuitiva e navegação móvel com foco nos caminhos principais */
        .co-church-finder {max-width:790px;margin:0 auto 36px;padding:24px;background:rgba(255,253,249,.09);border:1px solid rgba(255,235,201,.25);border-radius:19px;box-shadow:0 12px 32px rgba(20,12,8,.10);}
        .co-church-finder label {display:block;color:#fff;font-size:1.05rem;font-weight:700;margin-bottom:12px;}
        .co-church-search-line {display:flex;align-items:center;gap:12px;background:#fff;border:2px solid transparent;border-radius:12px;padding:7px 14px;min-height:54px;color:#976014;transition:border-color .18s ease;}
        .co-church-search-line:focus-within {border-color:#d0920d;box-shadow:0 0 0 3px rgba(208,146,13,.18);}
        .co-church-search-line input{flex:1;min-width:0;border:none;outline:none;box-shadow:none;background:none;font:inherit;font-size:1rem;color:#2c3639;min-height:40px;}
        .co-church-search-line input:focus-visible{outline:none;}
        .co-church-search-line input::placeholder{color:#65737a;opacity:1;}
        #co-igrejas-limpar{background:#f5ecdf;border-radius:8px;padding:9px 12px;font-weight:700;font-size:.85rem;min-height:40px;color:#532c11;}
        #co-igrejas-limpar[hidden], .igreja-card[hidden] {display:none!important;}
        .co-church-search-feedback{margin-top:11px;color:#f9e1c4;font-size:.87rem;line-height:1.5;min-height:20px;}
        .co-church-card{min-width:0;}
        .co-church-times{max-height:5.5em;overflow:hidden;}
        .co-hero-find-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:24px;padding:10px 12px;min-height:44px;border-radius:10px;color:#f4d69d;font-size:.95rem;font-weight:700;text-decoration:underline;text-underline-offset:4px;}
        .co-hero-find-link:hover,.co-hero-find-link:focus-visible{color:#fff;background:rgba(255,255,255,.10);}
        .co-mobile-panel{max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain;}
        .co-mobile-label{text-transform:uppercase;font-size:.74rem;color:#8b5d20;letter-spacing:.12em;font-weight:800;margin-bottom:12px;}
        .co-mobile-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:13px;}
        .co-mobile-shortcut{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:14px 7px;min-height:82px;border-radius:12px;background:#fbf4e9;border:1px solid #e7d5b9;color:#633814;font-weight:700;text-align:center;font-size:.8rem;line-height:1.3;}
        .co-mobile-shortcut .co-ui-icon{width:23px;height:23px;color:#ad7312;}
        .co-mobile-shortcut.co-live-active{background:#c91d24;color:#fff;border-color:#c91d24;}
        .co-mobile-shortcut.co-live-active .co-ui-icon{color:#fff;}
        .co-mobile-links{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px;}
        .co-mobile-links a,.co-mobile-more-links a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:46px;border-radius:9px;color:#2c3639;font-size:.93rem;font-weight:600;padding:9px 5px;}
        .co-mobile-links a:hover,.co-mobile-more-links a:hover{background:#f9f5ef;color:#92550c;}
        .co-mobile-more{border-top:1px solid #eee2d2;padding-top:8px;}
        .co-mobile-more summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;min-height:47px;padding:8px 11px;color:#653b15;font-weight:700;border-radius:8px;}
        .co-mobile-more summary::-webkit-details-marker{display:none;}
        .co-mobile-more-chevron{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-right:8px;transition:transform .18s ease;}
        .co-mobile-more[open] .co-mobile-more-chevron{transform:rotate(225deg);}
        .co-mobile-more-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:4px 0 8px;}
        @media(max-width:767px){.co-church-finder{padding:17px;margin-bottom:25px;}.co-church-finder label{font-size:.97rem;}.co-church-search-line{padding:5px 11px;}.co-hero-find-link{margin-top:15px;font-size:.88rem;}.co-mobile-shortcut{font-size:.75rem;}}
        @media(max-width:355px){.co-mobile-shortcuts{gap:5px;}.co-mobile-shortcut{font-size:.72rem;padding:10px 3px;}}
        /* Pequenos vazamentos horizontais observados entre tablet e desktop */
        @media(min-width:768px) and (max-width:1023px){#sobre .grid > .relative > .absolute:last-child{right:0;}}
        .co-footer a[href^="mailto:"]{min-width:0;}
        .co-footer a[href^="mailto:"] span{min-width:0;overflow-wrap:anywhere;}

        /* V3.2.1 — artes de eventos 1920x1080 (16:9), sem cortes */
        .co-event-card-art {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg,#3d271a,#69432d);
        }
        .co-event-card-art > img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
        }
        .co-event-card-art > img.co-art-fallback {
            padding: clamp(16px, 8%, 42px);
        }
        .co-event-card-date {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 5px 9px;
            border-radius: 8px;
            background: #fbf2e2;
            color: #673a17;
            font-size: .75rem;
            font-weight: 700;
            white-space: nowrap;
        }
        .co-event-list-art {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9;
            object-fit: contain;
            object-position: center;
            background: #f6f0e8;
            border: 1px solid #ecdfce;
            border-radius: 13px;
            flex-shrink: 0;
        }
        @media (min-width: 640px) { .co-event-list-art { width: 215px; } }
        @media (min-width: 1024px) { .co-event-list-art { width: 292px; } }
    
