/* Capa e seções no layout do WordPress (astra-child). */

.page-home {
  background: #f5f5f5;
}

.page-home .site-footer { margin-top: 0; }

.cnv-front-page {
  width: 100%;
  overflow-x: hidden;
}

.cnv-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  line-height: 0;
  background: #7e67b5;
}

.cnv-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.cnv-cta-auth {
  background: #7e67b5;
  padding: 3rem 0;
  text-align: center;
  color: #fff;
  width: 100%;
}

.cnv-cta-auth-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cnv-cta-auth h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 1rem;
  color: #fff;
}

.cnv-cta-auth p {
  font-size: 1.2rem;
  margin: 0 0 2rem;
  opacity: 0.9;
}

.cnv-auth-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cnv-btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cnv-btn-primary {
  background: #fff;
  color: #667eea;
  border: 2px solid #fff;
}

.cnv-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid #fff;
}

.cnv-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.cnv-btn-primary:hover { color: #667eea; }
.cnv-btn-secondary:hover { color: #fff; }

.cnv-section {
  padding: 5rem 0;
  width: 100%;
}

.cnv-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cnv-section-alt { background: #f8f9fa; }

.cnv-section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-align: center;
  margin: 0 0 1rem;
  color: #2c3e50;
  font-weight: 700;
}

.cnv-section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.cnv-carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 -2rem;
  padding: 0 2rem;
}

.cnv-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1.5rem;
  padding-right: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #667eea #e0e0e0;
}

.cnv-carousel::-webkit-scrollbar { height: 8px; }
.cnv-carousel::-webkit-scrollbar-track { background: #e0e0e0; border-radius: 10px; }
.cnv-carousel::-webkit-scrollbar-thumb { background: #667eea; border-radius: 10px; }

.cnv-carousel-card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.cnv-carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  color: inherit;
}

.cnv-carousel-card-image {
  height: 300px;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
}

.cnv-carousel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cnv-carousel-card-content {
  background: #7e67b5;
  padding: 1.5rem;
  text-align: center;
}

.cnv-carousel-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

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

.cnv-post-type-card,
.cnv-feature-card,
.cnv-support-card {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cnv-post-type-card {
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cnv-post-type-card:hover,
.cnv-feature-card:hover,
.cnv-support-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  color: inherit;
}

.cnv-post-type-icon,
.cnv-feature-icon {
  width: 80px;
  height: 80px;
  background: #7e67b5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
}

.cnv-feature-icon {
  width: 70px;
  height: 70px;
}

.cnv-icon {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.cnv-feature-icon .cnv-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.cnv-post-type-title,
.cnv-feature-title,
.cnv-support-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.5rem;
}

.cnv-feature-title { font-size: 1.3rem; margin-bottom: 1rem; }

.cnv-post-type-count {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin: 0;
}

.cnv-facilitadores-intro,
.cnv-ong-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.8;
  color: #555;
  font-size: 1.1rem;
}

.cnv-facilitadores-intro p,
.cnv-ong-intro p { margin: 0; }

.cnv-facilitadores-intro p + p { margin-top: 1rem; }

.cnv-feature-card { padding: 2rem; }

.cnv-feature-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 1rem;
}

.cnv-feature-description,
.cnv-support-description {
  color: #7f8c8d;
  line-height: 1.6;
  margin: 0;
}

.cnv-section-actions {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cnv-ong-highlight {
  background: #7e67b5;
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 3rem;
}

.cnv-ong-highlight h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.cnv-ong-highlight p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.cnv-mission-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
  margin: 0 0 1rem;
}

.cnv-mission-lead {
  text-align: center;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

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

.cnv-support-card { padding: 2.5rem; }

.cnv-support-emoji {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.cnv-support-description { margin-bottom: 2rem; }

.cnv-support-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #7e67b5;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cnv-support-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
  color: #fff;
  text-decoration: none;
}

.cnv-support-btn-ghost {
  background: transparent;
  color: #7e67b5;
  border: 2px solid #7e67b5;
}

.cnv-support-btn-ghost:hover { color: #5c4a8a; }

@media (max-width: 968px) {
  .cnv-section-title { font-size: 2rem; }

  .cnv-post-types-grid,
  .cnv-features-grid { grid-template-columns: repeat(2, 1fr); }

  .cnv-support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cnv-section { padding: 3rem 0; }

  .cnv-cta-auth h2 { font-size: 1.5rem; }
  .cnv-cta-auth p { font-size: 1rem; }
  .cnv-auth-buttons { flex-direction: column; align-items: center; }

  .cnv-post-types-grid,
  .cnv-features-grid { grid-template-columns: 1fr; }

  .cnv-carousel-card { flex: 0 0 220px; }

  .cnv-carousel-container {
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
  }

  .cnv-carousel {
    padding-right: 0;
    gap: 1rem;
  }
}

/* Landings de livro, curso e formação */
.page-landing {
  background: #f5f5f5;
}

.page-landing .site-footer { margin-top: 0; }

.cnv-land-hero {
  background: #7e67b5;
  color: #fff;
  padding: 4rem 0 3.5rem;
}

.cnv-land-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.cnv-land-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 0.75rem;
}

.cnv-land-hero h1 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.cnv-land-hero .cnv-land-sub {
  font-size: 1.25rem;
  margin: 0 0 1.25rem;
  opacity: 0.95;
}

.cnv-land-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.cnv-land-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.cnv-land-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cnv-land-hero-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.cnv-land-hero-media img.cnv-land-cover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  background: #fff;
}

.cnv-land-prose {
  max-width: 760px;
  margin: 0 auto;
  color: #555;
  font-size: 1.08rem;
  line-height: 1.8;
}

.cnv-land-prose p { margin: 0 0 1.1rem; }
.cnv-land-prose p:last-child { margin-bottom: 0; }

.cnv-land-split {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  margin: 0 0 2.5rem;
}

.cnv-land-split img {
  width: 100%;
  height: auto;
}

.cnv-land-split h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  color: #2c3e50;
}

.cnv-land-split p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

.cnv-land-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
}

.cnv-land-stat {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.cnv-land-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #7e67b5;
  line-height: 1.1;
}

.cnv-land-stat span {
  color: #7f8c8d;
  font-size: 0.95rem;
}

.cnv-land-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cnv-land-tile {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.cnv-land-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cnv-land-tile p {
  margin: 0;
  padding: 0.85rem 0.75rem 1rem;
  font-weight: 600;
  color: #2c3e50;
}

.cnv-land-check {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  margin-inline: auto;
}

.cnv-land-check li {
  position: relative;
  padding: 0.65rem 0 0.65rem 2rem;
  color: #444;
  font-size: 1.05rem;
}

.cnv-land-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7e67b5;
  font-weight: 700;
}

.cnv-land-people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
}

.cnv-land-person {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.cnv-land-person img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.cnv-land-person h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  color: #2c3e50;
}

.cnv-land-person p {
  margin: 0;
  color: #666;
  font-size: 0.98rem;
  line-height: 1.65;
}

.cnv-land-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.cnv-land-table th,
.cnv-land-table td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.cnv-land-table th {
  width: 34%;
  color: #7e67b5;
  font-weight: 600;
}

.cnv-land-table tr:last-child th,
.cnv-land-table tr:last-child td { border-bottom: 0; }

.cnv-land-access {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  max-width: 560px;
  margin: 0 auto;
}

.cnv-land-access h2 { text-align: center; }
.cnv-land-access .status-msg { margin-top: 0.75rem; }
.cnv-land-access .form-row { margin-bottom: 1rem; }
.cnv-land-access label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.cnv-land-access input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font: inherit;
}

.cnv-land-credit {
  text-align: center;
  font-size: 0.85rem;
  color: #9aa0a6;
  margin: 0;
}

@media (max-width: 900px) {
  .cnv-land-hero-inner,
  .cnv-land-split,
  .cnv-land-people { grid-template-columns: 1fr; }

  .cnv-land-hero { padding: 2.5rem 0 2rem; }
  .cnv-land-hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .cnv-land-tiles { grid-template-columns: repeat(2, 1fr); }
  .cnv-land-stats { grid-template-columns: 1fr; }
  .cnv-land-split img { max-width: 180px; margin: 0 auto; }
}
