:root {
  --ink: #111111;
  --bone: #f3f0eb;
  --paper: #e7e2da;
  --red: #b51f25;
  --muted: #5a5550;
  --line: rgba(17, 17, 17, 0.18);
  --white-line: rgba(255, 255, 255, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bone);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

::selection {
  background: var(--red);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--red);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  caret-color: var(--red);
}

.skip {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  background: #ffffff;
  color: var(--ink);
  padding: 0.7rem 1rem;
}

.skip:focus {
  top: 1rem;
}

.shell {
  width: min(1380px, calc(100% - 64px));
  margin: auto;
}

.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  color: #ffffff;
  transition: transform 450ms cubic-bezier(0.22, 0.7, 0.2, 1), background-color 350ms ease;
}

.masthead.is-scrolled {
  background: rgba(17, 17, 17, 0.96);
}

.masthead.is-hidden {
  transform: translate3d(0, -100%, 0);
}

html {
  scroll-padding-top: 76px;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 26px 0;
}

.brand {
  color: inherit;
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: #ece8e4;
  font-size: 13px;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-links .nav-cta {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.68);
  padding: 8px 12px;
}

.menu-button {
  display: none;
}

.nav > .nav-links {
  grid-column: 2;
  grid-row: 1;
}

.nav-tools {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.lang {
  position: relative;
}

.lang > summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  list-style: none;
  padding: 0 10px;
  user-select: none;
}

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

.lang > summary::after {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  margin: -3px 0 0 2px;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.lang[open] > summary::after {
  margin-top: 2px;
  transform: rotate(-135deg);
}

.lang > summary:hover,
.lang[open] > summary {
  background: rgba(255, 255, 255, 0.12);
}

.lang > summary:focus-visible,
.lang-list a:focus-visible,
.menu-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.flag {
  display: block;
  width: 20px;
  height: 14px;
  flex: none;
  outline: 1px solid rgba(255, 255, 255, 0.28);
}

.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  min-width: 176px;
  margin: 0;
  border: 1px solid var(--white-line);
  background: var(--ink);
  list-style: none;
  padding: 6px 0;
}

.lang-list a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: #ece8e4;
  font-size: 14px;
  padding: 0 14px;
  text-decoration: none;
}

.lang-list a:hover {
  background: var(--red);
  color: #ffffff;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 18px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-2px);
}

.button.dark:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background: var(--ink);
  color: #ffffff;
}

.hero-grid {
  display: grid;
  min-height: 820px;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 168px 0 76px;
}

.eyebrow,
.label,
.city-note {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 28px;
  color: #d9d4cf;
}

.hero h1,
.display {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.96;
}

.hero h1 {
  max-width: 850px;
  font-size: 86px;
}

.hero-sub {
  max-width: 475px;
  margin: 34px 0 28px;
  color: #dbd6d2;
  font-size: 18px;
}

.trust-note {
  margin: 22px 0 0;
  color: #d8d1cc;
  font-size: 13px;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  overflow: hidden;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(17, 17, 17, 0.44) 30%, rgba(17, 17, 17, 0) 68%);
  content: "";
}

.hero-code {
  position: absolute;
  right: 0;
  bottom: 24px;
  z-index: 3;
  color: #d7d2ce;
  font-size: 11px;
  writing-mode: vertical-rl;
}

.section {
  padding: 116px 0;
}

.section.compact {
  padding: 92px 0;
}

.display {
  max-width: 860px;
  font-size: 64px;
}

.section-copy {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.split-intro {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 8vw;
  align-items: start;
}

.label {
  color: var(--red);
  padding-top: 10px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit {
  min-height: 210px;
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.benefit:nth-child(2),
.benefit:last-child {
  padding-left: 28px;
}

.benefit:last-child {
  border-right: 0;
}

.benefit span,
.step span,
.solution-point span {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.benefit h3,
.step h3,
.solution-point h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.08;
}

.benefit p,
.step p,
.solution-point p {
  margin: 16px 0 0;
  color: var(--muted);
}

.problem {
  display: grid;
  min-height: 650px;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: #ffffff;
}

.problem-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 9vw, 132px);
}

.problem-copy .display {
  font-size: 62px;
}

.problem-copy p {
  max-width: 470px;
  margin: 30px 0 0;
  color: #d8d4d0;
  font-size: 18px;
}

.feature-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--paper);
}

.feature-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-visual::after {
  position: absolute;
  right: 40px;
  bottom: 40px;
  width: 165px;
  height: 165px;
  border: 1px solid rgba(181, 31, 37, 0.55);
  border-radius: 50%;
  content: "";
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: end;
}

.solution-points {
  border-top: 1px solid var(--line);
}

.solution-point {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.steps {
  background: var(--paper);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.step {
  min-height: 245px;
  padding: 28px 24px 0 0;
  border-right: 1px solid var(--line);
}

.step:not(:first-child) {
  padding-left: 24px;
}

.step:last-child {
  border-right: 0;
}

.testimonial-area {
  padding: 116px 0 104px;
}

.testimonial-top {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 50px;
}

.rating {
  min-width: 225px;
  text-align: right;
  font-size: 14px;
}

.rating strong {
  display: block;
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
}

.rating span {
  display: block;
  line-height: 1.45;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 5vw;
  border-top: 1px solid var(--ink);
  padding-top: 30px;
}

.lead-quote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.02;
}

.quote-meta {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.quote-meta b {
  color: var(--ink);
}

.quote-column {
  display: grid;
  gap: 34px;
  padding-top: 6px;
}

.quote-column blockquote {
  margin: 0;
  border-left: 1px solid var(--red);
  padding-left: 20px;
}

.quote-column p {
  margin: 0;
  font-size: 20px;
  line-height: 1.28;
}

.quote-column footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.gallery-note {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.provider {
  background: var(--paper);
}

.provider-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.provider-photo {
  min-height: 640px;
  overflow: hidden;
}

.provider-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.provider-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 9vw, 136px);
}

.provider-copy p {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.credential-list,
.offer-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.credential-list li,
.offer-list li {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  font-size: 14px;
}

.booking {
  background: var(--red);
  color: #ffffff;
  padding: 116px 0;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 8vw;
}

.booking .display {
  max-width: 570px;
}

.booking-intro p {
  max-width: 430px;
  margin: 28px 0 0;
  color: #f4d9d8;
  font-size: 18px;
}

.booking .offer-list {
  border-top-color: var(--white-line);
}

.booking .offer-list li {
  border-bottom-color: var(--white-line);
}

.location-note {
  margin: 24px 0 0;
  color: #f4d9d8;
  font-size: 13px;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  align-content: start;
}

.field {
  display: grid;
  gap: 8px;
}

.field.message,
.form-note {
  grid-column: span 2;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  padding: 0;
}

.field textarea {
  min-height: 104px;
  padding-top: 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.booking-form .button {
  width: max-content;
  margin-top: 10px;
  border-color: #ffffff;
  background: #ffffff;
  color: var(--red);
}

.form-note {
  margin: 0;
  color: #f4d9d8;
  font-size: 12px;
}

.faq {
  padding: 110px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 8vw;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 23px 35px 23px 0;
  font-size: 21px;
  font-weight: 700;
}

summary::after {
  position: absolute;
  right: 2px;
  color: var(--red);
  content: "+";
  font-size: 25px;
  font-weight: 400;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 620px;
  margin: 0;
  padding: 0 26px 24px 0;
  color: var(--muted);
}

.final-cta {
  background: var(--ink);
  color: #ffffff;
  padding: 104px 0;
}

.final-cta-grid {
  display: flex;
  gap: 34px;
  align-items: end;
  justify-content: space-between;
}

.final-cta p {
  max-width: 430px;
  margin: 24px 0 0;
  color: #d8d4d0;
  font-size: 18px;
}

.footer {
  background: var(--ink);
  color: #ffffff;
  border-top: 1px solid var(--white-line);
  padding: 36px 0;
}

.footer-grid {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
}

.footer p {
  margin: 8px 0 0;
  color: #bbb5af;
  font-size: 12px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  margin: -1px;
  padding: 0;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .nav {
    column-gap: 14px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .nav-links .nav-cta {
    padding: 7px 9px;
  }
}

@media (max-width: 1080px) {
  .hero h1 {
    font-size: 68px;
  }

  .display,
  .problem-copy .display {
    font-size: 54px;
  }

  .step-list {
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .step:nth-child(2) {
    border-right: 0;
  }

  .step:nth-child(3),
  .step:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 36px, 620px);
  }

  .masthead {
    position: sticky;
    top: 0;
    inset: 0 0 auto;
    background: var(--ink);
  }

  .nav {
    grid-template-columns: 1fr auto;
    padding: 19px 0;
  }

  .nav-tools {
    grid-column: 2;
  }

  .nav > .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .nav-links .nav-cta {
    width: max-content;
    margin: 9px 0 0;
  }

  .menu-button {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: none;
    color: #ffffff;
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    display: block;
  }

  .hero-copy {
    min-height: 510px;
    padding: 72px 0 62px;
  }

  .hero h1 {
    font-size: 56px;
    line-height: 0.98;
  }

  .hero-sub {
    max-width: 320px;
    margin: 28px 0 24px;
    font-size: 16px;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: 610px;
  }

  .hero-image::after {
    background: linear-gradient(0deg, var(--ink) 0%, rgba(17, 17, 17, 0) 32%);
  }

  .hero-code {
    display: none;
  }

  .section,
  .section.compact,
  .testimonial-area,
  .booking,
  .faq,
  .final-cta {
    padding: 76px 0;
  }

  .display,
  .problem-copy .display {
    font-size: 45px;
    line-height: 1;
  }

  .split-intro,
  .solution-grid,
  .provider-grid,
  .booking-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .label {
    padding-top: 0;
  }

  .benefit-list,
  .step-list {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .benefit,
  .benefit:nth-child(2),
  .benefit:last-child,
  .step,
  .step:not(:first-child) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
  }

  .step:nth-child(3),
  .step:nth-child(4) {
    border-top: 0;
  }

  .problem {
    grid-template-columns: 1fr;
  }

  .problem-copy {
    padding: 72px 28px;
  }

  .feature-visual {
    min-height: 430px;
  }

  .testimonial-top {
    display: block;
    margin-bottom: 36px;
  }

  .rating {
    min-width: 0;
    margin-top: 22px;
    text-align: left;
  }

  .quote-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lead-quote {
    font-size: 38px;
  }

  .provider-photo {
    min-height: 500px;
  }

  .provider-copy {
    padding: 64px 28px;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .field.message,
  .form-note {
    grid-column: auto;
  }

  .final-cta-grid,
  .footer-grid {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 48px;
  }

  .display,
  .problem-copy .display {
    font-size: 38px;
  }

  .rating strong {
    font-size: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}

/* ==========================================================================
   Movimento (script.js). Tudo sob .js: sem JavaScript, ou com movimento
   reduzido, o conteúdo aparece direto e nada anima.
   Só transform, opacity, clip-path e scale/translate animam.
   ========================================================================== */
:root {
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

@media (min-width: 801px) {
  .nav {
    transition: padding 350ms var(--ease);
  }

  .masthead.is-scrolled .nav {
    padding: 14px 0;
  }
}

/* Voltar ao topo */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  padding: 0;
  transform: translate3d(0, 16px, 0) scale(0.9);
  transition: opacity 300ms ease, transform 400ms var(--ease), background-color 200ms ease, visibility 0s linear 400ms;
  visibility: hidden;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
  visibility: visible;
}

.to-top:hover {
  background: var(--red);
  transform: translate3d(0, -3px, 0);
}

.to-top:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.to-top svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.to-top .ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 2.5;
}

.to-top .ring-fill {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-width: 2.5;
  stroke-dasharray: 144.5;
  stroke-dashoffset: 144.5;
}

.to-top:hover .ring-fill {
  stroke: #ffffff;
}

.to-top .arrow {
  position: relative;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transform: none;
  transition: transform 300ms var(--ease);
}

.to-top:hover .arrow {
  transform: translate3d(0, -3px, 0);
}

/* Hover e foco */
.button:active {
  transform: translateY(0) scale(0.98);
}

.button:focus-visible,
.nav-links a:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.benefit,
.step,
.solution-point {
  transition: background-color 400ms ease;
}

.benefit span,
.step span,
.solution-point span {
  transition: transform 400ms var(--ease);
}

.benefit:hover span,
.step:hover span,
.solution-point:hover span {
  transform: translate3d(8px, 0, 0);
}

.benefit:hover,
.step:hover {
  background: rgba(17, 17, 17, 0.035);
}

.feature-visual img,
.provider-photo img {
  transition: scale 1.4s var(--ease);
}

.feature-visual:hover img,
.provider-photo:hover img {
  scale: 1.04;
}

details[open] p {
  animation: faq-in 500ms var(--ease);
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
  }
}

summary::after {
  transition: transform 350ms var(--ease);
}

details[open] summary::after {
  transform: rotate(180deg);
}

/* Faixa de destaques em movimento (criada pelo script) */
.ticker {
  overflow: hidden;
  background: var(--red);
  color: #ffffff;
  padding: 24px 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  will-change: transform;
}

.ticker.is-live .ticker-track {
  animation: ticker 46s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  padding: 0 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.1;
}

.ticker-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #ffffff;
}

@keyframes ticker {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Entrada do hero */
.js .hero-copy > :not(h1),
.js .hero-code {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}

.js.is-ready .hero-copy > :not(h1),
.js.is-ready .hero-code {
  opacity: 1;
  transform: none;
  transition: opacity 900ms var(--ease) calc(700ms + var(--i, 0) * 110ms), transform 900ms var(--ease) calc(700ms + var(--i, 0) * 110ms);
}

/* Cena 1: a câmera recua. O JS escreve --zoom (close nos lábios -> rosto inteiro) conforme a rolagem. */
.js .hero-image img {
  scale: var(--zoom, 2.5);
  transform-origin: 54% 40%;
  translate: 0 var(--py, 0px);
  transition: scale 1.8s var(--ease);
  will-change: scale, translate;
}

.js .hero-image.is-live img {
  transition: none;
}

.js .hero-copy {
  translate: 0 calc(var(--hp, 0) * -44px);
  opacity: calc(1 - var(--hp, 0) * 0.65);
}

.js .hero-image::after {
  transition: opacity 1.6s ease;
}

.js:not(.is-ready) .hero-image::after {
  opacity: 0;
}

/* Títulos palavra por palavra */
.w {
  display: inline-block;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  overflow: hidden;
  vertical-align: top;
}

.w > span {
  display: inline-block;
  transform: translate3d(0, 108%, 0);
  transition: transform 1s var(--ease) calc(var(--i, 0) * 60ms);
}

.is-ready .hero h1 .w > span,
.is-in .w > span,
.w.is-in > span {
  transform: none;
}

.hero h1 .w > span {
  transition-delay: calc(200ms + var(--i, 0) * 80ms);
}

/* Revelação ao rolar */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 900ms var(--ease) var(--d, 0ms), transform 900ms var(--ease) var(--d, 0ms), background-color 400ms ease;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js [data-reveal="image"] {
  opacity: 1;
  transform: none;
}

.js [data-reveal="image"] img {
  clip-path: inset(0 0 100% 0);
  scale: 1.2;
  transition: clip-path 1.3s var(--ease), scale 1.8s var(--ease);
}

.js [data-reveal="image"].is-in img {
  clip-path: inset(0);
  scale: 1;
}

.js .feature-visual.is-in:hover img,
.js .provider-photo.is-in:hover img {
  scale: 1.04;
}

/* Passos: a linha vermelha se preenche */
.step {
  position: relative;
}

.step::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) var(--d, 0ms);
}

.js .step.is-in::before {
  transform: scaleX(1);
}

html:not(.js) .step::before {
  transform: scaleX(1);
}

@media (max-width: 800px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .ticker {
    padding: 18px 0;
  }

  .ticker-item {
    padding: 0 24px;
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .masthead,
  .nav,
  .to-top,
  .benefit,
  .step,
  .solution-point,
  .feature-visual img,
  .provider-photo img,
  details[open] p {
    animation: none;
    transition: none;
  }

  .benefit:hover span,
  .step:hover span,
  .solution-point:hover span,
  .feature-visual:hover img,
  .provider-photo:hover img {
    scale: none;
    transform: none;
  }

  .step::before {
    transform: scaleX(1);
    transition: none;
  }
}
