/* ===== STYLE.CSS - LES CONSULTORIA ===== */

/* Reset e Configurações Gerais */
* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #fdfcfb 0%, #f9f5f2 100%);
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none !important;
}

/* Botão de menu hambúrguer (visível apenas no mobile) */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000;
  background: #c9976b;
  border: none;
  border-radius: 8px;
  width: 45px;
  height: 45px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Overlay para menu mobile */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-overlay.ativo {
  display: block;
  opacity: 1;
}


/* ===== PÁGINA INICIAL ===== */

/* Tela de entrada: centraliza logo e botão */
body:not(.menu-ativo) {
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

body:not(.menu-ativo) #entrada-topo {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

body:not(.menu-ativo) .logo {
  width: 650px;
  max-width: 80vw;
  margin-bottom: 0px;
}

body:not(.menu-ativo) .entrar-btn {
  margin-top: 80px;
  font-size: 1rem;
  padding: 12px 32px;
}

/* ===== CABEÇALHO ===== */

#loja-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(135deg, #c9976b 0%, #f0e5d8 100%);
  box-shadow: 0 2px 8px #e8d5c4;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
}

.header-content {
  display: flex;
  align-items: center;
}

.logo-header {
  height: 60px;
}

/* ===== MENU LATERAL ===== */

#menu-nav {
  position: fixed;
  left: 0;
  top: 80px;
  width: 280px;
  height: calc(100vh - 80px);
  background: #fdfcfb;
  overflow-y: auto;
  padding: 24px 0;
  box-shadow: 2px 0 8px #e8d5c4;
  z-index: 800;
}

.menu-vertical {
  list-style: none;
  margin: 0;
  padding: 0 16px;
}

.menu-vertical li {
  margin: 0 0 15px 0;
}

.menu-vertical a {
  display: block;
  background: #f7f2ed;
  color: #8b6f47;
  padding: 18px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 1px 4px #e8d5c4;
  transition: background 0.5s ease, color 0.2s, transform 0.2s;
  font-size: 1.1rem;
}

.menu-vertical a:hover {
  background: #e8d5c4;
  color: #fff;
  transform: scale(1.12);
  z-index: 2;
}

.submenu-vertical {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 20px;
}

.submenu-vertical li {
  margin-bottom: 10px;
}

.submenu-vertical a {
  display: block;
  background: #f7f2ed;
  color: #8b6f47;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 1px 4px #e8d5c4;
  transition: background 0.5s ease, color 0.2s, transform 0.2s;
  font-size: 1.1rem;
}

.submenu-vertical a:hover {
  background: #e8d5c4;
  color: #fff;
  transform: scale(1.12);
  z-index: 2;
}

/* ===== SEÇÕES DE CONTEÚDO ===== */

section {
  margin-left: 280px;
  margin-top: 80px;
  padding: 40px;
  min-height: calc(100vh - 80px);
}

/* ===== CONFIGURAÇÃO DE TAMANHOS DAS IMAGENS DE FUNDO ===== */
/* AJUSTE OS VALORES ABAIXO PARA CADA ABA (ex: 50%, 80%, 100%, cover, contain) */

/* Backgrounds das Abas Principais */

/* A LES - todas as sub-abas compartilham este fundo */
#essencia-section,
#proposito-section,
#visao-section,
#valores-section,
#faca-parte-section {
  /* background-image: url('imagens/bg_ales.png'); */
  /* background-size: 88%; */
  /* background-position: right center; */
  /* background-repeat: no-repeat; */
  /* background-attachment: fixed; */
}

/* Nosso Jeito de Fazer */
#confidencialidade-section,
#etica-section,
#pontualidade-section,
#empatia-section,
#respeito-section {
  /* background-image: url('imagens/bg_jeito.png'); */
  /* background-size: 86%; */
  /* background-position: right center; */
  /* background-repeat: no-repeat; */
  /* background-attachment: fixed; */
}

/* Soluções */
#dev-organizacional-section,
#avaliacao-section,
#mentoria-section,
#saude-emocional-section {
  /* background-image: url('imagens/bg_solucoes.png'); */
  /* background-size: 88%; */
  /* background-position: right center; */
  /* background-repeat: no-repeat; */
  /* background-attachment: fixed; */
}

/* Treinamentos Corporativos */
#trein-rh-section,
#trein-liderancas-section,
#trein-personalizados-section {
  /* background-image: url('imagens/bg_treinamentos.png'); */
  /* background-size: 88%; */
  /* background-position: right center; */
  /* background-repeat: no-repeat; */
  /* background-attachment: fixed; */
}

/* Insights LES */
#insights-section {
  /* background-image: url('imagens/bg_insights.png'); */
  /* background-size: 85%; */
  /* background-position: right center; */
  /* background-repeat: no-repeat; */
  /* background-attachment: fixed; */
}

/* Carreiras */
#carreiras-section {
  /* background-image: url('imagens/bg_carreiras.png'); */
  /* background-size: 85%; */
  /* background-position: right center; */
  /* background-repeat: no-repeat; */
  /* background-attachment: fixed; */
}

/* Fale Conosco */
#contato-section {
  /* background-image: url('imagens/bg_contato.png'); */
  /* background-size: 85%; */
  /* background-position: right center; */
  /* background-repeat: no-repeat; */
  /* background-attachment: fixed; */
}

.conteudo-bg,
.contato-bg,
.sobre-bg {
  min-height: calc(100vh - 80px);
  padding: 40px;
}

.caixa-destaque {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  max-width: 1000px;
  margin: 0 auto;
}

.caixa-destaque h2 {
  color: #8b6f47;
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 3px solid #e8d5c4;
  padding-bottom: 12px;
}

.caixa-destaque p {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* ===== BOTÕES ===== */

.entrar-btn {
  background: #c9976b;
  color: #fff;
  border: 2px solid #e8d5c4;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px #e8d5c4;
  transition: all 0.2s;
}

.entrar-btn:hover {
  background: #8b6f47;
  transform: scale(1.05);
}

.entrar-btn:active {
  transform: scale(0.95);
}

/* ===== FORMULÁRIO DE CONTATO ===== */

/* Container dos ícones de contato */
.contatos-info {
  margin: 20px 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icone-contato {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.contato-item p {
  margin: 0;
  font-size: 1.15rem;
  color: #8b6f47;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
}

.contato-item a {
  color: #8b6f47;
  text-decoration: none;
  transition: color 0.3s;
}

.contato-item a:hover {
  color: #5a3e2b;
  text-decoration: underline;
}

.campo-edicao {
  width: 100%;
  padding: 12px 16px;
  margin: 10px 0;
  border: 2px solid #e8d5c4;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: border-color 0.2s;
}

.campo-edicao:focus {
  outline: none;
  border-color: #c9976b;
}

textarea.campo-edicao {
  resize: vertical;
  min-height: 120px;
}

#contato-form {
  margin-top: 24px;
}

/* ===== RESPONSIVIDADE ===== */

/* Tablet e dispositivos médios (768px - 1024px) */
@media (max-width: 1024px) {
  #menu-nav {
    width: 240px;
  }

  section {
    margin-left: 240px;
    padding: 30px;
  }

  .menu-vertical a {
    font-size: 1rem;
    padding: 14px 20px;
  }

  .submenu-vertical a {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  /* Ajuste de imagens de fundo para tablets */
  #essencia-section,
  #proposito-section,
  #visao-section,
  #valores-section,
  #faca-parte-section,
  #confidencialidade-section,
  #etica-section,
  #pontualidade-section,
  #empatia-section,
  #respeito-section,
  #dev-organizacional-section,
  #avaliacao-section,
  #mentoria-section,
  #saude-emocional-section,
  #trein-rh-section,
  #trein-liderancas-section,
  #trein-personalizados-section,
  #insights-section,
  #carreiras-section,
  #contato-section {
    background-size: 70%;
    background-attachment: scroll;
  }
}

/* Mobile - Celulares (max-width: 768px) */
@media (max-width: 768px) {
  /* Botão hambúrguer visível no mobile */
  .menu-toggle {
    display: flex;
  }

  /* Cabeçalho */
  #loja-header {
    height: 60px;
    padding: 0 10px;
    justify-content: flex-end;
  }

  .logo-header {
    height: 45px;
  }

  /* Menu lateral - transforma em menu completo na vertical */
  #menu-nav {
    width: 280px;
    height: calc(100vh - 60px);
    position: fixed;
    top: 60px;
    left: -280px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    padding: 16px 0;
    z-index: 999;
    transition: left 0.3s ease;
    background: #fdfcfb;
    overflow-y: auto;
  }

  #menu-nav.menu-aberto {
    left: 0;
  }

  .menu-vertical {
    padding: 0 12px;
  }

  .menu-vertical li {
    margin: 0 0 10px 0;
  }

  .menu-vertical a {
    font-size: 0.95rem;
    padding: 12px 16px;
  }

  .submenu-vertical {
    margin: 8px 0 0 12px;
  }

  .submenu-vertical a {
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  /* Seções de conteúdo */
  section {
    margin-left: 0;
    margin-top: 60px;
    padding: 20px 16px 16px 16px;
    min-height: auto;
  }

  .conteudo-bg,
  .contato-bg,
  .sobre-bg {
    min-height: auto;
    padding: 16px;
  }

  /* Ajuste de imagens de fundo para mobile */
  #essencia-section,
  #proposito-section,
  #visao-section,
  #valores-section,
  #faca-parte-section,
  #confidencialidade-section,
  #etica-section,
  #pontualidade-section,
  #empatia-section,
  #respeito-section,
  #dev-organizacional-section,
  #avaliacao-section,
  #mentoria-section,
  #saude-emocional-section,
  #trein-rh-section,
  #trein-liderancas-section,
  #trein-personalizados-section,
  #insights-section,
  #carreiras-section,
  #contato-section {
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }

  /* Caixa de conteúdo */
  .caixa-destaque {
    padding: 20px 16px;
    max-width: 100%;
    width: calc(100% - 16px);
    margin: 0 8px;
  }

  .caixa-destaque h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }

  .caixa-destaque p {
    font-size: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Tela de entrada */
  body:not(.menu-ativo) .logo {
    width: 85vw;
    max-width: 400px;
  }

  body:not(.menu-ativo) .entrar-btn {
    margin-top: 50px;
    font-size: 0.95rem;
    padding: 12px 24px;
  }

  body:not(.menu-ativo) .menu-toggle {
    display: none;
  }

  /* Botões */
  .entrar-btn {
    font-size: 1rem;
    padding: 12px 20px;
  }

  /* Formulário de contato */
  .contatos-info {
    gap: 12px;
    margin: 16px 0 24px 0;
  }

  .icone-contato {
    width: 45px;
    height: 45px;
  }

  .contato-item p {
    font-size: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .campo-edicao {
    padding: 10px 12px;
    font-size: 0.95rem;
    margin: 8px 0;
  }

  textarea.campo-edicao {
    min-height: 100px;
  }

  #contato-form {
    margin-top: 16px;
  }
}

/* Mobile muito pequeno (max-width: 480px) */
@media (max-width: 480px) {
  .logo-header {
    height: 40px;
  }

  .menu-vertical a {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .submenu-vertical a {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .caixa-destaque h2 {
    font-size: 1.2rem;
  }

  .caixa-destaque p {
    font-size: 0.95rem;
  }

  body:not(.menu-ativo) .logo {
    width: 90vw;
  }

  body:not(.menu-ativo) .entrar-btn {
    margin-top: 40px;
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .icone-contato {
    width: 40px;
    height: 40px;
  }

  .contato-item p {
    font-size: 0.85rem;
  }
}
