/* =========================
   RESET BÁSICO
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* =========================
   HEADER
========================= */
.site-header {
  background-color: #0b3c5d;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 144px;
}

/* LOGO (VERSÃO DEFINITIVA) */
.logo {
  display: block;
  flex-shrink: 0;   /* <<< linha-chave */
}

.logo img {
  display: block;
  height: 300px;
  border: 5px solid red;
}

/* MENU */
.main-nav a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 18px;
  font-weight: bold;
}

.main-nav a:last-child {
  margin-right: 0;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* SELETOR DE IDIOMA */
.lang-switch {
  color: #ffffff;
  font-size: 14px;
}

.lang-switch a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.lang-switch a:hover {
  text-decoration: underline;
}

.active-lang {
  opacity: 0.7;
  cursor: default;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;

  background-image: url("/assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;

  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;

  color: #ffffff;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
}

/* =========================
   SEÇÕES
========================= */
.section {
  padding: 50px 20px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  color: #0b3c5d;
}

/* =========================
   SERVIÇOS
========================= */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;

  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  background: #fff;
}

.service img {
  max-width: 320px;
  width: 100%;
  border-radius: 6px;
}

/* =========================
   CONTATO
========================= */
.contact-box {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

/* =========================
   FORMULÁRIO
========================= */
form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

form button {
  background: #0b3c5d;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

form button:hover {
  background: #094060;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #f4f4f4;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 40px;
}

/* =========================
   LOGO — FIX FINAL
========================= */

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 120px;
  width: auto;
  max-width: none;
  max-height: none;
  border: none; /* REMOVE borda vermelha */
}