/* Estilo geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

h1, h2 {
    margin-bottom: 10px;
    color: #333;
}

p {
    margin-bottom: 20px;
}

/* Estilo do cabeçalho */
header {
    background-color: #90c4c1;
    color: white;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Estilo da seção principal */
main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

#inicio {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#sobre {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo do rodapé */
footer {
    background-color: #90c4c1;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Estilo para o container do formulário */
.container {
  max-width: 500px;
  margin: 40px auto;
  padding: 32px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Estilo dos inputs e textarea */
.form-control {
  width: 100%;
  padding: 16px 12px;
  margin-bottom: 18px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 1.1rem;
  transition: border-color 0.2s;
  background: #f9f9f9;
}

.form-control:focus {
  border-color: #0078d7;
  outline: none;
  background: #fff;
}

/* Estilo do botão de submit */
.btn {
  width: 100%;
  padding: 16px 0;
  background: #0078d7;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.btn:hover,
.btn:focus {
  background: #005fa3;
  transform: translateY(-2px) scale(1.03);
}

/* Espaçamento entre colunas */
.form-row {
  display: flex;
  gap: 16px;
}

.col {
  flex: 1;
}

/* Responsivo para ecrãs pequenos */
@media (max-width: 600px) {
  .container {
    padding: 16px 8px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}