/* ===== Base ===== */
:root {
  --azul: #1a4a5c;
  --azul-medio: #2a6f82;
  --azul-suave: #d4e8ee;
  --verde: #2d5a3d;
  --verde-suave: #e4efe8;
  --laranja: #b85c2e;
  --laranja-suave: #f5e6dc;
  --vermelho: #9b3a3a;
  --fundo: #f7f6f2;
  --branco: #ffffff;
  --texto: #2c3338;
  --texto-suave: #5a656d;
  --borda: #e0ddd6;
  --sombra: 0 2px 12px rgba(26, 74, 92, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1080px, 90%);
  margin-inline: auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.header.scrolled {
  border-bottom-color: var(--borda);
  background: rgba(255, 255, 255, 0.97);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--azul);
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--azul);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texto-suave);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--azul);
}

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

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--azul);
  border-radius: 1px;
  transition: 0.25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--azul);
  color: white;
  overflow: hidden;
  padding-top: 64px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 74, 92, 0.92) 0%, rgba(42, 111, 130, 0.88) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 3.5rem 0 6rem;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.35rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 580px;
  margin: 0 auto 2.2rem;
  opacity: 0.88;
  font-weight: 400;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: white;
  color: var(--azul);
}

.btn-primary:hover {
  background: var(--azul-suave);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.55);
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: var(--fundo);
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 56px;
}

/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--azul-medio);
  margin-bottom: 0.7rem;
}

.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  color: var(--azul);
  margin-bottom: 0.6rem;
}

.section-desc {
  color: var(--texto-suave);
  font-size: 1rem;
}

/* ===== Sobre ===== */
.sobre {
  background: var(--fundo);
}

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

.sobre-card {
  background: var(--branco);
  border-radius: 6px;
  padding: 1.75rem;
  box-shadow: var(--sombra);
  border: 1px solid var(--borda);
  display: block;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sobre-card:hover {
  border-color: var(--azul-medio);
  box-shadow: 0 4px 18px rgba(26, 74, 92, 0.1);
}

.sobre-card .card-link {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--azul-medio);
}

.sobre-card:hover .card-link {
  color: var(--azul);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.card-icon.native {
  background: var(--verde-suave);
  color: var(--verde);
}

.card-icon.invasive {
  background: var(--laranja-suave);
  color: var(--laranja);
}

.sobre-card h3 {
  font-size: 1.1rem;
  color: var(--azul);
  margin-bottom: 0.6rem;
  font-weight: 650;
}

.sobre-card p {
  color: var(--texto-suave);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sobre-card strong {
  color: var(--azul-medio);
  font-weight: 600;
}

/* ===== Espécies ===== */
.especies {
  background: var(--branco);
}

.especies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.especie-grupo {
  border-radius: 6px;
  padding: 1.5rem;
  background: var(--fundo);
  border: 1px solid var(--borda);
}

.especie-grupo.nativo {
  border-top: 3px solid var(--verde);
}

.especie-grupo.invasor {
  border-top: 3px solid var(--laranja);
}

.grupo-header {
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.badge-nativo {
  background: var(--verde-suave);
  color: var(--verde);
}

.badge-invasor {
  background: var(--laranja-suave);
  color: var(--laranja);
}

.grupo-header h3 {
  font-size: 1.2rem;
  color: var(--azul);
  margin-bottom: 0.25rem;
}

.grupo-header p {
  color: var(--texto-suave);
  font-size: 0.9rem;
}

.especie-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.especie-card {
  display: flex;
  gap: 1.1rem;
  background: var(--branco);
  border-radius: 8px;
  padding: 1.1rem;
  border: 1px solid var(--borda);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.especie-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--azul-medio);
}

.especie-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #e8f4f8;
  border: 1px solid var(--borda);
}

.especie-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.especie-card:hover .especie-img img {
  transform: scale(1.08);
}

.card-clique {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--azul-medio);
}

/* ===== Modal de Espécie ===== */
.especie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.especie-modal[hidden] {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 40, 0.65);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--branco);
  border-radius: 14px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalIn 0.25s ease;
}

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

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--azul);
  z-index: 2;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(0,0,0,0.15);
}

.modal-img-wrap {
  width: 100%;
  height: 220px;
  background: linear-gradient(145deg, #e8f4f8, #d0e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-body {
  padding: 1.4rem 1.5rem 1.75rem;
}

.modal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.modal-badge.nativo {
  background: rgba(34, 139, 34, 0.12);
  color: var(--verde);
}

.modal-badge.invasor {
  background: rgba(230, 126, 34, 0.12);
  color: var(--laranja);
}

.modal-body h3 {
  font-size: 1.45rem;
  color: var(--azul);
  margin-bottom: 0.2rem;
}

.modal-cientifico {
  font-style: italic;
  color: var(--texto-suave);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.modal-descricao {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--texto);
  margin-bottom: 1rem;
}

.modal-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-lista li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: var(--texto);
}

.modal-lista li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--azul-medio);
  font-weight: 700;
}

.especie-info h4 {
  font-size: 1.05rem;
  color: var(--azul);
  margin-bottom: 0.1rem;
}

.especie-nome {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--texto-suave);
  margin-bottom: 0.5rem;
}

.especie-info ul {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.especie-info li {
  font-size: 0.88rem;
  color: var(--texto-suave);
  padding-left: 0.9rem;
  position: relative;
}

.especie-info li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--azul-medio);
}

.especie-grupo.invasor .especie-info li::before {
  color: var(--laranja);
}

.alerta-box {
  background: var(--laranja-suave);
  border-left: 3px solid var(--laranja);
  padding: 1.15rem 1.35rem;
  border-radius: 0 5px 5px 0;
  font-size: 0.98rem;
  color: var(--texto);
  line-height: 1.65;
}

.alerta-box strong {
  color: var(--laranja);
}

/* ===== Impactos ===== */
.impactos {
  background: var(--fundo);
}

.impactos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.impacto-card {
  background: var(--branco);
  border-radius: 6px;
  padding: 1.75rem;
  border: 1px solid var(--borda);
}

.impacto-card.positivo {
  border-bottom: 3px solid var(--verde);
}

.impacto-card.negativo {
  border-bottom: 3px solid var(--vermelho);
}

.impacto-icon {
  display: none;
}

.impacto-card h3 {
  font-size: 1.15rem;
  color: var(--azul);
  margin-bottom: 0.65rem;
}

.impacto-card p {
  color: var(--texto-suave);
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.tag-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
}

.tag-status.ok {
  background: var(--verde-suave);
  color: var(--verde);
}

.tag-status.alerta {
  background: #f5e0e0;
  color: var(--vermelho);
}

.impactos-lista {
  background: var(--branco);
  border-radius: 6px;
  padding: 1.75rem;
  border: 1px solid var(--borda);
}

.impactos-lista h3 {
  font-size: 1.1rem;
  color: var(--azul);
  margin-bottom: 1.1rem;
}

.impactos-lista ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.impactos-lista li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--texto-suave);
}

.impactos-lista li::before {
  content: '–';
  color: var(--azul-medio);
  flex-shrink: 0;
}

.impactos-lista strong {
  color: var(--azul);
}

/* ===== Jogo ===== */
.jogo {
  background: var(--branco);
}

.jogo-container {
  max-width: 460px;
  margin: 0 auto 1.75rem;
  position: relative;
}

.jogo-card {
  background: var(--fundo);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--borda);
  text-align: center;
}

.jogo-progress {
  height: 4px;
  background: var(--borda);
  border-radius: 2px;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 16.66%;
  background: var(--azul-medio);
  border-radius: 2px;
  transition: width 0.35s ease;
}

.jogo-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
  gap: 1rem;
}

.jogo-contador {
  font-size: 0.85rem;
  color: var(--texto-suave);
  font-weight: 500;
  margin: 0;
}

.jogo-score {
  font-size: 0.85rem;
  color: var(--verde);
  font-weight: 650;
  margin: 0;
  background: rgba(34, 139, 34, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.jogo-peixe {
  margin-bottom: 1.75rem;
}

.peixe-img-wrapper {
  width: 200px;
  height: 150px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f4f8, #d0e8f0);
  border: 2px solid var(--borda);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.peixe-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.peixe-img-wrapper:hover .peixe-img {
  transform: scale(1.05);
}

.jogo-peixe h3 {
  font-size: 1.5rem;
  color: var(--azul);
  margin-bottom: 0.2rem;
}

.peixe-cientifico {
  font-style: italic;
  color: var(--texto-suave);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.peixe-dica {
  font-size: 0.85rem;
  color: var(--azul-medio);
  font-weight: 500;
  min-height: 1.2em;
}

.jogo-botoes {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
}

.btn-jogo {
  flex: 1;
  max-width: 160px;
  padding: 0.85rem 1.2rem;
  border-radius: 5px;
  font-weight: 650;
  font-size: 0.95rem;
  border: 1.5px solid;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  background: var(--branco);
}

.btn-jogo.nativo {
  color: var(--verde);
  border-color: var(--verde);
}

.btn-jogo.nativo:hover {
  background: var(--verde);
  color: white;
}

.btn-jogo.invasor {
  color: var(--laranja);
  border-color: var(--laranja);
}

.btn-jogo.invasor:hover {
  background: var(--laranja);
  color: white;
}

.btn-jogo:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.jogo-feedback {
  margin-top: 1.35rem;
  min-height: 44px;
  font-weight: 550;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.25s;
  line-height: 1.5;
}

.jogo-feedback.show {
  opacity: 1;
}

.jogo-feedback.correto {
  color: var(--verde);
}

.jogo-feedback.errado {
  color: var(--vermelho);
}

.jogo-resultado {
  background: var(--fundo);
  border-radius: 8px;
  padding: 2.5rem 1.75rem;
  border: 1px solid var(--borda);
  text-align: center;
}

.resultado-emoji {
  display: block;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.jogo-resultado h3 {
  font-size: 1.5rem;
  color: var(--azul);
  margin-bottom: 0.45rem;
}

.jogo-resultado p {
  color: var(--texto-suave);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.jogo-dica {
  text-align: center;
  color: var(--texto-suave);
  font-size: 0.9rem;
  max-width: 460px;
  margin: 0 auto;
}

.texto-nativo {
  color: var(--verde);
  font-weight: 600;
}

.texto-invasor {
  color: var(--laranja);
  font-weight: 600;
}

/* ===== Soluções ===== */
.solucoes {
  background: var(--fundo);
}

.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.solucao-card {
  background: var(--branco);
  border-radius: 6px;
  padding: 1.5rem;
  border: 1px solid var(--borda);
  border-top: 2px solid var(--azul-medio);
}

.solucao-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--azul-suave);
  margin-bottom: 0.6rem;
  line-height: 1;
}

.solucao-card h3 {
  font-size: 1.05rem;
  color: var(--azul);
  margin-bottom: 0.5rem;
}

.solucao-card p {
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.55;
}

.cta-box {
  background: var(--azul);
  color: white;
  border-radius: 6px;
  padding: 2.2rem;
  text-align: center;
}

.cta-box h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.cta-box p {
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ===== Conclusão ===== */
.conclusao {
  background: var(--branco);
}

.conclusao-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.conclusao-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--azul);
  margin: 0.8rem 0 1.75rem;
}

.conclusao-content blockquote {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--texto-suave);
  font-style: italic;
  border-left: 3px solid var(--azul-medio);
  padding-left: 1.35rem;
  text-align: left;
  margin-bottom: 1.25rem;
}

.conclusao-autores {
  font-weight: 600;
  color: var(--azul-medio);
  font-size: 0.95rem;
}

.frase-jogar {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--azul);
  margin: 1.5rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.btn-jogar {
  display: inline-flex;
  margin-top: 1.25rem;
  padding: 1.1rem 2.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-jogar:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(13, 110, 253, 0.55);
  background: linear-gradient(135deg, #0b5ed7 0%, #084298 100%);
  color: #ffffff !important;
}

.jogo-page {
  text-align: center;
}

.jogo-page .jogo-container {
  margin-left: auto;
  margin-right: auto;
}

.jogo-page .btn-voltar {
  margin-top: 2rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--azul);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.2rem;
  margin-bottom: 2.2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand .logo-icon {
  background: rgba(255,255,255,0.15);
  color: white;
}

.footer-brand strong {
  font-size: 1.1rem;
  color: white;
}

.footer-brand p {
  font-size: 0.88rem;
  opacity: 0.7;
}

.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.65rem;
}

.footer-autores ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-autores li,
.footer-orientacao p {
  font-size: 0.92rem;
}

.footer-orientacao a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.footer-orientacao a:hover {
  text-decoration: underline;
}

.footer-orientacao h4:last-of-type {
  margin-top: 1.1rem;
}

.footer-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-keywords span {
  background: rgba(255,255,255,0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding: 1.35rem 0;
  font-size: 0.82rem;
  opacity: 0.55;
}

/* ===== Páginas de Detalhe ===== */
.page-detail {
  padding-top: 64px;
  min-height: 100vh;
  background: var(--fundo);
}

.page-detail .detail-hero {
  background: var(--azul);
  color: white;
  padding: 2.8rem 0 2.5rem;
}

.page-detail .detail-hero .container {
  max-width: 720px;
}

.page-detail .detail-hero .section-tag {
  color: rgba(255,255,255,0.7);
}

.page-detail .detail-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0.7rem 0 0.6rem;
}

.page-detail .detail-hero p {
  opacity: 0.85;
  font-size: 1.05rem;
  max-width: 540px;
}

.detail-content {
  max-width: 720px;
  margin: -1.5rem auto 3rem;
  background: var(--branco);
  border-radius: 6px;
  padding: 2.2rem;
  border: 1px solid var(--borda);
  position: relative;
  z-index: 2;
}

.detail-content h2 {
  font-size: 1.25rem;
  color: var(--azul);
  margin: 1.75rem 0 0.85rem;
}

.detail-content h2:first-child {
  margin-top: 0;
}

.detail-content p {
  color: var(--texto-suave);
  margin-bottom: 0.9rem;
  line-height: 1.7;
  font-size: 1.02rem;
}

.detail-content ul {
  margin: 0.85rem 0 1.35rem 1.15rem;
  list-style: disc;
}

.detail-content li {
  color: var(--texto-suave);
  margin-bottom: 0.4rem;
  line-height: 1.55;
}

.detail-content strong {
  color: var(--azul);
}

.detail-highlight {
  background: var(--azul-suave);
  border-left: 3px solid var(--azul-medio);
  padding: 1.1rem 1.3rem;
  border-radius: 0 5px 5px 0;
  margin: 1.5rem 0;
}

.detail-highlight.warning {
  background: var(--laranja-suave);
  border-left-color: var(--laranja);
}

.detail-highlight p {
  margin: 0;
  color: var(--texto);
}

.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  padding: 0.75rem 1.4rem;
  background: var(--azul);
  color: white;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.btn-voltar:hover {
  background: var(--azul-medio);
}

.detail-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--borda);
}

.detail-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--azul-medio);
  padding: 0.4rem 0.9rem;
  background: var(--azul-suave);
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.detail-nav a:hover {
  background: var(--azul-medio);
  color: white;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .especies-grid { grid-template-columns: 1fr; }
  .impactos-grid { grid-template-columns: 1fr; }
  .impactos-lista ul { grid-template-columns: 1fr; }
  .solucoes-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--branco);
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.85rem;
    border-bottom: 1px solid var(--borda);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .menu-toggle { display: flex; }

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

  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 260px; }
  .solucoes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .especie-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .jogo-botoes { flex-direction: column; align-items: center; }
  .btn-jogo { max-width: 100%; width: 100%; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .hero-content { padding: 2.5rem 0 5rem; }
}
