:root {
  --green-900:#1d3e30;
  --green-800:#234d3b;
  --green-600:#2f6f4f;
  --green-100:#e9f3ee;
  --beige:#ffffff;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: var(--green-100);
  color: #0f172a;
}

/* HEADER */
.main-header {
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
  color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  height: 58px;
  width: auto;
}

.header-text h1 {
  margin: 0;
  font-size: 3.5rem;
}

.header-text p {
  margin: 0;
  font-size: 1.2rem;
  opacity: 0.9;
}

.header-right {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.btn {
  background: rgba(255,255,255,0.1);
  color: var(--beige);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.35); /* mais clara */
  color: var(--green-900);                /* texto escuro visível */
  border-color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease-in-out;
}


/* HERO */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  background-image: linear-gradient(to bottom, rgba(29,62,48,0.85), rgba(29,62,48,0.3)), url('../img/fachada-centro.jpg');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 55vh;
}

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-title {
  color: var(--beige);
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-sub {
  color: var(--beige);
  margin-top: 1rem;
  font-size: 1rem;
}

/* MAP CONTENT */
.main-content {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

.section-title {
  color: var(--green-900);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--green-900);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--green-900);
  margin-bottom: 1.5rem;
}

.map-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.map-list button {
  border: 1px solid #ccc;
  background: white;
  border-radius: 0.8rem;
  padding: 1rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.map-list button:hover {
  background: #f4f7f5;
}

.map-container {
  border-radius: 1rem;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 65vh;
  border: 0;
}

.program-link {
  margin-top: 1rem;
  color: var(--green-900);
  text-align: center;
}

.program-link a {
  color: var(--green-600);
  text-decoration: none;
}

/* FOOTER */
.footer {
  background: var(--green-900);
  color: var(--beige);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-bg {
    height: 45vh;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .map-list {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    height: 50vh;
  }
}

/* === LINKS PADRONIZADOS === */
a {
  color: inherit;            /* herda a cor do texto ao redor */
  text-decoration: none;     /* remove o sublinhado */
}

a:hover {
  text-decoration: underline; /* opcional: sublinha só ao passar o mouse */
  color: var(--green-600);    /* opcional: muda a cor levemente no hover */
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 2rem 1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  }

  .hero-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

