:root {
  --bg: #191919;
  --surface: #242424;
  --paper: #ffffff;
  --ink: #111111;
  --accent: #0a6152;
  --wa: #25d366;
  --wa-hover: #3fe47d;
  --wa-ink: #06291a;
  --red: #bf1717;
  --red-dark: #8f1010;
  --blue: #1e4bd7;
  --teal: #0a6152;
  --teal-dark: #084a3f;
  --yellow: #ffe927;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --step-mega: clamp(2.6rem, 8.6vw, 8.6rem);
  --step-sub: clamp(1.75rem, 3.2vw, 3.25rem);

  --margin: clamp(16px, 2.8vw, 40px);
  --gap: clamp(12px, 1.6vw, 24px);
  --cut: 10px;
  --cut-lg: clamp(18px, 2.2vw, 34px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font: 400 var(--step-body)/1.45 "Chivo", system-ui, sans-serif;
  letter-spacing: -0.01em;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, figure, fieldset { margin: 0; padding: 0; border: 0; }
ul { list-style: none; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.wrap { padding-inline: var(--margin); }
p { text-wrap: pretty; }

/* A forma da marca: tudo tem cantos cortados, como um octógono */
.cut, .btn, .cut-lg { --k: var(--cut); clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
.cut-lg { --k: var(--cut-lg); }

.head, .mega, .plan__title, .price__line, .foot__name, .preview__name, .live__name {
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
  text-transform: uppercase;
}
.mega { font-size: var(--step-mega); text-wrap: balance; }
.head { font-size: var(--step-head); text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.3; max-width: 36em; }

/* Botão do WhatsApp: verde da marca, ícone em octógono e seta de ação */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 68px; padding: 10px 22px 10px 10px;
  font-weight: 900; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.1; letter-spacing: -0.02em; text-decoration: none; text-align: left;
  transition: transform 140ms var(--ease-out), background-color 180ms ease;
}
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn__icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px;
  background: var(--wa-ink); color: var(--wa);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
}
.btn__icon svg { width: 26px; height: 26px; }
.btn__arrow { flex: none; width: 22px; height: 22px; margin-left: auto; transition: transform 180ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline-offset: -5px; }
@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover { background: var(--wa-hover); }
  .btn--wa:hover .btn__arrow { transform: translateX(5px); }
}

/* Primeira tela */
.hero {
  display: grid; grid-template-columns: 10fr 2fr; gap: 0;
  min-height: 100svh; padding: 10px;
  background: var(--paper);
}
.hero__panel { position: relative; overflow: clip; min-height: 640px; background: #3f6ea3; display: flex; flex-direction: column; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero__top, .hero__copy { position: relative; }
.hero__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 28px clamp(20px, 3vw, 44px) 0; }
.brand { font-weight: 900; font-size: clamp(1.25rem, 1.8vw, 1.625rem); letter-spacing: -0.04em; text-decoration: none; }
.brand span { font-weight: 400; letter-spacing: -0.01em; margin-left: 6px; }
.hero__tag { font-weight: 700; }
.hero__copy { padding: clamp(28px, 3.2vw, 48px) clamp(20px, 3vw, 44px) 0; }
.hero__title { max-width: 18em; font-weight: 900; font-size: clamp(2.25rem, 4.7vw, 5.25rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.hero__copy .lead { margin: clamp(20px, 2vw, 30px) 0 clamp(20px, 2vw, 30px); max-width: 32em; }
.lead strong { font-weight: 900; }

.swatches { display: grid; grid-template-rows: repeat(5, 1fr); overflow: clip; }
.swatches a {
  display: block; padding: 20px;
  background: var(--c); color: var(--t);
  font-weight: 700; text-decoration: none; line-height: 1.15;
}
.swatches a:focus-visible { outline-offset: -6px; }
@media (hover: hover) and (pointer: fine) { .swatches a:hover { text-decoration: underline; text-underline-offset: 0.2em; } }

/* Exemplos */
.show { position: relative; background: var(--surface); }
.show__stage { position: relative; overflow-x: auto; overflow-y: clip; scroll-snap-type: x proximity; }
.show__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.3) grayscale(0.3); }
.show__track { position: relative; display: flex; align-items: center; gap: 40px; width: max-content; padding: clamp(80px, 12vh, 170px) var(--margin); }
.show__intro { flex: none; width: min(44vw, 660px); }
.show__intro .lead { margin-top: 32px; max-width: 26em; }
.card { flex: none; width: min(50vw, 760px); background: var(--paper); color: var(--ink); scroll-snap-align: center; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.card__foot { display: grid; grid-template-columns: 1fr 1.3fr; align-items: end; gap: 20px; padding: 24px 28px 28px; background: var(--c); color: var(--t); min-height: 124px; }
.card__foot h3 { font-weight: 900; font-size: var(--step-sub); letter-spacing: -0.05em; line-height: 0.95; text-transform: uppercase; }
.card__foot p { font-size: var(--step-body); line-height: 1.3; }

.js .show.is-held { height: var(--held, 300svh); }
.js .show.is-held .show__stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: flex; align-items: center; }

/* Oito entregas */
.eight { background: var(--teal); padding-block: clamp(96px, 13vh, 190px) clamp(64px, 9vh, 130px); }
.eight__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 40px; }
.eight__head .mega { grid-column: 1 / -1; }
.eight__head .lead { grid-column: 5 / 12; }
.eight__body { display: grid; grid-template-columns: 4fr 8fr; column-gap: var(--gap); margin-top: clamp(64px, 10vh, 140px); align-items: start; }
.octa { position: sticky; top: 8vh; width: min(100%, 72svh); }
.octa svg { width: 100%; height: auto; overflow: visible; }
.side { fill: var(--teal-dark); transition: fill 300ms ease; }
.side.is-on { fill: var(--yellow); }
.side--m.is-on { fill: #fff; }
.octa__count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.25em; font-weight: 700; font-size: var(--step-lead); }
.octa__count b { font-weight: 900; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.group { font-weight: 700; font-size: var(--step-lead); margin-bottom: clamp(20px, 3vh, 36px); color: var(--yellow); }
.plan__title { margin-top: clamp(72px, 12vh, 140px); margin-bottom: 20px; font-size: clamp(2.25rem, 5vw, 5rem); text-wrap: balance; }
.plan__intro { margin-bottom: clamp(8px, 2vh, 20px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-block: clamp(26px, 5vh, 54px); }
.row h3 { font-weight: 900; font-size: clamp(1.375rem, 2.3vw, 2.25rem); letter-spacing: -0.04em; line-height: 1; text-transform: uppercase; }
.row p { max-width: 34em; }
ul:last-child .row:last-child { padding-bottom: 0; }

/* Preço */
.price { position: relative; z-index: 1; background: var(--yellow); color: var(--ink); min-height: 90svh; display: flex; align-items: center; padding-block: clamp(80px, 12vh, 160px); }
.price .wrap { width: 100%; }
.price__title { font-weight: 700; font-size: var(--step-lead); line-height: 1.2; }
.step { margin-top: clamp(32px, 6vh, 64px); }
.price__line { font-size: 7.6vw; line-height: 1.06; white-space: nowrap; }
.step .lead { margin-top: clamp(14px, 2.4vh, 24px); }
.step__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px var(--gap); margin-top: clamp(16px, 3vh, 28px); max-width: 76em; font-weight: 700; line-height: 1.3; }
.tag { display: inline-flex; align-items: baseline; padding: 0.02em 0.14em 0.05em; background: var(--ink); color: var(--yellow); clip-path: polygon(0.14em 0, calc(100% - 0.14em) 0, 100% 0.14em, 100% calc(100% - 0.14em), calc(100% - 0.14em) 100%, 0.14em 100%, 0 calc(100% - 0.14em), 0 0.14em); }
.price__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; margin-top: clamp(40px, 7vh, 80px); }
.clock { font-weight: 900; font-size: var(--step-lead); font-variant-numeric: tabular-nums; }
.price__foot .btn { flex: none; }


/* Sua empresa */
.live { background: var(--red); padding-block: clamp(96px, 13vh, 170px); }
.live h2 label { cursor: text; }
.live__name {
  display: block; width: 100%; margin-top: clamp(28px, 4vh, 48px); padding: 0.18em 0.25em;
  background: var(--paper); color: var(--ink); border: 0; border-radius: 0;
  font-family: inherit; font-size: var(--step-mega); outline: 0;
}
.live__name::placeholder { color: #6e6e6e; opacity: 1; }
.live__name:focus { background: var(--yellow); }
.live__grid { display: grid; grid-template-columns: 4fr 8fr; column-gap: var(--gap); row-gap: 32px; margin-top: clamp(28px, 4vh, 48px); }
.live__controls { display: grid; align-content: start; gap: 28px; }
.live__controls legend, .field label { display: block; margin-bottom: 10px; padding: 0; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chips span { display: block; padding: 12px 18px; background: var(--red-dark); font-weight: 700; transition: background-color 180ms ease, color 180ms ease; }
.chips input:checked + span { background: var(--paper); color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.field input { width: 100%; min-height: 56px; padding: 12px 18px; background: var(--red-dark); color: #fff; border: 0; border-radius: 0; font: inherit; }
.field input::placeholder { color: #fbe3e3; opacity: 1; }
.field input:focus { outline: 0; background: var(--paper); color: var(--ink); }
.live__controls .btn { width: 100%; }
.live__view { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); min-width: 0; }
.preview { grid-column: 1 / -1; position: relative; min-height: clamp(240px, 36vh, 380px); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; justify-content: end; background: var(--blue); overflow: clip; }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); animation: drift 24s var(--ease-soft) infinite alternate; }
.preview[data-photo="none"] img { display: none; }
.preview p { position: relative; }
.preview__name { font-size: var(--step-sub); overflow-wrap: anywhere; }
.preview__line { margin-top: 10px; font-weight: 700; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08); } }
.result { padding: 22px 26px; background: var(--paper); color: var(--ink); min-width: 0; line-height: 1.35; }
.result h3 { margin-bottom: 10px; font-weight: 700; font-size: var(--step-small); }
.result__url { font-size: var(--step-small); color: #0a6a39; overflow-wrap: anywhere; }
.result__title { color: #1a3fb8; font-weight: 700; margin-block: 2px 4px; }
.live__note { margin-top: 24px; max-width: 46em; font-size: var(--step-small); }

/* Como funciona */
.how { background: var(--bg); padding-block: clamp(96px, 13vh, 170px) clamp(40px, 6vh, 72px); }
.how__grid { position: relative; }
.how__title { position: absolute; left: var(--margin); top: 0; width: 44%; z-index: 1; }
.how__tiles { display: grid; grid-template-columns: 3fr 4fr 5fr; column-gap: 10px; align-items: end; }
.tile figcaption { padding-top: 18px; padding-right: 14px; min-height: 8.6em; }
.tile h3 { font-weight: 700; font-size: var(--step-lead); line-height: 1.15; margin-bottom: 8px; }
.tile__box { background: var(--c); padding: clamp(14px, 2vw, 30px); display: grid; place-items: center; overflow: clip; }
.tile--s .tile__box { height: 26vh; min-height: 200px; }
.tile--m .tile__box { height: 38vh; min-height: 270px; }
.tile--l .tile__box { height: 60vh; min-height: 400px; }
.tile__box img { width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: center; }

/* Perguntas */
.faq { background: #fff; color: var(--ink); }
.faq__head { background: var(--blue); color: #fff; min-height: 30svh; display: flex; align-items: end; padding-block: 48px 36px; }
.faq__head .wrap { width: 100%; }
.band { padding-block: clamp(36px, 7vh, 64px); background: #fff; }
.band:nth-child(odd) { background: #ececec; }
.band .wrap { display: grid; grid-template-columns: 5fr 1fr 6fr; }
.band h3 { grid-column: 1; font-weight: 700; font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.03em; }
.band p { grid-column: 3; max-width: 38em; line-height: 1.5; }

/* Chamada final */
.cta { background: var(--bg); padding-block: clamp(80px, 12vh, 140px); overflow: clip; }
.cta__row { display: grid; grid-template-columns: 2fr 8fr 2fr; gap: 12px; margin-inline: -24px; }
.cta__main { background: var(--accent); padding: clamp(32px, 4vw, 60px); min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta__main h2 { font-size: var(--step-head); }
.cta__main p { margin-block: 20px 28px; font-size: var(--step-lead); line-height: 1.3; }
.cta__side { overflow: clip; background: var(--surface); }
.cta__side img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); }
.cta__side--flat { background: var(--red); }

/* Rodapé */
.foot { background: var(--yellow); color: var(--ink); padding-block: clamp(48px, 7vh, 88px) clamp(96px, 12vh, 120px); overflow: clip; }
.foot__name { font-size: 18.2vw; line-height: 0.82; letter-spacing: -0.065em; white-space: nowrap; margin-left: -0.02em; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 40px; margin-top: 36px; }
.foot__sub { font-weight: 900; font-size: var(--step-sub); letter-spacing: -0.05em; line-height: 1; text-transform: uppercase; }
.foot__link { font-weight: 700; font-size: var(--step-lead); text-underline-offset: 0.18em; }
.credits { margin-top: clamp(36px, 7vh, 72px); max-width: 46em; font-size: var(--step-small); line-height: 1.5; }

/* Botão flutuante: octógono verde, destacado do fundo por uma sombra */
.float {
  position: fixed; z-index: 30;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 68px; height: 68px;
  filter: drop-shadow(0 6px 14px rgb(0 0 0 / 0.4)); /* taste-skill-ignore: fica sobre todas as seções */
  transition: transform 200ms var(--ease-out);
}
.float span {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: var(--wa); color: var(--wa-ink);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  transition: background-color 180ms ease;
}
.float svg { width: 36px; height: 36px; }
.float:active { transform: scale(0.94); }
.float:focus-visible { outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .float:hover { transform: scale(1.08); }
  .float:hover span { background: var(--wa-hover); }
}

/* Movimento */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-load] { opacity: 0; transform: translateY(14px); animation: load-rise 520ms var(--ease-out) forwards; animation-delay: var(--d); }
  .js .hero__img { transform: scale(1.07); animation: load-settle 1400ms var(--ease-expo) forwards; }
  .js .swatches a { transform: translateX(101%); animation: load-swatch 760ms var(--ease-expo) forwards; }
  .js .swatches a:nth-child(2) { animation-delay: 70ms; }
  .js .swatches a:nth-child(3) { animation-delay: 140ms; }
  .js .swatches a:nth-child(4) { animation-delay: 210ms; }
  .js .swatches a:nth-child(5) { animation-delay: 280ms; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js [data-wipe] { clip-path: inset(100% 0 0 0); transition: clip-path 760ms var(--ease-in-out); transition-delay: var(--d, 0ms); }
  .js [data-wipe].is-in { clip-path: inset(0); }

  [data-lines] .line { display: block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }
  [data-lines] .line > span { display: block; }
  .is-split .line > span { transform: translateY(110%); }
  .is-split.is-in .line > span { transform: none; transition: transform 900ms var(--ease-expo) calc(var(--i) * 90ms); }
}
@keyframes load-rise { to { opacity: 1; transform: none; } }
@keyframes load-settle { to { transform: none; } }
@keyframes load-swatch { to { transform: none; } }

/* Celular e tablet */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 8px; }
  .hero__panel { min-height: 0; }
  /* O texto fica no céu; a torre aparece inteira depois do botão */
  .hero__img { inset: auto 0 0; height: auto; -webkit-mask-image: linear-gradient(transparent, #000 24%); mask-image: linear-gradient(transparent, #000 24%); } /* taste-skill-ignore: funde o céu da foto ao painel */
  .hero__copy { padding-bottom: 54vw; }
  .hero__copy .lead { max-width: 30em; }
  .swatches { grid-template-rows: none; }
  .swatches a { padding: 15px 16px; min-height: 52px; font-size: 1rem; }

  .show__stage { overflow: visible; }
  .show__track { flex-direction: column; align-items: stretch; width: auto; gap: 24px; padding-block: 72px; }
  .show__intro, .card { width: 100%; }
  .card__foot { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding: 20px; }

  .eight__head .lead { grid-column: 1 / -1; }
  .eight__body { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .octa { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; width: auto; margin-inline: calc(var(--margin) * -1); padding: 10px var(--margin); background: var(--teal); }
  .octa svg { width: 64px; flex: none; }
  .octa__count { position: static; justify-content: flex-start; font-size: 1.125rem; }
  .octa__count b { font-size: 2.25rem; }
  .eight__list { margin-top: 32px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 24px; }

  .price { min-height: 0; }
  .step__list { grid-template-columns: minmax(0, 1fr); }
  .price__foot { flex-direction: column; align-items: stretch; }

  .live__grid { grid-template-columns: minmax(0, 1fr); }
  .live__view { grid-template-columns: minmax(0, 1fr); }

  .how__title { position: static; width: auto; margin-bottom: 36px; font-size: var(--step-head); }
  .how__tiles { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .tile--s .tile__box, .tile--m .tile__box, .tile--l .tile__box { height: auto; min-height: 0; }
  .tile--s .tile__box { padding-inline: 18%; }
  .tile--m .tile__box { padding-inline: 8%; }

  .faq__head { min-height: 24svh; }
  .band .wrap { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .band p { grid-column: 1; }

  .cta__row { grid-template-columns: 1fr 1fr; margin-inline: var(--margin); }
  .cta__main { grid-column: 1 / -1; grid-row: 1; min-height: 300px; }
  .cta__side--flat { display: none; }
  .cta__row > .cta__side { grid-column: 1 / -1; height: 200px; }
  .cta { padding-block: 64px; }
  .cta__main .btn { width: 100%; }
  .cta__main h2 { font-size: clamp(1.7rem, 6.8vw, 3.5rem); }
}

@media (max-width: 560px) {
  .brand { white-space: nowrap; }
  .brand span { display: none; }
  .hero__tag { font-size: 0.9375rem; text-align: right; }
  .hero .btn, .price__foot .btn { width: 100%; }
  .float { width: 62px; height: 62px; }
  .float svg { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preview img { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
