/* ==========================================================
   XZZ Solutions — novo site
   Preto, branco e amarelo. Tipografia: Archivo (largura variável).
   ========================================================== */

:root {
  --black: #000;
  --white: #fff;
  --paper: #f1f1ee;
  --ink-2: #1c1c1c;
  --grey: #77776f;
  --grey-light: #c9c9c3;
  --yellow: #ffe000;

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 68px;
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }

.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* Tipografia de exibição: Archivo expandida ecoa a largura da logo */
.display {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .98;
}

h2.display { font-size: clamp(2rem, 5vw, 3.9rem); }
h1, h2, h3 { text-wrap: balance; }

/* Foco visível */
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.on-light :focus-visible,
.on-yellow :focus-visible { outline-color: var(--black); }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--yellow); color: var(--black);
  padding: .7rem 1.1rem; font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--black); --bd: var(--yellow);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.4rem;
  font: 700 1rem/1.1 var(--font); text-decoration: none;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bd); border-radius: 2px;
  cursor: pointer;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--white));
  transform: translateY(101%);
  transition: transform .35s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--black); border-color: var(--fill, var(--white)); }

.btn--line { --bg: transparent; --fg: var(--white); --bd: var(--white); --fill: var(--white); }
.btn--line:hover, .btn--line:focus-visible { color: var(--black); }
.btn--dark { --bg: var(--black); --fg: var(--white); --bd: var(--black); --fill: var(--white); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--black); border-color: var(--black); }
.btn--ghost-dark { --bg: transparent; --fg: var(--black); --bd: var(--black); --fill: var(--black); }
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible { color: var(--yellow); border-color: var(--black); }

.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid #262626;
  transition: border-color .3s;
}
.site-header.is-stuck { border-bottom-color: #3a3a3a; }

.bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1.5rem;
}
.brand { display: block; line-height: 0; flex: none; }
.brand img { height: 38px; width: auto; }

.nav ul { display: flex; gap: clamp(1.2rem, 2.6vw, 2.4rem); list-style: none; margin: 0; padding: 0; }
.nav a {
  position: relative; display: inline-block; padding: .4rem 0;
  text-decoration: none; font-weight: 500; font-size: .98rem; color: #d6d6d0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.bar .btn { min-height: 42px; padding: .55rem 1.1rem; font-size: .93rem; }

.menu-btn {
  display: none; position: relative; width: 48px; height: 48px;
  background: none; border: 0; color: var(--white); cursor: pointer; padding: 0;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 29px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .bar > .btn { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--black); padding: 1.5rem var(--gutter) 2rem;
    display: flex; flex-direction: column; justify-content: space-between;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .5s var(--ease), visibility 0s .5s;
    overflow-y: auto;
  }
  .nav.open { clip-path: inset(0); visibility: visible; transition: clip-path .5s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid #2a2a2a; }
  .nav a {
    display: block; padding: 1.05rem 0; color: var(--white);
    font-stretch: 125%; font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.4rem); letter-spacing: -.02em;
  }
  .nav a::after { display: none; }
  .nav a.btn { display: inline-flex !important; width: 100%; margin-top: 2rem; padding: .8rem 1.4rem; color: var(--black); font: 700 1.05rem/1.1 var(--font); letter-spacing: 0; }
}
@media (min-width: 921px) { .nav .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { font-size: clamp(2.45rem, 6.4vw, 5.6rem); overflow-wrap: break-word; }
.hero .lead { margin-top: 1.6rem; max-width: 44ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #d0d0ca; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero .meta { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid #2f2f2f; max-width: 44ch; font-size: .95rem; color: #a5a5a0; }

/* Palco do hero: composição geométrica com o triângulo da marca */
.stage { position: relative; aspect-ratio: 1 / .92; max-width: 560px; width: 100%; justify-self: end; }
.stage-tri {
  position: absolute; z-index: 0; right: 0; top: 0; width: 82%; aspect-ratio: 1.55 / 1;
  background: var(--yellow); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.stage-line { position: absolute; z-index: 1; left: 0; right: 14%; height: 1px; background: #3a3a3a; top: 62%; }
.stage-list { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.stage-list li {
  background: var(--white); color: var(--black); padding: 1rem 1.3rem;
  font-stretch: 125%; font-weight: 800; font-size: clamp(1rem, 1.9vw, 1.5rem); letter-spacing: -.02em; line-height: 1.05;
  box-shadow: 8px 8px 0 var(--yellow); width: 78%;
}
.stage-list li:nth-child(2) { margin-left: 11%; background: var(--black); color: var(--white); outline: 2px solid var(--white); outline-offset: -2px; box-shadow: 8px 8px 0 #fff2; }
.stage-list li:nth-child(3) { margin-left: 22%; }
.js .stage-tri { transform-origin: 50% 0; animation: tri-in .8s var(--ease) both; }
.js .stage-list li { opacity: 0; translate: 0 30px; animation: win-in .8s var(--ease) forwards; }
.js .stage-list li:nth-child(1) { animation-delay: .25s; }
.js .stage-list li:nth-child(2) { animation-delay: .45s; }
.js .stage-list li:nth-child(3) { animation-delay: .65s; }
@keyframes win-in { to { opacity: 1; translate: 0 0; } }
@keyframes tri-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { margin-inline: 0; justify-self: start; }
}
@media (max-width: 520px) {
  .hero .cta .btn { width: 100%; }
  .stage-list li { width: 88%; }
}

/* ---------- Seções claras ---------- */
.on-light { background: var(--white); color: var(--black); }
.section { padding: var(--section-y) 0; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.sec-head p { color: var(--grey); max-width: 40ch; justify-self: end; }
.sec-head.on-dark p { color: #a5a5a0; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }

/* ---------- Portfólio ---------- */
.works { border-top: 2px solid var(--black); }
.work {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1rem, 4vw, 4rem);
  align-items: center; padding: clamp(2rem, 4vw, 3.2rem) 0; border-bottom: 1px solid var(--grey-light);
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.work:hover, .work:focus-within { background: var(--yellow); padding-left: 1.2rem; padding-right: 1.2rem; }
.work h3 { font-stretch: 125%; font-size: clamp(1.9rem, 4.6vw, 3.8rem); letter-spacing: -.03em; line-height: .98; }
.work h3 a { text-decoration: none; color: inherit; }
.work h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work h3 a:focus-visible { outline: none; }
.work:focus-within { outline: 3px solid var(--black); outline-offset: -3px; }
.work .cat { display: inline-block; margin-bottom: 1rem; font-weight: 600; font-size: .95rem; color: var(--grey); border-left: 4px solid var(--yellow); padding-left: .7rem; transition: color .3s, border-color .3s; }
.work:hover .cat, .work:focus-within .cat { color: var(--black); border-color: var(--black); }
.work p { color: #3c3c38; max-width: 40ch; }
.work:hover p, .work:focus-within p { color: var(--black); }
.work .go { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.3rem; font-weight: 700; border-bottom: 3px solid var(--yellow); padding: .2rem 0; transition: gap .25s var(--ease), border-color .25s; }
.work:hover .go, .work:focus-within .go { gap: 1rem; border-color: var(--black); }
.work .host { display: block; margin-top: .8rem; font-size: .85rem; color: var(--grey); overflow-wrap: anywhere; }
.work:hover .host, .work:focus-within .host { color: var(--black); }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; } }

/* ---------- Serviços ---------- */
.services { border-top: 1px solid #333; }
.service {
  display: grid; grid-template-columns: 5rem minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem);
  align-items: center; padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-bottom: 1px solid #333;
  transition: background .3s, padding .3s var(--ease);
}
.service:hover { padding-left: 1rem; padding-right: 1rem; background: var(--ink-2); }
.service h3 { font-stretch: 125%; font-size: clamp(1.35rem, 2.6vw, 2.1rem); letter-spacing: -.02em; line-height: 1.05; }
.service p { color: #b5b5ae; max-width: 46ch; }
@media (max-width: 760px) {
  .service { grid-template-columns: 3.4rem 1fr; }
  .service p { grid-column: 1 / -1; }
}

/* Glifos geométricos discretos */
.glyph { width: 4rem; height: 4rem; position: relative; flex: none; }
.glyph::before, .glyph::after { content: ""; position: absolute; }
.g-site::before { inset: 0; border: 2px solid var(--white); }
.g-site::after { left: 0; right: 0; top: 0; height: 28%; background: var(--yellow); }
.g-land::before { inset: 8% 0 8% 0; background: var(--yellow); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.g-sys::before { inset: 0; background:
  linear-gradient(var(--white), var(--white)) 0 0 / 46% 46% no-repeat,
  linear-gradient(var(--white), var(--white)) 100% 0 / 46% 46% no-repeat,
  linear-gradient(var(--yellow), var(--yellow)) 0 100% / 46% 46% no-repeat,
  linear-gradient(var(--white), var(--white)) 100% 100% / 46% 46% no-repeat; }
.g-ads::before { left: 4%; bottom: 0; width: 20%; height: 35%; background: var(--white); box-shadow: 1.2rem -.5rem 0 0 var(--white), 2.4rem -1.2rem 0 0 var(--white); }
.g-ads::after { right: 4%; bottom: 0; width: 20%; height: 95%; background: var(--yellow); }
.g-pol::before { inset: 0; border: 2px solid var(--white); border-radius: 50%; }
.g-pol::after { inset: 28%; background: var(--yellow); border-radius: 50%; }

/* ---------- Diferenciais ---------- */
.diff { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.diff-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.diff-intro p { margin-top: 1.3rem; max-width: 36ch; color: #3c3c38; }
.diff-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--black); }
.diff-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--grey-light); display: grid; grid-template-columns: 1fr; gap: .35rem; }
.diff-list li:first-child { padding-top: 1.7rem; }
.diff-list h3 { font-stretch: 112%; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.015em; }
.diff-list p { color: #4a4a45; max-width: 52ch; }
.diff-list li { position: relative; padding-left: 1.6rem; }
.diff-list li::before { content: ""; position: absolute; left: 0; top: 2.2rem; width: .7rem; height: .7rem; background: var(--yellow); outline: 2px solid var(--black); }
@media (max-width: 860px) { .diff { grid-template-columns: 1fr; } .diff-intro { position: static; } }

/* ---------- Processo (sequência real: usa números) ---------- */
.process { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }
.process-line { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #2e2e2e; }
.process-line i { display: block; height: 100%; width: 100%; background: var(--yellow); transform: scaleX(var(--p, 0)); transform-origin: left; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.5rem); }
.step { padding-top: 1.6rem; }
.step .n { display: block; font-stretch: 125%; font-weight: 800; font-size: clamp(3.4rem, 7vw, 6rem); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px var(--white); transition: color .4s, -webkit-text-stroke-color .4s; }
.step.on .n { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.step h3 { margin-top: 1.3rem; font-stretch: 112%; font-size: 1.35rem; letter-spacing: -.01em; }
.step p { margin-top: .6rem; color: #b5b5ae; max-width: 28ch; }
@media (max-width: 860px) {
  .process-line { top: 0; bottom: 0; right: auto; left: 0; width: 3px; height: auto; }
  .process-line i { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .steps { grid-template-columns: 1fr; gap: 2.4rem; padding-left: 1.8rem; }
  .step { padding-top: 0; }
  .step p { max-width: 42ch; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 6rem); }
.about .txt p { color: #3c3c38; max-width: 56ch; }
.about .txt p + p { margin-top: 1.1rem; }
.about strong { color: var(--black); }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 1.5rem 2.5rem; justify-content: start; margin: 2.2rem 0 0; padding: 1.4rem 0 0; border-top: 2px solid var(--black); list-style: none; }
.facts b { display: block; font-stretch: 112%; font-weight: 800; font-size: 1.25rem; }
.facts span { font-size: .9rem; color: var(--grey); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Chamada final ---------- */
.cta-final { background: var(--yellow); color: var(--black); position: relative; overflow: hidden; }
.cta-final::after {
  content: ""; position: absolute; right: 7%; top: 0; width: min(34vw, 420px); aspect-ratio: 1.55 / 1;
  background: var(--black); clip-path: polygon(0 0, 100% 0, 50% 100%); pointer-events: none;
}
.cta-final .wrap { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(2.2rem, 6vw, 5rem); max-width: 14ch; }
.cta-final p { margin-top: 1.5rem; max-width: 40ch; font-size: 1.15rem; }
.cta-final .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.cta-final .phone { margin-top: 1.4rem; font-weight: 600; }
@media (max-width: 760px) { .cta-final::after { opacity: .12; width: 90vw; } .cta-final .cta .btn { width: 100%; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--black); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; border-top: 1px solid #262626; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.footer img { height: 44px; width: auto; }
.footer .about-co { margin-top: 1.2rem; max-width: 42ch; color: #a5a5a0; font-size: .98rem; }
.footer h3 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: #c9c9c3; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer .contact li { color: #c9c9c3; }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.4rem; border-top: 1px solid #262626; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; color: #8c8c86; font-size: .9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Botão flutuante de WhatsApp no celular */
.fab { display: none; }
@media (max-width: 920px) {
  .fab {
    display: inline-flex; position: fixed; z-index: 90;
    left: var(--gutter); right: var(--gutter); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 6px 0 rgba(0, 0, 0, .35);
  }
  .footer { padding-bottom: 6.5rem; }
}

/* ---------- Revelação suave (somente onde ajuda a leitura) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .stage-list li { opacity: 1; transform: none; translate: 0 0; }
}

/* ---------- Páginas legais ---------- */
.legal-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid #262626; }
.legal-hero h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
.legal-hero p { margin-top: 1.2rem; color: #a5a5a0; max-width: 56ch; }
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--section-y); }
.legal .wrap { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: .95rem; }
.legal-toc h2 { font-size: .95rem; font-weight: 700; margin-bottom: .8rem; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; border-left: 2px solid var(--grey-light); }
.legal-toc a { display: block; padding-left: .9rem; color: #4a4a45; text-decoration: none; }
.legal-toc a:hover { color: var(--black); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.legal-body { max-width: 70ch; }
.legal-body section + section { margin-top: 2.6rem; }
.legal-body h2 { font-stretch: 112%; font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: .9rem; }
.legal-body p, .legal-body li { color: #2d2d2a; }
.legal-body p + p { margin-top: .9rem; }
.legal-body > p { margin-bottom: 2.4rem; }
.legal-body ul + p, .legal-body .table-scroll + p { margin-top: 1rem; }
.legal-body ul { margin: .9rem 0 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.legal-body a { color: var(--black); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 2px; }
.legal-body table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.legal-body th, .legal-body td { text-align: left; padding: .75rem .8rem; border-bottom: 1px solid var(--grey-light); vertical-align: top; }
.legal-body th { border-bottom: 2px solid var(--black); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.legal-note { margin-top: 2.6rem; padding: 1.1rem 1.3rem; background: var(--paper); border-left: 4px solid var(--yellow); font-size: .95rem; color: #3c3c38; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
@media (max-width: 860px) { .legal .wrap { grid-template-columns: 1fr; } .legal-toc { position: static; } }
