/* ========================================
   CEDE - Centro Espírita Discípulos do Evangelho
   Template CSS - Estilo Aquarela Azul
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Paleta de Cores - Aquarela Azul */
    --color-primary: #1e4d7b;
    --color-primary-dark: #153a5e;
    --color-primary-light: #2a6499;
    --color-secondary: #5a9bd4;
    --color-accent: #e8a838;
    --color-accent-dark: #d4942a;
    
    /* Backgrounds Aquarela */
    --bg-watercolor-light: linear-gradient(135deg, #e8f4fc 0%, #d4e9f7 25%, #f0f7fc 50%, #dceef8 75%, #e8f4fc 100%);
    --bg-watercolor-medium: linear-gradient(180deg, #b8d4e8 0%, #d4e9f7 50%, #a8c8de 100%);
    --bg-header: linear-gradient(180deg, #1e4d7b 0%, #2a6499 100%);
    --bg-footer: linear-gradient(180deg, #153a5e 0%, #1e4d7b 100%);
    
    /* Textos */
    --text-primary: #1e4d7b;
    --text-secondary: #4a7ba7;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-muted: #6c8ea8;
    
    /* Outros */
    --white: #ffffff;
    --shadow-soft: 0 4px 20px rgba(30, 77, 123, 0.15);
    --shadow-medium: 0 8px 30px rgba(30, 77, 123, 0.2);
    --shadow-strong: 0 12px 40px rgba(30, 77, 123, 0.25);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
    
    /* Tipografia */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-script: 'Dancing Script', cursive;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-watercolor-light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Textura aquarela de fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(184, 212, 232, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(168, 200, 222, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 233, 247, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.script-title {
    font-family: var(--font-script);
    font-weight: 600;
    color: var(--text-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 2px;
}

/* ========== LAYOUT ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    box-shadow: var(--shadow-medium);
}

.site-header.scrolled {
    background: rgba(30, 77, 123, 0.98);
    backdrop-filter: blur(10px);
}

.header-top {
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
    padding: 0.6rem 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top .motto {
    font-family: var(--font-script);
    font-size: 1.1rem;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.header-top .social-links {
    display: flex;
    gap: 1rem;
}

.header-top .social-links a {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.header-top .social-links a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.header-main {
    padding: 0.8rem 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
}

.hamburger span {
    display: block;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navegação Principal */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 0.9rem;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu > li > a span {
    position: relative;
    z-index: 1;
}

.nav-menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav-menu > li > a:hover::before,
.nav-menu > li > a.active::before {
    width: 80%;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--color-accent);
    background: rgba(255,255,255,0.1);
}

.nav-menu > li > a i.fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.nav-menu > li.has-submenu:hover > a i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Submenu Dropdown */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    list-style: none;
    margin: 0;
    z-index: 1000;
}

.submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: var(--color-primary);
}

.nav-menu > li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li {
    margin: 0;
}

.submenu li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.submenu li a i {
    width: 20px;
    text-align: center;
    color: var(--color-accent);
    font-size: 0.9rem;
}

.submenu li a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateX(5px);
}

.submenu li a:hover i {
    color: #fff;
}

/* Ajuste para telas médias */
@media (min-width: 993px) and (max-width: 1200px) {
    .nav-menu > li > a {
        padding: 0.6rem 0.7rem;
        font-size: 0.75rem;
    }
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 77, 123, 0.7) 0%, rgba(90, 155, 212, 0.5) 100%);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 77, 123, 0.7) 0%, rgba(90, 155, 212, 0.5) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.slide-content .quote,
.slide-content blockquote.quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    border: none;
    padding: 0;
}

.slide-content .author,
.slide-content cite.author {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--color-accent);
    font-style: normal;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.slider-prev,
.slider-next,
.slider-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    pointer-events: auto;
}

.slider-prev:hover,
.slider-next:hover,
.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-btn.prev { position: absolute; left: 2rem; top: 50%; transform: translateY(-50%); }
.slider-btn.next { position: absolute; right: 2rem; top: 50%; transform: translateY(-50%); }

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.slider-dots .dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* ========== WELCOME SECTION ========== */
.welcome,
.welcome-section {
    padding: 4rem 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.welcome .script-title,
.welcome-section .section-title,
.welcome-section .section-title.script {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    font-family: var(--font-script);
    color: var(--text-primary);
}

.welcome-text,
.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.welcome-content p {
    margin-bottom: 1rem;
}

/* Decoração de corações */
.heart-decoration {
    width: 40px;
    height: 40px;
    color: var(--color-secondary);
    opacity: 0.5;
    margin-bottom: 1rem;
}

/* ========== NAV CARDS SECTION ========== */
.nav-cards-section {
    padding: 4rem 0;
}

.nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    color: var(--text-primary);
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    color: var(--color-accent);
}

.nav-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.nav-card:hover i {
    color: var(--color-accent);
    transform: scale(1.1);
}

.nav-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.nav-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========== IMAGE CARDS (Cards com imagem de fundo) ========== */
.image-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.image-card {
    position: relative;
    display: block;
    height: 200px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.image-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.image-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.image-card:hover .image-card-bg {
    transform: scale(1.1);
}

.image-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30, 77, 123, 0.3) 0%, rgba(30, 77, 123, 0.8) 100%);
    transition: var(--transition);
}

.image-card:hover .image-card-overlay {
    background: linear-gradient(180deg, rgba(30, 77, 123, 0.4) 0%, rgba(30, 77, 123, 0.9) 100%);
}

.image-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    text-align: center;
    z-index: 1;
}

.image-card-content h3 {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ========== CARDS DE NAVEGAÇÃO ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    background: var(--white);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(30, 77, 123, 0.8) 100%);
}

.card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--text-light);
    font-size: 1.25rem;
    text-align: center;
    margin: 0;
}

/* ========== EVENT CARDS ========== */
.events-preview {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.5);
}

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

.event-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
}

.event-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 1.5rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-meta i {
    margin-right: 0.3rem;
    color: var(--color-accent);
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.event-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 1rem;
    background: var(--bg-header);
    color: var(--text-light);
    border-radius: var(--border-radius);
}

.event-date .day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.event-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.event-info .time {
    font-size: 0.85rem;
    color: var(--color-accent-dark);
    font-weight: 500;
}

.event-info .time i {
    margin-right: 0.3rem;
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--text-light);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--bg-header);
    color: var(--text-light);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--color-accent);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-accent {
    background: var(--color-accent);
    color: var(--text-dark);
}

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

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid rgba(30, 77, 123, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(30, 77, 123, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ========== GALLERY ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 77, 123, 0);
    transition: var(--transition);
}

.gallery-item:hover::after {
    background: rgba(30, 77, 123, 0.3);
}

/* ========== GALLERY ALBUMS ========== */
.gallery-albums {
    padding: 4rem 0;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.album-card {
    display: block;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.album-cover {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-watercolor-medium);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-cover .no-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.3;
}

.album-count {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.album-info {
    padding: 1.5rem;
}

.album-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.album-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 77, 123, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-primary);
}

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

.map-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.map-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

/* ========== EVENTS LIST ========== */
.events-list {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.post-thumbnail {
    height: 220px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-content h2 a {
    color: var(--text-primary);
}

.post-content h2 a:hover {
    color: var(--color-accent);
}

.post-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more:hover {
    color: var(--color-accent);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ========== NO CONTENT ========== */
.no-content {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-lg);
}

.no-content i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.no-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ========== CONTENT PAGES ========== */
.page-header {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-header);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.page-header h1 {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb ol {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb ol li {
    display: flex;
    align-items: center;
}

.page-header .breadcrumb ol li::after {
    content: '/';
    margin-left: 0.5rem;
    opacity: 0.6;
}

.page-header .breadcrumb ol li:last-child::after {
    display: none;
}

.page-header .breadcrumb a {
    color: var(--color-accent);
}

.page-header .breadcrumb a:hover {
    text-decoration: underline;
}

.page-content {
    padding: 4rem 0;
}

.content-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.content-box p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.content-box p:last-child {
    margin-bottom: 0;
}

/* ========== FOOTER ========== */
footer {
    background: var(--bg-footer);
    color: var(--text-light);
    position: relative;
    margin-top: 4rem;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    color: var(--color-primary-dark);
    overflow: hidden;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-wave svg path {
    fill: var(--color-primary-dark);
}

.footer-content,
.footer-main {
    padding: 4rem 0 2rem;
}

.footer-section {
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

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

.footer-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul li i {
    color: var(--color-accent);
    width: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-section.about p {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--color-accent);
    width: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a {
    color: var(--text-light);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-links {
    margin-top: 0.75rem;
    font-size: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f39c12;
    text-decoration: underline;
}

.footer-links .separator {
    margin: 0 0.75rem;
    opacity: 0.5;
}

.footer-links .link-button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-links .link-button:hover {
    color: #f39c12;
    text-decoration: underline;
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    color: var(--white);
}

/* ========== ALERTS & MESSAGES ========== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ========== ADMIN STYLES ========== */
.admin-bar {
    background: var(--text-dark);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.admin-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-bar a {
    color: var(--text-light);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}

.admin-bar a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--white);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--color-primary);
    color: var(--text-light);
}

.pagination .active {
    background: var(--color-primary);
    color: var(--text-light);
}

/* ========== BLOG / EVENTS POST ========== */
.post-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.post-card:hover {
    box-shadow: var(--shadow-medium);
}

.post-thumbnail {
    height: 220px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-body {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.post-meta i {
    margin-right: 0.3rem;
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-title a {
    color: var(--text-primary);
}

.post-title a:hover {
    color: var(--color-accent);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary-dark);
        padding: 1rem;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .slider-btn,
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }

    .slider-btn.prev { left: 1rem; }
    .slider-btn.next { right: 1rem; }

    .slider-controls {
        padding: 0 1rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .card-image {
        height: 150px;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        flex-direction: row;
        gap: 0.5rem;
    }

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

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .content-box {
        padding: 1.5rem;
    }

    /* Contact page responsive */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Posts grid responsive */
    .posts-grid {
        grid-template-columns: 1fr;
    }

    /* Albums grid responsive */
    .albums-grid {
        grid-template-columns: 1fr;
    }

    /* Nav cards responsive */
    .nav-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .nav-card {
        padding: 1.5rem 1rem;
    }

    .nav-card i {
        font-size: 2rem;
    }

    .nav-card h3 {
        font-size: 1rem;
    }

    .nav-card p {
        font-size: 0.8rem;
    }

    /* Image cards responsive */
    .image-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .image-card {
        height: 160px;
    }

    .image-card-content h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cards-grid,
    .nav-cards-grid,
    .image-cards-grid {
        grid-template-columns: 1fr;
    }

    .header-top .motto {
        font-size: 0.9rem;
    }

    .logo img {
        height: 50px;
        max-width: 150px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }

    .slide-content .quote,
    .slide-content blockquote.quote {
        font-size: 1.2rem;
    }

    .slide-content .author,
    .slide-content cite.author {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .image-card {
        height: 140px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ========== PALESTRA DO DIA - HOME ========== */
.today-lecture-highlight {
    background: linear-gradient(135deg, #1e4d7b 0%, #2a6499 100%);
    padding: 3rem 0;
    color: white;
}

.today-lecture-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.today-lecture-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.today-lecture-header i {
    color: var(--color-accent);
}

.pulse-indicator {
    width: 12px;
    height: 12px;
    background: #e74c3c;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.today-lectures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.today-lecture-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.today-lecture-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.lecture-time-badge {
    background: var(--color-accent);
    color: #1e4d7b;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 700;
    min-width: 80px;
}

.lecture-time-badge i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.lecture-time-badge span {
    font-size: 1.3rem;
}

.lecture-info {
    flex: 1;
    min-width: 200px;
}

.lecture-info h3 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    color: white;
    font-weight: 600;
}

.lecture-reference {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.lecture-speaker {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.lecture-speaker i {
    margin-right: 0.5rem;
    color: var(--color-accent);
}

.lecture-youtube-btn {
    background: #e74c3c;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.lecture-youtube-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.today-lecture-footer {
    text-align: center;
    margin-top: 2rem;
}

.today-lecture-footer .btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.today-lecture-footer .btn-outline:hover {
    background: white;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .today-lecture-header h2 {
        font-size: 1.4rem;
    }
    
    .today-lecture-card {
        flex-direction: column;
        text-align: center;
    }
    
    .lecture-info {
        text-align: center;
    }
}

/* Form Errors */
.form-group ul {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.form-group ul li {
    color: #dc3545;
    font-size: 0.875rem;
    padding: 5px 10px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-top: 5px;
}

.form-control.is-invalid,
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}
