/* ============================================================
   WM Group — Stylesheet
   Fonte: Inter (Google Fonts)
   Paleta: Fundo escuro #1f1f34 | Dourado #bd9b59/#ca9c3c | Branco
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: #e4e4e5;
  background: #0c0c14;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Variáveis ---------- */
:root {
  --fundo:       #0c0c14;
  --fundo-alt:   #13131e;
  --painel:      #171723;
  --borda:       #2a2a3a;
  --dourado:     #bd9b59;
  --dourado-2:   #ca9c3c;
  --bronze:      #917a5d;
  --bronze-esc:  #403025;
  --azul-logo:   #2596be;
  --branco:      #ffffff;
  --texto:       #e4e4e5;
  --texto-mute:  #96969e;
  --verde-wa:    #25D366;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--fundo);
  border-bottom: 1px solid var(--borda);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 32px;
}

nav ul li a {
  color: rgba(228,228,229,.8);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

nav ul li a:hover { color: var(--dourado); }

/* Hamburguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--branco);
  transition: all .3s;
}

/* Mobile nav aberto */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--fundo);
    border-bottom: 1px solid var(--borda);
    padding: 16px 24px 24px;
  }

  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--borda);
    font-size: 15px;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: 72px;
  background: var(--fundo);
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(189,155,89,.12) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 1; }

.hero-logo {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 28px;
}

.hero-badge {
  display: inline-block;
  background: rgba(189,155,89,.1);
  border: 1px solid rgba(189,155,89,.35);
  color: var(--dourado);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--branco);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  color: var(--texto-mute);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 560px;
  margin: 0 auto 36px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--dourado-2), var(--dourado));
  color: #1f1f34;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 4px;
  transition: opacity .2s, transform .2s;
}

.btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--dourado);
  color: var(--dourado);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 4px;
  transition: background .2s, color .2s;
}

.btn-outline:hover {
  background: var(--dourado);
  color: #1f1f34;
}

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
section { padding: 72px 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--texto-mute);
  max-width: 580px;
  margin-bottom: 48px;
}

.section-bg { background: var(--fundo-alt); }

/* ============================================================
   EMPRESAS — CARDS
   ============================================================ */
.empresas { background: var(--fundo-alt); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--painel);
  border: 1px solid var(--borda);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  transform: translateY(-3px);
  border-color: var(--dourado);
}

.card-header {
  background: var(--fundo);
  padding: 28px 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-header img {
  height: 84px;
  width: auto;
}

.card-header h3 {
  color: var(--branco);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-header p {
  color: var(--texto-mute);
  font-size: 13px;
}

.card-body { padding: 24px; }

.card-body ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }

.card-body ul li {
  font-size: 14px;
  color: var(--texto);
  padding-left: 16px;
  position: relative;
}

.card-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--dourado);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dourado);
  font-weight: 600;
  font-size: 14px;
}

.card-link::after {
  content: '→';
}

/* ============================================================
   CLIENTES
   ============================================================ */
.clientes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}

.cliente-logo-placeholder {
  width: 180px;
  height: 90px;
  background: var(--painel);
  border: 1px dashed var(--borda);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cliente-logo-placeholder span {
  font-size: 12px;
  color: var(--texto-mute);
  opacity: 0.5;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contato-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 24px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contato-item .icon {
  width: 40px;
  height: 40px;
  background: var(--painel);
  border: 1px solid var(--borda);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contato-item .info-text {
  display: flex;
  flex-direction: column;
}

.contato-item .info-text span:first-child {
  font-size: 12px;
  font-weight: 600;
  color: var(--texto-mute);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contato-item .info-text a,
.contato-item .info-text span:last-child {
  font-size: 15px;
  color: var(--texto);
  font-weight: 500;
}

.contato-item .info-text a:hover { color: var(--dourado); }

/* Formulário */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--borda);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--texto);
  background: var(--painel);
  transition: border-color .2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--texto-mute); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dourado);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--dourado-2), var(--dourado));
  color: #1f1f34;
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}

.btn-submit:hover { opacity: .9; }

@media (max-width: 768px) {
  .contato-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--fundo);
  color: var(--texto-mute);
  padding: 48px 0 24px;
  border-top: 1px solid var(--borda);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--branco);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .3px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  font-size: 13px;
  color: var(--texto-mute);
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--dourado); }

.footer-bottom {
  border-top: 1px solid var(--borda);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--verde-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--branco);
}

/* ============================================================
   PÁGINA INTERNA — EMPRESA
   ============================================================ */
.empresa-hero {
  margin-top: 72px;
  background: var(--fundo);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--borda);
}

.empresa-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.empresa-hero .empresa-logo {
  height: 64px;
  width: auto;
  margin-bottom: 18px;
}

/* Botão Início (voltar) — usado no menu das páginas internas */
nav ul li .btn-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(189,155,89,.12);
  border: 1px solid rgba(189,155,89,.4);
  color: var(--dourado);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background .2s, color .2s, border-color .2s;
}

nav ul li .btn-home:hover {
  background: var(--dourado);
  color: #1f1f34;
  border-color: var(--dourado);
}

.btn-home svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

@media (max-width: 768px) {
  nav ul li .btn-home {
    display: inline-flex;
    margin-bottom: 6px;
  }
}

.empresa-hero h1 {
  color: var(--branco);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.empresa-hero .subtitulo {
  color: var(--texto-mute);
  font-size: 16px;
  margin-bottom: 28px;
}

.empresa-hero-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.empresa-hero-imgs .img-placeholder {
  aspect-ratio: 4/3;
  background: var(--fundo-alt);
  border: 1px solid var(--borda);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-mute);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 768px) {
  .empresa-hero-inner { grid-template-columns: 1fr; }
  .empresa-hero-imgs { display: none; }
}

/* Serviços lista */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.servico-item {
  background: var(--painel);
  border: 1px solid var(--borda);
  border-left: 4px solid var(--dourado);
  border-radius: 4px;
  padding: 20px;
}

.servico-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 6px;
}

.servico-item p {
  font-size: 13px;
  color: var(--texto-mute);
  line-height: 1.5;
}

/* Diferenciais */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.diferencial-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--painel);
  border: 1px solid var(--borda);
  border-radius: 6px;
}

.diferencial-item .d-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.diferencial-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 6px;
}

.diferencial-item p {
  font-size: 13px;
  color: var(--texto-mute);
}

/* CTA Banner */
.cta-banner {
  background: var(--fundo-alt);
  padding: 56px 0;
  text-align: center;
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

.cta-banner h2 {
  color: var(--branco);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--texto-mute);
  font-size: 15px;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.portfolio-item {
  aspect-ratio: 4/3;
  background: var(--painel);
  border: 1px solid var(--borda);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-mute);
  font-size: 13px;
}

/* ============================================================
   PÁGINA PMOC — Hero, Etapas, Caixa de Alerta
   ============================================================ */
.pmoc-hero {
  margin-top: 72px;
  background: var(--fundo);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--borda);
  text-align: center;
}

.pmoc-hero .hero-badge { margin-bottom: 20px; }

.pmoc-hero h1 {
  color: var(--branco);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.pmoc-hero p {
  color: var(--texto-mute);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 620px;
  margin: 0 auto 32px;
}

.pmoc-hero-img {
  max-width: 720px;
  aspect-ratio: 16/7;
  margin: 0 auto;
  background: var(--fundo-alt);
  border: 1px solid var(--borda);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-mute);
  font-size: 13px;
}

.pmoc-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Imagem ilustrativa lateral, usada entre seções de texto */
.img-placeholder-block {
  aspect-ratio: 16/9;
  background: var(--fundo-alt);
  border: 1px solid var(--borda);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto-mute);
  font-size: 13px;
  text-align: center;
  margin: 32px 0;
}

/* Etapas do processo PMOC */
.pmoc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.pmoc-step {
  position: relative;
  background: var(--painel);
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 28px 20px;
}

.pmoc-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dourado-2), var(--dourado));
  color: #1f1f34;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
}

.pmoc-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 8px;
}

.pmoc-step p {
  font-size: 13px;
  color: var(--texto-mute);
  line-height: 1.6;
}

/* Caixa de alerta — riscos de não ter PMOC */
.alerta-box {
  background: rgba(189, 99, 59, .08);
  border: 1px solid rgba(189, 99, 59, .35);
  border-left: 4px solid #bd6b3b;
  border-radius: 6px;
  padding: 28px 28px 28px 24px;
}

.alerta-box h3 {
  color: #e0a37e;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alerta-box ul { display: flex; flex-direction: column; gap: 10px; }

.alerta-box ul li {
  font-size: 14px;
  color: var(--texto);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.alerta-box ul li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 0;
  color: #e0a37e;
  font-weight: 700;
}

/* Grid "quem precisa" */
.quem-precisa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.quem-precisa-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--fundo-alt);
  border: 1px solid var(--borda);
  border-radius: 6px;
}

.quem-precisa-item .qp-icon { font-size: 30px; margin-bottom: 10px; }

.quem-precisa-item p {
  font-size: 13px;
  font-weight: 600;
  color: var(--texto);
}
