/* ============================================
   UNIVERSO DA SERAFINA — Estilo principal
   ============================================ */

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

:root {
  --azul-claro: #c5dfe8;
  --bege: #e8dfd0;
  --bege-escuro: #d9cdb8;
  --texto: #2c2c2c;
  --texto-claro: #5a5a5a;
  --verde-agua: #2d5c52;
  --dourado: #f4b942;
  --branco: #ffffff;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: normal;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   HEADER
   ============================================ */

header {
  background: var(--branco);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 55px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--texto);
  font-size: 15px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--verde-agua);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  background-image: url('../imagens/fundo-foguete.jpg');
  background-size: cover;
  background-position: center;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 30px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(197, 223, 232, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(30px, 6vw, 54px);
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--texto);
  margin-bottom: 28px;
}

.btn-primario {
  display: inline-block;
  background: var(--verde-agua);
  color: var(--branco);
  padding: 13px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primario:hover {
  background: #1f4740;
  transform: translateY(-2px);
}

/* ============================================
   SEÇÃO ATIVIDADES
   ============================================ */

.atividades {
  background: var(--bege);
  padding: 60px 30px 70px;
}

.atividades h2 {
  font-size: clamp(26px, 4vw, 38px);
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.card-atividade {
  max-width: 900px;
  margin: 0 auto 34px;
  padding: 22px 0;
  border-top: 1px solid #c8bda6;
  display: grid;
  grid-template-columns: 60px 220px 1fr 130px;
  gap: 18px;
  align-items: center;
}

.card-atividade:first-of-type {
  border-top: 2px solid #1a1a1a;
}

.card-atividade .icone {
  font-size: 30px;
  text-align: center;
}

.card-atividade h3 {
  font-size: 22px;
  color: #1a1a1a;
}

.card-atividade p {
  font-size: 14px;
  color: var(--texto-claro);
}

.card-atividade .btn-card {
  background: #7a7a7a;
  color: var(--branco);
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 13px;
  text-align: center;
  transition: background 0.2s;
  white-space: nowrap;
}

.card-atividade .btn-card:hover {
  background: #5a5a5a;
}

/* ============================================
   DEPOIMENTO
   ============================================ */

.depoimento {
  padding: 60px 30px;
  text-align: center;
  background: var(--branco);
}

.depoimento h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 30px;
  color: #1a1a1a;
}

.depoimento blockquote {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  font-style: italic;
  color: #3a3a3a;
  line-height: 1.6;
}

.depoimento cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: bold;
  color: var(--verde-agua);
}

.depoimento small {
  display: block;
  color: #999;
  margin-top: 4px;
}

/* ============================================
   SOBRE
   ============================================ */

.sobre {
  background: var(--azul-claro);
  padding: 70px 30px;
}

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

.sobre h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 28px;
  color: #1a1a1a;
}

.sobre p {
  font-size: 16px;
  color: #2c2c2c;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* ============================================
   CONTATO
   ============================================ */

.contato {
  background: var(--bege);
  padding: 70px 30px;
}

.contato h2 {
  text-align: center;
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 34px;
  color: #1a1a1a;
}

.form-contato {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-contato input,
.form-contato textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #c8bda6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: #fdfaf4;
}

.form-contato textarea {
  min-height: 130px;
  resize: vertical;
}

.form-contato button {
  background: var(--verde-agua);
  color: var(--branco);
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.form-contato button:hover {
  background: #1f4740;
}

/* ============================================
   RODAPÉ
   ============================================ */

footer {
  background: #1a1a1a;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

footer a {
  color: var(--dourado);
}

/* ============================================
   PÁGINA DE JOGOS
   ============================================ */

.jogos-intro {
  background: var(--azul-claro);
  padding: 50px 30px;
  text-align: center;
}

.jogos-intro h1 {
  font-size: clamp(28px, 5vw, 42px);
  color: #1a1a1a;
  margin-bottom: 20px;
}

.jogos-intro p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  color: #2c2c2c;
  line-height: 1.7;
}

.jogos-lista {
  padding: 60px 30px;
  background: var(--bege);
}

.jogo-card {
  max-width: 900px;
  margin: 0 auto 50px;
  background: var(--branco);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.jogo-card-topo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 26px;
  align-items: center;
}

.jogo-card-topo img {
  width: 100%;
  border-radius: 10px;
}

.jogo-info h3 {
  font-size: 22px;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.jogo-info p {
  font-size: 15px;
  color: var(--texto-claro);
  line-height: 1.6;
  margin-bottom: 16px;
}

.jogo-info ul {
  list-style: none;
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

.jogo-info ul li {
  margin-bottom: 4px;
}

.jogo-info .btn-jogar {
  background: var(--dourado);
  color: #1a1a1a;
  padding: 11px 26px;
  border-radius: 22px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.jogo-info .btn-jogar:hover {
  background: #e0a82e;
}

.jogo-iframe {
  display: none;
  width: 100%;
  border-top: 1px solid #eee;
}

.jogo-iframe.ativo {
  display: block;
}

.jogo-iframe iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
}

.btn-fechar {
  background: #ddd;
  color: #333;
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
}

.btn-fechar:hover {
  background: #ccc;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 768px) {
  header {
    padding: 12px 20px;
    flex-direction: column;
    gap: 12px;
  }

  nav ul {
    gap: 20px;
  }

  .card-atividade {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .card-atividade p,
  .card-atividade .btn-card {
    grid-column: 2;
  }

  .jogo-card-topo {
    grid-template-columns: 1fr;
  }

  .jogo-iframe iframe {
    height: 600px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 380px;
    padding: 40px 20px;
  }

  .card-atividade .btn-card {
    justify-self: start;
  }

  .jogo-iframe iframe {
    height: 560px;
  }
}
