/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   TOKENS DE DESIGN
   ============================================================ */
:root {
  --primary: #3a86ff;
  --primary-dark: #2563eb;
  --primary-soft: #eaf2ff;
  --accent: #ffb84d;
  --accent-dark: #f59e0b;
  --text: #1f2937;
  --text-soft: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 20px 40px rgba(58, 134, 255, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --transition: 0.25s ease;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(58, 134, 255, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(58, 134, 255, 0.45);
}
.btn-accent {
  background: var(--accent);
  color: #1f2937;
  box-shadow: 0 6px 18px rgba(255, 184, 77, 0.45);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   HEADER FIXO
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
}
.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}
.logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}
.nav-menu a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburguer */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 184, 77, 0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(58, 134, 255, 0.15), transparent 55%), var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.2);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Ilustração do Hero (placeholder em SVG/CSS) */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6;
  max-width: 520px;
  min-height: 480px;
  margin-left: auto;
  justify-self: end;
}
.hero-visual .blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), #8ab6ff);
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  animation: morph 12s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}
.hero-visual .puzzle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hero-visual .puzzle svg {
  width: 60%;
  height: 60%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}
.hero-visual .float-card {
  position: absolute;
  background: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.hero-visual .float-card.fc-1 {
  top: 8%;
  left: -6%;
  animation: floatY 4s ease-in-out infinite;
  z-index: 2;
}
.hero-visual .float-card.fc-2 {
  bottom: 4%;
  right: -4%;
  animation: floatY 5s ease-in-out infinite reverse;
  z-index: 2;
}
.float-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.float-card.fc-1 .dot {
  background: var(--primary);
}

@keyframes morph {
  0%,
  100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
  50% {
    border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%;
  }
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ============================================================
   SEÇÕES GERAIS
   ============================================================ */
section {
  padding: 90px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--text);
}
.section-head p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre {
  background: var(--bg-alt);
}
.sobre-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--text-soft);
  font-size: 1.05rem;
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 18px;
}
.card-icon svg {
  width: 28px;
  height: 28px;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.card p {
  color: var(--text-soft);
  font-size: 0.97rem;
}

/* ============================================================
   PROJETOS
   ============================================================ */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: center;
  gap: 24px;
}
.projeto {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.projeto:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.projeto-img {
  height: 180px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.projeto-img.bg1 {
  background: linear-gradient(135deg, #3a86ff, #6ba8ff);
}
.projeto-img.bg2 {
  background: linear-gradient(135deg, #ffb84d, #ffd089);
}
.projeto-img.bg3 {
  background: linear-gradient(135deg, #5bbfa0, #8fd9c2);
}
.projeto-img svg {
  width: 70px;
  height: 70px;
  color: #fff;
  opacity: 0.95;
}
.projeto-body {
  padding: 26px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.projeto-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.projeto-body p {
  color: var(--text-soft);
  font-size: 0.96rem;
  flex: 1;
}
.projeto-link {
  margin-top: 18px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.projeto-link:hover {
  gap: 10px;
}

/* ============================================================
   COMO AJUDAR
   ============================================================ */
.ajudar {
  background: var(--bg-alt);
}
.ajudar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ajudar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.ajudar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.ajudar-card .card-icon {
  margin: 0 auto 20px;
  width: 64px;
  height: 64px;
}
.ajudar-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.ajudar-card p {
  color: var(--text-soft);
  margin-bottom: 22px;
}
.ajudar-card.featured {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.ajudar-card.featured .card-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.ajudar-card.featured p {
  color: rgba(255, 255, 255, 0.9);
}
.ajudar-card.featured .btn-ghost {
  color: #fff;
  border-color: #fff;
}
.ajudar-card.featured .btn-ghost:hover {
  background: #fff;
  color: var(--primary);
}

/* ============================================================
   IMPACTO
   ============================================================ */
.impacto {
  background: linear-gradient(135deg, #1e3a8a, #3a86ff);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.impacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 184, 77, 0.25), transparent 50%);
  pointer-events: none;
}
.impacto .section-head h2 {
  color: #fff;
}
.impacto .section-head p {
  color: rgba(255, 255, 255, 0.85);
}
.impacto .section-tag {
  color: var(--accent);
}
.impacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
  gap: 24px;
  position: relative;
}
.stat {
  text-align: center;
  padding: 24px;
}
.stat-num {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.depoimento {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.depoimento:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.depoimento .quote-mark {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-soft);
  font-family: Georgia, serif;
}
.depoimento p {
  color: var(--text);
  font-style: italic;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.depoimento-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
}
.autor-info strong {
  display: block;
  font-size: 15px;
}
.autor-info small {
  color: var(--text-soft);
  font-size: 13px;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato {
  background: var(--bg-alt);
}
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contato-info {
  padding: 8px;
}
.contato-info h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.contato-info > p {
  color: var(--text-soft);
  margin-bottom: 28px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.info-item .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.info-item .ic svg {
  width: 20px;
  height: 20px;
}
.info-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.info-item span {
  color: var(--text-soft);
  font-size: 14px;
}

.mapa {
  margin-top: 24px;
  height: 200px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dbeafe, #eaf2ff);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}
.mapa::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 134, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 134, 255, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
}
.mapa-pin {
  position: relative;
  z-index: 1;
  text-align: center;
}
.mapa-pin svg {
  width: 38px;
  height: 38px;
  color: var(--primary);
  margin-bottom: 6px;
}
.mapa-pin small {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 600;
}

/* Formulário */
.form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--text);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form .btn-primary {
  width: 100%;
  padding: 14px;
}
.form-msg {
  margin-top: 12px;
  padding: 12px;
  background: #dcfce7;
  color: #166534;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.form-msg.show {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer .logo {
  color: #fff;
  margin-bottom: 16px;
}
.footer-about p {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 20px;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer ul a {
  color: #94a3b8;
  font-size: 14px;
  transition: var(--transition);
}
.footer ul a:hover {
  color: var(--accent);
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: var(--transition);
}
.socials a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.socials svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  position: relative;
  font-size: 13px;
  color: #64748b;
}
.footer-bottom .design-credit {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* ============================================================
   ANIMAÇÕES (fade-in on scroll)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 960px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    margin: 0 auto;
    max-width: 360px;
  }

  section {
    padding: 70px 0;
  }
  .cards-3,
  .projetos-grid,
  .ajudar-grid,
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }
  .impacto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contato-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    border-top: 1px solid var(--border);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-menu a {
    padding: 14px 16px;
    border-radius: 10px;
  }
  .nav-cta .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}
@media (max-width: 520px) {
  .impacto-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .form {
    padding: 24px;
  }
  .nav-cta .btn {
    padding: 9px 14px;
  }
  .logo {
    font-size: 17px;
  }
  .logo-mark {
    width: 42px;
    height: 42px;
  }
  .footer-bottom {
    padding: 18px 14px;
  }
  .footer-bottom .design-credit {
    position: static;
    display: block;
    transform: none;
    text-align: right;
    margin-top: 6px;
  }
}

/* ============================================================
   IMAGENS DAS SEÇÕES
   ============================================================ */
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(58, 134, 255, 0.18),
    rgba(255, 184, 77, 0.1) 60%,
    transparent
  );
  pointer-events: none;
}
.sobre-media {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 64px;
}
.sobre-media .img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.sobre-media .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sobre-carousel {
  display: flex;
  align-items: stretch;
}
.sobre-carousel .carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}
.sobre-carousel .carousel-slide {
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
}
.sobre-carousel .carousel-slide img {
  display: block;
  height: calc(100% - 24px);
  margin: 12px 0;
}
.sobre-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
}
.sobre-carousel .carousel-btn:hover {
  background: rgba(15, 23, 42, 0.82);
}
.sobre-carousel .carousel-btn.prev {
  left: 12px;
}
.sobre-carousel .carousel-btn.next {
  right: 12px;
}
.sobre-carousel .carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
}
.sobre-carousel .carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: var(--transition);
}
.sobre-carousel .carousel-dots .dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: #fff;
}
.sobre-media .img-wrap::before {
  content: '';
  position: absolute;
  inset: auto -18px -18px auto;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent), #ffd089);
  z-index: -1;
}
.sobre-media .img-wrap::after {
  content: '';
  position: absolute;
  inset: -18px auto auto -18px;
  width: 90px;
  height: 90px;
  border-radius: 22px;
  background: var(--primary-soft);
  z-index: -1;
}
.sobre-media .text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.sobre-media .text p {
  color: var(--text-soft);
  margin-bottom: 14px;
}

/* Projetos: substituir bloco de cor sólida por foto */
.projeto-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.projeto-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.55));
}
.projeto-img svg {
  display: none;
}
.projeto-img.bg1 {
  background-image: url('../images/projeto-familias.jpg');
}
.projeto-img.bg2 {
  background-image: url('../images/projeto-escola.jpg');
}
.projeto-img.bg3 {
  background-image: url('../images/projeto-conscientizacao.jpg');
}

/* Impacto: foto de fundo */
.impacto {
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.92), rgba(58, 134, 255, 0.85)),
    url('../images/impacto.jpg') center/cover no-repeat;
}

/* Avatares com foto nos depoimentos */
.avatar.photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
}
.avatar.ph1 {
  background-image: url('../images/depoimento-1.jpg');
}
.avatar.ph2 {
  background-image: url('../images/depoimento-2.jpg');
}
.avatar.ph3 {
  background-image: url('../images/depoimento-3.jpg');
}

@media (max-width: 960px) {
  .sobre-media {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sobre-media .img-wrap {
    max-width: 420px;
    margin: 0 auto;
  }
  .sobre-carousel .carousel-btn {
    width: 38px;
    height: 38px;
  }
}

/* ============================================================
   Custom css
   ============================================================ */
