/*
Theme Name: Instituto de Missão UCOB
Description: Tema personalizado para o Instituto de Missão da UCOB - Preparo e educação missionária
Version: 1.0
Author: Instituto de Missão UCOB
*/

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais */
    --primary: 220 70% 50%;
    --primary-foreground: 0 0% 98%;
    --secondary: 220 14.3% 95.9%;
    --secondary-foreground: 220.9 39.3% 11%;
    --muted: 220 14.3% 95.9%;
    --muted-foreground: 220 8.9% 46.1%;
    --accent: 220 14.3% 95.9%;
    --accent-foreground: 220.9 39.3% 11%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 220 13% 91%;
    --input: 220 13% 91%;
    --ring: 220 70% 50%;
    --background: 0 0% 100%;
    --foreground: 220.9 39.3% 11%;
    --card: 0 0% 100%;
    --card-foreground: 220.9 39.3% 11%;
    --popover: 0 0% 100%;
    --popover-foreground: 220.9 39.3% 11%;

    /* Cores missionárias */
    --mission-blue: 220 70% 50%;
    --mission-blue-light: 220 70% 70%;
    
    /* Gradientes */
    --mission-gradient: linear-gradient(135deg, hsl(var(--mission-blue)), hsl(var(--mission-blue-light)));
    --hero-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(37, 99, 235, 0.6));
    
    /* Sombras */
    --shadow-mission: 0 10px 30px -10px hsl(var(--mission-blue) / 0.3);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    
    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
}

/* Tipografia */
.font-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

/* Layout principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header e Navegação */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: hsl(var(--foreground));
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--mission-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: hsl(var(--foreground));
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-menu a:hover,
.nav-menu a.current {
    color: hsl(var(--primary));
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-mission);
}

.btn-primary:hover {
    background: hsl(var(--primary) / 0.9);
}

.btn-hero {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    padding-top: 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Seções */
.section {
    padding: 5rem 0;
}

.section-bg-muted {
    background: hsl(var(--muted) / 0.3);
}

.section-bg-accent {
    background: hsl(var(--accent) / 0.05);
}

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Utilitários */
.text-center { text-align: center; }
.text-primary { color: hsl(var(--primary)); }
.text-muted { color: hsl(var(--muted-foreground)); }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }

.pt-16 { padding-top: 4rem; }

/* Responsivo */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* WordPress específico */
.wp-block-group {
    margin: 0;
}

.aligncenter {
    text-align: center;
}

.wp-caption {
    max-width: 100%;
}

.screen-reader-text {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}