* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: ui-sans-serif,-apple-system,system-ui,Segoe UI,Helvetica,Apple Color Emoji,Arial,sans-serif,Segoe UI Emoji,Segoe UI Symbol;
    font-weight: lighter;
    color: black;
}

header {
    background-color: #11161a;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 10px 20px;
}

h1 {
    display: inline-block;
    margin-right: 40px;
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

h2 {
    font-size: 1.8em;
    font-weight: 500;
    margin-bottom: 20px;
    color: #1b2c50;
}

h1 > span {
    text-transform: uppercase;
    color: #00b6fc;
    font-weight: bold;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-right: 2em;
}

nav li a {
    color: white;
    text-decoration: none;
}

nav li a:hover {
    text-decoration: underline;
}

main {
    background-color: #f9f9f9;
}

#inicio {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
    background-color: #1b2c50;
}

#inicio div {
    padding: 20px;
}

#inicio h2, #inicio p {
    color: white;
}

#inicio p span {
    font-weight: bold;
    font-size: 2em;
    color: #d6d645;
}

#servicos {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;

    margin-top: 20px;
    margin-bottom: 20px;
}

#servicos div#servicos-titulo {
    text-align: center;
}

#servicos div#cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 40px;
}

#servicos div#garantia {
    background-color: #d6d645;
    padding: 20px;
    width: 100%;
    text-align: center;
}

#servicos > div#garantia p {
    font-weight: normal;
}

.servico-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden; /* corta qualquer sobra */
    border: none;     /* remove a borda, que causa o vazamento visual */
}

.servico-card img {
    width: 100%;
    display: block;
}

.servico-card div {
    padding: 15px;
}

#mapa {
    flex: 1 1 400px;  /* cresce e encolhe conforme o espaço */
    min-width: 300px; /* não fica minúsculo no celular */
    max-width: 600px; /* não fica minúsculo no celular */
    height: auto;
}

#mapa iframe {
    width: 100%;
    border: 0;
}

#contato {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 20px;
    padding-bottom: 75px;
}

#contato div p span {
    font-weight: bold;
}

#sobre-nos {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

#sobre-nos div {
    display: inline-block;
    max-width: 1000px;
}

footer {
    background-color: #11161a;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    position: fixed;
    bottom: none;
}

footer p {
    color: white;
    font-size: 0.9em;
}

/* --- Versão MOBILE --- */
@media (max-width: 768px) {
  nav {
    display: none;
  }
}