/* VEX SUPPLY — tokens do Manual de Identidade Visual */
:root {
  --roxo: #51178c;
  --vivo: #6f26b0;
  --claro: #c4c4d2;
  --medio: #7f8392;
  --profundo: #232530;
  --suave: #ede6ff;
  --neve: #ffffff;
  --mist: #f6f5fa;
  --texto: #4b4e5c; /* cinza médio escurecido para atingir contraste AA em texto corrido */

  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Roboto", "Segoe UI", system-ui, sans-serif;
  --label: "Roboto Condensed", "Arial Narrow", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --band: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --stitch: repeating-linear-gradient(90deg, currentColor 0 9px, transparent 9px 15px);
  --stitch-v: repeating-linear-gradient(180deg, currentColor 0 9px, transparent 9px 15px);

  --hairline-plate: var(--neve);
  --hairline-hi: var(--roxo);
  --hairline-edge: #8d8fa3;
  --hairline-mid: #bdbdd0;
  --hairline-lo: #e3e1ee;
  --hairline-stroke: 1.1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--neve);
  color: var(--texto);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--vivo); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); color: var(--profundo); text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.875rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

.wrap { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--roxo); color: #fff; }
.skip:focus { top: 1rem; }

/* Etiqueta de seção: lida como a etiqueta costurada de uma peça */
.tag {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.3rem 0.7rem;
  font: 500 0.8125rem/1.3 var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--roxo);
  background: var(--neve);
  border: 1px dashed var(--claro);
  border-radius: 2px;
}

.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); max-width: 34rem; }
.prose { max-width: 36rem; }
.prose p + p, .prose p + .link { margin-top: 1.1rem; }
.prose__strong { font-family: var(--display); font-weight: 600; color: var(--profundo); }
h2 + .prose { margin-top: 1.5rem; }
.narrow { max-width: 26ch; }
.note { margin-top: 2.5rem; max-width: 34rem; color: var(--medio); font-size: 0.9375rem; }

/* Linha de costura */
.seam-line { display: block; height: 2px; color: var(--claro); background: var(--stitch); }

/* Botões e links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.85rem 1.6rem;
  font: 600 0.9375rem/1.2 var(--display); letter-spacing: -0.005em; text-decoration: none; text-align: center;
  border: 0; border-radius: 3px; cursor: pointer;
  outline: 1px dashed transparent; outline-offset: -6px;
  transition: background-color 0.25s, color 0.25s, outline-color 0.25s;
}
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.btn--primary { background: var(--roxo); color: #fff; }
.btn--primary:hover { background: var(--vivo); outline-color: rgb(255 255 255 / 0.55); }
.btn--light { background: #fff; color: var(--roxo); }
.btn--light:hover { background: var(--suave); outline-color: var(--vivo); }
.btn--outline-light { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5); }
.btn--outline-light:hover { background: rgb(255 255 255 / 0.1); }
.btn:focus-visible { outline: 2px solid var(--vivo); outline-offset: 3px; }
.cta .btn:focus-visible, .band--dark .btn:focus-visible { outline-color: #fff; }

.link {
  display: inline-block; font: 600 0.9375rem/1.4 var(--display); color: var(--roxo); text-decoration: none;
  padding-bottom: 0.3rem;
  background: var(--stitch) 0 100% / 100% 2px no-repeat;
  transition: color 0.2s, background-size 0.4s var(--ease);
}
.link:hover { color: var(--vivo); background-image: linear-gradient(currentColor, currentColor); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.prose + .btn, .swatches__name + .btn { margin-top: 2rem; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.site-header.is-stuck { border-bottom-color: #e6e5ee; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.logo { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; flex: none; }
.logo__mark { height: 2.75rem; width: auto; }
.logo__word { height: 1.75rem; width: auto; }
.logo--light img { filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.5rem; }
.nav li a {
  font: 500 0.9375rem/1 var(--display); color: var(--profundo); text-decoration: none; padding: 0.6rem 0;
  background: var(--stitch) 0 100% / 0 2px no-repeat; transition: color 0.2s, background-size 0.35s var(--ease);
}
.nav li a:hover, .nav li a[aria-current] { color: var(--vivo); background-size: 100% 2px; }
.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 1.5rem; height: 2px; margin-inline: auto; background: var(--profundo); transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 68rem) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1rem var(--gutter) 2rem; background: var(--neve); border-bottom: 1px solid #e6e5ee;
    visibility: hidden; opacity: 0; transform: translateY(-0.5rem);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 1rem 0; font-size: 1.125rem; border-bottom: 1px dashed var(--claro); background: none; }
}

/* Hero */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__in--solo { grid-template-columns: minmax(0, 54rem); }
.hero__title { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 1.75rem; }
.hero__title--inner { font-size: clamp(2.125rem, 1.3rem + 3.2vw, 3.75rem); line-height: 1.06; letter-spacing: -0.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: block; }
.hero__title .line:last-child { color: var(--roxo); }
.hero__seam { display: flex; align-items: center; gap: 1.5rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero__seam .seam-line { flex: 1; }
.hero__seam p { font: 600 0.9375rem/1.3 var(--display); color: var(--profundo); }

.figure { width: 100%; max-width: 38rem; margin-inline: auto; }

.hero__in--photo { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
.hero__in--photo .hero__title { font-size: clamp(2.5rem, 1.4rem + 3.9vw, 4.25rem); }
.hero__photo { display: block; overflow: hidden; border-radius: 4px; background: var(--profundo); }
.hero__photo img { width: 100%; height: auto; }
@media (min-width: 60rem) {
  /* a foto sangra até a borda direita da janela */
  .hero__photo { margin-right: calc(-1 * max(var(--gutter), (100vw - 76rem) / 2)); border-radius: 4px 0 0 4px; }
  .hero__photo img { height: 100%; min-height: 30rem; object-fit: cover; object-position: 40% 30%; }
}

/* Sequência de abertura: o único momento orquestrado da página */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { transform: translateY(108%); transition: transform 0.9s var(--ease); }
  .js .hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }
  .js .hero__copy > :not(.hero__title), .js .hero__figure { opacity: 0; transition: opacity 0.8s 0.45s; }
  .js .seam-line--draw { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s 0.7s var(--ease); }
  .js .hero__seam p { opacity: 0; transition: opacity 0.6s 1.9s; }
  .js.is-ready .hero__title .line > span { transform: none; }
  .js.is-ready .hero__copy > :not(.hero__title), .js.is-ready .hero__figure, .js.is-ready .hero__seam p { opacity: 1; }
  .js.is-ready .seam-line--draw { clip-path: inset(0); }
  .js .hero__photo { opacity: 1; clip-path: inset(0 0 0 100%); transition: clip-path 1.3s 0.25s var(--ease); }
  .js .hero__photo img { transform: scale(1.08); transition: transform 1.8s 0.25s var(--ease); }
  .js.is-ready .hero__photo { clip-path: inset(0); }
  .js.is-ready .hero__photo img { transform: none; }
}

/* Faixas */
.band { padding-block: var(--band); }
.band--mist { background: var(--mist); --hairline-plate: var(--mist); }
.band--mist .tag { background: var(--mist); }
.band--dark {
  color: #c9c9d6;
  background: var(--profundo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='m24 26 12 20 12-20h-7l-5 9-5-9z' fill='%236f26b0' fill-opacity='.13'/%3E%3C/svg%3E");
}
.band--dark h2, .band--dark h3, .band--dark .prose__strong { color: #fff; }
.band--dark .tag { background: transparent; color: #cdb6f2; border-color: rgb(196 196 210 / 0.35); }
.band--dark .link { color: #d9c8f7; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split--figure { align-items: center; }
@media (min-width: 60rem) { .split--sticky > :first-child { position: sticky; top: 7rem; } }

/* Pilares: lista de definições com costura no topo, sem cartões */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin-block: clamp(3rem, 6vw, 5rem) 2.5rem; }
.pillars--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.pillars--4 { margin-bottom: 0; }
.pillars > div, .details > div { padding-top: 1.25rem; color: var(--claro); background: var(--stitch) 0 0 / 100% 2px no-repeat; }
.pillars dt, .details dt { font: 600 1.125rem/1.3 var(--display); color: var(--roxo); margin-bottom: 0.5rem; }
.pillars dd, .details dd { color: var(--texto); font-size: 0.9875rem; }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-block: 2.5rem; }
.details dt { color: var(--profundo); font-size: 1rem; }

/* Soluções: linhas, não cartões */
.rows { margin-top: clamp(3rem, 6vw, 5rem); }
.row {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) auto; gap: 1rem 3rem; align-items: baseline;
  padding: 2rem 1.25rem; margin-inline: -1.25rem; text-decoration: none;
  color: var(--claro); background: var(--stitch) 1.25rem 0 / calc(100% - 2.5rem) 2px no-repeat;
  transition: background-color 0.3s;
}
.row h3 { font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem); letter-spacing: -0.025em; transition: color 0.25s; }
.row p { color: var(--texto); font-size: 0.9875rem; }
.row__cta { font: 600 0.875rem/1.3 var(--display); color: var(--roxo); max-width: 11rem; text-align: right; }
.row:hover, .row:focus-visible { background-color: var(--suave); }
.row:hover h3 { color: var(--roxo); }

/* Processo: a costura que avança com a rolagem */
.seam { position: relative; padding-left: 3.5rem; --stitched: 0px; }
.seam__thread { position: absolute; left: 0.9rem; top: 0; bottom: 0; width: 2px; color: var(--claro); background: var(--stitch-v); }
.seam__thread::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--stitched); color: var(--roxo); background: var(--stitch-v); }
.seam__needle { position: absolute; left: 50%; top: var(--stitched); width: 2px; height: 2.25rem; margin-left: -1px; background: linear-gradient(var(--profundo), var(--medio)); border-radius: 0 0 2px 2px; transform: translateY(-4px); }
.seam__needle::before { content: ""; position: absolute; left: -1.5px; top: 4px; width: 5px; height: 7px; border: 1.5px solid var(--profundo); border-radius: 50%; background: var(--neve); }
.seam__step { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; padding-bottom: 2.75rem; }
.seam__step:last-of-type { padding-bottom: 0.5rem; }
.seam__step::before { content: ""; position: absolute; left: -3.1rem; top: 0.35rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--neve); border: 2px solid var(--claro); transition: border-color 0.4s, background-color 0.4s, transform 0.5s var(--ease); }
.band--mist .seam__step::before { background: var(--mist); }
.seam__n { font: 600 0.9375rem/1.9 var(--label); letter-spacing: 0.08em; color: var(--medio); transition: color 0.4s; }
.seam__step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.seam__step p { font-size: 0.9875rem; max-width: 30rem; }
.seam__step.is-on::before { border-color: var(--roxo); background: var(--roxo); transform: scale(1.15); }
.seam__step.is-on .seam__n { color: var(--roxo); }
html:not(.js) .seam__needle { display: none; }
@media (prefers-reduced-motion: reduce) { .seam__needle { display: none; } .seam__thread { color: var(--roxo); } }

/* Princípios */
.principles__h { font: 500 0.8125rem/1.3 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: #cdb6f2; margin-bottom: 0.5rem; }
.principles { counter-reset: p; margin-bottom: 2.5rem; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 2.5rem 1fr; padding: 1.35rem 0; font: 500 clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem)/1.35 var(--display); color: #fff; border-bottom: 1px dashed rgb(196 196 210 / 0.3); }
.principles li::before { content: counter(p); font: 500 0.9375rem/1.9 var(--label); color: #a98ce0; }

/* Polo e combinações */
.polo-stage { padding: clamp(1.5rem, 4vw, 3rem); background: var(--mist); border-radius: 4px; }
.polo-stage figcaption { margin-top: 1rem; font-size: 0.8125rem; color: var(--medio); text-align: center; }
.polo { --body: #c4c4d2; --trim: #51178c; --mark: #51178c; width: min(100%, 26rem); margin-inline: auto; }
.polo path, .polo circle { transition: fill 0.7s var(--ease), stroke 0.7s var(--ease); }
.polo__body { fill: var(--body); stroke: rgb(35 37 48 / 0.28); stroke-width: 1.5; stroke-linejoin: round; }
.polo__trim { fill: var(--trim); stroke: rgb(35 37 48 / 0.28); stroke-width: 1; stroke-linejoin: round; }
.polo__placket { fill: var(--body); stroke: rgb(35 37 48 / 0.28); stroke-width: 1; }
.polo__btn { fill: var(--trim); }
.polo__mark { fill: var(--mark); }
.polo__stitch { fill: none; stroke: rgb(35 37 48 / 0.3); stroke-width: 1; stroke-dasharray: 4 3; }
.swatches { display: flex; gap: 0.75rem; margin-top: 2rem; }
.swatch { width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%; cursor: pointer; border: 1px solid var(--claro); background: linear-gradient(135deg, var(--b) 50%, var(--t) 50%); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.25s, transform 0.3s var(--ease); }
.swatch:hover { transform: scale(1.06); }
.swatch[aria-pressed="true"] { outline-color: var(--roxo); }
.swatches__name { margin-top: 0.9rem; font-size: 0.9375rem; color: var(--profundo); min-height: 1.6em; }

/* Chamada final */
.cta {
  padding-block: var(--band); color: #e6dcf7;
  background: var(--roxo) repeating-linear-gradient(-45deg, transparent 0 46px, rgb(111 38 176 / 0.38) 46px 92px);
}
.cta__in { max-width: 76rem; }
.cta h2 { color: #fff; font-size: clamp(2rem, 1.1rem + 3.4vw, 3.75rem); letter-spacing: -0.035em; max-width: 18ch; margin-bottom: 1.5rem; }
.cta .lead { max-width: 40rem; }
.cta .tag { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.45); }
.cta__micro { margin-top: 2rem; font-size: 0.9375rem; color: #cdb6f2; }

/* Listas costuradas (páginas internas) */
.list__lead { font: 600 1.0625rem/1.4 var(--display); color: var(--profundo); margin-bottom: 0.75rem; }
.stitched li { padding: 1.1rem 0 1.1rem 1.75rem; position: relative; color: var(--claro); background: var(--stitch) 0 100% / 100% 2px no-repeat; }
.stitched li::before { content: ""; position: absolute; left: 0; top: 1.6rem; width: 0.6rem; height: 2px; background: var(--roxo); }
.stitched li { color: var(--texto); background-image: repeating-linear-gradient(90deg, var(--claro) 0 9px, transparent 9px 15px); }

/* Formulário */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--neve); border: 1px dashed var(--claro); border-radius: 4px; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.5rem; font: 500 0.9375rem/1.35 var(--body); color: var(--profundo); }
.field__opt { font-weight: 400; font-size: 0.8125rem; color: var(--medio); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem; font: inherit; color: var(--profundo);
  background: var(--neve); border: 1px solid #b4b5c4; border-radius: 3px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field :is(input, select, textarea):focus { outline: 0; border-color: var(--vivo); box-shadow: 0 0 0 3px var(--suave); }
.was-validated :is(input, select, textarea):invalid { border-color: #b3261e; }
.form__status { margin-top: 1rem; font-size: 0.9375rem; color: var(--profundo); min-height: 1.5em; }
.form__status.is-error { color: #b3261e; }

/* FAQ */
.faq details { color: var(--claro); background: var(--stitch) 0 100% / 100% 2px no-repeat; }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; font: 600 1.0625rem/1.4 var(--display); color: var(--profundo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.7rem; height: 0.7rem; margin-top: 0.3rem; border-right: 2px solid var(--roxo); border-bottom: 2px solid var(--roxo); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--roxo); }
.faq p { padding-bottom: 1.5rem; max-width: 38rem; color: var(--texto); }

/* Rodapé */
.site-footer { padding-top: clamp(3.5rem, 7vw, 5.5rem); background: var(--profundo); color: #b9bac8; font-size: 0.9375rem; }
.site-footer__in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 24rem; }
.site-footer__h { font: 500 0.8125rem/1.3 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer li a { display: inline-block; padding: 0.4rem 0; text-decoration: none; transition: color 0.2s; }
.site-footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 3.5rem; padding-bottom: 2rem; }
.site-footer__base .seam-line { flex: 0 0 100%; margin-bottom: 1.5rem; color: rgb(196 196 210 / 0.3); }
.site-footer__base p:nth-child(2) { font-family: var(--display); font-weight: 600; color: #fff; }
.site-footer__credit { display: flex; align-items: center; gap: 0.6rem; flex: 0 0 100%; justify-content: flex-end; font-size: 0.8125rem; }
.site-footer__credit img { width: auto; height: 1.2rem; }
.site-footer__credit a { display: inline-flex; padding: 0.35rem 0; opacity: 0.92; transition: opacity 0.2s; }
.site-footer__credit a:hover { opacity: 1; }
.form__legal { margin-top: 1rem; max-width: 34rem; font-size: 0.8125rem; color: var(--medio); }
.form__legal a { color: var(--roxo); }
.legal { display: grid; gap: clamp(2rem, 4vw, 3rem); max-width: 52rem; }
.legal__item { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 4vw, 3rem); padding-top: 1.5rem; color: var(--claro); background: var(--stitch) 0 0 / 100% 2px no-repeat; }
.legal__item h2 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
.legal__item .prose { max-width: none; color: var(--texto); }
.legal__item strong { color: var(--profundo); }
@media (max-width: 48rem) { .legal__item { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 36rem) {
  .site-footer__credit { justify-content: flex-start; }
  .site-footer__base { padding-bottom: 5rem; } /* espaço para o botão flutuante de WhatsApp */
}

/* Responsivo */
@media (max-width: 60rem) {
  .hero__in, .split, .site-footer__in { grid-template-columns: minmax(0, 1fr); }
  .hero__figure { max-width: 30rem; }
  .split--figure > .figure { order: 2; }
  .pillars, .pillars--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .row__cta { text-align: left; max-width: none; }
}
@media (max-width: 36rem) {
  .pillars, .pillars--3, .details, .form { grid-template-columns: minmax(0, 1fr); }
  .hero__seam { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__seam .seam-line { flex: none; width: 100%; }
  .actions .btn { width: 100%; }
  .logo__mark { height: 2.25rem; }
  .logo__word { height: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Marcas atendidas: faixa compacta com logos passando ---------- */
.brands { padding-block: 0.5rem clamp(2.5rem, 5vw, 4rem); }
.brands__in { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.brands__copy h2 { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.25; }
.brands__copy p { margin-top: 0.35rem; font-size: 0.875rem; color: var(--medio); }
.brands__track {
  display: flex; overflow: hidden; --gap: clamp(2.5rem, 5vw, 4.5rem); gap: var(--gap);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__list { display: flex; flex: none; align-items: center; gap: var(--gap); min-height: 4.5rem; }
.brands__list li { flex: none; }
.brands__logo { width: auto; max-width: none; filter: grayscale(1); opacity: 0.62; transition: filter 0.35s, opacity 0.35s; }
.brands__logo--mono { filter: brightness(0); opacity: 0.5; }
.brands__name { font: 600 1.125rem/1 var(--display); letter-spacing: -0.02em; color: var(--medio); white-space: nowrap; transition: color 0.35s; }
.brands__track li:hover .brands__logo { filter: none; opacity: 1; }
.brands__track li:hover .brands__logo--mono { filter: brightness(0); opacity: 0.85; }
.brands__track li:hover .brands__name { color: var(--roxo); }
@keyframes brands-slide { to { transform: translateX(calc(-100% - var(--gap))); } }
@media (prefers-reduced-motion: no-preference) {
  .brands__list { animation: brands-slide 38s linear infinite; }
  .brands__track:hover .brands__list, .brands__track:focus-visible .brands__list { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .brands__track { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
  .brands__list[aria-hidden] { display: none; }
}
@media (max-width: 60rem) { .brands__in { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } }

/* ---------- Transições: cada seção é costurada à seguinte com um ponto diferente ---------- */
.band, .cta { position: relative; }
.stitch {
  position: absolute; top: 0; left: 50%; z-index: 2; width: min(100% - 2 * var(--gutter), 76rem); height: 14px;
  transform: translate(-50%, -50%); overflow: hidden; color: var(--vivo);
}
.stitch__thread {
  position: absolute; inset: 0; background: currentColor; opacity: 0.75;
  -webkit-mask: var(--tile) 0 50% repeat-x; mask: var(--tile) 0 50% repeat-x;
}
.stitch--zigzag { --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12'%3E%3Cpath d='M0 10 8 2l8 8' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
.stitch--cruz { --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12'%3E%3Cpath d='m4 2 8 8m0-8-8 8' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
.stitch--overloque { --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M0 10.5h12M2 10.5 9 2' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); }
.stitch__runner { position: absolute; inset: 0; }
.stitch__needle { position: absolute; left: 100%; top: 50%; width: 2.5rem; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--medio), var(--profundo)); border-radius: 0 2px 2px 0; opacity: 0; }
.stitch__needle::before { content: ""; position: absolute; left: 3px; top: -2px; width: 7px; height: 4px; border: 1.5px solid var(--profundo); border-radius: 50%; background: var(--neve); }

/* Entrada em seções escuras: corte diagonal com pesponto paralelo à borda */
.band--dark, .cta {
  --cut: clamp(1.75rem, 4vw, 3.75rem);
  margin-top: calc(-1 * var(--cut)); padding-top: calc(var(--band) + var(--cut));
  clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%);
  overflow: clip; /* o pesponto girado não pode criar rolagem horizontal */
}
.band--dark { padding-bottom: calc(var(--band) + var(--cut)); clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 calc(100% - var(--cut))); }
.band--dark::before, .cta::before {
  content: ""; position: absolute; left: 0; top: 0.85rem; width: 100%; height: 2px;
  color: rgb(255 255 255 / 0.38); background: var(--stitch);
  transform-origin: 0 0; transform: rotate(atan2(var(--cut), 100vw));
}
.band--tight { padding-block: 0 var(--band); }

@media (prefers-reduced-motion: no-preference) {
  .is-ready .stitch__thread { clip-path: inset(0 100% 0 0); transition: clip-path 1.9s cubic-bezier(0.45, 0, 0.25, 1); }
  .is-ready .stitch__runner { transform: translateX(-100%); transition: transform 1.9s cubic-bezier(0.45, 0, 0.25, 1); }
  .is-ready .stitch__needle { opacity: 1; }
  .is-ready .stitch.is-in .stitch__thread { clip-path: inset(0); }
  .is-ready .stitch.is-in .stitch__runner { transform: none; }

  .is-ready .band--dark::before, .is-ready .cta::before { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s 0.2s var(--ease); }
  .is-ready .band--dark.is-in::before, .is-ready .cta.is-in::before { clip-path: inset(0); }

  /* Títulos se desdobram ao entrar, como tecido sendo aberto */
  .is-ready [data-unfold] { clip-path: inset(0 0 100% 0); transform: translateY(0.45em); transition: clip-path 0.95s var(--ease), transform 0.95s var(--ease); }
  .is-ready [data-unfold].is-in { clip-path: inset(-0.1em 0 -0.2em 0); transform: none; }
}

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(0.9rem, 2.5vw, 1.75rem); bottom: clamp(0.9rem, 2.5vw, 1.75rem); z-index: 40;
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3rem; padding: 0.7rem 1.1rem;
  font: 600 0.875rem/1 var(--display); color: #fff; text-decoration: none;
  background: var(--roxo); border-radius: 3rem; box-shadow: 0 6px 22px rgb(35 37 48 / 0.28);
  outline: 1px dashed transparent; outline-offset: -5px;
  transition: background-color 0.25s, outline-color 0.25s, opacity 0.35s, transform 0.45s var(--ease), visibility 0.35s;
}
.wa-float:hover { background: var(--vivo); outline-color: rgb(255 255 255 / 0.55); }
.js .wa-float:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(1rem); }
@media (max-width: 36rem) {
  .wa-float { padding: 0; width: 3.25rem; height: 3.25rem; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
