/* ============================================
   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;
  }
}

/* ============================================
   PÁGINAS INTERNAS (intro genérica)
   ============================================ */

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

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

.pagina-intro p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  color: #2c2c2c;
  line-height: 1.6;
}

/* ============================================
   PÁGINA DE MÚSICAS
   ============================================ */

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

.musica-card {
  max-width: 780px;
  margin: 0 auto 24px;
  background: var(--branco);
  border-radius: 14px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 18px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.musica-icone {
  font-size: 32px;
  text-align: center;
}

.musica-info h3 {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.musica-autor {
  font-size: 13px;
  color: #888;
}

.musica-card audio {
  height: 40px;
  max-width: 260px;
}

.btn-download {
  background: var(--verde-agua);
  color: var(--branco);
  padding: 10px 18px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  transition: background 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-download:hover {
  background: #1f4740;
}

/* Responsivo músicas */
@media (max-width: 720px) {
  .musica-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 20px;
  }

  .musica-card audio {
    width: 100%;
    max-width: 100%;
  }

  .btn-download {
    justify-self: center;
  }
}

/* ============================================
   PÁGINA DO FOGUETE
   ============================================ */

.foguete-conteudo {
  background: var(--bege);
  padding: 60px 30px 80px;
}

.foguete-card {
  max-width: 640px;
  margin: 0 auto 40px;
  background: var(--branco);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.foguete-icone {
  font-size: 56px;
  margin-bottom: 16px;
}

.foguete-card h2 {
  font-size: 26px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.foguete-card p {
  font-size: 16px;
  color: var(--texto-claro);
  line-height: 1.7;
  margin-bottom: 24px;
}

.btn-grande {
  font-size: 17px;
  padding: 15px 38px;
}

.foguete-aviso {
  max-width: 640px;
  margin: 0 auto 50px;
  background: #fff4d6;
  border-left: 5px solid var(--dourado);
  padding: 16px 22px;
  border-radius: 8px;
  font-size: 15px;
  color: #6b4f0f;
  line-height: 1.6;
}

.foguete-passos {
  max-width: 720px;
  margin: 0 auto 50px;
}

.foguete-passos h2 {
  text-align: center;
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.passo-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--branco);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.passo-numero {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--verde-agua);
  color: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.passo-item h3 {
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.passo-item p {
  font-size: 14px;
  color: var(--texto-claro);
  line-height: 1.6;
}

.foguete-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 30px;
  background: var(--azul-claro);
  border-radius: 16px;
}

.foguete-cta p {
  font-size: 17px;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Responsivo foguete */
@media (max-width: 600px) {
  .foguete-card {
    padding: 30px 22px;
  }

  .passo-item {
    padding: 16px 18px;
    gap: 14px;
  }

  .passo-numero {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
}

/* ============================================
   PÁGINA DE DESENHOS
   ============================================ */

.galeria-desenhos {
  background: var(--bege);
  padding: 60px 30px 80px;
}

.galeria-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
}

.desenho-card {
  background: var(--branco);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  text-align: center;
  padding-bottom: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.desenho-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.desenho-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #f4f4f4;
  border-bottom: 1px solid #eee;
}

.desenho-titulo {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: bold;
  margin: 14px 14px 12px;
  line-height: 1.4;
  min-height: 40px;
}

.desenho-card .btn-download {
  display: inline-block;
}

/* Responsivo galeria */
@media (max-width: 600px) {
  .galeria-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }

  .desenho-titulo {
    font-size: 12px;
    min-height: auto;
    margin: 10px 8px 8px;
  }

  .desenho-card .btn-download {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ============================================
   DEPOIMENTOS (versão atualizada)
   ============================================ */

.depoimentos-lista {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 20px;
}

.depoimento-card {
  background: #fdfaf4;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  position: relative;
  border-left: 4px solid var(--verde-agua);
}

.depoimento-card::before {
  content: '❝';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 42px;
  color: #e8dfd0;
  font-family: Georgia, serif;
  line-height: 1;
}

.depoimento-texto {
  font-size: 16px;
  font-style: italic;
  color: #3a3a3a;
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.depoimento-autor {
  font-weight: bold;
  color: var(--verde-agua);
  font-size: 15px;
  margin-bottom: 4px;
}

.depoimento-data {
  font-size: 13px;
  color: #999;
  font-style: italic;
}
