/* =========================================================
   MADHOUSE · Session 360° — visual do site (tema escuro "Modernist")
   Archivo variável · réguas de 2px · sem cantos arredondados · sem sombras
   ========================================================= */
:root {
  --bg: #0a0808;
  --surface: #141111;
  --surface-2: #1c1717;
  --ink: #f3f2f2;
  --accent: #c20000;
  --accent-600: #a30000;
  --accent-500: #ff3d3d;
  --accent-400: #ff8a8a;
  --n300: #d7d3d3;
  --n400: #bab6b6;
  --n500: #9b9797;
  --n600: #7d7979;
  --rule: color-mix(in srgb, #f3f2f2 22%, transparent);
  --rule-soft: color-mix(in srgb, #f3f2f2 12%, transparent);
  --pad-x: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif; font-size: 16px; line-height: 1.5;
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
}
a { color: var(--ink); text-decoration: none; }
img { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button, input { font-family: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia ---------- */
.display { font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .85; margin: 0; }
.subdisplay { font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: 1; margin: 0; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--n500); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; flex: none; }

/* ---------- espiral girando ---------- */
@keyframes mh-spin { to { transform: rotate(360deg); } }
.spin { animation: mh-spin 40s linear infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* ---------- topo ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--bg);
  border-bottom: 2px solid var(--rule);
  display: flex; align-items: stretch; justify-content: space-between;
}
.site-header .brand { display: flex; align-items: center; flex-shrink: 1; min-width: 0; padding: 12px clamp(12px, 2.4vw, 28px); border-right: 2px solid var(--rule); }
.site-header .brand img { height: clamp(18px, 3.4vw, 42px); width: auto; max-width: 100%; }
.site-header nav { display: flex; align-items: stretch; flex-shrink: 0; }
.site-header nav a {
  display: flex; align-items: center; padding: 0 clamp(10px, 2.4vw, 32px); border-left: 2px solid var(--rule);
  font-weight: 800; font-stretch: 75%; font-size: clamp(12px, .6vw + 10px, 15px); letter-spacing: .06em; text-transform: uppercase;
}
.site-header nav a[aria-current] { background: var(--accent); }
@media (hover: hover) { .site-header nav a:not([aria-current]):hover { color: var(--accent-500); } }

/* ---------- rodapé ---------- */
.site-footer {
  margin-top: auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px var(--pad-x); border-top: 2px solid var(--rule);
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--n500);
}
.site-footer a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .site-footer a:hover { color: var(--accent-500); } }
/* celular: rodapé em uma linha */
@media (max-width: 600px) {
  .site-footer { flex-wrap: nowrap; gap: 12px; padding: 16px; font-size: clamp(8.5px, 2.5vw, 11px); letter-spacing: .08em; white-space: nowrap; }
  .site-footer span:nth-child(2) { display: none; }
}

/* ---------- botão vermelho (label à esquerda, seta à direita) ---------- */
.btn-accent {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: var(--accent); color: #fff; border: 0; cursor: pointer;
  font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: 1;
}
.btn-accent .ico { stroke-width: 2.5; }
@media (hover: hover) { .btn-accent:hover { background: var(--accent-600); color: #fff; } }
.btn-accent:active { background: var(--accent-600); }

/* ---------- foto P&B → cor ---------- */
.bw { filter: grayscale(1) contrast(1.08); transition: filter .3s; }
@media (hover: hover) { .bw-hover:hover .bw, .bw.bw-self:hover { filter: none; } }
