/* Estudos de caso: mesmo visual da galáxia (fundo preto, Big Shoulders + Schibsted) */
:root {
  --bg: #000;
  --ink: #f2f0e8;
  --text: #d9d4c7;
  --muted: #a8a294;
  --sand: #f0b66e;
  --blue: #6fa8ff;
  --line: rgba(242, 240, 232, 0.14);
  --surface: rgba(242, 240, 232, 0.04);
  --f-big: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-text: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --gut: clamp(16px, 3vw, 44px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sand); color: #1a1208; }
.wrap { width: min(1120px, 100% - 2 * var(--gut)); margin: 0 auto; }
.arrow { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.12em; }

/* barra do topo com o "voltar" */
.cs-bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gut); background: rgba(0, 0, 0, 0.88); border-bottom: 1px solid var(--line); }
.cs-back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; color: var(--ink); transition: background-color 0.25s, border-color 0.25s, transform 0.2s var(--ease); }
.cs-back:hover { background: rgba(242, 240, 232, 0.1); border-color: rgba(242, 240, 232, 0.35); }
.cs-back:active { transform: scale(0.97); }
.cs-bar__title { font: 700 13px/1 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* topo do estudo */
.cs-hero { padding: clamp(56px, 9vh, 96px) 0 clamp(36px, 6vh, 56px); }
.cs-hero .wrap { display: grid; gap: 20px; }
.eyebrow { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.h1 { max-width: 18ch; font: 900 clamp(44px, 6.4vw, 92px)/0.92 var(--f-big); text-transform: uppercase; color: var(--ink); letter-spacing: 0.005em; }
.hero__lead { max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--text); }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.meta dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.meta dd { color: var(--ink); font-weight: 500; }
.link { color: var(--sand); text-underline-offset: 3px; }
.link:hover { color: #ffc887; }

/* print do produto numa moldura de navegador */
.cs-shot { padding-bottom: clamp(40px, 7vh, 72px); }
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0d0d10; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(242, 240, 232, 0.18); }
.browser__url { margin-left: 10px; font-size: 13px; color: var(--muted); }

/* seções */
.cs-section { padding: clamp(40px, 7vh, 64px) 0; border-top: 1px solid var(--line); }
.cs-section__grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.cs-section h2 { font: 900 clamp(30px, 3vw, 42px)/1 var(--f-big); text-transform: uppercase; color: var(--ink); }
.prose { display: grid; gap: 14px; max-width: 68ch; }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 1.2em; }
.prose li::marker { color: var(--sand); }
.prose strong { color: var(--ink); font-weight: 700; }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.metric { display: grid; gap: 6px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.metric b { font: 900 clamp(40px, 4vw, 56px)/1 var(--f-big); color: var(--sand); }
.metric span { color: var(--muted); font-size: 15px; }

.modgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0 !important; }
.modgrid li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.modgrid b { color: var(--ink); }
.modgrid span { color: var(--muted); font-size: 15px; }

/* próximo estudo */
.next { display: grid; gap: 8px; padding: clamp(48px, 8vh, 80px) 0; border-top: 1px solid var(--line); }
.next a { justify-self: start; font: 900 clamp(36px, 5vw, 64px)/1 var(--f-big); text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.next a:hover { color: var(--sand); }
.next a .arrow { transition: transform 0.3s var(--ease); }
.next a:hover .arrow { transform: translateX(6px); }

/* rodapé */
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer small { color: var(--muted); font-size: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer__links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; font-size: 15px; }
.footer__links a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-section__grid { grid-template-columns: 1fr; }
  .modgrid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .cs-bar__title { display: none; } }
