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

:root {
  --orange:      #E8600A;
  --orange-dark: #C44D00;
  --teal:        #3AAFA9;
  --teal-dark:   #2A8A85;
  --teal-light:  #5ECBC5;
  --teal-bg:     #DEF5F4;
  --white:       #FFFFFF;
  --off-white:   #F7F5F0;
  --text-dark:   #1A2E2D;
  --text-mid:    #3A5250;
  --yellow:      #F5C842;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
}


nav {
  background-color: #3AAFA9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo > div:first-child {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo > div:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-sub {
  font-size: 10px;
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 1px;
}


.nav-links {
  color: white;
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

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

.nav-links a.active {
  color: white;
  padding-bottom: 2px;
}

.nav-links a.active:hover{color: var(--orange);}


.nav-links .btn-doe {
  background: var(--orange);
  color: var(--white) !important;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border-bottom: none !important;
}
.nav-links .btn-doe:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  color: var(--white) !important;
}


#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

#menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}

#menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.active span:nth-child(2) { opacity: 0; }
#menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 60px 80px;
  max-width: 600px;
  background: linear-gradient(to right, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0) 100%);
  width: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}


.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.08) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  background: none;
}

.hero-overlay h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 46px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
}

.hero-overlay h1 strong { color: var(--yellow); }

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: fit-content;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }


.quem-somos {
  background: var(--white);
  padding: 64px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.quem-somos-text h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--teal);
  margin-bottom: 10px;
}

.quem-somos-text em {
  font-family: 'Nunito Sans', sans-serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 16px;
}

.quem-somos-text p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.quem-somos-img {
  text-align: center;
}

.quem-somos-img img {
  width: 50%;
}


.projetos {
  background: var(--teal);
  padding: 60px 80px;
  color: var(--white);
  text-align: left;
}

.projetos h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}

.projetos .subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}

.projetos hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 40px;
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 40px;
}

.projeto-card {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.projeto-card:last-child { border-right: none; }
.projeto-card:hover { background: rgba(255,255,255,0.07); }

.pilar-num {
  font-family: 'Nunito', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.projeto-card .icon {
  width: 52px;
  height: 52px;
  display: block;
}

.projeto-card p {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  margin: 0;
}

.pilar-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.4;
  margin-top: 4px;
}

.btn-secondary {
  display: block;
  margin: 0 auto;
  background: var(--teal-dark);
  color: var(--white);
  text-decoration: none;
  padding: 14px 48px;
  border-radius: 6px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  width: fit-content;
}
.btn-secondary:hover { background: #1e6a66; }


.impacto {
  background: var(--off-white);
  padding: 60px 80px;
  text-align: center;
}

.impacto h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--teal);
  margin-bottom: 12px;
}

.impacto-sub {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.impacto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--teal);
  border-radius: 12px;
  overflow: hidden;
}

.impacto-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.impacto-item:nth-child(3),
.impacto-item:nth-child(6) { border-right: none; }

.impacto-item:nth-child(4),
.impacto-item:nth-child(5),
.impacto-item:nth-child(6) { border-bottom: none; }

.impacto-item .number {
  font-family: 'Nunito', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--orange);
  display: block;
}

.impacto-item .label {
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  line-height: 1.4;
  display: block;
}


.voluntario {
  background: var(--white);
  padding: 56px 80px;
  text-align: center;
}

.voluntario .tagline {
  font-family: 'Nunito Sans', sans-serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text-mid);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.voluntario .tagline::before,
.voluntario .tagline::after {
  content: '';
  flex: 1;
  max-width: 180px;
  border-top: 1px solid #ccc;
}

.btn-voluntario {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  padding: 16px 64px;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
}
.btn-voluntario:hover { background: var(--teal-dark); transform: translateY(-2px); }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

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

.modal-box {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 36px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  animation: fadeUp 0.3s ease;
}

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

.modal-fechar {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text-mid);
  line-height: 1;
  transition: color 0.2s;
}
.modal-fechar:hover { color: var(--orange); }

.modal-titulo {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--teal);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-metodo {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.modal-metodo:last-of-type { border-bottom: none; }

.modal-metodo-icone {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--teal-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-metodo strong {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
}

.modal-metodo p {
  font-size: 13px;
  color: var(--text-mid);
  margin: 2px 0;
}

.modal-dado {
  font-weight: 700;
  color: var(--text-dark);
}

.modal-rodape {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
}


.contatos {
  background: var(--teal);
  padding: 0;
}

.contatos h2 {
  background: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--teal);
  padding: 24px 48px;
  margin: 0;
}

.contatos h2 strong {
  color: var(--orange);
  font-weight: 900;
}

.contatos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 48px;
}

.contatos-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--white);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.contato-item:hover { opacity: 0.85; }

.contato-icone {
  flex-shrink: 0;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

.contato-telefones { align-items: flex-start; }

.telefone-table {
  border-collapse: collapse;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: var(--white);
}

.telefone-table td {
  padding: 3px 16px 3px 0;
  vertical-align: top;
}

.telefone-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.contatos-rodape {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  padding: 20px 48px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-family: 'Nunito', sans-serif;
}

@media (max-width: 768px) {
  .contatos h2 { padding: 20px 24px; font-size: 28px; }
  .contatos-grid { grid-template-columns: 1fr; padding: 28px 24px; }
  .contatos-rodape { padding: 16px 24px; }
}


.quem-somos,
.projeto-card,
.impacto-item,
.voluntario,
.hero-overlay h1,
.hero-overlay .btn-primary {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}


@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .hero-overlay { padding: 40px 32px; }
  .quem-somos { padding: 48px 32px; gap: 36px; }
  .projetos { padding: 48px 32px; }
  .impacto { padding: 48px 32px; }
  .voluntario { padding: 48px 32px; }
}

@media (max-width: 768px) {
  #menu-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    gap: 16px;
  }
  .nav-links a, .nav-links a.active { color: black; }
  .nav-links.open { display: flex; }
  .nav-links li:last-child { margin-top: 10px; }

  .quem-somos {
    grid-template-columns: 1fr;
  }

  .quem-somos-img {
    display: none;
  }

  .projetos-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .projeto-card { border-bottom: 1px solid rgba(255,255,255,0.25); border-right: none; }
  .projeto-card:last-child { border-bottom: none; }

  .impacto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impacto-item:nth-child(3) { border-right: none; }
  .impacto-item:nth-child(2) { border-right: none; }
  .impacto-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.2); }
  .impacto-item:nth-child(4),
  .impacto-item:nth-child(5),
  .impacto-item:nth-child(6) { border-bottom: 1px solid rgba(255,255,255,0.2); }
  .impacto-item:nth-child(5),
  .impacto-item:nth-child(6) { border-bottom: none; }

  .hero-overlay h1 { font-size: 32px; }
}

@media (max-width: 480px) {
  .impacto-grid { grid-template-columns: 1fr; }
  .impacto-item { border-right: none; }
}
