/* --- ESTILO GLOBAL ANOS 2000 (MÓVEL) --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #e0f2f1; /* Azul Gelo */
  font-family: "Tahoma", "Verdana", sans-serif;
  color: #1a303a;
  font-size: 14px;
  line-height: 1.4;
  padding-bottom: 20px;
}

/* --- TOPO E NAVEGAÇÃO --- */
.header {
  background-color: #5c8ca8; /* Tom mais escuro de azul gelo/aço */
  border-bottom: 3px ridge #a2c4d9;
  text-align: center;
  padding: 15px 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.blog-title {
  color: #ffffff;
  font-size: 1.8rem;
  text-shadow: 2px 2px #34566b;
  margin-bottom: 10px;
  font-family: "Courier New", monospace;
}

.nav-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-link {
  background-color: #79a8c4;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: bold;
  border: 2px outset #b1d4e7;
  border-radius: 4px;
}

.nav-link:active {
  border-style: inset;
  background-color: #4b758e;
}

/* --- ESTRUTURA PRINCIPAL (FOCADA EM MOBILE) --- */
.container {
  width: 92%;
  max-width: 480px; /* Limite de tela móvel */
  margin: 15px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* --- CAIXA DE BOAS-VINDAS --- */
.welcome-box {
  background-color: #f0f9fb;
  border: 2px dashed #6f9cb3;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
  color: #2c4959;
}

/* --- CARDS E SEÇÕES --- */
.card {
  background-color: #ffffff;
  border: 2px solid #8ab4ce;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 2px 2px 0px #a4c9de;
}

.card-title {
  font-size: 1.1rem;
  color: #315870;
  border-bottom: 2px dotted #8ab4ce;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

/* --- GRADE DE IMAGENS 2x2 --- */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Exact 2x2 */
  gap: 8px;
  margin-bottom: 12px;
}

.photo-item {
  background-color: #eaf4f8;
  border: 2px inset #badae8;
  padding: 4px;
  text-align: center;
}

.photo-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

/* --- FORMULÁRIOS RETRO --- */
.form-box {
  background-color: #f2f8fa;
  border: 1px solid #b3d1e0;
  padding: 10px;
  border-radius: 4px;
  margin-top: 8px;
}

.form-box h3 {
  font-size: 0.9rem;
  color: #3b6680;
  margin-bottom: 8px;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  margin: 6px 0 2px 0;
  color: #2c4959;
}

input[type="text"],
input[type="url"],
textarea {
  width: 100%;
  padding: 6px;
  border: 2px inset #cadde6;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 0.85rem;
  color: #1a303a;
  border-radius: 2px;
}

textarea {
  resize: vertical;
}

.retro-btn {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  background-color: #6a9ab5;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.85rem;
  border: 2px outset #aed3e6;
  border-radius: 3px;
  cursor: pointer;
}

.retro-btn:active {
  border-style: inset;
  background-color: #4f7b95;
}

/* --- RODAPÉ --- */
.footer {
  text-align: center;
  font-size: 0.75rem;
  color: #53778a;
  margin-top: 10px;
  padding: 10px;
}