:root {
  --ink: #09090a;
  --ink-soft: #121214;
  --paper: #f2f0eb;
  --muted: #a8a49e;
  --red: #ff2337;
  --yellow: #f4d500;
  --line: rgba(242, 240, 235, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--yellow); color: var(--ink); padding: .8rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 1rem; color: var(--yellow); font: 800 .82rem/1.1 "Bahnschrift", "Arial Narrow", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.display { margin: 0; font-family: "Bahnschrift", "Arial Narrow", sans-serif; font-stretch: condensed; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; }
.display span { color: var(--red); }
.section-title { max-width: 760px; font-size: clamp(2.6rem, 7vw, 6rem); }
.section-copy { max-width: 680px; color: #c7c3bc; font-size: 1.08rem; }
.section { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .85rem 1.2rem; border: 1px solid var(--paper); color: var(--paper); text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; transition: .2s ease; }
.btn:hover, .btn:focus-visible { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.btn-primary { border-color: var(--red); background: var(--red); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.btn-dark { border-color: var(--ink); color: var(--ink); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--ink); color: var(--paper); }
.button-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.15); }
.kit-page .site-header { background: rgba(9,9,10,.93); color: var(--paper); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-family: "Bahnschrift", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.brand small { display: block; color: var(--muted); font: 600 .64rem/1.2 "Segoe UI", sans-serif; letter-spacing: .12em; }
.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a { text-decoration: none; font-weight: 700; font-size: .9rem; }
.nav a:not(.btn):hover, .nav a:not(.btn):focus-visible { color: var(--yellow); }
.nav .btn { min-height: 42px; padding: .55rem .8rem; }
.menu { display: none; width: 46px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--paper); font-weight: 800; }

.hero { min-height: 100svh; display: grid; align-items: stretch; background: #080809; }
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 9rem max(2rem, calc((100vw - var(--max))/2)) 4.5rem max(2rem, calc((100vw - var(--max))/2)); }
.hero .display { font-size: clamp(5rem, 10vw, 10.5rem); }
.hero-lead { max-width: 580px; margin: 1.6rem 0 0; color: #d4d1ca; font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.hero-lead strong { color: var(--paper); }
.hero-visual { position: relative; min-height: 720px; overflow: hidden; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(100%) contrast(1.06); }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #080809 0, transparent 28%), linear-gradient(0deg, rgba(0,0,0,.72), transparent 35%); }
.hero-stamp { position: absolute; z-index: 2; right: 2rem; bottom: 2rem; width: 170px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--yellow); border-radius: 50%; color: var(--yellow); font: 800 1.15rem/1.05 "Bahnschrift", sans-serif; text-align: center; text-transform: uppercase; transform: rotate(-7deg); }
.stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); background: rgba(8,8,9,.85); backdrop-filter: blur(12px); }
.stat { padding: 1.2rem 1.4rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--yellow); font: 800 clamp(1.7rem, 3vw, 2.8rem)/1 "Bahnschrift", sans-serif; }
.stat span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.portrait-frame { position: relative; }
.portrait-frame::before { content: ""; position: absolute; left: -16px; top: 22px; width: 52%; height: 68%; border: 2px solid var(--red); }
.portrait-frame img { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 25%; }
.values { display: grid; gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.value b { color: var(--red); font: 800 1.1rem/1 "Bahnschrift", sans-serif; }
.value h3 { margin: 0 0 .25rem; font: 800 1.1rem/1.1 "Bahnschrift", sans-serif; text-transform: uppercase; }
.value p { margin: 0; color: var(--muted); }

.method { background: var(--paper); color: var(--ink); overflow: hidden; }
.method::after { content: "TRANSFORMAÇÃO"; position: absolute; left: -1rem; bottom: -2.5rem; color: rgba(9,9,10,.045); font: 900 clamp(6rem, 18vw, 18rem)/.75 "Bahnschrift", sans-serif; white-space: nowrap; }
.method .eyebrow { color: #c51020; }
.method-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border: 2px solid var(--ink); }
.method-card { min-height: 280px; padding: 2rem; border-right: 2px solid var(--ink); }
.method-card:last-child { border-right: 0; }
.method-card b { color: var(--red); font: 900 3rem/1 "Bahnschrift", sans-serif; }
.method-card h3 { font: 900 1.45rem/1 "Bahnschrift", sans-serif; text-transform: uppercase; }
.method-card p { color: #454347; }

.repertoire-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.repertoire-head .section-copy { margin-bottom: .4rem; }
.gallery { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 350px 350px; gap: 12px; }
.story-card { position: relative; overflow: hidden; background: var(--ink-soft); text-decoration: none; }
.story-card:first-child { grid-row: 1 / 3; }
.story-card:nth-child(4) { grid-column: 2 / 4; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover img { transform: scale(1.035); }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent 62%); }
.story-label { position: absolute; z-index: 1; inset: auto 1.2rem 1.1rem; }
.story-label small { color: var(--yellow); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.story-label h3 { margin: .25rem 0 0; font: 800 1.4rem/1.1 "Bahnschrift", sans-serif; text-transform: uppercase; }

.brand-fit { border-top: 1px solid var(--line); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.fit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fit-item { min-height: 170px; padding: 1.5rem; background: var(--ink); }
.fit-item h3 { margin: 0 0 .5rem; font: 800 1.2rem/1.1 "Bahnschrift", sans-serif; text-transform: uppercase; }
.fit-item p { margin: 0; color: var(--muted); font-size: .95rem; }

.cta-band { padding: clamp(4rem, 9vw, 8rem) 0; background: var(--yellow); color: var(--ink); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.cta-band .display { max-width: 800px; font-size: clamp(3rem, 8vw, 7rem); }
.cta-band .eyebrow { color: var(--ink); }
.cta-actions { display: grid; gap: .8rem; min-width: 250px; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }

/* Media kit */
.kit-hero { min-height: 780px; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--paper); color: var(--ink); }
.kit-cover-copy { display: flex; flex-direction: column; justify-content: center; padding: 8rem max(2rem, calc((100vw - var(--max))/2)) 5rem max(2rem, calc((100vw - var(--max))/2)); }
.kit-cover-copy .display { font-size: clamp(5rem, 11vw, 11rem); }
.kit-cover-copy .eyebrow { color: #c51020; }
.kit-cover-photo { position: relative; min-height: 650px; overflow: hidden; }
.kit-cover-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.kit-cover-photo::after { content: ""; position: absolute; inset: 0; border: 14px solid var(--red); border-left: 0; pointer-events: none; }
.kit-note { margin-top: 2rem; max-width: 520px; color: #444148; font-size: 1.1rem; }
.kit-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
.kit-metric { padding: 1.7rem; background: var(--ink-soft); }
.kit-metric strong { display: block; color: var(--yellow); font: 800 2.4rem/1 "Bahnschrift", sans-serif; }
.kit-metric span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.territories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 3rem; }
.territory { min-height: 170px; padding: 1.2rem; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.territory b { color: var(--red); font: 800 1.6rem/1 "Bahnschrift", sans-serif; }
.territory span { font-weight: 800; text-transform: uppercase; }
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.format-list { display: grid; gap: .7rem; }
.format { padding: 1.2rem 1.3rem; border-left: 5px solid var(--red); background: #171719; }
.format h3 { margin: 0 0 .25rem; font: 800 1.2rem/1 "Bahnschrift", sans-serif; text-transform: uppercase; }
.format p { margin: 0; color: var(--muted); }
.kit-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kit-gallery figure { margin: 0; position: relative; min-height: 470px; overflow: hidden; }
.kit-gallery img { width: 100%; height: 100%; object-fit: cover; }
.kit-gallery figcaption { position: absolute; inset: auto .8rem .8rem; padding: .7rem; background: rgba(9,9,10,.88); font-weight: 700; }
.proposal { background: var(--red); color: #fff; }
.proposal-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.proposal .display { font-size: clamp(3.6rem, 8vw, 7.5rem); }
.proposal .display span { color: var(--yellow); }
.brief-list { display: grid; gap: .6rem; margin: 1.7rem 0; }
.brief-list span { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.35); font-weight: 700; }
.source-note { color: var(--muted); font-size: .82rem; }
.source-note a { color: inherit; }
.redirect { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.redirect .display { font-size: clamp(4rem, 12vw, 10rem); }

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .menu { display: block; }
  .nav { display: none; position: absolute; inset: 84px 0 auto; padding: 1.5rem max(1rem, calc((100vw - var(--max))/2)); background: rgba(8,8,9,.98); border-bottom: 1px solid var(--line); align-items: stretch; flex-direction: column; }
  .nav.open { display: flex; }
  .hero-grid, .kit-hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 690px; padding: 9rem 1.5rem 3rem; }
  .hero-visual { min-height: 620px; }
  .hero-visual::before { background: linear-gradient(0deg, rgba(0,0,0,.82), transparent 45%); }
  .intro-grid, .fit-grid, .format-grid, .proposal-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .method-card { min-height: auto; border-right: 0; border-bottom: 2px solid var(--ink); }
  .method-card:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 520px 300px 300px; }
  .story-card:first-child { grid-column: 1 / 3; grid-row: auto; }
  .story-card:nth-child(4) { grid-column: 1 / 3; }
  .cta-grid { grid-template-columns: 1fr; }
  .territories { grid-template-columns: repeat(2, 1fr); }
  .territory:last-child { grid-column: 1 / 3; }
  .kit-gallery { grid-template-columns: 1fr 1fr; }
  .kit-gallery figure:last-child { grid-column: 1 / 3; }
  .kit-cover-copy { padding: 9rem 1.5rem 4rem; }
}

@media (max-width: 600px) {
  .brand span { display: none; }
  .hero-copy { min-height: 630px; }
  .hero .display { font-size: clamp(4.2rem, 23vw, 7rem); }
  .hero-visual { min-height: 500px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 430px); }
  .story-card:first-child, .story-card:nth-child(4) { grid-column: auto; }
  .fit-list { grid-template-columns: 1fr; }
  .territories { grid-template-columns: 1fr; }
  .territory:last-child { grid-column: auto; }
  .kit-gallery { grid-template-columns: 1fr; }
  .kit-gallery figure, .kit-gallery figure:last-child { grid-column: auto; min-height: 430px; }
  .kit-metrics { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .button-row, .button-row .btn { width: 100%; }
  .cta-actions { min-width: 0; }
}

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

@media print {
  .site-header, .site-footer, .menu, .button-row { display: none !important; }
  body { background: white; color: black; }
  .section, .kit-hero { break-inside: avoid; }
  .kit-hero { min-height: auto; }
}
