@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary-blue: #155a8a;
  --secondary-blue: #1e6fa8;
  --light-blue: #e6f3fb;
  --accent-color: #e87c2a;
  --teal: #4db6ac;
  --teal-dark: #37908a;
  --teal-light: #e0f4f2;
  --text-dark: #223344;
  --text-gray: #556878;
  --bg-color: #FFFFFF;
  --bg-alt: #f9fafc;
  --border-color: #e2e8f0;
  --shadow-sm: 0 4px 6px -1px rgba(21, 90, 138, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(21, 90, 138, 0.10);
  --shadow-lg: 0 20px 40px -5px rgba(30, 111, 168, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--primary-blue);
  line-height: 1.2;
}

h2 {
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-tag {
  display: inline-block;
  background: var(--light-blue);
  color: var(--secondary-blue);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.75rem 2.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  flex-shrink: 0;
  max-width: 220px;
}

.logo img {
  height: 52px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-links > li {
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--secondary-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

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

.social-icons-header a {
  color: var(--primary-blue);
  font-size: 1.2rem;
  background: white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  text-decoration: none;
}

.social-icons-header a:hover {
  background: var(--secondary-blue);
  color: white;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-donate {
  background: var(--primary-blue);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(10, 61, 115, 0.2);
}

.btn-donate:hover {
  background: var(--secondary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.3);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 80px; /* offset para o header fixo */
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 31, 46, 0.92) 0%, rgba(21, 90, 138, 0.55) 100%);
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.slide-content h1 {
  font-family: 'Lora', serif;
  font-size: 4rem;
  color: white;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.slide-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--secondary-blue);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-blue);
}

/* Slider Controls */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}

.slider-prev:hover, .slider-next:hover {
  background: var(--accent-color);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--accent-color);
  transform: scale(1.3);
}

/* Pilares (Missão) */
.pilares {
  padding: 6rem 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pilar-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.pilar-card:hover {
  border-color: var(--secondary-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.pilar-icon {
  width: 60px;
  height: 60px;
  background: var(--light-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-blue);
}

.pilar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.pilar-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Projetos */
.projetos {
  background: var(--primary-blue);
  padding: 6rem 5%;
  color: white;
}

.projetos .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.projetos h2 {
  color: white;
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.projeto-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  color: var(--text-dark);
  transition: all 0.3s;
}

.projeto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.projeto-img {
  height: 220px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.projeto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projeto-info {
  padding: 2rem;
}

.projeto-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.projeto-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-link {
  color: var(--secondary-blue);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link:hover {
  text-decoration: underline;
}

/* Eventos */
.eventos {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

.eventos-container {
  max-width: 1280px;
  margin: 0 auto;
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.evento-row {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  gap: 2rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  align-items: center;
}

.evento-row:hover {
  border-color: var(--secondary-blue);
  box-shadow: var(--shadow-md);
}

.evento-date {
  text-align: center;
  background: var(--light-blue);
  padding: 1rem;
  border-radius: 16px;
  min-width: 100px;
}

.evento-date .day {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-blue);
  line-height: 1;
}

.evento-date .month {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-top: 0.5rem;
}

.evento-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.evento-details p {
  color: var(--text-gray);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Transparência */
.transparencia {
  padding: 6rem 5%;
  background: white;
}

.transparencia-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.transp-docs {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.doc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.doc-item:last-child {
  border-bottom: none;
}

.doc-info h4 {
  font-size: 1rem;
  color: var(--text-dark);
}

.doc-info span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.btn-download {
  background: white;
  color: var(--secondary-blue);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-download:hover {
  border-color: var(--secondary-blue);
  background: var(--light-blue);
}

/* Impacto Numbers */
.impacto {
  background: var(--primary-blue);
  padding: 4rem 5%;
  color: white;
}

.impacto-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.impacto-item h3 {
  font-family: 'Lora', serif;
  font-size: 3.5rem;
  color: white;
  margin-bottom: 0.5rem;
}

.impacto-item p {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 5rem 5% 2rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Avaliações */
.avaliacoes {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

.avaliacoes-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.google-rating {
  margin-top: 1.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 1.5rem 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.rating-number {
  font-size: 3.5rem;
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.google-rating .stars {
  color: #FFB400;
  font-size: 1.5rem;
  margin: 0.5rem 0;
  display: flex;
  gap: 2px;
}

.avaliacoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.avaliacao-card {
  background: white;
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.avaliacao-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
}

.card-stars {
  color: #FFB400;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.reviewer .avatar {
  width: 50px;
  height: 50px;
  background: var(--light-blue);
  color: var(--secondary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.reviewer .info h4 {
  font-size: 1rem;
  color: var(--primary-blue);
  margin-bottom: 0.2rem;
}

.reviewer .info span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Galeria de Fotos */
.galeria {
  padding: 6rem 5%;
  background: white;
  text-align: center;
}

.galeria-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.galeria-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1200px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.85rem; }
  .logo img { height: 48px; }
}

@media (max-width: 1024px) {
  .slide-content h1 { font-size: 3rem; }
  .projetos-grid, .pilares-grid { grid-template-columns: repeat(2, 1fr); }
  .transparencia-container { grid-template-columns: 1fr; }
  .avaliacoes-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .slide-content h1 { font-size: 2.2rem; }
  .slide-content p { font-size: 1rem; }
  .nav-links { display: none; }
  .projetos-grid, .pilares-grid, .eventos-grid { grid-template-columns: 1fr; }
  .impacto-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .slider-prev, .slider-next { display: none; }
  .avaliacoes-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr; }
}

/* Dropdown Menu */
.nav-links li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-blue);
  min-width: 220px;
  list-style: none;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: white !important;
  font-size: 0.9rem;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
}

/* Timeline / Portal Transparência */
.portal-header {
  padding: 150px 5% 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: white;
  text-align: center;
}

.portal-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.timeline-section {
  padding: 4rem 5%;
  background: var(--bg-alt);
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* Linha central */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.timeline-year {
  width: 100px;
  font-weight: 700;
  color: var(--text-gray);
  font-size: 1.1rem;
  padding-right: 20px;
  text-align: right;
  flex-shrink: 0;
  position: relative;
}

/* Bolinha da linha do tempo */
.timeline-year::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary-blue);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--secondary-blue);
  z-index: 2;
}

.timeline-content {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  margin-left: 30px;
  flex-grow: 1;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s;
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
}

.timeline-thumb {
  width: 90px;
  height: 120px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--secondary-blue);
  border: 1px solid var(--border-color);
  padding: 0.5rem;
}

.timeline-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-blue);
}

.timeline-info p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-year {
    text-align: left;
    width: 100%;
    margin-bottom: 1rem;
    padding-left: 40px;
  }
  .timeline-year::after {
    left: 14px;
    right: auto;
  }
  .timeline-content {
    margin-left: 20px;
    width: calc(100% - 20px);
  }
}

/* ─── DOAÇÃO ─────────────────────────────────────────── */
.doacao {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

.doe-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.doe-left h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.doe-left > p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.doe-beneficios {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.db {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.db-i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.db p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.doe-right {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.doe-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
  background: var(--light-blue);
  border-radius: 50px;
  padding: 0.3rem;
  flex-wrap: wrap;
}

.doe-tab {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  font-family: inherit;
  color: var(--text-gray);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.doe-tab.on {
  background: var(--secondary-blue);
  color: white;
  box-shadow: 0 3px 12px rgba(30, 111, 168, 0.3);
}

.doe-planos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
}

.dp {
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: white;
}

.dp:hover {
  border-color: var(--secondary-blue);
}

.dp.on {
  border-color: var(--secondary-blue);
  background: var(--light-blue);
}

.dp .dpv {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
}

.dp .dpl {
  color: var(--text-gray);
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.dp .dpi {
  font-size: 0.73rem;
  color: var(--teal-dark);
  margin-top: 0.35rem;
  font-weight: 600;
}

.doe-custom {
  margin-bottom: 1.3rem;
}

.doe-custom input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s;
}

.doe-custom input:focus {
  border-color: var(--secondary-blue);
}

.stripe-btn {
  background: var(--secondary-blue);
  color: white;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: inherit;
  width: 100%;
  justify-content: center;
  box-shadow: 0 5px 18px rgba(30, 111, 168, 0.3);
}

.stripe-btn:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

.pix-box {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 1.5rem;
}

.pix-box h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dark);
}

.pix-key-d {
  background: var(--light-blue);
  border: 1.5px dashed var(--secondary-blue);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: var(--primary-blue);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  word-break: break-all;
  text-align: center;
}

.btn-cp-pix {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  padding: 0.78rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-cp-pix:hover {
  background: var(--teal-dark);
}

.wpp-btn {
  background: #25d366;
  color: white;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: inherit;
  width: 100%;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 0.8rem;
  box-shadow: 0 5px 18px rgba(37, 211, 102, 0.3);
}

.wpp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.doe-note {
  color: var(--text-gray);
  font-size: 0.78rem;
  line-height: 1.6;
  margin-top: 0.8rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

/* ─── PARCEIROS ──────────────────────────────────────── */
.parceiros {
  padding: 6rem 5%;
  background: white;
  text-align: center;
}

.parceiros-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.parceiro-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  min-height: 130px;
  overflow: hidden;
}

.parceiro-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
}

.parceiro-item img {
  width: 100%;
  height: auto;
  max-width: 180px;
  max-height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ─── CONTATO ────────────────────────────────────────── */
.contato {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

.contato-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contato-info h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.contato-itens {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.ci {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ci-i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary-blue);
  flex-shrink: 0;
}

.ci h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
}

.ci a, .ci p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.55;
  text-decoration: none;
}

.ci a:hover {
  color: var(--secondary-blue);
}

.redes-sociais {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.rede-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  color: white;
}

.rede-btn.fb { background: #1877f2; }
.rede-btn.fb:hover { background: #1259c3; transform: translateY(-2px); }
.rede-btn.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.rede-btn.ig:hover { filter: brightness(1.1); transform: translateY(-2px); }
.rede-btn.wp { background: #25d366; }
.rede-btn.wp:hover { background: #1ebe5b; transform: translateY(-2px); }

.contato-form {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fld label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.fld input,
.fld textarea,
.fld select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-alt);
  outline: none;
  transition: border 0.2s;
}

.fld input:focus,
.fld textarea:focus,
.fld select:focus {
  border-color: var(--secondary-blue);
}

.fld textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-env {
  background: var(--secondary-blue);
  color: white;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(30, 111, 168, 0.28);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-env:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* ─── MODAL POST ─────────────────────────────────────── */
.post-modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 46, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.post-modal-ov.open {
  display: flex;
}

.post-modal-b {
  background: white;
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  position: relative;
  animation: modal-in 0.35s ease;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.post-modal-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.post-modal-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  flex-shrink: 0;
}

.post-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.post-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 31, 46, 0.6);
  backdrop-filter: blur(6px);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.post-modal-close:hover {
  background: #c0392b;
}

.post-modal-cat {
  display: inline-block;
  background: var(--light-blue);
  color: var(--secondary-blue);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.9rem;
}

.post-modal-tit {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.post-modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.post-modal-res {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.post-modal-cnt {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
}

.post-modal-cnt:empty {
  display: none;
}

.post-modal-wpp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.post-modal-wpp:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(37, 211, 102, 0.45);
}

/* ─── MODAL STRIPE ───────────────────────────────────── */
.modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 46, 0.72);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-ov.open {
  display: flex;
}

.modal-b {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  animation: modal-in 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-gray);
}

.str-h {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.str-sub {
  color: var(--text-gray);
  font-size: 0.87rem;
  margin-bottom: 1.5rem;
}

.str-val-box {
  background: var(--light-blue);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.str-val-box strong {
  font-family: 'Lora', serif;
  font-size: 2rem;
  color: var(--primary-blue);
}

.str-val-box span {
  color: var(--text-gray);
  font-size: 0.83rem;
  display: block;
  margin-top: 0.2rem;
}

.str-fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.str-fields input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s;
}

.str-fields input:focus {
  border-color: var(--secondary-blue);
}

.str-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.btn-pay {
  width: 100%;
  background: var(--secondary-blue);
  color: white;
  border: none;
  padding: 0.95rem;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-pay:hover {
  background: var(--primary-blue);
}

.btn-pay:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.str-seg {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 0.7rem;
}

.aviso-stripe {
  background: var(--light-blue);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  text-align: center;
}

.aviso-stripe p {
  font-size: 0.9rem;
  color: var(--primary-blue);
  line-height: 1.65;
}

.aviso-stripe a {
  color: var(--secondary-blue);
  font-weight: 700;
}

/* ─── TOAST ──────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-dark);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.err { background: #c0392b; }
.toast.suc { background: #27ae60; }

/* ─── PUBLICAÇÕES (livros, manual, informativo, boletim) ─ */
.publicacoes-section {
  padding: 6rem 5%;
  background: white;
  min-height: 60vh;
}

.publicacoes-container {
  max-width: 1280px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.publicacao-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.publicacao-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
}

.publicacao-img {
  height: 200px;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.publicacao-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publicacao-placeholder {
  font-size: 4rem;
  color: var(--secondary-blue);
}

.publicacao-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.publicacao-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.publicacao-data {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.publicacao-info > p:not(.publicacao-data) {
  color: var(--text-gray);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.2rem;
}

.publicacao-info .btn-download {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ─── Responsivo (extras) ────────────────────────────── */
@media (max-width: 1024px) {
  .doe-wrap,
  .contato-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .parceiros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .publicacoes-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .doe-planos {
    grid-template-columns: 1fr 1fr;
  }
  .doe-tabs {
    flex-direction: column;
  }
  .doe-tab {
    width: 100%;
  }
  .parceiros-grid {
    grid-template-columns: 1fr;
  }
  .publicacoes-container {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────
   DOAÇÃO — abas Mensal / Avulso / PIX / WhatsApp
   ───────────────────────────────────────────────────────── */
.doacao {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

.doe-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.doe-left h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.doe-left p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.doe-beneficios {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.db {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.db-i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.db p {
  color: var(--text-gray);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.doe-right {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.doe-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  background: var(--light-blue);
  border-radius: 50px;
  padding: 0.3rem;
  flex-wrap: wrap;
}

.doe-tab {
  flex: 1;
  min-width: 90px;
  padding: 0.55rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  font-family: inherit;
  color: var(--text-gray);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.doe-tab.on {
  background: var(--secondary-blue);
  color: white;
  box-shadow: 0 3px 12px rgba(30, 111, 168, 0.3);
}

.doe-planos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.dp {
  border: 2px solid var(--border-color);
  border-radius: 14px;
  padding: 1.1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: white;
}

.dp:hover {
  border-color: var(--secondary-blue);
}

.dp.on {
  border-color: var(--secondary-blue);
  background: var(--light-blue);
}

.dp .dpv {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.dp .dpl {
  color: var(--text-gray);
  font-size: 0.78rem;
  margin-top: 0.25rem;
}

.dp .dpi {
  font-size: 0.72rem;
  color: var(--teal-dark);
  margin-top: 0.3rem;
  font-weight: 700;
}

.doe-custom {
  margin-bottom: 1.2rem;
}

.doe-custom input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s;
}

.doe-custom input:focus {
  border-color: var(--secondary-blue);
}

.stripe-btn {
  background: var(--secondary-blue);
  color: white;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 5px 18px rgba(30, 111, 168, 0.3);
}

.stripe-btn:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

.pix-box {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
}

.pix-box h4 {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pix-key-d {
  background: var(--light-blue);
  border: 1.5px dashed var(--secondary-blue);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: var(--primary-blue);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  word-break: break-all;
  text-align: center;
}

.btn-cp-pix {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  padding: 0.78rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-cp-pix:hover {
  background: var(--teal-dark);
}

.wpp-btn {
  background: #25d366;
  color: white;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(37, 211, 102, 0.3);
}

.wpp-btn:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
}

.doe-note {
  color: var(--text-gray);
  font-size: 0.78rem;
  line-height: 1.6;
  margin-top: 0.8rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

/* ─────────────────────────────────────────────────────────
   PARCEIROS
   ───────────────────────────────────────────────────────── */
.parceiros {
  padding: 6rem 5%;
  background: white;
  text-align: center;
}

.parceiros-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.parceiro-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  min-height: 130px;
}

.parceiro-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
}

.parceiro-item img {
  max-width: 180px;
  max-height: 90px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ─────────────────────────────────────────────────────────
   CONTATO
   ───────────────────────────────────────────────────────── */
.contato {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

.contato-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contato-info h2 {
  font-family: 'Lora', serif;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.contato-itens {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.ci {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.ci-i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--light-blue);
  color: var(--secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ci h4 {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  color: var(--primary-blue);
}

.ci a, .ci p {
  color: var(--text-gray);
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.55;
}

.ci a:hover {
  color: var(--secondary-blue);
}

.redes-sociais {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.rede-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.rede-btn.fb { background: #1877f2; color: white; }
.rede-btn.fb:hover { background: #1259c3; transform: translateY(-2px); }
.rede-btn.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: white; }
.rede-btn.ig:hover { filter: brightness(1.1); transform: translateY(-2px); }
.rede-btn.wp { background: #25d366; color: white; }
.rede-btn.wp:hover { background: #1ebe5b; transform: translateY(-2px); }

.contato-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fld label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.fld input, .fld textarea, .fld select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--bg-alt);
  outline: none;
  transition: border 0.2s;
}

.fld input:focus, .fld textarea:focus, .fld select:focus {
  border-color: var(--secondary-blue);
}

.fld textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-env {
  background: var(--secondary-blue);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(30, 111, 168, 0.28);
}

.btn-env:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────────
   MODAL POST + MODAL STRIPE
   ───────────────────────────────────────────────────────── */
.post-modal-ov,
.modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 46, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.post-modal-ov.open,
.modal-ov.open {
  display: flex;
}

.post-modal-b {
  background: white;
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  position: relative;
  animation: modalIn 0.35s ease;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.post-modal-img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  display: block;
}

.post-modal-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  flex-shrink: 0;
}

.post-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.post-modal-close,
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 31, 46, 0.6);
  backdrop-filter: blur(6px);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.post-modal-close:hover,
.modal-close:hover {
  background: #c0392b;
}

.post-modal-cat {
  display: inline-block;
  background: var(--light-blue);
  color: var(--secondary-blue);
  padding: 0.22rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.9rem;
}

.post-modal-tit {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.post-modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-gray);
  font-size: 0.82rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.post-modal-res {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.post-modal-cnt {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
}

.post-modal-cnt:empty { display: none; }

.post-modal-wpp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.post-modal-wpp:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(37, 211, 102, 0.45);
}

.modal-b {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.str-h {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--primary-blue);
}

.str-sub {
  color: var(--text-gray);
  font-size: 0.87rem;
  margin-bottom: 1.5rem;
}

.str-val-box {
  background: var(--light-blue);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.str-val-box strong {
  font-family: 'Lora', serif;
  font-size: 2rem;
  color: var(--primary-blue);
  display: block;
}

.str-val-box span {
  color: var(--text-gray);
  font-size: 0.83rem;
  margin-top: 0.2rem;
}

.str-fields {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.str-fields input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.93rem;
  outline: none;
}

.str-fields input:focus {
  border-color: var(--secondary-blue);
}

.str-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.btn-pay {
  width: 100%;
  background: var(--secondary-blue);
  color: white;
  border: none;
  padding: 0.95rem;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-pay:hover { background: var(--primary-blue); }
.btn-pay:disabled { opacity: 0.6; cursor: not-allowed; }

.str-seg {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-gray);
  margin-top: 0.7rem;
}

.aviso-stripe {
  background: var(--light-blue);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  text-align: center;
}

.aviso-stripe p {
  font-size: 0.87rem;
  color: var(--primary-blue);
  line-height: 1.65;
}

.aviso-stripe a {
  color: var(--secondary-blue);
  font-weight: 700;
}

/* ─────────────────────────────────────────────────────────
   TOAST
   ───────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-dark);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  max-width: 90vw;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.err { background: #c0392b; }
.toast.suc { background: #27ae60; }

/* ─────────────────────────────────────────────────────────
   PUBLICAÇÕES (livros, manual, informativo, boletim)
   ───────────────────────────────────────────────────────── */
.publicacoes-section {
  padding: 6rem 5%;
  background: var(--bg-alt);
  min-height: 70vh;
}

.publicacoes-container-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.publicacoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.publicacao-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.publicacao-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
}

.publicacao-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-blue), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.publicacao-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publicacao-placeholder {
  font-size: 4rem;
  color: white;
}

.publicacao-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.publicacao-info h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.publicacao-data {
  color: var(--text-gray);
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.publicacao-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

@media (max-width: 1024px) {
  .doe-wrap, .contato-container { grid-template-columns: 1fr; }
  .parceiros-grid { grid-template-columns: repeat(3, 1fr); }
  .publicacoes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .parceiros-grid { grid-template-columns: repeat(2, 1fr); }
  .publicacoes-grid { grid-template-columns: 1fr; }
  .doe-planos { grid-template-columns: 1fr 1fr; }
  .doe-tabs { flex-direction: row; }
  .doe-tab { font-size: 0.78rem; padding: 0.5rem 0.6rem; }
  .post-modal-b { max-height: 95vh; }
  .post-modal-body { padding: 1.5rem; }
}
