/* =========================================================
   Meia Lua & D'Barreto Confecções — folha de estilo única
   Paleta: preto tático + laranja Invictus
   ========================================================= */

:root {
  --preto: #0b0b0c;
  --grafite: #141417;
  --linha: #26262b;
  --laranja: #ff5a1f;
  --claro: #ececee;
  --apagado: #8e8e96;
  --branco: #ffffff;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --corpo: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --largura: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--preto);
  color: var(--claro);
  font-family: var(--corpo);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--laranja); }

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

/* ---------- Cabeçalho ---------- */

.topo {
  background: var(--preto);
  border-bottom: 2px solid var(--laranja);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topo .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.marca {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--branco);
  text-decoration: none;
  line-height: 1.1;
}

.marca .chave { color: var(--laranja); }

.marca small {
  display: block;
  font-family: var(--corpo);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--apagado);
  text-transform: uppercase;
  margin-top: 3px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--claro);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.menu a:hover,
.menu a:focus-visible { color: var(--laranja); }

.menu a.ativo {
  color: var(--branco);
  border-bottom-color: var(--laranja);
}

/* ---------- Faixa de destaque ---------- */

.capa {
  position: relative;
  overflow: hidden;
  background: var(--preto);
  border-bottom: 1px solid var(--linha);
  padding: 88px 0 72px;
}

.capa .relevo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.capa .container { position: relative; z-index: 2; }

.etiqueta {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--laranja);
  margin: 0 0 18px;
}

.capa h1 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  margin: 0 0 22px;
  max-width: 16ch;
  color: var(--branco);
}

.capa p {
  max-width: 58ch;
  font-size: 17px;
  color: var(--apagado);
  margin: 0;
}

.capa p strong { color: var(--claro); font-weight: 600; }

/* ---------- Seções ---------- */

main section {
  padding: 64px 0;
  border-bottom: 1px solid var(--linha);
}

main section:last-of-type { border-bottom: none; }

.rotulo {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--apagado);
  margin: 0 0 10px;
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--branco);
}

h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 21px;
  margin: 0 0 10px;
  color: var(--branco);
}

p { margin: 0 0 16px; }

.texto { max-width: 68ch; }

.texto p { color: #c9c9cf; }

/* ---------- Grade de blocos ---------- */

.grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.bloco {
  background: var(--grafite);
  border: 1px solid var(--linha);
  border-top: 3px solid var(--laranja);
  padding: 26px 24px;
}

.bloco p { color: var(--apagado); margin-bottom: 0; }

.bloco ul {
  margin: 0;
  padding-left: 18px;
  color: var(--apagado);
}

.bloco li { margin-bottom: 6px; }

/* ---------- Lojas ---------- */

.loja {
  background: var(--grafite);
  border: 1px solid var(--linha);
  padding: 28px 26px;
}

.loja .cidade {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--laranja);
  margin: 0 0 8px;
}

.loja address {
  font-style: normal;
  color: #c9c9cf;
  margin-bottom: 14px;
}

.loja .detalhe {
  font-size: 14px;
  color: var(--apagado);
  margin: 0;
}

.zap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--claro);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.zap:hover {
  color: var(--laranja);
}

.zap svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: #25d366;
}

/* ---------- Dados de contato ---------- */

.dados {
  background: var(--grafite);
  border: 1px solid var(--linha);
  border-left: 3px solid var(--laranja);
  padding: 26px 24px;
  font-style: normal;
  line-height: 1.9;
}

.dados .razao {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--branco);
  display: block;
  margin-bottom: 4px;
}

.dados span.rotulo-linha {
  color: var(--apagado);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  min-width: 92px;
}

/* ---------- Formulário de contato ---------- */

.canal-email {
  color: #c9c9cf;
  max-width: 68ch;
  margin: -6px 0 24px;
}

.formulario {
  background: var(--grafite);
  border: 1px solid var(--linha);
  border-top: 3px solid var(--laranja);
  padding: 34px 30px;
  max-width: 720px;
}

.formulario .linha {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.campo label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--apagado);
  margin-bottom: 8px;
}

.campo label .obrigatorio {
  color: var(--laranja);
  margin-left: 2px;
}

.campo input,
.campo select,
.campo textarea {
  font-family: var(--corpo);
  font-size: 16px;
  color: var(--claro);
  background: var(--preto);
  border: 1px solid var(--linha);
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.campo select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%238e8e96' d='M0 0h12L6 8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}

.campo textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.campo input::placeholder,
.campo textarea::placeholder {
  color: #5d5d66;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--laranja);
}

.consentimento {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--apagado);
  margin-bottom: 24px;
}

.consentimento input,
.consentimento label {
  cursor: pointer;
}

.consentimento input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--laranja);
}

.botao {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--preto);
  background: var(--laranja);
  border: 1px solid var(--laranja);
  padding: 14px 34px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.botao:hover {
  background: transparent;
  color: var(--laranja);
}

.aviso-form {
  font-size: 13px;
  color: var(--apagado);
  margin: 16px 0 0;
}

/* ---------- Rodapé ---------- */

.rodape {
  background: #070708;
  border-top: 2px solid var(--laranja);
  padding: 46px 0 30px;
  font-size: 15px;
}

.rodape .colunas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.rodape h4 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--branco);
  margin: 0 0 12px;
}

.rodape address {
  font-style: normal;
  color: #c3c3ca;
  line-height: 1.8;
}

.rodape .razao-social {
  color: var(--branco);
  font-weight: 600;
  display: block;
}

.rodape ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rodape li { margin-bottom: 8px; }

.rodape a { color: #c3c3ca; text-decoration: none; }

.rodape a:hover,
.rodape a:focus-visible { color: var(--laranja); }

.rodape .assinatura {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--linha);
  font-size: 13px;
  color: #6f6f77;
}

/* ---------- Acessibilidade e responsivo ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--laranja);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .topo .container { align-items: flex-start; }
  .menu { gap: 18px; }
  .capa { padding: 56px 0 48px; }
  main section { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
