/* =========================================================
   KAIRO · Estúdio de sites
   Paleta: branco (predominante), preto (secundário) e verde (destaque).
   Fonte: Switzer.
   ========================================================= */

:root {
  /* Cores */
  --white: #f7f6f3;      /* fundo principal (branco levemente quente) */
  --paper: #efede8;      /* um degrau de tom para separar superfícies */
  --paper-2: #e4e1da;
  --ink: #0b0b0b;        /* preto: textos e seções escuras */
  --ink-2: #161616;
  --mute: #5f5e5a;       /* texto secundário no claro (contraste 6:1) */
  --mute-d: #a3a29d;     /* texto secundário no escuro */
  --green: #0c6e3d;      /* verde da referência */
  --green-h: #138a4c;    /* verde no hover */
  --green-soft: #9cd8b5; /* verde claro para detalhes no escuro */

  --font: "Switzer", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 4vw, 58px);
  --section: clamp(84px, 13vw, 200px);
  --header-h: 72px;
}

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

html {
  background: var(--white);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}
html.is-loading, html.is-loading body { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }

::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Lenis (rolagem suave) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.sr-only-k {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container-k { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

.ico {
  width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

/* Logo em vetor (símbolo #kairo-logo): herda a cor do texto e fica nítida em qualquer tamanho */
.logo { display: block; width: auto; fill: currentColor; overflow: visible; shape-rendering: geometricPrecision; }

/* ---------- Tipografia ---------- */
/* Títulos com espaçamento negativo: um pouco mais de ar entre as palavras para não "colarem" */
.title-xl, .title-lg, .hero__title, .cta__title, .proj__outro-t, .proj__info h3, .marquee__track,
.m-menu__txt, .manifesto__text, .domain__title, .plan__title { word-spacing: 0.06em; }
.title-xl {
  font-size: clamp(2.5rem, 6vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}
.title-lg {
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
}

/* Divisão em linhas (revelação com máscara) */
.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line__in { display: block; }

/* Pontinho "ao vivo" */
.live { display: inline-flex; align-items: center; gap: 14px; font-size: 0.9375rem; font-weight: 500; }
.live i {
  position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green);
}
.live i::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--green); opacity: 0;
  animation: ping 2.2s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(0.55); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }

/* =========================================================
   ENTRADA (o K se monta e a câmera atravessa)
   ========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  /* Se o JS falhar, a entrada some sozinha */
  animation: intro-out 0.6s 4.5s forwards;
}
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.intro__svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(104px, 11vw, 152px);
  height: auto;
  overflow: visible;
  transform: translate(-50%, -50%);
}
/* O K fica invisível até o JS assumir; sem JS, aparece sozinho */
.intro__kg { opacity: 0; animation: intro-mark 0.5s 0.5s forwards; }
@keyframes intro-mark { to { opacity: 1; } }
/* O hero fica escondido enquanto a entrada roda (com fallback se o JS falhar) */
html.is-loading [data-hero-inner],
html.is-loading [data-hero-reel] { opacity: 0; animation: show-fallback 0.01s 4.6s forwards; }
@keyframes show-fallback { to { opacity: 1; } }
.intro__shade { fill: var(--ink); }
.intro__k { fill: var(--green); }

/* =========================================================
   CURSOR E CONFETE
   ========================================================= */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 95;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; pointer-events: none;
  opacity: 0; will-change: transform;
}
@media (hover: none), (max-width: 1023px) { .cursor { display: none; } }
.confetti { position: fixed; inset: 0; z-index: 96; width: 100%; height: 100%; pointer-events: none; }

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding: 14px 24px;
  isolation: isolate;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn { overflow: hidden; -webkit-tap-highlight-color: transparent; }
.btn__label { position: relative; display: inline-block; }
/* Onda do toque (celular) */
.ripple { position: absolute; z-index: 0; border-radius: 50%; background: currentColor; pointer-events: none; }
.btn > :not(.ripple) { position: relative; z-index: 1; }

.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-h); }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: #fff; }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }
.btn--sm .ico { width: 15px; height: 15px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.0625rem; }
.btn--lg:has(.btn__circle) { padding: 6px 6px 6px 26px; gap: 16px; }
.btn--xl { min-height: 72px; padding: 8px 8px 8px 34px; font-size: 1.1875rem; gap: 22px; }
@media (max-width: 480px) {
  .btn--xl { min-height: 64px; padding: 6px 6px 6px 22px; font-size: 1.0625rem; gap: 14px; }
  .btn--xl .btn__circle { width: 50px; height: 50px; }
}

.btn__circle {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--green); transition: transform 0.5s var(--ease-out);
}
.btn--white .btn__circle { background: var(--green); color: #fff; width: 56px; height: 56px; }
.btn:hover .btn__circle { transform: rotate(45deg); }
.btn .ico { transition: transform 0.5s var(--ease-out); }
.btn:not(:has(.btn__circle)):hover .ico { transform: translate3d(2px, -2px, 0); }

/* =========================================================
   HEADER (claro por padrão, escuro sobre seções pretas)
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: transform 0.6s var(--ease-out);
}
.site-header.is-hidden { transform: translate3d(0, -110%, 0); }
.site-header::before { /* fundo que aparece ao rolar */
  content: ""; position: absolute; inset: 0;
  background: var(--white); opacity: 0;
  transition: opacity 0.4s, background-color 0.4s;
}
.site-header.is-scrolled::before { opacity: 0.96; }
.site-header.is-dark { color: var(--white); }
.site-header.is-dark::before { background: var(--ink); }

.header__inner {
  position: relative;
  max-width: 1440px;
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--gutter);
}
.header__logo { position: relative; display: block; height: 22px; color: var(--ink); transition: color 0.35s; }
.header__logo .logo { height: 22px; }
.site-header.is-dark .header__logo { color: var(--white); }

/* Navegação desktop */
.desk-nav { position: relative; display: none; }
.desk-nav__list { position: relative; display: flex; align-items: center; }
.desk-nav__pill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px;
  background: rgba(11, 11, 11, 0.07); opacity: 0; pointer-events: none;
}
.site-header.is-dark .desk-nav__pill { background: rgba(255, 255, 255, 0.1); }
.desk-nav__btn {
  position: relative; display: flex; align-items: center; gap: 4px; padding: 10px 16px;
  font-size: 0.9375rem; font-weight: 500; color: inherit; opacity: 0.72; transition: opacity 0.3s;
}
.desk-nav__btn:hover, .desk-nav__btn[aria-expanded="true"] { opacity: 1; }
.ico--chev { width: 15px; height: 15px; transition: transform 0.4s var(--ease-out); }
.desk-nav__btn[aria-expanded="true"] .ico--chev, .desk-nav__btn:hover .ico--chev { transform: rotate(180deg); }

/* Painel que se transforma */
.nav-panel { position: absolute; top: calc(100% + 14px); left: 0; visibility: hidden; pointer-events: none; color: var(--ink); }
.nav-panel.is-open { visibility: visible; pointer-events: auto; }
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.nav-panel__bg {
  position: absolute; top: 0; left: 0; border-radius: 18px; background: #fff;
  box-shadow: 0 24px 60px -20px rgba(11, 11, 11, 0.28), 0 2px 8px rgba(11, 11, 11, 0.06);
}
.nav-panel__content {
  position: absolute; top: 0; left: 0; display: flex; gap: 40px; width: max-content;
  padding: 24px 26px; opacity: 0; visibility: hidden;
}
.nav-panel__content.is-active { visibility: visible; }
.nav-col__title { font-size: 0.875rem; font-weight: 500; color: var(--mute); margin-bottom: 14px; }
.nav-col ul { display: grid; gap: 6px; }
.nav-link { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: 12px; transition: background-color 0.3s; }
.nav-link b { display: block; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.nav-link small { display: block; font-size: 0.875rem; line-height: 1.4; color: var(--mute); white-space: nowrap; }
.nav-link:hover { background: var(--paper); }
.nav-link:hover b { color: var(--green); }

.header__cta { display: none; }

/* Hambúrguer */
.burger {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); transition: background-color 0.4s;
}
.site-header.is-dark .burger { background: var(--white); }
.burger span {
  position: absolute; left: 50%; width: 18px; height: 1.5px; margin-left: -9px;
  background: var(--white); transition: transform 0.5s var(--ease-out), background-color 0.4s;
}
.site-header.is-dark .burger span { background: var(--ink); }
.burger span:first-child { transform: translate3d(0, -3.5px, 0); }
.burger span:last-child { transform: translate3d(0, 3.5px, 0); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .desk-nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* Menu mobile overlay (preto) */
.m-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--white);
  visibility: hidden; transform: translate3d(0, -100%, 0); overflow-y: auto; overscroll-behavior: contain;
}
.m-menu__inner {
  min-height: 100%; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 48px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.m-menu__item { overflow: hidden; }
.m-menu__item > a, .m-menu__acc {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 10px 0; text-align: left;
}
.m-menu__txt {
  display: inline-block; font-size: clamp(2.5rem, 12vw, 4.5rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.045em;
}
.m-menu__acc .ico--chev { margin-left: auto; width: 26px; height: 26px; }
.m-menu__acc[aria-expanded="true"] .ico--chev { transform: rotate(180deg); }
.m-menu__sub { height: 0; overflow: hidden; }
.m-menu__sub a { display: block; padding: 10px 0 10px 4px; font-size: 1.1875rem; color: var(--mute-d); }
.m-menu__sub a:last-child { padding-bottom: 20px; }
.m-menu__foot { padding-top: 40px; }
.m-menu__copy { margin-top: 20px; font-size: 0.875rem; color: var(--mute-d); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + clamp(28px, 4vw, 48px)) 0 clamp(18px, 2.4vw, 28px);
  overflow: hidden;
}
.hero__title {
  max-width: 15ch;
  font-size: clamp(3rem, 6.8vw, 7rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-wrap: balance;
}
.hero__row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: clamp(24px, 3vw, 40px);
}
.hero__lead { max-width: 34rem; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.55; text-wrap: pretty; }
.hero__cta { display: flex; flex-direction: column; gap: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__reel {
  margin-top: auto;
  padding-top: clamp(28px, 3.4vw, 40px);
  overflow: hidden;
}
.hero__reel-track { display: flex; gap: 16px; width: max-content; padding-left: var(--gutter); }
.hero__reel figure { width: clamp(232px, 23vw, 360px); flex-shrink: 0; }
.hero__reel img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border-radius: 12px; background: var(--paper);
}
.hero__reel figcaption { margin-top: 10px; font-size: 0.875rem; font-weight: 500; color: var(--mute); }

@media (max-width: 767px) {
  /* Celular: a faixa de capas vem logo depois dos botões, sem um vão branco no meio */
  .hero { min-height: 0; }
  .hero__reel { margin-top: 0; padding-top: 48px; }
}
@media (min-width: 768px) {
  .hero__row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero__cta { align-items: flex-end; }
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  display: grid;
  gap: 28px;
  padding-block: var(--section);
}
.manifesto__label { font-size: 1rem; font-weight: 600; color: var(--green); }
.manifesto__text {
  max-width: 26ch;
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}
.manifesto__sign { display: flex; align-items: center; gap: 18px; margin-top: clamp(32px, 4vw, 56px); font-size: 0.9375rem; color: var(--mute); }
.manifesto__sign .logo { height: 18px; color: var(--ink); }
@media (min-width: 1024px) {
  .manifesto { grid-template-columns: 1fr 2.4fr; gap: 64px; }
  .manifesto__label { padding-top: 0.9em; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { overflow: hidden; padding-block: clamp(10px, 1.6vw, 22px) clamp(56px, 7vw, 96px); }
.marquee__track {
  display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); width: max-content;
  font-size: clamp(2.25rem, 6.4vw, 5.5rem); font-weight: 700; letter-spacing: -0.045em;
  line-height: 1; white-space: nowrap; will-change: transform;
}
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px #b9b6ae; }
.marquee__track i { width: 0.22em; height: 0.22em; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* =========================================================
   PROJETOS · sala de projeção
   ========================================================= */
.proj {
  position: relative;
  background: var(--ink);
  color: var(--white);
  border-radius: clamp(20px, 2.6vw, 36px) clamp(20px, 2.6vw, 36px) 0 0;
}
.proj__head {
  display: grid;
  gap: 24px;
  padding-top: clamp(96px, 11vw, 160px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.proj__intro { max-width: 36rem; font-size: 1.125rem; color: var(--mute-d); text-wrap: pretty; }
@media (min-width: 1024px) {
  .proj__head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 64px; }
}

/* Sem animação: um projeto por tela, um embaixo do outro.
   Com animação (.motion-ok): a seção vira um "trilho" alto e a caixa interna gruda no topo
   com position: sticky. O próprio navegador segura a tela (sem o salto do pin por JS no celular). */
.proj__stage { position: relative; --proj-n: 4; --proj-per: 1; }
.proj__sticky { position: relative; }
.proj__item { position: relative; height: 100svh; min-height: 640px; }
html.motion-ok .proj__stage { height: calc(100svh + var(--proj-n) * var(--proj-per) * 100svh); }
html.motion-ok .proj__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
html.motion-ok .proj__item { position: absolute; inset: 0; height: auto; min-height: 0; }
@media (max-width: 1023px) { .proj__stage { --proj-per: 0.8; } }
html:not(.motion-ok) .proj__nav { display: none; }
.proj__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--tint) 46%, #0b0b0b);
}
.proj__dim { position: absolute; inset: 0; z-index: 6; background: #000; opacity: 0; pointer-events: none; }
.proj__info { position: absolute; z-index: 3; }
.proj__tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); font-size: 0.8125rem; font-weight: 600;
}
.proj__info h3 {
  margin-top: 18px; font-size: clamp(2.25rem, 4.6vw, 4.75rem); font-weight: 700;
  line-height: 0.95; letter-spacing: -0.045em; text-wrap: balance;
}
.proj__info p { margin-top: 16px; max-width: 32ch; font-size: 1.0625rem; line-height: 1.5; color: rgba(247, 246, 243, 0.78); text-wrap: pretty; }

.proj__desk, .proj__phone { position: absolute; overflow: hidden; background: #000; }
.proj__desk {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
}
.proj__phone {
  z-index: 2;
  aspect-ratio: 390 / 844;
  border-radius: 28px;
  border: 5px solid #050505;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
}
.proj__screen { position: absolute; inset: 0; overflow: hidden; }
.proj__screen img { width: 100%; height: auto; will-change: transform; }

.proj__nav { position: absolute; z-index: 5; }
.proj__bar { height: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.proj__bar span { display: block; height: 100%; background: var(--green-soft); transform: scaleX(0); transform-origin: left; }
.proj__nav ul { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: 0.9375rem; font-weight: 500; }
.proj__nav li { color: rgba(247, 246, 243, 0.42); transition: color 0.4s; }
.proj__nav li.is-on { color: var(--white); }

/* Desktop: quadro grande à direita, celular sobreposto */
@media (min-width: 1024px) {
  .proj__info { left: var(--gutter); top: 16vh; width: 27vw; }
  .proj__desk { right: 4vw; top: 13vh; width: min(57vw, 118vh); }
  .proj__phone { left: 29vw; bottom: 7vh; height: min(29vw, 52vh); }
  .proj__nav { right: 4vw; bottom: 5vh; width: min(57vw, 118vh); }
}
/* Celular/tablet: o celular vira o protagonista, o desktop fica atrás */
@media (max-width: 1023px) {
  .proj__info { left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 8px); }
  .proj__info h3 { margin-top: 12px; }
  .proj__info p { font-size: 0.9375rem; margin-top: 10px; }
  .proj__desk { left: var(--gutter); top: 37svh; width: calc(100% - var(--gutter) * 2 - 18vw); border-radius: 8px; }
  .proj__phone { right: var(--gutter); top: 45svh; height: min(44svh, 400px); border-radius: 22px; border-width: 4px; }
  .proj__nav { left: var(--gutter); right: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom)); }
  .proj__nav ul { font-size: 0.8125rem; gap: 4px 16px; }
}

.proj__outro {
  display: flex; flex-direction: column; align-items: flex-start; gap: 36px;
  padding-top: clamp(88px, 10vw, 150px); padding-bottom: clamp(112px, 12vw, 180px);
}
.proj__outro-t { font-size: clamp(3rem, 10vw, 9rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.055em; }
@media (min-width: 768px) {
  .proj__outro { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* =========================================================
   SERVIÇOS (lista editorial)
   ========================================================= */
.services { padding-block: var(--section); }
.services__title { max-width: 14ch; margin-bottom: clamp(48px, 6vw, 88px); }
.services__list { display: grid; gap: 8px 64px; }
@media (min-width: 768px) { .services__list { grid-template-columns: 1fr 1fr; } }
/* Desktop: título fixo à esquerda enquanto a lista passa à direita */
@media (min-width: 1024px) {
  .services { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .services__title { position: sticky; top: calc(var(--header-h) + 56px); margin-bottom: 0; }
  .services__list { grid-template-columns: 1fr; gap: 4px; }
  .svc { padding-block: 30px 34px; }
}
.svc { position: relative; padding: 26px 0 30px 28px; }
.svc::before { /* barra verde que cresce no hover (ou ao entrar na tela no celular) */
  content: ""; position: absolute; left: 0; top: 30px; bottom: 34px; width: 3px; border-radius: 3px;
  background: var(--paper-2); transform-origin: top;
}
.svc::after {
  content: ""; position: absolute; left: 0; top: 30px; bottom: 34px; width: 3px; border-radius: 3px;
  background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform 0.7s var(--ease-out);
}
.svc h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.125rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15;
  transition: transform 0.6s var(--ease-out), color 0.4s;
}
.svc p { margin-top: 12px; max-width: 44ch; color: var(--mute); text-wrap: pretty; }
/* Desktop: acende no hover. Celular: acende o item que passa pelo meio da tela (.is-active, via JS) */
.svc:hover::after, .svc.is-active::after { transform: scaleY(1); }
.svc:hover h3, .svc.is-active h3 { transform: translate3d(8px, 0, 0); color: var(--green); }
.svc p { transition: color 0.4s; }
.svc.is-active p { color: var(--ink); }
@media (min-width: 1024px) { .svc p { max-width: 50ch; } }

/* =========================================================
   PROCESSO (linha do tempo que se preenche)
   ========================================================= */
.process { background: var(--paper); padding-block: var(--section); }
.process__list { position: relative; display: grid; gap: 40px; margin-top: clamp(48px, 6vw, 88px); padding-left: 40px; }
.process__track { position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--paper-2); }
.process__track i { position: absolute; inset: 0; background: var(--green); transform: scaleY(0); transform-origin: top; }
.step { position: relative; }
.step__dot {
  position: absolute; left: -40px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--paper-2);
  transition: background-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease-out);
}
.step.is-on .step__dot { background: var(--green); box-shadow: inset 0 0 0 2px var(--green); transform: scale(1.15); }
/* Com animação: cada etapa fica apagada até a linha verde chegar nela */
html.motion-ok .step h3, html.motion-ok .step p {
  opacity: 0.3; transform: translate3d(0, 10px, 0);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
html.motion-ok .step.is-on h3, html.motion-ok .step.is-on p { opacity: 1; transform: none; }
html.motion-ok .step.is-on p { transition-delay: 0.08s; }
.step h3 { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.step p { margin-top: 10px; max-width: 30ch; color: var(--mute); }
@media (min-width: 1024px) {
  .process__list { grid-template-columns: repeat(4, 1fr); gap: 40px; padding-left: 0; padding-top: 56px; }
  .process__track { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; }
  .process__track i { transform: scaleX(0); transform-origin: left; }
  .step__dot { left: 0; top: -56px; }
}

/* =========================================================
   PLANOS
   ========================================================= */
.pricing { padding-block: var(--section); }
.pricing__head { display: grid; gap: 24px; justify-items: center; text-align: center; margin-bottom: clamp(48px, 6vw, 88px); }
.pricing__head .title-xl { max-width: 13ch; }
.pricing__sub { max-width: 34rem; font-size: 1.125rem; color: var(--mute); text-wrap: pretty; }

.pricing__grid { display: grid; grid-template-columns: 1fr; gap: 16px; perspective: 1800px; }
@media (min-width: 1024px) { .pricing__grid { grid-template-columns: 1fr 1.1fr 1fr; align-items: center; } }
/* No celular o plano principal vem primeiro */
@media (max-width: 1023px) { .plan--featured { order: -1; } }

.plan {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(28px, 2.6vw, 40px); border-radius: 24px; background: var(--paper);
  transform-style: preserve-3d;
}
.plan--left { transform-origin: right center; }
.plan--right { transform-origin: left center; }
.plan--featured { z-index: 2; background: var(--ink); color: var(--white); box-shadow: 0 50px 100px -40px rgba(11, 11, 11, 0.55); }
@media (min-width: 1024px) { .plan--featured { padding-block: 48px; } }
.plan__body { position: relative; }

.plan__badge {
  position: absolute; top: 20px; right: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--green); color: #fff;
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
}
.plan__badge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.plan__kicker { font-size: 0.9375rem; font-weight: 600; color: var(--green); }
.plan--featured .plan__kicker { color: var(--green-soft); padding-right: 200px; }
@media (max-width: 420px) { .plan--featured .plan__kicker { padding-right: 0; margin-top: 40px; } }
.plan__title { margin-top: 12px; font-size: clamp(1.5rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.035em; text-wrap: balance; }
.plan--featured .plan__title { font-size: clamp(1.75rem, 2.4vw, 2.25rem); }
.plan__for { margin-top: 10px; font-size: 0.9375rem; font-weight: 500; }
.plan__desc { margin-top: 12px; font-size: 1rem; line-height: 1.55; color: var(--mute); text-wrap: pretty; }
.plan--featured .plan__desc { color: var(--mute-d); }

.plan__was { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; font-size: 1rem; color: var(--mute-d); font-variant-numeric: tabular-nums; }
.plan__was s { text-decoration-thickness: 1.5px; }
.plan__was span { font-size: 0.875rem; }

.plan__price { display: flex; align-items: flex-start; gap: 6px; margin-top: 28px; font-variant-numeric: tabular-nums; }
.plan__was + .plan__price { margin-top: 8px; }
.plan__currency { font-size: 1.25rem; font-weight: 600; margin-top: 0.4em; }
.plan__per { align-self: flex-end; font-size: 1rem; color: var(--mute); margin-bottom: 0.5em; }
.plan__period { margin-top: 10px; font-size: 0.9375rem; color: var(--mute); }
.plan--featured .plan__period { color: var(--mute-d); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan__special { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(156, 216, 181, 0.16); color: var(--green-soft); font-size: 0.8125rem; font-weight: 600; }

.plan__save {
  margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.07);
  font-size: 0.9375rem; line-height: 1.5; color: rgba(247, 246, 243, 0.82);
}
.plan__save strong { color: #fff; font-weight: 600; }
.plan__slots { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.plan__slots i { width: 24px; height: 6px; border-radius: 99px; background: var(--green-soft); }
.plan__slots span { margin-left: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--green-soft); }

.plan__features { display: grid; gap: 4px; margin-top: 24px; }
.plan__features li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: 1rem; line-height: 1.5; }
.plan__features .ico {
  width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%;
  background: var(--green); color: #fff; stroke-width: 2.6;
}
.plan__note { margin-top: 16px; font-size: 0.875rem; line-height: 1.55; color: var(--mute); }
.plan--featured .plan__note { color: var(--mute-d); }
.plan__btn { justify-content: center; width: 100%; white-space: normal; text-align: center; padding: 17px 22px; }

/* ---------- Domínio: faixa larga com barra de endereço ---------- */
.domain {
  display: grid; gap: 36px; margin-top: 16px;
  padding: clamp(28px, 3.2vw, 52px); border-radius: 24px; background: var(--paper);
}
@media (min-width: 1024px) { .domain { grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; } }
.domain__title {
  margin-top: 12px; max-width: 16ch; font-size: clamp(1.75rem, 2.8vw, 2.625rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance;
}
.domain__desc { margin-top: 14px; max-width: 44ch; color: var(--mute); text-wrap: pretty; }
.domain__features { margin-top: 20px; }

.domain__label { display: block; margin-bottom: 12px; font-size: 0.9375rem; font-weight: 600; }
.domain__bar {
  display: flex; align-items: center; min-height: 68px; padding: 0 24px; overflow: hidden;
  border-radius: 999px; background: #fff; cursor: text;
  font-size: clamp(1.125rem, 1.9vw, 1.625rem); font-weight: 600; letter-spacing: -0.025em;
  box-shadow: 0 1px 2px rgba(11, 11, 11, 0.05), 0 22px 44px -26px rgba(11, 11, 11, 0.4);
  transition: box-shadow 0.4s var(--ease-out);
}
.domain__bar:focus-within { box-shadow: 0 0 0 2px var(--green), 0 22px 44px -26px rgba(11, 11, 11, 0.4); }
.domain__lock { width: 20px; height: 20px; margin-right: 12px; color: var(--green); flex-shrink: 0; }
/* O fantasma invisível copia o texto e dá a largura ao campo, para o ".com.br" vir logo depois */
.domain__field { position: relative; display: block; flex: 0 1 auto; min-width: 1ch; overflow: hidden; }
.domain__ghost { display: block; visibility: hidden; white-space: pre; padding-right: 1px; }
.domain__input {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0;
  background: transparent; font: inherit; letter-spacing: inherit;
  color: var(--ink); caret-color: var(--green);
}
.domain__input::placeholder { color: #b5b2ab; }
.domain__caret { width: 2px; height: 1.1em; margin-left: 1px; background: var(--green); flex-shrink: 0; opacity: 0; }
.domain__bar.is-demo .domain__caret { opacity: 1; animation: blink 1s steps(2, start) infinite; }
.domain__bar:focus-within .domain__caret { display: none; }
.domain__tld { color: var(--mute); flex-shrink: 0; }
.domain__note { margin-top: 12px; font-size: 0.875rem; color: var(--mute); }

.domain__buy { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 28px; }
.domain__buy .plan__price { margin-top: 0; }
.domain__btn { flex-shrink: 0; }
@media (max-width: 520px) {
  .domain__bar { min-height: 60px; padding: 0 18px; }
  .domain__btn { width: 100%; justify-content: center; }
}

/* Odômetro */
.odo { display: inline-flex; font-size: clamp(3.5rem, 5vw, 4.25rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.plan__price--xl .odo { font-size: clamp(4.25rem, 7vw, 6rem); }
.odo__slot { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.odo__col { display: flex; flex-direction: column; will-change: transform; }
.odo__col span { display: block; height: 1em; line-height: 1; text-align: center; }
.odo__sep { display: inline-block; overflow: hidden; }

/* =========================================================
   CTA FINAL (campo verde)
   ========================================================= */
.cta { position: relative; overflow: hidden; background: var(--green); color: #fff; padding-block: clamp(120px, 15vw, 220px); }
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
/* O símbolo K volta no fechamento, grande e em verde mais escuro */
.cta__mark {
  position: absolute; right: -4vw; top: 50%; width: min(48vw, 640px); height: auto;
  margin-top: calc(min(48vw, 640px) * -0.49); fill: #0a5a32; pointer-events: none;
}
@media (max-width: 767px) {
  .cta__mark { width: 78vw; right: -22vw; top: auto; bottom: -12vw; margin-top: 0; opacity: 0.7; }
}
.cta__title { max-width: 14ch; font-size: clamp(2.75rem, 8vw, 8rem); line-height: 0.93; letter-spacing: -0.055em; font-weight: 700; text-wrap: balance; }
.cta__lead { margin-top: 32px; max-width: 36rem; font-size: 1.1875rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86); text-wrap: pretty; }
.cta__actions { margin-top: 44px; }

/* =========================================================
   RODAPÉ (preto)
   ========================================================= */
.footer { background: var(--ink); color: var(--white); padding-top: clamp(72px, 8vw, 112px); overflow: hidden; }
.footer__top { display: flex; flex-direction: column; gap: 48px; }
.footer__brand p { max-width: 30ch; font-size: 1.25rem; line-height: 1.45; font-weight: 500; letter-spacing: -0.015em; }
.footer__cols { display: grid; grid-template-columns: auto 1fr; gap: 40px; }
.footer__cols h4 { margin-bottom: 14px; font-size: 0.875rem; font-weight: 500; color: var(--mute-d); }
.footer__cols a { display: block; width: fit-content; padding: 6px 0; font-size: 1.0625rem; overflow-wrap: anywhere; transition: color 0.3s; }
.footer__cols a:hover { color: var(--green-soft); }
.footer__bottom span { text-wrap: pretty; }
@media (max-width: 539px) {
  /* Celular: navegação em linha e contato com a largura toda (o e-mail não quebra no meio) */
  .footer__cols { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols > div:first-child { display: flex; flex-wrap: wrap; column-gap: 22px; }
  .footer__cols > div:first-child h4 { flex-basis: 100%; }
  .footer__cols a { overflow-wrap: normal; }
}
.footer__word { margin-top: clamp(64px, 8vw, 104px); }
.footer__word .logo { width: 100%; height: auto; aspect-ratio: 1350 / 328; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center;
  margin-top: clamp(32px, 4vw, 56px); padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  font-size: 0.875rem; color: var(--mute-d);
}
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.footer__top-link .ico { width: 14px; height: 14px; transform: rotate(-45deg); }
@media (min-width: 900px) {
  .footer__top { flex-direction: row; justify-content: space-between; }
  .footer__cols { grid-template-columns: repeat(2, auto); gap: 96px; }
}

/* =========================================================
   MOVIMENTO REDUZIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-ok) *,
  html:not(.motion-ok) *::before,
  html:not(.motion-ok) *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
