* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}

/* CORPO DA PÁGINA - cor de fundo, letra e cor do texto */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f5;
    color: #0a1020;
}

/* CABEÇALHO - fundo azul escuro com texto centrado */
header {
    background-color: #0a1020;
    color: #f4f6f5;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
/* O título do cabeçalho não precisa de espaço em baixo */
header h1 {
    margin-bottom: 0;
}
header figure {
    margin-right: auto;
}

/* CONTEÚDO PRINCIPAL */
main {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
}

/* TÍTULOS */
h1 {
    font-size: 30px;
    margin-bottom: 15px;
}

h2 {
    color: #0a1020;
    margin-bottom: 15px;
    border-bottom: 3px solid #ff7710;
    padding-bottom: 5px;
}

/* PARÁGRAFOS */
p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* IMAGENS */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* LOGO NO CABEÇALHO */
header img {
    width: 60px;
}

/* LEGENDAS DAS IMAGENS */
figcaption {
    font-size: 13px;
    color: #666666;
    text-align: center;
    margin-top: 5px;
}

/* Classe destaque */
.destaque {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: transparent;
    border: none;
    padding: 0;
}

.destaques {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: transparent;
    border: none;
    padding: 0;
}

/* Cada destaque cresce e encolhe, com 220px como tamanho base */
.destaques .destaque {
    flex: 1 1 220px;
    background-color: #0a1020;
    color: #f4f6f5;
    padding: 20px;
    border-radius: 8px;
    border-top: 4px solid #ff7710;
}

/* Selector ID para ir ao topo da pagina */
#topo {
    background-color: #0a1020;
    color: white;
}

/* SELETOR DE AGRUPAMENTO */
th,
td {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
}

/* padding cria espaço interno entre o conteúdo da secção e as suas bordas
margin-bottom cria espaço externo de 20px na parte inferior da secção
border-radius arredonda os cantos da secção
*/
section {
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #cccccc;
}


/* RODAPÉ */
footer {
    background-color: #0a1020;
    color: #f4f6f5;
    text-align: center;
    padding: 20px;
}

/* BOTÕES */
.botao {
    background-color: #ff7710;
    color: #0a1020;
    text-decoration: none;
    padding: 12px 20px;
    display: inline-block;
    font-weight: bold;
    border-radius: 5px;
}

.botaoTopo {
    background-color: #0a1020;
    color: #ff7710;
    text-decoration: none;
    padding: 12px 20px;
    display: inline-block;
    font-weight: bold;
    border-radius: 7px;
}

/* QUANDO O RATO PASSA SOBRE O BOTÃO */
.botao:hover {
    background-color: #0a1020;
    color: #f4f6f5;
}

/* MENU DE NAVEGAÇÃO */
.menu-horizontal {
    background-color: #0a1020;
}

/* REMOVER AS MARCAS DA LISTA */
.menu-horizontal ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

/* COLOCAR OS ITENS EM LINHA */
.menu-horizontal li {
    display: inline-block;
}

/* ESTILO DAS LIGAÇÕES */
.menu-horizontal a {
    display: block;
    padding: 15px 20px;
    color: #f4f6f5;
    text-decoration: none;
}

/* EFEITO QUANDO O RATO PASSA SOBRE O LINK */
.menu-horizontal a:hover {
    background-color: #ff7710;
    color: #0a1020;
}

/* EFEITO QUANDO O LINK RECEBE FOCO DO TECLADO */
.menu-horizontal a:focus {
    background-color: #ff7710;
    color: #0a1020;
    outline: 2px solid white;
}

/* IDENTIFICAR A PÁGINA ATUAL */
.menu-horizontal a.ativo {
    background-color: #ff7710;
    color: #0a1020;
    font-weight: bold;
}

/* MENU VERTICAL */
.menu-vertical {
    width: 250px;
    background-color: #0a1020;
    border-radius: 8px;
    margin-bottom: 25px;
}

/* LIGAÇÕES DO MENU VERTICAL */
.menu-vertical a {
    display: block;
    padding: 12px 15px;
    color: #f4f6f5;
    text-decoration: none;
    border-bottom: 1px solid #333b4d;
}

/* EFEITO AO PASSAR O RATO */
.menu-vertical a:hover {
    background-color: #ff7710;
    color: #0a1020;
}

/* EFEITO AO NAVEGAR COM O TECLADO */
.menu-vertical a:focus {
    background-color: #ff7710;
    color: #0a1020;
    outline: 2px solid #ff7710;
}

/* DESTACAR O SERVIÇO SELECIONADO PELA ÂNCORA */
tr:target {
    background-color: #ff7710;
    color: #0a1020;
    font-weight: bold;
}

/* TRANSIÇÃO SUAVE */
tbody tr {
    transition: background-color 0.3s;
}

/* DESLOCAMENTO SUAVE ATÉ À LINHA */
html {
    scroll-behavior: smooth;
}

/* CONTAINER DOS CARTÕES */
.container-cartoes {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* CARTÕES */
.cartao {
    display: inline-block;
    width: 300px;
    padding: 15px;
    margin: 10px;
    background-color: white;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    vertical-align: top;
}

/* IMAGENS DOS CARTÕES */
.cartao img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

/* TÍTULOS DOS CARTÕES */
.cartao h3 {
    margin: 15px 0;
    color: #0a1020;
}

/* TEXTOS DOS CARTÕES */
.cartao p {
    font-size: 14px;
}

