/* ================= VARIÁVEIS & RESET ================= */
:root {
    /* Paleta Refinada */
    --primary: #6A4C93; /* Roxo Profundo e Nobre */
    --primary-light: #8E6AAF;
    --accent: #FF8C42; /* Laranja Acolhedor */
    --accent-hover: #E67A35;
    
    /* Superfícies */
    --bg-body: #FDFBFD; /* Quase branco, toque lilás imperceptível */
    --bg-surface: #FFFFFF;
    --bg-subtle: #F3F0F5;
    
    /* Texto */
    --text-main: #2D2335;
    --text-body: #595060;
    
    /* UI Elements */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 40px -10px rgba(106, 76, 147, 0.15);
    --shadow-hover: 0 20px 50px -10px rgba(106, 76, 147, 0.25);
    
    /* Fontes */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--text-main);
    line-height: 1.2;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
.text-center { text-align: center; }

/* ================= NAVBAR ================= */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

.brand {
    font-size: 1.2rem; color: var(--text-main);
    display: flex; align-items: center; gap: 8px;
}
.heart-icon { color: var(--primary); font-size: 1.4rem; animation: heartbeat 1.5s infinite; }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.link-nav { text-decoration: none; color: var(--text-body); font-weight: 500; font-size: 0.95rem; }
.link-nav:hover { color: var(--primary); }

.btn-donate-nav {
    background: var(--primary); color: #fff; text-decoration: none;
    padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-donate-nav:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(120deg, #fdfbfd 0%, #f4eff9 100%);
    overflow: hidden;
}

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(106, 76, 147, 0.1); color: var(--primary);
    padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 24px;
}

.hero-text h1 { font-size: 3.5rem; margin-bottom: 20px; }
.lead { font-size: 1.2rem; margin-bottom: 40px; max-width: 90%; }

.hero-btns { display: flex; gap: 16px; align-items: center; }

.btn-primary {
    background: var(--accent); color: #fff; text-decoration: none;
    padding: 16px 32px; border-radius: var(--radius-sm); font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s ease; box-shadow: 0 8px 20px rgba(255, 140, 66, 0.3);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); }

.btn-secondary {
    text-decoration: none; color: var(--text-main); font-weight: 600;
    padding: 16px 24px; transition: color 0.3s;
}
.btn-secondary:hover { color: var(--primary); }

/* Video Card */
.video-card { position: relative; padding: 10px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.video-placeholder {
    aspect-ratio: 16/9; background: #2D2335; border-radius: var(--radius-md);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; position: relative; overflow: hidden; cursor: pointer;
}
.video-placeholder::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: url('https://images.unsplash.com/photo-1544027993-37dbfe43562a?auto=format&fit=crop&w=800&q=80') center/cover;
    opacity: 0.4; /* Imagem de fundo genérica até ter o vídeo */
}
.play-circle {
    font-size: 4rem; color: #fff; z-index: 2; transition: transform 0.3s;
    background: rgba(255,255,255,0.2); border-radius: 50%; width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px);
}
.video-placeholder:hover .play-circle { transform: scale(1.1); background: var(--accent); }
.video-caption { position: relative; z-index: 2; margin-top: 15px; font-weight: 500; opacity: 0.9; }

/* ================= HISTÓRIA ================= */
.section-story { padding: 100px 0; background: var(--bg-surface); }
.story-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }

.frame-image { position: relative; }
.img-placeholder {
    width: 100%; height: 500px; background: #E0E0E0; border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center; color: #888;
    background-image: url('https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=800&q=80'); /* Placeholder familiar */
    background-size: cover; background-position: center;
}
.floating-caption {
    position: absolute; bottom: 30px; right: -20px;
    background: #fff; padding: 12px 24px; border-radius: 50px;
    box-shadow: var(--shadow-soft); font-weight: 600; color: var(--primary);
    display: flex; align-items: center; gap: 8px;
}

.section-label {
    text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; 
    color: var(--accent); font-weight: 700; display: block; margin-bottom: 10px;
}
.story-content-col h2 { font-size: 2.5rem; margin-bottom: 24px; }

.quote-box {
    border-left: 4px solid var(--accent); padding: 20px 30px;
    background: var(--bg-subtle); border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 30px 0; font-family: var(--font-serif); font-size: 1.2rem; color: var(--text-main);
    font-style: italic;
}

/* ================= COMO AJUDAR ================= */
.section-donate { padding: 100px 0; background: var(--bg-body); }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { margin-bottom: 50px; font-size: 1.1rem; }

.donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card-action {
    background: var(--bg-surface); 
    padding: 40px; 
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft); 
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center; 
    transition: all 0.3s ease; 
    position: relative; 
    top: 0;
    
    /* NOVO: Transforma o card em uma coluna flexível */
    display: flex;
    flex-direction: column;
    height: 100%; /* Força o card a ocupar toda a altura da linha */
}
/* Isso empurra o botão (ou os ícones sociais) para o final do card */
.card-action .btn-action,
.card-action .social-row {
    margin-top: auto;
}

/* (Mantenha o restante das estilizações de hover, icon, etc...) */
.card-action:hover { top: -10px; box-shadow: var(--shadow-hover); }
.card-action.featured { border: 2px solid var(--primary); background: linear-gradient(to bottom, #fff, #faf8fc); }
.card-icon {
    width: 60px; height: 60px; margin: 0 auto 20px;
    background: var(--bg-subtle); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.card-action h3 { font-size: 1.5rem; margin-bottom: 10px; }

.btn-action {
    display: block; width: 100%; padding: 12px; margin-top: 20px;
    background: var(--primary); color: #fff; text-decoration: none;
    border-radius: var(--radius-sm); font-weight: 600; transition: 0.3s;
}
.btn-action:hover { background: var(--primary-light); }
.btn-action.outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-action.outline:hover { background: var(--primary); color: #fff; }

.social-row { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }
.social-btn {
    width: 45px; height: 45px; border-radius: 50%; background: #f0f0f0;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    color: var(--text-main); text-decoration: none; transition: 0.3s;
}
.social-btn.whatsapp:hover { background: #25D366; color: #fff; }
.social-btn.instagram:hover { background: #C13584; color: #fff; }

/* ================= INFORMAÇÃO & CUSTOS ================= */
.section-info { padding: 80px 0; background: #fff; }
.info-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.stat-item { margin-bottom: 30px; }
.stat-item h3 { font-size: 3rem; color: var(--primary); margin-bottom: 5px; }

.section-costs { padding: 80px 0; background: #F8F9FA; }
.cost-card {
    background: #fff; max-width: 700px; margin: 0 auto; padding: 50px;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
    border-top: 5px solid var(--accent);
}
.cost-list { margin: 30px 0; }
.cost-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.check-icon { color: var(--accent); font-size: 1.2rem; }
.transparency-note { font-size: 0.9rem; color: var(--text-gray); display: flex; align-items: center; gap: 8px; justify-content: center; background: #fff8e1; padding: 10px; border-radius: 8px; }

/* ================= FAQ ================= */
.section-faq { padding: 100px 0; }
.accordion { max-width: 800px; margin: 30px auto 0; }
details {
    background: #fff; border: 1px solid #eee; border-radius: var(--radius-sm);
    margin-bottom: 15px; overflow: hidden; transition: 0.3s;
}
details[open] { border-color: var(--primary); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
summary {
    padding: 20px; font-weight: 600; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.content { padding: 0 20px 20px; color: var(--text-body); }

/* ================= TIMELINE (BLOG) ================= */
.section-updates { padding: 100px 0; background: var(--bg-subtle); }
.timeline { max-width: 700px; margin: 40px auto 0; position: relative; padding-left: 30px; border-left: 2px solid #ddd; }
.timeline-item { position: relative; margin-bottom: 40px; }
.date-marker {
    position: absolute; left: -39px; top: 0; background: var(--primary); color: #fff;
    font-size: 0.75rem; font-weight: 700; padding: 4px 8px; border-radius: 4px;
}
.timeline-content { background: #fff; padding: 30px; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.timeline-content h3 { font-size: 1.3rem; margin-bottom: 15px; }

/* ================= FOOTER ================= */
.section-contact { padding: 80px 0; text-align: center; background: #fff; }
.contact-icons { display: flex; justify-content: center; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.contact-icons a {
    text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 1.1rem;
    display: flex; align-items: center; gap: 10px; padding: 12px 24px;
    background: var(--bg-subtle); border-radius: 50px; transition: 0.3s;
}
.contact-icons a:hover { background: var(--primary); color: #fff; }

footer { background: #1A1A1A; color: #fff; padding: 40px 0; text-align: center; }
.axon-wrapper { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.axon-wrapper p { font-size: 0.85rem; opacity: 0.6; margin: 0; }
.axon-brand { text-decoration: none; color: #fff; font-weight: 800; letter-spacing: 1px; font-size: 1.1rem; }
.axon-brand span { font-weight: 300; opacity: 0.8; }

/* Animation */
@keyframes heartbeat { 0% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(255, 140, 66, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0); } }

/* Mobile */
@media (max-width: 768px) {
    .hero-grid, .story-wrapper, .info-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-media { order: -1; margin-bottom: 30px; }
    .story-image-col { order: -1; }
    .floating-caption { right: 0; bottom: -15px; width: 90%; justify-content: center; }
}
/* ================= CARROSSEL DE FOTOS ================= */

/* Ajuste no container principal para segurar os slides */
.frame-image {
    position: relative;
    width: 100%;
    height: 500px; /* Altura fixa para manter o layout */
    border-radius: var(--radius-lg);
    overflow: hidden; /* Garante que as imagens não vazem das bordas arredondadas */
    box-shadow: var(--shadow-soft);
}

/* O Wrapper que segura as imagens */
.carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Estilo de cada Slide individual */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Começa invisível */
    transition: opacity 1.5s ease-in-out; /* Transição suave de 1.5s */
    z-index: 1;
}

/* O Slide que tem a classe 'active' fica visível */
.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Garante que a legenda fique ACIMA das fotos */
.floating-caption {
    z-index: 10; 
    /* Mantém as propriedades anteriores */
    position: absolute; bottom: 30px; right: 20px; /* Ajustei levemente a posição */
    background: #fff; padding: 12px 24px; border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    font-weight: 600; color: var(--primary);
    display: flex; align-items: center; gap: 8px;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .frame-image {
        height: 350px; /* Altura menor no celular */
    }
    .floating-caption {
        right: 50%;
        transform: translateX(50%);
        bottom: 20px;
        width: max-content;
    }
}
/* ================= VÍDEO HERO (VERTICAL HD) ================= */

.video-card {
    position: relative;
    background: #000;
    border-radius: var(--radius-lg);
    /* Sombra mais forte para destacar do fundo */
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); 
    overflow: hidden;
    cursor: pointer;
    
    /* TAMANHO IDEAL PARA VÍDEO VERTICAL */
    width: 100%;
    max-width: 360px; /* Levemente maior que 320px para telas HD */
    aspect-ratio: 9/16; 
    margin: 0 auto;
    border: 4px solid #fff; 
    
    /* Fix de renderização para nitidez */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0); 
}

.hero-video {
    width: 100%;
    height: 100%;
    /* 'cover' preenche tudo (pode dar zoom). 
       Se cortar muito, mude para 'contain' */
    object-fit: cover; 
    display: block;
    pointer-events: auto;
}

/* A CAPA (OVERLAY) - Mantemos igual */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2); /* Mais transparente para ver a qualidade do vídeo por trás */
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s;
    cursor: pointer;
    backdrop-filter: blur(2px); /* Efeito de vidro leve na capa */
}

/* (Mantenha o restante do CSS: play-circle, video-caption, etc, igual estava) */

/* --- Mantenha o restante do CSS (play-circle, video-caption, etc) igual --- */

.play-circle {
    font-size: 3rem;
    color: var(--primary);
    background: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    pointer-events: none; /* Deixa o clique passar para o overlay pai */
}

.video-overlay:hover .play-circle {
    transform: scale(1.1);
}

.video-caption {
    margin-top: 15px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    pointer-events: none;
}

/* --- QUANDO ESTIVER TOCANDO --- */
/* O JS vai adicionar a classe 'playing' no cartão */
.video-card.playing .video-overlay {
    opacity: 0;
    pointer-events: none; /* O pulo do gato: o overlay "some" pro mouse */
}

/* Cores dos novos botões sociais */
.social-btn.tiktok:hover { 
    background: #000000; 
    color: #fff; 
}

.social-btn.facebook:hover { 
    background: #1877F2; 
    color: #fff; 
}