html {
  scroll-behavior: smooth;
}

.navbar {
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  height: 120px;
}

/* ITENS DO MENU MAIORES */
.navbar .nav-link {
  font-size: 1.38rem;
  font-weight: 500;
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}

.navbar-brand,
.nav-link,
.navbar-toggler {
  color: #003366 !important;
}

.navbar-brand img {
  height: 120px;
  max-height: 120px;
  width: auto;
  vertical-align: middle;
  margin-right: 18px;
}

.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:hover {
  color: #ffc107 !important;
}

.dropdown-toggle {
  color: #003366 !important;
  border-color: #003366 !important;
  background: #fff !important;
}

.dropdown-toggle::after {
  color: #003366;
}

.dropdown-menu {
  min-width: 60px;
  background: #fff;
  border: 1px solid #e3e3e3;
}

.dropdown-item {
  color: #003366;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #f5f9fc;
  color: #ffc107;
}

/* ÍCONES DAS REDES MAIORES */
.fab,
.fa-brands {
  color: #003366 !important;
  transition: color .2s;
  margin-right: 0.4em;
  font-size: 1.7em;
}

.fab:hover,
.fa-brands:hover {
  color: #ffc107 !important;
}

/* Espaçamento entre ícones */
.navbar .d-flex.align-items-center a {
  margin-right: 0.6em;
}
.navbar .d-flex.align-items-center a:last-child {
  margin-right: 0;
}

/* Ajuste para navbar extras (idioma + redes) no desktop */
@media (min-width: 992px) {
  .navbar-extras {
    margin-left: 1.5rem !important;
  }
}

/* Espaço para os ícones e idioma no mobile */
.navbar .dropdown,
.navbar .d-flex.align-items-center > a {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Espaçamento do bloco no mobile */
@media (max-width: 991.98px) {
  .navbar-extras {
    width: 100%;
    justify-content: flex-start !important;
    margin-top: 0.7em;
    margin-left: 0;
  }
  .navbar-extras .dropdown { margin-bottom: 0.5em; }
  .navbar-extras .d-flex.align-items-center { margin-bottom: 0.4em; }
  .navbar .d-lg-none {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
  }
  .hero {
    padding-top: 80px;
  }
}

/* Banner principal */
.hero {
  background: #003366 url('img/navio-no-mar.jpg') center/cover no-repeat;
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-text {
  background: rgba(0, 0, 0, 0.6);
  padding: 2em;
  border-radius: 12px;
}
.hero-text h1,
.hero-text p {
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.7);
}

/* Ajuste para telas pequenas (mobile) */
@media (max-width: 768px) {
  .navbar-brand {
    height: 70px;
  }
  .navbar-brand img {
    height: 70px;
    max-height: 70px;
  }
  .navbar .nav-link {
    font-size: 1.12rem;
  }
  .fab,
  .fa-brands {
    font-size: 1.24em;
  }
  .hero-text {
    padding: 1.2em 1em !important;
    border-radius: 10px;
  }
  .hero-text h1 {
    font-size: 1.6em !important;
    word-break: break-word;
    white-space: normal;
    line-height: 1.1;
    margin-bottom: 0.7em;
  }
  .hero-text p {
    font-size: 1.07em;
  }
  .hero {
    min-height: 60vh;
  }
}

/* Serviços */
.section-title {
  color: #003366;
  margin-bottom: 2em;
  font-weight: 700;
}

.service-icon {
  font-size: 2.5em;
  color: #003366;
  margin-bottom: 0.3em;
}

/* Rodapé */
.footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 2em 0;
  margin-top: 3em;
}

/* Missão/Visão/Valores cards */
.mv-card {
  background: #f5f9fc;
  border-radius: 8px;
  padding: 1.5em;
  margin-bottom: 1.5em;
  box-shadow: 0 1px 4px #d1d1d1;
}
.mv-card h5 {
  color: #003366;
  font-weight: 700;
}
.mv-list li {
  margin-bottom: 0.7em;
  font-size: 1.08em;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}
.mv-list i {
  font-size: 1.2em;
  margin-top: 3px;
}

/* Serviços (Portfólio) */
.portfolio-list {
  columns: 2 300px;
  -webkit-columns: 2 300px;
  -moz-columns: 2 300px;
  font-size: 1.1em;
  padding-left: 1.5em;
}

@media (max-width: 700px) {
  .portfolio-list {
    columns: 1;
  }
  .experience-highlight .col-lg-4 {
    margin-bottom: 2em;
  }
}

/* Ajuste de âncoras para navegação suave */
.section-offset {
  scroll-margin-top: 90px;
}
section[id] {
  scroll-margin-top: 90px;
}

/* Imagens responsivas */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Imagem dos pilares */
.nossos-pilares-img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
@media (max-width: 768px) {
  .nossos-pilares-img {
    max-width: 260px;
    margin-top: 32px;
  }
}

/* Card dos pilares */
.pilares-card {
  background: #f5f9fc;
  border-left: 6px solid #003366;
}

.experience-highlight {
  background: #f5f9fc;
}

.experience-box {
  display: inline-block;
  background: #fff;
  border-left: 8px solid #ffc107;
  border-radius: 10px;
  padding: 2em 2.5em;
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
  margin-bottom: 0.5em;
}

.exp-icon {
  display: inline-block;
  margin-bottom: 0.6em;
}
@media (max-width: 700px) {
  .experience-box {
    padding: 1.3em 0.7em;
  }
  .experience-highlight h3 {
    font-size: 1.25em;
  }
}