/* ==========================================================
   LP Psicólogas — Agência RTG
   Paleta: Navy #282F44 · Lavanda #B8C0D8 · Névoa #E2E5EC
   ========================================================== */

:root {
  --navy: #282F44;
  --navy-2: #1E2436;
  --lavender: #B8C0D8;
  --lavender-2: #CDD3E5;
  --mist: #E2E5EC;
  --bg: #F3F4F8;
  --white: #FFFFFF;
  --text: #282F44;
  --muted: #5F6782;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font-title: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --shadow: 0 20px 50px -20px rgba(40, 47, 68, .35);
}

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

/* Toques duplos não dão zoom no celular (o zoom de pinça continua) */
/* No iPhone o touch-action precisa estar no próprio elemento tocado */
*, *::before, *::after { touch-action: manipulation; }

html { scroll-behavior: smooth; overflow-x: hidden; background: var(--bg); }

/* Seções com elementos que passam da largura da tela (leque, faixas, anéis):
   corta as sobras para o celular não ganhar scroll lateral */
.hero, .marquees, .trust { overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

em { font-style: normal; color: var(--muted); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.center { text-align: center; margin-top: 48px; }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  padding: 8px 8px 8px 26px;
  min-height: 56px;
  box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--navy-2); }

.btn__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: transform .25s ease;
}
.btn:hover .btn__icon { transform: rotate(-45deg); }

.btn--ghost {
  padding: 0 28px;
  min-height: 56px;
  border: 1px solid var(--lavender);
  color: var(--navy);
  background: transparent;
}
.btn--ghost:hover { background: var(--mist); }

.btn--pill { padding: 9px 18px; font-size: 14px; }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--lavender); }
.btn--nav { gap: 8px; padding: 5px 5px 5px 18px; }
.btn--nav:hover { background: var(--white); }
.nav-whats {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E3F8EA;
  color: #25D366;
}

.btn--full { width: 100%; justify-content: space-between; }

/* CTA verde WhatsApp pulsando */
.btn--whats {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 16px 32px -14px rgba(37, 211, 102, .7);
  animation: whats-pulse 2s ease-out infinite;
}
.btn--whats:hover { background: #1EBE5A; }
.btn--whats .btn__icon { background: transparent; color: var(--white); }
.btn--whats .btn__icon svg { width: 24px; height: 24px; }
.btn--whats:hover .btn__icon { transform: scale(1.08); }

@keyframes whats-pulse {
  0% { box-shadow: 0 16px 32px -14px rgba(37, 211, 102, .7), 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 16px 32px -14px rgba(37, 211, 102, .7), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 16px 32px -14px rgba(37, 211, 102, .7), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--navy);
  color: var(--white);
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px -10px rgba(40, 47, 68, .5);
  white-space: nowrap;
}

.nav__logo {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, .15);
}

.nav__links { display: flex; gap: 18px; font-size: 14px; }
.nav__links a { opacity: .8; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--mist) 0%, transparent 70%),
    var(--bg);
}

/* Grid sutil, mais visível no topo e sumindo para baixo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40, 47, 68, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 47, 68, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 85%);
  pointer-events: none;
}
.hero > .container { position: relative; }

.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 13px;
  margin-bottom: 28px;
}
.hero__proof strong { font-weight: 600; }

.hero__clients { height: 64px; width: auto; }
.hero__proof { font-size: 14px; }

.stars { color: #FFC21A; letter-spacing: 2px; font-size: 14px; line-height: 1.2; }

.hero__title {
  font-size: clamp(40px, 7vw, 80px);
  max-width: 980px;
  margin: 0 auto;
}

.hero__sub {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
}
.hero__sub strong { color: var(--navy); font-weight: 600; }

.hero__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Vitrine em leque */
.showcase {
  position: relative;
  width: min(1400px, calc(100vw - 32px));
  margin: 80px 0 0 50%;
  translate: -50% 0;
  aspect-ratio: 1400 / 700;
  text-align: left;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.showcase.is-dragging { cursor: grabbing; }
.showcase img { pointer-events: none; }

.showcase__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  aspect-ratio: 1620 / 1268;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 6px solid var(--white);
  box-shadow: 0 40px 80px -30px rgba(40, 47, 68, .45);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), width .6s cubic-bezier(.2, .8, .2, 1);
}
.showcase__card img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-lg) - 6px); }

.showcase__card--center {
  z-index: 3;
  transform: translate(-50%, -50%);
}
.showcase__card--left {
  z-index: 1;
  width: 44%;
  transform: translate(-50%, -50%) translateX(-64%) rotate(-7deg);
}
.showcase__card--right {
  z-index: 2;
  width: 44%;
  transform: translate(-50%, -50%) translateX(64%) rotate(7deg);
}
/* Pontas dos cases de fora, atrás das laterais */
.showcase__card--far-left,
.showcase__card--far-right {
  z-index: 0;
  width: 38%;
}
.showcase__card--far-left { transform: translate(-50%, -50%) translateX(-112%) rotate(-12deg); }
.showcase__card--far-right { transform: translate(-50%, -50%) translateX(112%) rotate(12deg); }
/* Cards além dos 5 visíveis esperam escondidos atrás do centro */
.showcase__card--hidden {
  z-index: -1;
  width: 44%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.8);
}
.showcase__card { transition-property: transform, width, opacity; }

@media (hover: hover) {
  .showcase:hover .showcase__card--center { transform: translate(-50%, -52%) scale(1.02); }
  .showcase:hover .showcase__card--left { transform: translate(-50%, -50%) translateX(-68%) rotate(-9deg); }
  .showcase:hover .showcase__card--right { transform: translate(-50%, -50%) translateX(68%) rotate(9deg); }
  .showcase:hover .showcase__card--far-left { transform: translate(-50%, -50%) translateX(-118%) rotate(-14deg); }
  .showcase:hover .showcase__card--far-right { transform: translate(-50%, -50%) translateX(118%) rotate(14deg); }
}

/* --open registrado como número para poder ser animado (leque abrindo no celular) */
@property --open { syntax: "<number>"; inherits: true; initial-value: 1; }
@keyframes fan-open { from { --open: 0; } to { --open: 1; } }

/* Navegação do leque */
.showcase__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.showcase__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  opacity: .75;
}
.showcase__hint svg { animation: swipe-hint 2.4s ease-in-out infinite; }
@keyframes swipe-hint {
  0%, 100% { translate: -6px 0; }
  50% { translate: 6px 0; }
}
.showcase__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--lavender);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.showcase__arrow:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Cards flutuantes ao redor do título */
.hero__floats {
  position: absolute;
  top: 140px;
  left: 50%;
  width: min(1440px, 100%);
  height: 520px;
  translate: -50% 0;
  pointer-events: none;
}

.fcard {
  position: absolute;
  background: var(--white);
  border: 1px solid rgba(226, 229, 236, .9);
  box-shadow: 0 1px 2px rgba(40, 47, 68, .05), 0 24px 50px -22px rgba(40, 47, 68, .35);
  text-align: left;
  animation: float 6s ease-in-out infinite;
}

/* Estilo 1: contato (foto + nome + botões redondos) */
.fcard--contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 10px;
  border-radius: 999px;
}
.fcard__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
}
.fcard__info { display: flex; flex-direction: column; line-height: 1.25; margin-right: 6px; }
.fcard__info strong { font-size: 15px; font-weight: 600; color: var(--navy); }
.fcard__info small { font-size: 12.5px; color: var(--muted); }

.fcard__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.fcard__btn--green { background: #E3F8EA; color: #1FA855; }
.fcard__btn--lavender { background: var(--mist); color: var(--navy); }

/* Estilo 2: indicador (ícone + rótulo + valor + tendência) */
.fcard--stat {
  display: flex;
  flex-direction: column;
  min-width: 170px;
  padding: 16px 18px;
  border-radius: 20px;
}
.fcard__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--mist);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.fcard--stat small { font-size: 13px; color: var(--muted); }
.fcard--stat strong {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 2px 0 4px;
}
.fcard__trend { font-size: 12.5px; font-weight: 600; color: #1FA855; }

.fcard--1 { right: calc(50% + 480px); top: 50px;  animation-delay: -1s; }
.fcard--2 { right: calc(50% + 470px); top: 310px; animation-delay: -3s; }
.fcard--3 { left: calc(50% + 480px);  top: 30px;  animation-delay: -2s; }
.fcard--4 { left: calc(50% + 470px);  top: 290px; animation-delay: -4.5s; }

/* Notebooks (1280–1559px): título um pouco menor e cards menores encostados nas laterais */
@media (min-width: 1280px) and (max-width: 1559px) {
  .hero__title { font-size: 68px; }
  .fcard { scale: .86; }
  .fcard--1, .fcard--2 { right: auto; transform-origin: left center; }
  .fcard--3, .fcard--4 { left: auto; transform-origin: right center; }
  .fcard--1 { left: 24px; top: -6px; }
  .fcard--2 { left: 48px; }
  .fcard--3 { right: 24px; top: -20px; }
  .fcard--4 { right: 48px; }
}

@media (max-width: 1279px) {
  .hero__floats { display: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- MARQUEE ---------- */
/* Duas faixas cruzadas em X */
.marquees {
  position: relative;
  height: 190px;
  margin: 20px 0;
}

.marquee {
  position: absolute;
  top: 50%;
  left: -5%;
  right: -5%;
  overflow: hidden;
  padding: 18px 0;
  color: var(--navy);
  border-top: 1px solid rgba(40, 47, 68, .1);
  border-bottom: 1px solid rgba(40, 47, 68, .1);
}
.marquee--lavender {
  z-index: 2;
  background: var(--lavender);
  transform: translateY(-50%) rotate(-3deg);
  box-shadow: 0 18px 40px -24px rgba(40, 47, 68, .45);
}
.marquee--white {
  z-index: 1;
  background: var(--white);
  transform: translateY(-50%) rotate(3deg);
  box-shadow: 0 14px 36px -22px rgba(40, 47, 68, .35);
}

/* duas cópias idênticas do grupo: ao andar -50% a emenda fica invisível */
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track--reverse { animation-direction: reverse; }

.marquee__group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}
.marquee span {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 30px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.marquee i { font-style: normal; font-size: 18px; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- SEÇÕES ---------- */
.section { padding: 100px 0; }
.section--white { background: var(--white); }

.section__head { text-align: center; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(36px, 5.5vw, 64px); margin-top: 14px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--navy);
}
.eyebrow--light { background: rgba(184, 192, 216, .18); color: var(--lavender); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.step {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  padding: 36px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  transition: translate .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
}
/* mantém o hover suave mesmo com a animação de entrada (.reveal) */
.js .step.reveal {
  transition: opacity .8s ease, transform .8s ease, translate .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
}

/* brilho circular que cresce a partir do canto no hover */
.step::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  right: -40%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 192, 216, .45), transparent 70%);
  opacity: 0;
  scale: .4;
  transition: opacity .5s ease, scale .6s cubic-bezier(.2, .8, .2, 1);
}
.step--dark::before { background: radial-gradient(circle, rgba(184, 192, 216, .25), transparent 70%); }
.step--accent::before { background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%); }

.step__num {
  font-family: var(--font-title);
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: auto;
  padding-bottom: 40px;
  transition: translate .45s cubic-bezier(.2, .8, .2, 1), color .45s ease;
}
.step h3 { transition: translate .45s cubic-bezier(.2, .8, .2, 1) .04s; }

@media (hover: hover) {
  .step:hover {
    translate: 0 -10px;
    box-shadow: 0 34px 60px -30px rgba(40, 47, 68, .5);
  }
  .step:hover::before { opacity: 1; scale: 1; }
  .step:hover .step__num { translate: 8px 0; }
  .step:hover h3 { translate: 4px 0; }
  .step--light:hover .step__num { color: var(--navy); }
  .step--dark:hover .step__num { color: var(--white); }
  .step--accent:hover .step__num { color: var(--navy); }
}
.step h3 { font-size: 26px; }
.step p { font-size: 15px; }

.step--light { background: var(--white); }
.step--light .step__num { color: var(--lavender); }
.step--light p { color: var(--muted); }

.step--dark { background: var(--navy); color: var(--white); transform: translateY(-16px); }
.step--dark .step__num { color: var(--lavender); }
.step--dark p { color: var(--lavender-2); }

.step--accent { background: var(--lavender); }
.step--accent .step__num { color: var(--white); }
.step--accent p { color: var(--navy); opacity: .85; }

/* About */
.about__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.about__head h2 { font-size: clamp(36px, 5.5vw, 64px); }
.about__head span { color: var(--muted); font-size: 14px; }

.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.about__visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  min-height: 460px;
}
.about__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.about__card {
  background: transparent;
  border: 1px solid var(--lavender);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.about__card h3 { font-size: 44px; margin: 4px 0 24px; }
.about__card h3 .badge { display: table; font-size: inherit; font-weight: 500; margin-bottom: 4px; }
.about__card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }

.badge {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--lavender);
  padding: 6px 12px;
  border-radius: 10px;
}

/* Depoimentos em órbita */
.trust {
  position: relative;
  overflow: hidden;
  padding-top: 210px;
  padding-bottom: 140px;
  text-align: center;
}

.trust__orbits {
  position: absolute;
  left: 50%;
  top: 560px;
  pointer-events: none;
}
.trust__ring {
  position: absolute;
  left: 0;
  top: 0;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(40, 47, 68, .12);
  /* metade de baixo dos anéis some em degradê */
  -webkit-mask-image: linear-gradient(to bottom, #000 42%, transparent 68%);
  mask-image: linear-gradient(to bottom, #000 42%, transparent 68%);
}
.trust__ring--1 { width: 620px; height: 620px; }
.trust__ring--2 { width: 900px; height: 900px; }
.trust__ring--3 { width: 1180px; height: 1180px; border-style: dashed; border-color: rgba(40, 47, 68, .08); }

/* Avatares e balões posicionados sobre os anéis */
.trust__people {
  position: absolute;
  left: 50%;
  top: 560px;
  width: 0;
  height: 0;
}

.trust__avatar {
  position: absolute;
  translate: -50% -50%;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--lavender);
  overflow: hidden;
  box-shadow: 0 10px 24px -10px rgba(40, 47, 68, .45);
  animation: float 6s ease-in-out infinite;
}
.trust__avatar img { width: 100%; height: 100%; object-fit: cover; }

.trust__avatar--deco { width: 44px; height: 44px; opacity: .9; }

/* x, y relativos ao centro dos anéis */
.trust__avatar--1 { left: -300px; top: -110px; animation-delay: -1s; }
.trust__avatar--2 { left: 330px;  top: -240px; animation-delay: -2.5s; }
.trust__avatar--3 { left: 450px;  top: -20px;  animation-delay: -4s; }

.trust__bubble {
  position: absolute;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  background: var(--lavender-2);
  padding: 8px 14px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 10px 24px -14px rgba(40, 47, 68, .4);
  animation: float 6s ease-in-out infinite;
}
.trust__bubble--1 { left: 360px;  top: -300px; animation-delay: -2.5s; }
.trust__bubble--2 { left: -452px; top: -182px; border-radius: 14px 14px 4px 14px; animation-delay: -1s; }
.trust__bubble--3 { left: 480px;  top: -82px;  animation-delay: -4s; }

/* Conteúdo central */
.trust__content { position: relative; z-index: 2; }

.trust__title {
  font-size: clamp(36px, 5.5vw, 64px);
  margin: 16px auto 18px;
}
.trust__sub {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.trust__card {
  position: relative;
  max-width: 640px;
  margin: 110px auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 44px 32px;
  box-shadow: 0 40px 80px -40px rgba(40, 47, 68, .35);
}

.trust__card-photo {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: 0 14px 30px -12px rgba(40, 47, 68, .45);
}

.trust__lead {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.trust__text { color: var(--muted); font-size: 15px; }


.trust__cta {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.trust__cta p {
  max-width: 560px;
  font-family: var(--font-title);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.trust__cta small { margin-top: -12px; font-size: 14px; color: var(--muted); }

/* Footer */
.footer { padding: 40px 0 50px; border-top: 1px solid var(--mist); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer__logo { font-family: var(--font-title); font-weight: 700; font-size: 24px; color: var(--navy); letter-spacing: -0.04em; }
.footer__links { display: flex; gap: 18px; }


/* Reveal */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .step--dark.reveal.is-visible { transform: translateY(-16px); }

/* Entrada do topo: só movimento (sem opacity 0), para o conteúdo aparecer já na primeira pintura */
@keyframes hero-in { from { transform: translateY(24px); } }
.hero-in { animation: hero-in .8s cubic-bezier(.2, .8, .2, 1) both; }

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

/* Cascata dos passos no celular: acompanha a rolagem 1:1 no compositor */
@keyframes step-hold {
  from { translate: 0 0; }
  to { translate: 0 var(--hold-shift, 0px); }
}

/* WhatsApp flutuante: botão entra, "digitando…", mensagem chega com badge */
.whats-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.whats-float__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  animation: wf-in .6s cubic-bezier(.2, .8, .2, 1.4) .8s both, wf-ring 2.4s ease-out 4s infinite;
}
.whats-float__btn svg { animation: wf-shake .6s ease 3.6s; }
.whats-float__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  border: 2px solid var(--white);
  background: #FF3B30;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  animation: wf-pop .4s cubic-bezier(.2, .8, .2, 1.6) 3.6s both;
}
.whats-float__bubble {
  position: relative;
  display: grid;
  padding: 12px 16px;
  border-radius: 18px 18px 4px 18px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 16px 36px -14px rgba(40, 47, 68, .35);
  transform-origin: bottom right;
  animation: wf-bubble .45s cubic-bezier(.2, .8, .2, 1.2) 1.8s both;
}
.whats-float__typing, .whats-float__text { grid-area: 1 / 1; align-self: center; }
.whats-float__typing { display: flex; gap: 4px; justify-self: start; animation: wf-hide .2s ease 3.5s both; }
.whats-float__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavender);
  animation: wf-dot 1s ease-in-out infinite;
}
.whats-float__typing i:nth-child(2) { animation-delay: .15s; }
.whats-float__typing i:nth-child(3) { animation-delay: .3s; }
.whats-float__text { animation: wf-show .3s ease 3.6s both; }

@keyframes wf-in { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
@keyframes wf-pop { from { scale: 0; } to { scale: 1; } }
@keyframes wf-bubble { from { opacity: 0; scale: .6; translate: 12px 8px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes wf-hide { to { opacity: 0; visibility: hidden; } }
@keyframes wf-show { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }
@keyframes wf-dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
@keyframes wf-shake {
  0%, 100% { rotate: 0deg; }
  20% { rotate: -14deg; }
  40% { rotate: 12deg; }
  60% { rotate: -8deg; }
  80% { rotate: 4deg; }
}
@keyframes wf-ring {
  0% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6), 0 0 0 0 rgba(37, 211, 102, .45); }
  70%, 100% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6), 0 0 0 16px rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
  .whats-float { right: 16px; bottom: 16px; }
  .whats-float__btn { width: 54px; height: 54px; }
  .whats-float__bubble { font-size: 13px; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .whats-float *, .whats-float__btn { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}

/* ---------- RESPONSIVO ---------- */
/* Depoimentos em tablet e celular: fotos em linha acima do título e balões
   acima das fotos (valores divididos pela escala dos anéis) */
@media (max-width: 1279px) {
  .trust { padding-top: 270px; }
  .trust__orbits, .trust__people { top: 580px; scale: .7; }
  .trust__avatar--1 { left: -281px; top: -560px; }
  .trust__avatar--2 { left: 271px; top: -530px; }
  .trust__avatar--3 { left: 0; top: -590px; }
  .trust__avatar { width: 96px; height: 96px; border-width: 5px; }
  /* scale desfaz a escala dos anéis para o texto ficar legível */
  .trust__bubble { scale: 1.43; transform-origin: 0 0; }
  .trust__bubble--1 { left: 105px; top: -662px; }
  .trust__bubble--2 { left: -354px; top: -692px; }
  .trust__bubble--3 { left: -128px; top: -733px; }
}

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .step--dark, .js .step--dark.reveal.is-visible { transform: none; }

  /* Cascata: os cards seguram no topo e vão se empilhando ao rolar.
     Sem position: sticky (o Safari do iPhone pinta as barras com a cor de
     elementos grudados); o empilhamento é feito via translate medido no JS */
  .steps { gap: 24px; position: relative; }
  .step {
    min-height: 300px;
    box-shadow: 0 -12px 40px -18px rgba(40, 47, 68, .35);
    will-change: translate;
  }
  .js .step.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
  @supports (animation-timeline: scroll()) {
    .steps .step {
      animation: step-hold linear both;
      animation-timeline: scroll(root);
      animation-range: var(--hold-start, 0px) var(--hold-end, 0px);
    }
  }
  .about { grid-template-columns: 1fr; }
  .about__visual { min-height: 300px; }
  .showcase { aspect-ratio: 1 / .78; }
  .showcase__card { width: 74%; border-width: 4px; border-radius: var(--radius-md); }
  .showcase__card img { border-radius: calc(var(--radius-md) - 4px); }
  .showcase__card--left, .showcase__card--right { width: 60%; }
  .showcase__card--far-left, .showcase__card--far-right { width: 60%; opacity: 0; transform: translate(-50%, -50%) scale(.8); }
  /* Leque abre conforme a rolagem: --open vai de 0 (fechado) a 1 (aberto), definido no JS */
  /* Sem transição no transform: o leque acompanha a rolagem 1:1, sem atraso */
  .showcase__card { transition: width .6s cubic-bezier(.2, .8, .2, 1), opacity .6s ease; }
  .showcase.is-rotating .showcase__card { transition: transform .6s cubic-bezier(.2, .8, .2, 1), width .6s cubic-bezier(.2, .8, .2, 1), opacity .6s ease; }
  .showcase__card--left { transform: translate(-50%, -50%) translateX(calc(-8% - 30% * var(--open, 1))) translateY(calc(-6% * var(--open, 1))) rotate(calc(-2deg - 5deg * var(--open, 1))); }
  .showcase__card--right { transform: translate(-50%, -50%) translateX(calc(8% + 30% * var(--open, 1))) translateY(calc(6% * var(--open, 1))) rotate(calc(2deg + 5deg * var(--open, 1))); }
  /* Navegadores com animação ligada à rolagem: o --open é animado junto com o scroll */
  @supports (animation-timeline: view()) {
    .showcase { animation: fan-open linear both; animation-timeline: view(); animation-range: cover 0% cover 55vh; }
  }
}

@media (max-width: 640px) {
  .nav { gap: 12px; padding-left: 18px; }
  .nav__links { display: none; }
  .nav__logo { padding-right: 12px; }
  .hero { padding-top: 120px; padding-bottom: 40px; }
  .showcase { margin-top: 28px; aspect-ratio: 1 / .72; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn--primary { padding-left: 22px; font-size: 14px; }
  .btn--ghost { font-size: 14px; }
  .hero__ctas .btn { width: min(100%, 270px); }
  .section { padding: 72px 0; }
  .marquees { height: 130px; margin: 0; }
  .marquee { padding: 12px 0; }
  .trust { padding-top: 190px; padding-bottom: 110px; }
  .trust__orbits, .trust__people { top: 420px; scale: .48; }
  /* balões um pouco menores para caberem lado a lado sem encostar */
  .trust__bubble { scale: 1.85; }
  .trust__bubble--1 { left: 105px; }
  .trust__bubble--3 { left: -128px; }
  .trust__card { margin-top: 90px; padding: 60px 22px 26px; }
  .trust__lead { font-size: 19px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* Celulares bem estreitos (até 359px): depoimentos um pouco menores e só 2 balões */
@media (max-width: 359px) {
  .trust__orbits, .trust__people { scale: .42; }
  .trust__bubble { scale: 2.1; }
  .trust__bubble--1 { left: 80px; top: -690px; }
  .trust__bubble--2 { top: -725px; }
  .trust__bubble--3 { display: none; }
}
