/* Variáveis de cores */
:root {
  --cor-fundo: #000e17;
  --cor-texto: #fff;
  --cor-cta: #00d0b1;
  --cor-fundo-header: #fff;
  --cor-fundo-footer: #222323;
}

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

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cor-fundo-header);
  padding: 1rem 2rem;
  color: black;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.logo span {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.cta {
  background-color: var(--cor-cta);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* Hero */
.hero {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
}

/* Galeria */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-auto-rows: 150px;
  gap: 1rem;
  flex: 1;
}

.galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.grande {
  grid-column: span 2;
  grid-row: span 2;
}

.media {
  grid-column: span 1;
  grid-row: span 1;
}

.pequena {
  grid-column: span 1;
  grid-row: span 1;
}

/* Formulário */
.text-form {
  flex: 1;
  max-width: 500px;
}

.text-form h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-form form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.text-form input,
.text-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
}

.text-form button {
  background-color: var(--cor-cta);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: var(--cor-fundo-footer);
  color: var(--cor-texto);
  padding: 20px;
  text-align: center;
}

footer a {
  color: var(--cor-cta);
  text-decoration: none;
}

footer a:hover {
  color: #ccc;
}

footer i {
  margin-right: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  .galeria {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  .text-form {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1rem;
  }
  .galeria {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  }
  .text-form {
    max-width: 200px;
  }
}