/* ============================================
   FUNDO ASSISTENCIAL CRIANÇAS DE JESUS
   Estilos Completos do Site
   ============================================ */

/* ============================================
   VARIÁVEIS CSS
   ============================================ */
:root {
    /* Cores Principais */
    --azul-escuro: #1E3A5F;
    --azul-principal: #2C5282;
    --azul-claro: #4A90D9;
    --azul-hover: #3182CE;
    
    /* Cores de Destaque */
    --laranja: #E8A838;
    --laranja-hover: #D69E2E;
    --laranja-claro: #F6AD55;
    
    /* Cores de Apoio */
    --verde: #48BB78;
    --vermelho: #E53E3E;
    
    /* Neutros */
    --branco: #FFFFFF;
    --cinza-claro: #F7FAFC;
    --cinza-medio: #E2E8F0;
    --cinza-escuro: #4A5568;
    --preto: #1A202C;
    
    /* Gradientes */
    --gradiente-azul: linear-gradient(135deg, #1E3A5F 0%, #2C5282 100%);
    --gradiente-laranja: linear-gradient(135deg, #E8A838 0%, #F6AD55 100%);
    
    /* Sombras */
    --sombra-leve: 0 4px 6px rgba(0, 0, 0, 0.1);
    --sombra-media: 0 10px 40px rgba(0, 0, 0, 0.1);
    --sombra-forte: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Transições */
    --transicao: all 0.3s ease;
    
    /* Fontes */
    --fonte-titulo: 'Montserrat', sans-serif;
    --fonte-corpo: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-corpo);
    font-size: 16px;
    line-height: 1.6;
    color: var(--cinza-escuro);
    background-color: var(--branco);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-titulo);
    font-weight: 700;
    line-height: 1.2;
    color: var(--azul-escuro);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.align-center {
    align-items: center;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--fonte-titulo);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transicao);
}

.btn-primary {
    background: var(--gradiente-laranja);
    color: var(--branco);
    box-shadow: 0 4px 15px rgba(232, 168, 56, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 168, 56, 0.4);
}

.btn-secondary {
    background: var(--azul-principal);
    color: var(--branco);
}

.btn-secondary:hover {
    background: var(--azul-hover);
}

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

.btn-outline:hover {
    background: var(--branco);
    color: var(--azul-escuro);
}

.btn-white {
    background: var(--branco);
    color: var(--laranja);
}

.btn-white:hover {
    background: var(--cinza-claro);
    transform: translateY(-2px);
}

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

.btn-header {
    padding: 10px 24px;
    font-size: 14px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--branco);
    box-shadow: var(--sombra-leve);
    transition: var(--transicao);
}

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

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--fonte-titulo);
    font-size: 15px;
    font-weight: 500;
    color: var(--azul-escuro);
    padding: 8px 0;
    position: relative;
}

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

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

.nav-link:hover {
    color: var(--azul-claro);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--azul-escuro);
    border-radius: 3px;
    transition: var(--transicao);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        background: var(--branco);
        padding: 40px 20px;
        transition: var(--transicao);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .btn-header {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    text-align: center;
    padding: 120px 20px 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 58, 95, 0.7), rgba(30, 58, 95, 0.85));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    color: var(--laranja);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    color: var(--branco);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--branco);
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--cinza-claro);
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--cinza-escuro);
    max-width: 600px;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.text-center .section-subtitle {
    margin: 0 auto;
}

/* Section Leucemia */
.section-leucemia {
    background: var(--branco);
}

.section-image img {
    border-radius: 16px;
    box-shadow: var(--sombra-media);
}

.section-content {
    padding: 20px 0;
}

@media (max-width: 768px) {
    .section-image {
        margin-top: 30px;
    }
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--branco);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--sombra-media);
    transition: var(--transicao);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-forte);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradiente-laranja);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.card-icon i {
    font-size: 32px;
    color: var(--branco);
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.card-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--cinza-escuro);
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.section-cta {
    position: relative;
    background: url('../img/cta-bg.jpg') center/cover no-repeat fixed;
    padding: 100px 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradiente-azul);
    opacity: 0.9;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: var(--branco);
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* CTA Orange */
.section-cta-orange {
    background: var(--gradiente-laranja);
    padding: 80px 0;
}

.section-cta-orange .cta-title,
.section-cta-orange .cta-text {
    color: var(--branco);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 28px;
    }
}

/* ============================================
   BLOG SECTION
   ============================================ */
.section-blog {
    background: var(--branco);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: var(--branco);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sombra-media);
    transition: var(--transicao);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-forte);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao);
}

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

.blog-card-content {
    padding: 25px;
}

.blog-card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.blog-card-text {
    font-size: 14px;
    color: var(--cinza-escuro);
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--azul-claro);
    font-weight: 600;
    font-size: 14px;
}

.blog-card-link:hover {
    color: var(--azul-hover);
    gap: 12px;
}

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

/* ============================================
   NEWSLETTER
   ============================================ */
.section-newsletter {
    background: var(--cinza-claro);
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 28px;
    color: var(--azul-escuro);
    margin-bottom: 10px;
}

.newsletter-text {
    color: var(--cinza-escuro);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: 2px solid var(--cinza-medio);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--fonte-corpo);
    transition: var(--transicao);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--azul-claro);
}

.newsletter-success {
    color: var(--verde);
    font-weight: 600;
    margin-top: 15px;
}

.newsletter-success i {
    margin-right: 5px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--azul-escuro);
    color: var(--branco);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.footer-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--laranja);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--branco);
    padding-left: 5px;
}

.footer-address {
    font-style: normal;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-contact li {
    margin-bottom: 10px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

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

.footer-contact i {
    font-size: 18px;
    color: var(--laranja);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    font-size: 16px;
    transition: var(--transicao);
}

.social-icon:hover {
    background: var(--laranja);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

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

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* ============================================
   PÁGINA QUEM SOMOS
   ============================================ */
.page-header {
    background: var(--gradiente-azul);
    padding: 150px 0 80px;
    text-align: center;
}

.page-title {
    color: var(--branco);
    font-size: 48px;
    margin-bottom: 15px;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--branco);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--sombra-media);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--laranja);
    font-family: var(--fonte-titulo);
}

.stat-label {
    font-size: 16px;
    color: var(--cinza-escuro);
    margin-top: 5px;
}

/* Mission/Vision/Values */
.mission-card {
    background: var(--branco);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--sombra-leve);
}

.mission-card h3 {
    color: var(--azul-escuro);
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mission-card h3 i {
    color: var(--laranja);
}

/* ============================================
   PÁGINA CONTATO
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--branco);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--sombra-media);
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--azul-escuro);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--cinza-medio);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--fonte-corpo);
    transition: var(--transicao);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--azul-claro);
}

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

.contact-info {
    padding: 20px 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradiente-laranja);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: var(--branco);
    font-size: 20px;
}

.contact-info-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info-text p,
.contact-info-text a {
    color: var(--cinza-escuro);
    font-size: 15px;
}

.contact-info-text a:hover {
    color: var(--azul-claro);
}

/* Map */
.contact-map {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--sombra-media);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

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

/* ============================================
   ANIMAÇÕES AOS
   ============================================ */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ============================================
   SCROLLBAR CUSTOM
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cinza-claro);
}

::-webkit-scrollbar-thumb {
    background: var(--azul-principal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--azul-escuro);
}
