/* =========================================================
   MARCOU — Agência de branding e web
   Paleta suave: creme como base, roxo para texto,
   laranja só como destaque sobre fundos claros.
   ========================================================= */

:root {
  /* bases claras */
  --cream: #F7F0E6;      /* fundo principal */
  --sand: #EFE4D5;       /* fundo alternado */
  --surface: #FFFAF3;    /* cartões */
  --lilac: #EADDF6;      /* roxo bem claro */
  --lilac-2: #DCC8EF;
  --peach: #FFE2CC;      /* laranja bem claro */
  --peach-2: #FFD0AE;

  /* cores da marca */
  --purple: #2A0A4F;     /* texto e títulos */
  --purple-soft: #5B3A8E;
  --accent: #FF7A1A;     /* destaque (títulos grandes, ícones) */
  --accent-deep: #C85A0E;/* laranja para textos pequenos (contraste) */

  --text: var(--purple);
  --muted: #6F6280;
  --line: rgba(42, 10, 79, .14);

  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Schibsted Grotesk', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--peach-2); color: var(--purple); }

:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 4px; }

/* ---------- Type helpers ---------- */
.d {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.005em;
  margin: 0;
}
.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.label--accent { color: var(--accent-deep); }
.accent { color: var(--accent); }

.line { display: block; overflow: hidden; padding: .14em 0 .04em; margin: -.14em 0 -.04em; }
.line > span { display: block; }

/* split words (JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.wi { display: inline-block; will-change: transform; }

.section { padding: clamp(96px, 14vw, 200px) var(--gutter); position: relative; }
.section__head { margin-bottom: clamp(48px, 7vw, 100px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section__title { font-size: clamp(3.2rem, 9.4vw, 10rem); max-width: 14ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--purple); --fill: var(--lilac);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 18px 30px; border-radius: 100px;
  font-weight: 600; font-size: 16px; line-height: 1;
  background: var(--bg); color: var(--fg);
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn > span { position: relative; }
/* primary: roxo com texto creme; ao passar o mouse, lilás com texto roxo */
.btn--accent { --bg: var(--purple); --fg: var(--cream); --fill: var(--lilac-2); }
.btn--accent:hover { color: var(--purple); }
.btn--ghost { box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--paper { --bg: var(--purple); --fg: var(--cream); --fill: var(--peach-2); }
.btn--paper:hover { color: var(--purple); }
.btn--xl { padding: 26px 44px; font-size: 19px; }

/* roll hover links */
.roll { display: inline-block; overflow: hidden; line-height: 1.2; }
.roll > span { display: block; position: relative; transition: transform .45s var(--ease); }
.roll > span::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--accent-deep);
}
.roll:hover > span { transform: translateY(-100%); }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--peach); color: var(--purple);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--gutter);
  animation: preloaderFailsafe .01s 6s forwards; /* if JS fails, never trap the page */
}
@keyframes preloaderFailsafe { to { visibility: hidden; opacity: 0; } }
.preloader__word { display: flex; overflow: hidden; font-family: var(--font-display); font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 900; font-size: clamp(5rem, 22vw, 22rem); line-height: .85; text-transform: uppercase; }
.preloader__word span { display: inline-block; transform: translateY(105%); }
.preloader__count { align-self: flex-end; font-family: var(--font-display); font-weight: 900; font-stretch: 62%; font-variation-settings: "wdth" 62; font-size: clamp(3rem, 9vw, 8rem); line-height: 1; color: var(--accent); }

/* ---------- Cursor & grain ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--purple);
  display: none; align-items: center; justify-content: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s, opacity .3s;
}
.has-cursor .cursor { display: flex; opacity: 0; }
.cursor.is-link { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(42, 10, 79, .12); }
.cursor.is-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--purple); }
.cursor__label { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor__label { opacity: 1; }

.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,4%); }
  40% { transform: translate(4%,-6%); } 60% { transform: translate(-3%,2%); } 80% { transform: translate(6%,5%); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, padding .4s, box-shadow .4s;
}
.nav.is-scrolled { background: rgba(247, 240, 230, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -.04em; }
.nav__links { display: flex; gap: 34px; font-size: 15px; font-weight: 500; }
.nav__cta { font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: 100px; background: var(--purple); color: var(--cream); transition: background .3s, color .3s; }
.nav__cta:hover { background: var(--lilac-2); color: var(--purple); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--purple); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--lilac); color: var(--purple);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .nav { background: transparent; backdrop-filter: none; box-shadow: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { font-family: var(--font-display); font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 15vw, 6rem); line-height: .95; display: flex; align-items: flex-start; gap: 12px; }
.menu__links small { font-family: var(--font-body); font-size: 13px; font-weight: 600; margin-top: .8em; color: var(--accent-deep); }
.menu__foot { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: 120px var(--gutter) 36px;
  display: flex; flex-direction: column; justify-content: flex-end; position: relative;
}
.hero__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; }
.dot-sep { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; }
.hero__title { font-size: clamp(4.4rem, min(21vw, 27vh), 24rem); line-height: .82; }
.hero__title .line--2 { padding-left: 11vw; }
.hero__title .line--3 { padding-left: 22vw; }

.badge {
  position: absolute; right: var(--gutter); top: 18vh;
  width: clamp(120px, 13vw, 190px); aspect-ratio: 1;
  display: grid; place-items: center; color: var(--purple);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge__ring text { font-size: 15.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.badge__arrow { width: 40%; height: 40%; padding: 10%; background: var(--peach-2); color: var(--purple); border-radius: 50%; transition: transform .5s var(--ease), background .4s; }
.badge:hover .badge__arrow { transform: rotate(45deg) scale(1.08); background: var(--lilac-2); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: end; margin-top: clamp(28px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.hero__lead { margin: 0; font-size: clamp(17px, 1.5vw, 22px); max-width: 34ch; color: var(--purple-soft); }
.hero__lead em { font-style: italic; color: var(--accent-deep); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; padding: 22px 0; position: relative; }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
.marquee span, .marquee i {
  font-family: var(--font-display); font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 7.5rem); line-height: 1; font-style: normal; padding: 0 .25em;
}
.marquee i { font-size: clamp(1.6rem, 4vw, 3.6rem); color: var(--accent); }
.marquee--accent { background: var(--peach); color: var(--purple); transform: rotate(-2deg) scale(1.04); margin: 20px 0; }
.marquee--outline span { color: transparent; -webkit-text-stroke: 1.5px var(--purple); }
.no-gsap .marquee__track, .reduced .marquee__track { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.intro__kicker { font-size: clamp(2rem, 4vw, 3.6rem); color: var(--accent); max-width: 12ch; text-align: right; margin-left: auto; }
.intro__statement {
  font-family: var(--font-display); font-weight: 700; font-stretch: 100%; font-variation-settings: "wdth" 100;
  font-size: clamp(1.8rem, 4.4vw, 4.6rem); line-height: 1.06; letter-spacing: -.025em;
  margin: clamp(40px, 6vw, 80px) 0 0; max-width: 24ch;
}
.intro__statement .sw-word { opacity: .18; transition: none; }
.intro__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 9vw, 130px); border-top: 1px solid var(--line); }
.stat { padding: 32px 32px 0 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__n { font-size: clamp(4rem, 9vw, 8.5rem); color: var(--accent); display: block; }
.stat p { margin: 14px 0 0; color: var(--muted); max-width: 28ch; }

/* ---------- Method (horizontal) ---------- */
.method { position: relative; overflow: hidden; background: var(--sand); color: var(--purple); }
.method__track { display: flex; height: 100vh; height: 100svh; width: max-content; will-change: transform; }
.method__panel {
  width: 78vw; height: 100%; flex: none;
  padding: clamp(100px, 14vh, 160px) var(--gutter) clamp(40px, 8vh, 80px);
  display: flex; flex-direction: column; justify-content: flex-end;
  border-right: 1px solid var(--line); position: relative;
}
.method__panel:nth-child(3) { background: var(--lilac); }
.method__panel--intro { width: 60vw; justify-content: space-between; }
.method__panel--accent { background: var(--peach); }
.method__panel--accent .method__word { color: var(--accent); }
.method__title { font-size: clamp(3.4rem, 8.4vw, 9rem); max-width: 10ch; }
.method__hint { margin: 0; font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.method__num { position: absolute; top: clamp(100px, 14vh, 160px); left: var(--gutter); font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--accent-deep); }
.method__word { font-size: clamp(5rem, 15vw, 17rem); line-height: .8; }
.method__tag { margin: 26px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.method__text { margin: 0; font-size: clamp(17px, 1.4vw, 21px); max-width: 38ch; color: var(--purple-soft); }

/* ---------- Services ---------- */
.services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service a {
  display: grid; grid-template-columns: 70px 1fr minmax(0, 32ch) 60px; gap: 24px; align-items: center;
  padding: clamp(22px, 3vw, 40px) 0; position: relative; isolation: isolate;
  transition: padding .5s var(--ease);
}
.service a::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--peach); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.service:nth-child(even) a::before { background: var(--lilac); }
.service a:hover { padding-left: 20px; }
.service a:hover::before { transform: scaleY(1); }
.service__num { font-size: 14px; font-weight: 600; color: var(--accent-deep); }
.service__name { font-size: clamp(3.4rem, 10vw, 9.5rem); }
.service__desc { font-size: 16px; color: var(--muted); transition: color .5s; }
.service a:hover .service__desc { color: var(--purple); }
.service__arrow { font-size: 40px; justify-self: end; transition: transform .5s var(--ease); }
.service a:hover .service__arrow { transform: rotate(45deg); }

/* ---------- Work / cases ---------- */
.work { background: var(--sand); }
.work__note { max-width: 44ch; color: var(--muted); margin: 0; }
.cases { display: flex; flex-direction: column; gap: 4vh; }
.case { position: sticky; top: 9vh; border-radius: clamp(18px, 2vw, 28px); color: var(--purple); overflow: hidden; transform-origin: center top; box-shadow: 0 30px 60px -30px rgba(42, 10, 79, .25); }
.case--1 { background: var(--lilac); }
.case--2 { background: var(--peach); }
.case--3 { background: var(--surface); }
.case__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(28px, 4vw, 64px); padding: clamp(24px, 3.4vw, 52px); min-height: 82vh; align-items: center; }
.case__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1.5px solid currentColor; }
.case__title { font-size: clamp(3rem, 6.4vw, 6.6rem); margin-top: 22px; }
.case__tagline { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 32px); margin: 12px 0 0; font-weight: 500; color: var(--purple-soft); }
.case__cat { margin: 18px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.case__desc { margin: 8px 0 22px; font-size: 17px; }
.case__label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.case__list { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.45; }
.case__list li { padding: 8px 0; border-top: 1px solid var(--line); }
.case__list li:last-child { border-bottom: 1px solid var(--line); }
.case__visual { min-width: 0; }

.demo { background: #FFF9F0; border: 1.5px solid rgba(42, 10, 79, .25); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(42, 10, 79, .35); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.case:hover .demo { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 36px 70px -24px rgba(42, 10, 79, .4); }
.demo * { min-width: 0; }
.bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #EDE6F3; }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--lilac-2); display: block; }
.bar span { margin-left: 10px; background: var(--surface); color: var(--muted); font-size: 12px; padding: 3px 12px; border-radius: 20px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Branding ---------- */
.branding { background: var(--lilac); }
.branding__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.branding .section__title { font-size: clamp(3.2rem, 7.4vw, 8rem); }
.branding__lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--purple-soft); margin: 32px 0 36px; max-width: 46ch; }
.branding__lead strong { color: var(--purple); }
.branding__lead--tight { margin-bottom: 0; }
.deliverables { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.deliverables li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.deliverables span { font-size: 13px; font-weight: 700; color: var(--accent-deep); min-width: 22px; padding-top: 3px; }
.branding__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.branding__facts .d { font-size: clamp(2.2rem, 3.6vw, 3.6rem); color: var(--purple); display: block; }
.branding__facts p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

.board {
  position: sticky; top: 12vh;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(120px, auto); gap: 12px;
}
.board__tile { position: relative; border-radius: 18px; padding: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.board__cap { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.board__tile--logo { grid-column: span 4; grid-row: span 2; background: var(--surface); align-items: center; justify-content: center; gap: 14px; min-height: 280px; }
.board__tile--logo .board__cap { position: absolute; left: 18px; bottom: 16px; }
.board__brand { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.04em; }
.board__tile--colors { grid-column: span 2; grid-row: span 2; padding: 0; gap: 0; justify-content: stretch; }
.sw { flex: 1; background: var(--c); color: var(--purple); display: flex; align-items: flex-end; padding: 10px 14px; transform-origin: bottom; }
.sw b { font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.board__tile--type { grid-column: span 2; background: var(--cream); }
.board__aa { font-size: clamp(4rem, 7vw, 6.4rem); line-height: .8; margin-bottom: auto; }
.board__tile--card { grid-column: span 4; background: var(--peach); align-items: center; justify-content: center; gap: 14px; }
.board__tile--card .board__cap { align-self: flex-start; }
.bcard { width: min(100%, 280px); aspect-ratio: 1.75; background: var(--surface); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; box-shadow: 0 20px 40px rgba(42,10,79,.14); transform: rotate(-4deg); position: relative; }
.bcard__name { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.bcard__role { font-size: 12px; color: var(--muted); }
.bcard svg { position: absolute; right: 16px; bottom: 16px; }
.board__tile--social { grid-column: span 2; background: var(--lilac-2); align-items: flex-start; justify-content: space-between; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.board__tile--voice { grid-column: span 4; background: var(--surface); }
.board__tile--voice p { margin: 0 0 16px; font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2vw, 28px); line-height: 1.15; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps__line { position: absolute; left: 32px; right: 32px; top: 31px; height: 2px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(1); }
.step__dot { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 24px; margin-bottom: 32px; }
.step__dot--ok { background: var(--peach-2); border-color: var(--peach-2); }
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; margin: 0 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 17px; }

/* ---------- Pricing ---------- */
.pricing { background: var(--sand); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.bf { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; padding: 20px 26px; margin-bottom: 28px; border-radius: 18px; background: var(--peach); }
.bf__tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 100px; background: var(--purple); color: var(--cream); }
.bf__text { margin: 0; flex: 1 1 320px; font-size: 17px; }
.bf__cta { order: 3; padding: 14px 22px; font-size: 15px; }
.bf__count { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--accent-deep); white-space: nowrap; }
.bf__count span { font-size: 28px; }
.plan__for { margin: -12px 0 18px; font-size: 17px; }
.plan__for em { font-style: italic; color: var(--accent-deep); }
.plan__full { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.plan__was { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.plan__bonus { margin: -12px 0 28px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: 14px; line-height: 1.4; }
.custom { margin-top: 24px; padding: clamp(22px, 3vw, 40px); border-radius: 22px; border: 1.5px dashed rgba(42, 10, 79, .25); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 48px; align-items: start; }
.custom .label { margin-bottom: 12px; }
.custom__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 12px; }
.custom__text { margin: 0; color: var(--purple-soft); font-size: 16px; }
.custom__list { list-style: none; margin: 0; padding: 0; }
.custom__list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.custom__list li:last-child { border-bottom: 1px solid var(--line); }
.custom__list span { color: var(--muted); }
.custom .btn { justify-self: start; }
.custom .btn:hover { color: var(--purple); }
@media (max-width: 900px) { .custom { grid-template-columns: 1fr; } }
.compare { margin-top: 40px; padding: clamp(20px, 3vw, 40px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.compare__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; margin: 0 0 20px; }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 500; width: 40%; }
.compare td.no { color: var(--muted); }
.compare .is-hl { background: rgba(255, 208, 174, .35); }
.compare thead .is-hl { color: var(--purple); border-radius: 12px 12px 0 0; }
.compare__price th, .compare__price td { font-family: var(--font-display); font-weight: 800; font-size: 20px; border-bottom: 0; }
.deliverables li { align-items: baseline; }
.deliverables p { margin: 0; flex: 1; }
.deliverables .tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.deliverables em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; background: var(--surface); color: var(--purple-soft); white-space: nowrap; }
.deliverables em.pro { background: var(--peach); color: var(--purple); }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 28px 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.plan:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(42, 10, 79, .3); }
.pricing__intro { margin: -40px 0 32px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; }
.plan__step { font-family: var(--font-display); font-weight: 900; font-size: 15px; color: var(--accent-deep); margin-bottom: 10px; }
.plan li strong { font-weight: 700; }
.plan__name { margin: 0 0 22px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan__price { font-size: clamp(3.4rem, 5vw, 5rem); }
.plan__price small { font-size: .32em; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; text-transform: none; }
.plan__note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; margin: 28px 0 32px; padding: 0; flex: 1; }
.plan li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.plan li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.plan__cta { display: flex; justify-content: space-between; font-weight: 600; padding-top: 18px; border-top: 1.5px solid currentColor; }
.plan__cta span { transition: transform .4s var(--ease); }
.plan__cta:hover span { transform: translateX(6px); }
.plan__badge { position: absolute; top: -13px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 100px; background: var(--peach); color: var(--purple); }
.plan--brand { background: var(--lilac); border-color: var(--lilac-2); }
.plan--brand .plan__badge { background: var(--surface); }
.plan--brand li::before { border-color: var(--purple-soft); }
.plan--hl { background: var(--peach); border: 2px solid var(--peach-2); }
.plan--hl .plan__price { color: var(--purple); }
.plan--hl .plan__badge { background: var(--purple); color: var(--cream); }
.combo { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 26px 30px; border-radius: 22px; border: 1.5px dashed rgba(42, 10, 79, .25); }
.combo p { margin: 0; font-size: 18px; }
.combo strong { color: var(--accent-deep); }
.combo .btn:hover { color: var(--purple); }
.pricing__fine { margin: 40px 0 0; font-size: 14px; color: var(--muted); max-width: 80ch; }

/* ---------- Contact ---------- */
.contact { background: var(--peach); }
.contact__big { font-size: clamp(4.4rem, 17vw, 19rem); line-height: .82; margin-bottom: clamp(48px, 7vw, 100px); }
.contact__big .line:nth-child(2) { padding-left: 12vw; }
.contact__big .line:nth-child(2) > span { color: var(--accent); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__lead { font-size: clamp(20px, 2vw, 28px); font-weight: 500; margin: 0 0 32px; max-width: 30ch; line-height: 1.3; }
.contact__list { margin: 48px 0 0; border-top: 1px solid rgba(42, 10, 79, .25); }
.contact__list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(42, 10, 79, .25); flex-wrap: wrap; }
.contact__list dt { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__list dd { margin: 0; font-weight: 600; }
.contact__list a:hover { color: var(--accent-deep); }

.form { background: var(--surface); border-radius: 24px; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; box-shadow: 0 30px 60px -30px rgba(42, 10, 79, .25); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line); color: var(--purple);
  font: inherit; font-size: 18px; padding: 26px 0 10px; outline: none; resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field label { position: absolute; left: 0; top: 24px; color: var(--muted); pointer-events: none; transition: transform .35s var(--ease), font-size .35s var(--ease), color .3s; transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px); font-size: 13px; color: var(--accent-deep); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 100px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 500; transition: background .3s, border-color .3s; }
.chips input:checked + span { background: var(--lilac); border-color: var(--lilac-2); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.form .btn { align-self: flex-start; }
.form__status { margin: 0; min-height: 1.4em; font-size: 15px; color: var(--accent-deep); }

/* ---------- Footer ---------- */
.footer { padding: clamp(64px, 8vw, 110px) var(--gutter) 28px; overflow: hidden; background: var(--cream); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; padding-bottom: 40px; }
.footer__nav { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; letter-spacing: -.01em; }
.footer__contact p { margin: 0 0 6px; color: var(--muted); }
.footer__contact a:hover { color: var(--accent-deep); }
.footer__top-link { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.footer__top-link:hover { color: var(--accent-deep); }
.footer__word { display: flex; justify-content: space-between; font-size: 27vw; line-height: .78; color: var(--purple); overflow: hidden; margin: 0 -.01em; }
.footer__word span { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- Simple pages (obrigado / 404) ---------- */
.simple { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding: 100px var(--gutter); }
.simple h1 { font-size: clamp(4rem, 16vw, 16rem); }
.simple p { margin: 0; max-width: 46ch; font-size: 20px; color: var(--purple-soft); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .nav__links { gap: 22px; }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero__foot { grid-template-columns: 1fr; gap: 22px; }
  .hero__scroll { display: none; }
  .badge { top: auto; bottom: 46%; }

  .intro__kicker { text-align: left; margin-left: 0; }
  .intro__stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }

  .method__track { flex-direction: column; height: auto; width: 100%; }
  .method__panel, .method__panel--intro { width: 100%; height: auto; min-height: 70vh; border-right: 0; border-bottom: 1px solid var(--line); padding-top: 120px; }
  .method__panel--intro { min-height: auto; gap: 40px; }
  .method__hint { display: none; }
  .method__num { top: 48px; }

  .service a { grid-template-columns: 40px 1fr 40px; gap: 14px; }
  .service__desc { grid-column: 2 / 4; grid-row: 2; font-size: 15px; }
  .service__arrow { font-size: 28px; }

  .case { position: relative; top: 0; }
  .case__inner { grid-template-columns: 1fr; min-height: 0; }

  .branding__grid { grid-template-columns: 1fr; }
  .board { position: relative; top: 0; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__line { display: none; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top-link { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .compare table { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 12px 8px; overflow-wrap: anywhere; hyphens: auto; }
  .compare thead th { letter-spacing: .06em; font-size: 11px; }
  .compare tbody th { width: 38%; }
  .compare__price th, .compare__price td { font-size: 16px; }
  body { font-size: 17px; }
  .hero { padding-top: 104px; }
  .hero__title .line--2 { padding-left: 8vw; }
  .hero__title .line--3 { padding-left: 16vw; }
  .badge { width: 104px; bottom: auto; top: 96px; }
  .hero__actions .btn { flex: 1 1 100%; }

  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .branding__facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .branding__facts .d { font-size: 1.9rem; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .board__tile--logo, .board__tile--card, .board__tile--voice { grid-column: span 2; }
  .board__tile--colors { grid-column: span 2; grid-row: auto; flex-direction: row; min-height: 120px; }
  .board__tile--type, .board__tile--social { grid-column: span 1; }
  .sw { padding: 10px 8px; }
  .sw b { font-size: 9px; }

  .demo > div:last-child { padding: 20px !important; }
  .demo__art { display: none; }

  .footer__top { grid-template-columns: 1fr; }
  .combo { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .badge__ring { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
