/* ================================================
   VMD Participações e Investimentos – style.css
   ================================================ */

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

p { text-align: justify; }

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; }

/* ================================================
   HEADER / NAVBAR
   ================================================ */
#site-header {
  transition: background 0.32s ease, box-shadow 0.32s ease;
  padding: 0;
  z-index: 1050;
}

/* ── Estado transparente (sobre o hero) ── */
#site-header.header-transparent {
  background: transparent !important;
  box-shadow: none !important;
}

#site-header.header-transparent .nav-link {
  color: #fff !important;
}

#site-header.header-transparent .navbar-divider-icon {
  color: #fff !important;
}

#site-header.header-transparent .toggler-icon {
  color: #fff !important;
}

/* ── Estado sticky (fundo branco após scroll) ── */
#site-header.header-sticky {
  background: #fff !important;
  box-shadow: 0 2px 14px rgba(0,0,0,.13) !important;
}

#site-header.header-sticky .nav-link {
  color: #444 !important;
}

#site-header.header-sticky .navbar-divider-icon {
  color: #444 !important;
}

#site-header.header-sticky .toggler-icon {
  color: #444 !important;
}

/* ── Logo switcher ── */
#site-header .logo-white { display: none; }
#site-header .logo-dark  { display: block; }

#site-header.header-transparent .logo-white { display: block; }
#site-header.header-transparent .logo-dark  { display: none; }

/* ── Navbar base ── */
.navbar {
  min-height: 64px;
  padding: 0;
}

.navbar-brand {
  padding: 0;
  line-height: 1;
  margin-right: 2rem;
}

.navbar-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* ── Nav links desktop ── */
.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.7rem !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link.active {
  color: #00a79d !important;
}

.navbar-nav .nav-link:hover {
  color: #00a79d !important;
}

/* ── Ícone ≡ no fim do menu desktop ── */
.navbar-divider-icon {
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.2rem 0.3rem;
  cursor: default;
  opacity: 0.8;
}

/* ── Toggler mobile (hamburger) ── */
.navbar-toggler {
  border: none;
  background: none;
  padding: 4px 8px;
  box-shadow: none !important;
  outline: none !important;
  margin-left: auto;
}

.toggler-icon {
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* Desktop: oculta o toggler */
@media (min-width: 992px) {
  .navbar-toggler { display: none !important; }
}

/* Mobile: oculta o menu collapse e o ícone ≡ desktop */
@media (max-width: 991px) {
  #navbarDesktop { display: none !important; }
}

/* ================================================
   OFFCANVAS MENU (mobile)
   ================================================ */
.offcanvas { max-width: 280px; }

.offcanvas-header {
  border-bottom: 1px solid #eee;
  padding: 1rem 1.25rem;
}

.mobile-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #333;
  padding: 0.85rem 0 !important;
  border-bottom: 1px solid #f0f0f0;
  text-transform: uppercase;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active { color: #00a79d; }

/* ================================================
   HERO / SLIDER
   ================================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  max-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 25, 55, 0.75) 0%,
    rgba(5, 45, 70, 0.58) 55%,
    rgba(0, 80, 110, 0.28) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.45rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin-bottom: 0.55rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.88rem, 1.6vw, 1.1rem);
  font-style: italic;
  font-weight: 500;
  color: #ddf0f5;
  text-align: center;
  margin-bottom: 1.8rem;
}

/* Wrapper dos dois botões lado a lado */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
}

/* Botão sólido – ATIVIDADES */
.btn-hero {
  display: inline-block;
  background: #00a79d;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 2.2rem;
  border-radius: 2px;
  border: 2px solid #00a79d;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn-hero:hover {
  background: #007f76;
  border-color: #007f76;
  color: #fff !important;
}

/* Botão fantasma – SOBRE NÓS (transparente, borda branca) */
.btn-hero--ghost {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
}

.btn-hero--ghost:hover {
  background: #00a79d;
  border-color: #00a79d;
  color: #fff !important;
}

/* ================================================
   SEÇÃO QUEM SOMOS
   ================================================ */
.section-quem-somos {
  background: #f6f6f6;
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.quem-somos-text p {
  font-size: 0.93rem;
  line-height: 1.82;
  color: #555;
  margin-bottom: 1rem;
}

.btn-saiba-mais {
  display: inline-block;
  background: #00a79d;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.62rem 1.9rem;
  border-radius: 2px;
  border: none;
  transition: background 0.25s;
}

.btn-saiba-mais:hover { background: #008a82; }

@media (max-width: 991px) {
  .quem-somos-text {
    text-align: center;
  }
}

.quem-somos-photo {
  /* Imagem do executivo – corte fiel ao print sobre-desktop.png */
  width: 100%;
  max-width: 520px;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  margin-left: auto;
  border-radius: 0;
  display: block;
  /* Permite que a imagem "vaze" pela borda direita como no print */
  position: relative;
  z-index: 1;
}

/* ================================================
   SEÇÃO ATIVIDADES COMERCIAIS
   ================================================ */
.section-atividades {
  background: #00a79d;
  padding-top: 68px !important;
  padding-bottom: 68px !important;
}

/* Divisor vertical desktop */
@media (min-width: 992px) {
  .atividades-left {
    border-right: 1px solid rgba(255,255,255,.3);
  }
}

.atividade-item { margin-bottom: 1.5rem; }
.atividade-item:last-child { margin-bottom: 0; }

.atividade-item p {
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.72;
  margin: 0;
}

.atividade-item p strong { font-weight: 700; }

.ativ-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.ativ-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.92rem, 1.8vw, 1.08rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.58;
  border: none;
  padding: 0;
  margin: 0;
}

.btn-atividades {
  display: inline-block;
  background: #fff;
  color: #00a79d !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 2.2rem;
  border-radius: 2px;
  border: 2px solid #fff;
  transition: background 0.25s, color 0.25s;
}

.btn-atividades:hover {
  background: transparent;
  color: #fff !important;
}

/* Mobile atividades */
@media (max-width: 991px) {
  .atividades-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.3);
    padding-bottom: 2.2rem;
    margin-bottom: 2rem;
  }
  .atividades-right {
    padding-left: 0 !important;
  }
}

/* ================================================
   SEÇÃO SERVIÇOS / PORTFÓLIO
   ================================================ */
.section-servicos {
  background: #fff;
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

/* Linha separadora entre grupos */
.servicos-row-group {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.servicos-row-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .servicos-row-group {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

.servico-item {
  text-align: center;
}

.servico-logo {
  /* Desktop: logo maior para 4 colunas */
  width: 160px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 0.65rem;
  transition: transform 0.25s ease;
}

.servico-logo:hover { transform: scale(1.06); }

.servico-name {
  font-size: 0.82rem;
  color: #444;
  line-height: 1.45;
  margin-bottom: 0;
  text-align: center;
}

.tag-acion {
  color: #00a79d;
  font-style: italic;
  font-size: 0.77rem;
  display: block;
  text-align: center;
}

.servico-url {
  font-size: 0.73rem;
  color: #00a79d;
  display: block;
  margin-top: 0.2rem;
  text-align: center;
}

/* Mobile: logos empilhados um abaixo do outro, tudo centralizado */
@media (max-width: 575px) {
  .servico-item {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
  }
  .servico-logo {
    width: 140px;
    height: 80px;
    margin: 0 auto 0.8rem;
  }
  .servico-name,
  .tag-acion,
  .servico-url {
    text-align: center;
    font-size: 0.85rem;
  }
}

/* Ajustes Mobile para Seção Verde (Atividades) */
@media (max-width: 991px) {
  .atividade-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem !important;
  }
  .ativ-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  .atividades-right {
    align-items: center !important;
    text-align: center;
  }
  .ativ-quote {
    text-align: center;
  }
}

/* ================================================
   SEÇÃO CONTATOS
   ================================================ */
.section-contatos {
  background: #fff;
  border-top: 1px solid #ebebeb;
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.contatos-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.4rem;
}

.contatos-divider {
  width: 38px;
  height: 3px;
  background: #00a79d;
  margin-bottom: 2.2rem;
}

/* Inputs estilo linha */
.contact-input {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  font-size: 0.88rem;
  color: #333;
  box-shadow: none !important;
  transition: border-color 0.2s;
}

.contact-input:focus {
  border-bottom-color: #00a79d;
  background: transparent;
  box-shadow: none !important;
  outline: none;
}

textarea.contact-input { resize: vertical; }

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 0.3rem;
}

.btn-enviar {
  background: #00a79d;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 2.4rem;
  border-radius: 2px;
  border: none;
  transition: background 0.25s;
}

.btn-enviar:hover { background: #008a82; color: #fff; }

.contatos-address {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.85;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: #f2f2f2;
  border-top: 1px solid #e0e0e0;
}

.site-footer p {
  font-size: 0.77rem;
  color: #999;
}

/* ================================================
   HERO MOBILE
   ================================================ */
@media (max-width: 767px) {
  .hero-section {
    height: 100svh;
    max-height: 720px;
  }

  .hero-content {
    padding-top: 90px;
    text-align: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-title { font-size: 1.35rem; }
  .hero-subtitle { font-size: 0.86rem; }
}

/* ================================================
   UTILITÁRIOS
   ================================================ */
.nav-link.active { color: #00a79d !important; }
