/* ============================================================
   ARTEMIS · Site MVP — estilos
   Tipografia 100% sans-serif (Hanken Grotesk), não condensada.
   Pesos variados: 300 light · 400 · 500 · 600 · 700 · 800.
   Cores/espaçamentos herdados dos tokens (../styles.css).
   ============================================================ */

:root {
  --site-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1200px;
  --maxw-wide: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* cursor de flecha roxa da Artemis */
:root {
  --cur-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 3 L24 14 L15.5 15.5 L14 24 Z' fill='%23C49BE6' stroke='%230B0C0C' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3, auto;
  --cur-pointer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M4 3 L24 14 L15.5 15.5 L14 24 Z' fill='%237A5C8E' stroke='%23FFF9F0' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3, pointer;
}
body { cursor: var(--cur-arrow); }
a, button, .btn, label, select, input[type="radio"], .choice, .polaroid, .case-media, [role="radiogroup"] label { cursor: var(--cur-pointer); }
input[type="text"], input[type="email"], input[type="tel"], textarea { cursor: text; }
body {
  margin: 0;
  font-family: var(--site-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- tipografia ---------- */
.eyebrow {
  font-family: var(--site-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--lilac-deep);
  margin: 0 0 1.4rem;
}
.s-ink .eyebrow, .hero .eyebrow, .s-lilac .eyebrow { color: var(--lilac-500); }
.s-lilac .eyebrow { color: var(--lilac-900); }

h1, h2, h3, h4 { font-family: var(--site-sans); margin: 0; color: var(--text-strong); }
h1, h2 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.12;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-weight: 600; line-height: 1.25; }
.lead {
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--text-body);
}
.s-ink .lead { color: var(--cream-200); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--text-muted); font-weight: 300; }
.s-ink .muted { color: var(--neutral-500); }

/* ---------- layout ---------- */
.section { padding: clamp(72px, 9vw, 128px) var(--gutter); }
.container { max-width: var(--maxw); margin: 0 auto; }
.container-wide { max-width: var(--maxw-wide); margin: 0 auto; }
.s-ink   { background: var(--surface-ink); color: var(--text-on-ink); }
.s-ink h1, .s-ink h2, .s-ink h3 { color: var(--cream-100); }
.s-ink p { color: var(--cream-200); }
.s-lilac { background: var(--surface-lilac); color: var(--text-on-lilac); }
.s-lilac h2, .s-lilac h3 { color: var(--ink-900); }
.s-lilac p { color: var(--lilac-900); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: var(--sp-6);
  padding: 20px var(--gutter);
  transition: background .35s var(--ease-out), padding .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.nav.scrolled { background: rgba(11,12,12,.9); backdrop-filter: blur(12px); padding: 12px var(--gutter); box-shadow: 0 1px 0 var(--line-on-ink); }
.nav__logo { font-family: var(--site-sans); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.35rem; color: var(--cream-100); line-height: 1; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: var(--sp-5); margin-left: auto; }
.nav__links a {
  font-family: var(--site-sans);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream-100);
  position: relative; padding: 6px 0;
  transition: color .18s var(--ease-out);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--lilac-300); transition: right .28s var(--ease-out);
}
.nav__links a:hover { color: var(--lilac-300); }
.nav__links a:hover::after { right: 0; }
.nav__links a.btn { padding: 12px 22px; letter-spacing: .1em; }
.nav__links a.btn::after { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--site-sans); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--r-md); border: 1.5px solid transparent;
  cursor: pointer; font-size: .82rem; padding: 13px 24px; line-height: 1;
  transition: background .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out), transform .18s var(--ease-out);
}
.btn .arrow { display: inline-block; transition: transform .28s var(--ease-out); }
.btn:hover .arrow { transform: translateX(6px); }
/* botão especial: contorno branco (o único destacado) */
.btn--outline-white { background: transparent; color: var(--cream-100); border-color: rgba(255,249,240,.55); }
.btn--outline-white:hover { border-color: var(--cream-100); background: var(--cream-100); color: var(--ink-900); }
.btn--outline-ink { background: transparent; color: var(--ink-900); border-color: var(--line-hairline); }
.btn--outline-ink:hover { border-color: var(--ink-900); background: var(--ink-900); color: var(--cream-100); }
.btn--solid-ink { background: var(--ink-900); color: var(--cream-100); border-color: var(--ink-900); }
.btn--solid-ink:hover { background: transparent; color: var(--ink-900); }
.btn--lg { font-size: .95rem; padding: 17px 32px; }

/* ============================================================
   HERO — Pentagram-style case cycler
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--ink-900);
  color: var(--cream-100);
  display: flex; align-items: center; justify-content: center;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; display: block;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s var(--ease-out), transform 7s linear;
  will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,12,12,.55) 0%, rgba(11,12,12,.35) 42%, rgba(11,12,12,.82) 100%);
}
.hero__brand {
  position: absolute; z-index: 3; top: clamp(80px, 12vh, 120px); left: 50%; translate: -50% 0;
  font-family: var(--site-sans); font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; font-size: clamp(3rem, 9vw, 7rem); line-height: 1;
  color: var(--cream-100);
}
.hero__foot {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6);
  padding: var(--gutter); padding-bottom: clamp(38px, 6vh, 64px);
  pointer-events: none;
}
.hero__foot a { pointer-events: auto; }
.hero__statement {
  margin: 0; max-width: 30ch;
  font-size: clamp(1.3rem, 2.6vw, 2.3rem); font-weight: 300; line-height: 1.22;
  letter-spacing: -0.005em; color: var(--cream-100); text-wrap: balance;
}
.hero__corner { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.hero__tag {
  margin: 0; font-size: clamp(.9rem, 1.5vw, 1.15rem); font-weight: 300;
  letter-spacing: .04em; color: var(--cream-200);
}
.hero__cta { }
.hero__chev {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; translate: -50% 0;
  width: 16px; height: 16px; border-right: 2px solid var(--lilac-300); border-bottom: 2px solid var(--lilac-300);
  rotate: 45deg; opacity: .55; animation: chevDip 2s var(--ease-in-out) infinite;
}
@keyframes chevDip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (max-width: 760px) {
  .hero__foot { flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
  .hero__corner { text-align: left; align-items: flex-start; }
  .hero__chev { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__chev { animation: none; }
  .hero__slide { transition: opacity 1s var(--ease-out); transform: none; }
  .hero__slide.is-active { transform: none; }
}

/* ---------- tagline (centralizada) ---------- */
.tagline { text-align: center; }
.tagline h2 { font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: 1.08; }
.tagline .em { color: var(--lilac-deep); }

/* ---------- marquee band ---------- */
.marquee { background: var(--lilac-300); color: var(--ink-900); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 0; animation: marqueeMove 26s linear infinite; }
.marquee span {
  font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.1rem, 2.4vw, 1.9rem); padding: 0 26px;
}
.marquee .sep { color: var(--lilac-700); }
@keyframes marqueeMove { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- cases ---------- */
.case-item { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; margin-top: var(--sp-7); }
.case-media { position: relative; overflow: hidden; border-radius: var(--r-photo); display: block; aspect-ratio: 4/3; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.case-media:hover img { transform: scale(1.04); }
.case-media .wash {
  position: absolute; inset: 0; background: var(--wash-ink); opacity: 0;
  transition: opacity .3s var(--ease-out); display: flex; align-items: flex-end; padding: var(--sp-5);
}
.case-media:hover .wash { opacity: 1; }
.wash span { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-100); font-size: .9rem; }
.case-meta { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-5); flex-wrap: wrap; }
.case-meta h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; letter-spacing: -0.01em; }
.tagrow { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-on-ink); color: var(--cream-200); border-radius: var(--r-pill); padding: 6px 14px;
}
.s-cream .tag, .tag--light { border-color: var(--line-hairline); color: var(--neutral-600); }

/* ---------- serviços (preto, minimalista, peso igual) ---------- */
.svc-head { max-width: 640px; margin-bottom: var(--sp-8); }
.svc-list { border-top: 1px solid var(--line-on-ink); }
.svc-row {
  display: grid; grid-template-columns: 64px minmax(220px, 300px) 1fr;
  gap: var(--sp-5); align-items: start;
  padding: var(--sp-6) 0; border-bottom: 1px solid var(--line-on-ink);
  transition: background .3s var(--ease-out);
}
.svc-row:hover { background: rgba(206,181,216,.05); }
.svc-num { font-size: 1rem; font-weight: 600; color: var(--lilac-500); letter-spacing: .1em; padding-top: 6px; }
.svc-row h3 { font-size: 1.3rem; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; color: var(--cream-100); }
.svc-row .svc-sub { font-weight: 300; color: var(--lilac-300); margin: 6px 0 0; font-size: 1rem; }
.svc-row .svc-desc { font-weight: 300; color: var(--cream-200); }
.svc-row .svc-desc b { font-weight: 600; color: var(--cream-100); }

/* ---------- metodologia ---------- */
.method-intro { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: end; margin-bottom: var(--sp-8); }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.phase { padding-top: var(--sp-4); border-top: 2px solid var(--ink-900); }
.phase .p-num { font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--lilac-deep); }
.phase h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: -0.005em; margin: 12px 0 10px; }
.phase p { font-weight: 300; font-size: .98rem; }

/* ---------- blog / polaroids ---------- */
.polaroids { display: flex; gap: var(--sp-6); flex-wrap: wrap; justify-content: center; margin-top: var(--sp-8); }
.polaroid {
  background: var(--cream-050); padding: 13px 13px 46px; border-radius: var(--r-photo);
  box-shadow: var(--shadow-photo); width: min(240px, 70vw); position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); display: block;
}
.polaroid figure { margin: 0; aspect-ratio: 1; background: var(--cream-200); overflow: hidden; }
.polaroid figcaption {
  position: absolute; left: 13px; right: 13px; bottom: 15px; text-align: center;
  font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--neutral-600);
}
.polaroid:nth-child(odd) { transform: rotate(-2.4deg); }
.polaroid:nth-child(even) { transform: rotate(1.8deg); }
.polaroid:hover { transform: translateY(-8px) rotate(0deg); box-shadow: var(--shadow-raised); }

/* ============================================================
   PROPOSTA — formulário multi-etapas
   ============================================================ */
.proposta { text-align: center; }
.proposta .lead { max-width: 520px; margin: 1.2rem auto 0; }
.form-card {
  max-width: 640px; margin: var(--sp-8) auto 0; text-align: left;
  background: var(--ink-900); border: 1px solid rgba(255,249,240,.1); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-raised); position: relative;
}
.form-progress { height: 5px; background: rgba(255,249,240,.12); }
.form-progress__bar { height: 100%; width: 20%; background: var(--lilac-300); transition: width .45s var(--ease-out); }
.form-body { padding: clamp(28px, 4vw, 44px); }
.form-stepmeta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.form-stepmeta .k { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--lilac-300); }
.form-stepmeta .c { font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--neutral-500); }
.step { display: none; animation: stepIn .4s var(--ease-out); }
.step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step > h3 { color: var(--cream-100); font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 6px; }
.step > .step-hint { color: var(--neutral-500); font-weight: 300; margin-bottom: 24px; }

.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--lilac-300); }
.field input, .field textarea {
  font-family: var(--site-sans); font-size: 1rem; font-weight: 400;
  background: #000; color: var(--cream-100);
  border: 1.5px solid rgba(255,249,240,.16); border-radius: var(--r-md);
  padding: 15px 16px; outline: none; width: 100%;
  transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--neutral-600); }
.field input:focus, .field textarea:focus { border-color: var(--lilac-300); box-shadow: 0 0 0 3px rgba(206,181,216,.22); }

/* seleção de opções (uma pergunta em foco) */
.choices { display: grid; gap: 10px; }
.choices.cols2 { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: #000; border: 1.5px solid rgba(255,249,240,.16); border-radius: var(--r-md);
  padding: 15px 18px; color: var(--cream-200); font-weight: 400;
  transition: border-color .18s var(--ease-out), background .18s var(--ease-out), color .18s var(--ease-out);
}
.choice:hover { border-color: var(--lilac-500); color: var(--cream-100); }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice .dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--neutral-600); flex: none; transition: all .18s var(--ease-out); }
.choice:has(input:checked) { border-color: var(--lilac-300); background: rgba(206,181,216,.08); color: var(--cream-100); }
.choice:has(input:checked) .dot { border-color: var(--lilac-300); background: var(--lilac-300); box-shadow: inset 0 0 0 3px #000; }

.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; }
.form-nav .spacer { flex: 1; }
.link-back { background: none; border: none; cursor: pointer; color: var(--neutral-500); font-family: var(--site-sans); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; padding: 8px 0; transition: color .18s var(--ease-out); }
.link-back:hover { color: var(--cream-100); }
.form-done { text-align: center; padding: 20px 0; }
.form-done h3 { color: var(--cream-100); font-size: 1.6rem; text-transform: uppercase; margin-bottom: 10px; }
.form-done p { color: var(--neutral-500); font-weight: 300; }

/* ---------- footer ---------- */
.footer { background: var(--surface-ink); color: var(--cream-200); border-top: 1px solid var(--line-on-ink); padding: var(--sp-8) var(--gutter) var(--sp-6); text-align: center; }
.footer__big { font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(1.8rem, 4.5vw, 3rem); color: var(--cream-100); margin-bottom: var(--sp-6); line-height: 1.1; }
.footer__big .em { color: var(--lilac-300); }
.footer__links { display: flex; gap: var(--sp-5); justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-5); }
.footer__links a { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-200); transition: color .18s var(--ease-out); }
.footer__links a:hover { color: var(--lilac-300); }
.footer small { color: var(--neutral-500); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }

/* ============================================================
   CASE PAGE
   ============================================================ */
.case-page { }
.case-hero { position: relative; min-height: 84svh; display: flex; align-items: flex-end; background: var(--surface-ink); overflow: hidden; }
.case-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.case-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,12,.35) 0%, rgba(11,12,12,.15) 40%, rgba(11,12,12,.85) 100%); }
.case-hero__content { position: relative; z-index: 2; padding: var(--sp-8) var(--gutter); width: 100%; }
.case-hero h1 { color: var(--cream-100); font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1.02; }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); margin-top: var(--sp-7); }
.case-facts div { border-top: 1px solid var(--line-hairline); padding-top: 14px; }
.s-ink .case-facts div { border-top-color: var(--line-on-ink); }
.case-facts dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lilac-deep); font-weight: 600; margin: 0; }
.s-ink .case-facts dt { color: var(--lilac-300); }
.case-facts dd { margin: 8px 0 0; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; color: var(--text-strong); font-size: 1.05rem; }
.s-ink .case-facts dd { color: var(--cream-100); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: start; }
.two-col h2 { line-height: 1.15; }
.prose { max-width: 620px; }
.prose p { font-weight: 300; font-size: 1.1rem; line-height: 1.6; }
.prose strong { font-weight: 600; }
.s-ink .prose p { color: var(--cream-200); }
.img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: var(--sp-7); }
.img-grid img { border-radius: var(--r-photo); width: 100%; height: 100%; object-fit: cover; }
.img-grid .full { grid-column: 1 / -1; }
.pull-quote { font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1.16; letter-spacing: -0.01em; text-align: center; max-width: 900px; margin: 0 auto; color: var(--ink-900); }
.s-ink .pull-quote, .s-lilac .pull-quote { }
.s-ink .pull-quote { color: var(--cream-100); }
.pull-quote .em { color: var(--lilac-deep); }
.s-ink .pull-quote .em { color: var(--lilac-300); }
video.case-video { width: 100%; border-radius: var(--r-lg); display: block; box-shadow: var(--shadow-raised); background: #000; }

/* ---------- responsivo ---------- */
@media (max-width: 940px) {
  .nav__links a:not(.nav-keep):not(.btn) { display: none; }
  .case-item, .method-intro, .two-col { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 40px 1fr; }
  .svc-row .svc-desc { grid-column: 1 / -1; }
  .choices.cols2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .phases { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr 1fr; }
}
