/* Raphael Martins — V1
   Direção: referência Apple. Respiro, tipografia grande, um acento só: verde em pequenos toques. */


:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --bg-dark: #000000;
  --text: #1D1D1F;
  --text-2: #6E6E73;
  --text-on-dark: #F5F5F7;
  --text-2-on-dark: #A1A1A6;
  --line: #D2D2D7;
  --line-dark: #2C2C2E;
  --accent: #2F7A12;        /* verde da marca em versão escura: contraste AA no branco */
  --accent-hover: #24600D;
  --accent-on-dark: #C8FF2E; /* lima da marca, só sobre fundo preto */
  --accent-on-dark-hover: #B4EB1A;
  --radius-card: 28px;
  --radius-btn: 980px;
  --space-section: clamp(96px, 14vw, 180px);
  --container: 1120px;
  --nav-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible { outline-color: var(--accent-on-dark); }
::selection { background: #C8FF2E; color: #000; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 48px); }

/* Tipografia */
h1, h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(34px, 4.8vw, 60px); }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: #86868B; }
.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--text-2); letter-spacing: 0; margin-bottom: 18px; }

.wordmark {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.022em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark { display: inline-flex; align-items: center; }
.wordmark__tag {
  margin-left: .34em; padding: .3em .48em .32em;
  font-size: .6em; font-weight: 600; letter-spacing: 0; line-height: 1;
  background: var(--accent); color: #fff; border-radius: .4em;
}
.wordmark--sm { font-size: 19px; }
.wordmark em { font-style: normal; font-weight: 400; }

/* Botões e links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--radius-btn);
  background: var(--accent); color: #fff;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 32px; padding: 0 16px; font-size: 14px; }

.link { color: var(--accent); text-decoration: none; font-size: 17px; font-weight: 500; display: inline-flex; gap: 4px; align-items: center; min-height: 44px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section--dark .link { color: var(--accent-on-dark); }
.section--dark .btn { background: var(--accent-on-dark); color: #000; }
.section--dark .btn:hover { background: var(--accent-on-dark-hover); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav__inner {
  width: min(var(--container), 100% - 40px); height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 13px; color: var(--text); opacity: .8; text-decoration: none; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; }

/* Hero */
.hero { min-height: calc(88vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 96px 0 72px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 38ch; margin-top: 28px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3FA31A; box-shadow: 0 0 0 4px rgba(63, 163, 26, .14); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 40px; }
/* Vídeo do hero: capa leve; o vídeo só carrega no clique, com som */
.hero__video {
  position: relative; width: min(100%, 980px); aspect-ratio: 16 / 9; margin: 64px auto 0;
  border-radius: var(--radius-card); overflow: hidden; background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .06);
}
.hero__video img, .hero__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video video { display: none; background: #000; }
.hero__video.is-playing video { display: block; }
.hero__video.is-playing img, .hero__video.is-playing .hero__play { display: none; }
.hero__play {
  position: absolute; left: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 8px;
  border: 0; border-radius: var(--radius-btn); cursor: pointer;
  background: rgba(255, 255, 255, .84); color: var(--text);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  font: 500 17px/1 var(--sans); letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.hero__play:hover { background: #fff; transform: scale(1.03); }
.hero__play:active { transform: scale(.98); }
.hero__play small { font-size: 15px; color: var(--text-2); margin-left: 4px; }
.hero__play-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; padding-left: 3px; }


/* Seções */
.section { padding-block: var(--space-section); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark .lead, .section--dark .eyebrow { color: var(--text-2-on-dark); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.section__head .lead { margin-top: 20px; }

/* Bento de serviços */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 20px;
}
.card {
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: transform .3s var(--ease);
}
.card:hover { transform: scale(1.01); }
.card__kicker { font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }
.card h3 { font-size: 26px; letter-spacing: -0.025em; }
.card p:last-child { margin-top: auto; padding-top: 16px; color: var(--text-2); }
.card--feature { grid-column: span 2; grid-row: span 2; padding: 48px; }
.card--feature h3 { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.035em; line-height: 1.05; }
.card--feature > p:not(.card__kicker) { margin-top: 16px; padding-top: 0; color: var(--text-2); font-size: 19px; max-width: 34ch; }

/* Cards com imagem: a tela sai pela borda de baixo do card, como uma janela que continua */
.card--visual { overflow: hidden; padding-bottom: 0; }
.card--visual > p:not(.card__kicker) { margin-top: 16px; padding-top: 0; color: var(--text-2); }
figure { margin: 0; }

/* Loja de exemplo no card de destaque */
.storefront { margin-top: auto; padding-top: 36px; }
.storefront__bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  background: #F2F2F4; border: 1px solid #E5E5EA; border-bottom: 0; border-radius: 14px 14px 0 0;
}
.storefront__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.storefront__bar span {
  margin-inline: auto; transform: translateX(-20px); padding: 2px 14px; border-radius: 6px; background: #fff;
  font-size: 11px; color: var(--text-2);
}
.storefront__shot { max-height: 470px; overflow: hidden; border: 1px solid #E5E5EA; border-bottom: 0; }
.storefront__shot img { width: 100%; height: auto; }

/* Landing page de exemplo: o celular aparece pela metade */
.lp-peek { margin-top: auto; padding-top: 28px; display: flex; justify-content: center; }
.lp-peek__frame {
  container-type: inline-size; width: min(64%, 230px); height: 230px; overflow: hidden;
  padding: 3.6% 3.6% 0; border-radius: 34px 34px 0 0; background: #1D1D1F;
}
.lp-peek__frame img { width: 100%; height: auto; border-radius: 26px 26px 0 0; }

/* Projetos */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 24px; }
.work__item--wide { grid-column: 1 / -1; }
.work__media {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  background: var(--bg-alt); border-radius: var(--radius-card);
}
.work__item--wide .work__media { aspect-ratio: 2 / 1; }
.browser {
  position: absolute; left: 5%; top: 10%; width: 78%;
  border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .08);
  transition: transform .6s var(--ease);
}
.work__item--wide .browser { left: 6%; top: 10%; width: 88%; }
.browser__bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: #F2F2F4; border-bottom: 1px solid #E5E5EA;
}
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.browser__bar span {
  margin-inline: auto; padding: 2px 14px; border-radius: 6px; background: #fff;
  font-size: 11px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%;
  transform: translateX(-16px);
}
.browser img { width: 100%; height: auto; }

/* iPhone: proporção real da tela (393 × 852), cantos e ilha dinâmica medidos pela largura */
/* iPhone: mesmas proporções do mockup original (.phone): borda 10/248, cantos 46/248, ilha 84×24 */
.work__media { container-type: inline-size; }
.device {
  --w: 27; /* largura do aparelho em % do quadro */
  position: absolute; right: 6%; bottom: 6%; width: calc(var(--w) * 1%);
  padding: calc(var(--w) * .04cqw);
  border-radius: calc(var(--w) * .185cqw);
  background: #1D1D1F;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .08);
  transition: transform .6s var(--ease);
}
.device img {
  width: 100%; height: auto; aspect-ratio: 393 / 852; object-fit: cover; object-position: top;
  border-radius: calc(var(--w) * .145cqw);
}
.device::after {
  content: ""; position: absolute; left: 50%; top: calc(var(--w) * .048cqw);
  width: calc(var(--w) * .34cqw); height: calc(var(--w) * .097cqw); transform: translateX(-50%);
  border-radius: 99px; background: #1D1D1F;
}
.work__item:hover .browser { transform: translateY(-4px); }
.work__item:hover .device { transform: translateY(-8px); }
.work__info { padding: 28px 4px 0; }
.work__info h3 { font-size: 26px; letter-spacing: -0.025em; }
.work__info p:not(.card__kicker) { margin-top: 10px; color: var(--text-2); max-width: 46ch; }
.work__info .link { margin-top: 6px; }
.work__info p.work__note { font-size: 13px; margin-top: 14px; }
.work__item--wide .work__info p:not(.card__kicker) { max-width: 60ch; }

@media (max-width: 833px) {
  .work { grid-template-columns: 1fr; gap: 48px; }
  .work__item--wide .work__media { aspect-ratio: 16 / 9; }
  .work__item--wide .browser { left: 5%; width: 90%; top: 12%; }
}
@media (max-width: 599px) {
  .work__media { aspect-ratio: 1 / 1; }
  .browser { left: 5%; top: 9%; width: 76%; border-radius: 9px; }
  .browser__bar { height: 22px; padding: 0 9px; gap: 4px; }
  .browser__bar i { width: 7px; height: 7px; }
  .browser__bar span { font-size: 9px; padding: 1px 8px; }
  .device { --w: 36; right: 5%; bottom: 5%; }
  .work__item--wide .work__media { aspect-ratio: 4 / 3; }
  .work__item--wide .browser { left: 4%; width: 92%; top: 14%; }
  .work__info h3 { font-size: 22px; }
}

/* Campanhas: exemplos de anúncio no Google, no Instagram e numa resposta de IA */
.ads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ads__item { text-align: center; }
.ads__phone { container-type: inline-size; width: min(100%, 290px); margin: 0 auto 32px; }
.ads__frame {
  position: relative; padding: 4cqw; border-radius: 18.5cqw; background: #1D1D1F;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .08);
  transition: transform .6s var(--ease);
}
.ads__frame img { width: 100%; height: auto; aspect-ratio: 393 / 852; border-radius: 14.5cqw; }
.ads__frame::after {
  content: ""; position: absolute; left: 50%; top: 4.8cqw; width: 34cqw; height: 9.7cqw;
  transform: translateX(-50%); border-radius: 99px; background: #1D1D1F;
}
.ads__item:hover .ads__frame { transform: translateY(-6px); }
.ads__item h3 { font-size: 21px; }
.ads__item p { margin: 8px auto 0; color: var(--text-2); font-size: 16px; max-width: 30ch; }
.ads__foot { margin-top: 56px; text-align: center; }
.ads__foot p { margin-top: 4px; font-size: 13px; color: var(--text-2); }
figure { margin: 0; }

@media (max-width: 833px) {
  .ads {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72%, 290px); gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: -24px; padding: 8px 24px 24px; scroll-padding-inline: 24px;
  }
  .ads::-webkit-scrollbar { display: none; }
  .ads__item { scroll-snap-align: start; }
  .ads__phone { width: 100%; margin-bottom: 24px; }
}
@media (max-width: 599px) {
  .ads { margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
}

/* Shopify */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.pillars li { padding: 32px 28px 0 0; }
.pillars li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.pillars__n { display: block; font-size: 13px; color: var(--accent-on-dark); font-variant-numeric: tabular-nums; margin-bottom: 40px; }
.pillars h3 { font-size: 21px; }
.pillars p { margin-top: 10px; color: var(--text-2-on-dark); font-size: 16px; }

/* Aplicativos */
.apps { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.apps__text h2 { margin-top: 0; }
.apps__text .lead { margin-top: 20px; max-width: 34ch; }
.apps__list { margin-top: 48px; border-top: 1px solid var(--line); }
.apps__list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.apps__list h3 { font-size: 19px; }
.apps__list p { margin-top: 6px; color: var(--text-2); font-size: 16px; }
.apps__visual { position: relative; height: 660px; margin: 0; }
.phone {
  position: absolute; width: 248px; aspect-ratio: 9 / 19.5;
  border-radius: 46px; padding: 10px; background: #1D1D1F;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .08);
}
.phone__screen {
  position: relative; height: 100%; border-radius: 36px; background: #fff; overflow: hidden;
  padding: 52px 18px 18px; display: flex; flex-direction: column; gap: 10px;
}
.phone__screen b { display: block; border-radius: 10px; background: var(--bg-alt); }
.phone__screen--img { padding: 0; }
.phone__screen--img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stores { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px;
  border-radius: 12px; background: #000; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.05;
}
.store-badge small { display: block; font-size: 10.5px; font-weight: 400; letter-spacing: 0; opacity: .85; }
.stores__note { flex-basis: 100%; text-align: center; font-size: 13px; color: var(--text-2); }
.phone__island { position: absolute; top: 12px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 14px; background: #1D1D1F; }
.phone--front { right: 8%; top: 0; z-index: 2; }
.phone--back { left: 4%; top: 64px; transform: scale(.88); transform-origin: top left; opacity: .9; }
.phone__media { height: 46%; border-radius: 18px !important; background: linear-gradient(135deg, #F5F5F7, #E3E3E8) !important; }
.phone__line { height: 14px; width: 80%; }
.phone__line--short { width: 50%; }
.phone__price { height: 18px; width: 34%; background: #D2D2D7 !important; }
.phone__button { margin-top: auto; height: 44px; border-radius: 980px !important; background: #1D1D1F !important; }
.phone__title { height: 20px; width: 55%; }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.phone__grid b { border-radius: 14px; }

/* Fluxo de integração */
.flow {
  display: grid;
  grid-template-columns: 1fr minmax(32px, 96px) 1fr minmax(32px, 96px) 1fr;
  align-items: center;
}
.flow__node {
  background: var(--bg-alt); border-radius: var(--radius-card);
  padding: 32px 28px; text-align: center; min-height: 156px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.flow__label { font-size: 13px; color: var(--text-2); }
.flow__node strong { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.flow__logo { height: 30px; width: auto; opacity: .8; }
.flow__logo--olist { height: 26px; }

/* Logos de plataformas: monocromáticos e discretos */
.shopify-mark { height: 30px; width: auto; margin: 0 auto 22px; opacity: .9; }
.platforms { margin-top: 72px; text-align: center; }
.platforms p { font-size: 14px; color: var(--text-2); }
.platforms ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 56px; margin-top: 28px; }
.platforms img { height: 26px; width: auto; opacity: .5; transition: opacity .3s var(--ease); }
.platforms li:first-child img { height: 32px; }
.platforms img:hover { opacity: .8; }
.flow__node small { font-size: 15px; color: var(--text-2); }
.flow__link { position: relative; height: 1px; }
.flow__link span { position: absolute; inset: 0; background: var(--line); }
.flow__link span::after {
  content: ""; position: absolute; top: -3px; left: 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}

/* Passos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 32px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps span { display: block; font-size: 40px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: #86868B; font-variant-numeric: tabular-nums; margin-bottom: 28px; }
.steps p { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* Por que a gente */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reasons > div { padding: 36px; border-radius: var(--radius-card); background: var(--bg-alt); }
.reasons p { margin-top: 10px; color: var(--text-2); }

/* Perguntas */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; min-height: 44px;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 48px 28px 0; color: var(--text-2); font-size: 17px; }
.faq details a { color: var(--accent); text-underline-offset: 3px; }

/* CTA final */
.cta { text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(44px, 7vw, 88px); }
.cta .lead { margin-top: 24px; max-width: 36ch; }
.cta__phone { margin-top: 28px; font-size: 15px; color: var(--text-2-on-dark); }
.cta__phone a { text-decoration: none; }
.cta__phone a:hover { color: var(--text-on-dark); }

/* Rodapé */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.footer__inner { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding-block: 28px calc(28px + env(safe-area-inset-bottom)); }
.footer .wordmark { color: var(--text); }
.footer nav { display: flex; gap: 20px; margin-left: auto; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 20px 0 16px;
  border-radius: var(--radius-btn);
  background: rgba(29, 29, 31, .86); color: #fff;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  font-size: 15px; font-weight: 500; text-decoration: none;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .2s;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #000; }
.wa-float svg { color: #25D366; }

/* Entrada no scroll */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: span 2; grid-row: auto; }
  .pillars, .steps { grid-template-columns: repeat(2, 1fr); }
  .pillars li:nth-child(3), .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillars li:nth-child(n+3), .steps li:nth-child(n+3) { margin-top: 40px; }
}

/* Menu recolhido em telas menores (8 links precisam de ~1080px) */
@media (max-width: 1079px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 12px; margin-right: -12px;
    background: none; border: 0; cursor: pointer; color: var(--text);
  }
  .nav__toggle span { display: block; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform .3s var(--ease); }
  .nav[data-open="true"] .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav[data-open="true"] .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 0;
    padding: 12px 24px 32px;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav[data-open="true"] .nav__links { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav__links a { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; opacity: 1; padding: 12px 0; }
}

@media (max-width: 833px) {
  .apps { grid-template-columns: 1fr; gap: 56px; }
  .apps__visual { height: 650px; max-width: 420px; width: 100%; margin-inline: auto; }
  .flow { grid-template-columns: 1fr; justify-items: stretch; }
  .flow__link { width: 1px; height: 40px; justify-self: center; }
  .flow__link span::after { left: -3px; top: 0; animation-name: pulse-v; }
  @keyframes pulse-v {
    0% { top: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: calc(100% - 7px); opacity: 0; }
  }
  .reasons { grid-template-columns: 1fr; }
  .footer nav { margin-left: 0; }
}

@media (max-width: 599px) {
  body { font-size: 16px; }
  .nav .wordmark { font-size: 20px; }
  .apps__visual { height: 590px; }
  .phone { width: 200px; border-radius: 38px; padding: 8px; }
  .phone__screen { border-radius: 30px; padding: 44px 14px 14px; }
  .phone--front { right: 0; }
  .phone--back { left: 0; }
  .container, .container--narrow { width: calc(100% - 40px); }
  .hero { padding: 72px 0 56px; min-height: calc(80vh - var(--nav-h)); }
  .hero__video { margin-top: 48px; border-radius: 20px; }
  .hero__play { left: 12px; bottom: 12px; height: 46px; padding: 0 16px 0 6px; gap: 10px; font-size: 15px; }
  .hero__play small { font-size: 13px; }
  .hero__play-icon { width: 34px; height: 34px; }
  .section__head { margin-bottom: 48px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .card--feature { grid-column: auto; padding: 32px; }
  .card { padding: 28px; min-height: 220px; }
  .card--visual { padding-bottom: 0; }
  .storefront__shot { max-height: 300px; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .pillars li, .pillars li + li, .steps li, .steps li + li { padding: 28px 0; border-left: 0; margin-top: 0; }
  .pillars li + li, .steps li + li { border-top: 1px solid var(--line-dark); }
  .steps li + li { border-top-color: var(--line); }
  .pillars__n, .steps span { margin-bottom: 16px; }
  .faq details p { padding-right: 0; }
  .wa-float { width: 52px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Celulares bem estreitos (320 px): o nome com o selo "Web" ocupa a barra; o WhatsApp segue no botão flutuante */
@media (max-width: 359px) {
  .nav .btn--sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}
