/* RESET E CONFIGURAÇÕES GERAIS */
:root {
    --azul-escuro: #003366;
    --azul-claro: #0055A4;
    --verde-sucesso: #28a745;
    --verde-hover: #218838;
    --cinza-fundo: #f4f7f6;
    --texto-escuro: #333333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Montserrat', sans-serif; }
body { background-color: var(--cinza-fundo); color: var(--texto-escuro); line-height: 1.6; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* CABEÇALHO E LOGO (Correção do tamanho) */
.main-header { background: #ffffff; box-shadow: 0 2px 15px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }

/* A TRAVA DA LOGO: Impede que a logo fique gigante */
.site-logo { max-width: 220px; max-height: 80px; object-fit: contain; display: block; }

.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--azul-escuro); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--azul-claro); }
.btn-doar-nav { background: var(--verde-sucesso); color: white !important; padding: 10px 24px; border-radius: 6px; }
.btn-doar-nav:hover { background: var(--verde-hover); }

/* CARROSSEL (Banners) */
.hero-carousel { position: relative; height: 550px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--azul-escuro); }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1; }
.slide.active { opacity: 1; }
.overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,51,102,0.8), rgba(0,51,102,0.6)); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; color: white; max-width: 800px; padding: 0 20px; }
.hero-content h1 { font-size: 3.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 35px; opacity: 0.9; }
.btn-cta-large { display: inline-block; background: var(--verde-sucesso); color: white; text-decoration: none; padding: 16px 40px; font-size: 1.1rem; font-weight: 700; border-radius: 8px; box-shadow: 0 4px 15px rgba(40,167,69,0.4); transition: transform 0.2s, background 0.2s; }
.btn-cta-large:hover { background: var(--verde-hover); transform: translateY(-3px); }

/* SOBRE NÓS */
.section-sobre { padding: 90px 0; background: #ffffff; }
.grid-sobre { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sobre-texto h2 { font-size: 2.2rem; color: var(--azul-escuro); margin-bottom: 10px; }
.linha-decorativa { width: 60px; height: 4px; background: var(--verde-sucesso); margin-bottom: 25px; border-radius: 2px; }
.sobre-texto p { font-size: 1.1rem; color: #555; margin-bottom: 25px; }
.lista-beneficios { list-style: none; }
.lista-beneficios li { margin-bottom: 15px; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; color: #444; }
.lista-beneficios i { color: var(--verde-sucesso); font-size: 1.2rem; }
.sobre-destaque { display: flex; gap: 20px; }
.card-numero { background: var(--cinza-fundo); padding: 40px 20px; border-radius: 12px; text-align: center; flex: 1; border-bottom: 4px solid var(--azul-claro); }
.card-numero i { font-size: 2.5rem; color: var(--azul-claro); margin-bottom: 15px; }
.card-numero h3 { font-size: 2.5rem; color: var(--azul-escuro); margin-bottom: 5px; }

/* ÁREA DE PAGAMENTO (Estilo Checkout Avançado) */
.section-doacao { padding: 80px 0; }
.header-doacao { text-align: center; margin-bottom: 40px; }
.header-doacao h2 { font-size: 2.4rem; color: var(--azul-escuro); }
.header-doacao p { color: #666; font-size: 1.1rem; margin-top: 10px; }
.box-pagamento { background: #ffffff; max-width: 600px; margin: 0 auto; padding: 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-top: 5px solid var(--azul-escuro); }

.campo-grupo { margin-bottom: 20px; text-align: left; }
.campo-grupo label { display: block; font-weight: 600; margin-bottom: 8px; color: #444; font-size: 0.95rem; }
.box-pagamento input, .box-pagamento select { width: 100%; padding: 14px 15px; border: 1px solid #ccd1d9; border-radius: 8px; font-size: 1rem; font-family: 'Montserrat', sans-serif; background: #fdfdfd; transition: border 0.3s; }
.box-pagamento input:focus, .box-pagamento select:focus { outline: none; border-color: var(--azul-claro); box-shadow: 0 0 0 3px rgba(0,85,164,0.1); }
.grid-2-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.divisor-form { text-align: center; border-bottom: 1px solid #eee; line-height: 0.1em; margin: 30px 0 25px; }
.divisor-form span { background: #fff; padding: 0 15px; color: var(--azul-escuro); font-weight: 700; font-size: 1.1rem; }

.btn-finalizar { width: 100%; background: var(--verde-sucesso); color: white; border: none; padding: 18px; font-size: 1.2rem; font-weight: 700; border-radius: 8px; cursor: pointer; transition: background 0.3s; margin-top: 10px; font-family: 'Montserrat', sans-serif; }
.btn-finalizar:hover { background: var(--verde-hover); }
.selo-seguranca { text-align: center; margin-top: 20px; color: #777; font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.selo-seguranca i { color: #f39c12; }

/* FOOTER */
.main-footer { background: var(--azul-escuro); color: white; text-align: center; padding: 50px 20px; }
.logo-footer { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; }
.logo-footer span { color: var(--verde-sucesso); }

/* RESPONSIVO MOBILE */
@media (max-width: 768px) {
    .grid-sobre { grid-template-columns: 1fr; gap: 40px; }
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-carousel { height: 450px; }
    .sobre-destaque { flex-direction: column; }
    .site-logo { max-width: 160px; }
}