/* Estilo compartilhado das páginas de contato (telefone, WhatsApp, endereço).
   Mesmo sistema visual do index.html e de maquinas-a-venda.html. */
:root {
  --bg: #eff1f3;
  --surface: #fafbfb;
  --surface-2: #e2e5e9;
  --line: #c4cad0;
  --fg: #14161a;
  --muted: #4d535b;
  --rust: #b0361a;
  --rust-btn: #b83a18;
  --rust-field: #a93517;
  --graphite: #17181b;
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  /* Nada deve gerar rolagem lateral: subpixel de zoom/DPR no DevTools ainda
     abre a barra horizontal no Chromium. */
  overflow-x: clip;
}
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, dl, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap {
  max-width: 1200px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--font-mono); font-weight: 600; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--rust);
}
.lead { color: var(--muted); max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.4rem; border: 2px solid transparent; border-radius: 2px;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-rust { background: var(--rust-btn); color: #fff; }
.btn-rust:hover { background: #cf4519; }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--rust); color: var(--rust); }
.btn-white { background: #fff; color: #7d230c; }
.btn-white:hover { background: #ffe9e1; }
.btn-line-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-line-white:hover { background: rgba(255,255,255,.14); }
.copy { font: 600 .95rem/1 var(--font-body); min-height: 48px; padding: .7rem 1.4rem; border: 2px solid var(--line); border-radius: 2px; background: transparent; color: var(--fg); cursor: pointer; }
.copy:hover { border-color: var(--rust); color: var(--rust); }

/* Barra de contato: um único link com telefone, WhatsApp e endereço */
.topbar { background: var(--graphite); color: #c9ced4; font-size: .8rem; }
.topbar .wrap { padding-block: .5rem; }
.topbar a.info { color: inherit; text-decoration: none; }
.topbar .info-full { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1.6rem; }
.topbar .info-short { display: none; }
.topbar a.info:hover span:not(.sep) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar span { font-family: var(--font-mono); font-weight: 500; letter-spacing: .02em; }
.topbar .sep { opacity: .45; }
@media (min-width: 641px) and (max-width: 860px) {
  .topbar .sep { display: none; }
  .topbar .info-full { gap: .25rem 1.4rem; }
}
@media (max-width: 640px) {
  .topbar { font-size: .72rem; line-height: 1.35; }
  .topbar .wrap { padding-block: .4rem; }
  .topbar .info-full,
  .topbar .sep { display: none; }
  .topbar .info-short { display: block; text-align: center; white-space: nowrap; letter-spacing: .06em; text-transform: uppercase; }
}

/* Cabeçalho */
header.site {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; min-width: 0; }
.brand-logo { height: 44px; width: auto; flex: none; display: block; }
.brand-name {
  font-family: var(--font-display); font-weight: 900; font-size: 1.75rem; line-height: 1;
  letter-spacing: .03em; text-transform: uppercase;
}
.brand-sub { display: block; font-family: var(--font-mono); font-size: .56rem; font-weight: 500; letter-spacing: .05em; line-height: 1.2; color: var(--muted); }
nav.main { display: flex; align-items: center; gap: 1.7rem; }
nav.main a.lnk {
  text-decoration: none; font-size: .88rem; font-weight: 500; letter-spacing: .02em; padding: .4rem 0;
  border-bottom: 2px solid transparent;
}
nav.main a.lnk:hover { border-color: var(--rust); }
nav.main a.lnk.promo {
  position: relative; isolation: isolate;
  color: var(--rust); font-weight: 600;
  padding: .3rem .65rem; border: 1px solid color-mix(in srgb, var(--rust) 45%, transparent);
  border-radius: 2px; background: color-mix(in srgb, var(--rust) 3%, transparent);
}
nav.main a.lnk.promo::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--rust); opacity: .02; pointer-events: none;
  animation: promo-pulse 3.4s ease-in-out infinite alternate;
}
@keyframes promo-pulse { from { opacity: .02; } to { opacity: .09; } }
nav.main a.lnk.promo:hover { border-color: var(--rust); background: color-mix(in srgb, var(--rust) 12%, transparent); }
nav.main a.lnk.promo:hover::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { nav.main a.lnk.promo::after { animation: none; opacity: .06; } }
@media (max-width: 860px) { nav.main a.lnk { display: none; } }
@media (max-width: 520px) {
  header.site .wrap { padding-block: .55rem; gap: .6rem; }
  .brand { gap: .28rem; }
  .brand-logo { height: 38px; }
  .brand-name { font-size: 1.5rem; }
  .brand-sub { font-size: .54rem; letter-spacing: .04em; }
  nav.main .btn { min-height: 42px; padding: .55rem .95rem; font-size: .84rem; white-space: nowrap; }
}
@media (max-width: 350px) { .brand-sub { display: none; } }

/* Cabeçalho da página de contato */
.intro {
  background:
    repeating-linear-gradient(115deg, rgba(0,0,0,.035) 0 2px, transparent 2px 8px),
    var(--rust-field);
  color: #fff; border-bottom: 6px solid var(--graphite);
}
.intro .wrap { padding-block: clamp(2.2rem, 5vw, 3.8rem); display: grid; gap: 1rem; }
.intro .eyebrow { color: rgba(255,255,255,.85); }
.intro h1 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: .98; text-wrap: balance;
}
.intro .lead { color: rgba(255,255,255,.92); font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.intro .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.intro .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.intro .copy { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.intro .copy:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }

/* Blocos de conteúdo */
.block { padding-block: clamp(2.6rem, 6vw, 4.5rem); }
.block h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 800px) { .two { grid-template-columns: minmax(0, 1fr); } }

.facts-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--rust-btn); }
.facts-card dl { padding: .4rem 1.2rem; }
.facts-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts-card dl div:last-child { border-bottom: 0; }
.facts-card dt { color: var(--muted); }
.facts-card dd { margin: 0; font-family: var(--font-mono); font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* Cartões de contato (contato.html) */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--rust-btn); padding: 1.6rem; display: grid; gap: .7rem; align-content: start; }
.info-card h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.02; overflow-wrap: anywhere; }
.info-card h2.email { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.2rem); text-transform: none; letter-spacing: 0; line-height: 1.4; }
@media (max-width: 520px) {
  .info-card { padding: 1.25rem; }
  /* O endereço completo precisa caber sem quebrar no meio do domínio */
  .info-card h2.email { font-size: clamp(.76rem, 3.5vw, .92rem); }
}
@media (min-width: 900px) { .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info-card .desc { color: var(--muted); font-size: .95rem; }
.info-card .btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.info-card .btns .btn { flex: 1 1 auto; }
.info-card .copy { min-height: 48px; }
/* Outros canais */
.others { background: var(--surface-2); border-block: 1px solid var(--line); }
.others .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.others a.card {
  display: grid; gap: .4rem; padding: 1.3rem; background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .15s;
}
.others a.card:hover { border-color: var(--rust); }
.others .card .label { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.others .card strong { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.others .card span:last-child { color: var(--muted); font-size: .92rem; }

.map { margin-top: 1.4rem; border: 1px solid var(--line); background: var(--surface-2); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.map-grid .map { margin-top: .5rem; }
.map-label { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 800px) { .map-grid { grid-template-columns: minmax(0, 1fr); } }

/* Rodapé */
footer.site { background: var(--graphite); color: #b6bbc2; font-size: .88rem; }
footer.site .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.3fr); gap: 2rem; padding-block: 2.8rem; }
footer.site h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #8d939b; font-weight: 600; margin-bottom: .8rem; }
footer.site li + li { margin-top: .4rem; }
footer.site li { overflow-wrap: anywhere; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .brand-name { color: #fff; }
footer.site .brand-sub { color: #8d939b; }

/* Redes sociais no rodapé */
footer.site .social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; padding: 0; list-style: none; }
footer.site .social li + li { margin-top: 0; }
footer.site .social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid #3c4147; border-radius: 2px;
  color: #c9ced4; text-decoration: none;
  transition: color .15s, border-color .15s, background-color .15s;
}
footer.site .social a:hover,
footer.site .social a:focus-visible { color: #fff; border-color: var(--rust); background: rgba(255,255,255,.07); text-decoration: none; }
footer.site .social svg { display: block; }
.legal { border-top: 1px solid #2c2f34; }
footer.site .legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding-block: 1rem; font-size: .78rem; color: #8d939b; }
/* Mesmo ponto de corte do cabeçalho: abaixo de 861px o rodapé empilha inteiro */
@media (max-width: 860px) { footer.site .wrap { grid-template-columns: minmax(0, 1fr); } .legal .wrap { display: flex; } }
