:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-soft: #171721;
  --text: #eaeffa;
  --muted: #a3a9bf;
  --red: #e11d2e;
  --paper: #f0ede7;
  --ink: #111115;
  --line: rgba(234, 239, 250, 0.18);
  --line-strong: rgba(234, 239, 250, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
em { color: var(--red); font-style: normal; }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  width: min(100% - 72px, 1500px);
  min-height: 92px;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
}
.brand { display: block; width: 164px; height: 68px; overflow: hidden; }
.brand img, footer img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(24px, 3vw, 50px); font-size: .82rem; font-weight: 700; }
.desktop-nav a { position: relative; padding: 12px 0; }
.desktop-nav a::after { position: absolute; bottom: 3px; left: 0; width: 100%; height: 2px; content: ""; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; gap: 16px; min-height: 46px; padding: 0 20px; border: 1px solid var(--line-strong); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.header-cta:hover { border-color: var(--red); background: var(--red); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(700px, 100svh);
  overflow: hidden;
  padding: 124px max(36px, calc((100vw - 1500px) / 2 + 36px)) 48px;
}
.hero-copy { position: relative; z-index: 4; width: min(58vw, 860px); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow span { display: inline-block; flex: 0 0 auto; width: 34px; height: 2px; background: var(--red); }
.hero h1, .section-heading h2, .contact-panel h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .012em;
}
.hero h1 { max-width: 850px; font-size: clamp(4.5rem, 7vw, 7.7rem); line-height: 1.12; }
.hero h1 em { display: inline; }
.hero-description { margin: 28px 0 0; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 56px; padding: 0 22px; border: 1px solid transparent; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .045em; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.button span { font-size: 1.05rem; }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: #fff; color: var(--bg); }
.button-secondary { border-color: var(--line-strong); }
.button-secondary:hover { border-color: var(--text); background: rgba(255,255,255,.08); }
.hero-visual { position: absolute; top: 92px; right: -3vw; bottom: 0; z-index: 2; width: min(52vw, 850px); overflow: hidden; clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%, 12% 65%); }
.hero-visual::before { position: absolute; inset: 0; z-index: 2; content: ""; background: linear-gradient(90deg, var(--bg), rgba(10,10,15,.15) 48%, transparent 75%); }
.hero-visual picture, .hero-visual img { display: block; width: 100%; height: 100%; }
.hero-visual img { object-fit: cover; object-position: 62% center; filter: contrast(1.2) brightness(.8); }
.halftone { position: absolute; inset: 0; z-index: 3; opacity: .19; mix-blend-mode: screen; background-image: radial-gradient(circle, rgba(255,255,255,.75) 0 1px, transparent 1.5px); background-size: 5px 5px; }
.signal-block { position: absolute; left: 8%; bottom: 7%; z-index: 4; width: 45%; height: 36%; opacity: .72; background: var(--red); clip-path: polygon(18% 0,100% 8%,82% 100%,0 88%); mix-blend-mode: multiply; }

.clients, .method, .results { padding: 104px max(36px, calc((100vw - 1500px) / 2 + 36px)); }
.clients { background: var(--paper); color: var(--ink); }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: start; }
.section-heading .eyebrow { color: inherit; }
.section-heading h2 { max-width: 920px; font-size: clamp(3.7rem, 5.6vw, 6.5rem); line-height: 1.12; }
.compact-heading h2 { font-size: clamp(3.4rem, 5vw, 5.7rem); }
.client-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: rgba(17,17,21,.22); border: 1px solid rgba(17,17,21,.22); }
.client-list span { display: flex; align-items: center; min-height: 70px; padding: 18px 22px; background: var(--paper); font-size: .86rem; font-weight: 800; }
.artist-proof { max-width: 1180px; margin: 40px auto 0; color: #65616b; font-size: .92rem; line-height: 1.7; text-align: center; }

.method { background: var(--bg); }
.formula-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px; background: var(--line); border: 1px solid var(--line); }
.formula-card, .proof-card { min-height: 245px; padding: 28px; background: var(--surface); }
.card-number { color: var(--red); font-size: .67rem; font-weight: 900; letter-spacing: .12em; }
.formula-card h3, .proof-card h3 { margin: 72px 0 12px; font-size: 1.15rem; line-height: 1.2; }
.formula-card p, .proof-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }

.results { background: var(--paper); color: var(--ink); }
.results-heading { align-items: end; }
.proof-cases { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 58px; background: rgba(17,17,21,.22); border: 1px solid rgba(17,17,21,.22); }
.proof-card { background: var(--paper); }
.proof-card p { color: #65616b; }
.contact-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; margin-top: 100px; padding: 58px; background: var(--red); color: #fff; }
.contact-panel .eyebrow span { background: #fff; }
.contact-panel h2 { max-width: 760px; font-size: clamp(3.4rem, 5vw, 5.8rem); line-height: 1.12; }
.contact-copy { display: flex; flex-direction: column; justify-content: flex-end; }
.contact-copy p { margin: 0 0 28px; font-size: 1rem; line-height: 1.65; }
.button-light { background: #fff; color: var(--bg); }
.button-light:hover { background: var(--bg); color: #fff; }
footer { display: grid; grid-template-columns: 140px 1fr auto; gap: 30px; align-items: center; margin-top: 34px; padding-top: 34px; border-top: 1px solid rgba(17,17,21,.22); color: #65616b; font-size: .8rem; }
footer img { width: 130px; height: 54px; filter: invert(1); }
footer a { color: var(--ink); font-weight: 800; }

.mobile-review-shell { min-height: 100vh; padding: 28px; background: #1a1a22; }
.mobile-review-shell h1 { margin: 0 0 18px; color: #fff; font-size: 1rem; font-weight: 700; }
.phone-frame { width: 390px; max-width: 100%; height: 844px; margin: 0 auto; overflow: hidden; border: 10px solid #050508; border-radius: 36px; background: var(--bg); box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.phone-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 20px; }
  .hero-copy { width: 64vw; }
  .formula-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  .hero h1, .section-heading h2, .contact-panel h2 { letter-spacing: -.025em; }
  .site-header { grid-template-columns: 1fr auto; width: calc(100% - 32px); min-height: 74px; }
  .brand { width: 116px; height: 54px; }
  .desktop-nav { display: none; }
  .header-cta { min-height: 40px; padding: 0 12px; font-size: .6rem; }
  .hero { display: block; min-height: 0; padding: 102px 18px 0; }
  .hero-copy { width: 100%; }
  .eyebrow { margin-bottom: 18px; font-size: .61rem; letter-spacing: .14em; }
  .hero h1 { max-width: none; font-size: clamp(3.15rem, 14.2vw, 4.35rem); line-height: .92; }
  .hero h1 em { display: block; margin-top: 4px; }
  .hero-description { margin-top: 22px; }
  .hero-actions { flex-direction: column; margin-top: 24px; }
  .button { width: 100%; min-height: 52px; }
  .hero-visual { position: relative; top: auto; right: auto; bottom: auto; width: calc(100% + 36px); height: 300px; margin: 26px -18px 0; clip-path: polygon(10% 0,100% 0,100% 100%,0 100%,0 16%); }
  .hero-visual::before { background: linear-gradient(180deg,var(--bg),transparent 35%); }
  .clients, .method, .results { padding: 72px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .section-heading h2, .compact-heading h2, .contact-panel h2 { font-size: clamp(3rem, 13.8vw, 4.15rem); line-height: .94; }
  .client-list, .formula-grid, .proof-cases { grid-template-columns: 1fr; margin-top: 36px; }
  .client-list span { min-height: 58px; }
  .artist-proof { margin-top: 30px; text-align: left; }
  .formula-card, .proof-card { min-height: 190px; }
  .formula-card h3, .proof-card h3 { margin-top: 48px; }
  .contact-panel { grid-template-columns: 1fr; gap: 30px; margin-top: 72px; padding: 34px 22px; }
  footer { grid-template-columns: 1fr; }
  footer img { filter: none; }
}

@media (max-width: 420px) {
  .header-cta { gap: 8px; padding: 0 10px; }
  .hero h1 { font-size: 3.2rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise-in 520ms ease-out both; }
  .hero-visual { animation: reveal-visual 720ms ease-out both; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-visual { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

/* Portfólio */
.portfolio-header { position: absolute; }
.portfolio-hero { min-height: 720px; padding: 178px max(36px, calc((100vw - 1500px) / 2 + 36px)) 84px; background: radial-gradient(circle at 82% 30%, rgba(225,29,46,.18), transparent 29%), var(--bg); }
.portfolio-hero > div:first-child { max-width: 1120px; }
.portfolio-hero h1, .portfolio-group h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: .012em; }
.portfolio-hero h1 { max-width: 1050px; font-size: clamp(5rem, 8.1vw, 8.8rem); line-height: 1.06; }
.portfolio-hero > div:first-child > p:last-child { margin: 30px 0 0; color: var(--muted); font-size: 1.1rem; }
.portfolio-stats { display: grid; grid-template-columns: .95fr 1fr 1.1fr; max-width: 1120px; margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portfolio-stats div { display: flex; align-items: baseline; gap: 16px; padding: 24px 28px; border-right: 1px solid var(--line); }
.portfolio-stats div:last-child { border-right: 0; }
.portfolio-stats strong { flex: 0 0 auto; color: var(--red); font-size: 1.8rem; white-space: nowrap; }
.portfolio-stats span { color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.portfolio-projects { background: var(--bg); }
.portfolio-group { padding: 104px max(36px, calc((100vw - 1500px) / 2 + 36px)); }
.portfolio-group-light { background: var(--paper); color: var(--ink); }
.portfolio-group-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: start; }
.portfolio-group-heading h2 { font-size: clamp(3.7rem, 5.6vw, 6.5rem); line-height: 1.1; }
.portfolio-group-heading > div > p { max-width: 620px; margin: 18px 0 0; color: var(--muted); line-height: 1.6; }
.portfolio-group-light .portfolio-group-heading > div > p { color: #65616b; }
.event-list { margin-top: 58px; border-top: 1px solid var(--line); }
.portfolio-group-light .event-list { border-color: rgba(17,17,21,.22); }
.event-row { display: grid; grid-template-columns: 60px 130px 1fr auto; gap: 22px; align-items: center; min-height: 88px; border-bottom: 1px solid var(--line); transition: background 160ms ease, padding 160ms ease; }
.portfolio-group-light .event-row { border-color: rgba(17,17,21,.22); }
.event-row:hover { padding: 0 18px; background: var(--red); color: #fff; }
.event-index { color: var(--red); font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.event-row:hover .event-index { color: #fff; }
.event-row time { color: var(--muted); font-size: .77rem; font-weight: 800; }
.portfolio-group-light .event-row time { color: #65616b; }
.event-row:hover time { color: #fff; }
.event-row strong { font-size: 1.03rem; }
.event-link { font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.event-link b { margin-left: 14px; font-size: 1rem; }
.portfolio-end { padding: 1px max(36px, calc((100vw - 1500px) / 2 + 36px)) 44px; background: var(--paper); color: var(--ink); }

@media (max-width: 820px) {
  .portfolio-hero { min-height: 0; padding: 126px 18px 66px; }
  .portfolio-hero h1, .portfolio-group h2 { letter-spacing: -.025em; }
  .portfolio-hero h1 { font-size: clamp(3.2rem, 14.5vw, 4.6rem); line-height: .96; }
  .portfolio-stats { grid-template-columns: 1fr; margin-top: 48px; }
  .portfolio-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .portfolio-stats div:last-child { border-bottom: 0; }
  .portfolio-group { padding: 72px 18px; }
  .portfolio-group-heading { grid-template-columns: 1fr; gap: 10px; }
  .portfolio-group-heading h2 { font-size: clamp(3rem, 13.8vw, 4.15rem); line-height: .96; }
  .event-list { margin-top: 36px; }
  .event-row { grid-template-columns: 38px 1fr auto; gap: 12px; padding: 18px 0; }
  .event-row time { grid-column: 2; grid-row: 2; }
  .event-row strong { grid-column: 2; grid-row: 1; }
  .event-index { grid-row: 1 / 3; }
  .event-link { grid-column: 3; grid-row: 1 / 3; font-size: 0; }
  .event-link b { margin: 0; font-size: 1rem; }
  .event-row:hover { padding: 18px 12px; }
  .portfolio-end { padding: 1px 18px 34px; }
}
