/* Importação de Fonte do Google Fonts (Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Configurações Gerais do Body */
body {
    background-color: #f4f7f6;
    color: #2b2b2b;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* Links */
a:link, a:visited {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

a:hover {
    color: #d9534f;
    text-decoration: none;
}

/* Parágrafos */
p {
    margin: 10px 0 15px 0;
    padding: 5px 0;
}

/* Cabeçalho e Menu */
header {
    background-color: #1b365d;
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

header h1 {
    margin: 0 0 10px 0;
    font-size: 24pt;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

nav ul li a {
    color: #ffffff !important;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
}

nav ul li a:hover {
    background-color: #d9534f;
    color: #ffffff !important;
}

/* Estilização de Secções / Divs */
main {
    max-width: 900px;
    margin: 0 auto;
}

section {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 5px solid #1b365d;
}

h2 {
    color: #1b365d;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin-top: 0;
}

h3 {
    color: #4a5568;
}

/* Estilização de Formulários */
form {
    background-color: #f8fafc;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

label {
    font-weight: 600;
    color: #2d3748;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #1b365d;
    outline: none;
    box-shadow: 0 0 5px rgba(27, 54, 93, 0.3);
}

input[type="submit"],
input[type="reset"] {
    background-color: #1b365d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 10px;
    transition: background-color 0.3s;
}

input[type="reset"] {
    background-color: #718096;
}

input[type="submit"]:hover {
    background-color: #2b6cb0;
}

input[type="reset"]:hover {
    background-color: #4a5568;
}

/* Imagens e Multimédia */
img, iframe {
    max-width: 100%;
    border-radius: 6px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 10px;
    vertical-align: top;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 15px;
    background-color: #1b365d;
    color: #ffffff;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 13px;
}

footer p {
    margin: 0;
}