/* ==========================================================================
   Terceiriza SP — site institucional (v2)
   Cores da marca: grafite #293335, laranja #FF3402, amarelo #FFBF34, ciano #00F7ED
   ========================================================================== */

@font-face { font-family: "Arboria"; src: url("../assets/fonts/Arboria-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Arboria"; src: url("../assets/fonts/Arboria-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Arboria"; src: url("../assets/fonts/Arboria-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --ink: #1b2224;          /* fundo mais profundo */
  --graphite: #263032;     /* grafite da marca, levemente aprofundado */
  --card: #2e393b;
  --orange: #ff3402;
  --orange-ink: #d42a00;   /* laranja para texto sobre claro (contraste) */
  --yellow: #ffbf34;
  --cyan: #00f7ed;
  --paper: #f3f2ee;
  --white: #f8ffff;
  --muted: #a9b4b5;
  --muted-dark: #555f5e;
  --line: rgba(248, 255, 255, .1);
  --radius: 20px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --max: 1180px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --sec: clamp(64px, 8.5vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font: 300 16px/1.6 "Arboria", system-ui, sans-serif; letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 90px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec) 0; position: relative; overflow: clip; }
.section--light { background: var(--paper); color: var(--graphite); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cyan); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow);
}
.eyebrow::before { content: ""; width: 18px; height: 5px; background: currentColor; }
.section--light .eyebrow { color: var(--orange-ink); }
.eyebrow--ink { color: var(--ink) !important; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 0; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 18px; text-wrap: balance; }
.hl { color: var(--orange); }
.section--light .hl { color: var(--orange-ink); }
.head { margin-bottom: clamp(32px, 4.5vw, 52px); }
.head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px 64px; align-items: end; }
.head__lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); margin: 0; max-width: 460px; }
.section--light .head__lead { color: var(--muted-dark); }
.head__lead a { color: var(--cyan); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--orange);
  background: var(--orange); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), border-color .3s, color .3s;
}
.btn::before { /* preenchimento que sobe no hover */
  content: ""; position: absolute; inset: 0; z-index: -1; background: #ff5a2e; border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.97); }
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; border-color: rgba(248, 255, 255, .28); color: var(--white); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--ink); border-color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Pixels da marca ---------- */
.pix { position: absolute; left: var(--x); top: var(--y); width: var(--w, 40px); height: 12px; z-index: 2; }
.pix--sq { width: 28px; height: 28px; }
.pix--o { background: var(--orange); }
.pix--y { background: var(--yellow); }
.pix--c { background: var(--cyan); }

/* ---------- Palavras gigantes ao fundo ---------- */
.ghost {
  position: absolute; left: -2vw; top: 40px; pointer-events: none; user-select: none; white-space: nowrap;
  font-size: clamp(110px, 17vw, 260px); font-weight: 900; line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(248, 255, 255, .06);
}
.ghost--r { top: auto; bottom: 30px; }

/* ---------- Header em pílula ---------- */
.header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter);
  transition: transform .5s var(--ease);
}
.header.is-hidden { transform: translateY(-140%); }
.header__pill {
  max-width: var(--max); margin: 0 auto; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 10px 0 24px; border-radius: 999px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.header.is-scrolled .header__pill {
  background: rgba(27, 34, 36, .84); border-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.header__logo img { width: 150px; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .25s, background .25s; }
.nav a:not(.btn):hover { color: var(--white); }
.nav a.is-active { color: var(--white); background: rgba(248, 255, 255, .08); }
.nav__cta { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; border-radius: 50%; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: min(100svh, 880px); display: flex; align-items: center; position: relative; overflow: clip;
  padding: 120px 0 88px;
  background: radial-gradient(ellipse 60% 70% at 78% 45%, rgba(255, 52, 2, .14), transparent 70%), var(--ink);
}
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 4vw, 64px); position: relative; }
.hero__title { font-size: clamp(44px, 6.4vw, 92px); font-weight: 900; line-height: .98; letter-spacing: -.03em; margin-bottom: 24px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 500px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; justify-self: end; }
.hero__three { position: absolute; inset: 8% 0 6% 6%; width: 94%; height: 86%; overflow: visible; }
.hero__three .b { fill: var(--orange); }
.hero__pote {
  position: absolute; width: 64%; left: 8%; bottom: 0; z-index: 1;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .5));
}
.scrollcue {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.scrollcue i { width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent); position: relative; overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--orange); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Clientes ---------- */
.clients { background: var(--ink); padding: 8px 0 36px; }
.clients__title { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .06em; margin: 0 var(--gutter) 10px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track li { flex: none; padding: 0 clamp(14px, 2.6vw, 34px); }
.marquee__track img { width: 140px; height: 84px; object-fit: contain; opacity: .6; transition: opacity .3s; }
.marquee__track li:hover img { opacity: 1; }
html:not(.motion) .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre ---------- */
.about { background: radial-gradient(ellipse 50% 40% at 92% 8%, rgba(255, 52, 2, .07), transparent 70%); }
.statement {
  font-size: clamp(26px, 3.4vw, 46px); font-weight: 700; line-height: 1.16; letter-spacing: -.02em;
  max-width: 1020px; margin: 0 0 clamp(40px, 6vw, 72px); text-wrap: pretty;
}
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--white); transition: border-color .3s, background .3s; }
.chips li:hover { border-color: var(--cyan); background: rgba(0, 247, 237, .06); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.stat { padding: 26px 20px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(40px, 5vw, 68px); font-weight: 900; line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat:nth-child(1) strong { color: var(--orange); }
.stat:nth-child(2) strong { color: var(--yellow); }
.stat:nth-child(3) strong { color: var(--cyan); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- Continuidade entre os blocos ---------- */
/* blocos escuros seguidos: menos espaço e uma linha fina que se dissolve nas pontas */
.section:not(.section--light) + .section:not(.section--light) { padding-top: calc(var(--sec) * .62); }
.section:not(.section--light) + .section:not(.section--light)::before {
  content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(var(--max), calc(100% - var(--gutter) * 2)); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 255, 255, .14) 20%, rgba(248, 255, 255, .14) 80%, transparent);
}
/* soluções + embalagens numa única folha clara de cantos arredondados */
.sheet { position: relative; background: var(--paper); color: var(--graphite); clip-path: inset(0 12px round 36px); }
.sheet .section { background: transparent; }
.sheet .solutions { padding-bottom: calc(var(--sec) * .5); }
.sheet .packs { padding-top: 0; }
.sheet .packs > .wrap { position: relative; padding-top: calc(var(--sec) * .5); }
.sheet .packs > .wrap::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, rgba(38, 48, 50, .14) 20%, rgba(38, 48, 50, .14) 80%, transparent); }
.sheet + .section { padding-top: var(--sec); }
.sheet .eyebrow { color: var(--orange-ink); }
.sheet .head__lead { color: var(--muted-dark); }
.sheet .hl { color: var(--orange-ink); }

/* ---------- Soluções ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 200px); grid-auto-flow: row dense; gap: 12px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd; isolation: isolate; }
.tile--tall, .tile--tall-lg { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile--wide-lg { grid-column: span 3; }
.tile--gel img { object-position: 74% 68%; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(17, 22, 23, .82)); }
.tile:hover img { transform: scale(1.06); }
.tile__t { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; color: #fff; font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.2; }
.tile__t small { display: block; font-size: 13px; font-weight: 300; color: rgba(255, 255, 255, .8); margin-top: 2px;
  max-height: 0; opacity: 0; transform: translateY(6px); transition: max-height .5s var(--ease), opacity .4s, transform .5s var(--ease); }
.tile:hover .tile__t small { max-height: 40px; opacity: 1; transform: none; }
@media (hover: none) { .tile__t small { max-height: none; opacity: 1; transform: none; } }

/* ---------- Etapas ---------- */
.steps { background: radial-gradient(ellipse 45% 50% at 0% 90%, rgba(0, 247, 237, .05), transparent 70%); }
.steps__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps__aside { position: sticky; top: 120px; }
.steps__aside .h2 { margin-bottom: 16px; }
.steps__progress { margin-top: 36px; height: 4px; background: var(--line); border-radius: 3px; overflow: hidden; max-width: 320px; }
.steps__progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--cyan)); }
.step { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 34px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-size: 52px; font-weight: 900; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(248, 255, 255, .3); transition: color .6s var(--ease), -webkit-text-stroke-color .6s; }
.step.is-on .step__n { color: var(--orange); -webkit-text-stroke-color: transparent; }
.step:nth-child(3n+2).is-on .step__n { color: var(--yellow); }
.step:nth-child(3n).is-on .step__n { color: var(--cyan); }
.step h3 { font-size: clamp(20px, 1.9vw, 24px); margin: 4px 0 8px; }
.step p { color: var(--muted); margin: 0; max-width: 460px; }

/* ---------- Embalagens ---------- */
.packs { padding-bottom: calc(var(--sec) - 12px); }
.shelf-wrap { overflow: hidden; }
.shelf {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(16px, 3vw, 44px);
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 24px var(--gutter) 12px;
}
.shelf li { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: none; }
.shelf img { height: clamp(140px, 15vw, 210px); width: auto; filter: drop-shadow(0 22px 20px rgba(0, 0, 0, .2)); transition: transform .6s var(--ease); }
.shelf li:hover img { transform: translateY(-12px) rotate(-3deg); }
.shelf span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Propósito e valores ---------- */
.purpose { background: radial-gradient(ellipse 50% 45% at 100% 30%, rgba(255, 191, 52, .05), transparent 70%); }
.purpose__t { font-size: clamp(28px, 3.8vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; max-width: 980px; margin-bottom: 32px; text-wrap: balance; }
.purpose__mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; max-width: 900px; margin-bottom: clamp(40px, 5vw, 64px); }
.purpose__mv p { color: var(--muted); margin: 0; }
.purpose__mv strong { display: block; color: var(--white); font-weight: 700; margin-bottom: 4px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.value { background: var(--card); border-radius: var(--radius); padding: 28px 26px 26px; position: relative; overflow: hidden; transition: transform .5s var(--ease), background .4s; }
.value::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 56px; background: var(--orange); transition: width .6s var(--ease); }
.value--y::before { background: var(--yellow); }
.value--c::before { background: var(--cyan); }
.value:hover { transform: translateY(-4px); background: #34403f; }
.value:hover::before { width: 100%; }
.value__n { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-bottom: 36px; }
.value h3 { font-size: 22px; margin-bottom: 10px; }
.value p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Equipe ---------- */
.team__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.team__head .h2 { margin-bottom: 16px; }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.8vw, 32px); }
.person__photo { position: relative; margin-bottom: 26px; }
.person__photo::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border-radius: var(--radius); background: var(--yellow); transition: inset .5s var(--ease); }
.person:nth-child(2) .person__photo::before { background: var(--orange); }
.person:hover .person__photo::before { inset: 18px -18px -18px 18px; }
.person__photo img { position: relative; width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: center 22%; border-radius: var(--radius); filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.person:hover .person__photo img { filter: none; }
@media (hover: none) { .person__photo img { filter: none; } }
.person h3 { font-size: 20px; }
.person p { color: var(--muted); margin: 2px 0 0; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { background: transparent; }
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .h2 { margin-bottom: 14px; }
.faq__wa { margin-top: 26px; }
.faq__list { counter-reset: q; }
.faq__list details { border-bottom: 1px solid var(--line); counter-increment: q; }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; position: relative; display: grid; grid-template-columns: 44px 1fr 28px; align-items: baseline;
  padding: 20px 0; font-size: 17px; font-weight: 300; line-height: 1.45; color: var(--white); transition: color .3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before { content: counter(q, decimal-leading-zero); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); transition: color .3s; }
.faq__list summary::after {
  content: ""; justify-self: end; align-self: center; width: 12px; height: 12px; opacity: .7;
  background: linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 12px no-repeat;
  transition: transform .5s var(--ease), opacity .3s;
}
.faq__list summary:hover::after { opacity: 1; }
.faq__list summary:hover::before, .faq__list details[open] summary::before { color: var(--yellow); }
.faq__list details[open] summary::after { transform: rotate(45deg); opacity: 1; }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--muted); font-size: 15px; margin: -4px 40px 22px 44px; max-width: 560px; }

/* ---------- Contato ---------- */
.contact { background: radial-gradient(ellipse 50% 50% at 10% 60%, rgba(255, 52, 2, .06), transparent 70%); }
.contact__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: stretch; }
.contact__card {
  background: var(--orange); color: var(--ink); border-radius: 28px; padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.contact__card .h2 { color: var(--ink); margin-bottom: 14px; position: relative; }
.contact__lead { font-size: 17px; margin-bottom: 28px; color: rgba(27, 34, 36, .85); }
.contact__list { margin-top: auto; position: relative; z-index: 1; }
.contact__next { display: none; }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark::before { background: #000; }
.contact__list li { padding: 14px 0; border-top: 1px solid rgba(27, 34, 36, .2); font-size: 15px; }
.contact__list span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 2px; opacity: .75; }
.contact__list a { text-decoration: none; font-size: 17px; font-weight: 700; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; background: var(--graphite); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.6vw, 40px); align-content: start; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full, .form__consent, .form__submit, .form__feedback { grid-column: 1 / -1; }
.field label, .chipsel legend { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.field small { font-weight: 300; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--white); background: var(--ink);
  border: 1px solid rgba(248, 255, 255, .14); border-radius: 14px; padding: 13px 15px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 247, 237, .16); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--orange); }
.field__err { color: #ff8a6b; font-size: 13px; }
.chipsel { border: 0; padding: 0; margin: 0; }
.chipsel legend { padding: 0; margin-bottom: 9px; }
.chipsel__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chipsel label { position: relative; cursor: pointer; }
.chipsel input { position: absolute; opacity: 0; pointer-events: none; }
.chipsel span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(248, 255, 255, .16); font-size: 14px; color: var(--muted); transition: all .25s var(--ease); }
.chipsel label:hover span { color: var(--white); border-color: rgba(248, 255, 255, .4); }
.chipsel input:checked + span { background: var(--white); color: var(--ink); border-color: var(--white); font-weight: 700; }
.chipsel input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form__consent { font-size: 12.5px; color: var(--muted); margin: 0; }
.form__submit { justify-self: start; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__feedback { margin: 0; min-height: 1.4em; color: var(--cyan); }
.form__feedback.is-error { color: #ff8a6b; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); padding-bottom: 28px; color: var(--muted); font-size: 14px; }
.footer { padding-top: calc(var(--sec) * .62); position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(var(--max), calc(100% - var(--gutter) * 2)); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 255, 255, .14) 20%, rgba(248, 255, 255, .14) 80%, transparent); }
.footer__logo { width: 150px; margin-bottom: 18px; }
.footer__in { display: grid; grid-template-columns: 1.5fr 1.3fr .7fr; gap: 32px; padding-bottom: 36px; }
.footer__brand p { max-width: 300px; margin-bottom: 20px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--white); transition: color .3s, border-color .3s, background .3s, transform .4s var(--ease); }
.social a:hover { color: var(--ink); background: var(--white); border-color: var(--white); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer__col a { color: var(--white); text-decoration: none; transition: color .25s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--cyan); }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col p { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin: 0 0 4px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 20px; font-size: 12.5px; position: relative; }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }

/* ---------- WhatsApp flutuante ---------- */
.wpp {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .4s var(--ease), opacity .3s;
}
.wpp:hover { transform: scale(1.08); }
.wpp svg { width: 28px; height: 28px; fill: currentColor; }
.wpp.is-hidden { opacity: 0; pointer-events: none; transform: scale(.7); }

/* ---------- Páginas legais ---------- */
.legal__sep { border: 0; height: 1px; background: rgba(38, 48, 50, .14); margin: 72px 0 48px; }
.legal h1[id] { scroll-margin-top: 100px; }
.legal-page .header__pill { background: var(--ink); }
.legal { background: var(--paper); color: var(--graphite); padding: 140px 0 clamp(64px, 8vw, 104px); }
.legal__in { max-width: calc(760px + var(--gutter) * 2); }
.legal h1 { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 10px; }
.legal__meta { font-size: 13px; color: var(--muted-dark); margin-bottom: 28px; }
.legal__lead { font-size: 18px; color: var(--graphite); }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 44px; padding: 20px 0; border-top: 1px solid rgba(38, 48, 50, .12); border-bottom: 1px solid rgba(38, 48, 50, .12); }
.legal .legal__toc a { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(38, 48, 50, .16); text-decoration: none; color: var(--graphite); transition: background .25s, color .25s; }
.legal .legal__toc a:hover { background: var(--graphite); color: var(--white); }
.legal h2 { font-size: 21px; margin: 40px 0 12px; scroll-margin-top: 100px; }
.legal p, .legal li { color: #3f4847; font-size: 16px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--orange-ink); }
.legal a { color: var(--orange-ink); }
.legal strong { color: var(--graphite); font-weight: 700; }
.legal .eyebrow { color: var(--orange-ink); }

/* ---------- Estados iniciais das animações (só quando o JS de movimento está ativo) ---------- */
.motion [data-hero], .motion [data-reveal] { opacity: 0; }
.motion .hero__title .line > span { transform: translateY(110%); }
.motion [data-hero-art] .b, .motion [data-hero-art] .pix, .motion .hero__pote { opacity: 0; }
.motion .tile { opacity: 0; }
.motion .shelf li { opacity: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .burger { display: block; z-index: 2; }
  .header__pill { padding: 0 6px 0 20px; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: stretch; gap: 0;
    padding: 110px var(--gutter) 40px; background: rgba(27, 34, 36, .97); font-size: 30px; font-weight: 700;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a:not(.btn) { color: var(--white); padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: none !important;
    transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
  .nav.is-open a:not(.btn) { transform: none; opacity: 1; }
  .nav.is-open a:nth-child(2) { transition-delay: .04s; } .nav.is-open a:nth-child(3) { transition-delay: .08s; }
  .nav.is-open a:nth-child(4) { transition-delay: .12s; } .nav.is-open a:nth-child(5) { transition-delay: .16s; }
  .nav__cta { margin: 28px 0 0; font-size: 16px; min-height: 54px; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .header__logo { position: relative; z-index: 2; }
  .menu-open .header { transform: none; }
  .menu-open .header__pill { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

@media (max-width: 900px) {
  :root { --radius: 18px; }
  .hero { min-height: auto; padding: 96px 0 64px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 280px; justify-self: center; margin-bottom: -4px; }
  .scrollcue { display: none; }
  .head--split, .about__grid, .steps__in, .team__in, .faq__in, .contact__in { grid-template-columns: 1fr; }
  .steps__aside, .faq__head { position: static; }
  .steps__progress { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
  .values { grid-template-columns: 1fr; }
  .purpose__mv { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .sheet { clip-path: inset(0 8px round 28px); }
  .legal { padding-top: 116px; }
}

@media (max-width: 640px) {
  .header { top: 10px; }
  .header__pill { height: 54px; }
  .header__logo img { width: 128px; }
  .hero__title { margin-bottom: 18px; }
  .hero__lead { margin-bottom: 26px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .ghost { font-size: 96px; }
  .statement { font-size: 25px; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 132px; gap: 8px; }
  .tile--tall-lg { grid-row: auto; }
  .tile--wide-lg { grid-column: span 2; }
  .tile--gel { grid-column: span 2; }
  .tile__t { left: 14px; bottom: 12px; font-size: 17px; }
  .tile__t small { font-size: 12px; }
  .step { grid-template-columns: 60px 1fr; padding: 20px 0; }
  .step__n { font-size: 36px; }
  .shelf { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 22px; padding-bottom: 20px; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf li { scroll-snap-align: center; }
  .shelf img { height: 150px; }
  .value { padding: 22px 22px 20px; }
  .value__n { margin-bottom: 14px; }
  .team__grid { gap: 18px; }
  .person__photo::before { inset: 8px -8px -8px 8px; }
  .person h3 { font-size: 17px; }
  .person p { font-size: 13px; }
  .form { grid-template-columns: 1fr; border-radius: 22px; }
  .contact__card { border-radius: 22px; }
  .form__submit { justify-self: stretch; }
  .faq__list summary { grid-template-columns: 34px 1fr 24px; font-size: 16px; }
  .faq__a p { margin: -4px 0 20px 34px; }
  .footer__in { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; }
  .wpp { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.motion) .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  html:not(.motion) .marquee { mask-image: none; -webkit-mask-image: none; }
  html:not(.motion) .marquee__track li[aria-hidden] { display: none; }
  .scrollcue i::after { animation: none; }
}

/* ==========================================================================
   Celular e tablet em pé (até 760 px): blocos longos viram cartões que deslizam
   para o lado. O cartão do centro fica em destaque; os vizinhos recuam um pouco.
   ========================================================================== */
.swipe-dots { display: none; }
@media (max-width: 760px) {
  [data-swipe] {
    display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 10px; position: relative;
    -webkit-overflow-scrolling: touch;
  }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * { flex: 0 0 84%; scroll-snap-align: center; scale: var(--s, 1); transform-origin: center; }
  [data-swipe] > * > * { opacity: var(--o, 1); }
  .swipe-dots { display: flex; justify-content: center; gap: 2px; margin-top: 10px; }
  .swipe-dots button { width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
  .swipe-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 6px; background: currentColor; opacity: .3; transition: width .4s var(--ease), opacity .3s, background .3s; }
  .swipe-dots button.is-on::before { width: 20px; opacity: 1; background: var(--orange); }
  .section--light .swipe-dots { color: var(--graphite); }

  /* etapas: cartões com o número grande; a barra acompanha o cartão da vez */
  .steps__progress { display: block; margin: 24px 0 18px; max-width: none; }
  .steps__list + .swipe-dots { display: none; }
  .step { display: block; background: var(--card); border: 0 !important; border-radius: var(--radius); padding: 24px 22px 26px; min-height: 220px; }
  .step__n { display: block; font-size: 46px; margin-bottom: 22px; }
  .step h3 { margin: 0 0 8px; }

  /* formatos: um cartão alto por vez */
  .bento > .tile { height: min(56svh, 380px); grid-row: auto !important; grid-column: auto !important; }
  .bento > .tile .tile__t { font-size: 22px; left: 20px; bottom: 20px; }
  .bento > .tile .tile__t small { font-size: 14px; max-height: none; opacity: 1; transform: none; }

  /* valores */
  .values > .value { padding: 24px 22px; }
  .value__n { margin-bottom: 26px; }

  /* respiros menores no celular */
  :root { --sec: 64px; }
  .about__media { aspect-ratio: 16 / 11; }
  .statement { margin-bottom: 32px; }
  .stats { margin-top: 40px; }
  .purpose__t { font-size: 26px; margin-bottom: 22px; }
  .purpose__mv { gap: 14px; margin-bottom: 28px; }
  .contact__lead { margin-bottom: 18px; }

  /* contato: cartão laranja e formulário lado a lado; desliza para o formulário */
  .contact__in[data-swipe] { margin: 0 auto; width: 100%; }
  .contact__in > * { flex-basis: 88%; }
  .contact__card { padding: 26px 22px; }
  .contact__card .h2 { font-size: 28px; }
  .contact__lead { font-size: 15px; }
  .contact__next { display: inline-flex; align-self: flex-start; margin-bottom: 18px; }
  .contact__list li { padding: 10px 0; }
  .contact__list a { font-size: 15px; }
  /* campos curtos agrupados numa caixa só, rótulo à esquerda (estilo iOS) */
  .form { gap: 0; padding: 20px 18px; }
  .form > .field:not(.field--full) {
    display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 0 6px;
    background: var(--ink); border: 1px solid rgba(248, 255, 255, .12); border-bottom-width: 0; transition: background .25s;
  }
  .form > .field:not(.field--full):first-of-type { border-radius: 14px 14px 0 0; }
  .form > .field:not(.field--full):nth-of-type(4) { border-radius: 0 0 14px 14px; border-bottom-width: 1px; }
  .form > .field:not(.field--full) label { padding-left: 14px; font-size: 13px; color: var(--muted); }
  .form > .field:not(.field--full) label small { display: block; font-size: 11px; }
  .form > .field:not(.field--full) input { border: 0; background: transparent; padding: 14px 12px 14px 0; border-radius: 0; box-shadow: none !important; }
  .form > .field:not(.field--full):focus-within { background: #222b2d; }
  .form > .field:not(.field--full):focus-within label { color: var(--cyan); }
  .form > .field.is-invalid:not(.field--full) label { color: #ff8a6b; }
  .form > .field:not(.field--full) .field__err { grid-column: 2; padding: 0 12px 10px 0; margin-top: -6px; }
  .form .chipsel { margin-top: 18px; }
  .form > .field--full:not(.chipsel) { margin-top: 14px; }
  .field textarea { padding: 11px 13px; border-radius: 14px; min-height: 84px; }
  .form__consent { margin-top: 12px; }
  .form__submit { margin-top: 14px; }
  .form__feedback { margin-top: 8px; }
  .chipsel__opts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px 2px; }
  .chipsel__opts::-webkit-scrollbar { display: none; }
  .chipsel label { flex: none; }
}
