:root {
    /* Color Palette - Modern Bold (Black, Red, White) */
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #e31b23;
    --accent-hover: #c0161d;
    --accent-soft: #fdecec;
    --text-main: #111111;
    --text-muted: #555555;
    --bg-light: #ffffff;
    --bg-alt: #f5f5f5;
    --line: #e2e2e2;
    --white: #ffffff;
    --glass-bg: #ffffff;
    --glass-border: var(--line);
    --radius: 6px;
    --radius-sm: 4px;
    --shadow-sm: 0 1px 2px rgba(20, 20, 20, 0.04), 0 2px 8px rgba(20, 20, 20, 0.04);
    --shadow-md: 0 10px 30px rgba(20, 20, 20, 0.08);

    --font-heading: 'Figtree', system-ui, -apple-system, sans-serif;
    --font-body: 'Figtree', system-ui, -apple-system, sans-serif;

    --section-padding: 88px 0;
    --transition-smooth: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.015em;
    text-transform: none;
    position: relative;
    color: inherit;
    line-height: 1.2;
}

h1 {
    letter-spacing: -0.025em;
    line-height: 1.08;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Base Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    font-size: 1.1rem;
    /* Slightly larger base size */
    letter-spacing: 0.15em;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 3rem;
    margin-top: 5px;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #333;
}

.btn-light,
.btn-white-outline {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover,
.btn-white-outline:hover {
    background-color: #ececec;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: #cfcac4;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background-color: var(--white);
}

.btn-lg {
    min-height: 54px;
    padding: 0 28px;
    font-size: 1.02rem;
}

/* Pulse Animation for CTA Buttons */
@keyframes btnPulse {
    0% {
        box-shadow: 0 5px 15px rgba(227, 27, 35, 0.2);
    }

    50% {
        box-shadow: 0 5px 25px rgba(227, 27, 35, 0.5);
    }

    100% {
        box-shadow: 0 5px 15px rgba(227, 27, 35, 0.2);
    }
}

.btn-pulse {
    animation: btnPulse 2s infinite ease-in-out;
}

/* Global Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
}

/* Enhanced Shadows */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.activity-card,
.s-card,
.schedule-container {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04);
}

/* Utilities */
.text-center {
    text-align: center;
}

.py-section {
    padding: var(--section-padding);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    padding: 12px 0;
    background: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: none;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 20px;
    }
}

.logo .logo-text {
    position: relative;
    z-index: 2002;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.04em;
    white-space: nowrap;
    line-height: 0.9;
}

.logo-text span {
    color: inherit;
    font-weight: 900;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 0.48rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.22em;
    opacity: 0.8;
    margin-top: 4px;
    text-transform: uppercase;
    display: block;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.42rem;
        letter-spacing: 0.1em;
        margin-top: 2px;
    }
}

@media (max-width: 768px) {

    .nav-links.active~.logo .logo-text,
    .nav-links.active~.mobile-menu-btn span {
        /* This selector might not work depending on siblings, let's use a simpler one */
    }
}

/* Ensure Logo is above menu */
.logo {
    position: relative;
    z-index: 2002;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
    margin-left: auto;
    padding-left: 50px;
    /* Pushes menu and CTA to the right */
    margin-right: 30px;
    /* Separation between menu and button */
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a {
    font-size: 0.8rem;
    /* Slightly smaller to fit more items */
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    white-space: nowrap;
    /* Prevent wrapping */
}

.chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    min-width: 280px;
    border-radius: 8px;
    padding: 15px 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

/* Dropdown Triangle Pointer */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--accent-color);
    /* Red triangle as per image */
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.nav-links li:hover .chevron {
    transform: rotate(180deg);
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    color: var(--primary-color) !important;
    text-transform: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
    letter-spacing: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.02);
    color: var(--accent-color) !important;
}

.has-arrow::after {
    content: '›';
    font-size: 1.2rem;
    color: #ccc;
}

.dropdown-menu a:hover.has-arrow::after {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2001;
    /* Higher than menu overlay */
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.mobile-menu-btn.active span {
    background-color: var(--primary-color);
    /* Black on white background */
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* Agenda Section */
#agenda {
    background-color: #fcfcfc;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.agenda-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.agenda-card:last-child:nth-child(odd) {
    grid-column: 1 / span 2;
    max-width: calc(50% - 13px);
    margin: 0 auto;
    width: 100%;
}

.agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.agenda-card-date {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    min-width: 100px;
}

.agenda-card-content {
    flex: 1;
    padding: 0 30px;
}

.agenda-card-content h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.agenda-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.agenda-card-speaker-img {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    /* Prevent image from shrinking */
}

.agenda-card-speaker-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.agenda-card:hover .agenda-card-speaker-img img {
    transform: scale(1.1);
}

.agenda-actions .btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.agenda-actions .btn:hover {
    background: var(--accent-color);
    color: var(--white) !important;
    border-color: var(--accent-color);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.status-realizada {
    background: rgba(76, 209, 55, 0.1);
    color: #4cd137;
    border: 1px solid rgba(76, 209, 55, 0.2);
}

.status-nao-realizada {
    background: rgba(227, 27, 35, 0.05);
    color: var(--accent-color);
    border: 1px solid rgba(227, 27, 35, 0.1);
}

@media (max-width: 992px) {
    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .agenda-card:last-child:nth-child(odd) {
        max-width: none;
    }

    .agenda-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 30px 20px;
    }

    .agenda-card-content {
        padding: 0;
    }
}

/* Hero Section */
.page-hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.7);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding-top: 50px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/IMAGEMCAPA2.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomHero 20s infinite alternate;
}

@keyframes zoomHero {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

/* Specific overlay for Home Page with the new image */
#home .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.slider-arrow svg {
    width: 28px;
    height: 28px;
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dots .dot.active {
    width: 30px;
    height: 8px;
    border-radius: 10px;
    background: var(--accent-color);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: none;
    letter-spacing: 0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4cd137;
    border-radius: 50%;
}

/* Hero Slides */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-text {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    z-index: 5;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-white-outline {
    background: #ffffff;
    color: var(--primary-color);
    border: none;
    font-weight: 700;
}

.btn-white-outline:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero h1,
.hero p,
.hero .section-tag,
.past-lectures-hero h1,
.past-lectures-hero p,
.page-hero h1,
.page-hero p {
    color: var(--white);
}

.hero h1 span,
.hero-text h1 span,
.page-hero h1 span,
.logo-text span {
    color: var(--white) !important;
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: clamp(15px, 3vw, 25px);
    font-weight: 900;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 1);
}

.hero p {
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    margin-bottom: 20px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7), 0 1px 5px rgba(0, 0, 0, 0.9);
}

/* Quem Somos Section - Ultra Compact Overrides */
#about {
    padding: 40px 5%;
}

#about .section-header {
    margin-bottom: 25px !important;
}

#about .section-header h2 {
    font-size: 2.2rem !important;
}

.header-divider {
    width: 40px;
    height: 2px;
    background: #e1b12c;
    margin: 10px auto 0;
}

.about-main-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.about-image-side .image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    /* Better for responsive */
    aspect-ratio: 4/3;
    max-width: 544px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text-side p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 12px;
}

.about-stats {
    display: flex;
    gap: 25px;
    margin: 20px 0;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.stat-icon {
    width: 25px;
    height: 25px;
    color: var(--accent-color);
    margin-bottom: 2px;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pillar-card {
    background: #ffffff;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
    text-align: center;
}

.pillar-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.pillar-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.pillar-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 10px;
    color: var(--accent-color);
    background: rgba(231, 76, 60, 0.03);
    padding: 8px;
    border-radius: 8px;
}

/* Activities */
/* Activities Section Redesign */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Specific styles for the bottom part to allow centering on PC */
@media (min-width: 1024px) {
    .activities-grid-bottom {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
    }

    .activities-grid-bottom .activity-card {
        flex: 0 1 380px;
    }

    .activities-grid-bottom .gede-card-expanded {
        flex: 1 1 100%;
    }
}

.activity-card {
    position: relative;
    padding: 40px 35px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.activity-card.glass {
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.activity-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(227, 27, 35, 0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.05) 0%, rgba(227, 27, 35, 0.1) 100%);
    border-radius: 18px;
    /* Modern squircle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.activity-card:hover .icon-circle {
    background: var(--accent-color);
    transform: rotate(-5deg) scale(1.1);
}

.icon-circle svg {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.activity-card:hover .icon-circle svg {
    color: var(--white);
}

.activity-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.activity-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
    /* Allow description to grow and push bottom info down */
}

.activity-info-wrapper {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.activity-time {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.time-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.time-content {
    line-height: 1.4;
}

.activity-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #777;
    background: #fdfdfd;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* GEDE Expanded Card Styles */
.gede-card-expanded {
    grid-column: 1 / -1;
    /* Always take full width of its container to avoid breaking rows */
    width: 100%;
    height: auto !important;
}

.gede-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.gede-item {
    background: rgba(0, 0, 0, 0.02);
    padding: 15px;
    border-radius: 12px;
    border-left: 3px solid var(--accent-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    min-height: min-content;
}

.gede-item:hover {
    background: rgba(227, 27, 35, 0.03);
    transform: translateX(5px);
}

.gede-item h4 {
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-weight: 800;
}

.gede-content {
    font-size: 0.85rem !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
    color: var(--text-main) !important;
    flex: none !important;
    /* Don't grow inside item */
}

.gede-sessions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gede-sessions span {
    display: block;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .gede-grid {
        grid-template-columns: 1fr;
    }

    .gede-card-expanded {
        padding: 30px 20px !important;
    }
}

.activity-status svg {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .activity-card {
        padding: 30px 25px;
    }

    .activity-card h3 {
        font-size: 1.25rem;
    }

    .activity-card p {
        font-size: 0.95rem;
    }
}

/* Location Section */
.location-section {
    background-color: #fcfcfc;
    position: relative;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.location-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.map-container {
    height: 350px;
    width: 100%;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    padding: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.unit-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(227, 27, 35, 0.1);
    color: var(--accent-color);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    width: fit-content;
    text-transform: uppercase;
}

.location-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: -0.01em;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-map {
    margin-top: 25px;
    width: 100%;
    text-align: center;
    background: #f8f9fa;
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px;
    font-weight: 700;
    border-radius: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-map:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-container {
        height: 300px;
    }
}


/* Schedule Section */
.schedule-container {
    border-radius: 30px;
    overflow: hidden;
    padding: 0;
}

.schedule-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.03);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    background: var(--white);
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

.tab-content {
    padding: 30px;
    background: var(--white);
}

.schedule-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: var(--transition-smooth);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: #fdfdfd;
    padding-left: 30px;
}

.schedule-item .date {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent-color);
    width: 50px;
}

.schedule-item .info {
    flex: 1;
}

.schedule-item .info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.schedule-item .info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.schedule-item .time {
    font-weight: 700;
    color: var(--primary-color);
    background: #f1f4f6;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

#social.py-section {
    padding: 60px 5%;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.social-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.campaign-box {
    margin: 30px 0;
    padding: 25px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 27, 35, 0.08) 0%, rgba(255, 27, 35, 0.02) 100%);
    border: 1px solid rgba(255, 27, 35, 0.15);
    border-left: 5px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.campaign-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    filter: blur(80px);
    opacity: 0.1;
}

.campaign-box h4 {
    margin-bottom: 10px;
    color: var(--accent-color);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.campaign-box p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.social-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.s-card {
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
    /* White cards on light gray background */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.s-card:hover {
    background: #ffffff;
    border-color: var(--accent-color);
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.s-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 27, 35, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.s-card:hover .s-card-icon {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.s-card-content h4 {
    margin-bottom: 4px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.s-card-content p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .social-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .social-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-text .section-tag {
        margin: 0 auto;
    }

    .campaign-box {
        text-align: center;
        border-left: none;
        border-top: 5px solid var(--accent-color);
    }

    .campaign-box h4 {
        justify-content: center;
    }

    .s-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
        gap: 15px;
    }

    .s-card:hover {
        transform: translateY(-5px);
    }

    .s-card-content p {
        text-align: center;
    }

    .social-text .btn {
        margin-top: 20px;
    }
}

/* Footer */
footer {
    background-color: #f5f7fa;
    /* Light Slate - Much lighter and more subtle */
    color: var(--primary-color);
    padding-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 60px;
}

.footer-brand .logo-text {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.footer-brand .logo-text span {
    color: var(--primary-color) !important;
}

.footer-brand .logo-subtitle {
    color: var(--primary-color);
    opacity: 0.7;
}

.footer-brand p {
    margin: 25px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-units h4,
.footer-bookstore h4 {
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    font-weight: 800;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-main);
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.unit-title {
    color: var(--accent-color);
    /* Red as in the site's palette */
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.unit-icon {
    color: var(--accent-color);
}

.footer-contact-text p {
    color: var(--text-main);
    opacity: 0.8;
    margin-bottom: 5px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bookstore-item p {
    color: var(--text-main);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.bookstore-item strong {
    opacity: 1;
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

/* Social Links Icons */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: var(--transition-smooth);
    color: var(--primary-color);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    display: block;
    transition: var(--transition-smooth);
}

/* Ensure outlined icons (Instagram) don't get filled */
.social-links svg[stroke] {
    stroke: currentColor;
    fill: none;
}

/* Ensure filled icons (Facebook, YouTube) stay filled */
.social-links svg:not([stroke]) {
    fill: currentColor;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand,
    .footer-links,
    .footer-units,
    .footer-bookstore {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .unit-title {
        justify-content: center;
        width: 100%;
    }

    .footer-contact-text {
        text-align: center;
        width: 100%;
    }

    .footer-links h4,
    .footer-units h4,
    .footer-bookstore h4 {
        margin-bottom: 20px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-main-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item {
        align-items: center;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    .agenda-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 20px;
        /* Tighter padding for mobile */
    }

    h2 {
        font-size: 2rem !important;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    .narrow-container {
        padding: 0 20px !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        padding: 100px 0 40px;
        /* Space for logo */
        box-shadow: none;
        z-index: 2000;
        overflow-y: auto;
        animation: slideInDown 0.4s ease-out;
    }

    /* Change logo text color when menu is active */
    body.menu-open .logo-text {
        color: var(--primary-color) !important;
    }

    @keyframes slideInDown {
        from {
            transform: translateY(-100%);
        }

        to {
            transform: translateY(0);
        }
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        display: block;
        /* Ensure it's a block for the dropdown to sit under it */
    }

    .nav-links a {
        color: var(--primary-color);
        padding: 15px 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1.1rem;
        justify-content: center;
        display: flex;
        width: 100%;
        text-align: center;
    }

    /* Show CTA inside/below menu on mobile */
    .nav-links.active::after {
        content: "";
        display: block;
        height: 80px;
        /* Spacer */
    }

    .nav-links.active~.nav-cta {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2003;
        width: 90%;
        justify-content: center;
    }

    .nav-links.active~.nav-cta .btn {
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        padding: 0 !important;
        background: #fdfdfd !important;
        width: 100% !important;
        min-width: 0 !important;
        /* Reset desktop min-width */
        border-top: 1px solid rgba(0, 0, 0, 0.03) !important;
        border-radius: 0 !important;
    }

    .dropdown-menu li {
        display: block !important;
        width: 100% !important;
    }

    .dropdown-menu li a {
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02) !important;
        color: var(--text-muted) !important;
        justify-content: center !important;
        width: 100% !important;
        display: flex !important;
    }

    .dropdown-menu::before {
        display: none !important;
    }

    .nav-links li.active .dropdown-menu {
        display: block;
    }

    .nav-links li.active .chevron {
        transform: rotate(180deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    /* Brecho & Subpage Responsive Fixes */
    .image-text-block {
        grid-template-columns: 1fr !important;
        gap: 30px;
        margin: 40px 0;
        text-align: center;
    }

    .image-text-block.reverse {
        grid-template-columns: 1fr !important;
    }

    .image-text-block.reverse .block-image {
        grid-row: auto;
        grid-column: auto;
    }

    .image-text-block.reverse .block-text {
        grid-column: auto;
    }

    .grid-info {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .campaign-box {
        padding: 25px !important;
    }

    .campaign-box h4 {
        justify-content: center;
    }
}

/* --- Nossa História: Estilos Refinados --- */
.subpage.history-page {
    background-color: var(--white);
    color: var(--text-main);
}

.history-page .page-hero {
    height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding-top: 80px;
    background-size: cover;
    background-position: center;
}

.history-page .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.history-page .hero-container {
    position: relative;
    z-index: 10;
}

/* Subpage Hero Adjustments */


.header-divider {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.narrow-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography & Flow */
.intro-text .lead-text {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.history-block {
    margin-bottom: 60px;
}

.history-block h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-weight: 800;
}

.history-block p {
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: var(--text-main);
}

/* Image Text Blocks - NEW ALIGNMENT */
.image-text-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin: 80px 0;
}

.image-text-block.reverse .block-text {
    grid-column: 1;
}

.image-text-block.reverse .block-image {
    grid-column: 2;
    grid-row: 1;
}

.image-text-block.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.block-image .image-wrapper {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.block-image .image-wrapper img {
    border-radius: 12px;
}

.block-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.full-width-img {
    margin: 60px 0;
}

.img-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    font-weight: 500;
}

/* Spiritual Message Cards */
.message-card {
    padding: 60px;
    border-radius: 24px;
    margin: 80px 0;
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.message-card .card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.message-card .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.2;
}

.message-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.spiritual-msg {
    font-family: inherit;
    font-size: 1.05rem;
    line-height: 1.9;
    font-style: italic;
    color: var(--text-muted);
    border-left: 3px solid var(--accent-color);
    padding-left: 30px;
}

.spiritual-msg p {
    margin-bottom: 20px;
}

/* Highlights */
.highlight-date {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 60px 0;
    padding: 30px;
    background: linear-gradient(to right, #f8f9fa, #fff);
    border-radius: 16px;
    border-left: 6px solid var(--accent-color);
}

.highlight-date .date {
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 900;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.highlight-box {
    padding: 40px;
    border-radius: 16px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 80px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 107, 0.15);
}

/* Thanks Section */
.thanks-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.thanks-list {
    list-style: none;
    padding: 0;
}

.thanks-list li {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid rgba(0, 0, 0, 0.05);
}

.thanks-list li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.final-cta {
    margin-top: 100px;
    padding: 80px 40px;
    border-radius: 32px;
    background: #f8f9fa;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.final-cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

@media (max-width: 992px) {

    .image-text-block,
    .image-text-block.reverse {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
        margin: 50px 0;
    }

    .image-text-block.reverse .block-text {
        grid-column: 1;
    }

    .image-text-block.reverse .block-image {
        grid-column: 1;
        grid-row: auto;
    }

    .block-image .image-wrapper {
        border-radius: 12px;
    }

    .history-page .page-hero {
        height: 50vh;
    }

    .spiritual-msg {
        padding-left: 20px;
        font-size: 1rem;
    }
}

/* Past Lectures Page Styles */
.past-lectures-hero {
    padding: 140px 0 60px;
    background: var(--primary-color);
    text-align: center;
    color: var(--white);
}

.filter-container {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #f8f9fa;
    position: sticky;
    top: 80px;
    z-index: 900;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(227, 27, 35, 0.2);
}

.archive-hint {
    text-align: center;
    padding: 20px;
    margin: 20px auto 0;
    max-width: 600px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
}

.archive-hint svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.lectures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 40px 0;
}

.year-section {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.year-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 800;
}

.year-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.lecture-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    height: 100%;
}

.lecture-card:hover {
    transform: translateY(-8px);
}

.lecture-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f1f2f6;
}

.lecture-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.lecture-card:hover .lecture-img img {
    transform: scale(1.05);
}

.lecture-info {
    padding: 15px 0 0 0;
}

.lecture-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--text-main);
    line-height: 1.4;
    font-weight: 500;
}

.video-unavailable {
    display: inline-block;
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
    margin-top: 5px;
}

.lecture-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.lecture-card a:hover .lecture-img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .lectures-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .lectures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .lectures-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .filter-container {
        top: 70px;
        padding: 20px 10px;
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .past-lectures-hero {
        padding: 120px 0 40px;
    }
}

@media (max-width: 768px) {
    .narrow-container {
        padding: 0 25px;
    }

    .message-card {
        padding: 35px 20px;
        margin: 50px 0;
    }

    .message-card .card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .highlight-date {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 25px;
    }

    .history-block h2 {
        font-size: 1.5rem;
    }

    .history-block p {
        font-size: 1rem;
    }
}

/* Mobile Optimization for Section Headers */
@media (max-width: 768px) {
    .section-tag {
        font-size: 1.4rem;
        /* Increased as requested */
        letter-spacing: 0.1em;
        margin-bottom: 8px;
    }

    .section-header h2 {
        font-size: 1.8rem;
        /* Decreased as requested */
        margin-top: 5px;
    }

    .section-header p {
        font-size: 1rem;
    }

    .btn-mobile-full {
        width: 100% !important;
        text-align: center;
        justify-content: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: inline-flex !important;
    }

    /* Fix Campaign Title breaking on mobile */
    .campaign-box h4 {
        font-size: 1.1rem !important;
    }
}

/* Mobile Hero Background Update */
@media (max-width: 768px) {
    .hero-bg {
        background-image: url('assets/IMAGEMCAPAMobile.webp') !important;
    }
}

/* =========================================================
   Redesign 2026 – camada final (sobrepõe estilos anteriores)
   ========================================================= */

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

body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.container {
    max-width: 1180px;
    padding: 0 24px;
}

/* Remove efeitos chamativos antigos */
.btn-pulse {
    animation: none;
}

.glass {
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--line);
    box-shadow: none;
}

.section-tag {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.4rem);
    font-weight: 700;
}

.header-divider {
    display: none;
}

/* ---------- Navegação ---------- */
nav {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

nav.scrolled {
    padding: 10px 0;
    background: rgba(17, 17, 17, 0.97);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-content {
    max-width: 1280px;
    padding: 0 24px;
    gap: 24px;
}

.logo a {
    gap: 12px;
}

.nav-logo-img {
    height: 44px;
    width: 44px;
    border-radius: 6px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    opacity: 0.7;
    margin-top: 3px;
}

.nav-links {
    gap: 4px;
    padding-left: 0;
    margin-right: 8px;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.88;
    padding: 10px 12px;
    border-radius: 8px;
}

.nav-links > li > a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-menu {
    min-width: 260px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu::before {
    display: none;
}

.nav-links li:hover .dropdown-menu,
.nav-links li:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
}

.dropdown-menu a {
    font-size: 0.92rem;
    padding: 10px 12px;
    border-radius: 8px;
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--bg-alt);
}

.btn-nav {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
    background: var(--accent-color);
    color: var(--white);
}

.btn-nav:hover {
    background: var(--accent-hover);
}

@media (max-width: 1180px) {
    .nav-cta {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        inset: 0;
        height: 100dvh;
        margin: 0;
        padding: 88px 20px 120px;
        background: var(--white);
        z-index: 2000;
        overflow-y: auto;
        gap: 0;
        animation: menuFade 0.2s ease-out;
    }

    @keyframes menuFade {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .nav-links li {
        display: block;
        width: 100%;
        text-align: left;
    }

    .nav-links a,
    .nav-links > li > a {
        color: var(--primary-color);
        font-size: 1.08rem;
        font-weight: 600;
        opacity: 1;
        justify-content: space-between;
        padding: 16px 4px;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        width: 100%;
    }

    .nav-links > li > a:hover {
        background: none;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        min-width: 0 !important;
        width: 100% !important;
        padding: 4px 0 8px !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .dropdown-menu li a {
        justify-content: flex-start !important;
        font-size: 0.98rem !important;
        font-weight: 500 !important;
        color: var(--text-muted) !important;
        padding: 10px 12px !important;
        border-bottom: none !important;
    }

    .nav-links li.active .dropdown-menu {
        display: block;
    }

    .nav-links li.active > a .chevron {
        transform: rotate(180deg);
    }

    body.menu-open .logo-text,
    body.menu-open .logo-subtitle {
        color: var(--primary-color) !important;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-links.active ~ .nav-cta {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 16px;
    }

    .nav-logo-img {
        height: 38px;
        width: 38px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0;
    }
}

/* ---------- Seções (home) ---------- */
.section {
    padding: 88px 0;
}

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

.section-head {
    max-width: 640px;
    margin-bottom: 40px;
}

.section-head h2,
.split-text h2,
.location-info h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.4rem);
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section-head-row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Animação de entrada */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-bg {
        animation: none !important;
    }
}

/* ---------- Hero ---------- */
.hero {
    height: auto;
    min-height: 92vh;
    min-height: 92svh;
    padding: 120px 0 72px;
    align-items: flex-end;
}

.hero-bg {
    background-position: center 30%;
    animation: zoomHero 30s ease-in-out infinite alternate;
}

#home .hero-overlay {
    background:
        linear-gradient(90deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.15) 100%),
        linear-gradient(0deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 45%);
}

.hero-inner {
    width: 100%;
}

.hero-text {
    max-width: 620px;
    padding: 0;
    text-align: left;
}

.hero-kicker {
    font-size: 0.95rem !important;
    font-weight: 500;
    opacity: 0.85 !important;
    margin: 0 0 14px !important;
    text-shadow: none !important;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.03em;
    text-shadow: none;
    margin-bottom: 18px;
}

.hero p.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin: 0 0 32px;
    max-width: 540px;
    text-shadow: none;
    opacity: 0.92;
}

.hero-btns {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 0;
}

.hero-facts {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-facts svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    opacity: 0.8;
}

/* ---------- Horários ---------- */
.week {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.day {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.day h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    padding-bottom: 14px;
    margin-bottom: 6px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.day ul li {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.98rem;
}

.day ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.day time {
    font-weight: 700;
    color: var(--accent-color);
    font-variant-numeric: tabular-nums;
}

.day span {
    color: var(--text-main);
    font-weight: 500;
}

.day small {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ---------- Primeira visita ---------- */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    counter-reset: none;
}

.steps li {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--line);
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.steps h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.steps p {
    color: var(--text-muted);
    font-size: 0.97rem;
}

/* ---------- Atividades ---------- */
.activities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.activity {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.activity:hover {
    border-color: #d6d0c9;
    box-shadow: var(--shadow-md);
}

.activity-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-color);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.activity-icon svg {
    width: 21px;
    height: 21px;
}

.activity h3 {
    font-size: 1.12rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.activity p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.activity .activity-when {
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.activity-when em {
    font-style: normal;
    font-weight: 500;
    color: var(--accent-color);
}

.gede {
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.gede summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.gede summary::-webkit-details-marker {
    display: none;
}

.gede summary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.gede[open] summary svg {
    transform: rotate(180deg);
}

.gede summary:hover {
    background: var(--bg-alt);
}

.gede-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 16px;
    padding: 14px 24px;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
}

.gede-row strong {
    display: block;
    color: var(--primary-color);
}

.gede-row span {
    color: var(--text-muted);
}

.gede-row-head {
    background: var(--bg-alt);
    font-size: 0.82rem;
    font-weight: 600;
}

.gede-row-head span {
    color: var(--text-main);
}

/* ---------- Agenda ---------- */
.talks {
    display: grid;
    gap: 10px;
}

.talk {
    display: grid;
    grid-template-columns: 64px 52px 1fr auto;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 20px;
}

.talk-date {
    text-align: center;
    line-height: 1;
    border-right: 1px solid var(--line);
    padding-right: 16px;
}

.talk-date strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.talk-date span {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.talk img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-alt);
}

.talk-info h3 {
    font-size: 1.02rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.talk-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.talk-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-color);
    white-space: nowrap;
}

.talk.is-done .talk-status {
    background: #eef0ee;
    color: #5b665d;
}

.talk.is-done .talk-date strong,
.talk.is-done .talk-info h3 {
    color: #6d6d73;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-weight: 600;
    color: var(--accent-color);
}

.link-arrow::after {
    content: '→';
    transition: transform 0.2s ease;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ---------- Blocos imagem + texto ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split-media {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-alt);
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-reverse .split-media {
    order: 2;
}

.split-text p {
    color: var(--text-muted);
    font-size: 1.03rem;
    margin-bottom: 14px;
}

.split-text p strong {
    color: var(--text-main);
}

.split-text p a {
    color: var(--accent-color);
    font-weight: 600;
}

.facts {
    display: flex;
    gap: 36px;
    margin: 24px 0 28px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.facts dt {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.facts dd {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.notice {
    border-left: 3px solid var(--accent-color);
    background: var(--bg-alt);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    margin: 20px 0 28px;
}

.notice strong {
    color: var(--primary-color);
}

.notice p {
    margin: 4px 0 0 !important;
    font-size: 0.97rem !important;
}

.btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- Espaços ---------- */
.places {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.place {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.place > div {
    padding: 18px 20px 20px;
}

.place h3 {
    font-size: 1.08rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.place h3::after {
    content: '→';
    color: var(--accent-color);
    transition: transform 0.2s ease;
}

.place p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.place:hover {
    box-shadow: var(--shadow-md);
}

.place:hover img {
    transform: scale(1.03);
}

.place:hover h3::after {
    transform: translateX(4px);
}

/* ---------- Localização ---------- */
.location {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: stretch;
}

.location-info {
    padding: 8px 0;
}

.location-address {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 8px 0 20px;
}

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

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.contact-list svg {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-list a:hover {
    color: var(--accent-color);
}

.location-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 360px;
    border: 1px solid var(--line);
    background: #e9e6e1;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}

/* ---------- Rodapé ---------- */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.72);
    padding: 64px 0 0;
    font-size: 0.94rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
    gap: 40px;
    text-align: left;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

.footer-brand p {
    max-width: 320px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.65);
}

footer h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 0;
}

footer .footer-sub {
    margin-top: 22px;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col ul li {
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: grid;
    place-items: center;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: none;
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: none;
}

.social-links svg[fill="currentColor"] {
    fill: currentColor;
}

.footer-bottom {
    margin-top: 48px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    color: inherit;
}

/* ---------- Barra fixa no celular ---------- */
.mobile-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1500;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
        transform: translateY(110%);
        transition: transform 0.3s ease;
    }

    .mobile-bar.is-visible {
        transform: none;
    }

    body.menu-open .mobile-bar {
        transform: translateY(110%);
    }

    .mobile-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 46px;
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 0.95rem;
        border: 1px solid #d7d2cc;
        color: var(--primary-color);
    }

    .mobile-bar a.is-primary {
        background: var(--accent-color);
        border-color: var(--accent-color);
        color: var(--white);
    }

    .mobile-bar svg {
        width: 18px;
        height: 18px;
    }

    footer {
        padding-bottom: 72px;
    }
}

/* ---------- Páginas internas ---------- */
.history-page .page-hero {
    height: auto;
    min-height: 46vh;
    padding: 140px 0 56px;
    align-items: flex-end;
}

.history-page .hero-overlay {
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.35) 100%) !important;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    text-shadow: none;
    margin-bottom: 0;
}

.page-hero h1 br {
    display: none;
}

.page-hero .section-tag,
.past-lectures-hero .section-tag {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem !important;
    margin-bottom: 10px !important;
}

.page-hero .hero-text {
    text-align: left;
}

.past-lectures-hero {
    padding: 140px 0 56px;
    background: var(--primary-color);
}

.past-lectures-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
}

.intro-text .lead-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-main);
}

.history-block h2 {
    font-size: 1.6rem;
    font-weight: 700;
}

.history-block p,
.block-text p {
    color: #3c3c42;
}

.message-card {
    border-radius: var(--radius);
    background: var(--bg-alt);
    border: none;
    box-shadow: none;
}

.message-card h3 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.1rem;
}

.block-image .image-wrapper,
.image-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
}

.campaign-box {
    box-shadow: none !important;
    border-radius: var(--radius) !important;
}

.filter-container {
    background: transparent;
    border-bottom: none;
    position: static;
    padding: 0 0 8px;
}

.filter-btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 16px;
    border-color: var(--line);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: none;
}

.lecture-card:hover {
    transform: none;
}

.lecture-img {
    border-radius: var(--radius-sm);
}

.year-section h2 {
    font-family: var(--font-heading);
}

.final-cta {
    border-radius: var(--radius);
    background: var(--bg-alt);
}

.final-cta h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

/* ---------- Responsivo (home) ---------- */
@media (max-width: 992px) {
    .week,
    .steps,
    .activities,
    .places {
        grid-template-columns: 1fr 1fr;
    }

    .split,
    .location {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
    }

    .split-reverse .split-media {
        order: 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    h1,
    h2 {
        font-size: inherit;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 7vw, 3.4rem) !important;
    }

    .section-head h2,
    .split-text h2,
    .location-info h2,
    .section-header h2 {
        font-size: clamp(1.6rem, 5vw, 2.1rem) !important;
    }

    .page-hero h1,
    .past-lectures-hero h1 {
        font-size: clamp(1.9rem, 7vw, 2.8rem) !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .py-section {
        padding: 56px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-head {
        margin-bottom: 24px;
    }

    .section-head p {
        font-size: 0.98rem;
    }

    .section-tag {
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }

    .hero {
        min-height: 88svh;
        padding: 100px 0 40px;
    }

    #home .hero-overlay {
        background: linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 55%, rgba(10, 10, 10, 0.35) 100%);
    }

    .hero-kicker {
        font-size: 0.85rem !important;
    }

    .hero p.hero-lead {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero-btns .btn {
        padding: 0 12px;
    }

    .hero-facts {
        margin-top: 24px;
        padding-top: 16px;
        font-size: 0.86rem;
        flex-direction: column;
        gap: 8px;
    }

    .week,
    .steps,
    .activities,
    .places {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .day,
    .activity {
        padding: 20px;
    }

    .steps li {
        display: grid;
        grid-template-columns: 36px 1fr;
        column-gap: 14px;
        padding: 18px;
    }

    .step-num {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .steps h3 {
        font-size: 1.02rem;
        margin-bottom: 4px;
    }

    .steps p {
        font-size: 0.93rem;
    }

    .activity {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 14px;
    }

    .activity-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        grid-row: span 3;
    }

    .activity h3 {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .activity p {
        font-size: 0.93rem;
    }

    .activity .activity-when {
        padding-top: 10px;
        font-size: 0.86rem;
    }

    .gede summary {
        padding: 16px 20px;
    }

    .gede-row-head {
        display: none;
    }

    .gede-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 20px;
    }

    .gede-row span[data-label]::before {
        content: attr(data-label) ': ';
        font-weight: 600;
        color: var(--text-main);
    }

    .gede-row .is-empty {
        display: none;
    }

    .talk {
        grid-template-columns: 52px 1fr;
        gap: 4px 14px;
        padding: 14px 16px;
    }

    .talk img {
        display: none;
    }

    .talk-date {
        grid-row: span 2;
        padding-right: 12px;
    }

    .talk-date strong {
        font-size: 1.35rem;
    }

    .talk-info h3 {
        font-size: 0.97rem;
    }

    .talk-status {
        justify-self: start;
        font-size: 0.75rem;
        padding: 3px 8px;
    }

    .section-head-row .btn {
        width: 100%;
    }

    .facts {
        gap: 20px;
        justify-content: space-between;
    }

    .facts dt {
        font-size: 1.4rem;
    }

    .facts dd {
        font-size: 0.8rem;
    }

    .split .btn,
    .btn-row .btn,
    .location-info .btn {
        width: 100%;
    }

    .btn-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .place {
        display: grid;
        grid-template-columns: 112px 1fr;
        align-items: center;
    }

    .place img {
        height: 100%;
        aspect-ratio: auto;
        min-height: 92px;
    }

    .place > div {
        padding: 12px 16px;
    }

    .place h3 {
        font-size: 1rem;
    }

    .place p {
        font-size: 0.88rem;
    }

    .location-map,
    .location-map iframe {
        min-height: 260px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    .footer-brand,
    .footer-links,
    .footer-units,
    .footer-bookstore {
        align-items: flex-start;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        margin-top: 32px;
    }

    .history-page .page-hero,
    .past-lectures-hero {
        min-height: 0;
        padding: 112px 0 36px;
    }

    .intro-text .lead-text {
        font-size: 1.08rem;
    }

    .history-block h2 {
        font-size: 1.35rem;
    }
}

/* ---------- Acabamento editorial (sem cara de template) ---------- */
.section-head {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 48px;
    align-items: end;
    border-top: 2px solid var(--primary-color);
    padding-top: 22px;
    margin-bottom: 44px;
}

.section-head h2 {
    margin-bottom: 0;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-head p {
    max-width: 460px;
    justify-self: end;
    text-align: right;
}

.section-head-row {
    display: grid;
}

.section-head-row > div h2 {
    margin-bottom: 6px;
}

.section-head-row > div p {
    text-align: left;
    justify-self: start;
}

.section-head-row .btn {
    justify-self: end;
}

/* Horários: colunas sem caixa */
.week {
    gap: 0;
    border-left: 1px solid var(--line);
}

.day {
    background: none;
    border: none;
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: 0 28px 8px;
}

.day h3 {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
}

.day ul li {
    grid-template-columns: 58px 1fr;
}

/* Passos */
.steps {
    gap: 0;
}

.steps li {
    background: none;
    border: none;
    border-left: 1px solid #d0d0d0;
    border-radius: 0;
    padding: 4px 28px 8px;
}

.step-num {
    display: block;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    color: var(--accent-color);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

/* Atividades: blocos de texto com fio superior */
.activities {
    gap: 36px 40px;
}

.activity {
    border: none;
    border-top: 1px solid var(--primary-color);
    border-radius: 0;
    padding: 18px 0 0;
    background: none;
}

.activity:hover {
    box-shadow: none;
}

.activity h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.activity .activity-when {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
}

.gede {
    margin-top: 40px;
    border: 1px solid var(--primary-color);
    border-radius: 0;
}

.gede-row-head {
    background: var(--primary-color);
}

.gede-row-head span {
    color: var(--white);
}

/* Agenda: lista em linhas */
.talks {
    gap: 0;
    border-top: 1px solid var(--line);
}

.talk {
    background: none;
    border: none;
    border-bottom: 1px solid #dadada;
    border-radius: 0;
    padding: 16px 0;
}

.section-alt .talk {
    background: none;
}

.talk-date {
    border-right: none;
    padding-right: 0;
    text-align: left;
}

.talk-status,
.talk.is-done .talk-status {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.talk.is-done .talk-status {
    color: #8a8a8a;
}

/* Espaços: imagem + legenda */
.places {
    gap: 36px 24px;
}

.place {
    background: none;
    border: none;
    border-radius: 0;
}

.place img {
    border-radius: var(--radius-sm);
}

.place > div {
    padding: 14px 0 0;
}

.place:hover {
    box-shadow: none;
}

.split-media,
.location-map {
    border-radius: var(--radius-sm);
}

.notice {
    background: none;
    border-left-width: 3px;
    padding: 4px 0 4px 18px;
}

@media (max-width: 992px) {
    .section-head {
        grid-template-columns: 1fr;
    }

    .section-head p,
    .section-head-row .btn {
        justify-self: start;
        text-align: left;
    }

    .week {
        border-left: none;
    }

    .day {
        border-right: none;
        border-top: 1px solid var(--line);
        padding: 20px 0;
    }

    .steps li {
        border-left: none;
        border-top: 1px solid #d0d0d0;
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .section-head {
        padding-top: 16px;
        margin-bottom: 20px;
        gap: 8px;
    }

    .day {
        padding: 18px 0 10px;
    }

    .day h3 {
        font-size: 1.15rem;
        margin-bottom: 4px;
    }

    .steps li {
        grid-template-columns: 44px 1fr;
        padding: 16px 0;
    }

    .step-num {
        font-size: 2rem;
        margin: 0;
    }

    .activities {
        gap: 0;
    }

    .activity {
        display: block;
        padding: 16px 0 18px;
        border-top-color: var(--line);
    }

    .activity:first-child {
        border-top-color: var(--primary-color);
    }

    .gede {
        margin-top: 12px;
    }

    .talk {
        padding: 14px 0;
    }

    .places {
        gap: 0;
    }

    .place {
        border-bottom: 1px solid var(--line);
        padding: 12px 0;
        grid-template-columns: 96px 1fr;
    }

    .place img {
        min-height: 72px;
        aspect-ratio: 4 / 3;
    }

    .place > div {
        padding: 0 0 0 14px;
    }
}

/* ---------- Capa: mantém a imagem como no site original ---------- */
.hero {
    align-items: center;
    padding: 110px 0 64px;
}

.hero-bg {
    background-position: center;
    animation: zoomHero 20s infinite alternate;
}

#home .hero-overlay,
.history-page #home .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero h1,
.hero p.hero-lead,
.hero-kicker {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero p.hero-lead {
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    justify-content: center;
}

.hero-facts {
    justify-content: center;
}

@media (max-width: 768px) {
    .hero {
        padding: 96px 0 40px;
    }

    #home .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 100%);
    }

    .hero-facts {
        align-items: center;
    }
}

#about,
#social,
#social.py-section {
    padding: 88px 0;
    background: var(--white);
}

@media (max-width: 768px) {
    #about,
    #social,
    #social.py-section {
        padding: 56px 0;
    }
}

/* Lista simples (assistência social) */
.mini-list {
    border-top: 1px solid var(--line);
    margin: 4px 0 28px;
}

.mini-list li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mini-list li a strong {
    display: block;
    color: var(--primary-color);
}

.mini-list li a:hover strong {
    color: var(--accent-color);
}

#bookstore-section {
    background: var(--bg-alt);
}

.intro-text {
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .talk {
        grid-template-columns: 44px 48px 1fr;
        gap: 2px 12px;
    }

    .talk img {
        display: block;
        width: 48px;
        height: 48px;
        grid-row: span 2;
    }

    .talk-status {
        grid-column: 3;
    }

    .hero-btns .btn {
        font-size: 0.9rem;
    }

    .mini-list li a {
        font-size: 0.9rem;
    }
}

/* ---------- Capa com dois banners (como no original) ---------- */
.hero {
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    padding: 0;
    align-items: stretch;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    align-items: flex-end;
    padding: 0 20px 170px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease 0.3s, visibility 0s;
}

.hero-text {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin-bottom: 16px;
}

.hero p.hero-lead {
    margin: 0 auto 28px;
}

.hero-btns {
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px !important;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color) !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    text-shadow: none !important;
    opacity: 1 !important;
}

.badge-dot {
    background: var(--accent-color);
}

.slider-nav {
    bottom: 56px;
    gap: 16px;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
    box-shadow: none;
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.slider-dots .dot {
    background: rgba(255, 255, 255, 0.45);
}

.slider-dots .dot.active {
    width: 24px;
    height: 6px;
    background: var(--white);
}

@media (max-width: 768px) {
    .hero {
        padding: 0;
    }

    .hero-slide {
        padding: 0 16px 130px;
    }

    .hero h1 {
        font-size: 2.1rem !important;
    }

    .slider-nav {
        bottom: 44px;
    }
}

/* =========================================================
   Home v3 – mais visual, horários em destaque, carrossel de fotos
   ========================================================= */
.section-plain {
    background: var(--white);
}

.section-ruled {
    border-top: 1px solid var(--line);
}

.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.sec-head h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
    color: var(--primary-color);
}

.sec-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.sec-head .btn {
    flex-shrink: 0;
}

/* ---------- Agenda em cartões ---------- */

/* ---------- Quem somos ---------- */
#about .split-text p {
    font-size: 1.08rem;
}

/* ---------- Atividades com foto ---------- */

.act-when {
    font-weight: 700;
    color: var(--primary-color);
}

.act-req {
    color: var(--accent-color);
    font-weight: 500;
}

#activities .gede {
    margin-top: 32px;
}

/* ---------- Carrossel de momentos ---------- */
.moments-section {
    overflow: hidden;
}

.car-ctrl {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.car-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.car-btn svg {
    width: 20px;
    height: 20px;
}

.car-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.car-btn:disabled {
    opacity: 0.3;
    cursor: default;
    background: var(--white);
    color: var(--primary-color);
}

.moments {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scroll-padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
}

.moments::-webkit-scrollbar {
    display: none;
}

.moments.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.moments.is-dragging .moment {
    pointer-events: none;
}

.moments-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 0 max(24px, calc((100vw - 1180px) / 2 + 24px));
}

.moment {
    display: block;
    width: 300px;
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
}

.moment-media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ececec;
}

.moment-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    user-select: none;
}

.moment:hover .moment-media img {
    transform: scale(1.04);
}

.moment-cap {
    display: block;
    padding-top: 12px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.moment-cap strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.moments-foot {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 28px;
}

.moments-foot .link-arrow {
    margin-top: 0;
    flex-shrink: 0;
}

.moments-progress {
    flex: 1;
    height: 2px;
    background: var(--line);
    position: relative;
    overflow: hidden;
}

.moments-progress span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: var(--primary-color);
    transition: width 0.2s linear;
}

/* ---------- Assistência social ---------- */
.help-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    border-top: 1px solid var(--line);
}

.help-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--primary-color);
    text-decoration: none;
}

.help-list a::after {
    content: '→';
    color: var(--accent-color);
    transition: transform 0.2s ease;
}

.help-list a:hover::after {
    transform: translateX(4px);
}

.help-list strong {
    min-width: 120px;
    font-weight: 700;
}

.help-list span {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.92rem;
}

#social .notice {
    margin-bottom: 20px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 768px) {
    .sec-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .sec-head h2 {
        font-size: 1.7rem;
    }

    .sec-head p {
        font-size: 0.98rem;
    }

    /* agenda vira faixa deslizante */

    .car-ctrl {
        display: none;
    }

    .moments {
        scroll-padding-left: 16px;
    }

    .moments-track {
        gap: 12px;
        padding: 0 16px;
    }

    .moment {
        width: 72vw;
    }

    .moments-foot {
        gap: 20px;
    }

    .help-list strong {
        min-width: 0;
    }

    .help-list a {
        flex-wrap: wrap;
    }

    .help-list span {
        flex-basis: 100%;
        order: 3;
    }
}

/* =========================================================
   Leitura fácil: público mais velho (sem blocos pretos,
   letras maiores, tudo visível sem abas)
   ========================================================= */
:root {
    --text-muted: #444444;
}

body {
    font-size: 17px;
}

.btn {
    min-height: 52px;
    padding: 0 26px;
    font-size: 1rem;
}

.sec-head p {
    font-size: 1.12rem;
    color: #444444;
}

.link-arrow {
    font-size: 1.05rem;
}

/* ---------- Agenda ---------- */

/* ---------- Horários: todos os dias à vista ---------- */
.next-up {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 18px;
    background: #fdecec;
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-sm);
    color: var(--primary-color) !important;
    font-size: 1.05rem !important;
    font-weight: 600;
}

.next-up[hidden] {
    display: none;
}

.next-up-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
}

.week-foot {
    margin: 20px 0 0;
    font-size: 1.02rem;
    color: #444444;
}

.week-foot strong {
    color: var(--primary-color);
}

/* ---------- Atividades ---------- */

.act-req {
    color: #b3141b;
    font-weight: 600;
}

/* ---------- Carrossel ---------- */
.moment-cap {
    font-size: 0.95rem;
}

.moment-cap strong {
    font-size: 1.08rem;
}

/* ---------- Livraria em cartão claro ---------- */
#bookstore-section {
    padding-top: 0;
    background: var(--white);
}

.book-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    border: 1px solid #d4d4d4;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.book-band-media {
    margin: 0;
    min-height: 320px;
}

.book-band-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-band-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.book-band-text h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--primary-color);
}

.book-band-text p {
    margin: 0 0 28px;
    font-size: 1.08rem;
    color: #444444;
}

/* ---------- Assistência social ---------- */
.help-list strong {
    font-size: 1.05rem;
}

.help-list span {
    font-size: 1rem;
    color: #444444;
}

/* ---------- Rodapé mais legível ---------- */
#footer p,
#footer li a,
.footer-col a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .book-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .book-band-media {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .book-band-text {
        padding: 24px 20px 28px;
    }

    .book-band .btn-row {
        display: flex;
        flex-direction: column;
    }

    .book-band .btn-row .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 17px;
    }

    .sec-head h2 {
        font-size: 1.85rem;
    }

    .sec-head p {
        font-size: 1.05rem;
    }

    .next-up {
        width: 100%;
    }

    /* agenda em lista vertical, sem arrastar pro lado */

    /* setas do carrossel também no celular */
    .car-ctrl {
        display: flex;
    }

    .car-btn {
        width: 52px;
        height: 52px;
    }

    .moment {
        width: 80vw;
    }
}

/* =========================================================
   v5 – pensado primeiro no celular: agenda em lista compacta,
   horários por botões de dia, atividades deslizando
   ========================================================= */

/* ---------- Agenda em lista ---------- */
.ag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.ag-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.ag-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
}

.ag-date strong {
    font-size: 1.5rem;
    font-weight: 800;
}

.ag-item.is-done .ag-date {
    background: #ececec;
    color: #444444;
}

.ag-info h3 {
    margin: 0 0 6px;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

.ag-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1rem;
    color: #444444;
}

.ag-info img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ag-status {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
}

.ag-item.is-done .ag-status {
    color: #666666;
    font-weight: 500;
}

/* ---------- Horários: botões de dia ---------- */
.hours {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.hours .next-up {
    display: flex;
    margin-bottom: 16px;
}

.hours .next-up[hidden] {
    display: none;
}

.day-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.day-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 8px;
    border: 2px solid #d4d4d4;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--primary-color);
    font: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.day-tab:hover {
    border-color: var(--primary-color);
}

.day-tab[aria-selected="true"] {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.day-tab-short {
    display: none;
}

.day-tab-today {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-color);
}

.day-tab[aria-selected="true"] .day-tab-today {
    color: #ff8a8e;
}

.day-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.day-panel li {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: baseline;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
}

.day-panel time {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

.day-panel strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary-color);
}

.day-meta {
    display: block;
    margin-top: 2px;
    font-size: 0.95rem;
    color: #444444;
}

.day-meta.is-restricted {
    color: #b3141b;
}

.day-panel li.is-past {
    opacity: 0.45;
}

.day-panel li.is-next time {
    color: var(--accent-color);
}

.first-visit {
    padding: 24px;
    border: 1px solid #d4d4d4;
    border-radius: var(--radius);
    background: #fafafa;
}

.first-visit h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.first-visit ol {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.first-visit li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--primary-color);
}

.first-visit li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
}

.first-visit .btn {
    width: 100%;
}

/* ---------- Atividades no formato do carrossel ---------- */
.act-slide {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.act-slide .act-media {
    aspect-ratio: 4 / 3;
    border-radius: 0;
}

.act-slide-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: 16px 18px 18px;
}

.act-slide-body strong {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary-color);
}

.act-slide-body > span:not(.act-when):not(.act-req) {
    font-size: 1rem;
    line-height: 1.45;
    color: #444444;
}

.act-slide .act-when {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 0.98rem;
}

.act-slide .act-req {
    font-size: 0.92rem;
}

#activities .moments-foot {
    margin-top: 24px;
}

#activities .gede {
    margin-top: 24px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .hours {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .ag-item {
        grid-template-columns: 52px 1fr;
        gap: 14px;
        padding: 14px 0;
    }

    .ag-date {
        width: 52px;
        height: 56px;
        font-size: 0.72rem;
    }

    .ag-date strong {
        font-size: 1.3rem;
    }

    .ag-info h3 {
        font-size: 1.02rem;
        margin-bottom: 4px;
    }

    .ag-info p {
        font-size: 0.95rem;
    }

    .ag-status {
        grid-column: 2;
        margin-top: -6px;
        font-size: 0.85rem;
    }

    .day-tab {
        min-height: 56px;
    }

    .day-tab-long {
        display: none;
    }

    .day-tab-short {
        display: block;
    }

    .day-panel li {
        grid-template-columns: 62px 1fr;
        gap: 12px;
        padding: 14px 2px;
    }

    .day-panel time {
        font-size: 1.12rem;
    }

    .day-panel strong {
        font-size: 1.02rem;
    }

    .first-visit {
        padding: 20px;
    }

    .act-slide {
        width: 78vw;
    }
}

/* =========================================================
   v6 – uso simples no celular: atalhos, capa enxuta,
   menu com ações diretas, rodapé curto
   ========================================================= */

/* ---------- Acesso rápido ---------- */
.quick {
    padding: 24px 0;
    background: var(--white);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 12px 18px;
    border: 1px solid #d4d4d4;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.quick-item svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--accent-color);
}

.quick-item:hover {
    border-color: var(--primary-color);
    background: #fafafa;
}

/* ---------- Menu do celular com ações diretas ---------- */
.nav-extra {
    display: none !important;
}

@media (max-width: 1024px) {
    .nav-links.active .nav-extra {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        margin-top: 24px;
    }

    .nav-links .nav-extra a.btn {
        justify-content: center;
        min-height: 54px;
        padding: 0 20px;
        border-radius: var(--radius-sm);
        border-bottom: 2px solid transparent;
        font-size: 1.05rem;
    }

    .nav-links .nav-extra a.btn-primary {
        background: var(--accent-color);
        border-color: var(--accent-color);
        color: var(--white);
    }

    .nav-links .nav-extra a.btn-outline {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
    }
}

/* ---------- Celular ---------- */
@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }

    /* capa mais curta, botões grandes um embaixo do outro, sem setas */
    .hero {
        height: 82svh;
        min-height: 560px;
    }

    .hero-slide {
        padding: 0 16px 76px;
    }

    .hero h1 {
        font-size: 1.95rem !important;
    }

    .hero p.hero-lead {
        font-size: 1rem;
        margin-bottom: 22px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-btns .btn {
        width: 100%;
        font-size: 1rem;
    }

    .slider-nav {
        bottom: 28px;
    }

    .slider-arrow {
        display: none;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }

    .slider-dots .dot.active {
        width: 28px;
        height: 10px;
    }

    /* atalhos em 2 x 2 */
    .quick {
        padding: 16px 0;
    }

    .quick-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .quick-item {
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        min-height: 84px;
        padding: 12px 8px;
        font-size: 1rem;
        text-align: center;
    }

    /* agenda: o atalho "Palestras online" já leva ao YouTube */
    #agenda .sec-head .btn {
        display: none;
    }

    /* setas dos carrosséis na mesma linha do título */
    .moments-section .sec-head {
        flex-direction: row;
        align-items: flex-end;
    }

    .moments-section .car-btn {
        width: 46px;
        height: 46px;
    }

    #about .split-media img {
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    /* lista de ajuda: título e texto à esquerda, seta à direita */
    .help-list a {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 2px 12px;
        flex-wrap: nowrap;
    }

    .help-list strong {
        grid-column: 1;
    }

    .help-list span {
        grid-column: 1;
        order: 0;
    }

    .help-list a::after {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    /* rodapé curto: só o essencial */
    #footer {
        padding-top: 40px;
    }

    .footer-content {
        gap: 24px;
    }

    .footer-content > .footer-col:nth-child(3),
    .footer-content > .footer-col:nth-child(4) {
        display: none;
    }

    /* espaço para a barra fixa não cobrir o fim da página */
    .footer-bottom {
        padding-bottom: 88px;
    }
}

#agenda {
    background: var(--white);
}

/* fotos dos palestrantes um pouco maiores */
.ag-info p {
    gap: 12px;
    margin-top: 4px;
}

.ag-info img {
    width: 52px;
    height: 52px;
    object-position: center 25%;
    border: 1px solid var(--line);
}

@media (max-width: 768px) {
    .ag-info img {
        width: 46px;
        height: 46px;
    }
}

/* agenda: dia sem palestra */
.ag-item.is-off .ag-date {
    background: #f2f2f2;
    color: #888888;
}

.ag-item.is-off .ag-info h3,
.ag-item.is-off .ag-status {
    color: #666666;
    font-weight: 600;
}

/* palestras realizadas e galerias: duas por linha no celular */
@media (max-width: 576px) {
    .lectures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .lecture-info {
        padding: 10px 10px 12px;
    }

    .lecture-info h4 {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .video-not-available {
        font-size: 0.8rem;
    }
}
