/* WW Mídia — Production site
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop), 1440px (wide). */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --bg: #fafaf7;
  --ink: #0a0a0a;
  --muted: #6b6b68;
  --line: #e5e3dc;
  --accent: #d6ff3d;
  --paper: #ffffff;

  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 10vw, 120px);

  /* Fluid type scale */
  --t-mono: clamp(11px, 0.95vw, 12px);
  --t-body-sm: clamp(13px, 1.1vw, 14px);
  --t-body: clamp(15px, 1.35vw, 18px);
  --t-body-lg: clamp(17px, 1.7vw, 22px);
  --t-h3: clamp(24px, 3vw, 32px);
  --t-h2: clamp(36px, 5.5vw, 56px);
  --t-h2-big: clamp(44px, 8vw, 96px);
  --t-h1: clamp(56px, 12vw, 168px);
  --t-num: clamp(40px, 6vw, 76px);
  --t-num-xl: clamp(52px, 8vw, 88px);
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: var(--t-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
.eyebrow { font-family: 'Geist Mono', ui-monospace, monospace; font-size: var(--t-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.hl { background: var(--accent); padding: 0 .25em; }

h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
p { margin: 0; }

/* ---------- Layout ---------- */
.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }
section { border-bottom: 1px solid var(--line); padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 768px) {
  .section-head { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; background: var(--ink); color: var(--accent); border-radius: 6px; display: grid; place-items: center; font-family: 'Geist Mono', monospace; font-size: 13px; font-weight: 700; }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 13px; font-weight: 500; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav { padding: 20px var(--pad-x); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
@media (min-width: 768px) { .btn { padding: 20px 28px; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(48px, 8vw, 80px); }
.hero h1 { font-size: var(--t-h1); letter-spacing: -0.045em; line-height: 0.92; max-width: 18ch; }
.hero-foot { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: clamp(48px, 8vw, 100px); align-items: end; }
.hero-foot p { font-size: var(--t-body-lg); line-height: 1.45; max-width: 540px; letter-spacing: -0.005em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 768px) {
  .hero-foot { grid-template-columns: 1fr 1fr; gap: 80px; }
  .hero-actions { justify-content: flex-end; }
}

/* ---------- Metrics ---------- */
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.metric { padding: 28px 16px 28px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric:nth-child(2n) { border-right: none; padding-left: 16px; }
.metric .k { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.metric .v { font-size: var(--t-num); font-weight: 500; letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 16px; }
.metric .l { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.metric .n { font-size: 13px; color: var(--muted); line-height: 1.5; }
@media (min-width: 1024px) {
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }
  .metric { padding: 40px 32px 40px 0; border-bottom: none; }
  .metric:nth-child(2n) { border-right: 1px solid var(--line); padding-left: 0; }
  .metric:not(:first-child) { padding-left: 32px; }
  .metric:last-child { border-right: none; }
}

/* ---------- Cases ---------- */
.cases { background: var(--paper); }
.cases h2 { font-size: var(--t-h2-big); letter-spacing: -0.04em; line-height: 0.95; max-width: 18ch; margin-bottom: clamp(40px, 7vw, 80px); }

.dash { border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--bg); margin-bottom: clamp(48px, 8vw, 80px); }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.dash-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-bar .dot.r { background: #ff5f57; } .dash-bar .dot.y { background: #febc2e; } .dash-bar .dot.g { background: #28c840; }
.dash-bar .title { margin-left: 8px; }
.dash-bar .meta { margin-left: auto; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; }
.kpi { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.kpi .l { font-size: 11px; color: var(--muted); margin-bottom: 10px; font-family: 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.kpi .v { font-size: clamp(22px, 3vw, 32px); font-weight: 500; letter-spacing: -0.03em; }
.chart-wrap { padding: 0 20px 20px; }
.chart { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.chart-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; font-size: 11px; color: var(--muted); font-family: 'Geist Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.chart svg { width: 100%; height: auto; display: block; }
@media (min-width: 768px) {
  .kpis { grid-template-columns: repeat(4, 1fr); padding: 32px; gap: 16px; }
  .kpi { padding: 20px; }
  .chart-wrap { padding: 0 32px 32px; }
  .chart { padding: 24px; }
}

/* Funnel */
.funnel-head { font-family: 'Geist Mono', monospace; font-size: var(--t-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; }
.funnel { border: 1px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--bg); margin-bottom: clamp(48px, 8vw, 80px); }
.stage { padding: 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 16px; }
.stage:last-child { border-bottom: none; }
.stage-id { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); }
.stage-name { font-size: clamp(22px, 3vw, 32px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 4px; }
.stage-sub { font-size: 13px; color: var(--muted); }
.stage-bar { position: relative; height: 28px; background: var(--line); border-radius: 4px; overflow: hidden; }
.stage-bar > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); transition: width .4s; }
.stage:last-child .stage-bar > span { background: var(--accent); }
.stage-val { font-family: 'Geist Mono', monospace; font-size: clamp(20px, 2.5vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.stage-drop { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); margin-top: 4px; }
@media (min-width: 768px) {
  .stage { grid-template-columns: 100px 1fr 180px 120px; align-items: center; gap: 24px; padding: 28px 32px; }
  .stage-val-wrap { text-align: right; }
}

.creatives { display: grid; grid-template-columns: 1fr; gap: 12px; }
.creative { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.creative .v { font-size: var(--t-num-xl); font-weight: 500; letter-spacing: -0.04em; line-height: 0.9; margin-bottom: 12px; }
.creative .l { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.creative .s { font-size: 13px; color: var(--muted); font-family: 'Geist Mono', monospace; }
@media (min-width: 768px) { .creatives { grid-template-columns: repeat(3, 1fr); gap: 16px; } .creative { padding: 32px; } }

/* ---------- Other Results ---------- */
.results-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.result-card { padding: 28px; border: 1px solid var(--ink); border-radius: 14px; background: var(--paper); }
.result-tag { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.result-mkt { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--muted); margin-bottom: 24px; }
.result-headline { font-size: clamp(22px, 3vw, 32px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 24px; }
.result-rows { border-top: 1px solid var(--line); }
.result-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.result-row .k { color: var(--muted); font-family: 'Geist Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.result-row .v { font-family: 'Geist Mono', monospace; font-weight: 600; text-align: right; }
@media (min-width: 768px) { .results-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .result-card { padding: 40px; } .result-headline { min-height: 100px; } }

/* ---------- Expertise ---------- */
.expertise-list { border-top: 1px solid var(--ink); }
.expertise-item { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.expertise-item .n { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--muted); }
.expertise-item .t { font-size: clamp(22px, 3vw, 32px); font-weight: 500; letter-spacing: -0.02em; }
.expertise-item .d { font-size: var(--t-body); color: var(--muted); line-height: 1.5; max-width: 640px; }
@media (min-width: 768px) { .expertise-item { grid-template-columns: 100px 1fr 2fr; gap: 40px; padding: 36px 0; } }

/* ---------- Launch ---------- */
.launch h2 { font-size: var(--t-h2-big); letter-spacing: -0.04em; line-height: 0.95; max-width: 18ch; }
.launch-list { margin-top: clamp(48px, 8vw, 100px); border-top: 1px solid var(--ink); }
.phase { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.phase .wk { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.phase .name { font-size: clamp(24px, 3.4vw, 36px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; }
.phase .d { font-size: var(--t-body); color: var(--muted); line-height: 1.5; max-width: 640px; }
@media (min-width: 768px) { .phase { grid-template-columns: 140px 1fr 2fr; gap: 40px; padding: 40px 0; } }

/* ---------- Studio (Lucas) ---------- */
.studio { background: var(--paper); }
.studio-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.studio-portrait { width: 100%; aspect-ratio: 4/5; background: var(--bg); border: 1px solid var(--line); position: relative; overflow: hidden; max-width: 440px; }
.studio-portrait::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0 12px, var(--line) 12px 13px); opacity: .5; }
.studio-portrait::after { content: "L"; position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(120px, 18vw, 180px); color: var(--ink); }
.studio-bio h2 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; line-height: 1; margin-bottom: 32px; }
.studio-bio h2 .role { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--muted); font-size: clamp(28px, 4vw, 48px); display: block; margin-top: 8px; }
.studio-bio p { font-size: var(--t-body-lg); line-height: 1.5; max-width: 720px; margin-bottom: 32px; letter-spacing: -0.005em; }
.studio-cols { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.studio-cols .h { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.studio-cols .b { font-size: 16px; line-height: 1.6; }
@media (min-width: 768px) { .studio-grid { grid-template-columns: 1fr 1.5fr; gap: 64px; } .studio-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ---------- Sectors ---------- */
.sectors-list { display: flex; flex-wrap: wrap; gap: 0 4px; font-size: clamp(28px, 5.5vw, 64px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15; }
.sectors-list .sep { color: var(--muted); margin: 0 8px; font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }
@media (min-width: 768px) { .sectors-list .sep { margin: 0 16px; } }

/* ---------- Quotes ---------- */
.quotes { background: var(--paper); }
.quotes-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.quote .q { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 24px; font-weight: 400; }
.quote-meta { border-top: 1px solid var(--line); padding-top: 14px; }
.quote-meta .who { font-size: 16px; font-weight: 600; }
.quote-meta .role { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (min-width: 768px) { .quotes-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- FAQ ---------- */
.faq h2 { font-size: var(--t-h2); letter-spacing: -0.03em; max-width: 18ch; }
.faq-list { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; letter-spacing: -0.015em; }
.faq-item summary .plus { font-family: 'Geist Mono', monospace; font-size: 18px; color: var(--muted); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-answer { padding: 0 0 24px; max-width: 800px; font-size: var(--t-body); color: var(--muted); line-height: 1.55; }
.faq-answer p + p { margin-top: 12px; }

/* ---------- Contact ---------- */
.contact h2 { font-size: var(--t-h1); letter-spacing: -0.045em; line-height: 0.92; max-width: 14ch; }
.contact-actions { display: flex; gap: 16px; margin-top: clamp(48px, 8vw, 80px); align-items: center; flex-wrap: wrap; }
.contact-actions .btn { padding: 18px 28px; font-size: 16px; }
@media (min-width: 768px) { .contact-actions .btn { padding: 24px 36px; font-size: 18px; } }

/* ---------- Footer ---------- */
.foot { padding: 32px var(--pad-x); display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--muted); font-family: 'Geist Mono', monospace; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
@media (min-width: 768px) { .foot { flex-direction: row; justify-content: space-between; align-items: center; padding: 40px var(--pad-x); } }

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
