/* ==========================================
   DESIGN DINÂMICO - IGREJA CASTELO DO REI AD
   ========================================== */

/* VARIÁVEIS - TEMA CLARO */
:root {
    --primary-cream: #EDE1C9;
    --secondary-cream: #F5EDDD;
    --light-cream: #FAF6EC;
    --dark-bg: #1A1A1A;
    --pure-black: #000000;
    --soft-black: #2A2A2A;
    
    --text-primary: #3D332B;
    --text-secondary: #6B5D4F;
    --text-light: #8A7C6C;
    
    --accent-gold: #C17845;
    --accent-shadow: rgba(61, 51, 43, 0.15);

    /* Nova paleta (redesign inspirado no print de referência) */
    --color-charcoal: #3D3833;
    --color-terracotta: #C17845;
    --color-brown-dark: #4A2F22;
    --color-tan-gold: #C9A876;
    --color-navy: #3E4A57;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* TEMA ESCURO - usando a paleta nova (charcoal + terracota) */
body.dark-theme {
    --primary-cream: #211D19;
    --secondary-cream: #2B2521;
    --light-cream: #35302A;
    --dark-bg: #EDE1C9;
    --pure-black: #EDE1C9;
    --soft-black: #F5EDDD;
    
    --text-primary: #EDE1C9;
    --text-secondary: #C9B99F;
    --text-light: #A8987E;
    
    --accent-gold: #D98A55;
    --accent-shadow: rgba(0, 0, 0, 0.35);

    --color-charcoal: #EDE1C9;
    --color-terracotta: #D98A55;
    --color-brown-dark: #C9A876;
    --color-tan-gold: #2B2521;
    --color-navy: #C9B99F;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--primary-cream);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: var(--transition);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================
   HEADER FIXO SEM LOGO
   ========================================== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-cream);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-shadow);
    transition: var(--transition);
}

.header-fixed.scrolled {
    box-shadow: 0 4px 30px var(--accent-shadow);
    background: rgba(232, 220, 196, 0.95);
}

body.dark-theme .header-fixed.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Brand com ícone + texto empilhado (estilo referência) */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Telefone no cabeçalho */
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.header-phone-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-charcoal);
    color: var(--primary-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-phone-icon svg {
    width: 16px;
    height: 16px;
}

.header-phone:hover {
    color: var(--color-terracotta);
}

/* Navegação */
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-gold);
}

/* Botão Tema */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--pure-black);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--pure-black);
    transform: rotate(180deg);
}

.theme-toggle:hover svg {
    color: var(--primary-cream);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    transition: var(--transition);
}

.sun-icon { 
    display: block; 
}

.moon-icon { 
    display: none; 
}

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

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

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ==========================================
   WATERMARK DE MAPA-MÚNDI (reutilizável)
   ========================================== */
.world-map-watermark {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.world-map-watermark img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    max-width: 1400px;
    height: auto;
    opacity: 0.12;
    color: var(--color-brown-dark);
}

body.dark-theme .world-map-watermark img {
    opacity: 0.06;
}

/* ==========================================
   HERO SECTION - LAYOUT EM DUAS COLUNAS
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 4rem;
    background: transparent;
}

/* Background Animado */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-cream), var(--light-cream));
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: 10%;
    animation-delay: 7s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Conteúdo Hero - Grid 2 colunas */
.hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

.hero-photo {
    position: relative;
    animation: fadeInUp 1.2s ease-out;
}

.hero-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 25px 60px var(--accent-shadow);
    background: var(--secondary-cream);
}

/* Logo única no lugar do grid de fotos na Hero */
.hero-logo-display {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
    background: transparent;
    box-shadow: none;
}

.hero-logo-display img {
    width: 60%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

@media (max-width: 968px) {
    .hero-logo-display {
        height: 300px;
    }
}

/* Grid 2x2 de fotos na Hero */
.hero-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 420px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 60px var(--accent-shadow);
}

.hero-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.title-line {
    display: block;
    font-weight: 400;
    font-size: 0.75em;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.title-highlight {
    display: block;
    color: var(--color-charcoal);
    font-weight: 800;
}

body.dark-theme .title-highlight {
    color: var(--color-terracotta);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 0 2.5rem;
    line-height: 1.8;
}

/* Botões Hero */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Faixa decorativa de cores (estilo referência) */
.hero-swatches {
    display: flex;
    gap: 0.6rem;
}

.hero-swatches span {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 12px var(--accent-shadow);
}

.hero-swatches span:nth-child(1) { background: var(--color-charcoal); }
.hero-swatches span:nth-child(2) { background: var(--primary-cream); border: 1px solid var(--accent-shadow); }
.hero-swatches span:nth-child(3) { background: var(--color-terracotta); }
.hero-swatches span:nth-child(4) { background: var(--color-brown-dark); }

@media (max-width: 968px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-buttons,
    .hero-swatches {
        justify-content: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-photo img {
        height: 300px;
    }
    .hero-photo-grid {
        height: 300px;
    }
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--pure-black);
    color: var(--primary-cream);
    border: 2px solid var(--pure-black);
}

.btn-primary:hover {
    background: transparent;
    color: var(--pure-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-shadow);
}

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

.btn-secondary:hover {
    background: var(--pure-black);
    color: var(--primary-cream);
    transform: translateY(-3px);
}

/* Scroll Indicator - Separado da Hero */
.scroll-indicator-wrapper {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
}

.scroll-indicator {
    text-align: center;
    animation: fadeIn 2s ease-out;
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--pure-black);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 0.5rem;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--pure-black);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 30px; }
}

.scroll-indicator p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* ==========================================
   SEÇÃO PILARES - "QUEM NÓS SOMOS?" (estilo referência)
   ========================================== */
.pilares-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
    background: transparent;
}

.pilares-section .world-map-watermark img {
    color: var(--color-brown-dark);
    opacity: 0.15;
}

.pilares-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1300px;
    margin: 0 auto 3rem;
}

.pilares-header img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.pilares-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-charcoal);
}

.pilares-grid {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
}

.pilar-item {
    text-align: center;
}

.pilar-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.2rem;
    box-shadow: 0 15px 35px var(--accent-shadow);
    transition: var(--transition);
    background: var(--secondary-cream);
}

.pilar-item:hover .pilar-photo {
    transform: translateY(-8px) scale(1.03);
}

.pilar-caption-top {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.pilar-caption-bottom {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-navy);
}

@media (max-width: 600px) {
    .pilares-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   SEÇÃO DE TEXTO (páginas internas)
   ========================================== */
.page-text-section {
    padding: 0.5rem 2rem 6rem;
    background: transparent;
}

.page-text-section .page-text-content {
    max-width: 850px;
    margin: 0 auto;
}

.page-text-section p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: left;
}

/* ==========================================
   BANNER DE PÁGINA (páginas internas)
   ========================================== */
.page-banner {
    position: relative;
    overflow: hidden;
    padding: 160px 2rem 1.5rem;
    background: transparent;
    text-align: center;
}

/* Mapa-múndi como fundo fixo da página inteira (páginas internas) */
.page-watermark-fixed {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.page-watermark-fixed img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%;
    min-width: 1400px;
    height: auto;
    opacity: 0.12;
    color: var(--color-brown-dark);
}

body.dark-theme .page-watermark-fixed img {
    opacity: 0.06;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-banner-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--color-charcoal);
    margin: 0.8rem 0;
}

.page-banner-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.nav-link.active {
    color: var(--color-terracotta);
    border-bottom: 2px solid var(--color-terracotta);
}

/* ==========================================
   SEÇÃO MISSÕES - GRID DINÂMICO
   ========================================== */
.missions-section {
    padding: 6rem 0;
    background: transparent;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.centered {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.missions-section .section-header .section-tag {
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

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

/* Grid de Missões - Masonry Layout */
.missions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.mission-card {
    border-radius: 16px;
    overflow: hidden;
    cursor: default;
    background: var(--secondary-cream);
    box-shadow: 0 10px 25px var(--accent-shadow);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px var(--accent-shadow);
}

.mission-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

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

.mission-caption {
    text-align: center;
    padding: 1.2rem 1rem;
}

.mission-caption h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
}

@media (max-width: 768px) {
    .missions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .missions-grid {
        grid-template-columns: 1fr;
    }
}

/* Versículos Modernos */
.verses-section {
    margin-top: 4rem;
}

.verses-title {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 3rem;
}

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

.verse-card {
    background: var(--primary-cream);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.verse-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 40px var(--accent-shadow);
}

.verse-quote {
    font-family: var(--font-display);
    font-size: 5rem;
    position: absolute;
    top: -10px;
    left: 20px;
    color: var(--accent-gold);
    opacity: 0.3;
    line-height: 1;
}

.verse-text {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.verse-reference {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* ==========================================
   SEÇÃO IDENTIDADE - MASONRY
   ========================================== */
.identity-section {
    padding: 6rem 0;
    background: transparent;
}

.identity-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.identity-item {
    animation: fadeInUp 0.8s ease-out backwards;
    animation-delay: var(--delay);
}

.identity-item.featured {
    grid-row: span 1;
}

.identity-inner {
    background: var(--secondary-cream);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.identity-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--accent-shadow);
}

.identity-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: var(--transition);
}

.identity-inner:hover .identity-icon {
    transform: scale(1.1) rotate(5deg);
}

.identity-item h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.identity-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.identity-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.identity-inner:hover .identity-line {
    width: 100%;
}

/* ==========================================
   ANIMAÇÕES
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   CONTAINERS
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */
@media (max-width: 968px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-cream);
        width: 100%;
        padding: 2rem 0;
        box-shadow: 0 10px 30px var(--accent-shadow);
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .logo-text {
        display: none;
    }

    .header-phone span:last-child {
        display: none;
    }

    .brand-tagline {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .missions-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    
    .mission-card.large,
    .mission-card.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .identity-masonry {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 1rem;
    }
    
    .header-logo {
        height: 40px;
    }
    
    .hero-section {
        padding-top: 60px;
    }
    
    .circle-1,
    .circle-2,
    .circle-3 {
        display: none;
    }
}

/* ==========================================
   SEÇÃO QUEM SOMOS
   ========================================== */
.about-section {
    padding: 6rem 0;
    background: transparent;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
    margin: 1rem auto 3rem;
}

.about-content {
    display: block;
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.values-list {
    list-style: none;
    margin-top: 1rem;
}

.values-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    background: var(--primary-cream);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--accent-shadow);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   SEÇÃO CONTATO
   ========================================== */
.contact-section {
    padding: 6rem 0;
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.info-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-item a {
    color: var(--accent-gold);
    font-weight: 600;
}

.info-item a:hover {
    text-decoration: underline;
}

.social-links {
    margin: 2rem 0;
}

.social-links h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.social-icons a {
    width: 45px;
    height: 45px;
    border: 2px solid var(--pure-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--pure-black);
    transform: translateY(-3px);
}

.social-icons svg {
    width: 22px;
    height: 22px;
    fill: var(--text-primary);
    transition: var(--transition);
}

.social-icons a:hover svg {
    fill: var(--primary-cream);
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--accent-shadow);
}

/* Formulário */
.contact-form-container h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--accent-shadow);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--secondary-cream);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-shadow);
}

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

.submit-btn {
    padding: 1.2rem 3rem;
    background: var(--pure-black);
    color: var(--primary-cream);
    border: 2px solid var(--pure-black);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: transparent;
    color: var(--pure-black);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-shadow);
}

.form-success {
    display: none;
    background: #4CAF50;
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 1rem;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

/* ==========================================
   RODAPÉ
   ========================================== */
.footer {
    background: transparent;
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--accent-shadow);
}

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

.footer-logo img {
    width: 80px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-secondary);
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

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

.footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-shadow);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVIDADE ADICIONAL
   ========================================== */
@media (max-width: 968px) {
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-brand {
        font-size: 0.9rem;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .scroll-indicator-wrapper {
        display: none;
    }
}

/* ==========================================
   AJUSTES ESPECÍFICOS TEMA ESCURO
   ========================================== */
body.dark-theme .header-fixed {
    background: var(--primary-cream);
    border-bottom-color: rgba(232, 220, 196, 0.2);
}

body.dark-theme .theme-toggle {
    border-color: var(--pure-black);
}

body.dark-theme .theme-toggle:hover {
    background: var(--pure-black);
}

body.dark-theme .btn-primary {
    background: var(--pure-black);
    color: var(--primary-cream);
    border-color: var(--pure-black);
}

body.dark-theme .btn-primary:hover {
    background: transparent;
    color: var(--pure-black);
}

body.dark-theme .btn-secondary {
    background: transparent;
    color: var(--pure-black);
    border-color: var(--pure-black);
}

body.dark-theme .btn-secondary:hover {
    background: var(--pure-black);
    color: var(--primary-cream);
}

body.dark-theme .mission-card {
    border: 1px solid rgba(232, 220, 196, 0.1);
}

body.dark-theme .verse-card {
    background: var(--secondary-cream);
    border-color: rgba(232, 220, 196, 0.1);
}

body.dark-theme .identity-inner {
    background: var(--secondary-cream);
}

body.dark-theme .identity-icon {
    background: var(--primary-cream);
}

body.dark-theme .stat-item {
    background: var(--secondary-cream);
}

body.dark-theme .form-group input,
body.dark-theme .form-group select,
body.dark-theme .form-group textarea {
    background: var(--secondary-cream);
    border-color: rgba(232, 220, 196, 0.2);
    color: var(--text-primary);
}

body.dark-theme .submit-btn {
    background: var(--pure-black);
    color: var(--primary-cream);
    border-color: var(--pure-black);
}

body.dark-theme .submit-btn:hover {
    background: transparent;
    color: var(--pure-black);
}

body.dark-theme .social-icons a {
    border-color: var(--pure-black);
}

body.dark-theme .social-icons a:hover {
    background: var(--pure-black);
}

body.dark-theme .social-icons svg {
    fill: var(--text-primary);
}

body.dark-theme .social-icons a:hover svg {
    fill: var(--primary-cream);
}

body.dark-theme .mouse {
    border-color: var(--pure-black);
}

body.dark-theme .wheel {
    background: var(--pure-black);
}

/* Garantir que o nav link funcione no tema escuro */
body.dark-theme .nav-link::after {
    background: var(--accent-gold);
}

body.dark-theme .nav-link:hover {
    color: var(--accent-gold);
}

/* ==========================================
   BOTÃO "SAIBA MAIS" NOS CARDS
   ========================================== */
.read-more {
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.read-more:hover {
    background: var(--accent-gold);
    color: var(--primary-cream);
    transform: translateX(5px);
}

.identity-inner {
    cursor: pointer;
}

/* ==========================================
   MODAL / POP-UP
   ========================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

body.dark-theme .modal-overlay {
    background: rgba(232, 220, 196, 0.95);
}

.modal-content {
    position: relative;
    background: var(--primary-cream);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.modal.active .modal-content {
    transform: scale(1);
}

body.dark-theme .modal-content {
    background: var(--dark-bg);
    box-shadow: 0 20px 60px rgba(232, 220, 196, 0.3);
}

/* Scrollbar personalizada do modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--secondary-cream);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

/* Botão fechar */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--secondary-cream);
    color: var(--text-primary);
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.modal-close:hover {
    background: var(--accent-gold);
    color: var(--primary-cream);
    transform: rotate(90deg);
}

/* Ícone do modal */
.modal-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-body p {
    margin-bottom: 1.5rem;
}

.modal-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--accent-gold);
}

.modal-body ul {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.modal-body ul li {
    padding: 0.7rem 0;
    padding-left: 0.5rem;
    position: relative;
    line-height: 1.6;
}

.modal-body ul li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.modal-body em {
    display: block;
    font-style: italic;
    color: var(--accent-gold);
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--secondary-cream);
    border-radius: 10px;
    font-size: 1.05rem;
}

/* Prevenir scroll do body quando modal está aberto */
body.modal-open {
    overflow: hidden;
}

/* ==========================================
   RESPONSIVIDADE DOS MODAIS
   ========================================== */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        max-height: 90vh;
    }
    
    .modal-content h2 {
        font-size: 2rem;
    }
    
    .modal-icon {
        font-size: 3rem;
    }
    
    .read-more {
        width: 100%;
        text-align: center;
    }
}