/* ==========================================================================
   TYKON · Sites que trazem clientes
   --------------------------------------------------------------------------
   Um sistema só. Ordem do arquivo:
     1. Tokens          5. Seções
     2. Base            6. Movimento
     3. Layout          7. Responsivo
     4. Componentes
   Regras da marca (Manual): Marinho domina, Gelo para fundos claros,
   Cobalto é o acento, Ardósia para superfícies, Faísca só em 2 detalhes
   (o destaque do título principal e o ponto do botão "Pedir orçamento").
   ========================================================================== */


/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* Paleta da marca */
  --marinho: #0A0E1A;
  --gelo: #F2F4FA;
  --cobalto: #3D6BFF;
  --ardosia: #232B40;
  --faisca: #FF4D1A;
  --branco: #FFFFFF;

  /* Variações derivadas (nomeadas, nada de cor solta pelo arquivo) */
  --cobalto-claro: #5A82FF;   /* texto/elementos azuis sobre fundo escuro e fundo de botão */
  --cobalto-hover: #7B9BFF;   /* hover do botão principal */
  --cobalto-escuro: #2A55E0;  /* texto azul sobre fundo claro */
  --cobalto-tinta: #DCE4FF;   /* azul bem claro (miniaturas dos mockups) */
  --cobalto-fundo: #2F5BEA;   /* fundo cobalto com texto Gelo (contraste AA) */
  --marinho-2: #111727;       /* superfície um tom acima do fundo escuro */
  --ardosia-2: #2A3450;       /* hover de superfícies Ardósia */

  /* Texto sobre fundo escuro */
  --txt-1: var(--gelo);
  --txt-2: #C4CADA;   /* texto corrido: quase a tinta cheia (contraste 11:1) */
  --txt-3: #8C95AE;
  /* Texto sobre fundo claro */
  --ink-1: var(--marinho);
  --ink-2: #39425E;
  --ink-3: #6B7591;

  /* Linhas */
  --line-dark: rgba(242, 244, 250, 0.08);
  --line-dark-2: rgba(242, 244, 250, 0.16);
  --line-light: #DDE1EC;

  /* Cores de terceiros (só nos mockups) */
  --wa: #25D366;
  --g-blue: #1A73E8;
  --g-green: #188038;
  --g-yellow: #FBBC04;
  --g-red: #EA4335;
  --g-gray: #5F6368;
  --wa-bg: #EFEAE2;
  --wa-out: #D9FDD3;

  /* Tipografia */
  --font-title: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --fs-display: clamp(2.5rem, 1.1rem + 3.9vw, 4.4rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2vw, 2.85rem);
  --fs-h3: 1.25rem;
  --fs-h4: 1.0625rem;
  --fs-lead: 1.25rem;  /* mesmo tamanho do h3: a página usa 6 tamanhos (70 · 46 · 32 · 20 · 17 · 15) */
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-label: 0.75rem;

  --lh-tight: 1.06;
  --lh-snug: 1.25;
  --lh-body: 1.6;

  /* Espaço (base 4/8) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --section-y: clamp(88px, 10vw, 140px);

  /* Forma */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --r-device: 34px;

  --shadow-1: 0 1px 2px rgba(10, 14, 26, 0.06), 0 12px 28px -16px rgba(10, 14, 26, 0.28);
  --shadow-2: 0 40px 80px -32px rgba(0, 0, 0, 0.7);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  /* Movimento */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);           /* entradas e respostas (ease-out forte) */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);  /* algo que anda de um ponto a outro na tela */
  --dur-press: 0.16s;  /* toque nos botões */
  --dur-ui: 0.22s;     /* interface: abrir, fechar, trocar */
  --dur-1: 0.2s;
  --dur-2: 0.45s;
  --dur-3: 0.9s;

  /* Ícones */
  --icon-stroke: 1.75;
}


/* ==========================================================================
   2. BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--marinho);
  color: var(--txt-1);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* nada decorativo cria rolagem lateral */
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* Partes do navegador também seguem a marca */
html {
  scrollbar-color: var(--ardosia-2) var(--marinho);
  accent-color: var(--cobalto);
}

::selection {
  background: var(--cobalto);
  color: var(--branco);
}

input,
textarea {
  caret-color: var(--cobalto);
}

h1, h2, h3, p, ul, ol, figure, blockquote {
  margin: 0;
}

h1, h2, h3 {
  text-wrap: balance;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cobalto-claro);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* Texto só para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: -100px;
  left: var(--s-4);
  padding: var(--s-3) var(--s-4);
  background: var(--gelo);
  color: var(--marinho);
  font-weight: 700;
  border-radius: var(--r-sm);
}

.skip-link:focus {
  top: var(--s-4);
}


/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* Fundos: escuro (padrão do body) e claro */
.section--dark {
  background: var(--marinho);
  color: var(--txt-1);
}

.section--light {
  background: var(--gelo);
  color: var(--ink-1);
}


/* ==========================================================================
   4. COMPONENTES
   ========================================================================== */

/* ---------- Cabeçalho de seção ---------- */

.section-head {
  max-width: 720px;
  margin-bottom: clamp(var(--s-7), 6vw, var(--s-8));
}

.section-head__title {
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.section-head__lead {
  max-width: 36em;
  margin-top: var(--s-4);
  font-size: var(--fs-lead);
  color: var(--txt-2);
}

.section--light .section-head__lead,
.on-light .section-head__lead {
  color: var(--ink-2);
}

/* Destaque do título principal (único uso da Faísca em texto) */
.mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -2%;
  right: -2%;
  bottom: 0.04em;
  height: 0.2em;
  background: var(--faisca);
  border-radius: var(--r-xs);
  transform: skewX(-12deg);
  transform-origin: left;
}

/* ---------- Botões ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 50px;
  padding: 0 var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-1), border-color var(--dur-1), color var(--dur-1), scale var(--dur-press) var(--ease);
}

/* Todo elemento que se aperta afunda um pouco: a interface "ouviu" o clique */
.btn:active,
.segments__btn:active,
.chat__option:active,
.chat-launcher:active {
  scale: 0.97;
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Principal: Cobalto claro com texto Marinho (contraste AA) */
.btn--primary {
  background: var(--cobalto-claro);
  color: var(--marinho);
}

.btn--primary:hover {
  background: var(--cobalto-hover);
}

/* Secundário: contorno, funciona no escuro e no claro */
.btn--secondary {
  border-color: var(--line-dark-2);
  color: var(--txt-1);
}

.btn--secondary:hover {
  border-color: var(--txt-1);
  background: rgba(242, 244, 250, 0.05);
}

.section--light .btn--secondary,
.on-light .btn--secondary {
  border-color: var(--line-light);
  color: var(--ink-1);
}

/* Sobre fundo Cobalto */
.btn--dark {
  background: var(--marinho);
  color: var(--gelo);
}

.btn--dark:hover {
  background: var(--ardosia);
}

/* Tudo o que leva ao WhatsApp: o verde da marca do WhatsApp, com o logo.
   Texto Marinho sobre o verde (o branco não teria contraste suficiente) */
.btn--wa {
  background: #25D366;
  color: var(--marinho);
}

.btn--wa:hover {
  background: #3FE07C;
}

.wa-logo {
  flex: none;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn .wa-logo {
  stroke: none;
}

/* Link com seta, usado no fim das seções */
.link-cta {
  display: inline-block;
  margin-top: var(--s-6);
  font-weight: 700;
  color: var(--cobalto-claro);
}

.section--light .link-cta {
  color: var(--cobalto-escuro);
}

/* Links de texto que levam ao WhatsApp: verde, com o logo na frente */
.link-cta--wa {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: #25D366;
}

.section--light .link-cta--wa {
  color: #128C4A;
}

.link-cta--wa .wa-logo {
  width: 22px;
  height: 22px;
  margin: 0;
  stroke: none;
}

.chip--wa,
.footer__wa.chip--wa {
  background: #25D366;
  border-color: #25D366;
  color: var(--marinho);
}

.chip--wa:hover {
  background: #3FE07C;
  border-color: #3FE07C;
}

.chip--wa .wa-logo,
.footer__wa.chip--wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
  color: var(--marinho);
}

.chat__direct--wa {
  background: #25D366;
  border-top-color: #25D366;
  color: var(--marinho);
}

.chat__direct--wa:hover {
  background: #3FE07C;
  color: var(--marinho);
}

.chat__direct--wa .wa-logo {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.link-cta svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: var(--s-1);
  vertical-align: -5px;
  transition: translate var(--dur-2) var(--ease);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) and (pointer: fine) {
  .link-cta:hover svg {
    translate: 4px 0;
  }
}

/* ---------- Chip (etiqueta com ícone) ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-pill);
  color: var(--txt-1);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: border-color var(--dur-1), background-color var(--dur-1);
}

a.chip:hover {
  border-color: var(--cobalto-claro);
  background: rgba(90, 130, 255, 0.1);
}

.chip svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cobalto-claro);
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Card ---------- */

.card {
  position: relative;
  padding: var(--s-6) var(--s-5);
  background: var(--branco);
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  color: var(--ink-1);
}

.card__title {
  margin-bottom: var(--s-2);
  font-family: var(--font-title);
  font-size: var(--fs-h4);
  font-weight: 800;
  line-height: var(--lh-snug);
}

.card p {
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

/* ---------- Cartão de interface (todos os mockups usam esta base) ---------- */

.ui {
  position: relative;
  overflow: hidden;
  background: var(--branco);
  color: var(--ink-1);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  font-family: var(--font-body);
}

/* Janela de navegador (o elemento .ui vira a referência de tamanho: cqw) */
.ui-window {
  container-type: inline-size;
}

.ui-window__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7.5cqw;
  min-height: 26px;
  background: var(--gelo);
  border-bottom: 1px solid var(--line-light);
}

.ui-window__url {
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 0.6cqw 3cqw;
  background: var(--branco);
  border: 1px solid var(--line-light);
  border-radius: var(--r-pill);
  font-size: max(2.2cqw, 9px);
  color: var(--ink-3);
}

.ui-window__url svg {
  width: max(2.2cqw, 9px);
  height: max(2.2cqw, 9px);
  fill: none;
  stroke: var(--g-green);
  stroke-width: 2.4;
}

/* Celular: o mesmo iPhone de todo o site (proporção e cantos do iPhone 15,
   vidro preto, Dynamic Island). Os cantos em % valem para qualquer tamanho:
   17% da largura na horizontal e 8,25% da altura na vertical. */
.ui-phone {
  container-type: inline-size;
  aspect-ratio: 71.6 / 147.6;
  padding: 3.4%;
  background: #0B0B0D;
  border-radius: 17% / 8.25%;
  box-shadow: inset 0 0 0 1.5px #2B2B30, var(--shadow-2);
}

.ui-phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--gelo);
  border-radius: 13.6cqw;
}

/* Barra de início do iPhone, sempre por cima da tela */
.ui-phone__screen::after {
  content: "";
  position: absolute;
  z-index: 5;
  bottom: 2cqw;
  left: 50%;
  width: 36cqw;
  height: 1.4cqw;
  background: #000;
  border-radius: 1cqw;
  translate: -50% 0;
  pointer-events: none;
}

.ui-phone__island {
  position: absolute;
  z-index: 2;
  top: 3cqw;
  left: 50%;
  width: 31cqw;
  height: 9cqw;
  background: #000;
  border-radius: 5cqw;
  translate: -50% 0;
}

/* ---------- Mini-site "Sua Empresa" (o mesmo cliente fictício em todo o site) ---------- */

/* As três cores do mini-site mudam com o negócio escolhido na vitrine do hero */
.demo {
  --demo-bg: #3B2416;
  --demo-accent: #E0A458;
  --demo-tint: #F6E7D2;
  display: flex;
  flex-direction: column;
  gap: 3cqw;
  padding: 3.4cqw 4cqw 4cqw;
  color: var(--ink-1);
  transition: opacity var(--dur-ui) ease, translate var(--dur-ui) var(--ease), filter var(--dur-ui) ease;
}

/* O desfoque emenda o texto que sai com o que entra (sem "dois estados" na tela) */
.demo.is-switching {
  opacity: 0;
  translate: 0 4px;
  filter: blur(3px);
}

.demo__nav {
  display: flex;
  align-items: center;
  gap: 2cqw;
  font-family: var(--font-title);
  font-size: 3.2cqw;
  font-weight: 800;
}

.demo__logo {
  width: 4cqw;
  height: 4cqw;
  background: var(--demo-accent);
  border-radius: 50%;
}

.demo__menu {
  display: flex;
  gap: 2.4cqw;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 2.4cqw;
  font-weight: 500;
  color: var(--ink-3);
}

.demo__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 27%;
  align-items: center;
  gap: 5cqw;
  padding: 5cqw;
  background: var(--demo-bg);
  border-radius: 2.4cqw;
  color: var(--gelo);
}

.demo__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3.4cqw;
}

.demo__copy p {
  font-family: var(--font-title);
  font-size: 4cqw;
  font-weight: 800;
  line-height: 1.14;
}

.demo__btn {
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 1.6cqw 3cqw;
  background: var(--wa);
  border-radius: var(--r-pill);
  color: var(--marinho);
  font-size: 2.4cqw;
  font-weight: 700;
}

.demo__btn svg {
  width: 2.8cqw;
  height: 2.8cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

/* "Foto" do negócio: um ícone grande sobre a cor da marca */
.demo__art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--demo-accent);
  border-radius: 50% 50% 2cqw 2cqw;
}

.demo__art svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: var(--demo-bg);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4cqw;
}

.demo__cards span {
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
  padding: 1.4cqw;
  border: 1px solid var(--line-light);
  border-radius: 2cqw;
}

.demo__cards i {
  height: 8cqw;
  background: var(--demo-tint);
  border-radius: 1.2cqw;
}

.demo__cards b {
  padding-inline: 0.6cqw;
  font-size: 2.4cqw;
  font-weight: 700;
}

.demo__logo,
.demo__hero,
.demo__art,
.demo__cards i {
  transition: background-color 0.45s ease;
}

/* Cores de cada tipo de negócio (só no mini-site, nunca na marca Tykon) */
.showcase[data-seg="clinica"] .demo { --demo-bg: #0B3B3C; --demo-accent: #2BB3A3; --demo-tint: #D7F1EE; }
.showcase[data-seg="salao"] .demo { --demo-bg: #3A1530; --demo-accent: #E07AB0; --demo-tint: #F8DDEB; }
.showcase[data-seg="oficina"] .demo { --demo-bg: #1C1F26; --demo-accent: #F2B705; --demo-tint: #F6EBC4; }
.showcase[data-seg="loja"] .demo { --demo-bg: #14204A; --demo-accent: #5A82FF; --demo-tint: #DCE4FF; }

/* ---------- Ícone padrão dentro de componentes ---------- */

.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Reação ao cursor (estilos que o js/main.js alimenta) ----------
   [data-spot]  luz suave que segue o mouse (--cx / --cy)
   [data-tilt]  inclinação 3D leve + reflexo (--gx / --gy)
   Sem mouse, ou com "movimento reduzido", nada disso é ligado. */

/* A luz do cursor muda dezenas de vezes por segundo. Registradas sem herança,
   essas variáveis só fazem o navegador recalcular a própria seção, não tudo
   o que está dentro dela. */
@property --cx { syntax: "*"; inherits: false; }
@property --cy { syntax: "*"; inherits: false; }
@property --sa { syntax: "*"; inherits: false; }
@property --spot { syntax: "*"; inherits: false; }

[data-spot] {
  --cx: 50%;
  --cy: 50%;
  --sa: 0;
  --spot: rgba(90, 130, 255, calc(0.12 * var(--sa)));
}

/* O movimento da inclinação é feito no js/main.js (com suavização), sem transição aqui */
[data-tilt] {
  --glare: rgba(255, 255, 255, 0.22);
  transform-style: preserve-3d;
}

[data-tilt]::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), var(--glare), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-2);
}

[data-tilt].is-tilting::after {
  opacity: 1;
}

.card[data-tilt] {
  --glare: rgba(61, 107, 255, 0.07);
}

[data-magnetic] {
  transition: background-color var(--dur-1), translate var(--dur-2) var(--ease), scale var(--dur-press) var(--ease);
}


/* ==========================================================================
   5. SEÇÕES
   ========================================================================== */

/* ---------- Cabeçalho do site ---------- */

.header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-2), border-color var(--dur-2);
}

.header.is-scrolled {
  background: rgba(10, 14, 26, 0.82);
  border-bottom-color: var(--line-dark);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-6);
  height: 100%;
}

.header__logo img {
  width: auto;
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: var(--s-1);
}

.nav__list a {
  position: relative;
  display: block;
  padding: var(--s-2) var(--s-3);
  color: var(--txt-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color var(--dur-1);
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: 2px;
  height: 2px;
  background: var(--cobalto-claro);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}

.nav__list a:hover,
.nav__list a.is-active {
  color: var(--txt-1);
}

.nav__list a.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  min-height: 42px;
  padding: 0 var(--s-4);
  font-size: var(--fs-sm);
}

/* Um dos dois únicos usos da Faísca */
.header__dot {
  width: 8px;
  height: 8px;
  background: var(--faisca);
  border-radius: 50%;
}

.header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--cobalto-claro);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

.menu-toggle,
.menu-button {
  display: none;
}

/* ---------- Serviços · o caminho do cliente (rolagem 3D) ---------- */

/* Sem JavaScript: uma tela com o título e o celular de frente. Com JavaScript
   (.is-scrolling) o bloco fica alto e o palco gruda no topo enquanto a
   rolagem gira o celular e passa as telas. */
.story {
  position: relative;
  background: var(--cobalto-fundo);
  color: var(--gelo);
}

.story .section-head__lead {
  max-width: 34em;
  margin-top: var(--s-5);
  color: var(--gelo);
}

.story.is-scrolling {
  height: 400vh;
}

.story__stage {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}

.story.is-scrolling .story__stage {
  position: sticky;
  top: 0;
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: var(--s-6);
  height: 100%;
  padding-top: var(--header-h);
}

/* Os textos ocupam o mesmo lugar e trocam conforme a rolagem */
.story__copy {
  display: grid;
  align-items: center;
}

.story__step {
  grid-area: 1 / 1;
  max-width: 680px;
  opacity: 0;
  visibility: hidden;
  translate: 0 16px;
  transition: opacity 0.4s ease, translate 0.6s var(--ease), visibility 0s linear 0.4s;
}

.story__step.is-active {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.4s ease, translate 0.6s var(--ease), visibility 0s;
}

.story__line {
  max-width: 13ch;
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.story__end .btn {
  margin-top: var(--s-6);
}

/* ----- O palco 3D ----- */

.story__scene {
  display: grid;
  place-items: center;
  height: 100%;
  perspective: 1400px;
}

/* Gira em 3D (o js/main.js escreve o transform a cada quadro de rolagem) */
.story__rig {
  position: relative;
  height: min(84%, 720px);
  aspect-ratio: 71.6 / 147.6;
  transform-style: preserve-3d;
}

/* Disco Marinho atrás do celular, mais fundo na cena: gira com ele e dá profundidade */
.story__disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  aspect-ratio: 1;
  background: var(--marinho);
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(-180px);
}

.story__phone {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Corpo do celular em camadas atrás da tela: a borda de metal (camadas do
   meio, mais claras) entre o vidro da frente e a traseira escura */
.phone3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.phone3d i {
  position: absolute;
  inset: 0;
  background: #A9A49C;
  border-radius: 17% / 8.25%;
  transform: translateZ(calc(var(--l) * -1.4px));
}

.phone3d i:nth-child(1),
.phone3d i:nth-child(10) { background: #7D7871; }
.phone3d i:nth-child(2),
.phone3d i:nth-child(9) { background: #938E86; }
.phone3d i:nth-child(5),
.phone3d i:nth-child(6) { background: #D9D5CE; }

/* A traseira, com o reflexo da luz Cobalto */
.phone3d i:nth-child(10) {
  box-shadow: inset 0 0 0 2px #938E86;
}

.phone3d__btn {
  position: absolute;
  width: 4px;
  background: #B8B3AB;
  border-radius: 2px;
  transform: translateZ(-7px);
}

/* Botões do iPhone: Ação e dois de volume à esquerda, o lateral à direita */
.phone3d__btn--power {
  top: 29%;
  right: -3px;
  height: 13%;
}

.phone3d__btn--action {
  top: 17%;
  left: -3px;
  height: 5%;
}

.phone3d__btn--vol {
  top: 25%;
  left: -3px;
  height: 9%;
}

.phone3d__btn--vol2 {
  top: 36%;
  left: -3px;
  height: 9%;
}

/* ----- As telas do celular (uma por vez, conforme data-screen) ----- */

.hp-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  translate: 0 3%;
  transition: opacity 0.35s ease, translate 0.45s var(--ease);
}

.story__phone[data-screen="search"] .hp-search,
.story__phone[data-screen="result"] .hp-result,
.story__phone[data-screen="site"] .hp-site,
.story__phone[data-screen="chat"] .hp-chat {
  opacity: 1;
  translate: 0 0;
}

/* Toque na tela: um anel que cresce uma vez sobre o botão */
[data-tap-from] {
  position: relative;
}

[data-tap-from]::after {
  content: "";
  position: absolute;
  inset: -30%;
  border: 2px solid var(--cobalto);
  border-radius: var(--r-pill);
  opacity: 0;
  pointer-events: none;
}

.is-tapped::after {
  animation: hp-tap 0.7s var(--ease) both;
}

@keyframes hp-tap {
  from { opacity: 0.9; scale: 0.6; }
  to { opacity: 0; scale: 1.15; }
}

/* 1. Busca: o visual do Google no celular (tema claro, teclado aberto).
   Cores e fonte do próprio Google para a tela ser reconhecida na hora. */
.hp-search {
  gap: 2cqw;
  background: var(--branco);
  color: #202124;
  font-family: Roboto, Arial, sans-serif;
}

/* Barra de status do iOS: hora à esquerda, sinal, wi-fi e bateria à direita,
   alinhados com o centro da Dynamic Island (fonte do sistema da Apple) */
.hp-status {
  position: relative;
  z-index: 3;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 14cqw;
  padding: 2.4cqw 7.4cqw 0 9cqw;
  color: #000;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.hp-status b {
  font-size: 4.3cqw;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hp-status__icons {
  display: flex;
  align-items: center;
  gap: 1.3cqw;
}

.hp-status svg {
  height: 2.9cqw;
  width: auto;
  fill: currentColor;
}

.hp-bat {
  position: relative;
  width: 6.6cqw;
  height: 3.1cqw;
  padding: 0.45cqw;
  border: 0.32cqw solid currentColor;
  border-radius: 1cqw;
  opacity: 0.95;
}

.hp-bat::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.1cqw;
  width: 0.6cqw;
  height: 1.2cqw;
  background: currentColor;
  border-radius: 0 0.4cqw 0.4cqw 0;
  opacity: 0.45;
  translate: 0 -50%;
}

.hp-bat i {
  display: block;
  width: 85%;
  height: 100%;
  background: currentColor;
  border-radius: 0.4cqw;
}

/* Por cima da tela (Maps e site): a barra flutua sobre o conteúdo */
.hp-status--over {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hp-status--white {
  color: #fff;
}

.hp-search__bar {
  display: flex;
  align-items: center;
  gap: 2.6cqw;
  margin: 2cqw 4cqw 0;
  padding: 3.2cqw 4cqw;
  background: var(--branco);
  border-radius: var(--r-pill);
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  font-size: 4.4cqw;
}

.hp-search__bar .logo-g,
.hp-search__icon {
  flex: none;
  width: 5.4cqw;
  height: 5.4cqw;
}

.hp-search__query {
  overflow: hidden;
  white-space: nowrap;
}

.hp-caret {
  flex: none;
  width: 2px;
  height: 1.15em;
  margin-left: -2cqw;
  background: #1A73E8;
  animation: blink 1s steps(1) infinite;
}

/* Microfone e Lens encostados à direita, como no Google */
.hp-caret + .hp-search__icon {
  margin-left: auto;
}

.hp-search__list {
  display: grid;
  padding-block: 1cqw;
  font-size: 4.2cqw;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.story__phone.has-query .hp-search__list {
  opacity: 1;
}

.hp-search__list li {
  display: flex;
  align-items: center;
  gap: 4cqw;
  padding: 2.6cqw 5cqw;
}

.hp-search__list span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hp-search__list b {
  font-weight: 700;
}

.hp-search__list svg {
  flex: none;
  width: 4.6cqw;
  height: 4.6cqw;
  fill: none;
  stroke: #5F6368;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-search__list .hp-search__fill {
  margin-left: auto;
}

/* Teclado do iPhone (tema claro), desenhado em código: teclas brancas com a
   sombra de baixo, teclas de função cinza, "buscar" azul e a fileira do
   globo e do microfone embaixo */
.hp-kb {
  display: grid;
  gap: 2.6cqw;
  margin-top: auto;
  padding: 2.4cqw 0.9cqw 1.4cqw;
  background: #D2D5DB;
  color: #000;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 5.6cqw;
}

.hp-kb span {
  display: flex;
  justify-content: center;
  gap: 1.5cqw;
}

.hp-kb b,
.hp-kb i {
  display: grid;
  place-items: center;
  height: 11cqw;
  background: var(--branco);
  border-radius: 1.5cqw;
  box-shadow: 0 0.35cqw 0 #898A8D;
  font-style: normal;
  font-weight: 400;
}

.hp-kb b {
  width: 8.3cqw;
}

.hp-kb .hp-kb__fn {
  width: 11.8cqw;
  background: #ABB0BA;
}

.hp-kb .hp-kb__txt {
  font-size: 4cqw;
}

.hp-kb__fn svg {
  width: 5.2cqw;
  height: 5.2cqw;
  fill: none;
  stroke: #000;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-kb i {
  flex: 1;
  font-size: 4cqw;
}

.hp-kb .hp-kb__go {
  width: 23cqw;
  background: #0A84FF;
  color: var(--branco);
  font-size: 4cqw;
}

/* Globo e microfone, abaixo do teclado, como no iPhone */
.hp-kb .hp-kb__sys {
  justify-content: space-between;
  padding: 1.6cqw 6cqw 4.4cqw;
}

.hp-kb__sys svg {
  width: 6.4cqw;
  height: 6.4cqw;
  fill: none;
  stroke: #50555C;
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* 2. A empresa no Google Maps: mapa com a busca por cima e a ficha
   subindo de baixo (alça, nome, nota, botões, abas e fotos) */
.hp-result {
  background: var(--branco);
  color: #202124;
  font-family: Roboto, Arial, sans-serif;
}

.hp-result__map {
  position: relative;
  flex: 0 0 46%;
}

.hp-result__map > svg {
  width: 100%;
  height: 100%;
}

.hp-result__me-halo {
  fill: rgba(26, 115, 232, 0.18);
}

/* Rota do Maps: a linha azul aparece e o ponto azul segue por ela até o pino */
.hp-route {
  fill: none;
  stroke: #1A73E8;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
}

.hp-pin path {
  fill: #EA4335;
}

.hp-pin circle {
  fill: #B31412;
}

/* A busca continua no topo do mapa */
.hp-result__top {
  position: absolute;
  top: 15cqw;
  left: 4cqw;
  right: 4cqw;
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 3cqw 4cqw;
  background: var(--branco);
  border-radius: var(--r-pill);
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  font-size: 4cqw;
}

.hp-result__top span {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.hp-result__top svg {
  flex: none;
  width: 5cqw;
  height: 5cqw;
  fill: none;
  stroke: #5F6368;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-result__sheet {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.2cqw;
  margin-top: -5cqw;
  padding: 3cqw 5cqw 0;
  background: var(--branco);
  border-radius: 5cqw 5cqw 0 0;
  box-shadow: 0 -1px 4px rgba(32, 33, 36, 0.12);
  font-size: 3.6cqw;
  color: #5F6368;
}

.hp-result__handle {
  align-self: center;
  width: 9cqw;
  height: 1.2cqw;
  margin-bottom: 2cqw;
  background: #DADCE0;
  border-radius: var(--r-pill);
}

.hp-result__name {
  color: #202124;
  font-size: 6cqw;
  font-weight: 500;
}

.hp-result__rating {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
}

.hp-result__rating svg {
  width: 17cqw;
  height: 3.4cqw;
  fill: #FBBC04;
}

.hp-result__meta em {
  font-style: normal;
  font-weight: 500;
  color: #188038;
}

/* Botões no estilo atual do Maps: o principal cheio, os outros em azul claro */
.hp-result__actions {
  display: flex;
  gap: 2cqw;
  margin: 3cqw -5cqw 0 0;
  overflow: hidden;
}

.hp-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 1.4cqw;
  padding: 2cqw 3.6cqw;
  background: #D3E3FD;
  border-radius: var(--r-pill);
  color: #041E49;
  font-weight: 500;
}

.hp-chip svg {
  width: 4cqw;
  height: 4cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-chip--fill {
  background: #0B57D0;
  color: var(--branco);
}

.hp-result__tabs {
  display: flex;
  gap: 5cqw;
  margin: 4cqw -5cqw 0;
  padding: 0 5cqw;
  border-bottom: 1px solid #E8EAED;
  font-size: 3.6cqw;
  white-space: nowrap;
}

.hp-result__tabs > * {
  padding-bottom: 2.4cqw;
}

.hp-result__tabs b {
  border-bottom: 0.8cqw solid #0B57D0;
  color: #0B57D0;
  font-weight: 500;
}

/* Fotos do lugar: tons quentes da padaria (a mesma do site) */
.hp-result__photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.4cqw;
  margin-top: 3cqw;
}

/* Fotos do lugar: a vitrine, o pão e os bolos */
.hp-result__photos img {
  width: 100%;
  height: 24cqw;
  object-fit: cover;
  border-radius: 2.4cqw;
}

/* 3. O site da padaria: layout moderno de celular. Foto de ponta a ponta no
   topo com o título por cima, depois os mais pedidos em fila e o botão
   redondo do WhatsApp fixo no canto, como nos sites de hoje */
.hp-site {
  background: var(--branco);
  color: var(--ink-1);
}

.hp-site__hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: space-between;
  height: 104cqw;
  padding: 14cqw 5cqw 6cqw;
  color: var(--branco);
}

.hp-site__photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Véu escuro sobre a foto, para o texto ler bem (topo e base) */
.hp-site__hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 6, 0.55) 0%, rgba(20, 12, 6, 0) 28%, rgba(20, 12, 6, 0.15) 45%, rgba(20, 12, 6, 0.88) 100%);
}

.hp-site__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp-site__brand {
  display: flex;
  align-items: center;
  gap: 2cqw;
  font-family: var(--font-title);
  font-size: 4.4cqw;
  font-weight: 800;
}

.hp-site .demo__logo {
  width: 4.6cqw;
  height: 4.6cqw;
  background: #E0A458;
}

.hp-site__menu {
  width: 6cqw;
  height: 3.6cqw;
  border-block: 2px solid currentColor;
}

.hp-site__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3cqw;
}

.hp-site__open {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.2cqw 3cqw;
  background: rgba(20, 12, 6, 0.55);
  border-radius: var(--r-pill);
  font-size: 3.2cqw;
  font-weight: 500;
}

.hp-site__open i {
  width: 1.8cqw;
  height: 1.8cqw;
  background: #3DDC84;
  border-radius: 50%;
}

.hp-site__copy p {
  font-family: var(--font-title);
  font-size: 7.4cqw;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hp-site__btn {
  display: inline-flex;
  align-items: center;
  gap: 2cqw;
  padding: 2.8cqw 4.6cqw;
  background: var(--wa);
  border-radius: var(--r-pill);
  color: var(--marinho);
  font-size: 3.8cqw;
  font-weight: 700;
}

.hp-site__btn svg {
  width: 4.6cqw;
  height: 4.6cqw;
  color: var(--marinho);
}

.hp-site__body {
  display: flex;
  flex-direction: column;
  gap: 3cqw;
  padding: 5cqw 0 0 5cqw;
}

.hp-site__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-right: 5cqw;
  font-size: 4.4cqw;
}

.hp-site__row span {
  color: #A0602A;
  font-size: 3.4cqw;
  font-weight: 700;
}

/* Fila de produtos que continua para fora da tela (dá vontade de arrastar) */
.hp-site__products {
  display: flex;
  gap: 3cqw;
  overflow: hidden;
}

.hp-site__products > span {
  display: flex;
  flex: 0 0 36cqw;
  flex-direction: column;
  gap: 0.6cqw;
  font-size: 3.6cqw;
}

.hp-site__products img {
  width: 100%;
  height: 28cqw;
  margin-bottom: 1.2cqw;
  object-fit: cover;
  border-radius: 3cqw;
}

.hp-site__products i {
  color: var(--ink-3);
  font-size: 3.4cqw;
  font-style: normal;
}

.hp-site__info {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  margin-right: 5cqw;
  padding: 3cqw 3.6cqw;
  background: #F6E7D2;
  border-radius: 3cqw;
  color: #3B2416;
  font-size: 3.4cqw;
  line-height: 1.3;
}

.hp-site__info span {
  display: flex;
  flex-direction: column;
}

.hp-site__info svg {
  flex: none;
  width: 5cqw;
  height: 5cqw;
  fill: none;
  stroke: #A0602A;
  stroke-width: 2;
}

/* Botão redondo do WhatsApp, fixo no canto da tela */
.hp-site__fab {
  position: absolute;
  right: 4cqw;
  bottom: 33cqw;
  display: grid;
  place-items: center;
  width: 13cqw;
  height: 13cqw;
  background: var(--wa);
  border-radius: 50%;
  box-shadow: 0 2cqw 4cqw -1cqw rgba(10, 14, 26, 0.45);
}

.hp-site__fab svg {
  width: 7cqw;
  height: 7cqw;
  color: var(--branco);
}

/* Safari do iPhone: barra do endereço embaixo (vidro claro), com o "AA",
   o cadeado e o recarregar, e a barra de ferramentas abaixo dela */
.hp-safari {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
  padding: 2.6cqw 3.6cqw 6.4cqw;
  background: rgba(246, 246, 248, 0.94);
  backdrop-filter: blur(12px);
  border-top: 0.25cqw solid rgba(0, 0, 0, 0.08);
  color: #000;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.hp-safari__bar {
  display: flex;
  align-items: center;
  gap: 2cqw;
  height: 10.6cqw;
  padding: 0 3.4cqw;
  background: var(--branco);
  border-radius: 3.2cqw;
  box-shadow: 0 0.5cqw 2cqw rgba(0, 0, 0, 0.08);
}

.hp-safari__aa {
  font-size: 4.2cqw;
  font-weight: 600;
}

.hp-safari__aa small {
  font-size: 3cqw;
}

.hp-safari__url {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 1.2cqw;
  min-width: 0;
  overflow: hidden;
  font-size: 3.6cqw;
  white-space: nowrap;
}

.hp-safari svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-safari__url svg {
  width: 3.2cqw;
  height: 3.2cqw;
  stroke-width: 2.2;
}

.hp-safari__reload {
  width: 4.4cqw;
  height: 4.4cqw;
}

.hp-safari__tools {
  display: flex;
  justify-content: space-between;
  padding: 0 3cqw;
  color: #0A84FF;
}

.hp-safari__tools svg {
  width: 6cqw;
  height: 6cqw;
}

.hp-safari__tools .is-off {
  color: #B4B4B8;
}

/* 4. A conversa no WhatsApp do iPhone (tema claro): cabeçalho de vidro claro
   com o "<" azul e o número de conversas, ícones azuis, fundo bege, balões
   com o rabinho embaixo, horário e os dois tiques azuis */
.hp-chat {
  background: #EFEAE2;
  color: #111B21;
  font-family: Roboto, Arial, sans-serif;
}

.hp-wa__top {
  background: rgba(246, 246, 246, 0.96);
  border-bottom: 0.25cqw solid rgba(0, 0, 0, 0.1);
  color: #000;
}

.hp-chat {
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.hp-wa__head {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  padding: 0.6cqw 3.6cqw 2.6cqw 2cqw;
}

.hp-wa__back {
  display: flex;
  align-items: center;
  color: #0A84FF;
  font-size: 4.2cqw;
}

.hp-wa__back svg {
  width: 6.4cqw;
  height: 6.4cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-wa__ico {
  flex: none;
  width: 6cqw;
  height: 6cqw;
  margin-left: 2cqw;
  fill: none;
  stroke: #0A84FF;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-wa__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 9cqw;
  height: 9cqw;
  background: #E0A458;
  border-radius: 50%;
}

.hp-wa__avatar {
  overflow: hidden;
}

.hp-wa__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-wa__who {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.hp-wa__who b {
  overflow: hidden;
  font-size: 4.2cqw;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hp-wa__who i {
  color: #8E8E93;
  font-size: 3.2cqw;
  font-style: normal;
}

.hp-wa__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2cqw;
  padding: 3cqw 3.4cqw;
}

.hp-wa__day {
  align-self: center;
  padding: 1cqw 3cqw;
  background: var(--branco);
  border-radius: 2cqw;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  color: #54656F;
  font-size: 3.2cqw;
}

.hp-wa__lock {
  display: block;
  align-self: center;
  max-width: 88%;
  margin-bottom: auto;
  padding: 1.6cqw 3cqw;
  background: #FFEECD;
  border-radius: 2cqw;
  color: #54656F;
  font-size: 3cqw;
  line-height: 1.35;
  text-align: center;
}

.hp-wa__lock svg {
  display: inline-block;
  width: 3cqw;
  height: 3cqw;
  margin-right: 1cqw;
  vertical-align: -0.3cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

/* Balões: chegam com a rolagem, não com o tempo */
.hp-wa__msg {
  position: relative;
  max-width: 80%;
  padding: 1.8cqw 2.6cqw 1.4cqw;
  border-radius: 2.4cqw;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  font-size: 4cqw;
  line-height: 1.35;
  opacity: 0;
  translate: 0 6px;
  scale: 0.96;
  transition: opacity 0.3s ease, translate 0.4s var(--ease), scale 0.4s var(--ease);
}

.hp-wa__msg.is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.hp-wa__msg--out {
  align-self: flex-end;
  background: #D9FDD3;
  border-radius: 3.4cqw 3.4cqw 0.8cqw 3.4cqw;
  transform-origin: right bottom;
}

.hp-wa__msg--in {
  align-self: flex-start;
  background: var(--branco);
  border-radius: 3.4cqw 3.4cqw 3.4cqw 0.8cqw;
  transform-origin: left bottom;
}

/* O "rabinho" no canto de cima, como no WhatsApp */
.hp-wa__msg::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 2.6cqw;
  height: 3cqw;
}

.hp-wa__msg--out::before {
  right: -1.8cqw;
  background: #D9FDD3;
  clip-path: polygon(0 0, 0 100%, 100% 100%, 40% 70%);
}

.hp-wa__msg--in::before {
  left: -1.8cqw;
  background: var(--branco);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 60% 70%);
}

.hp-wa__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.8cqw;
  float: right;
  margin: 1.6cqw 0 -0.4cqw 2.4cqw;
  color: #667781;
  font-size: 2.8cqw;
}

.hp-wa__meta svg {
  width: 4.2cqw;
  height: 2.8cqw;
  fill: none;
  stroke: #53BDEB;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Barra de digitar do iOS: "+" azul, campo branco com figurinha, câmera e
   microfone azuis, sobre o vidro claro, com espaço para a barra de início */
.hp-wa__bar {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 2cqw 3.4cqw 8cqw;
  background: rgba(246, 246, 246, 0.96);
  border-top: 0.25cqw solid rgba(0, 0, 0, 0.08);
}

.hp-wa__field {
  display: flex;
  flex: 1;
  align-items: center;
  height: 8.4cqw;
  padding: 0 2.6cqw;
  background: var(--branco);
  border: 0.25cqw solid #D9D9DE;
  border-radius: 99em;
}

.hp-wa__field span {
  flex: 1;
}

.hp-wa__tool,
.hp-wa__field svg {
  flex: none;
  width: 6.2cqw;
  height: 6.2cqw;
  fill: none;
  stroke: #0A84FF;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hp-wa__field svg {
  width: 5cqw;
  height: 5cqw;
}

/* ----- Cartões que flutuam em volta do celular ----- */

.hp-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: max-content;
  max-width: 260px;
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-sm);
  line-height: 1.35;
  transform: translateZ(var(--z, 80px));
  opacity: 0;
  visibility: hidden;
  scale: 0.94;
  transition: opacity var(--dur-ui) ease, scale 0.5s var(--ease), visibility 0s linear var(--dur-ui);
}

.hp-float.is-active {
  opacity: 1;
  visibility: visible;
  scale: 1;
  transition: opacity var(--dur-ui) ease, scale 0.5s var(--ease), visibility 0s;
}

.hp-float span {
  display: flex;
  flex-direction: column;
  color: var(--ink-2);
}

/* O círculo do WhatsApp não é coluna de texto: o logo fica no centro dele
   (a regra de cima, mais forte, deixava o logo encostado no canto) */
.hp-float .find__card-icon {
  display: grid;
  place-items: center;
}

.hp-float b {
  color: var(--ink-1);
}

.hp-float b i {
  margin-left: var(--s-2);
  font-style: normal;
  font-weight: 500;
  color: var(--ink-3);
}

.hp-float > svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--cobalto);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Logo do Google em 3D de verdade, feito em camadas: a peça branca tem
   espessura (10 camadas) e o "G" sai dela (mais 6). Gira junto com o
   celular e balança devagar, então as laterais aparecem. */
.hp-float-logo {
  position: absolute;
  top: -2%;
  left: -62%;
  width: 46%;
  aspect-ratio: 1;
  transform: translateZ(var(--z, 160px));
  transform-style: preserve-3d;
  opacity: 0;
  /* O Safari ignora a opacidade do pai nas camadas 3D: sem o visibility,
     os logos escondidos continuavam aparecendo uns por cima dos outros */
  visibility: hidden;
  scale: 0.9;
  transition: opacity var(--dur-ui) ease, scale 0.5s var(--ease), visibility 0s linear var(--dur-ui);
}

.hp-float-logo.is-active {
  opacity: 1;
  visibility: visible;
  scale: 1;
  transition: opacity var(--dur-ui) ease, scale 0.5s var(--ease), visibility 0s;
}

.g3d__spin {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-22deg);
  animation: g3d-sway 6s ease-in-out infinite alternate;
}

@keyframes g3d-sway {
  from { transform: rotateX(12deg) rotateY(-28deg) translateY(-4px); }
  to { transform: rotateX(-4deg) rotateY(16deg) translateY(6px); }
}

/* Cada camada fica 1,6 px à frente da anterior */
.g3d__tile,
.g3d__g {
  position: absolute;
  transform: translateZ(calc(var(--l) * 1.6px));
}

.g3d__tile {
  inset: 0;
  background: #C9CCD3;
  border-radius: 26%;
}

/* As camadas do fundo são mais escuras: viram a lateral com sombra */
.g3d__tile[style*="--l: 5"],
.g3d__tile[style*="--l: 6"],
.g3d__tile[style*="--l: 7"] { background: #DCDFE4; }
.g3d__tile[style*="--l: 8"] { background: #E8EAEE; }
.g3d__tile[style*="--l: 9"] { background: #F7F8FA; }

.g3d__g {
  inset: 19%;
  width: 62%;
  height: 62%;
  filter: brightness(0.72);
}

.g3d__g[style*="--l: 15"] {
  filter: none;
}

/* Pino do Google Maps do outro lado: só o pino, sem peça, com 12 camadas */
.hp-float-logo--maps {
  left: auto;
  right: -44%;
  top: 6%;
  width: 38%;
}

.hp-float-logo--maps .g3d__spin {
  animation-duration: 7s;
  animation-direction: alternate-reverse;
}

.m3d__pin {
  position: absolute;
  inset: 0 15%;
  width: 70%;
  height: 100%;
  transform: translateZ(calc(var(--l) * 1.4px));
  filter: brightness(0.7);
}

.m3d__pin[style*="--l: 11"] {
  filter: none;
}

/* WhatsApp: peça verde com o desenho branco saltado, no lugar do G quando
   o site abre (mesmo lado, mesmo tamanho) */
.hp-float-logo--wa .g3d__spin {
  animation-duration: 6.5s;
}

.w3d__tile,
.w3d__glyph {
  position: absolute;
  transform: translateZ(calc(var(--l) * 1.6px));
}

.w3d__tile {
  inset: 0;
  background: #128C4B;
  border-radius: 26%;
}

.w3d__tile[style*="--l: 5"],
.w3d__tile[style*="--l: 6"],
.w3d__tile[style*="--l: 7"] { background: #1BA857; }
.w3d__tile[style*="--l: 8"] { background: #21BF5F; }
.w3d__tile[style*="--l: 9"] { background: #25D366; }

.w3d__glyph {
  inset: 18%;
  width: 64%;
  height: 64%;
  color: #D9DEE4;
}

.w3d__glyph[style*="--l: 14"] {
  color: var(--branco);
}

/* Sombra no fundo, mais longe da câmera */
.g3d__shadow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -16%;
  height: 18%;
  background: rgba(10, 14, 26, 0.45);
  border-radius: 50%;
  filter: blur(10px);
  transform: translateZ(-40px);
}

.hp-float--a { top: 24%; left: -46%; }
.hp-float--b { top: 52%; right: -40%; }
.hp-float--c { top: 18%; right: -44%; }
.hp-float--d { top: 30%; left: -58%; max-width: 280px; }

/* ---------- Hero: a busca ao vivo ---------- */

/* O hero fica por cima do que vem depois (z-index) e não corta na vertical:
   a barra de busca desce por cima da faixa até o celular da próxima seção */
.hero {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: max(100svh, 700px);
  padding-top: var(--header-h);
  background:
    radial-gradient(560px circle at var(--cx) var(--cy), var(--spot), transparent 70%),
    var(--marinho);
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  align-items: center;
  gap: var(--s-6);
  padding-block: var(--s-7) var(--s-5);
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 1.1rem + 3.8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

/* A palavra que muda fica sozinha na última linha: o título nunca muda de altura */
.hero__word {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.hero__caret {
  flex: none;
  width: 0.07em;
  height: 0.82em;
  margin-left: 0.08em;
  background: var(--faisca);
  animation: blink 1s steps(1) infinite;
}

.hero__text {
  max-width: 30em;
  margin-top: var(--s-5);
  font-size: var(--fs-lead);
  color: var(--txt-2);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* O globo em pontos (desenhado pelo js/globo.js num canvas). A figura é um
   quadrado; os balões das buscas são posicionados pelo JS (--tx, --ty) */
@property --tag-s {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

.hero__map {
  position: relative;
  justify-self: end;
  width: 210%;
  max-width: 660px;
  aspect-ratio: 1;
  margin: 0 -40% 0 0;
}

.hero-globe__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Balão de pé sobre a cidade, ligado a ela por um feixe de luz */
.hero-map__tag {
  --tag-s: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 12px;
  background: var(--branco);
  border-radius: var(--r-pill);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.55);
  color: var(--ink-2);
  font-size: var(--fs-sm);
  white-space: nowrap;
  opacity: 0;
  transform-origin: 50% 100%;
  transform: translate(var(--tx, 0), var(--ty, 0)) translate(-50%, calc(-100% - 40px)) scale(var(--tag-s));
  transition: opacity var(--dur-ui) ease, --tag-s 0.5s var(--ease);
  pointer-events: none;
}

.hero-map__tag::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 36px;
  background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0.15));
  border-radius: 2px;
  translate: -50% 0;
}

.hero-map__tag.is-on {
  --tag-s: 1;
  opacity: 1;
}

.hero-map__tag b {
  color: var(--ink-1);
}

/* A barra de busca do Google, grande, que desce para a próxima seção */
.hero__search {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  padding-bottom: var(--s-6);
}

.hero__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 760px);
  padding: 18px 26px;
  background: var(--branco);
  border-radius: var(--r-pill);
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28), 0 28px 56px -28px rgba(0, 0, 0, 0.65);
  color: #202124;
  font-family: Roboto, Arial, sans-serif;
  font-size: 1.35rem;
  transform-origin: 0 0;
}

.hero__bar .logo-g,
.hero__bar-icon {
  flex: none;
  width: 26px;
  height: 26px;
}

.hero__query {
  overflow: hidden;
  white-space: nowrap;
}

.hero__bar-caret {
  flex: none;
  width: 2px;
  height: 1.15em;
  margin-left: -12px;
  background: #1A73E8;
  animation: blink 1s steps(1) infinite;
}

.hero__bar-caret + .hero__bar-icon {
  margin-left: auto;
}

.hero__hint {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--txt-2);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.hero__hint svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: hint-bob 1.6s ease-in-out infinite;
}

@keyframes hint-bob {
  50% { translate: 0 4px; }
}

/* ---------- Vitrine (depois do celular 3D, dentro de Serviços) ---------- */

.vitrine {
  padding-top: var(--section-y);
}

.vitrine__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vitrine__head {
  max-width: 720px;
  margin: 0;
  text-align: center;
}

.vitrine .segments__label {
  color: var(--ink-3);
}

/* Cada camada anda um pouco com o mouse (--px/--py de -1 a 1) */
.hero__layer {
  position: absolute;
  translate: calc(var(--px, 0) * var(--depth, 0) * 1px) calc(var(--py, 0) * var(--depth, 0) * 1px);
}

/* ---------- Vitrine: escolha do negócio + site de exemplo ---------- */

.showcase {
  width: 100%;
  max-width: 1120px;
  margin-top: var(--s-8);
}

.segments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.segments__label {
  color: var(--txt-3);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.segments__list {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding: var(--s-1);
  background: var(--marinho-2);
  border-radius: var(--r-pill);
}

.segments__btn {
  min-height: 40px;
  padding: 0 var(--s-4);
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  color: var(--txt-2);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: color var(--dur-ui) ease, background-color var(--dur-1), scale var(--dur-press) var(--ease);
}

.segments__btn:hover {
  color: var(--txt-1);
  background: rgba(242, 244, 250, 0.06);
}

.segments__btn[aria-pressed="true"] {
  background: var(--gelo);
  color: var(--marinho);
}

/* Com JavaScript, o fundo claro desliza de um negócio para o outro
   em vez de piscar no botão novo (js/main.js posiciona o .segments__pill) */
.segments__pill {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  background: var(--gelo);
  border-radius: var(--r-pill);
  pointer-events: none;
  transition:
    translate 0.32s var(--ease-in-out),
    width 0.32s var(--ease-in-out),
    height 0.32s var(--ease-in-out);
}

.segments__list.has-pill .segments__btn[aria-pressed="true"] {
  background: none;
}

/* O palco segue a altura da janela; celular e personagens se apoiam nas laterais */
.showcase__stage {
  position: relative;
  padding-inline: 11%;
  perspective: 1800px;
}

/* --open vai de 0 (inclinada) a 1 (de frente) com a rolagem (js/main.js) */
.showcase__window {
  position: relative;
  transform-origin: 50% 100%;
  transform:
    rotateX(calc((1 - var(--open, 1)) * 16deg))
    rotateY(calc(var(--px, 0) * -2deg));
}

/* Os dois ficam nas bordas da janela, sem cobrir o título nem a "foto" do site */
.hero__phone {
  z-index: 2;
  left: -1%;
  bottom: -6%;
  width: 17%;
  max-width: 196px;
}


/* Conversa de WhatsApp dentro do celular */
.wa {
  display: flex;
  flex-direction: column;
  background: var(--wa-bg);
  color: var(--ink-1);
}

.wa__head {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 16cqw 5cqw 4cqw;
  background: var(--branco);
  border-bottom: 1px solid var(--line-light);
}

.wa__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 12cqw;
  height: 12cqw;
  background: var(--cobalto);
  border-radius: 50%;
  color: var(--branco);
  font-family: var(--font-title);
  font-size: 4cqw;
  font-weight: 800;
}

.wa__who {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.wa__who b {
  font-size: 5.2cqw;
}

.wa__who i {
  font-size: 4cqw;
  font-style: normal;
  color: var(--g-green);
}

.wa__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3.4cqw;
  padding: 5cqw 4cqw 3cqw;
}

.wa__msg {
  max-width: 84%;
  padding: 3cqw 4cqw;
  background: var(--branco);
  border-radius: 4cqw;
  font-size: 5.2cqw;
  line-height: 1.35;
}

.wa__msg--in {
  align-self: flex-start;
  border-top-left-radius: 1cqw;
}

.wa__day {
  align-self: center;
  margin-bottom: auto;
  padding: 1cqw 3cqw;
  background: var(--branco);
  border-radius: 2cqw;
  color: var(--ink-3);
  font-size: 3.8cqw;
}

/* Barra de digitar, no pé da conversa */
.wa__bar {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  padding: 3cqw 3cqw 7cqw;
}

.wa__bar span:first-child {
  flex: 1;
  padding: 3cqw 4cqw;
  background: var(--branco);
  border-radius: var(--r-pill);
  color: var(--ink-3);
  font-size: 4.4cqw;
}

.wa__bar span:last-child {
  flex: none;
  width: 11cqw;
  height: 11cqw;
  background: var(--g-green);
  border-radius: 50%;
}

.wa__msg--out {
  align-self: flex-end;
  background: var(--wa-out);
  border-top-right-radius: 1cqw;
}

/* ---------- Só o Instagram não basta? (no lugar da antiga vitrine) ----------
   A mesma busca no Google com e sem site. O data-mode do .compare ("insta"
   ou "site") troca a lista, a busca e o ângulo do iPhone. */
.compare {
  padding-block: var(--section-y);
}

.compare__head {
  margin-inline: auto;
  text-align: center;
}

.compare__head .section-head__lead {
  margin-inline: auto;
}

/* Botão de duas posições, com a pílula branca deslizando */
.compare__switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: fit-content;
  margin: 0 auto var(--s-8);
  padding: 5px;
  background: var(--marinho);
  border-radius: var(--r-pill);
}

.compare__thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  background: var(--branco);
  border-radius: var(--r-pill);
  transition: translate 0.45s var(--ease);
}

.compare[data-mode="site"] .compare__thumb {
  translate: 100% 0;
}

.compare__opt {
  position: relative;
  z-index: 1;
  padding: 12px 24px;
  background: none;
  border: 0;
  border-radius: var(--r-pill);
  color: var(--txt-2);
  font: 700 var(--fs-sm) / 1.2 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--dur-ui) ease;
}

.compare__opt[aria-pressed="true"] {
  color: var(--ink-1);
}

/* "Instagram + site" chama o clique: Cobalto, com brilho e um pulso,
   até a pessoa experimentar (.is-tried) */
.compare__opt--go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.compare__opt--go svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.compare[data-mode="insta"] .compare__opt--go {
  background: var(--cobalto);
  color: var(--branco);
}

.compare:not(.is-tried)[data-mode="insta"] .compare__opt--go {
  animation: cmp-pulse 2.2s ease-out infinite;
}

.compare:not(.is-tried)[data-mode="insta"] .compare__opt--go svg {
  animation: cmp-twinkle 2.2s ease-in-out infinite;
}

@keyframes cmp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 107, 255, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(61, 107, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 107, 255, 0); }
}

@keyframes cmp-twinkle {
  0%, 100% { scale: 1; rotate: 0deg; }
  50% { scale: 1.25; rotate: 20deg; }
}

@media (hover: hover) and (pointer: fine) {
  .compare[data-mode="insta"] .compare__opt--go:hover {
    background: var(--cobalto-hover);
  }
}

/* O convite com a seta desenhada, à direita do botão */
.compare__hint {
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--cobalto-escuro);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  translate: 0 -50%;
  transition: opacity 0.3s ease, translate 0.4s var(--ease);
  pointer-events: none;
}

.compare__hint svg {
  flex: none;
  width: 44px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cmp-nudge 1.4s ease-in-out infinite;
}

@keyframes cmp-nudge {
  50% { translate: -5px 0; }
}

.compare.is-tried .compare__hint {
  opacity: 0;
  translate: 12px -50%;
}

.compare__opt:focus-visible {
  outline: 2px solid var(--cobalto-claro);
  outline-offset: 2px;
}

.compare__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: var(--s-8);
  max-width: 1000px;
  margin-inline: auto;
  perspective: 1400px;
}

/* O iPhone vira para um lado em cada modo */
.compare__phone {
  --cmp-ry: 18deg;
  position: relative;
  justify-self: center;
  width: min(290px, 78vw);
  transform: rotateY(var(--cmp-ry)) rotateX(5deg);
  transition: transform 0.9s var(--ease);
}

.compare[data-mode="site"] .compare__phone {
  --cmp-ry: -16deg;
}

/* ----- A tela da busca (em cqw: acompanha o tamanho do iPhone) ----- */
.iph__screen.cmp-screen {
  background: var(--branco);
  color: #202124;
  font-family: Roboto, Arial, sans-serif;
}

.cmp-search {
  display: flex;
  align-items: center;
  gap: 3cqw;
  margin: 2cqw 5cqw 0;
  padding: 3.4cqw 4.6cqw;
  border-radius: 99em;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  font-size: 4.4cqw;
}

.cmp-search .logo-g {
  flex: none;
  width: 5.6cqw;
  height: 5.6cqw;
}

.cmp-tabs {
  display: flex;
  gap: 5cqw;
  padding: 4.4cqw 6cqw 0;
  border-bottom: 1px solid #EBEBEB;
  color: #5F6368;
  font-size: 3.8cqw;
}

.cmp-tabs i {
  padding-bottom: 2.4cqw;
  font-style: normal;
}

.cmp-tabs .is-on {
  border-bottom: 0.7cqw solid #1F1F1F;
  color: #1F1F1F;
}

.cmp-label {
  padding: 4.6cqw 6cqw 1cqw;
  font-size: 5cqw;
}

.cmp-results {
  margin: 0;
  padding: 0 4cqw;
  list-style: none;
}

.cmp-biz {
  padding: 3cqw 2cqw;
  border-bottom: 1px solid #EBEBEB;
}

.cmp-biz__info b {
  display: block;
  color: #1A0DAB;
  font-size: 4.4cqw;
  font-weight: 500;
}

.cmp-biz__info span {
  display: block;
  margin-top: 0.6cqw;
  color: #4D5156;
  font-size: 3.4cqw;
}

.cmp-biz__acts {
  display: flex;
  gap: 2cqw;
  margin-top: 2cqw;
}

.cmp-biz__acts i {
  padding: 1.3cqw 3.4cqw;
  border: 1px solid #DADCE0;
  border-radius: 99em;
  color: #0B57D0;
  font-size: 3.3cqw;
  font-style: normal;
  font-weight: 500;
}

.cmp-biz__acts .cmp-wa {
  background: #1DA851;
  border-color: #1DA851;
  color: var(--branco);
}

/* A Grão Dourado: fechada sem site, abre no meio da lista com site */
.cmp-biz--you {
  display: grid;
  grid-template-rows: 0fr;
  padding-block: 0;
  border-bottom-color: transparent;
  border-radius: 3cqw;
  transition: grid-template-rows 0.6s var(--ease), padding 0.6s var(--ease), background-color 0.4s ease, box-shadow 0.4s ease;
}

.cmp-biz__wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 3cqw;
  min-height: 0;
  overflow: hidden;
}

.cmp-biz__wrap img {
  width: 13cqw;
  height: 13cqw;
  object-fit: cover;
  border-radius: 2.4cqw;
}

/* Monograma da Maison Áurea, feito em código: dourado sobre quase preto */
.cmp-mono {
  display: grid;
  place-items: center;
  width: 13cqw;
  height: 13cqw;
  background: linear-gradient(145deg, #2A251E, #0F0D0B);
  border-radius: 2.4cqw;
  box-shadow: inset 0 0 0 0.35cqw rgba(212, 180, 122, 0.45);
  color: #D4B47A;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6cqw;
  font-style: italic;
  letter-spacing: 0.04em;
}

.cmp-biz__wrap .cmp-biz__acts {
  grid-column: 1 / -1;
}

.compare[data-mode="site"] .cmp-biz--you {
  grid-template-rows: 1fr;
  padding-block: 3cqw;
  background: #EEF3FF;
  box-shadow: inset 0 0 0 0.6cqw var(--cobalto);
}

/* O aviso de quem não aparece (some quando a padaria tem site) */
.cmp-missing {
  display: flex;
  align-items: center;
  gap: 3cqw;
  margin: 4cqw 5cqw 0;
  padding: 3.4cqw;
  border: 0.5cqw dashed #C9CFDD;
  border-radius: 3cqw;
  color: #5F6368;
  font-size: 3.4cqw;
  transition: opacity 0.4s ease, translate 0.5s var(--ease);
}

.cmp-missing svg {
  flex: none;
  width: 7cqw;
  height: 7cqw;
  fill: none;
  stroke: #8A8F98;
  stroke-width: 1.8;
}

.cmp-missing b {
  display: block;
  color: #202124;
  font-weight: 500;
}

.compare[data-mode="site"] .cmp-missing {
  opacity: 0;
  translate: 0 3cqw;
}

/* ----- Efeitos da troca de tela ----- */

/* 1. A busca "recarrega": barra azul do Google e resultados que reaparecem */
.cmp-loading {
  display: block;
  height: 0.8cqw;
  margin-top: -0.8cqw;
  background: #1A73E8;
  transform-origin: 0 50%;
  scale: 0 1;
  opacity: 0;
}

.compare.is-swapping .cmp-loading {
  animation: cmp-load 0.7s var(--ease) both;
}

@keyframes cmp-load {
  0% { scale: 0 1; opacity: 1; }
  80% { scale: 1 1; opacity: 1; }
  100% { scale: 1 1; opacity: 0; }
}

.compare.is-swapping .cmp-label,
.compare.is-swapping .cmp-results > li,
.compare.is-swapping .cmp-missing {
  animation: cmp-refresh 0.55s var(--ease) both;
}

.compare.is-swapping .cmp-results > li:nth-child(1) { animation-delay: 0.08s; }
.compare.is-swapping .cmp-results > li:nth-child(2) { animation-delay: 0.16s; }
.compare.is-swapping .cmp-results > li:nth-child(3) { animation-delay: 0.24s; }
.compare.is-swapping .cmp-results > li:nth-child(4) { animation-delay: 0.32s; }
.compare.is-swapping .cmp-missing { animation-delay: 0.4s; }

@keyframes cmp-refresh {
  from { opacity: 0.15; translate: 0 2.4cqw; }
  to { opacity: 1; translate: 0 0; }
}

/* 2. O cartão da Maison Áurea pulsa duas vezes quando aparece */
.compare[data-mode="site"] .cmp-biz--you {
  animation: cmp-ring 1.1s 0.55s ease-out 2;
}

@keyframes cmp-ring {
  0% { box-shadow: inset 0 0 0 0.6cqw var(--cobalto), 0 0 0 0 rgba(61, 107, 255, 0.55); }
  100% { box-shadow: inset 0 0 0 0.6cqw var(--cobalto), 0 0 0 5cqw rgba(61, 107, 255, 0); }
}

/* 3. Cartões que saltam do iPhone em 3D (só com site) */
.cmp-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2.6cqw;
  padding: 3cqw 4cqw;
  background: var(--branco);
  border-radius: 4cqw;
  box-shadow: 0 1px 2px rgba(10, 14, 26, 0.08), 0 18px 36px -14px rgba(10, 14, 26, 0.35);
  color: var(--ink-1);
  font-size: 4cqw;
  white-space: nowrap;
  opacity: 0;
  transform: translateZ(0) scale(0.5);
  transition: opacity 0.3s ease, transform 0.7s var(--ease);
  pointer-events: none;
}

.compare[data-mode="site"] .cmp-float {
  opacity: 1;
  transform: translateZ(var(--z)) scale(1);
}

.cmp-float b {
  font-weight: 700;
}

.cmp-float--g {
  --z: 70px;
  top: 21%;
  left: -34cqw;
  transform-origin: 100% 50%;
}

.cmp-float--g .logo-g {
  width: 5.6cqw;
  height: 5.6cqw;
}

.cmp-float--url {
  --z: 50px;
  top: 8%;
  right: -20cqw;
  color: var(--ink-2);
  font-size: 3.6cqw;
  transform-origin: 0 50%;
}

.cmp-float--url svg {
  width: 4cqw;
  height: 4cqw;
  fill: none;
  stroke: #188038;
  stroke-width: 2.4;
}

.cmp-float--wa {
  --z: 90px;
  bottom: 12%;
  left: -18cqw;
  align-items: flex-start;
  white-space: normal;
  width: 70cqw;
  transform-origin: 30% 0;
}

.cmp-float--wa .wa-glyph {
  flex: none;
  width: 8cqw;
  height: 8cqw;
  padding: 1.6cqw;
  background: #1DA851;
  border-radius: 50%;
  color: var(--branco);
}

.cmp-float--wa span {
  color: var(--ink-2);
  font-size: 3.6cqw;
  line-height: 1.35;
}

.cmp-float--wa b {
  display: block;
  color: var(--ink-1);
  font-size: 4cqw;
}

/* Gráfico que sobe: a linha se desenha, a área aparece e o ponto acende */
.cmp-float--chart {
  --z: 80px;
  top: 57%;
  right: -32cqw;
  display: grid;
  gap: 2cqw;
  width: 56cqw;
  padding: 3.4cqw 4cqw 3cqw;
  transform-origin: 0 50%;
}

.cmp-chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  font-size: 3.6cqw;
}

.cmp-chart__up {
  flex: none;
  width: 5.6cqw;
  height: 5.6cqw;
  padding: 1cqw;
  background: #E6F4EA;
  border-radius: 50%;
  fill: none;
  stroke: #188038;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cmp-chart {
  display: block;
  width: 100%;
  height: 22cqw;
  overflow: visible;
}

.cmp-chart__grid {
  fill: none;
  stroke: #EEF0F5;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.cmp-chart__line {
  fill: none;
  stroke: var(--cobalto);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s var(--ease-in-out);
}

.cmp-chart__area {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cmp-chart__dot {
  fill: var(--cobalto);
  stroke: var(--branco);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  scale: 0.3;
  transition: opacity 0.2s ease, scale 0.4s var(--ease);
}

.compare[data-mode="site"] .cmp-chart__line {
  stroke-dashoffset: 0;
  transition-delay: 1s;
}

.compare[data-mode="site"] .cmp-chart__area {
  opacity: 1;
  transition-delay: 1.5s;
}

.compare[data-mode="site"] .cmp-chart__dot {
  opacity: 1;
  scale: 1;
  transition-delay: 2.1s;
}

.compare[data-mode="site"] .cmp-float--chart { transition-delay: 0.85s; }

/* Um de cada vez, depois que o iPhone termina de virar */
.compare[data-mode="site"] .cmp-float--g { transition-delay: 0.35s; }
.compare[data-mode="site"] .cmp-float--url { transition-delay: 0.5s; }
.compare[data-mode="site"] .cmp-float--wa { transition-delay: 0.7s; }

/* ----- A lista: X sem site, ✓ com site ----- */
.compare__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmp-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line-light);
}

.cmp-item:last-child {
  border-bottom: 0;
}

.cmp-item__mark {
  position: relative;
  width: 32px;
  height: 32px;
  background: #E6E9F1;
  border-radius: 50%;
  transition: background-color 0.35s ease;
}

.cmp-item__mark::before,
.cmp-item__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  background: var(--ink-3);
  border-radius: 2px;
  translate: -50% -50%;
  transition: width 0.35s var(--ease), translate 0.35s var(--ease), background-color 0.35s ease;
}

.cmp-item__mark::before { rotate: 45deg; }
.cmp-item__mark::after { rotate: -45deg; }

.compare[data-mode="site"] .cmp-item__mark {
  background: var(--cobalto);
}

/* O X vira ✓: um traço encolhe e desce para a esquerda */
.compare[data-mode="site"] .cmp-item__mark::before {
  width: 7px;
  background: var(--branco);
  translate: -110% 2px;
}

.compare[data-mode="site"] .cmp-item__mark::after {
  width: 13px;
  background: var(--branco);
  translate: -32% -1px;
}

.cmp-item:nth-child(2) .cmp-item__mark,
.cmp-item:nth-child(2) .cmp-item__mark::before,
.cmp-item:nth-child(2) .cmp-item__mark::after { transition-delay: 0.06s; }
.cmp-item:nth-child(3) .cmp-item__mark,
.cmp-item:nth-child(3) .cmp-item__mark::before,
.cmp-item:nth-child(3) .cmp-item__mark::after { transition-delay: 0.12s; }
.cmp-item:nth-child(4) .cmp-item__mark,
.cmp-item:nth-child(4) .cmp-item__mark::before,
.cmp-item:nth-child(4) .cmp-item__mark::after { transition-delay: 0.18s; }
.cmp-item:nth-child(5) .cmp-item__mark,
.cmp-item:nth-child(5) .cmp-item__mark::before,
.cmp-item:nth-child(5) .cmp-item__mark::after { transition-delay: 0.24s; }

.cmp-item__text b {
  display: block;
  color: var(--ink-1);
  font-size: var(--fs-body);
}

.cmp-item__text > span {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  text-wrap: pretty;
}

.compare[data-mode="insta"] .cmp-only-site,
.compare[data-mode="site"] .cmp-only-insta {
  display: none;
}

.compare__note {
  max-width: 40em;
  margin: var(--s-7) auto 0;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  text-align: center;
  text-wrap: pretty;
}

@media (max-width: 960px) {
  .compare__grid {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }

  /* O convite vai para baixo do botão (do lado ele passaria da tela) */
  .compare__switch {
    margin-bottom: calc(var(--s-7) + 40px);
  }

  .compare__hint {
    top: calc(100% + 10px);
    right: 18px;
    left: auto;
    translate: 0 0;
  }

  .compare__hint svg {
    order: 1;
    width: 30px;
    height: 22px;
    rotate: 70deg;
  }

  .compare.is-tried .compare__hint {
    translate: 0 8px;
  }

  .compare__phone {
    width: min(260px, 70vw);
  }
}

@media (max-width: 640px) {
  /* No celular os cartões ficam dentro da tela, sem sair pelas bordas */
  .cmp-float--g {
    left: -10cqw;
  }

  .cmp-float--url {
    right: -8cqw;
  }

  .cmp-float--wa {
    left: -8cqw;
  }

  .cmp-float--chart {
    top: 60%;
    right: -8cqw;
    width: 50cqw;
  }

  .compare__switch {
    margin-bottom: calc(var(--s-7) + 40px);
  }

  .compare__hint {
    top: calc(100% + 10px);
    right: 6px;
    left: auto;
    translate: 0 0;
  }

  .compare__hint {
    right: 18px;
  }

  .compare__hint svg {
    order: 1;
    width: 30px;
    height: 22px;
    rotate: 70deg;
  }

  .compare.is-tried .compare__hint {
    translate: 0 8px;
  }

  .compare__opt {
    padding: 11px 16px;
  }
}

/* ---------- Faixa de benefícios ---------- */

.ticker {
  display: flex;
  overflow: hidden;
  background: var(--gelo);
  color: var(--marinho);
}

.ticker__track {
  display: flex;
  flex: none;
  gap: var(--s-6);
  padding: var(--s-4) var(--s-6) var(--s-4) 0;
  animation: ticker 70s linear infinite;
}

.ticker li {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
}

/* Logo do Google (cores oficiais, sem alterar) onde o site fala do Google */
.logo-g {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  stroke: none;
}

.ticker__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

/* Pegada de pantera entre os itens */
.ticker li::after {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--cobalto);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16.2' rx='5.4' ry='4.6'/%3E%3Cellipse cx='4.6' cy='10' rx='2.2' ry='2.8'/%3E%3Cellipse cx='9.2' cy='5.4' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.8' cy='5.4' rx='2.2' ry='2.9'/%3E%3Cellipse cx='19.4' cy='10' rx='2.2' ry='2.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16.2' rx='5.4' ry='4.6'/%3E%3Cellipse cx='4.6' cy='10' rx='2.2' ry='2.8'/%3E%3Cellipse cx='9.2' cy='5.4' rx='2.2' ry='2.9'/%3E%3Cellipse cx='14.8' cy='5.4' rx='2.2' ry='2.9'/%3E%3Cellipse cx='19.4' cy='10' rx='2.2' ry='2.8'/%3E%3C/svg%3E") center / contain no-repeat;
  rotate: 18deg;
}

/* ---------- Serviços · faixa cobalto "o caminho do cliente" ---------- */

.services {
  padding-bottom: var(--section-y);
}

.find {
  position: relative;
  overflow: hidden;
  padding: var(--section-y) 0 var(--s-8);
  background:
    radial-gradient(560px circle at var(--cx) var(--cy), rgba(242, 244, 250, calc(0.1 * var(--sa))), transparent 70%),
    var(--cobalto-fundo);
  color: var(--gelo);
}

.find__stage {
  position: relative;
  aspect-ratio: 1200 / 620;
}

.find__text {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 46%;
  margin: 0;
}

.find .section-head__lead {
  color: var(--gelo);
}

.find__path {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.find__line {
  fill: none;
  stroke: var(--gelo);
  stroke-opacity: 0.6;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  transition: stroke-dashoffset 1.5s var(--ease) 0.1s;
}

.find__end {
  fill: var(--gelo);
  transform-box: fill-box;
  transform-origin: center;
  transition: scale 0.5s var(--ease) 1.1s, opacity 0.3s ease 1.1s;
}

/* Busca com ondas de radar */
.find__radar {
  position: absolute;
  z-index: 2;
  left: 15.83%;
  top: 75.8%;
  width: 0;
  height: 0;
  transition: opacity var(--dur-3), scale var(--dur-3) var(--ease);
}

.find__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(180px, 19vw, 260px);
  aspect-ratio: 1;
  border: 1.5px solid rgba(242, 244, 250, 0.5);
  border-radius: 50%;
  opacity: 0;
  translate: -50% -50%;
  animation: ring-wave 3.6s ease-out infinite;
}

.find__ring:nth-child(2) { animation-delay: 1.2s; }
.find__ring:nth-child(3) { animation-delay: 2.4s; }

.find__search {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  min-width: 270px;
  padding: 14px var(--s-5);
  background: var(--branco);
  color: var(--ink-1);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  translate: -50% -50%;
}

.find__search svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--cobalto);
  stroke-width: 2;
  stroke-linecap: round;
}

.find__caret {
  width: 2px;
  height: 1.1em;
  margin-left: -6px;
  background: var(--cobalto);
  animation: blink 1s steps(1) infinite;
}

/* Ficha da empresa no mapa (cores do próprio Google, sem logotipos) */
.find__map {
  position: absolute;
  z-index: 2;
  left: 40%;
  top: 38%;
  width: 29%;
  transition: opacity var(--dur-3), translate var(--dur-3) var(--ease);
  transition-delay: 0.35s, 0.35s;
}

.map__view {
  position: relative;
  aspect-ratio: 260 / 120;
}

.map__svg {
  width: 100%;
  height: 100%;
}

.map__land { fill: #F1F3F4; }
.map__park { fill: #CEEAD6; }
.map__water { fill: #AECBFA; }

.map__road {
  fill: none;
  stroke: var(--branco);
  stroke-width: 6;
}

.map__road--main {
  stroke: #FDE293;
  stroke-width: 8;
}

.map__route {
  fill: none;
  stroke: var(--g-blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  transition: stroke-dashoffset 1.2s var(--ease) 0.8s;
}

.map__me {
  fill: var(--g-blue);
  stroke: var(--branco);
  stroke-width: 2.5;
}

.map__pin {
  position: absolute;
  left: 53.1%;
  top: 36.7%;
  width: 22px;
  height: 30px;
  translate: -50% -100%;
  transition: opacity 0.3s 1.4s, transform 0.6s var(--ease) 1.4s;
}

.map__pin svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
}

.map__pin path { fill: var(--g-red); }
.map__pin circle { fill: #B31412; }

.map__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-3) var(--s-4) var(--s-4);
  color: var(--g-gray);
  font-size: var(--fs-xs);
  line-height: 1.4;
}

.map__name {
  color: var(--ink-1);
  font-size: var(--fs-sm);
}

.map__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.map__stars svg {
  display: block;
  width: 60px;
  height: 12px;
  fill: var(--g-yellow);
}

.map__count {
  font-variant-numeric: tabular-nums;
}

.map__meta em {
  font-style: normal;
  font-weight: 700;
  color: var(--g-green);
}

.map__actions {
  display: flex;
  gap: 6px;
  margin-top: var(--s-2);
}

.map__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border: 1px solid #DADCE0;
  border-radius: var(--r-pill);
  color: var(--g-blue);
  font-weight: 700;
}

.map__btn--route {
  background: var(--g-blue);
  border-color: var(--g-blue);
  color: var(--branco);
}

.map__btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--branco);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mensagem chegando (também usada na seção Como funciona) */
.find__card {
  position: absolute;
  z-index: 2;
  left: 73.4%;
  top: 6%;
  width: 26.6%;
  transition: opacity var(--dur-2), translate var(--dur-3) var(--ease);
  transition-delay: 1.2s, 1.2s;
}

.find__card,
.result__notify {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4);
}

.find__card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  background: var(--wa);
  border-radius: 50%;
}

/* Logo do WhatsApp em branco sobre o círculo verde */
.find__card-icon .wa-glyph {
  width: 22px;
  height: 22px;
  color: var(--branco);
}

.find__card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: var(--fs-sm);
}

.find__card-head span {
  color: var(--ink-3);
  font-size: var(--fs-xs);
}

.find__card-text {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

/* Entrada da faixa (o main.js põe e tira o "is-pending") */
.find__stage.is-pending .find__line { stroke-dashoffset: 1; }
.find__stage.is-pending .find__end { opacity: 0; scale: 0.4; }
.find__stage.is-pending .find__radar { opacity: 0; scale: 0.7; }
.find__stage.is-pending .find__map { opacity: 0; translate: 0 32px; }
.find__stage.is-pending .map__route { stroke-dashoffset: 1; }
.find__stage.is-pending .map__pin { opacity: 0; transform: translateY(-24px); }
.find__stage.is-pending .find__card { opacity: 0; translate: 0 24px; }

/* Cards de serviço */
.services__body {
  padding-top: var(--s-9);
}

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
}


.offer__title {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  font-family: var(--font-title);
  font-size: var(--fs-h4);
  font-weight: 800;
  line-height: var(--lh-snug);
}

.offer__title svg {
  flex: none;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink-1);
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* O detalhe de cada ícone em Cobalto (dois tons, o padrão de ícones da marca) */
.offer__title svg .a {
  stroke: var(--cobalto);
}

.offer p {
  max-width: 34ch;
  color: var(--ink-2);
}

/* Quadro "Todo site Tykon já sai com" */
.included {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: var(--s-6);
  margin-top: var(--s-9);
  padding: var(--s-7);
  background: var(--marinho);
  border-radius: var(--r-lg);
  color: var(--txt-1);
}

.included__title {
  font-family: var(--font-title);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: var(--lh-snug);
}

.included__lead {
  max-width: 46ch;
  margin-top: var(--s-3);
  color: var(--txt-2);
  text-wrap: pretty;
}

/* Cada item: ícone próprio em dois tons (Gelo + detalhe Cobalto), o termo
   e o motivo. Lista com régua, em duas colunas; o cadeado vem em destaque */
.perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--s-7);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
}

.perk {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line-dark-2);
  opacity: clamp(0.25, calc(var(--sp, 1) * 6 - var(--i, 0) * 0.55), 1);
  translate: 0 calc((1 - clamp(0, calc(var(--sp, 1) * 6 - var(--i, 0) * 0.55), 1)) * 14px);
}

.perk--feature {
  grid-column: 1 / -1;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: var(--s-5) var(--s-5);
  background: rgba(61, 107, 255, 0.1);
  border: 1px solid rgba(90, 130, 255, 0.35);
  border-radius: var(--r-md);
  margin-bottom: var(--s-3);
}

.perk__icon {
  display: block;
  width: 30px;
  height: 30px;
}

.perk--feature .perk__icon {
  width: 44px;
  height: 44px;
}

.perk__svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gelo);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.perk__svg .a {
  stroke: var(--cobalto-claro);
}

/* Google e WhatsApp: o logo da marca de verdade */
.perk__svg--brand {
  width: 26px;
  height: 26px;
  margin: 2px;
  fill: currentColor;
  stroke: none;
}

.perk__svg--wa {
  color: #25D366;
}

.perk__term {
  display: block;
  color: var(--txt-1);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.35;
}

.perk--feature .perk__term {
  font-family: var(--font-title);
  font-size: var(--fs-lead);
  font-weight: 800;
}

.perk__why {
  display: block;
  margin-top: var(--s-1);
  color: var(--txt-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
  text-wrap: pretty;
}

/* No celular o destaque do cadeado fica mais compacto */
@media (max-width: 640px) {
  .perk--feature {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: var(--s-3);
    padding: var(--s-4);
  }

  .perk--feature .perk__icon {
    width: 32px;
    height: 32px;
  }

  .perk--feature .perk__term {
    font-size: 1.0625rem;
  }
}

/* A pantera do escudo sai por cima do quadro */
.included__guard {
  align-self: end;
  margin: calc(var(--s-9) * -1.6) 0 calc(var(--s-7) * -1);
}

.included__guard img {
  width: 100%;
  height: auto;
}

.services .link-cta {
  margin-top: var(--s-7);
}

/* ---------- Como funciona ---------- */

.how {
  padding-top: calc(var(--section-y) * 0.7);
  padding-bottom: 0;
  background:
    radial-gradient(560px circle at var(--cx) var(--cy), var(--spot), transparent 70%),
    var(--marinho);
}

/* Mapa do Brasil (dentro do resultado): o site no centro ligando várias regiões */
.how__map {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: var(--s-6) 0 var(--s-2);
}

.map-br {
  width: 100%;
  height: auto;
  overflow: visible;
}

.map-br__land {
  fill: var(--ardosia);
  fill-opacity: 0.6;
  stroke: var(--cobalto-claro);
  stroke-opacity: 0.45;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.map-br__states {
  fill: none;
  stroke: var(--gelo);
  stroke-opacity: 0.08;
  stroke-width: 0.6;
  stroke-linejoin: round;
}

.map-br__arc {
  fill: none;
  stroke: var(--cobalto-claro);
  stroke-opacity: 0.6;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  transition: stroke-dashoffset 1.1s var(--ease) calc(var(--i) * 70ms + 0.3s);
}

.map-br__city {
  fill: var(--gelo);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    scale 0.4s var(--ease) calc(var(--i) * 70ms + 1s),
    opacity 0.25s ease calc(var(--i) * 70ms + 1s);
}

.map-br__packet {
  fill: var(--gelo);
}

.map-br__ping {
  fill: none;
  stroke: var(--cobalto-claro);
  stroke-width: 1.5;
}

.map-br__hub {
  fill: var(--cobalto-claro);
}

.map-br__hub-ring {
  fill: rgba(90, 130, 255, 0.18);
  stroke: var(--cobalto-claro);
  stroke-opacity: 0.6;
}

/* Antes de aparecer: ligações apagadas e cidades fechadas */
.how__map.reveal:not(.is-in) .map-br__arc {
  stroke-dashoffset: 1;
}

/* Nada surge do nada: as cidades nascem pequenas e transparentes, não de scale 0 */
.how__map.reveal:not(.is-in) .map-br__city {
  opacity: 0;
  scale: 0.4;
}

/* Etiqueta do ponto central (posição do centro do país no desenho) */
.how__map-label {
  position: absolute;
  left: 62%;
  top: 53.7%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--branco);
  border-radius: var(--r-pill);
  color: var(--ink-1);
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  translate: 14px calc(-100% - 14px);
}

.how__map-label svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--cobalto);
  stroke-width: 2;
  stroke-linecap: round;
}

.steps {
  --icon: 64px;
  --gap: var(--s-5);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.step {
  position: relative;
  text-align: center;
}

/* Linha entre um círculo e o próximo (apagada + acesa por cima) */
.step:not(:last-child)::before,
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--icon) / 2 - 1px);
  left: calc(50% + var(--icon) / 2 + var(--s-3));
  width: calc(100% + var(--gap) - var(--icon) - var(--s-5));
  height: 2px;
  border-radius: 2px;
  background: var(--line-dark-2);
}

/* A rolagem acende o caminho: --sp (0 a 1, js/main.js) enche cada linha
   e acende o círculo quando a linha chega nele. Sem JS fica tudo aceso. */
.step:nth-child(2) { --i: 1; }
.step:nth-child(3) { --i: 2; }
.step:nth-child(4) { --i: 3; }

.step {
  --fill: clamp(0, calc((var(--sp, 1) - var(--i, 0) * 0.25) * 4), 1);
  --lit: clamp(0, calc((var(--sp, 1) - var(--i, 0) * 0.25) * 8), 1);
}

.step:not(:last-child)::after {
  background: var(--cobalto-claro);
  transform-origin: left;
  transform: scaleX(var(--fill));
}

.step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--icon);
  aspect-ratio: 1;
  margin: 0 auto var(--s-5);
  background: color-mix(in srgb, var(--cobalto) calc(var(--lit) * 100%), var(--ardosia));
  border-radius: 50%;
  transition: background-color var(--dur-2);
}

.step__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: color-mix(in srgb, var(--gelo) calc(var(--lit) * 100%), var(--cobalto-claro));
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--dur-2), opacity 0.4s;
}

.step:hover .step__icon {
  background: var(--cobalto);
}

.step:hover .step__icon svg {
  stroke: var(--gelo);
}

.step__title {
  margin-bottom: var(--s-1);
  font-family: var(--font-title);
  font-size: var(--fs-h4);
  font-weight: 800;
}

.step p {
  color: var(--txt-2);
  font-size: var(--fs-sm);
}

/* Depois do "No ar": quem procura chegando até a empresa.
   O arco fica apoiado na divisa com a seção clara (Sobre). */
.result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--s-7);
  margin-top: var(--s-9);
  padding-top: var(--s-8);
}

.result__text {
  align-self: center;
  padding-bottom: var(--s-7);
}

/* Um nível abaixo do título da seção */
.result__title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.result__visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 540px;
  justify-self: center;
}

/* Arco cobalto atrás da cliente: o cabelo passa por cima do topo do arco
   e a base encosta na divisa com a seção Sobre, junto com a foto */
.result__arch {
  position: absolute;
  z-index: -1;
  top: 24%;
  right: 8%;
  bottom: 0;
  left: 8%;
  background: var(--cobalto);
  border-radius: 999px 999px 0 0;
}

.result__photo {
  width: 100%;
  height: auto;
}

.result__notify {
  position: absolute;
  top: 66%;
  right: -22%;
  width: 270px;
  transition: opacity var(--dur-2) 0.6s, translate var(--dur-3) var(--ease) 0.6s;
}

.result__visual.reveal .result__notify {
  opacity: 0;
  translate: 0 16px;
}

.result__visual.is-in .result__notify {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Depoimentos (fundo escuro, entre Projetos e Sobre) ----------
   Um depoimento em destaque à esquerda e dois empilhados à direita; no
   celular, uma fileira que se arrasta para o lado. */
.depos {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: var(--s-5);
}

.depo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin: 0;
  padding: var(--s-6);
  background: rgba(242, 244, 250, 0.04);
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-lg);
}

.depo--feature {
  grid-row: 1 / 3;
  justify-content: center;
  padding: var(--s-7);
  background:
    radial-gradient(420px circle at 0% 0%, rgba(61, 107, 255, 0.22), transparent 70%),
    rgba(242, 244, 250, 0.04);
  border-color: rgba(90, 130, 255, 0.4);
}

.depo__mark {
  width: 34px;
  height: 26px;
  fill: var(--cobalto-claro);
}

.depo--feature .depo__mark {
  width: 48px;
  height: 36px;
}

.depo__stars {
  color: #FBBC04;
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
}

.depo__text {
  margin: 0;
  color: var(--txt-1);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-wrap: pretty;
}

.depo--feature .depo__text {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
}

.depo__who {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-dark);
  color: var(--txt-2);
  font-size: var(--fs-sm);
}

.depo__who b {
  display: block;
  color: var(--txt-1);
  font-size: var(--fs-body);
}

.depo__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  object-fit: cover;
  background: var(--cobalto);
  border-radius: 50%;
  color: var(--branco);
  font-size: var(--fs-sm);
  font-weight: 800;
}

/* Enquanto não há depoimentos: a pantera no lugar da foto e os cartões de
   "espaço reservado", tracejados, que chamam o próximo cliente */
.depo__avatar--tykon img {
  width: 26px;
  height: auto;
}

.depo--slot {
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 220px;
  background: none;
  border: 1.5px dashed var(--line-dark-2);
  text-align: center;
}

.depo__slot-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--s-2);
  background: rgba(61, 107, 255, 0.14);
  border-radius: 50%;
}

.depo__slot-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--cobalto-claro);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.depo__slot-title {
  color: var(--txt-1);
  font-weight: 700;
}

.depo__slot-text {
  max-width: 26ch;
  color: var(--txt-3);
  font-size: var(--fs-sm);
}

@media (max-width: 860px) {
  /* Fileira que se arrasta para o lado, um cartão por vez */
  .depos {
    display: flex;
    gap: var(--s-4);
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) var(--s-3);
    scroll-padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .depos::-webkit-scrollbar {
    display: none;
  }

  .depo,
  .depo--feature {
    flex: 0 0 86%;
    padding: var(--s-6) var(--s-5);
    scroll-snap-align: center;
  }
}

/* ---------- Sobre (fundo claro) ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(var(--s-7), 6vw, var(--s-9));
}

.about__visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 9 / 10;
}

.about__circle {
  position: absolute;
  z-index: -1;
  top: 4%;
  left: 6%;
  width: 88%;
  aspect-ratio: 1;
  background: var(--cobalto);
  border-radius: 50%;
}

.about__person {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: auto;
  height: 92%;
  filter: grayscale(1) contrast(1.08);
  translate: -50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent);
  mask-image: linear-gradient(180deg, #000 86%, transparent);
}

.about__icon {
  position: absolute;
  display: grid;
  place-items: center;
  width: 16%;
  aspect-ratio: 1;
  background: var(--branco);
  border-radius: 28%;
}

.about__icon svg {
  width: 44%;
  height: 44%;
  fill: none;
  stroke: var(--cobalto);
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__icon--busca { top: 20%; left: 6%; background: var(--marinho); }
.about__icon--busca svg { stroke: var(--gelo); }
.about__icon--site { top: 28%; right: 2%; }
.about__icon--whats { top: 54%; left: 0; background: var(--cobalto); }
.about__icon--whats svg { stroke: var(--branco); }
.about__icon--celular { top: 66%; right: 6%; width: 13%; }

.about__role {
  margin: var(--s-2) 0 var(--s-5);
  color: var(--cobalto-escuro);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.about__content > p:not(.about__role) {
  max-width: 38em;
  color: var(--ink-2);
}

.about__content > p + p:not(.about__role) {
  margin-top: var(--s-4);
}

.quote {
  margin-top: var(--s-6);
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.4;
}

/* ---------- Dúvidas (fundo escuro) ---------- */

#duvidas {
  background:
    radial-gradient(560px circle at var(--cx) var(--cy), var(--spot), transparent 70%),
    var(--marinho);
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: var(--s-8);
}

.faq-wrap .section-head {
  margin: 0;
}

/* No computador o título e o convite acompanham enquanto as perguntas rolam */
@media (min-width: 961px) {
  .faq-head {
    position: sticky;
    top: calc(var(--header-h) + var(--s-6));
  }
}

/* No tablet e no celular o convite vai para depois das perguntas */
@media (max-width: 960px) {
  .faq-wrap {
    row-gap: 0;
  }

  .faq-head {
    display: contents;
  }

  .faq {
    order: 1;
    margin-top: var(--s-6);
  }

  .faq-ask {
    order: 2;
  }
}

.faq-ask {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: var(--s-4);
  margin-top: var(--s-7);
  padding: var(--s-5);
  background: rgba(242, 244, 250, 0.04);
  border: 1px solid var(--line-dark-2);
  border-radius: var(--r-lg);
}

.faq-ask__avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--cobalto);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(61, 107, 255, 0.18);
}

.faq-ask__avatar img {
  width: 30px;
  height: auto;
}

.faq-ask__title {
  font-family: var(--font-title);
  font-size: var(--fs-lead);
  font-weight: 800;
  line-height: 1.2;
}

.faq-ask__text {
  grid-column: 1 / -1;
  margin-top: var(--s-4);
  color: var(--txt-2);
  font-size: var(--fs-sm);
  text-wrap: pretty;
}

.faq-ask__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-5);
}

.faq-ask__chat {
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--txt-2);
  font: 700 var(--fs-sm) / 1.4 var(--font-body);
  cursor: pointer;
  transition: color var(--dur-ui) ease;
}

.faq-ask__chat:hover {
  color: var(--txt-1);
}

/* Cada pergunta é uma faixa um tom acima do fundo: sem linhas entre elas */
.faq {
  display: grid;
  gap: var(--s-2);
}

.faq__item {
  padding-inline: var(--s-5);
  background: var(--marinho-2);
  border-radius: var(--r-md);
  transition: background-color var(--dur-1);
}

.faq__item:hover,
.faq__item[open] {
  background: var(--ardosia);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  font-size: var(--fs-body);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: color var(--dur-1);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

/* Sinal de + que vira − */
.faq__item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform var(--dur-ui) var(--ease);
}

.faq__item summary:hover,
.faq__item[open] summary {
  color: var(--cobalto-claro);
}

.faq__item[open] summary::after {
  transform: rotate(90deg);
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.faq__item p {
  max-width: 60ch;
  padding-bottom: var(--s-5);
  color: var(--txt-2);
}

/* ---------- Chamada final (fundo claro, cartão cobalto) ---------- */

.cta__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-7);
  padding: clamp(var(--s-7), 6vw, 80px);
  background:
    radial-gradient(480px circle at var(--cx) var(--cy), rgba(242, 244, 250, calc(0.14 * var(--sa))), transparent 70%),
    linear-gradient(115deg, var(--cobalto-escuro) 0%, var(--cobalto-fundo) 100%);
  border-radius: var(--r-lg);
  color: var(--gelo);
}

.cta__geo {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cta__dots {
  fill: rgba(242, 244, 250, 0.35);
}

.geo-line {
  fill: none;
  stroke: rgba(242, 244, 250, 0.3);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  transition: stroke-dashoffset 2s var(--ease) 0.3s;
}

.geo-line--soft {
  stroke: rgba(242, 244, 250, 0.16);
}

.cta__card.reveal .geo-line {
  stroke-dashoffset: 1;
}

.cta__card.is-in .geo-line {
  stroke-dashoffset: 0;
}

.cta__content {
  max-width: 620px;
}

.cta__title {
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.cta__text {
  margin-top: var(--s-4);
  font-size: var(--fs-lead);
}

.cta__btn {
  flex: none;
}

/* O Eduardo e a pantera saem pelo topo do cartão: o cartão deixa de cortar
   o que passa da borda (só a geometria do fundo continua recortada) */
.cta__card {
  overflow: visible;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--s-6);
  min-height: 380px;
  padding-right: min(44%, 460px);
}

.cta__geo {
  overflow: hidden;
  border-radius: inherit;
}

/* Alternativa ao planejamento: o WhatsApp direto, como link */
.cta__alt {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: calc(var(--s-4) * -1);
  color: var(--gelo);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta__alt .wa-logo {
  width: 18px;
  height: 18px;
}

.cta__chars {
  position: absolute;
  z-index: 1;
  right: 5%;
  bottom: 0;
  width: auto;
  height: 128%;
  pointer-events: none;
}

/* ---------- Rodapé ---------- */

.footer {
  padding: var(--s-8) 0 var(--s-6);
  background: var(--marinho);
  color: var(--txt-2);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-6);
}

.footer__logo img {
  width: auto;
  height: 30px;
}

.footer__slogan {
  font-family: var(--font-title);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--txt-1);
}

.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: var(--s-6);
  padding: var(--s-7) 0;
}

.footer__title {
  margin-bottom: var(--s-4);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--txt-1);
}

.footer__list li + li {
  margin-top: var(--s-2);
}

.footer__list a,
.footer__contact a {
  font-size: var(--fs-sm);
  transition: color var(--dur-1);
}

.footer__list a:hover,
.footer__contact a:hover {
  color: var(--txt-1);
}

.footer__contact {
  margin-top: var(--s-4);
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
}

.footer__contact li + li {
  margin-top: var(--s-2);
}

.footer__contact svg,
.footer__social svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Logo do Gmail com as cores da marca (sem traço, preenchido) */
.footer__contact .footer__gmail {
  width: 20px;
  height: 15px;
  stroke: none;
}

.footer__social {
  display: flex;
  gap: var(--s-2);
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--marinho-2);
  border-radius: var(--r-sm);
  color: var(--txt-1);
  transition: background-color var(--dur-1);
}

.footer__social a {
  transition: translate 0.3s var(--ease), box-shadow 0.3s var(--ease), filter var(--dur-ui) ease;
}

.footer__social a:hover {
  translate: 0 -2px;
  filter: brightness(1.08);
}

/* Cada rede com a cor da própria marca */
.footer__social .social--ig {
  background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%);
  color: var(--branco);
}

.footer__social .social--ig:hover {
  box-shadow: 0 10px 20px -8px rgba(214, 36, 159, 0.6);
}

.footer__social .social--wa {
  background: #25D366;
  color: var(--branco);
}

.footer__social .social--wa:hover {
  box-shadow: 0 10px 20px -8px rgba(37, 211, 102, 0.6);
}

.footer__social .social__brand {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

/* O site da Tykon: a pantera sobre o Cobalto da marca */
.footer__social .social--site {
  background: var(--cobalto);
}

.footer__social .social--site:hover {
  box-shadow: 0 10px 20px -8px rgba(61, 107, 255, 0.6);
}

.footer__social .social--site img {
  width: 24px;
  height: auto;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2) var(--s-5);
  padding-top: var(--s-6);
  color: var(--txt-3);
  font-size: var(--fs-sm);
}

/* Cortina dos links internos: cobre a tela um instante enquanto a página
   pula de uma seção para outra (ver "Links internos" no js/main.js) */
.jump-curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--marinho);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.jump-curtain.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.18s ease, visibility 0s;
}

/* ---------- Chat da Tykon ---------- */

.chat-launcher {
  position: fixed;
  z-index: 60;
  right: var(--s-5);
  bottom: var(--s-5);
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: var(--cobalto);
  border-radius: 50%;
  box-shadow: 0 16px 32px -12px rgba(10, 14, 26, 0.6);
  transition: background-color var(--dur-1), scale var(--dur-press) var(--ease);
}

.chat-launcher:hover {
  background: var(--cobalto-escuro);
}

/* Crescer no hover só com mouse: no toque o "hover" fica preso depois do toque */
@media (hover: hover) and (pointer: fine) {
  .chat-launcher:hover:not(:active) {
    scale: 1.05;
  }
}

.chat-launcher__panther {
  width: 32px;
  height: auto;
  transition: opacity var(--dur-1), scale var(--dur-2) var(--ease);
}

.chat-launcher__close {
  position: absolute;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--gelo);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0;
  scale: 0.6;
  transition: opacity var(--dur-1), scale var(--dur-2) var(--ease);
}

.chat-launcher.is-open .chat-launcher__panther { opacity: 0; scale: 0.6; }
.chat-launcher.is-open .chat-launcher__close { opacity: 1; scale: 1; }
.chat-launcher.is-open .chat-launcher__wa { opacity: 0; }

.chat-launcher__wa {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--wa);
  border: 2px solid var(--marinho);
  border-radius: 50%;
  transition: opacity var(--dur-1);
}

.chat-launcher__wa svg {
  width: 11px;
  height: 11px;
  fill: var(--branco);
}

.chat-teaser {
  position: fixed;
  z-index: 60;
  right: var(--s-5);
  bottom: calc(var(--s-5) + 72px);
  display: flex;
  align-items: center;
  gap: var(--s-1);
  max-width: calc(100vw - 2 * var(--gutter));
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4);
  overflow: visible;
  animation: rise var(--dur-2) var(--ease) both;
}

.chat-teaser__text {
  padding: var(--s-1) 0;
  background: none;
  border: 0;
  color: var(--ink-1);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
}

.chat-teaser__close,
.chat__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--r-xs);
  color: var(--ink-3);
  cursor: pointer;
}

.chat-teaser__close svg,
.chat__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.chat {
  position: fixed;
  z-index: 60;
  right: var(--s-5);
  bottom: calc(var(--s-5) + 76px);
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 2 * var(--gutter)));
  height: min(560px, calc(100svh - 140px));
  opacity: 0;
  translate: 0 8px;
  scale: 0.96;
  /* Cresce a partir do botão que o abriu (canto de baixo, à direita) */
  transform-origin: calc(100% - 30px) calc(100% + 46px);
  /* Fechar é mais rápido que abrir */
  transition: opacity 0.14s ease, translate 0.14s var(--ease), scale 0.14s var(--ease);
}

.chat.is-open {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  transition-duration: var(--dur-ui);
}

.chat__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4);
  background: var(--marinho);
  color: var(--gelo);
}

.chat__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  background: var(--cobalto);
  border-radius: 50%;
}

.chat__avatar img {
  width: 24px;
  height: auto;
}

.chat__who {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.3;
}

.chat__who b {
  font-size: var(--fs-sm);
}

.chat__who span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--txt-2);
  font-size: var(--fs-xs);
}

.chat__online {
  width: 8px;
  height: 8px;
  background: var(--wa);
  border-radius: 50%;
}

.chat__close {
  color: var(--txt-2);
}

.chat__close:hover {
  color: var(--gelo);
}

.chat__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4);
  overflow-y: auto;
  background: var(--gelo);
}

.chat__msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  line-height: 1.45;
  animation: rise var(--dur-1) var(--ease) both;
}

.chat__msg--bot {
  align-self: flex-start;
  background: var(--branco);
  border: 1px solid var(--line-light);
  border-bottom-left-radius: var(--r-xs);
}

.chat__msg--user {
  align-self: flex-end;
  background: var(--cobalto-escuro);
  color: var(--branco);
  border-bottom-right-radius: var(--r-xs);
}

.chat__msg--preview {
  align-self: stretch;
  max-width: none;
  background: var(--wa-out);
  border: 1px solid rgba(10, 14, 26, 0.06);
}

.chat__typing {
  display: flex;
  gap: 4px;
  padding: 14px;
}

.chat__typing span {
  width: 6px;
  height: 6px;
  background: var(--ink-3);
  border-radius: 50%;
  animation: typing 1s ease-in-out infinite;
}

.chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.chat__typing span:nth-child(3) { animation-delay: 0.3s; }

.chat__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-1);
}

.chat__option {
  padding: 8px 14px;
  background: var(--branco);
  border: 1px solid var(--cobalto);
  border-radius: var(--r-pill);
  color: var(--cobalto-escuro);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--dur-1), color var(--dur-1), scale var(--dur-press) var(--ease);
}

.chat__option:hover {
  background: var(--cobalto-escuro);
  color: var(--branco);
}

.chat__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 16px;
  background: var(--wa);
  border-radius: var(--r-pill);
  color: var(--marinho);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.chat__cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.chat__form {
  display: flex;
  gap: var(--s-2);
  padding: var(--s-3);
  background: var(--branco);
  border-top: 1px solid var(--line-light);
}

.chat__input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-pill);
  color: var(--ink-1);
  font: inherit;
  font-size: var(--fs-sm);
}

.chat__input:focus {
  border-color: var(--cobalto);
  outline: none;
}

.chat__send {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--cobalto-escuro);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.chat__send svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--branco);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat__direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3);
  background: var(--branco);
  border-top: 1px solid var(--line-light);
  color: var(--ink-2);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.chat__direct svg {
  width: 16px;
  height: 16px;
  fill: var(--g-green);
}

.chat__direct:hover {
  color: var(--ink-1);
}

/* ---------- Seções escondidas por enquanto (estilo mínimo) ---------- */

.screens__track {
  height: 300vh;
}

.screens__sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100svh;
}

.screens__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: var(--s-7);
}

.screens__list {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

.screens__list li {
  display: flex;
  gap: var(--s-3);
  color: var(--txt-3);
  transition: color var(--dur-2);
}

.screens__list li.is-active {
  color: var(--txt-1);
}

.screens__list svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke);
}

.screens__list b,
.screens__list span {
  display: block;
}

.screens__progress {
  display: block;
  height: 2px;
  margin-top: var(--s-6);
  background: var(--line-dark-2);
}

.screens__progress span {
  display: block;
  height: 100%;
  background: var(--cobalto-claro);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.screens__media {
  position: relative;
}

.screens__poster,
.screens__canvas {
  width: 100%;
  height: auto;
}

.screens__canvas {
  position: absolute;
  inset: 0;
}

/* ---------- Projetos: cliente real, telas do site no computador e no celular ---------- */
.case {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(var(--s-7), 6vw, var(--s-9));
}

/* O palco 3D: o computador é uma placa com espessura e o iPhone flutua na
   frente dele. Com a rolagem (--sp) o conjunto gira até quase de frente e o
   iPhone se aproxima; sem JavaScript fica no meio do caminho. */
.case__shots {
  --k: calc(1 - var(--sp, 0.55));
  position: relative;
  display: block;
  margin: 2% 6% 8% 0;
  perspective: 1600px;
  perspective-origin: 40% 30%;
}

.case__rig {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(8deg + var(--k) * 10deg))
    rotateY(calc(-18deg - var(--k) * 18deg))
    rotateZ(calc(var(--k) * 2deg));
  transition: transform 0.6s var(--ease);
}

.case__browser {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--branco);
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  transform: translateZ(0);
}

/* Espessura do computador: quatro placas atrás da janela */
.case__slab {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.case__slab i {
  position: absolute;
  inset: 0;
  background: #C9CFDD;
  border-radius: var(--r-md);
  transform: translateZ(calc(var(--l) * -2px));
}

.case__slab i:last-child {
  background: #AEB5C6;
  box-shadow: 0 50px 80px -30px rgba(10, 14, 26, 0.45);
}

.case__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F1F3F8;
  border-bottom: 1px solid var(--line-light);
}

.case__bar i {
  width: 9px;
  height: 9px;
  background: #D3D8E4;
  border-radius: 50%;
}

.case__bar span {
  margin-left: 12px;
  overflow: hidden;
  color: var(--ink-3);
  font-size: var(--fs-label);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case__browser img {
  display: block;
  width: 100%;
  height: auto;
}

.case__phone {
  position: absolute;
  right: -7%;
  bottom: -12%;
  width: 27%;
  transform: translateZ(calc(70px + (1 - var(--k)) * 40px));
  transition: transform 0.6s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .case__shots:hover .case__rig {
    transform:
      rotateX(calc(5deg + var(--k) * 9deg))
      rotateY(calc(-12deg - var(--k) * 16deg))
      rotateZ(calc(var(--k) * 2deg));
  }

  .case__shots:hover .case__phone {
    transform: translateZ(calc(110px + (1 - var(--k)) * 40px)) translateY(-8px);
  }
}

/* ----- iPhone em camadas (proporção e cantos do iPhone 15) ----- */
.iph {
  container-type: inline-size;
  display: block;
  aspect-ratio: 71.6 / 147.6;
  transform-style: preserve-3d;
}

/* O corpo: 12 camadas de titânio natural atrás da frente, mais claras no
   meio (o brilho da borda) e escuras nas pontas */
.iph__body {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.iph__body i {
  position: absolute;
  inset: 0;
  background: #A9A49C;
  border-radius: 17cqw;
  transform: translateZ(calc(var(--l) * -0.9cqw));
}

.iph__body i:nth-child(1),
.iph__body i:nth-child(12) { background: #7D7871; }
.iph__body i:nth-child(2),
.iph__body i:nth-child(11) { background: #938E86; }
.iph__body i:nth-child(5),
.iph__body i:nth-child(6),
.iph__body i:nth-child(7) { background: #D9D5CE; }

/* A traseira, com a sombra no "chão" */
.iph__body i:nth-child(12) {
  box-shadow: 0 40px 70px -24px rgba(10, 14, 26, 0.6);
}

.iph__btn {
  position: absolute;
  width: 1.6cqw;
  background: #B8B3AB;
  border-radius: 1cqw;
  transform: translateZ(-5.4cqw);
}

.iph__btn--action { top: 17%; left: -1cqw; height: 5%; }
.iph__btn--vol1 { top: 25%; left: -1cqw; height: 9%; }
.iph__btn--vol2 { top: 36%; left: -1cqw; height: 9%; }
.iph__btn--power { top: 29%; right: -1cqw; height: 13%; }

/* A frente: vidro preto com a tela dentro */
.iph__front {
  position: absolute;
  inset: 0;
  padding: 3.4cqw;
  background: #0B0B0D;
  border-radius: 17cqw;
  box-shadow: inset 0 0 0 0.5cqw #2B2B30;
}

.iph__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #FFF8EF;
  border-radius: 13.6cqw;
}

.iph__status {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 14cqw;
  padding: 1.4cqw 7cqw 0 9.5cqw;
  color: #111;
  font-family: -apple-system, "SF Pro Text", var(--font-body);
  font-size: 4.4cqw;
  font-weight: 700;
}

.iph__icons {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
}

.iph__icons svg {
  height: 3.2cqw;
  width: auto;
  fill: #111;
}

.iph__battery {
  position: relative;
  width: 6.4cqw;
  height: 3.2cqw;
  padding: 0.5cqw;
  border: 0.35cqw solid rgba(17, 17, 17, 0.45);
  border-radius: 1cqw;
}

.iph__battery i {
  display: block;
  width: 80%;
  height: 100%;
  background: #111;
  border-radius: 0.4cqw;
}

.iph__screen > img {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top;
}

.iph__home {
  position: absolute;
  bottom: 2.2cqw;
  left: 50%;
  width: 36cqw;
  height: 1.4cqw;
  background: #111;
  border-radius: 1cqw;
  translate: -50% 0;
}

.iph__island {
  position: absolute;
  top: 6.4cqw;
  left: 50%;
  width: 31cqw;
  height: 9cqw;
  background: #000;
  border-radius: 5cqw;
  translate: -50% 0;
}

/* No celular o iPhone cresce um pouco para a tela dele ser lida */
@media (max-width: 640px) {
  .case__shots {
    margin-right: 5%;
  }

  .case__phone {
    right: -5%;
    width: 34%;
  }
}

/* Reflexo do vidro, bem leve */
.iph__glare {
  position: absolute;
  inset: 0;
  border-radius: 17cqw;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

/* Símbolo do cliente em 3D: gira para a frente com a rolagem e flutua de leve */
.case__badge {
  display: block;
  width: clamp(120px, 11vw, 168px);
  margin-bottom: var(--s-6);
  perspective: 900px;
}

.case__badge-rig {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(18deg - var(--sp, 0.6) * 8deg))
    rotateY(calc(-40deg + var(--sp, 0.6) * 22deg));
  animation: badge-float 6s ease-in-out infinite alternate;
  transition: transform 0.6s var(--ease);
}

@keyframes badge-float {
  from { translate: 0 0; rotate: y -8deg; }
  to { translate: 0 -8px; rotate: y 8deg; }
}

.case__badge-rig img {
  display: block;
  width: 100%;
  height: auto;
}

/* A espessura: cópias mais escuras empilhadas atrás da frente */
.case__badge-layer {
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.6) saturate(1.15);
  transform: translateZ(calc(var(--l) * -1.8px));
}

.case__badge-layer:first-child {
  filter: brightness(0.45) drop-shadow(0 26px 18px rgba(10, 14, 26, 0.28));
}

.case__badge-face {
  position: relative;
  transform: translateZ(0);
}

.case__title {
  font-family: var(--font-title);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.2;
}

.case__meta {
  margin-top: var(--s-2);
  color: var(--ink-3);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.case__lead {
  margin-top: var(--s-4);
  color: var(--ink-2);
  text-wrap: pretty;
}

.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
  padding: 0;
  list-style: none;
}

.case__tags li {
  padding: 6px 12px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.case__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-6);
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
  color: var(--cobalto-escuro);
  font-weight: 700;
}

.case__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate var(--dur-ui) ease;
}

.case__link:hover svg {
  translate: 2px -2px;
}


/* ==========================================================================
   6. MOVIMENTO
   Tudo entra uma vez. Contínuo só: faixa de benefícios, radar da busca
   (com o cursor piscando) e a reação ao cursor.
   ========================================================================== */

/* Hero: entrada em sequência ao abrir a página */
.hero__copy > * {
  animation: rise var(--dur-3) var(--ease) both;
}

.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero__copy > :nth-child(5) { animation-delay: 0.32s; }

.hero .mark::after {
  animation: mark-in 0.7s var(--ease) 0.7s both;
}

/* "backwards": depois de entrar, a janela volta a obedecer à rolagem e ao mouse */
.segments { animation: rise var(--dur-3) var(--ease) 0.4s both; }
.showcase__window { animation: rise-in 1.2s var(--ease) 0.3s backwards; }
.hero__phone { animation: rise 1.1s var(--ease) 0.8s both; }

.wa__msg {
  animation: pop 0.45s var(--ease) both;
}

.wa__msg:nth-of-type(1) { animation-delay: 1.4s; }
.wa__msg:nth-of-type(2) { animation-delay: 2.3s; }
.wa__msg:nth-of-type(3) { animation-delay: 3.2s; }

/* Aparecer ao rolar (o main.js põe .reveal e depois .is-in) */
.reveal {
  opacity: 0;
  translate: 0 24px;
}

.reveal.is-in {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity var(--dur-3) var(--ease) var(--d, 0ms),
    translate var(--dur-3) var(--ease) var(--d, 0ms);
}

.step.reveal .step__icon {
  opacity: 0;
  scale: 0.7;
}

.step.is-in .step__icon {
  opacity: 1;
  scale: 1;
  transition: opacity 0.4s calc(var(--d, 0ms) + 0.1s), scale 0.6s var(--ease) calc(var(--d, 0ms) + 0.1s), background-color var(--dur-2);
}

.about__visual.reveal .about__icon {
  opacity: 0;
  scale: 0.6;
}

.about__visual.is-in .about__icon {
  opacity: 1;
  scale: 1;
  transition: opacity 0.4s, scale 0.6s var(--ease);
}

.about__visual.is-in .about__icon--site { transition-delay: 0.15s; }
.about__visual.is-in .about__icon--whats { transition-delay: 0.3s; }
.about__visual.is-in .about__icon--celular { transition-delay: 0.45s; }

/* ---------- Rolagem artesanal ----------
   O js/main.js dá a cada [data-scroll] o --sp: 0 quando ele entra pela base
   da tela e 1 quando chega perto do topo. Sem JavaScript ou com movimento
   reduzido o --sp não existe e tudo fica no estado final (var(--sp, 1)). */

/* Títulos que acendem palavra por palavra enquanto sobem */
[data-words] .w {
  opacity: clamp(0.2, calc(var(--sp, 1) * (var(--n, 1) + 3) - var(--w, 0)), 1);
}

/* Cliente: o arco cresce a partir da base e a foto sobe um pouco mais devagar */
.result__visual {
  --k: calc(1 - var(--sp, 1));
}

.result__arch {
  transform-origin: 50% 100%;
  scale: calc(1 - var(--k) * 0.18) calc(1 - var(--k) * 0.32);
}

.result__photo {
  translate: 0 calc(var(--k) * 48px);
}

/* Sobre: o círculo abre e os ícones chegam de fora até o Eduardo
   (a seção corta o que passar da borda enquanto eles ainda estão longe) */
.about-section {
  overflow-x: clip;
}

.about__visual {
  --k: calc(1 - var(--sp, 1));
}

.about__circle {
  scale: calc(1 - var(--k) * 0.22);
}

.about__person {
  translate: -50% calc(var(--k) * 40px);
}

.about__icon--busca { translate: calc(var(--k) * -64px) calc(var(--k) * -40px); }
.about__icon--site { translate: calc(var(--k) * 64px) calc(var(--k) * -48px); }
.about__icon--whats { translate: calc(var(--k) * -72px) calc(var(--k) * 32px); }
.about__icon--celular { translate: calc(var(--k) * 64px) calc(var(--k) * 48px); }

/* Chamada final: o cartão chega um pouco menor e cresce até o tamanho certo */
.cta__card {
  scale: calc(1 - (1 - var(--sp, 1)) * 0.08);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes rise-in {
  from { opacity: 0; translate: 0 48px; }
}

@keyframes fade {
  from { opacity: 0; }
}

@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes mark-in {
  from { transform: skewX(-12deg) scaleX(0); }
  to { transform: skewX(-12deg) scaleX(1); }
}

@keyframes net-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes net-node {
  from { opacity: 0; scale: 0.4; }
  to { opacity: 1; scale: 1; }
}

@keyframes ticker {
  to { transform: translateX(-100%); }
}

@keyframes ring-wave {
  0% { opacity: 0.8; scale: 0.3; }
  100% { opacity: 0; scale: 1; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Movimento reduzido não é "nada se mexe": nada anda, gira ou cresce,
     mas as trocas de opacidade e de cor continuam, curtas, para a
     mudança não parecer um salto */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-property: opacity, color, background-color, border-color, filter !important;
    transition-duration: var(--dur-1) !important;
    transition-delay: 0s !important;
  }
}


/* ==========================================================================
   7. RESPONSIVO
   ========================================================================== */

/* Notebook */
@media (max-width: 1180px) {
  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet */
@media (max-width: 960px) {
  /* A janela ocupa a largura; celular e personagens descem abaixo dela */
  .showcase__stage {
    padding: 0 0 40%;
  }

  .hero__phone {
    left: 3%;
    bottom: 0;
    width: 24%;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--s-7);
  }

  /* Em 2 colunas, a linha só liga os passos da mesma fileira */
  .step:nth-child(2)::before,
  .step:nth-child(2)::after {
    display: none;
  }

  .result,
  .about,
  .faq-wrap,
  .screens__grid {
    grid-template-columns: 1fr;
  }

  .result__visual {
    max-width: 460px;
  }

  .result__notify {
    right: -18%;
  }

  .result__text {
    padding-bottom: 0;
  }

  .about__visual {
    margin-inline: auto;
  }

  .cta__card {
    flex-direction: column;
    align-items: flex-start;
    padding-right: min(46%, 340px);
  }

  .cta__chars {
    right: 2%;
    height: 112%;
  }

  /* Hero em uma coluna: o mapa vai para trás do texto, mais apagado */
  .hero__grid {
    grid-template-columns: 1fr;
  }

  /* No tablet e no celular o mapa é só textura atrás do texto: sem balões */
  .hero-map__tag {
    display: none;
  }

  .hero__map {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: -34%;
    width: 120%;
    max-width: 720px;
    margin: 0;
    opacity: 0.5;
    translate: 0 -50%;
  }

  /* Faixa cobalto: tudo empilhado e ligado por uma linha vertical */
  .find__stage {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
  }

  .find__text {
    position: static;
    width: 100%;
  }

  .find__path {
    display: none;
  }

  .find__radar {
    position: relative;
    left: auto;
    top: auto;
    align-self: center;
    margin: 96px 0 80px;
  }

  .find__map,
  .find__card {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 340px);
    align-self: center;
  }

  .find__card {
    margin-top: 56px;
  }

  .find__map::before,
  .find__card::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 2px;
    height: 56px;
    background: rgba(242, 244, 250, 0.5);
  }

  .find__map,
  .find__card {
    overflow: visible;
  }

  .find__map .map__view {
    overflow: hidden;
    border-radius: var(--r-md) var(--r-md) 0 0;
  }

  .find__map::before {
    height: 46px;
  }

  .offers {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }

  .case {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }

  .included {
    grid-template-columns: 1fr;
    padding: var(--s-6);
  }

  /* A pantera fica no fim do quadro, apoiada na borda de baixo (o corte da
     imagem coincide com a borda, como no computador) */
  .included__guard {
    width: 220px;
    margin: var(--s-4) auto calc(var(--s-6) * -1);
  }
}

/* Menu do celular */
@media (max-width: 860px) {
  .menu-toggle {
    position: absolute;
    z-index: 2;
    right: 0;
    display: block;
    width: 44px;
    height: 44px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  .menu-button {
    display: grid;
    align-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0 11px;
    border: 1px solid var(--line-dark-2);
    border-radius: var(--r-sm);
  }

  .menu-button span {
    height: 2px;
    background: var(--gelo);
    border-radius: 2px;
    transition: transform var(--dur-ui) var(--ease), opacity var(--dur-1);
  }

  .menu-toggle:focus-visible + .menu-button {
    outline: 2px solid var(--cobalto-claro);
    outline-offset: 3px;
  }

  .menu-toggle:checked + .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked + .menu-button span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked + .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-4);
    margin: 0;
    padding: var(--s-4) var(--gutter) var(--s-6);
    background: var(--marinho);
    border-bottom: 1px solid var(--line-dark);
  }

  .menu-toggle:checked ~ .nav {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
  }

  .nav__list a {
    padding: var(--s-3) 0;
    font-size: var(--fs-body);
  }

  .nav__list a::after {
    display: none;
  }

  .header:has(.menu-toggle:checked) {
    background: var(--marinho);
  }
}

/* Celular */
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --header-h: 64px;
  }

  .hero__text {
    font-size: var(--fs-body);
  }

  .hero__actions {
    align-self: stretch;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  /* Mais largura para o título do CTA caber em duas linhas; os personagens
     sobem para cima do texto */
  /* No celular os personagens ficam embaixo do texto, apoiados na borda de
     baixo do cartão: o corte da imagem some na borda */
  .cta__card {
    min-height: 0;
    padding: var(--s-7) var(--s-5) 300px;
  }

  .cta__chars {
    top: auto;
    right: 50%;
    bottom: 0;
    height: 280px;
    translate: 50% 0;
  }

  .hero__title {
    font-size: 2.35rem;
  }

  /* No celular o mapa colorido fica bem apagado atrás do texto, para não brigar com a leitura */
  .hero__map {
    top: 58%;
    right: -55%;
    opacity: 0.32;
  }

  .hero__bar {
    gap: 10px;
    padding: 14px 18px;
    font-size: 1rem;
  }

  .hero__bar .logo-g,
  .hero__bar-icon {
    width: 20px;
    height: 20px;
  }

  .hero__bar-caret {
    margin-left: -8px;
  }

  .showcase {
    margin-top: var(--s-7);
  }

  /* Os cinco negócios cabem numa linha só */
  .segments__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
  }

  .segments__btn {
    padding-inline: var(--s-1);
    font-size: var(--fs-xs);
  }

  .showcase__stage {
    padding-bottom: 58%;
  }

  .hero__phone {
    left: 2%;
    width: 36%;
  }

  /* Linha do tempo vertical: ícone à esquerda, texto à direita */
  .steps {
    --icon: 56px;
    --gap: var(--s-6);
    grid-template-columns: 1fr;
    row-gap: var(--gap);
  }

  .step {
    display: grid;
    grid-template-columns: var(--icon) 1fr;
    column-gap: var(--s-4);
    align-items: center;
    text-align: left;
  }

  .step__icon {
    grid-row: span 2;
    margin: 0;
  }

  .step__icon svg {
    width: 24px;
    height: 24px;
  }

  .step__title {
    align-self: end;
    margin: 0;
  }

  .step p {
    align-self: start;
  }

  .step:not(:last-child)::before,
  .step:not(:last-child)::after,
  .step:nth-child(2)::before,
  .step:nth-child(2)::after {
    display: block;
    top: calc(var(--icon) + var(--s-2));
    left: calc(var(--icon) / 2 - 1px);
    width: 2px;
    height: calc(var(--gap) - var(--s-4));
  }

  .step:not(:last-child)::after {
    transform-origin: top;
    transform: scaleY(var(--fill));
  }

  .perks {
    grid-template-columns: 1fr;
  }

  .result__visual {
    max-width: 100%;
  }

  .result__notify {
    top: auto;
    right: 0;
    bottom: 12%;
    width: min(240px, 70vw);
  }

  .find__search {
    min-width: 0;
    padding: 12px var(--s-4);
  }

  .footer__cols {
    grid-template-columns: 1fr;
  }

  .footer__legal {
    flex-direction: column;
  }

  .chat-launcher {
    right: var(--s-4);
    bottom: var(--s-4);
  }

  .chat,
  .chat-teaser {
    right: var(--gutter);
  }
}

/* Caminho do cliente em tablet e celular: o texto em cima e o celular embaixo, na mesma tela */
@media (max-width: 960px) {
  .story__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: var(--s-4);
    padding-block: calc(var(--header-h) + var(--s-5)) var(--s-5);
  }

  .story__step {
    max-width: 560px;
  }

  .story__rig {
    height: min(100%, 560px);
  }

  .hp-float {
    max-width: 210px;
    padding: var(--s-2) var(--s-3);
    font-size: var(--fs-xs);
  }

  .hp-float-logo { left: -44%; width: 34%; }
  .hp-float-logo--maps { left: auto; right: -40%; width: 28%; }

  .hp-float--a { left: -36%; }
  .hp-float--b { right: -30%; }
  .hp-float--c { right: -34%; }
  .hp-float--d { left: -42%; max-width: 220px; }
}

@media (max-width: 640px) {
  .story .section-head__lead {
    margin-top: var(--s-3);
    font-size: var(--fs-body);
  }

  .story__disc {
    width: 125%;
  }

  .story__line {
    font-size: 1.9rem;
  }

  .story__end .btn {
    margin-top: var(--s-4);
  }

  /* Menos profundidade no celular: com o giro, logos muito à frente
     escorregariam para cima da tela do aparelho */
  .hp-float-logo { left: auto; right: -8%; width: 24%; top: -2%; transform: translateZ(40px); }
  .hp-float-logo--maps { left: -8%; right: auto; width: 18%; top: 4%; transform: translateZ(30px); }

  /* Cartões menores e mais perto do celular: com o giro e a profundidade
     eles passavam da borda da tela */
  .hp-float {
    /* cada cartão tem o --z no HTML (até 130px); no celular a profundidade
       fica limitada a 36px, senão o cartão sai da tela e corta o logo */
    transform: translateZ(min(var(--z, 80px), 36px));
    max-width: 180px;
    padding: 10px 12px;
    font-size: var(--fs-xs);
  }

  .hp-float > svg {
    width: 18px;
    height: 18px;
  }

  .hp-float--a { left: -10%; }
  .hp-float--b { right: -8%; }
  .hp-float--c { right: -10%; }
  .hp-float--d { left: -4%; max-width: 220px; }

  /* O rodapé termina acima do botão flutuante do chat */
  .footer {
    padding-bottom: 104px;
  }
}
