/* ===========================
   VARIÁVEIS E RESET
   =========================== */
:root {
    /* Paleta principal — tons suaves próximos a #BFDDF3 */
    --primary: #5AAAD9;
    --primary-light: #BFDDF3;
    --primary-dark: #4A96C8;
    --secondary: #3A7FB0;
    --accent-pink: #BFDDF3;
    --accent-orange: #A8D4F0;
    --accent-green: #7EC4E8;
    --accent-blue: #6DB8E5;
    --nav-accent: #5AAAD9;
    --nav-accent-light: #BFDDF3;
    --nav-accent-dark: #4A96C8;
    
    /* Cores neutras */
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #EFF7FC;
    --bg-tertiary: #F4FAFE;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* ===========================
   MELHORIAS DE TIPOGRAFIA E QUEBRA DE TEXTO
   =========================== */
p, li, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-wrap: pretty; /* Melhor quebra de linha */
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance; /* Balanceamento de linhas para títulos */
    overflow-wrap: break-word;
}

/* Textos longos específicos */
.timeline-content p,
.doutrina-card p,
.pratica-card p,
.instituicao-descricao,
.historia-destaque p {
    max-width: 75ch; /* Largura ideal para leitura (75 caracteres) */
    text-align: justify;
    text-justify: inter-word;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fonte principal (da logo) para títulos e destaque */
h1, h2, h3, h4, h5, h6,
.logo-text,
.logo-subtitle,
.hero-title,
.section-title,
.destaque-card h2,
.footer-brand h3 {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   PRELOADER
   =========================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        #3A7FB0 0%,
        #5AAAD9 14%,
        #BFDDF3 30%,
        #E8F4FC 36%,
        #BFDDF3 42%,
        #8EC8EB 54%,
        #3A7FB0 70%,
        #2d6a96 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    --nav-accent: #5AAAD9;
    --nav-accent-light: #8EC8EB;
    --nav-accent-dark: #4A96C8;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: 16px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    max-height: 60px;
}

.logo {
    height: 50px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: inline-block;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all var(--transition-base);
    position: relative;
}

.header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, #5AAAD9, #8EC8EB);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.header .nav-link:hover {
    color: #5AAAD9;
    background: rgba(90, 170, 217, 0.1);
}

.header .nav-link:hover::after {
    transform: scaleX(1);
}

.header .nav-link.active {
    color: #5AAAD9;
    background: rgba(90, 170, 217, 0.14);
}

.header .nav-link.active::after {
    transform: scaleX(1);
}

.header .nav-link.cta-nav,
.header .nav-link.cta-nav:hover,
.header .nav-link.cta-nav.active {
    background: linear-gradient(135deg, #5AAAD9, #8EC8EB);
    color: white !important;
    padding: 10px 24px;
}

.header .nav-link.cta-nav::after {
    display: none;
}

.header .nav-link.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 170, 217, 0.35);
    background: linear-gradient(135deg, #4A96C8, #5AAAD9);
}

/* ===========================
   DROPDOWN MENU
   =========================== */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-icon {
    transition: transform var(--transition-base);
}

.nav-item-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
    list-style: none;
    margin: 8px 0 0 0;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-base);
    font-size: 15px;
    font-weight: 500;
}

.header .dropdown-link:hover {
    background: rgba(90, 170, 217, 0.12);
    color: #5AAAD9;
    transform: translateX(4px);
}

body.dark-mode .dropdown-menu {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .dropdown-link {
    color: var(--text-primary);
}

body.dark-mode .header .dropdown-link:hover {
    background: rgba(90, 170, 217, 0.22);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition-base);
}

.mobile-menu-toggle:hover {
    background: var(--bg-tertiary);
}

.header .mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #5AAAD9;
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
    background: linear-gradient(135deg,
        #3A7FB0 0%,
        #5AAAD9 14%,
        #BFDDF3 30%,
        #E8F4FC 36%,
        #BFDDF3 42%,
        #8EC8EB 54%,
        #3A7FB0 70%,
        #2d6a96 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        transparent 0%,
        transparent 46%,
        rgba(45, 106, 150, 0.12) 62%,
        rgba(45, 106, 150, 0.38) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    display: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-image-col .hero-particles {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .hero-particles {
        display: none;
    }
}

.hero .gradient-orb {
    display: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: float 25s ease-in-out infinite;
}

.orb-1 {
    width: 320px;
    height: 480px;
    background: radial-gradient(ellipse at 50% 30%, rgba(191, 221, 243, 0.55) 0%, transparent 68%);
    top: 8%;
    left: 8%;
    opacity: 0.85;
    filter: blur(40px);
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(45, 106, 150, 0.45) 0%, transparent 70%);
    top: 50%;
    right: -80px;
    animation-delay: 8s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(58, 127, 176, 0.35) 0%, transparent 70%);
    bottom: -150px;
    right: 10%;
    left: auto;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(30px, 50px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: auto;
    height: 100px;
    max-width: 250px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    animation: fadeInScale 0.8s ease-out;
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    letter-spacing: -1px;
}

.hero .gradient-text {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 1s backwards;
}

/* Layout de duas colunas do hero */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-image-col {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fadeInLeft 0.9s ease 0.1s backwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    position: relative;
    z-index: 1;
    max-height: 700px;
    width: 100%;
    max-width: 560px;
    object-fit: contain;
    object-position: top;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.35));
    mix-blend-mode: multiply;
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0%, black 5%, black 70%, transparent 100%),
        linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-image:
        linear-gradient(to bottom, transparent 0%, black 5%, black 70%, transparent 100%),
        linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    mask-composite: intersect;
}

.stat-item {
    transition: all 0.3s ease;
}

.hero-stats .stat-item:nth-child(1) .stat-number {
    color: white;
    text-shadow: 0 3px 15px rgba(191, 221, 243, 0.8), 0 0 30px rgba(191, 221, 243, 0.5);
}

.hero-stats .stat-item:nth-child(3) .stat-number {
    color: white;
    text-shadow: 0 3px 15px rgba(126, 196, 232, 0.8), 0 0 30px rgba(126, 196, 232, 0.5);
}

.hero-stats .stat-item:nth-child(5) .stat-number {
    color: white;
    text-shadow: 0 3px 15px rgba(74, 150, 200, 0.8), 0 0 30px rgba(74, 150, 200, 0.5);
}

.stat-item-old {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Zilla Slab', serif;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover .stat-number {
    transform: scale(1.15);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
}

.hero-stats .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-stats .stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 13px;
    animation: fadeIn 1s ease 1.2s backwards, bounce-soft 2s ease-in-out 2s infinite;
    z-index: 100;
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: auto;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}

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

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

/* ===========================
   MICRO-ANIMAÇÕES
   =========================== */

/* Pulso suave em badges */
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Balanço suave */
@keyframes swing-soft {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

/* Brilho sutil */
@keyframes shine {
    0% { opacity: 0; left: -100%; }
    50% { opacity: 0.5; }
    100% { opacity: 0; left: 100%; }
}

/* Respiração suave para ícones */
@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Rotação suave contínua */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Bounce suave */
@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span,
.btn svg {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: white;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(90, 170, 217, 0.3) 0%, rgba(74, 150, 200, 0.2) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl), 0 0 20px rgba(90, 170, 217, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s;
}

.btn-secondary:hover::after {
    left: 100%;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

/* Botões coloridos para cards */
.card-purple .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

.card-purple .btn-outline:hover {
    background: var(--primary);
    color: white;
}

.card-red .btn-outline {
    color: var(--secondary);
    border-color: var(--secondary);
}

.card-red .btn-outline:hover {
    background: var(--secondary);
    color: white;
}

.card-orange .btn-outline {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.card-orange .btn-outline:hover {
    background: var(--accent-orange);
    color: white;
}

.card-green .btn-outline {
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.card-green .btn-outline:hover {
    background: var(--accent-green);
    color: white;
}

.card-blue .btn-outline {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.card-blue .btn-outline:hover {
    background: var(--accent-blue);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ===========================
   GLASS CARDS
   =========================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
    position: relative;
    background-clip: padding-box;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(90, 170, 217, 0.8), 
        rgba(141, 200, 235, 0.8), 
        rgba(141, 200, 235, 0.8));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.glass-card:hover {
    transform: translateY(-4px);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Hover específico para timeline items */
.timeline-item:nth-child(1) .timeline-content.glass-card::before {
    background: linear-gradient(135deg, 
        rgba(63, 163, 94, 0.8), 
        rgba(39, 174, 96, 0.8));
}

.timeline-item:nth-child(1) .timeline-content.glass-card:hover {
    box-shadow: 0 15px 40px rgba(63, 163, 94, 0.3);
}

.timeline-item:nth-child(2) .timeline-content.glass-card::before {
    background: linear-gradient(135deg, 
        rgba(191, 221, 243, 0.8), 
        rgba(141, 200, 235, 0.8));
}

.timeline-item:nth-child(2) .timeline-content.glass-card:hover {
    box-shadow: 0 15px 40px rgba(191, 221, 243, 0.3);
}

.timeline-item:nth-child(3) .timeline-content.glass-card::before {
    background: linear-gradient(135deg, 
        rgba(74, 150, 200, 0.8), 
        rgba(141, 200, 235, 0.8));
}

.timeline-item:nth-child(3) .timeline-content.glass-card:hover {
    box-shadow: 0 15px 40px rgba(74, 150, 200, 0.3);
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.1), rgba(141, 200, 235, 0.1));
    border: 1px solid rgba(90, 170, 217, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    animation: pulse-soft 4s ease-in-out infinite;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.section-title .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   CURSOS DESTAQUE (Index)
   =========================== */
.cursos-destaque {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.cursos-destaque .section-header {
    text-align: center;
    margin-bottom: 32px;
}

.cursos-trilha-resumo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(90, 170, 217, 0.2);
    box-shadow: var(--shadow-sm);
}

.cursos-trilha-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 72px;
}

.cursos-trilha-idade {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
}

.cursos-trilha-nome {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cursos-trilha-seta {
    color: var(--primary);
    opacity: 0.45;
    font-size: 1.1rem;
}

.curso-destaque-horario {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: -4px 0 12px;
    padding: 4px 12px;
    background: rgba(90, 170, 217, 0.12);
    border-radius: 999px;
    align-self: flex-start;
}

.curso-destaque-horario svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.cursos-destaque-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.curso-destaque-card {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.curso-destaque-card:hover {
    transform: translateY(-4px);
}

.curso-destaque-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: center;
    padding: 48px 56px;
    border: 2px solid var(--accent-orange);
    box-shadow: 0 4px 20px rgba(191, 221, 243, 0.15);
}

.curso-destaque-card.featured .card-glow {
    background: radial-gradient(circle, rgba(191, 221, 243, 0.2), rgba(141, 200, 235, 0.1), transparent);
}

.curso-destaque-card.featured .destaque-badge {
    display: inline-block;
}

.curso-destaque-card.featured .btn-curso {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
    border-color: var(--accent-orange);
    color: white;
}

.curso-destaque-card.featured .btn-curso:hover {
    box-shadow: var(--shadow-2xl), 0 0 20px rgba(191, 221, 243, 0.4);
}

.curso-destaque-card:nth-child(2) {
    border: 2px solid var(--accent-green);
}

.curso-destaque-card:nth-child(2) .curso-destaque-icon {
    background: linear-gradient(135deg, var(--accent-green), #7EC4E8);
}

.curso-destaque-card:nth-child(2) .btn-curso {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: white;
}

.curso-destaque-card:nth-child(3) {
    border: 2px solid var(--accent-blue);
}

.curso-destaque-card:nth-child(3) .curso-destaque-icon {
    background: linear-gradient(135deg, var(--accent-blue), #8EC8EB);
}

.curso-destaque-card:nth-child(3) .btn-curso {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.curso-destaque-card:nth-child(n+4) {
    border: 2px solid var(--primary);
}

.curso-destaque-card:nth-child(n+4) .curso-destaque-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.curso-destaque-card:nth-child(n+4) .btn-curso {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.curso-destaque-visual {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.curso-destaque-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
}

.curso-destaque-card.featured:hover .curso-destaque-visual img {
    transform: scale(1.02);
}

.curso-destaque-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.curso-destaque-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    flex-shrink: 0;
}

.curso-destaque-card h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.curso-destaque-card.featured h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 16px;
}

.curso-destaque-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.curso-destaque-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.curso-destaque-features .feature-item {
    font-size: 0.95rem;
}

.btn-curso {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.btn-curso:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cursos-destaque-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.cursos-destaque-footer .btn-secondary {
    color: var(--primary);
    border-color: var(--primary);
}

.cursos-destaque-footer .btn-secondary::after {
    background: rgba(90, 170, 217, 0.08);
}

.cursos-destaque-footer .btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   ESCOLA DESTAQUE (legado)
   =========================== */
.escola-destaque {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.destaque-card {
    position: relative;
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: center;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(90, 170, 217, 0.15), rgba(74, 150, 200, 0.1), transparent);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(60px);
}

.destaque-visual {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.destaque-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
    display: block;
}

.destaque-card:hover .destaque-visual img {
    transform: scale(1.02);
}

.destaque-content {
    position: relative;
    z-index: 1;
}

.destaque-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse-soft 3s ease-in-out infinite;
}

.destaque-card h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.destaque-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.destaque-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-item:nth-child(1) svg {
    stroke: var(--accent-green);
    flex-shrink: 0;
}

.feature-item:nth-child(2) svg {
    stroke: var(--accent-orange);
    flex-shrink: 0;
}

.feature-item:nth-child(3) svg {
    stroke: var(--accent-blue);
    flex-shrink: 0;
}

.feature-item:nth-child(4) svg {
    stroke: var(--primary);
    flex-shrink: 0;
}

.feature-item svg {
    stroke: var(--primary);
    flex-shrink: 0;
}

.floating-icon {
    position: absolute;
    font-size: 64px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    animation: floatIcon 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.icon-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* ===========================
   SOBRE
   =========================== */
.sobre {
    background: white;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.sobre-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.text-card {
    position: relative;
    padding: 32px;
    padding-left: 80px;
    background: var(--bg-secondary);
    border-radius: 20px;
    background-clip: padding-box;
    transition: all var(--transition-base);
}

.text-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.text-card:nth-child(1)::before {
    background: linear-gradient(135deg, var(--primary), #8EC8EB);
}

.text-card:nth-child(2)::before {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
}

.text-card:nth-child(3)::before {
    background: linear-gradient(135deg, var(--secondary), #8EC8EB);
}

.text-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 20px 0 0 20px;
    transition: width 0.4s ease;
}

.text-card:nth-child(1)::after {
    background: linear-gradient(180deg, var(--primary), #8EC8EB);
}

.text-card:nth-child(2)::after {
    background: linear-gradient(180deg, var(--accent-orange), #8EC8EB);
}

.text-card:nth-child(3)::after {
    background: linear-gradient(180deg, var(--secondary), #8EC8EB);
}

.text-card:hover {
    transform: translateX(10px) translateY(-4px);
}

.text-card:nth-child(1):hover {
    box-shadow: 0 12px 30px rgba(90, 170, 217, 0.25);
}

.text-card:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(191, 221, 243, 0.25);
}

.text-card:nth-child(3):hover {
    box-shadow: 0 12px 30px rgba(74, 150, 200, 0.25);
}

.text-card:hover::before {
    opacity: 1;
}

.text-card:hover::after {
    width: 6px;
}

.card-number {
    position: absolute;
    left: 24px;
    top: 32px;
    font-size: 40px;
    font-weight: 700;
    font-family: 'Zilla Slab', serif;
    color: var(--primary);
    opacity: 0.3;
}

.text-card:nth-child(1) .card-number {
    color: var(--primary);
}

.text-card:nth-child(2) .card-number {
    color: var(--accent-orange);
}

.text-card:nth-child(3) .card-number {
    color: var(--secondary);
}

.text-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.text-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.sobre-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    background: white;
    background-clip: padding-box;
    border-radius: 20px;
    position: relative;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-orange));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Variantes coloridas para stat-cards */
.stat-card:nth-child(1)::before {
    background: linear-gradient(135deg, var(--primary), #8EC8EB);
}

.stat-card:nth-child(2)::before {
    background: linear-gradient(135deg, var(--secondary), #8EC8EB);
}

.stat-card:nth-child(3)::before {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
}

.stat-card:nth-child(4)::before {
    background: linear-gradient(135deg, var(--accent-green), #7EC4E8);
}

.stat-card:nth-child(1) .stat-icon {
    color: var(--primary);
}

.stat-card:nth-child(1) .stat-icon svg {
    stroke: var(--primary);
}

.stat-card:nth-child(1) .stat-value {
    color: var(--primary);
}

.stat-card:nth-child(2) .stat-icon {
    color: var(--secondary);
}

.stat-card:nth-child(2) .stat-icon svg {
    stroke: var(--secondary);
}

.stat-card:nth-child(2) .stat-value {
    color: var(--secondary);
}

.stat-card:nth-child(3) .stat-icon {
    color: var(--accent-orange);
}

.stat-card:nth-child(3) .stat-icon svg {
    stroke: var(--accent-orange);
}

.stat-card:nth-child(3) .stat-value {
    color: var(--accent-orange);
}

.stat-card:nth-child(4) .stat-icon {
    color: var(--accent-green);
}

.stat-card:nth-child(4) .stat-icon svg {
    stroke: var(--accent-green);
}

.stat-card:nth-child(4) .stat-value {
    color: var(--accent-green);
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.02);
}

.stat-card:nth-child(1):hover {
    box-shadow: 0 12px 30px rgba(90, 170, 217, 0.25);
}

.stat-card:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(74, 150, 200, 0.25);
}

.stat-card:nth-child(3):hover {
    box-shadow: 0 12px 30px rgba(191, 221, 243, 0.25);
}

.stat-card:nth-child(4):hover {
    box-shadow: 0 12px 30px rgba(63, 163, 94, 0.25);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Zilla Slab', serif;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* História - Seções Novas */
.historia-intro {
    margin: 3rem 0;
}

.historia-destaque {
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.destaque-ano {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    font-weight: 700;
    font-family: 'Zilla Slab', serif;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
}

.historia-destaque h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
}

.historia-destaque p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Timeline */
.historia-timeline {
    position: relative;
    margin: 4rem 0;
    padding-left: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(180deg, 
        var(--primary) 0%, 
        rgba(74, 150, 200, 0.3) 50%,
        rgba(74, 150, 200, 0.1) 100%
    );
}

.timeline-item:nth-child(1):not(:last-child)::before {
    background: linear-gradient(180deg, 
        var(--accent-green) 0%, 
        rgba(63, 163, 94, 0.3) 50%,
        rgba(63, 163, 94, 0.1) 100%
    );
}

.timeline-item:nth-child(2):not(:last-child)::before {
    background: linear-gradient(180deg, 
        var(--accent-orange) 0%, 
        rgba(191, 221, 243, 0.3) 50%,
        rgba(191, 221, 243, 0.1) 100%
    );
}

.timeline-marker {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(74, 150, 200, 0.4);
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(1) .timeline-icon {
    background: linear-gradient(135deg, var(--accent-green), #7EC4E8);
    box-shadow: 0 10px 30px rgba(63, 163, 94, 0.4);
}

.timeline-item:nth-child(2) .timeline-icon {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
    box-shadow: 0 10px 30px rgba(191, 221, 243, 0.4);
}

.timeline-item:nth-child(3) .timeline-icon {
    background: linear-gradient(135deg, var(--secondary), #8EC8EB);
    box-shadow: 0 10px 30px rgba(74, 150, 200, 0.4);
}

.timeline-content {
    padding: 2.5rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    position: relative;
}

.timeline-item:nth-child(1) .timeline-content {
    border-color: var(--accent-green);
    box-shadow: 0 4px 20px rgba(63, 163, 94, 0.1);
}

.timeline-item:nth-child(2) .timeline-content {
    border-color: var(--accent-orange);
    box-shadow: 0 4px 20px rgba(191, 221, 243, 0.1);
}

.timeline-item:nth-child(3) .timeline-content {
    border-color: var(--secondary);
    box-shadow: 0 4px 20px rgba(74, 150, 200, 0.1);
}

.timeline-ano {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Zilla Slab', serif;
}

.timeline-item:nth-child(1) .timeline-ano {
    background: linear-gradient(135deg, var(--accent-green), #7EC4E8);
}

.timeline-item:nth-child(2) .timeline-ano {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
}

.timeline-item:nth-child(3) .timeline-ano {
    background: linear-gradient(135deg, var(--secondary), #8EC8EB);
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.timeline-content ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.timeline-content ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.timeline-item:nth-child(1) .timeline-content ul li::before {
    color: var(--accent-green);
}

.timeline-item:nth-child(2) .timeline-content ul li::before {
    color: var(--accent-orange);
}

.timeline-item:nth-child(3) .timeline-content ul li::before {
    color: var(--secondary);
}

.lorenzetti-atividades {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(74, 150, 200, 0.05);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
}

.timeline-item:nth-child(1) .lorenzetti-atividades {
    background: rgba(63, 163, 94, 0.05) !important;
    border-left-color: var(--accent-green) !important;
}

.timeline-item:nth-child(2) .lorenzetti-atividades {
    background: rgba(191, 221, 243, 0.05) !important;
    border-left-color: var(--accent-orange) !important;
}

.timeline-item:nth-child(3) .lorenzetti-atividades {
    background: rgba(74, 150, 200, 0.05) !important;
    border-left-color: var(--secondary) !important;
}

.historia-destaque-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(74, 150, 200, 0.03);
    border-left: 4px solid var(--secondary);
    border-radius: 10px;
    font-style: italic;
}

.timeline-item:nth-child(1) .historia-destaque-box {
    background: rgba(63, 163, 94, 0.03) !important;
    border-left-color: var(--accent-green) !important;
}

.timeline-item:nth-child(2) .historia-destaque-box {
    background: rgba(191, 221, 243, 0.03) !important;
    border-left-color: var(--accent-orange) !important;
}

.timeline-item:nth-child(3) .historia-destaque-box {
    background: rgba(74, 150, 200, 0.03) !important;
    border-left-color: var(--secondary) !important;
}

.historia-destaque-box p {
    margin: 0;
    color: var(--text-secondary);
}

.despedida {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(74, 150, 200, 0.08);
    border-radius: 15px;
    text-align: center;
    font-style: italic;
    color: var(--text-primary) !important;
    border: 1px solid rgba(74, 150, 200, 0.2);
}

.timeline-item:nth-child(1) .despedida {
    background: rgba(63, 163, 94, 0.08) !important;
    border-color: rgba(63, 163, 94, 0.2) !important;
}

.timeline-item:nth-child(2) .despedida {
    background: rgba(191, 221, 243, 0.08) !important;
    border-color: rgba(191, 221, 243, 0.2) !important;
}

.timeline-item:nth-child(3) .despedida {
    background: rgba(74, 150, 200, 0.08) !important;
    border-color: rgba(74, 150, 200, 0.2) !important;
}

/* ===========================
   DOUTRINA
   =========================== */
.doutrina {
    background: var(--bg-secondary);
}

.doutrina-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.doutrina-card {
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: white;
    background-clip: padding-box;
}

.doutrina-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent-orange));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Variantes coloridas para doutrina-cards */
.doutrina-card:nth-child(1)::before {
    background: linear-gradient(135deg, var(--primary), #8EC8EB);
}

.doutrina-card:nth-child(1) .card-badge {
    background: var(--primary);
}

.doutrina-card:nth-child(2)::before {
    background: linear-gradient(135deg, var(--accent-green), #7EC4E8);
}

.doutrina-card:nth-child(2) .card-badge {
    background: var(--accent-green);
}

.doutrina-card:nth-child(3)::before {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
}

.doutrina-card:nth-child(3) .card-badge {
    background: var(--accent-orange);
}

.doutrina-card:nth-child(4)::before {
    background: linear-gradient(135deg, var(--accent-blue), #8EC8EB);
}

.doutrina-card:nth-child(4) .card-badge {
    background: var(--accent-blue);
}

.doutrina-card:hover {
    transform: translateY(-4px);
}

.doutrina-card:nth-child(1):hover {
    box-shadow: 0 12px 30px rgba(90, 170, 217, 0.25), 
                0 0 40px rgba(90, 170, 217, 0.15);
}

.doutrina-card:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(63, 163, 94, 0.25), 
                0 0 40px rgba(63, 163, 94, 0.15);
}

.doutrina-card:nth-child(3):hover {
    box-shadow: 0 12px 30px rgba(191, 221, 243, 0.25), 
                0 0 40px rgba(191, 221, 243, 0.15);
}

.doutrina-card:nth-child(4):hover {
    box-shadow: 0 12px 30px rgba(74, 144, 164, 0.25), 
                0 0 40px rgba(74, 144, 164, 0.15);
}

.doutrina-card:hover::before {
    opacity: 1;
}

.doutrina-card.highlight {
    border: 2px solid var(--accent-green);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse-soft 3s ease-in-out infinite;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.1), rgba(141, 200, 235, 0.1));
    border-radius: 20px;
    stroke: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.doutrina-card:nth-child(1) .card-icon-wrapper {
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.1), rgba(191, 221, 243, 0.1));
    stroke: var(--primary);
}

.doutrina-card:nth-child(2) .card-icon-wrapper {
    background: linear-gradient(135deg, rgba(63, 163, 94, 0.1), rgba(39, 174, 96, 0.1));
    stroke: var(--accent-green);
}

.doutrina-card:nth-child(3) .card-icon-wrapper {
    background: linear-gradient(135deg, rgba(191, 221, 243, 0.1), rgba(141, 200, 235, 0.1));
    stroke: var(--accent-orange);
}

.doutrina-card:nth-child(4) .card-icon-wrapper {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.1), rgba(141, 200, 235, 0.1));
    stroke: var(--accent-blue);
}

.doutrina-card:hover .card-icon-wrapper {
    transform: rotateY(360deg) scale(1.1);
}

.doutrina-card:nth-child(1):hover .card-icon-wrapper {
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.2), rgba(191, 221, 243, 0.2));
    box-shadow: 0 8px 16px rgba(90, 170, 217, 0.3);
}

.doutrina-card:nth-child(2):hover .card-icon-wrapper {
    background: linear-gradient(135deg, rgba(63, 163, 94, 0.2), rgba(39, 174, 96, 0.2));
    box-shadow: 0 8px 16px rgba(63, 163, 94, 0.3);
}

.doutrina-card:nth-child(3):hover .card-icon-wrapper {
    background: linear-gradient(135deg, rgba(191, 221, 243, 0.2), rgba(141, 200, 235, 0.2));
    box-shadow: 0 8px 16px rgba(191, 221, 243, 0.3);
}

.doutrina-card:nth-child(4):hover .card-icon-wrapper {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.2), rgba(141, 200, 235, 0.2));
    box-shadow: 0 8px 16px rgba(74, 144, 164, 0.3);
}

.doutrina-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.doutrina-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.doutrina-card:nth-child(1) .card-link {
    color: var(--primary);
}

.doutrina-card:nth-child(2) .card-link {
    color: var(--accent-green);
}

.doutrina-card:nth-child(3) .card-link {
    color: var(--accent-orange);
}

.doutrina-card:nth-child(4) .card-link {
    color: var(--accent-blue);
}

.card-link:hover {
    gap: 8px;
}

/* Doutrina - Seções Expandidas */
.doutrina-intro {
    padding: 3rem;
    margin: 3rem 0;
}

.doutrina-texto-destaque {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.citacao-kardec, .citacao-jesus {
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(74, 150, 200, 0.03);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    font-style: italic;
}

.citacao-kardec p, .citacao-jesus p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.citacao-kardec cite, .citacao-jesus cite {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 1rem;
    font-style: normal;
}

.consolador-section {
    margin: 4rem 0;
}

.section-subtitle {
    font-size: 2rem;
    font-family: 'Zilla Slab', serif;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.subtitle-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.consolador-content {
    padding: 3rem;
}

.consolador-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.doutrina-topicos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.topico-card {
    padding: 2.5rem;
}

.topico-card:nth-child(1):hover {
    box-shadow: 0 15px 40px rgba(90, 170, 217, 0.25);
}

.topico-card:nth-child(2):hover {
    box-shadow: 0 15px 40px rgba(191, 221, 243, 0.25);
}

.topico-card h3 {
    font-size: 1.5rem;
    font-family: 'Zilla Slab', serif;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.topico-card:nth-child(1) h3 {
    color: var(--primary);
}

.topico-card:nth-child(2) h3 {
    color: var(--accent-orange);
}

.topico-card:nth-child(1) .topico-icon {
    stroke: var(--primary);
}

.topico-card:nth-child(2) .topico-icon {
    stroke: var(--accent-orange);
}

.topico-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.principios-section {
    margin: 4rem 0;
}

.pilares-principais {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.pilar-card {
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.pilar-card:nth-child(1) {
    border-color: var(--accent-orange);
}

.pilar-card:nth-child(1) .pilar-icon svg {
    stroke: var(--accent-orange);
}

.pilar-card:nth-child(1) h4 {
    color: var(--accent-orange);
}

.pilar-card:nth-child(2) {
    border-color: var(--accent-blue);
}

.pilar-card:nth-child(2) .pilar-icon svg {
    stroke: var(--accent-blue);
}

.pilar-card:nth-child(2) h4 {
    color: var(--accent-blue);
}

.pilar-card:nth-child(3) {
    border-color: var(--primary);
}

.pilar-card:nth-child(3) .pilar-icon svg {
    stroke: var(--primary);
}

.pilar-card:nth-child(3) h4 {
    color: var(--primary);
}

.pilar-card:hover {
    transform: translateY(-4px);
}

.pilar-card:nth-child(1):hover {
    box-shadow: 0 12px 30px rgba(191, 221, 243, 0.25);
}

.pilar-card:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(74, 144, 164, 0.25);
}

.pilar-card:nth-child(3):hover {
    box-shadow: 0 12px 30px rgba(90, 170, 217, 0.25);
}

.pilar-card:nth-child(1).glass-card::before {
    background: linear-gradient(135deg, 
        rgba(191, 221, 243, 0.8), 
        rgba(141, 200, 235, 0.8));
}

.pilar-card:nth-child(2).glass-card::before {
    background: linear-gradient(135deg, 
        rgba(74, 144, 164, 0.8), 
        rgba(141, 200, 235, 0.8));
}

.pilar-card:nth-child(3).glass-card::before {
    background: linear-gradient(135deg, 
        rgba(90, 170, 217, 0.8), 
        rgba(191, 221, 243, 0.8));
}

.pilar-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pilar-card h4 {
    font-size: 1.3rem;
    font-family: 'Zilla Slab', serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.pilar-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.principios-accordion {
    text-align: center;
    margin: 2rem 0;
}

.accordion-toggle {
    background: linear-gradient(135deg, #4A96C8, #5AAAD9);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(74, 150, 200, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.accordion-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 150, 200, 0.5);
    background: linear-gradient(135deg, #7E47C1, #9955A0);
}

.accordion-icon {
    transition: transform var(--transition-base);
}

.accordion-toggle.active .accordion-icon {
    transform: rotate(180deg);
}

.principios-lista {
    margin: 3rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.principios-lista.collapsed {
    max-height: 0;
    opacity: 0;
}

.principios-lista.expanded {
    max-height: 10000px;
    opacity: 1;
}

.principio-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    transition: all var(--transition-base);
}

.principio-item:hover {
    transform: translateX(10px);
}

.principio-item:nth-child(1):hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(90, 170, 217, 0.2);
}

.principio-item:nth-child(2):hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 20px rgba(63, 163, 94, 0.2);
}

.principio-item:nth-child(3):hover {
    border-color: var(--accent-orange);
    box-shadow: 0 8px 20px rgba(191, 221, 243, 0.2);
}

.principio-item:nth-child(4):hover {
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(74, 144, 164, 0.2);
}

.principio-item:nth-child(5):hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(74, 150, 200, 0.2);
}

.principio-item:nth-child(6):hover {
    border-color: var(--accent-pink);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.2);
}

.principio-item:nth-child(7):hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(90, 170, 217, 0.2);
}

.principio-item:nth-child(8):hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 20px rgba(63, 163, 94, 0.2);
}

.principio-item:nth-child(9):hover {
    border-color: var(--accent-orange);
    box-shadow: 0 8px 20px rgba(191, 221, 243, 0.2);
}

.principio-item:nth-child(10):hover {
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(74, 144, 164, 0.2);
}

.principio-item:nth-child(11):hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(74, 150, 200, 0.2);
}

.principio-item:nth-child(12):hover {
    border-color: var(--accent-pink);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.2);
}

.principio-item:nth-child(13):hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(90, 170, 217, 0.2);
}

.principio-item:nth-child(14):hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 20px rgba(63, 163, 94, 0.2);
}

.principio-item:nth-child(15):hover {
    border-color: var(--accent-orange);
    box-shadow: 0 8px 20px rgba(191, 221, 243, 0.2);
}

.principio-item:nth-child(16):hover {
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(74, 144, 164, 0.2);
}

.principio-item:nth-child(17):hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(74, 150, 200, 0.2);
}

.principio-item:nth-child(18):hover {
    border-color: var(--accent-pink);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.2);
}

.principio-item:nth-child(19):hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(90, 170, 217, 0.2);
}

.principio-numero {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Zilla Slab', serif;
    font-size: 1.1rem;
}

.principio-item:nth-child(1) .principio-numero { background: linear-gradient(135deg, var(--primary), #8EC8EB); }
.principio-item:nth-child(2) .principio-numero { background: linear-gradient(135deg, var(--accent-green), #7EC4E8); }
.principio-item:nth-child(3) .principio-numero { background: linear-gradient(135deg, var(--accent-orange), #8EC8EB); }
.principio-item:nth-child(4) .principio-numero { background: linear-gradient(135deg, var(--accent-blue), #8EC8EB); }
.principio-item:nth-child(5) .principio-numero { background: linear-gradient(135deg, var(--secondary), #8EC8EB); }
.principio-item:nth-child(6) .principio-numero { background: linear-gradient(135deg, var(--accent-pink), #EC407A); }
.principio-item:nth-child(7) .principio-numero { background: linear-gradient(135deg, var(--primary), #8EC8EB); }
.principio-item:nth-child(8) .principio-numero { background: linear-gradient(135deg, var(--accent-green), #7EC4E8); }
.principio-item:nth-child(9) .principio-numero { background: linear-gradient(135deg, var(--accent-orange), #8EC8EB); }
.principio-item:nth-child(10) .principio-numero { background: linear-gradient(135deg, var(--accent-blue), #8EC8EB); }
.principio-item:nth-child(11) .principio-numero { background: linear-gradient(135deg, var(--secondary), #8EC8EB); }
.principio-item:nth-child(12) .principio-numero { background: linear-gradient(135deg, var(--accent-pink), #EC407A); }
.principio-item:nth-child(13) .principio-numero { background: linear-gradient(135deg, var(--primary), #8EC8EB); }
.principio-item:nth-child(14) .principio-numero { background: linear-gradient(135deg, var(--accent-green), #7EC4E8); }
.principio-item:nth-child(15) .principio-numero { background: linear-gradient(135deg, var(--accent-orange), #8EC8EB); }
.principio-item:nth-child(16) .principio-numero { background: linear-gradient(135deg, var(--accent-blue), #8EC8EB); }
.principio-item:nth-child(17) .principio-numero { background: linear-gradient(135deg, var(--secondary), #8EC8EB); }
.principio-item:nth-child(18) .principio-numero { background: linear-gradient(135deg, var(--accent-pink), #EC407A); }
.principio-item:nth-child(19) .principio-numero { background: linear-gradient(135deg, var(--primary), #8EC8EB); }

.principio-item p {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.pratica-section {
    margin: 4rem 0;
}

.pratica-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.pratica-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.pratica-card:nth-child(1) {
    border-color: var(--secondary);
}

.pratica-card:nth-child(1) .pratica-icon svg {
    stroke: var(--secondary);
}

.pratica-card:nth-child(2) {
    border-color: var(--accent-blue);
}

.pratica-card:nth-child(2) .pratica-icon svg {
    stroke: var(--accent-blue);
}

.pratica-card:nth-child(3) {
    border-color: var(--accent-orange);
}

.pratica-card:nth-child(3) .pratica-icon svg {
    stroke: var(--accent-orange);
}

.pratica-card:nth-child(4) {
    border-color: var(--accent-green);
}

.pratica-card:nth-child(4) .pratica-icon svg {
    stroke: var(--accent-green);
}

.pratica-card:nth-child(5) {
    border-color: var(--primary);
}

.pratica-card:nth-child(5) .pratica-icon svg {
    stroke: var(--primary);
}

.pratica-card:nth-child(6) {
    border-color: var(--accent-pink);
}

.pratica-card:nth-child(6) .pratica-icon svg {
    stroke: var(--accent-pink);
}

.pratica-card:hover {
    transform: translateY(-4px);
}

.pratica-card:nth-child(1):hover {
    box-shadow: 0 12px 30px rgba(74, 150, 200, 0.25);
}

.pratica-card:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(74, 144, 164, 0.25);
}

.pratica-card:nth-child(3):hover {
    box-shadow: 0 12px 30px rgba(191, 221, 243, 0.25);
}

.pratica-card:nth-child(4):hover {
    box-shadow: 0 12px 30px rgba(63, 163, 94, 0.25);
}

.pratica-card:nth-child(5):hover {
    box-shadow: 0 12px 30px rgba(90, 170, 217, 0.25);
}

.pratica-card:nth-child(6):hover {
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.25);
}

.pratica-card:nth-child(1).glass-card::before {
    background: linear-gradient(135deg, 
        rgba(74, 150, 200, 0.8), 
        rgba(141, 200, 235, 0.8));
}

.pratica-card:nth-child(2).glass-card::before {
    background: linear-gradient(135deg, 
        rgba(74, 144, 164, 0.8), 
        rgba(141, 200, 235, 0.8));
}

.pratica-card:nth-child(3).glass-card::before {
    background: linear-gradient(135deg, 
        rgba(191, 221, 243, 0.8), 
        rgba(141, 200, 235, 0.8));
}

.pratica-card:nth-child(4).glass-card::before {
    background: linear-gradient(135deg, 
        rgba(63, 163, 94, 0.8), 
        rgba(39, 174, 96, 0.8));
}

.pratica-card:nth-child(5).glass-card::before {
    background: linear-gradient(135deg, 
        rgba(90, 170, 217, 0.8), 
        rgba(191, 221, 243, 0.8));
}

.pratica-card:nth-child(6).glass-card::before {
    background: linear-gradient(135deg, 
        rgba(233, 30, 99, 0.8), 
        rgba(236, 64, 122, 0.8));
}

.pratica-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pratica-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.estudo-kardec {
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 150, 200, 0.08), rgba(141, 200, 235, 0.08));
    border: 2px solid var(--primary);
}

.estudo-kardec p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Zilla Slab', serif;
}

.centro-espirita-section {
    margin: 4rem 0;
}

.centro-definicao {
    padding: 3rem;
    margin: 2rem 0;
}

.centro-definicao p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.objetivos-atividades {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.obj-card {
    padding: 2.5rem;
}

.obj-card h4 {
    font-size: 1.5rem;
    font-family: 'Zilla Slab', serif;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.obj-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.obj-card ul, .obj-card ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.obj-card li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.fonte-texto {
    text-align: center;
    margin: 3rem 0 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.fonte-texto p {
    margin: 0;
    color: var(--text-secondary);
}

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

.fonte-texto a:hover {
    text-decoration: underline;
}

/* ===========================
   ATENDIMENTO
   =========================== */
.atendimento {
    background: white;
}

.atendimento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ===========================
   PROGRAMAS AEE (Atividades)
   =========================== */
.programas-aee {
    background: var(--bg-secondary);
}

.programas-intro {
    padding: 28px 32px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.programas-intro a {
    color: var(--primary-dark);
    font-weight: 600;
}

.programas-indice {
    padding: 20px 24px;
    margin-bottom: 32px;
}

.programas-indice-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.programas-indice-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.programas-indice-links a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(90, 170, 217, 0.15);
    border: 1px solid rgba(90, 170, 217, 0.25);
    transition: background var(--transition-base);
}

.programas-indice-links a:hover {
    background: rgba(90, 170, 217, 0.28);
}

.programa-horarios {
    background: rgba(90, 170, 217, 0.12);
}

.programa-horario-item {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.programa-horario-nota {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.programa-horario-nota a,
.programa-horario-item a {
    color: var(--primary-dark);
    font-weight: 600;
}

.programas-outros-intro {
    text-align: center;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.programa-link-externo {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.programa-link-externo:hover {
    text-decoration: underline;
}

.programas-comparativo {
    padding: 32px;
    margin-bottom: 40px;
}

.programas-comparativo h3 {
    font-family: 'Zilla Slab', serif;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.programas-comparativo-nota {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.programas-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.programas-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.programas-table th,
.programas-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(90, 170, 217, 0.15);
    vertical-align: top;
}

.programas-table th {
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(90, 170, 217, 0.08);
}

.programas-table tbody tr:hover {
    background: rgba(90, 170, 217, 0.04);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-ativo {
    background: rgba(90, 170, 217, 0.2);
    color: var(--primary-dark);
}

.status-trilha {
    background: rgba(58, 127, 176, 0.12);
    color: var(--secondary);
}

.programas-trilha {
    margin-bottom: 48px;
}

.programas-trilha-title {
    font-family: 'Zilla Slab', serif;
    font-size: 1.35rem;
    text-align: center;
    margin-bottom: 28px;
}

.programas-trilha-grid {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.programas-trilha-step {
    flex: 1 1 180px;
    max-width: 220px;
    padding: 24px 20px;
    text-align: center;
}

.programas-trilha-idade {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    margin-bottom: 10px;
}

.programas-trilha-step h4 {
    font-family: 'Zilla Slab', serif;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.programas-trilha-step p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.programas-trilha-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
    padding: 0 4px;
}

.programa-detalhe {
    padding: 36px;
    margin-bottom: 32px;
    scroll-margin-top: 100px;
}

.programas-aee [id] {
    scroll-margin-top: 100px;
}

.programa-detalhe-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(90, 170, 217, 0.2);
}

.programa-detalhe-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.programa-detalhe-header h3 {
    font-family: 'Zilla Slab', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.programa-detalhe-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 36px;
    align-items: start;
}

.programa-detalhe-texto p,
.programa-detalhe-texto li {
    line-height: 1.7;
    color: var(--text-secondary);
}

.programa-detalhe-texto h4 {
    font-family: 'Zilla Slab', serif;
    font-size: 1.1rem;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.programa-detalhe-texto ul {
    padding-left: 1.25rem;
}

.programa-detalhe-texto li {
    margin-bottom: 8px;
}

.programa-detalhe-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.programa-detalhe-box {
    padding: 20px;
    background: rgba(90, 170, 217, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(90, 170, 217, 0.15);
}

.programa-detalhe-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.programa-detalhe-box ul {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
}

.programa-detalhe-box li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(90, 170, 217, 0.1);
    line-height: 1.5;
}

.programa-detalhe-box li:last-child {
    border-bottom: none;
}

.programa-detalhe-box a {
    color: var(--primary-dark);
    font-weight: 600;
}

.programas-outros h3 {
    font-family: 'Zilla Slab', serif;
    font-size: 1.35rem;
    text-align: center;
    margin-bottom: 28px;
}

.programas-outros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.programas-outros-card {
    padding: 28px;
}

.programas-outros-card h4 {
    font-family: 'Zilla Slab', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.programas-outros-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .programa-detalhe-body {
        grid-template-columns: 1fr;
    }

    .programas-trilha-arrow {
        display: none;
    }

    .programas-trilha-step {
        max-width: 100%;
    }

    .programas-outros-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .programas-comparativo,
    .programa-detalhe {
        padding: 24px 20px;
    }

    .programas-table th,
    .programas-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

.atendimento-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    background: white;
    background-clip: padding-box;
    border-radius: 24px;
    position: relative;
    transition: all var(--transition-base);
}

.atendimento-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-orange));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Variantes coloridas para atendimento-cards */
.atendimento-card:nth-child(1)::before {
    background: linear-gradient(135deg, var(--accent-blue), #8EC8EB);
}

.atendimento-card:nth-child(1) .card-btn {
    background: var(--accent-blue);
}

.atendimento-card:nth-child(1) .card-icon-bg {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.1), rgba(141, 200, 235, 0.1));
    stroke: var(--accent-blue);
}

.atendimento-card:nth-child(2)::before {
    background: linear-gradient(135deg, var(--accent-green), #7EC4E8);
}

.atendimento-card:nth-child(2) .card-btn {
    background: var(--accent-green);
}

.atendimento-card:nth-child(2) .card-icon-bg {
    background: linear-gradient(135deg, rgba(63, 163, 94, 0.1), rgba(39, 174, 96, 0.1));
    stroke: var(--accent-green);
}

.atendimento-card:nth-child(3)::before {
    background: linear-gradient(135deg, var(--secondary), #8EC8EB);
}

.atendimento-card:nth-child(3) .card-btn {
    background: var(--secondary);
}

.atendimento-card:nth-child(3) .card-icon-bg {
    background: linear-gradient(135deg, rgba(74, 150, 200, 0.1), rgba(141, 200, 235, 0.1));
    stroke: var(--secondary);
}

.atendimento-card:hover {
    transform: translateY(-4px);
}

.atendimento-card:nth-child(1):hover {
    box-shadow: 0 12px 30px rgba(74, 144, 164, 0.25);
}

.atendimento-card:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(63, 163, 94, 0.25);
}

.atendimento-card:nth-child(3):hover {
    box-shadow: 0 12px 30px rgba(74, 150, 200, 0.25);
}

.atendimento-card:hover::before {
    opacity: 1;
}

.atendimento-card.large-card {
    grid-column: span 2;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-icon-bg {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.1), rgba(141, 200, 235, 0.1));
    border-radius: 16px;
    stroke: var(--primary);
}

.card-tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--accent-orange), var(--secondary));
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.atendimento-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.atendimento-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all var(--transition-base);
    align-self: flex-start;
}

.card-btn:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   PROJETOS
   =========================== */
.projetos {
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
}

.projetos-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.4;
}

.orb-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(191, 221, 243, 0.2) 0%, transparent 70%);
    top: 0;
    right: 0;
    animation-delay: 3s;
}

.orb-5 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 144, 164, 0.2) 0%, transparent 70%);
    bottom: 0;
    left: 0;
    animation-delay: 7s;
}

.projetos-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.projeto-card {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    background: white;
    background-clip: padding-box;
    border-radius: 24px;
    position: relative;
}

.projeto-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, 
        var(--primary), 
        var(--secondary), 
        var(--accent-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.projeto-card.hover-scale:hover {
    transform: translateY(-4px);
}

.projeto-card.card-purple:hover {
    box-shadow: 0 12px 30px rgba(90, 170, 217, 0.25);
}

.projeto-card.card-red:hover {
    box-shadow: 0 12px 30px rgba(74, 150, 200, 0.25);
}

.projeto-card.card-orange:hover {
    box-shadow: 0 12px 30px rgba(191, 221, 243, 0.25);
}

.projeto-card.card-green:hover {
    box-shadow: 0 12px 30px rgba(63, 163, 94, 0.25);
}

.projeto-card.card-blue:hover {
    box-shadow: 0 12px 30px rgba(74, 144, 164, 0.25);
}

.projeto-card:hover::before {
    opacity: 1;
}

.projeto-icon-large {
    margin-bottom: 24px;
    stroke: var(--primary);
}

/* Variantes coloridas para cards de projeto */
.projeto-card.card-purple .projeto-icon-large {
    stroke: var(--primary);
}

.projeto-card.card-purple .projeto-badge {
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.15), rgba(168, 212, 240, 0.15));
    color: var(--primary);
}

.projeto-card.card-purple:hover::before {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.projeto-card.card-red .projeto-icon-large {
    stroke: var(--secondary);
}

.projeto-card.card-red .projeto-badge {
    background: linear-gradient(135deg, rgba(74, 150, 200, 0.15), rgba(141, 200, 235, 0.15));
    color: var(--secondary);
}

.projeto-card.card-red:hover::before {
    background: linear-gradient(135deg, var(--secondary), #8EC8EB);
}

.projeto-card.card-orange .projeto-icon-large {
    stroke: var(--accent-orange);
}

.projeto-card.card-orange .projeto-badge {
    background: linear-gradient(135deg, rgba(191, 221, 243, 0.15), rgba(141, 200, 235, 0.15));
    color: var(--accent-orange);
}

.projeto-card.card-orange:hover::before {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
}

.projeto-card.card-green .projeto-icon-large {
    stroke: var(--accent-green);
}

.projeto-card.card-green .projeto-badge {
    background: linear-gradient(135deg, rgba(63, 163, 94, 0.15), rgba(39, 174, 96, 0.15));
    color: var(--accent-green);
}

.projeto-card.card-green:hover::before {
    background: linear-gradient(135deg, var(--accent-green), #7EC4E8);
}

.projeto-card.card-blue .projeto-icon-large {
    stroke: var(--accent-blue);
}

.projeto-card.card-blue .projeto-badge {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.15), rgba(141, 200, 235, 0.15));
    color: var(--accent-blue);
}

.projeto-card.card-blue:hover::before {
    background: linear-gradient(135deg, var(--accent-blue), #8EC8EB);
}

.projeto-badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.projeto-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.projeto-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.projeto-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.projeto-features span {
    padding: 6px 14px;
    background: var(--bg-primary);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===========================
   INSTITUIÇÕES PARCEIRAS
   =========================== */
.instituicoes {
    background: white;
}

.instituicoes-intro {
    text-align: center;
    margin: 2rem 0 3rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Banners das Instituições */
.instituicoes-banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.banner-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.banner-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, 
        var(--accent-green), 
        var(--accent-blue), 
        var(--primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.banner-item:hover {
    transform: translateY(-4px);
    background: var(--bg-secondary);
}

.banner-item:nth-child(1):hover {
    box-shadow: 0 12px 30px rgba(191, 221, 243, 0.25);
}

.banner-item:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(74, 150, 200, 0.25);
}

.banner-item:hover::before {
    opacity: 1;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: all var(--transition-base);
}

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

.instituicoes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.instituicao-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    background: white;
    background-clip: padding-box;
    border-radius: 24px;
    position: relative;
    transition: all var(--transition-base);
}

.instituicao-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.instituicao-card:nth-child(1)::before {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
}

.instituicao-card:nth-child(2)::before {
    background: linear-gradient(135deg, var(--accent-blue), #8EC8EB);
}

.instituicao-card:nth-child(3)::before {
    background: linear-gradient(135deg, var(--accent-green), #7EC4E8);
}

.instituicao-card:nth-child(4)::before {
    background: linear-gradient(135deg, var(--secondary), #8EC8EB);
}

.instituicao-card:hover {
    transform: translateY(-4px);
}

.instituicao-card:nth-child(1):hover {
    box-shadow: 0 12px 30px rgba(191, 221, 243, 0.25);
}

.instituicao-card:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(74, 144, 164, 0.25);
}

.instituicao-card:nth-child(3):hover {
    box-shadow: 0 12px 30px rgba(63, 163, 94, 0.25);
}

.instituicao-card:nth-child(4):hover {
    box-shadow: 0 12px 30px rgba(74, 150, 200, 0.25);
}

.instituicao-card:hover::before {
    opacity: 1;
}

.instituicao-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.instituicao-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--gradient-primary);
    border-radius: 15px;
}

.instituicao-card:nth-child(1) .instituicao-icon {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
}

.instituicao-card:nth-child(2) .instituicao-icon {
    background: linear-gradient(135deg, var(--accent-blue), #8EC8EB);
}

.instituicao-card:nth-child(3) .instituicao-icon {
    background: linear-gradient(135deg, var(--accent-green), #7EC4E8);
}

.instituicao-card:nth-child(4) .instituicao-icon {
    background: linear-gradient(135deg, var(--secondary), #8EC8EB);
}

.instituicao-card h3 {
    font-size: 1.5rem;
    font-family: 'Zilla Slab', serif;
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
}

.instituicao-descricao {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.instituicao-info {
    margin-top: auto;
}

.instituicao-info h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instituicao-card:nth-child(1) .instituicao-info h4 {
    color: var(--accent-orange);
}

.instituicao-card:nth-child(1) .instituicao-info h4 svg {
    stroke: var(--accent-orange);
}

.instituicao-card:nth-child(2) .instituicao-info h4 {
    color: var(--accent-blue);
}

.instituicao-card:nth-child(2) .instituicao-info h4 svg {
    stroke: var(--accent-blue);
}

.instituicao-card:nth-child(3) .instituicao-info h4 {
    color: var(--accent-green);
}

.instituicao-card:nth-child(3) .instituicao-info h4 svg {
    stroke: var(--accent-green);
}

.instituicao-card:nth-child(4) .instituicao-info h4 {
    color: var(--secondary);
}

.instituicao-card:nth-child(4) .instituicao-info h4 svg {
    stroke: var(--secondary);
}

.dados-bancarios {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.instituicao-card:nth-child(1) .dados-bancarios {
    border-left-color: var(--accent-orange);
}

.instituicao-card:nth-child(2) .dados-bancarios {
    border-left-color: var(--accent-blue);
}

.instituicao-card:nth-child(3) .dados-bancarios {
    border-left-color: var(--accent-green);
}

.instituicao-card:nth-child(4) .dados-bancarios {
    border-left-color: var(--secondary);
}

.dado-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.dado-item:last-child {
    border-bottom: none;
}

.dado-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.dado-valor {
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.pix-destaque {
    background: rgba(74, 150, 200, 0.05);
    padding: 0.8rem;
    margin: 0.5rem -0.5rem 0;
    border-radius: 8px;
}

.pix-destaque .dado-label {
    color: var(--primary);
}

.pix-destaque .dado-valor {
    color: var(--primary);
    font-weight: 600;
}

.instituicao-card:nth-child(1) .pix-destaque {
    background: rgba(191, 221, 243, 0.1);
}

.instituicao-card:nth-child(1) .pix-destaque .dado-label,
.instituicao-card:nth-child(1) .pix-destaque .dado-valor {
    color: var(--accent-orange);
}

.instituicao-card:nth-child(2) .pix-destaque {
    background: rgba(74, 144, 164, 0.1);
}

.instituicao-card:nth-child(2) .pix-destaque .dado-label,
.instituicao-card:nth-child(2) .pix-destaque .dado-valor {
    color: var(--accent-blue);
}

.instituicao-card:nth-child(3) .pix-destaque {
    background: rgba(63, 163, 94, 0.1);
}

.instituicao-card:nth-child(3) .pix-destaque .dado-label,
.instituicao-card:nth-child(3) .pix-destaque .dado-valor {
    color: var(--accent-green);
}

.instituicao-card:nth-child(4) .pix-destaque {
    background: rgba(74, 150, 200, 0.1);
}

.instituicao-card:nth-child(4) .pix-destaque .dado-label,
.instituicao-card:nth-child(4) .pix-destaque .dado-valor {
    color: var(--secondary);
}

.contato-instituicao {
    background: rgba(74, 150, 200, 0.03);
    padding: 1rem;
    border-radius: 10px;
}

.instituicao-card:nth-child(1) .contato-instituicao {
    background: rgba(191, 221, 243, 0.05);
}

.instituicao-card:nth-child(2) .contato-instituicao {
    background: rgba(74, 144, 164, 0.05);
}

.instituicao-card:nth-child(3) .contato-instituicao {
    background: rgba(63, 163, 94, 0.05);
}

.instituicao-card:nth-child(4) .contato-instituicao {
    background: rgba(74, 150, 200, 0.05);
}

.contato-instituicao p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contato-instituicao strong {
    color: var(--text-primary);
}

.destaque-card {
    border: 2px solid var(--primary);
}

.escola-destaque .destaque-card {
    border: 2px solid var(--accent-orange);
    box-shadow: 0 4px 20px rgba(191, 221, 243, 0.15);
}

.escola-destaque .btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
    border-color: var(--accent-orange);
    color: white;
}

.escola-destaque .btn-primary:hover {
    box-shadow: var(--shadow-2xl), 0 0 20px rgba(191, 221, 243, 0.4);
    transform: translateY(-3px);
}

.escola-destaque .feature-item svg {
    stroke: var(--accent-orange);
}

.escola-destaque .card-glow {
    background: radial-gradient(circle, rgba(191, 221, 243, 0.2), rgba(141, 200, 235, 0.1), transparent);
}

.instituicao-card.destaque-card {
    border: 2px solid var(--secondary);
}

.redes-sociais-texto {
    margin: 1rem 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.instituicao-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.instituicao-buttons .btn {
    flex: 1;
}

.instituicao-card:nth-child(1) .instituicao-buttons .btn-primary {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.instituicao-card:nth-child(1) .instituicao-buttons .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(191, 221, 243, 0.4);
}

.instituicao-card:nth-child(1) .instituicao-buttons .btn-outline {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.instituicao-card:nth-child(2) .instituicao-buttons .btn-primary {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.instituicao-card:nth-child(2) .instituicao-buttons .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(74, 144, 164, 0.4);
}

.instituicao-card:nth-child(2) .instituicao-buttons .btn-outline {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.instituicao-card:nth-child(3) .instituicao-buttons .btn-primary {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.instituicao-card:nth-child(3) .instituicao-buttons .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(63, 163, 94, 0.4);
}

.instituicao-card:nth-child(3) .instituicao-buttons .btn-outline {
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.instituicao-card:nth-child(4) .instituicao-buttons .btn-primary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.instituicao-card:nth-child(4) .instituicao-buttons .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(74, 150, 200, 0.4);
    background: var(--secondary);
}

.instituicao-card:nth-child(4) .instituicao-buttons .btn-outline {
    color: var(--secondary);
    border-color: var(--secondary);
}

.instituicao-card:nth-child(4) .instituicao-buttons .btn-outline:hover {
    background: rgba(74, 150, 200, 0.1);
    border-color: var(--secondary);
}

.instituicoes-cta {
    margin: 4rem 0 0;
}

.cta-box {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 150, 200, 0.08), rgba(141, 200, 235, 0.08));
    border: 2px solid var(--primary);
}

.cta-box h3 {
    font-size: 2rem;
    font-family: 'Zilla Slab', serif;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 1rem 0;
}

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

/* ===========================
   LOCALIZAÇÃO
   =========================== */
.localizacao {
    background: var(--bg-secondary);
}

.localizacao-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.localizacao-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.localizacao-info h3 {
    font-size: 2rem;
    font-family: 'Zilla Slab', serif;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.localizacao-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.localizacao-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.localizacao-mapa {
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.localizacao-mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
}

/* ===========================
   CONTATO
   =========================== */
.contato {
    background: white;
}

.contato-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contato-info-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    padding: 32px;
    text-align: center;
    border: 2px solid transparent;
    background: white;
    background-clip: padding-box;
    border-radius: 20px;
    position: relative;
    transition: all var(--transition-base);
}

.info-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Variantes coloridas para info-cards */
.info-card:nth-child(1)::before {
    background: linear-gradient(135deg, var(--primary), #8EC8EB);
}

.info-card:nth-child(1) .info-icon {
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.1), rgba(191, 221, 243, 0.1));
    stroke: var(--primary);
}

.info-card:nth-child(1) .info-link {
    color: var(--primary);
}

.info-card:nth-child(2)::before {
    background: linear-gradient(135deg, var(--accent-orange), #8EC8EB);
}

.info-card:nth-child(2) .info-icon {
    background: linear-gradient(135deg, rgba(191, 221, 243, 0.1), rgba(141, 200, 235, 0.1));
    stroke: var(--accent-orange);
}

.info-card:nth-child(2) .info-link {
    color: var(--accent-orange);
}

.info-card:nth-child(3)::before {
    background: linear-gradient(135deg, var(--accent-blue), #8EC8EB);
}

.info-card:nth-child(3) .info-icon {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.1), rgba(141, 200, 235, 0.1));
    stroke: var(--accent-blue);
}

.info-card:nth-child(3) .info-link {
    color: var(--accent-blue);
}

.info-card:hover {
    transform: translateY(-4px);
}

.info-card:nth-child(1):hover {
    box-shadow: 0 12px 30px rgba(90, 170, 217, 0.25);
}

.info-card:nth-child(2):hover {
    box-shadow: 0 12px 30px rgba(191, 221, 243, 0.25);
}

.info-card:nth-child(3):hover {
    box-shadow: 0 12px 30px rgba(74, 144, 164, 0.25);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.1), rgba(141, 200, 235, 0.1));
    border-radius: 50%;
    stroke: var(--primary);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.info-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.info-link:hover {
    gap: 8px;
}

.social-cards {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 24px;
}

.social-cards h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-card {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all var(--transition-base);
    text-decoration: none;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.social-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8), 
        rgba(255, 255, 255, 0.5), 
        rgba(255, 255, 255, 0.8));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-card.facebook {
    background: #1877F2;
    color: white;
}

.social-card.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    color: white;
}

.social-card.youtube {
    background: #FF0000;
    color: white;
}

.social-card:hover {
    transform: translateY(-4px) scale(1.05);
}

.social-card.facebook:hover {
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.3);
}

.social-card.instagram:hover {
    box-shadow: 0 12px 30px rgba(225, 48, 108, 0.3);
}

.social-card.youtube:hover {
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.3);
}

.social-card:hover::before {
    opacity: 1;
}

.contato-form {
    padding: 48px;
}

.contato-form h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--bg-tertiary);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(90, 170, 217, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, #2d2d42 100%);
    color: white;
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
}

.footer-logo {
    height: 80px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 8px;
}

.footer-bottom strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.footer-bottom strong a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    -webkit-text-fill-color: initial;
    background: none;
}

.footer-bottom strong a:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

.heart-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
    color: var(--accent-pink);
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .destaque-card {
        grid-template-columns: 1fr;
        padding: 48px;
    }

    .cursos-trilha-seta {
        display: none;
    }

    .cursos-trilha-resumo {
        gap: 16px;
    }

    .cursos-destaque-grid {
        grid-template-columns: 1fr;
    }

    .curso-destaque-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 32px;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }
    
    .timeline-item:not(:last-child)::before {
        left: 30px;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.4rem;
    }
    
    .destaque-ano {
        font-size: 3rem;
        right: 15px;
        top: 15px;
    }
    
    .sobre-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .atendimento-grid {
        grid-template-columns: 1fr;
    }
    
    .atendimento-card.large-card {
        grid-column: span 1;
    }
    
    .contato-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .instituicoes-banners {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .banner-item {
        padding: 1.5rem;
    }
    
    .instituicoes-grid {
        grid-template-columns: 1fr;
    }
    
    .instituicao-card {
        padding: 1.5rem;
    }
    
    .instituicao-buttons {
        flex-direction: column;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .localizacao-content {
        grid-template-columns: 1fr;
    }
    
    .localizacao-info {
        padding: 1.5rem;
    }
    
    .localizacao-buttons {
        flex-direction: column;
    }
    
    .localizacao-mapa {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 100px 0 60px;
    }

    .hero::before {
        background: linear-gradient(135deg,
            transparent 0%,
            transparent 35%,
            rgba(45, 106, 150, 0.15) 55%,
            rgba(45, 106, 150, 0.35) 100%
        );
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .hero-image-col {
        order: -1;
        max-height: 280px;
        overflow: hidden;
    }

    .hero-image {
        max-height: 260px;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        justify-content: center;
    }
    
    .hero-logo {
        height: 80px;
        max-width: 200px;
        margin-bottom: 1.2rem;
    }
    
    /* Dropdown no mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        max-height: 300px;
        margin-top: 8px;
    }
    
    .dropdown-link {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    body.dark-mode .dropdown-menu {
        background: transparent;
        border: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        max-height: calc(100vh - 80px);
        max-height: calc(100dvh - 80px);
        padding: 32px 24px;
        box-shadow: var(--shadow-2xl);
        transition: left var(--transition-base);
        gap: 8px;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 999;
        -webkit-overflow-scrolling: touch;
    }

    body.dark-mode .nav-menu {
        background: var(--bg-primary);
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-wrapper {
        gap: 8px;
    }

    .header .theme-toggle {
        flex-shrink: 0;
        margin-left: 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .breadcrumbs {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: none;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .share-buttons {
        left: 16px;
        bottom: 16px;
    }

    .share-toggle {
        width: 48px;
        height: 48px;
    }

    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 148px;
        right: 16px;
    }

    .programas-intro,
    .programas-comparativo,
    .programa-detalhe {
        padding: 28px 20px;
    }

    .programas-indice {
        padding: 16px;
    }

    .atendimento-card {
        padding: 28px 24px;
    }

    .curso-destaque-card {
        padding: 28px 24px;
    }

    .curso-destaque-card.featured {
        padding: 32px 24px;
    }

    .cursos-trilha-resumo {
        padding: 16px;
        gap: 6px 8px;
    }

    .testimonial-card {
        padding: 28px 24px;
    }

    .cta-box {
        padding: 32px 24px;
    }
    
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 40px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .destaque-card {
        padding: 32px 24px;
    }
    
    .destaque-visual {
        height: auto;
    }
    
    .sobre-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .instituicoes-banners {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .banner-item {
        padding: 1.5rem;
    }
    
    .doutrina-grid {
        grid-template-columns: 1fr;
    }
    
    .doutrina-intro, .consolador-content, .centro-definicao {
        padding: 1.5rem;
    }
    
    .doutrina-topicos {
        grid-template-columns: 1fr;
    }
    
    .pilares-principais {
        grid-template-columns: 1fr;
    }
    
    .principio-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .principio-numero {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .pratica-grid {
        grid-template-columns: 1fr;
    }
    
    .objetivos-atividades {
        grid-template-columns: 1fr;
    }
    
    .obj-card {
        padding: 1.5rem;
    }
    
    .projetos-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===========================
   MODO ESCURO (DARK MODE)
   =========================== */
body.dark-mode {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --text-primary: #eaeaea;
    --text-secondary: #b8b8b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body.dark-mode .header {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .glass-card,
body.dark-mode .doutrina-card,
body.dark-mode .text-card,
body.dark-mode .stat-card,
body.dark-mode .projeto-card,
body.dark-mode .banner-item,
body.dark-mode .atendimento-card,
body.dark-mode .curso-destaque-card,
body.dark-mode .instituicao-card,
body.dark-mode .info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

body.dark-mode .section {
    background: var(--bg-primary);
}

body.dark-mode .footer {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
}

.header .theme-toggle {
    background: rgba(90, 170, 217, 0.12);
    border: 1px solid rgba(90, 170, 217, 0.35);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-left: 16px;
}

.header .theme-toggle:hover {
    background: rgba(90, 170, 217, 0.22);
    transform: rotate(20deg) scale(1.1);
}

.header .theme-toggle .sun-icon {
    display: block;
    stroke: #5AAAD9;
}

.header .theme-toggle .moon-icon {
    display: none;
    stroke: #5AAAD9;
}

body.dark-mode .theme-toggle .sun-icon {
    display: none;
}

body.dark-mode .theme-toggle .moon-icon {
    display: block;
}

/* ===========================
   ACESSIBILIDADE - SKIP LINKS
   =========================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #5AAAD9;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    z-index: 10001;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

/* Melhor contraste para elementos focáveis */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ===========================
   BREADCRUMBS
   =========================== */
.breadcrumbs {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.breadcrumbs.visible {
    opacity: 1;
    visibility: visible;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

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

.breadcrumb-separator {
    color: var(--text-secondary);
    user-select: none;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

body.dark-mode .breadcrumbs {
    background: rgba(26, 26, 46, 0.95);
}

/* ===========================
   BOTÃO SCROLL TO TOP COM PROGRESSO
   =========================== */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(90, 170, 217, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.scroll-to-top .progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.scroll-to-top .progress-ring-circle {
    transition: stroke-dashoffset 0.1s ease;
}

.scroll-to-top .arrow-icon {
    position: relative;
    z-index: 1;
    stroke: var(--primary);
}

body.dark-mode .scroll-to-top {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

body.dark-mode .scroll-to-top .arrow-icon {
    stroke: white;
}

/* ===========================
   BARRA DE PROGRESSO DE SCROLL
   =========================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg,
        #4A96C8 0%,
        #5AAAD9 40%,
        #8EC8EB 70%,
        #BFDDF3 100%
    );
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 10px rgba(90, 170, 217, 0.5);
}

/* ===========================
   GALERIA DE FOTOS COM LIGHTBOX
   =========================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 24px;
    margin-top: 48px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.9), rgba(141, 200, 235, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    stroke: white;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ===========================
   DEPOIMENTOS
   =========================== */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    padding: 40px;
    text-align: center;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 24px;
}

.testimonial-stars svg {
    color: #FFD700;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.testimonial-author div {
    text-align: left;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===========================
   VÍDEOS
   =========================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 32px;
    margin-top: 48px;
}

.video-card {
    padding: 0;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 24px;
}

.video-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.video-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   CALENDÁRIO DE EVENTOS
   =========================== */
.calendar-section {
    background: linear-gradient(135deg, rgba(90, 170, 217, 0.05), rgba(141, 200, 235, 0.05));
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.event-card {
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.event-date {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    min-width: 80px;
}

.event-day {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.event-month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.event-details p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.event-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.cta-box {
    padding: 48px;
    text-align: center;
    margin-top: 48px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(90, 170, 217, 0.2);
    border-radius: 50px;
    font-size: 16px;
    transition: all var(--transition-base);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(90, 170, 217, 0.1);
}

.newsletter-form button {
    flex-shrink: 0;
}

/* ===========================
   BOTÕES DE COMPARTILHAR
   =========================== */
.share-buttons {
    position: fixed;
    left: 32px;
    bottom: 32px;
    z-index: 998;
}

.share-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(90, 170, 217, 0.4);
    transition: all var(--transition-base);
}

.share-toggle:hover {
    transform: scale(1.1) rotate(90deg);
}

.share-menu {
    position: absolute;
    bottom: 70px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.share-buttons.active .share-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.share-button.whatsapp {
    background: #25D366;
}

.share-button.facebook {
    background: #1877F2;
}

.share-button.twitter {
    background: #1DA1F2;
}

.share-button:hover {
    transform: scale(1.15);
}

/* ===========================
   BOTÃO WHATSAPP FLUTUANTE
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    z-index: 999;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #25D366;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #25D366;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* ===========================
   LOADING SKELETON
   =========================== */
.skeleton {
    background: linear-gradient(90deg, 
        var(--bg-secondary) 0%, 
        rgba(90, 170, 217, 0.1) 50%, 
        var(--bg-secondary) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 12px;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-title {
    height: 32px;
    margin-bottom: 16px;
    width: 80%;
}

.skeleton-card {
    height: 200px;
    border-radius: 20px;
}

.skeleton-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

/* Ocultar skeleton quando carregado */
.loaded .skeleton {
    display: none;
}

body.dark-mode .skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(90, 170, 217, 0.2) 50%, 
        rgba(255, 255, 255, 0.05) 100%
    );
}

/* ===========================
   CSS PARA IMPRESSÃO
   =========================== */
@media print {
    /* Ocultar elementos desnecessários */
    .header,
    .nav-menu,
    .mobile-menu-toggle,
    .theme-toggle,
    .scroll-progress-bar,
    .scroll-to-top,
    .whatsapp-float,
    .share-buttons,
    .breadcrumbs,
    .preloader,
    .hero-bg,
    .gradient-orb,
    .lightbox,
    video,
    iframe {
        display: none !important;
    }
    
    /* Reset de cores para impressão */
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Otimizar espaçamento */
    body {
        margin: 0;
        padding: 0;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 20pt 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    /* Links com URL visível */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666 !important;
    }
    
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    
    /* Quebras de página */
    .section-title {
        page-break-before: always;
    }
    
    .section:first-of-type .section-title {
        page-break-before: avoid;
    }
    
    /* Footer na última página */
    .footer {
        page-break-before: always;
        padding: 20pt 0;
    }
    
    /* Logo no topo de cada página */
    @page {
        margin: 2cm;
        @top-center {
            content: "Centro Espírita Redenção";
            font-weight: bold;
        }
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 90px 0 50px;
    }

    .hero-image-col {
        max-height: 220px;
    }

    .hero-image {
        max-height: 200px;
    }
    
    .hero-logo {
        height: 70px;
        max-width: 180px;
        margin-bottom: 1rem;
    }
    
    .scroll-indicator {
        bottom: 15px;
        font-size: 12px;
    }
    
    .hero-stats {
        margin-bottom: 35px;
        padding: 20px 16px;
        gap: 20px;
    }
    
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 64px 0;
    }
    
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: max(16px, env(safe-area-inset-bottom));
        right: max(16px, env(safe-area-inset-right));
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .logo-text-wrapper {
        display: none;
    }
    
    .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: clamp(1.65rem, 6vw, 2rem);
    }
    
    .destaque-card {
        padding: 24px 20px;
    }
    
    .text-card {
        padding-left: 60px;
    }
    
    .card-number {
        font-size: 32px;
        left: 16px;
    }
    
    .contato-form {
        padding: 32px 24px;
    }

    .programas-table {
        min-width: 480px;
    }

    .programas-table th,
    .programas-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .programas-indice-links a {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .scroll-to-top {
        bottom: calc(132px + env(safe-area-inset-bottom));
        right: max(12px, env(safe-area-inset-right));
    }

    .share-buttons {
        left: max(12px, env(safe-area-inset-left));
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .gallery-grid {
        gap: 16px;
    }

    .videos-grid,
    .testimonials-grid {
        gap: 20px;
    }

    .info-card {
        padding: 24px 20px;
    }

    .coming-soon-card {
        padding: 2rem 1.25rem;
    }
}

/* ===========================
   ÍCONES SVG - ESTILIZAÇÃO
=========================== */

/* Regra geral para todos os SVGs */
svg {
    flex-shrink: 0;
}

/* Ícones do menu de navegação */
.header .menu-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    color: #5AAAD9;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.dropdown-link:hover .menu-icon {
    transform: translateX(3px);
}

/* Ícone do hero badge */
.badge-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Ícones da timeline */
.timeline-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    display: block;
}

/* Ícones dos stats cards */
.stat-icon svg {
    display: block;
}

.stat-card:nth-child(1) .stat-icon svg {
    filter: drop-shadow(0 2px 8px rgba(90, 170, 217, 0.3));
}

.stat-card:nth-child(2) .stat-icon svg {
    filter: drop-shadow(0 2px 8px rgba(74, 150, 200, 0.3));
}

.stat-card:nth-child(3) .stat-icon svg {
    filter: drop-shadow(0 2px 8px rgba(191, 221, 243, 0.3));
}

.stat-card:nth-child(4) .stat-icon svg {
    filter: drop-shadow(0 2px 8px rgba(63, 163, 94, 0.3));
}

/* Ícones dos títulos de seções */
.section-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Classes utilitárias de cores */
.color-purple { color: var(--primary) !important; }
.color-red { color: var(--secondary) !important; }
.color-orange { color: var(--accent-orange) !important; }
.color-green { color: var(--accent-green) !important; }
.color-blue { color: var(--accent-blue) !important; }
.color-pink { color: var(--accent-pink) !important; }

.bg-purple { background-color: var(--primary) !important; }
.bg-red { background-color: var(--secondary) !important; }
.bg-orange { background-color: var(--accent-orange) !important; }
.bg-green { background-color: var(--accent-green) !important; }
.bg-blue { background-color: var(--accent-blue) !important; }
.bg-pink { background-color: var(--accent-pink) !important; }

.stroke-purple { stroke: var(--primary) !important; }
.stroke-red { stroke: var(--secondary) !important; }
.stroke-orange { stroke: var(--accent-orange) !important; }
.stroke-green { stroke: var(--accent-green) !important; }
.stroke-blue { stroke: var(--accent-blue) !important; }
.stroke-pink { stroke: var(--accent-pink) !important;
}

/* Ícones dos pilares */
.pilar-icon svg {
    display: block;
}

.pilar-card:nth-child(1) .pilar-icon svg {
    filter: drop-shadow(0 4px 12px rgba(191, 221, 243, 0.4));
}

.pilar-card:nth-child(2) .pilar-icon svg {
    filter: drop-shadow(0 4px 12px rgba(74, 144, 164, 0.4));
}

.pilar-card:nth-child(3) .pilar-icon svg {
    filter: drop-shadow(0 4px 12px rgba(90, 170, 217, 0.4));
}

/* Ícones da prática espírita */
.pratica-icon svg {
    display: block;
}

.pratica-card:nth-child(1) .pratica-icon svg {
    filter: drop-shadow(0 3px 10px rgba(74, 150, 200, 0.4));
}

.pratica-card:nth-child(2) .pratica-icon svg {
    filter: drop-shadow(0 3px 10px rgba(74, 144, 164, 0.4));
}

.pratica-card:nth-child(3) .pratica-icon svg {
    filter: drop-shadow(0 3px 10px rgba(191, 221, 243, 0.4));
}

.pratica-card:nth-child(4) .pratica-icon svg {
    filter: drop-shadow(0 3px 10px rgba(63, 163, 94, 0.4));
}

/* Ícones das instituições */
.instituicao-icon svg {
    color: white;
    stroke: white;
    width: 32px;
    height: 32px;
    display: block;
}

/* Ícone do tópico "O que revela?" */
.topico-icon {
    display: inline-block;
    vertical-align: middle;
    color: var(--primary);
    flex-shrink: 0;
}

/* Ícone de informações (telefone) inline */
.contato-instituicao .info-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    color: var(--primary);
}

.instituicao-card:nth-child(1) .contato-instituicao .info-icon,
.instituicao-card:nth-child(1) .contato-instituicao strong {
    color: var(--accent-orange);
}

.instituicao-card:nth-child(2) .contato-instituicao .info-icon,
.instituicao-card:nth-child(2) .contato-instituicao strong {
    color: var(--accent-blue);
}

.instituicao-card:nth-child(3) .contato-instituicao .info-icon,
.instituicao-card:nth-child(3) .contato-instituicao strong {
    color: var(--accent-green);
}

.instituicao-card:nth-child(4) .contato-instituicao .info-icon,
.instituicao-card:nth-child(4) .contato-instituicao strong {
    color: var(--secondary);
}

/* Ícone do CTA */
.cta-icon {
    display: inline-block;
    vertical-align: middle;
    color: var(--accent-pink);
    animation: heartbeat 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

/* Ícone do badge de projeto */
.projeto-badge svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Ícones dos objetivos e atividades */
.obj-icon {
    color: var(--primary);
    flex-shrink: 0;
}

/* Ícone de ajuda das instituições */
.instituicao-help-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.instituicao-card:nth-child(1) .instituicao-help-icon {
    color: var(--accent-orange);
    stroke: var(--accent-orange);
}

.instituicao-card:nth-child(2) .instituicao-help-icon {
    color: var(--accent-blue);
    stroke: var(--accent-blue);
}

.instituicao-card:nth-child(3) .instituicao-help-icon {
    color: var(--accent-green);
    stroke: var(--accent-green);
}

.instituicao-card:nth-child(4) .instituicao-help-icon {
    color: var(--secondary);
    stroke: var(--secondary);
}

.contato-instituicao h4 {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ícone do newsletter */
.newsletter-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    color: var(--primary);
    flex-shrink: 0;
}

.newsletter-form h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Responsivo para ícones */
@media (max-width: 768px) {
    .section-icon {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    
    .menu-icon {
        width: 14px;
        height: 14px;
    }
}

/* ===========================
   PÁGINA EM BREVE
   =========================== */
.coming-soon-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 4rem;
}

.coming-soon-section {
    width: 100%;
    padding: 2rem 0;
}

.coming-soon-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    text-align: center;
}

.coming-soon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(191, 221, 243, 0.4), rgba(90, 170, 217, 0.15));
    color: var(--primary, #5AAAD9);
}

.coming-soon-title {
    font-family: 'Zilla Slab', serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0.75rem 0 1rem;
    line-height: 1.2;
}

.coming-soon-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary, #555);
    margin-bottom: 2rem;
}

.coming-soon-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.coming-soon-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(90, 170, 217, 0.08);
    color: var(--text-primary, #333);
    font-size: 0.95rem;
}

.coming-soon-features svg {
    flex-shrink: 0;
    color: var(--primary, #5AAAD9);
}

.coming-soon-note {
    font-size: 0.95rem;
    color: var(--text-muted, #888);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.coming-soon-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.coming-soon-actions .btn {
    min-width: 180px;
}

.dark-mode .coming-soon-lead {
    color: var(--text-secondary, #b0b8c4);
}

.dark-mode .coming-soon-features li {
    background: rgba(90, 170, 217, 0.12);
    color: var(--text-primary, #e8ecf0);
}

.dark-mode .coming-soon-note {
    color: var(--text-muted, #9aa3b0);
}

@media (max-width: 768px) {
    .coming-soon-card {
        padding: 2rem 1.5rem;
    }

    .coming-soon-actions {
        flex-direction: column;
    }

    .coming-soon-actions .btn {
        width: 100%;
    }
}
