:root {
  --bg: #0d0e10;
  --surface: #16181b;
  --deep: #08090a;
  --paper: #ecebe6;
  --paper-ink: #16181b;
  --paper-muted: #55564f;
  --ink: #ecebe6;
  --muted: #a9aaa6;
  --accent: #8fb0ff;
  --accent-ink: #0d0e10;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);

  --margin: clamp(20px, 3.4vw, 48px);
  --gap-section: clamp(72px, 8vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 "Work Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button { font: inherit; color: inherit; }

h1, h2, .name, .big-name, .wordmark {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

/* Botão: uma forma só, canto reto */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 0; cursor: pointer;
  font-weight: 600; text-decoration: none; font-size: var(--step-body);
  transition: transform .2s var(--ease), background-color .2s;
}
.btn:hover { background: #b4cbff; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Topo */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: grid; grid-template-columns: 42% 1fr auto; align-items: center;
  padding: 44px var(--margin) 0;
}
.wordmark { font-size: 1.5rem; letter-spacing: .01em; text-decoration: none; position: absolute; left: var(--margin); }
.top nav { display: flex; gap: 32px; grid-column: 2; }
.top-right { grid-column: 3; display: flex; align-items: center; gap: 20px; }
.lang { display: flex; gap: 2px; }
.lang button { min-width: 44px; min-height: 44px; background: none; border: 0; border-radius: 0; font-weight: 600; cursor: pointer; color: var(--muted); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.top nav a { text-decoration: none; font-weight: 600; }
.top nav a:hover { text-decoration: underline; }
.menu-btn { display: none; }

/* Página de liderança */
.page-top { display: flex; justify-content: space-between; align-items: center; padding: 44px var(--margin) 0; }
.page-top .wordmark { position: static; }
.back { font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }
.leader { min-height: 80svh; display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: center; padding: var(--gap-section) var(--margin); }
.leader-photo { grid-column: 1; max-width: 460px; }
.leader-photo img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; filter: brightness(.74) contrast(1.06) saturate(.9); }
.leader-text { grid-column: 3; display: grid; gap: 24px; justify-items: start; }
.leader h1 { font-size: clamp(48px, 6.4vw, 110px); line-height: .92; }
.leader-role { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.leader-text p { max-width: 56ch; }
.leader-mail a { font-weight: 600; }
.leader-company { color: var(--muted); }

/* Hero */
.hero {
  min-height: 72svh;
  display: grid; grid-template-columns: 42% 1fr; align-items: end;
  padding: 0 var(--margin) 72px;
  column-gap: 0;
}
.hero-lead { grid-column: 1; grid-row: 1; max-width: 32ch; padding-right: 32px; font-size: var(--step-lead); line-height: 1.3; color: var(--ink); align-self: end; margin-bottom: .55em; }
.hero-title { grid-column: 2; grid-row: 1; font-size: clamp(56px, 8.2vw, 150px); line-height: .9; letter-spacing: -.01em; }
.line { display: block; overflow: hidden; padding: .16em 0 .04em; margin-top: -.16em; }
.line > span { display: block; transform: translateY(0); }

/* Serviços: lista em escala de cartaz */
.services { padding: var(--gap-section) var(--margin); }
.poster-list { list-style: none; padding: 0; display: grid; gap: .35em; }
.poster-list li {
  display: grid; grid-template-columns: 8fr 4fr; column-gap: var(--margin); align-items: first baseline;
}
.poster-head h2, .poster-list .name {
  font-size: clamp(40px, 5.4vw, 92px); line-height: 1.02;
}
.poster-head h2 { color: var(--muted); }
.poster-list p { font-size: var(--step-body); line-height: 1.45; max-width: 36ch; }
.poster-list:has(li:hover) li:not(:hover):not(.poster-head) .name { color: var(--muted); }
.poster-list li:not(.poster-head) .name { transition: color .2s; }

/* Método */
.method {
  background: var(--surface); color: var(--ink);
  padding: var(--gap-section) var(--margin);
  display: grid; grid-template-columns: 5fr 1fr 5fr; align-items: start;
}
.method-text { grid-column: 1; }
.method h2 { font-size: clamp(40px, 4.8vw, 76px); line-height: 1; margin-bottom: 28px; }
.method-text p { max-width: 30ch; font-size: var(--step-lead); line-height: 1.35; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.choice {
  min-height: 44px; padding: 0 20px; cursor: pointer;
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 0; font-weight: 600;
  transition: background-color .2s, color .2s;
}
.choice:hover { background: var(--bg); }
.choice[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.slip {
  grid-column: 3; justify-self: end; width: min(100%, 460px);
  background: var(--paper); color: var(--paper-ink);
  padding: 36px 32px 56px;
  font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 90% 100%, 80% calc(100% - 12px), 70% 100%, 60% calc(100% - 12px), 50% 100%, 40% calc(100% - 12px), 30% 100%, 20% calc(100% - 12px), 10% 100%, 0 calc(100% - 12px));
}
.slip-title { font-size: 1rem; margin-bottom: 8px; }
.slip h3 { font-size: 1rem; font-weight: 600; margin-top: 28px; margin-bottom: 8px; }
.slip ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.slip li { display: flex; align-items: baseline; gap: 8px; font-size: 1rem; line-height: 1.35; }
.slip li i { flex: 1 1 24px; min-width: 24px; align-self: flex-end; margin-bottom: .3em; height: 0;
  border-bottom: 4px dotted var(--paper-muted); }
.slip li b { font-weight: 600; white-space: nowrap; }
.slip-end { display: flex; justify-content: space-between; gap: 12px; margin: 32px -32px 0; padding: 10px 32px; min-height: 44px; align-items: center;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.slip-end b { white-space: nowrap; }

/* Sobre */
.about { padding: var(--gap-section) var(--margin); }
.about h2 { font-size: clamp(40px, 4.8vw, 76px); line-height: 1; margin-bottom: 40px; }
.about-text { columns: 2; column-gap: 40px; font-size: var(--step-lead); line-height: 1.35; hyphens: auto; max-width: 1000px; }
.about-text p { margin-bottom: .9em; }
.about-text strong { font-weight: 600; }
mark { color: var(--ink); padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.h1 { background: #2c3d66; }
.h2 { background: #5a4a1f; }
.h3 { background: #26432f; }
.mark-link { background: var(--accent); color: var(--accent-ink); padding: .05em .2em; text-decoration: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mark-link:hover { background: var(--ink); color: var(--bg); }

/* Imagens */
figure img { display: block; width: 100%; height: auto; }
figcaption { font-size: 1rem; line-height: 1.45; margin-top: 12px; max-width: 52ch; }
.band { margin: 0; }
.band img { height: min(72svh, 760px); object-fit: cover; }
.band figcaption { padding: 0 var(--margin); }
.about-pics { display: grid; grid-template-columns: 7fr 4fr; column-gap: var(--margin); align-items: end; margin-top: 72px; }
.contact-pic { margin-top: 48px; max-width: 520px; }
.credits { font-size: 1rem; color: var(--muted); margin-top: 20px; max-width: 70ch; }
.credits a { color: inherit; }
.js figure.reveal img, .js .band img { transform: scale(1.06); transition: transform 1.4s var(--ease); }
.js figure.reveal.in img, .js .band.in img { transform: none; }
.hero-cta { display: none; justify-self: start; }

/* Contato */
.contact { background: var(--surface); padding: var(--gap-section) var(--margin); display: grid; grid-template-columns: 5fr 1fr 5fr; align-items: start; }
.contact-lead { grid-column: 1; }
.contact h2 { font-size: clamp(48px, 7vw, 120px); line-height: .95; margin-bottom: 24px; }
.contact-lead p { max-width: 30ch; font-size: var(--step-lead); line-height: 1.35; }
form { grid-column: 3; display: grid; gap: 8px; }
label { font-weight: 600; margin-top: 12px; }
input, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 12px 14px; width: 100%; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; }
form .btn { margin-top: 20px; justify-self: start; }
.hp { position: absolute; left: -9999px; }
#status { min-height: 1.5em; font-weight: 600; }
#status.ok { color: #7fd69b; }
#status.erro { color: #ff8c85; }

/* Rodapé */
.footer { background: var(--deep); color: var(--ink); min-height: 100svh; padding: 40px var(--margin) 24px; display: grid; grid-template-rows: auto 1fr auto; }
.footer > div:last-child { grid-row: 3; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; font-size: 1rem; }
.footer-cols div { display: grid; gap: 4px; align-content: start; }
.footer-cols strong { color: var(--ink); font-weight: 600; }
.footer-cols span, .footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; }
.big-name { width: 100%; height: auto; display: block; fill: var(--ink); }
.legal { margin-top: 20px; font-size: 1rem; color: var(--muted); }

.notfound { min-height: 100svh; display: grid; place-content: center; gap: 16px; padding: var(--margin); }
.notfound h1 { font-size: clamp(96px, 20vw, 280px); line-height: .9; }

/* Movimento */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .line > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.js .line:nth-child(2) > span { animation-delay: .11s; }
.js .hero-lead { opacity: 0; animation: fade .7s var(--ease) .75s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js figure.reveal img, .js .band img { transform: none; transition: none; }
  .js .reveal, .js .line > span, .js .hero-lead { opacity: 1; transform: none; animation: none; transition: none; }
}

@media (max-width: 860px) {
  .top { grid-template-columns: 1fr auto; padding-top: 20px; }
  .wordmark { position: static; }
  .top-right { grid-column: 2; grid-row: 1; gap: 4px; }
  .menu-btn { display: block; background: none; border: 0; font-weight: 600; min-height: 44px; padding: 0 12px; cursor: pointer; }
  .top nav { display: none; grid-column: 1 / -1; grid-row: 2; flex-direction: column; gap: 4px; padding: 12px 0; background: var(--bg); }
  .top nav.open { display: flex; }
  .top nav a { min-height: 44px; display: flex; align-items: center; }
  .top-cta { display: none; }
  .page-top { padding-top: 20px; }
  .leader { grid-template-columns: 1fr; row-gap: 32px; }
  .leader-photo, .leader-text { grid-column: 1; }
  .hero { grid-template-columns: 1fr; padding-bottom: 28px; align-content: end; row-gap: 20px; }
  .hero-title { grid-column: 1; grid-row: 1; font-size: 12.4vw; }
  .hero-lead { grid-row: 2; font-size: 1.0625rem; max-width: 34ch; padding-right: 0; margin: 0; }
  .poster-list li { grid-template-columns: 1fr; row-gap: 6px; margin-bottom: 20px; }
  .poster-list .name, .poster-head h2 { font-size: 11vw; }
  .poster-list p { padding-left: var(--margin); }
  .method, .contact { grid-template-columns: 1fr; row-gap: 40px; }
  .method-text, .slip, .contact-lead, form { grid-column: 1; }
  .slip { justify-self: stretch; width: 100%; padding: 28px 20px 52px; }
  .slip-end { margin: 28px -20px 0; padding: 10px 20px; }
  .about-text { columns: 1; hyphens: none; }
  .about-pics { grid-template-columns: 1fr; }
  .hero-cta { display: inline-flex; }
  .footer-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
