/* ==========================================================================
   LOOM — Estúdio de criação de sites
   --------------------------------------------------------------------------
    1. Tokens           6. Hero          11. Contato
    2. Base             7. Sobre         12. Footer
    3. Utilitários      8. Serviços      13. Entrada e reveal
    4. Botões           9. Processo      14. Responsivo
    5. Header / Menu   10. CTA           15. Reduced motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --white: #ffffff;
  --off: #faf9f7;          /* off-white quase imperceptível */
  --off-lilac: #f6f3fe;    /* lilás muito claro */
  --ink: #0f0e13;
  --ink-2: #2d2b35;
  --muted: #64616f;        /* ≥ 5.5:1 sobre branco */
  --line: #ebe8f0;
  --line-2: #d8d3e3;

  --lilac: #b8a6f6;        /* destaque */
  --lilac-2: #dcd2fc;
  --lilac-soft: #efeafe;
  --violet: #6a4de0;       /* contraste (texto/linhas) */
  --violet-deep: #4a31be;
  --danger: #b42318;

  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 28px);
  --maxw: 1440px;
  --header-h: 76px;
  --section-y: clamp(96px, 12vw, 184px);
  --head-gap: clamp(20px, 2.4vw, 32px);   /* label → título */
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

::selection { background: var(--lilac-2); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 4px;
}

.menu-open body { overflow: hidden; }

/* 3. Utilitários ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.label::before { content: ""; width: 24px; height: 1px; background: var(--violet); }

.display {
  font-size: clamp(2.75rem, 7.6vw, 8rem);
  line-height: .94;
  letter-spacing: -.05em;
  font-weight: 600;
}

.display em,
.hero__title em,
.footer__phrase em,
.form__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.icon {
  width: 16px; height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: border-color .4s, color .4s;
}

.accent-dot { color: var(--lilac); }

/* 4. Botões ---------------------------------------------------------------- */
.btn {
  --h: 52px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translate3d(0, 102%, 0);
  transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn .icon { transition: transform .45s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark::before { background: var(--lilac); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--ink); }

.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: var(--white); }
.btn--ghost::before { background: var(--lilac-soft); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--lilac); color: var(--violet-deep); }

.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* 5. Header / Menu --------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease-out), background-color .4s, border-color .4s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translate3d(0, -100%, 0); }
.menu-open .header {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}
.logo__oo { width: 1.36em; height: auto; margin: 0 .03em; transition: transform .8s var(--ease-out); }
.logo:hover .logo__oo { transform: rotate(-8deg); }
/* Dois anéis entrelaçados: o arco extra do anel escuro passa "por cima" no cruzamento superior */
.logo__ring { fill: none; stroke: var(--ink); stroke-width: 3.2; }
.logo__ring--accent { stroke: var(--lilac); }

.nav__list { display: flex; gap: clamp(22px, 2.6vw, 40px); }
.nav__link {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  padding: 4px 0;
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--ink-2);
}
.nav__link > span { position: relative; display: block; transition: transform .5s var(--ease-out); }
.nav__link > span::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 100%;
  padding-top: 4px;
  color: var(--violet);
}
.nav__link:hover > span, .nav__link:focus-visible > span { transform: translateY(calc(-100% - 4px)); }
.nav__link::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--violet);
  transform: scale(0);
  transition: transform .4s var(--ease-out);
}
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::before { transform: scale(1); }

.header__cta { justify-self: end; }

.menu-toggle {
  display: none;
  justify-self: end;
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--white);
}
.menu-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--header-h) + 16px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--white);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-in-out), visibility 0s linear .7s;
}
.menu-open .mobile-menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .7s var(--ease-in-out), visibility 0s;
}
.mobile-menu__nav li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.05;
  transform: translate3d(0, 110%, 0);
  transition: transform .8s var(--ease-out), color .3s;
  transition-delay: calc(.12s + var(--i) * .05s);
}
.mobile-menu__nav a .mono { color: var(--violet); letter-spacing: .04em; }
.menu-open .mobile-menu__nav a { transform: none; }
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  opacity: 0;
  transition: opacity .5s .4s;
}
.menu-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__wa { display: inline-flex; align-items: baseline; gap: 12px; font-size: 16px; }
.mobile-menu__wa .mono { color: var(--muted); }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(40px, 6vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, rgba(0, 0, 0, .3) 85%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, rgba(0, 0, 0, .3) 85%, transparent);
}
.hero__glow {
  position: absolute;
  top: -20%; right: -14%;
  width: min(64vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184, 166, 246, .2), rgba(184, 166, 246, .06) 60%, transparent);
  pointer-events: none;
  transform: translate3d(0, var(--py, 0), 0);
}
.hero__inner { position: relative; }
.hero__eyebrow { margin-bottom: clamp(20px, 3vw, 36px); }

.hero__title {
  /* limita também pela altura, para caber em notebooks (ex.: 1366×768) */
  font-size: clamp(3.4rem, min(11vw, 16.5vh), 11.5rem);
  line-height: .86;
  letter-spacing: -.058em;
  font-weight: 600;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .06em .06em; margin: 0 -.06em -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--indent { padding-left: clamp(1.2rem, 13vw, 14rem); }

.hero__bottom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
  margin-top: clamp(32px, 5vw, 64px);
}
.hero__meta {
  grid-column: 1 / 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding-bottom: 18px;
  color: var(--muted);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 14px; }
.hero__meta li + li::before { content: ""; width: 18px; height: 1px; background: var(--line-2); }
.hero__copy { grid-column: 7 / 13; }
.hero__lead {
  max-width: 33em;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* 7. Sobre ----------------------------------------------------------------- */
.about { z-index: 2; background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.about__label { grid-column: 1 / -1; }
.about__title { grid-column: 1 / -1; margin-top: var(--head-gap); }
.about__title .indent { display: block; padding-left: clamp(1.2em, 24vw, 25rem); }
.about__title em { color: var(--violet); }

.about__visual {
  position: relative;
  grid-column: 1 / 6;
  grid-row: 3 / 5;
  align-self: start;
  margin-top: clamp(56px, 7vw, 104px);
}
.about__weave {
  position: relative;
  aspect-ratio: 42 / 50;
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 4px;
  transform: translate3d(0, var(--py, 0), 0);
}
.about__visual figcaption { margin-top: 14px; color: var(--muted); }

.weave { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.weave line, .weave path {
  fill: none;
  stroke-linecap: butt;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 40ms);
}
.weave .warp { stroke: #e2deea; stroke-width: 5; }
.weave .weft { stroke: #cdc8d8; stroke-width: 5; }
.weave .weft.is-accent { stroke: var(--lilac); }
.weave .warp.is-accent { stroke: var(--violet); }
.weave .knock { stroke: var(--off); stroke-width: 15; stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; transition: opacity .6s .9s; }
.weave .over { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; transition: opacity .6s .9s; }
.weave .loose { stroke: var(--lilac); stroke-width: 5; stroke-linecap: round; transition-duration: 2.4s; transition-delay: .8s; }
.is-in .weave line, .is-in .weave path { stroke-dashoffset: 0; }
.is-in .weave .knock, .is-in .weave .over { opacity: 1; }

.about__text {
  grid-column: 7 / 12;
  grid-row: 3;
  display: grid;
  gap: 22px;
  margin-top: clamp(56px, 7vw, 104px);
  color: var(--ink-2);
}
.about__lead {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--ink);
}
.principles {
  grid-column: 7 / 13;
  grid-row: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(48px, 5vw, 80px);
}
.principles li { position: relative; padding-top: 18px; border-top: 1px solid var(--line-2); }
.principles li::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 28px; height: 1px;
  background: var(--violet);
}
.principles .mono { color: var(--violet); }
.principles h3 { margin: 14px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.principles p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* 8. Serviços -------------------------------------------------------------- */
.services { background: var(--off); }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.section-head .label { grid-column: 1 / -1; margin-bottom: var(--head-gap); }
.section-head__title { grid-column: 1 / 9; }
.section-head__intro { grid-column: 9 / 13; max-width: 26em; padding-bottom: .5em; color: var(--muted); }

.services__list { border-top: 1px solid var(--line-2); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(40px, .5fr) 5fr 4.5fr;
  column-gap: var(--gap);
  align-items: start;
  padding: clamp(28px, 3.2vw, 44px) 0;
  border-bottom: 1px solid var(--line-2);
}
.service::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.service__num { padding-top: .95em; color: var(--muted); transition: color .4s; }
.service__title {
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 600;
  transition: transform .7s var(--ease-out), color .4s;
}
.service__body { display: grid; gap: 16px; padding-top: .4em; }
.service__body p { max-width: 30em; color: var(--ink-2); }

@media (hover: hover) {
  .service:hover::after { transform: scaleX(1); }
  .service:hover .service__title { transform: translateX(clamp(8px, 1.2vw, 18px)); }
  .service:hover .service__title,
  .service:hover .service__num { color: var(--violet); }
  .service:hover .tags li { border-color: var(--lilac); color: var(--ink-2); }
}

/* 9. Processo -------------------------------------------------------------- */
.process { background: var(--white); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}
.process__aside {
  grid-column: 1 / 6;
  position: sticky;
  top: calc(var(--header-h) + 48px);
  align-self: start;
}
.process__title { margin-top: var(--head-gap); }
.process__intro { max-width: 24em; margin-top: 28px; color: var(--muted); }

.process__steps {
  --p: 0;
  --pad: clamp(28px, 4vw, 56px);
  position: relative;
  grid-column: 7 / 13;
  padding-left: var(--pad);
}
.process__track { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.process__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--lilac), var(--violet));
  transform-origin: top;
  transform: scaleY(var(--p));
}

.step {
  --num: clamp(4rem, 8vw, 7.5rem);
  position: relative;
  display: grid;
  grid-template-columns: calc(var(--num) * 1.22) 1fr;
  column-gap: clamp(20px, 3vw, 40px);
  padding: clamp(36px, 4.5vw, 60px) 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step__node {
  position: absolute;
  left: calc(-1 * var(--pad) - 5px);
  top: clamp(36px, 4.5vw, 60px);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-2);
  transition: background-color .5s, border-color .5s;
}
.step:first-child .step__node { top: 0; }
.step__num {
  font-size: var(--num);
  line-height: .8;
  font-weight: 600;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px #c6c0d4;
  transition: color .7s var(--ease-out), -webkit-text-stroke-color .7s;
}
.step__title { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.035em; }
.step__body p { max-width: 30em; margin-top: 12px; color: var(--ink-2); }
.step__body .tags { margin-top: 20px; }

.step.is-active .step__num { color: var(--lilac); -webkit-text-stroke-color: var(--lilac); }
.step.is-active .step__node { background: var(--violet); border-color: var(--violet); }

/* 10. CTA ------------------------------------------------------------------ */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(112px, 14vw, 216px);
  background: var(--off-lilac);
}
.cta__threads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta__threads path {
  fill: none;
  stroke: var(--lilac-2);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease-out);
}
.cta__threads path:nth-child(2) { transition-delay: .15s; }
.cta__threads path:nth-child(3) { transition-delay: .3s; }
.cta__threads path.is-accent { stroke: var(--lilac); stroke-width: 1.6; }
.cta__threads.is-in path { stroke-dashoffset: 0; }
.js .cta__threads[data-reveal] { opacity: 1; transform: none; }

.cta__inner { position: relative; }
.cta__title { max-width: 11ch; margin-top: var(--head-gap); font-size: clamp(2.9rem, 8.6vw, 9rem); }
.cta__title em { color: var(--violet); }
.cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--lilac-2);
}
.cta__text { max-width: 28em; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); }

/* 11. Contato -------------------------------------------------------------- */
.contact { background: var(--white); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 72px;
}
.contact__aside { grid-column: 1 / 6; }
.contact__title { margin-top: var(--head-gap); }
.contact__intro { max-width: 25em; margin-top: 24px; color: var(--muted); }

/* WhatsApp: o canal principal */
.whatsapp {
  position: relative;
  display: flex;
  flex-wrap: wrap;             /* se faltar espaço, "Abrir conversa" desce para a linha de baixo */
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: clamp(36px, 4vw, 56px);
  padding: 26px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.whatsapp::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.whatsapp__label { flex-basis: 100%; color: var(--violet); }
.whatsapp__number {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -.01em;
  word-spacing: .08em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
}
.whatsapp__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.whatsapp__arrow {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color .4s, border-color .4s, color .4s;
}
.whatsapp:hover::after, .whatsapp:focus-visible::after { transform: scaleX(1); }
.whatsapp:hover .whatsapp__arrow,
.whatsapp:focus-visible .whatsapp__arrow { background: var(--ink); border-color: var(--ink); color: var(--white); }
.whatsapp:focus-visible { outline-offset: 6px; }

.channels { border-bottom: 1px solid var(--line); }
.channel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.channel:last-child { border-bottom: 0; }
.channel dt { color: var(--muted); }
.channel dd { min-width: 0; }
.channel__link {
  position: relative;
  font-size: 16px;
  overflow-wrap: anywhere;
  transition: color .3s;
}
.channel__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.channel__link:hover { color: var(--violet-deep); }
.channel__link:hover::after, .channel__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--muted);
}
.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--lilac); }

/* Formulário */
.form {
  grid-column: 7 / 13;
  align-self: start;
  display: grid;
  gap: clamp(28px, 3vw, 36px);
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.form__title { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; line-height: 1.15; }
.form__note { max-width: 34em; margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }

.field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.field__opt { text-transform: none; letter-spacing: 0; }
.field input,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: clamp(17px, 1.4vw, 19px);
  letter-spacing: -.01em;
  outline: none;
  resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9f9aab; }
.field input:focus-visible,
.field textarea:focus-visible { border-bottom-color: var(--violet); box-shadow: 0 1px 0 var(--violet); }
.field:focus-within label { color: var(--violet); }
.field__error { font-size: 13px; color: var(--danger); }
.field__error:empty { display: none; }
.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: var(--danger); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.form__status { max-width: 32em; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.form__status:empty { display: none; }
.form__status a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.form__status.is-info { padding: 12px 16px; border-left: 2px solid var(--lilac); background: var(--white); color: var(--ink-2); }
.form__status.is-success { color: var(--violet-deep); }
.form__status.is-error { color: var(--danger); }

/* 12. Footer --------------------------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 104px);
  background: var(--white);
  border-top: 1px solid var(--line);
}
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer__phrase { max-width: 13em; font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.footer__phrase em { color: var(--violet); }
.footer__cols { display: flex; flex-wrap: wrap; gap: 40px clamp(48px, 7vw, 112px); }
.footer__heading { margin-bottom: 16px; color: var(--muted); }
.footer__cols ul { display: grid; gap: 8px; }
.footer__cols a { position: relative; font-size: 15px; color: var(--ink-2); transition: color .3s; }
.footer__cols a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.footer__cols a:hover { color: var(--ink); }
.footer__cols a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__soon { font-size: 15px; color: var(--muted); }

.footer__word {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(56px, 8vw, 104px);
  font-size: clamp(96px, 23vw, 340px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .78;
  color: var(--ink);
  user-select: none;
}
.footer__word svg { width: 1.3em; height: auto; margin: 0 .01em; }
.footer__word .logo__ring { stroke-width: 3; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 40px);
  padding: 24px 0 max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer__top-link { transition: color .3s; }
.footer__top-link:hover { color: var(--violet); }

/* 13. Entrada e reveal ----------------------------------------------------- */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--white);
  clip-path: inset(0 0 0 0);
  transition: clip-path .8s var(--ease-in-out) .05s;
}
.is-loaded .loader { clip-path: inset(0 0 100% 0); }
.loader__mark { width: 72px; overflow: visible; }
.loader__ring {
  fill: none;
  stroke-width: 2.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw .75s var(--ease-out) forwards;
}
.loader__ring--a { stroke: var(--ink); }
.loader__ring--b { stroke: var(--lilac); animation-delay: .12s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Hero */
.js .hero__title .line > span {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.2s var(--ease-out);
}
.js .hero__title .line:nth-child(1) > span { transition-delay: .15s; }
.js .hero__title .line:nth-child(2) > span { transition-delay: .23s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .31s; }
.is-loaded .hero__title .line > span { transform: none; }

.js [data-intro] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.is-loaded [data-intro] { opacity: 1; transform: none; }
.js .hero__canvas { opacity: 0; transition: opacity 1.6s ease .2s; }
.is-loaded .hero__canvas { opacity: 1; }

/* Reveal ao rolar */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Títulos: palavras sobem em sequência */
.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .08em .1em;
  margin: 0 -.08em -.1em;
}
.js [data-split] .w__i {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + var(--delay, 0s));
}
.js [data-split].is-in .w__i { transform: none; }

/* 14. Responsivo ----------------------------------------------------------- */

/* Notebook */
@media (max-width: 1180px) {
  .about__text { grid-column: 7 / 13; }
  .principles { grid-column: 1 / -1; grid-row: auto; }
  .contact__aside { grid-column: 1 / 6; }
  .form { grid-column: 6 / 13; }
}

/* Tablet */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .header__inner { grid-template-columns: 1fr auto; }
  .nav, .header__cta { display: none; }
  .menu-toggle { display: block; }

  .hero__bottom { grid-template-columns: 1fr; row-gap: 32px; }
  .hero__copy { grid-column: 1; grid-row: 1; }
  .hero__meta { grid-column: 1; grid-row: 2; padding-bottom: 0; }

  .about__visual { grid-column: 1 / 8; grid-row: auto; }
  .about__text { grid-column: 1 / -1; grid-row: auto; margin-top: 56px; }

  .section-head__title { grid-column: 1 / -1; }
  .section-head__intro { grid-column: 1 / -1; margin-top: 24px; }

  .service { grid-template-columns: auto 1fr; row-gap: 16px; }
  .service__num { padding-top: .7em; }
  .service__body { grid-column: 2; padding-top: 0; }

  .process__aside { grid-column: 1 / -1; position: static; margin-bottom: 64px; }
  .process__steps { grid-column: 1 / -1; }

  .contact__aside, .form { grid-column: 1 / -1; }
  .contact__aside { max-width: 640px; }
}

/* Celular */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero__title { font-size: clamp(2.9rem, 15vw, 5rem); }
  .hero__title .line--indent { padding-left: .9em; }
  .hero__actions .btn { flex: 1 1 100%; }

  .about__visual { grid-column: 1 / -1; }
  .about__title .indent { padding-left: 1em; }
  .principles { grid-template-columns: 1fr; gap: 28px; }

  .step { grid-template-columns: 1fr; row-gap: 16px; --num: 3.75rem; }

  .cta__actions, .cta__actions .btn { width: 100%; }

  .form { padding: 24px 20px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .form__row { grid-template-columns: 1fr; gap: clamp(28px, 3vw, 36px); }
  .form__foot .btn { width: 100%; }

  .footer__top { flex-direction: column; }
}

@media (max-width: 380px) {
  .whatsapp__number { font-size: 22px; }
}

/* 15. Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .loader { display: none; }
}
