/* =========================================================
   TBS – Trust Business Services
   Versão estática (HTML + CSS) — fiel ao site original
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&family=Roboto:wght@400;500;700&display=swap");

:root {
  --laranja: #ec6426;
  --laranja-escuro: #e76600;
  --texto: #8c8e90;
  --titulo: #2c2c2c;
  --escuro: #33373d;
  --cinza-claro: #f8f8f8;
  --rodape: rgba(14, 14, 14, 0.92);
  --branco: #fff;
  --largura: 1140px;
  --raio: 6px;
  --fonte: "Rubik", sans-serif;
  --fonte-botao: "Roboto", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 15px;
  line-height: 1.7;
  color: var(--texto);
  background: var(--branco);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--laranja); text-decoration: none; transition: color .2s; }
a:hover { color: var(--laranja-escuro); }

h1, h2, h3, h4 { color: var(--titulo); line-height: 1.25; margin: 0 0 .6em; font-weight: 500; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 20px; }
.destaque { color: var(--laranja); }
.texto-centro { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--laranja); color: #fff; padding: 8px 14px; z-index: 999;
}
.skip-link:focus { left: 10px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--fonte-botao);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  background: var(--laranja);
  padding: 13px 26px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--laranja-escuro); color: #fff; }
.btn--contorno { background: transparent; border: 2px solid #fff; }
.btn--contorno:hover { background: #fff; color: var(--laranja); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--escuro); color: #ccc; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 10px; flex-wrap: wrap; }
.topbar a { color: #ddd; }
.topbar a:hover { color: var(--laranja); }
.topbar__contactos, .topbar__social { display: flex; gap: 18px; align-items: center; }
.topbar svg { width: 13px; height: 13px; fill: currentColor; vertical-align: -2px; margin-right: 5px; }
.topbar__social svg { margin: 0; width: 15px; height: 15px; }

/* ---------- Cabeçalho ---------- */
.header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.05); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 83px; gap: 20px; }
.logo img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav__menu > li { position: relative; }
.nav__menu a { color: var(--titulo); font-weight: 500; padding: 28px 0; display: block; }
.nav__menu a:hover, .nav__menu a.ativo { color: var(--laranja); }

.submenu {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: -16px; min-width: 250px;
  background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-top: 3px solid var(--laranja);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s;
}
.nav__menu li:hover > .submenu,
.nav__menu li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { padding: 8px 18px; font-weight: 400; font-size: 14px; }
.tem-submenu > a::after { content: " ▾"; font-size: 11px; }

.idiomas { display: flex; gap: 10px; font-size: 13px; }
.idiomas a { color: var(--texto); }
.idiomas a.ativo { color: var(--laranja); font-weight: 500; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--titulo); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 500px;
  display: flex; align-items: center;
  text-align: center; color: #fff;
  background: url("https://tbs-lda.co.mz/wp-content/uploads/2025/12/it-employees-startup-office-working-computer-desks-scaled.jpg") center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.hero .container { position: relative; }
.hero__sub { color: #fff; font-size: 20px; font-weight: 400; margin-bottom: 14px; }
.hero h1 { color: var(--laranja); font-size: clamp(32px, 5vw, 54px); font-weight: 500; max-width: 820px; margin: 0 auto 20px; }
.hero p { max-width: 760px; margin: 0 auto 28px; color: #eee; }

.page-hero { min-height: 300px; }
.page-hero h1 { color: #fff; }

/* ---------- Secções ---------- */
.secao { padding: 90px 0; }
.secao--cinza { background: var(--cinza-claro); }
.secao__titulo { text-align: center; font-size: clamp(26px, 3vw, 34px); margin-bottom: 50px; }

/* Grelha de serviços */
.servicos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.servico { display: flex; gap: 18px; align-items: flex-start; }
.servico__icone {
  flex: 0 0 60px; height: 60px; border-radius: var(--raio);
  background: var(--laranja); display: grid; place-items: center;
}
.servico__icone svg { width: 28px; height: 28px; fill: #fff; }
.servico h3 { font-size: 20px; margin-bottom: 6px; }
.servico p { margin: 0; }

/* Faixa Outdoors */
.faixa { background: var(--laranja); color: #fff; padding: 70px 0; text-align: center; }
.faixa h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.faixa p { max-width: 780px; margin: 0 auto; }

/* Bloco texto + imagem */
.bloco { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.bloco + .bloco { margin-top: 90px; }
.bloco--invertido .bloco__imagem { order: -1; }
.bloco h2 { font-size: clamp(26px, 3vw, 34px); }
.bloco__imagem img { border-radius: var(--raio); box-shadow: 0 20px 40px rgba(0,0,0,.12); width: 100%; }

/* Números */
.numeros {
  position: relative; color: #fff; text-align: center;
  background: url("https://tbs-lda.co.mz/wp-content/uploads/2025/12/561306176_1298524075619452_7825248404848105625_n.jpg") center/cover fixed;
}
.numeros::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.numeros .container { position: relative; }
.numeros h2 { color: #fff; }
.numeros__grelha { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.numero__valor { font-size: 52px; font-weight: 600; color: var(--laranja); line-height: 1; }
.numero__rotulo { margin-top: 10px; color: #eee; }

/* Clientes */
.clientes { display: grid; gap: 30px; }
.clientes img { margin: 0 auto; }
.logos-grelha { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: center; }
.logos-grelha div { background: #fff; border-radius: var(--raio); padding: 20px; height: 120px; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.logos-grelha img { max-height: 80px; width: auto; object-fit: contain; }

/* Processo (Sobre nós) */
.processo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.etapa { background: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.etapa img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.etapa__corpo { padding: 24px; }
.etapa__num { color: var(--laranja); font-weight: 600; font-size: 13px; letter-spacing: 1px; }
.etapa h3 { font-size: 19px; margin-top: 4px; }

/* Chamada orçamento */
.cta { background: var(--laranja); color: #fff; text-align: center; padding: 70px 0; }
.cta h2 { color: #fff; text-transform: uppercase; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta p { font-size: 18px; margin-bottom: 26px; }

/* Formulário */
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 13px; color: var(--titulo); margin-bottom: 4px; }
.form .total { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%; font: inherit; color: var(--titulo);
  padding: 12px 14px; border: 1px solid #ddd; border-radius: 3px; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--laranja); }
.form textarea { min-height: 130px; resize: vertical; }

.info-contacto { list-style: none; padding: 0; margin: 0 0 24px; }
.info-contacto li { margin-bottom: 10px; }
.info-contacto strong { color: var(--titulo); font-weight: 500; }

.mapas { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mapas h3 { font-size: 18px; }
.mapas iframe { width: 100%; height: 320px; border: 0; border-radius: var(--raio); }

/* ---------- Rodapé ---------- */
.rodape { background: #111; color: #aaa; }
.rodape__escritorios { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.rodape h2, .rodape h3 { color: #fff; font-size: 18px; margin-bottom: 16px; }
.rodape__grelha { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding: 40px 0; }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape li { margin-bottom: 8px; }
.rodape a { color: #aaa; }
.rodape a:hover { color: var(--laranja); }
.rodape__social { display: flex; gap: 10px; }
.rodape__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.rodape__social a:hover { background: var(--laranja); }
.rodape__social svg { width: 16px; height: 16px; fill: #fff; }
.rodape__copy { text-align: center; font-size: 13px; padding: 14px 0; background: #0a0a0a; }

/* WhatsApp flutuante */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .servicos { grid-template-columns: repeat(2, 1fr); }
  .logos-grelha { grid-template-columns: repeat(4, 1fr); }
  .rodape__grelha { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.08);
    display: none;
  }
  .nav.aberto { display: flex; }
  .nav__menu { flex-direction: column; gap: 0; }
  .nav__menu a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
  .tem-submenu.aberto > .submenu { display: block; }
  .idiomas { padding: 14px 0; }
  .header .btn { display: none; }

  .bloco, .contacto, .mapas { grid-template-columns: 1fr; gap: 36px; }
  .bloco--invertido .bloco__imagem { order: 0; }
  .processo { grid-template-columns: 1fr; }
  .numeros__grelha { grid-template-columns: repeat(2, 1fr); }
  .numeros { background-attachment: scroll; }
}

@media (max-width: 600px) {
  .secao { padding: 60px 0; }
  .servicos, .form { grid-template-columns: 1fr; }
  .logos-grelha { grid-template-columns: repeat(2, 1fr); }
  .rodape__grelha { grid-template-columns: 1fr; }
  .topbar__contactos span.ocultar-mobile { display: none; }
}
