@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("fonts/NeueHaasDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-light: #f1f1f1;
  --bg-dark: #1c1c1c;
  --accent: #5c1a1b;
  --line: rgba(28, 28, 28, 0.18);
  --line-on-dark: rgba(241, 241, 241, 0.18);
  --gutter: clamp(20px, 4vw, 56px);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-light);
  color: var(--bg-dark);
  font-weight: 500;
  font-feature-settings: "ss01", "kern";
  /* Global tight tracking — editorial brutalist baseline (~-2px on 16px) */
  letter-spacing: -0.02em;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: var(--bg-light);
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.mono {
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 11px;
}

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

.section {
  padding-block: clamp(80px, 10vw, 140px);
  position: relative;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--bg-light);
}

.section--accent {
  background: var(--accent);
  color: var(--bg-light);
}

.label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(36px, 5vw, 64px);
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.label-row::before {
  content: "#";
  opacity: 0.5;
}

/* ────────────────────────────────────────────────  NAV  */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: var(--bg-dark);
  color: var(--bg-light);
  border-bottom: 1px solid var(--line-on-dark);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav.nav--light {
  background: var(--bg-light);
  color: var(--bg-dark);
  border-bottom-color: var(--line);
}

.nav__brand {
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.nav__brand span {
  opacity: 0.6;
}

.nav__menu {
  display: flex;
  gap: 28px;
  list-style: none;
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav__menu a {
  position: relative;
  padding-bottom: 2px;
  opacity: 0.9;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__menu a:hover {
  opacity: 1;
}

.nav__menu a:hover::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 28px;
  height: 18px;
  position: relative;
}

.nav__toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__toggle span:nth-child(3) { bottom: 0; }

.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ────────────────────────────────────────────────  HERO  */

.hero {
  min-height: 100svh;
  background: var(--bg-dark);
  color: var(--bg-light);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 90px var(--gutter) 0;
  overflow: hidden;
  isolation: isolate;
}

/* Background photo — covers hero. z-index 0 (NOT -1) so blend modes
   in this stacking context can target it as backdrop. */
.hero__bg {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  bottom: -10%;
  z-index: 0;
  will-change: transform;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  will-change: transform;
}

.hero__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding-block: clamp(20px, 3vw, 36px);
  /* NO z-index here — would create stacking context and break mix-blend-mode
     on child text by isolating it from the bg photo backdrop */
  position: relative;
}

/* TAGLINE — big editorial size with negative blend over the photo.
   mix-blend-mode: difference inverts text color against backdrop:
   on bright bg areas → text appears dark, on dark areas → text appears light. */
.hero__tagline {
  font-size: clamp(28px, 3.4vw, 56px);
  max-width: 22ch;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  mix-blend-mode: difference;
  font-weight: 500;
  position: relative;
  isolation: auto;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: #fff;
  mix-blend-mode: difference;
}

.hero__meta-mark {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero__wordmark {
  /* NO z-index — same reason as .hero__top.
     The CTA (which can't blend) is wrapped in its own positioned element. */
  position: relative;
  padding-block: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

/* WORDMARK — negative blend so letters "cut" into the photo behind */
.hero__wordmark-text {
  font-size: clamp(56px, 10.8vw, 210px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
  mix-blend-mode: difference;
  margin: 0;
}

.hero__wordmark sup {
  font-size: 0.18em;
  vertical-align: top;
  margin-left: 0.04em;
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  opacity: 0.6;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--bg-light);
  background: rgba(28, 28, 28, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero__cta:hover {
  background: var(--bg-light);
  color: var(--bg-dark);
}

.hero__cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.hero__cta:hover .hero__cta-arrow {
  transform: translate(2px, -2px);
}

/* ────────────────────────────────────────────────  PRICE BAR  */

.price-bar {
  background: var(--accent);
  color: var(--bg-light);
  padding: clamp(40px, 5vw, 80px) var(--gutter);
  border-block: 1px solid rgba(241, 241, 241, 0.15);
}

.price-bar__inner {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.price-bar__supporting {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.5;
  max-width: 42ch;
}

.price-bar__headline {
  font-size: clamp(34px, 5vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.price-bar__headline span {
  opacity: 0.55;
  display: block;
}

/* ────────────────────────────────────────────────  BALCÃO  */
/*
   Cream bg + transparent chef PNG on right (looks up into the headline).
   Headline sits on left and overlaps photo at the apex letters.
*/

.balcao {
  position: relative;
  padding: clamp(100px, 14vw, 180px) var(--gutter);
  background: #f3efe6; /* warm cream — matches Figma reference */
  color: var(--bg-dark);
  overflow: hidden;
  isolation: isolate;
}

.balcao__chef {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  display: block;
  width: 62%;
  max-width: 920px;
  height: auto;
}

.balcao__chef img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  display: block;
  /* Subtle fade-in on right edge to soften crop */
  -webkit-mask-image: linear-gradient(270deg, #000 88%, transparent 100%);
          mask-image: linear-gradient(270deg, #000 88%, transparent 100%);
}

.balcao__content {
  /* NO z-index — would isolate headline blend mode from chef photo backdrop.
     Stays in normal flow above chef PNG via DOM order. */
  position: relative;
  max-width: 1100px;
}

.balcao__headline {
  font-size: clamp(44px, 8vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-bottom: clamp(40px, 5vw, 56px);
  font-weight: 500;
  /* NO z-index — must NOT create new stacking context for mix-blend-mode to
     blend against the chef PNG in the parent .balcao's stacking context. */
  color: #fff;
  mix-blend-mode: difference;
}

.balcao__body {
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.balcao__body p + p {
  margin-top: 18px;
}

.balcao__cta {
  position: relative;
  z-index: 3;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--bg-dark);
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-ghost:hover {
  background: var(--bg-dark);
  color: var(--bg-light);
}

.btn-ghost--light {
  border-color: var(--bg-light);
}

.btn-ghost--light:hover {
  background: var(--bg-light);
  color: var(--bg-dark);
}

/* ────────────────────────────────────────────────  SERVICES  */

.services__heading {
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: clamp(60px, 8vw, 100px);
  font-weight: 500;
}

.services__list {
  list-style: none;
  border-top: 1px solid var(--line-on-dark);
}

/*
  Service row layout: number | name | description
  REVEAL ON HOVER:
  - By default: only number + name visible. Description is collapsed/hidden.
  - On hovering the row: description fades and slides in smoothly.
  - Number turns accent color, name nudges right.
  - No permanent blur — clean editorial list by default.
*/
.service {
  display: grid;
  grid-template-columns: 72px 1.1fr 1.6fr;
  gap: clamp(20px, 4vw, 60px);
  padding-block: clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--line-on-dark);
  align-items: center;
  position: relative;
  transition:
    padding-inline 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s ease;
  cursor: default;
}

.service:hover,
.service:focus-within {
  padding-inline: clamp(12px, 2vw, 28px) 0;
  background: linear-gradient(
    90deg,
    rgba(241, 241, 241, 0.04) 0%,
    rgba(241, 241, 241, 0) 60%
  );
}

.service__num {
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  opacity: 0.55;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.service:hover .service__num,
.service:focus-within .service__num {
  opacity: 1;
  color: var(--accent);
}

.service__name {
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service:hover .service__name,
.service:focus-within .service__name {
  transform: translateX(6px);
}

/* Description — HIDDEN by default, smoothly fades in on row hover */
.service__desc {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.5;
  max-width: 56ch;
  opacity: 0;
  transform: translateX(-8px);
  filter: blur(6px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.service:hover .service__desc,
.service:focus-within .service__desc {
  opacity: 1;
  transform: none;
  filter: blur(0);
  pointer-events: auto;
  transition-delay: 0.08s;
}

/* Reduced motion — show always, no animation */
@media (prefers-reduced-motion: reduce) {
  .service__desc { opacity: 0.78; filter: none; transform: none; }
  .service:hover .service__name,
  .service:focus-within .service__name { transform: none; }
}

/* ────────────────────────────────────────────────  METHOD  */

.method__heading {
  font-size: clamp(72px, 16vw, 260px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-bottom: clamp(40px, 5vw, 64px);
  text-align: center;
}

.method__intro {
  max-width: 56ch;
  margin: 0 auto clamp(60px, 8vw, 100px);
  text-align: center;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}

.method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method__step {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}

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

.method__step-num {
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

.method__step-title {
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.method__step-desc {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  opacity: 0.75;
}

/* ────────────────────────────────────────────────  CASES  */

.cases__heading {
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 16ch;
}

/* ────────────────────────────────────────────────  INFINITE CAROUSEL  */
.cases-carousel {
  overflow: hidden;
  width: 100%;
  padding-block: clamp(20px, 3vw, 40px);
  /* Fade out edges so slides appear/disappear smoothly */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
          mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

.cases-carousel__track {
  display: flex;
  gap: 24px;
  width: max-content;
  /* 12 unique slides + 12 duplicates = ~9000px track. ~80s feels natural. */
  animation: cases-scroll 80s linear infinite;
  will-change: transform;
}

.cases-carousel:hover .cases-carousel__track {
  animation-play-state: paused;
}

.case-slide {
  display: block;
  flex: 0 0 auto;
  width: 350px;
  height: 550px;
  overflow: hidden;
  position: relative;
  background: #1c1c1c;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-slide:hover img {
  transform: scale(1.04);
}

/*
  Track = 12 slides * (350 + 24 gap) = 4488px wide.
  Animate from 0 to -50% (half the track = back to original position).
  Because slides 7-12 duplicate slides 1-6, the loop is seamless.
*/
@keyframes cases-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .cases-carousel__track { animation: none; }
}

/* ────────────────────────────────────────────────  QUEM SOU  */
/*
   Layout matches Figma reference exactly:
   - Photo of Marcus B&W as full-bleed background
   - "// QUEM SOU EU" label top-left (mono)
   - HUGE "MARCUS RIBEIRO©" at TOP, white with mix-blend-mode: difference
     so it cuts into the photo (negativo)
   - Bio paragraphs centered at the BOTTOM in white
*/

.quemsou {
  position: relative;
  min-height: 100svh;
  padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(40px, 5vw, 64px);
  background: #000;
  color: var(--bg-light);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(24px, 4vw, 56px);
}

/* Full-bleed photo */
.quemsou__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.quemsou__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(1) contrast(1.05);
}

/* Subtle bottom gradient so the bio text reads cleanly over photo */
.quemsou::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,0.5) 85%,
    rgba(0,0,0,0.85) 100%
  );
  pointer-events: none;
}

/* Label top-left */
.quemsou__label {
  position: relative;
  z-index: 3;
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  mix-blend-mode: difference;
  align-self: start;
}

/* HUGE name with negative blend — cuts through photo */
.quemsou__name {
  position: relative;
  z-index: 3;
  font-size: clamp(56px, 11.5vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: #fff;
  mix-blend-mode: difference;
  align-self: start;
  margin: 0;
  white-space: nowrap;
}

.quemsou__name sup {
  font-size: 0.14em;
  vertical-align: top;
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  margin-left: 0.04em;
  opacity: 0.7;
}

/* Bio centered at bottom */
.quemsou__bio {
  position: relative;
  z-index: 3;
  align-self: end;
  text-align: center;
  max-width: 56ch;
  margin: 0 auto;
  color: #fff;
}

.quemsou__bio p {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.quemsou__bio p + p {
  margin-top: 16px;
}

/* Desktop — bigger bio, tall section. Placed AFTER base rules so cascade wins. */
@media (min-width: 961px) {
  .quemsou {
    min-height: 1400px;
    max-height: 1500px;
    padding: 40px var(--gutter) clamp(80px, 8vw, 120px);
  }
  .quemsou__bio {
    max-width: min(900px, 70vw);
  }
  .quemsou__bio p {
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: -0.025em;
  }
  .quemsou__bio p + p {
    margin-top: 28px;
  }
}

/* ────────────────────────────────────────────────  TESTIMONIAL  */

.testimonial {
  background: var(--bg-light);
  color: var(--bg-dark);
  padding-block: clamp(80px, 10vw, 140px);
}

.testimonial__quote {
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 30ch;
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
}

.testimonial__quote::before { content: "\201C"; opacity: 0.4; margin-right: 0.05em;}
.testimonial__quote::after { content: "\201D"; opacity: 0.4; margin-left: 0.05em;}

.testimonial__author {
  margin: clamp(40px, 5vw, 64px) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial__author figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}

.testimonial__author figcaption strong {
  font-size: 15px;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.testimonial__author figcaption span {
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
  margin-top: 4px;
}

/* ────────────────────────────────────────────────  FORM  */

.form-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.form-section__intro h2 {
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.form-section__intro p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  max-width: 42ch;
  opacity: 0.8;
}

.form {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-on-dark);
}

.form__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-on-dark);
  align-items: baseline;
}

.form__row label {
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  padding-top: 6px;
}

.form__row input,
.form__row textarea,
.form__row select {
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: clamp(15px, 1.1vw, 17px);
  outline: none;
  padding: 4px 0;
  resize: vertical;
}

.form__row textarea {
  min-height: 96px;
}

.form__row input::placeholder,
.form__row textarea::placeholder {
  color: rgba(241, 241, 241, 0.35);
}

.form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 18px 28px;
  background: var(--bg-light);
  color: var(--bg-dark);
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, color 0.25s ease;
  border: 1px solid var(--bg-light);
  align-self: flex-start;
}

.form__submit:hover {
  background: transparent;
  color: var(--bg-light);
}

.form__hint {
  margin-top: 16px;
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
}

/* ────────────────────────────────────────────────  FOOTER  */

.footer {
  background: var(--bg-dark);
  color: var(--bg-light);
  padding-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line-on-dark);
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 0 var(--gutter) clamp(40px, 5vw, 60px);
  align-items: start;
}

.footer__col h4 {
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer__col a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__marquee {
  border-top: 1px solid var(--line-on-dark);
  overflow: hidden;
  padding-block: clamp(20px, 3vw, 40px);
  position: relative;
}

.footer__marquee-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.footer__marquee-track span sup {
  font-size: 0.18em;
  vertical-align: top;
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  opacity: 0.6;
  margin-left: 0.04em;
}

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

.footer__legal {
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.55;
  border-top: 1px solid var(--line-on-dark);
  flex-wrap: wrap;
}

/* ────────────────────────────────────────────────  REVEAL  */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ────────────────────────────────────────────────  FILL ON SCROLL  */
/*
   Big headlines fill with accent color as user scrolls through them.
   Driven by --fill (0–1) set by JS via getBoundingClientRect.
   When the headline is split into words (via JS for word-by-word reveal),
   the per-word .word > span carries the gradient so transforms don't break it.
*/
[data-fill] {
  --fill: 0;
}

[data-fill],
[data-fill] .word > span {
  background-image: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) calc(var(--fill) * 100%),
    rgba(28, 28, 28, 0.18) calc(var(--fill) * 100%),
    rgba(28, 28, 28, 0.18) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: none;
}

/* On dark sections, the unfilled portion needs to be light-on-dark */
.section--dark [data-fill],
.hero [data-fill],
.section--dark [data-fill] .word > span,
.hero [data-fill] .word > span {
  background-image: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) calc(var(--fill) * 100%),
    rgba(241, 241, 241, 0.22) calc(var(--fill) * 100%),
    rgba(241, 241, 241, 0.22) 100%
  );
}

/* Variant: fill with light (off-white) on dark sections instead of accent */
[data-fill="light"] {
  background-image: linear-gradient(
    90deg,
    var(--bg-light) 0%,
    var(--bg-light) calc(var(--fill) * 100%),
    rgba(241, 241, 241, 0.22) calc(var(--fill) * 100%),
    rgba(241, 241, 241, 0.22) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  [data-fill] { --fill: 1; }
}

/* ────────────────────────────────────────────────  RESPONSIVE  */

/* Tablet (721–960) */
@media (max-width: 960px) {
  .hero__top { grid-template-columns: 1fr 1fr; }

  .hero__wordmark {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .hero__wordmark-text {
    font-size: 17vw;
    white-space: normal;
    word-break: break-word;
    line-height: 0.85;
  }

  .price-bar__inner { grid-template-columns: 1fr; gap: 24px; }

  /* Balcão — chef on the side, slightly smaller for tablet */
  .balcao__chef { width: 56%; opacity: 0.9; }

  .service { grid-template-columns: 60px 1.1fr 1.5fr; }

  .method__steps { grid-template-columns: repeat(2, 1fr); }
  .method__step:nth-child(2) { border-right: 0; }
  .method__step:nth-child(1),
  .method__step:nth-child(2) { border-bottom: 1px solid var(--line); }

  .cases__grid { grid-template-columns: repeat(2, 1fr); }

  .quemsou__inner { max-width: 100%; }

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

  .footer__top { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* Mobile (≤720) */

@media (max-width: 720px) {
  .service { grid-template-columns: 50px 1fr; align-items: start; }
  .service__desc {
    grid-column: 2;
    /* Touch devices have no hover — show desc by default */
    opacity: 0.78;
    transform: none;
    filter: none;
    pointer-events: auto;
    margin-top: 12px;
  }

  .form__row { grid-template-columns: 1fr; gap: 8px; }
  .form__row label { padding-top: 0; }

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

  /* Balcão mobile — content stacked above, chef as full-width image BELOW.
     Use flex column-reverse to put DOM-first chef AFTER content visually. */
  .balcao {
    padding-bottom: 0;
    display: flex;
    flex-direction: column-reverse;
  }
  .balcao__chef {
    position: relative;
    inset: auto;
    /* True full-bleed: width = 100% of parent + the two gutters we want to bleed past */
    width: calc(100% + var(--gutter) * 2);
    max-width: none;
    margin: 40px calc(var(--gutter) * -1) 0;
    display: block;
  }
  .balcao__chef img {
    width: 100%;
    height: auto;
    object-fit: cover;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .balcao__headline {
    font-size: 14vw;
    /* On mobile no chef behind headline so blend has no effect anyway.
       Use solid dark for cleaner reading. */
    color: var(--bg-dark);
    mix-blend-mode: normal;
  }

  /* Quem sou mobile — bigger name, bigger bio, bio brought UP from bottom */
  .quemsou__name {
    font-size: 11.2vw;
    white-space: nowrap;
    letter-spacing: -0.05em;
  }
  .quemsou__bio {
    text-align: center;
    margin-bottom: 6vh;
  }
  .quemsou__bio p {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.018em;
  }
  .quemsou__label {
    font-size: 12px;
  }

  /* Stronger fade behind bio on mobile so the larger text reads cleanly */
  .quemsou::after {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 30%,
      rgba(0,0,0,0.5) 55%,
      rgba(0,0,0,0.88) 80%,
      rgba(0,0,0,1) 100%
    );
  }

  .nav__menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    color: var(--bg-light);
    flex-direction: column;
    padding: 48px var(--gutter);
    gap: 28px;
    font-size: 28px;
    font-family: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.02em;
    text-transform: none;
    transform: translateY(-101%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.4s;
    visibility: hidden;
    z-index: 99;
    border-bottom: 1px solid var(--line-on-dark);
  }

  .nav.is-open .nav__menu {
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
  }

  .nav__menu a {
    opacity: 1;
  }

  .nav.is-open .nav__menu {
    transform: none;
  }

  .nav__toggle { display: block; }

  /* Hero mobile — match reference: short poster-style aspect (~21:20),
     full-bleed photo with mix-blend-mode: difference text overlay
     (inherited from desktop), tagline top-left, meta bottom-right,
     wordmark one line at bottom, CTA hidden. */
  .hero {
    min-height: 0;
    aspect-ratio: 21 / 20;
    padding: 84px var(--gutter) clamp(18px, 4.5vw, 28px);
    justify-content: space-between;
  }

  /* Reset desktop positioning context so .hero__meta absolute is relative to .hero */
  .hero__top {
    position: static;
    grid-template-columns: 1fr;
    gap: 0;
    border-bottom: 0;
    padding-block: 0;
  }

  /* Tagline keeps desktop's mix-blend-mode: difference & color #fff.
     Only override sizing for mobile. */
  .hero__tagline {
    font-size: clamp(20px, 5.8vw, 32px);
    max-width: 22ch;
    line-height: 1.08;
  }

  /* Meta keeps desktop's mix-blend-mode: difference & color #fff.
     No z-index — would create stacking context that breaks the blend. */
  .hero__meta {
    position: absolute;
    right: var(--gutter);
    /* Wordmark below is ~12vw tall (1 line × line-height 0.88) + bottom padding */
    bottom: calc(12vw + clamp(20px, 4.5vw, 32px));
    align-items: flex-end;
    text-align: right;
    gap: 2px;
  }

  .hero__wordmark {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-block: 0;
  }

  /* Wordmark in one line — keeps desktop's mix-blend-mode: difference & color #fff */
  .hero__wordmark-text {
    font-size: 12vw;
    white-space: nowrap;
    word-break: normal;
    line-height: 0.88;
    letter-spacing: -0.05em;
  }

  .hero__cta {
    display: none;
  }

  /* Photo is nearly square — minimal cropping with this aspect-ratio container */
  .hero__bg img {
    object-position: center center;
  }
}

/* ════════════════════════════════════════════════════════════════════
   ANIMATIONS, MICRO-INTERACTIONS, CURSOR & SCROLL PROGRESS
   ════════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────  HERO ENTRANCE  */

@keyframes hero-bg-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

@keyframes char-rise {
  from {
    opacity: 0;
    transform: translateY(110%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tagline-failsafe {
  to { opacity: 1; }
}

.hero__bg img {
  animation: hero-bg-zoom 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Framer-style letter-by-letter reveal.
   .char spans are created by JS (splitTaglineIntoChars). Until JS runs,
   the failsafe animation reveals the tagline after 2.5s as a safety net. */
.hero__tagline {
  opacity: 0;
  animation: tagline-failsafe 0s 2.5s both;
}
.hero__tagline.is-ready {
  opacity: 1;
  animation: none;
}

.hero__tagline .line {
  display: block;
  overflow: hidden;
  line-height: 1;
  padding-bottom: 0.05em;
}
.hero__tagline .line > span {
  display: inline-block;
  line-height: 1.02;
  white-space: nowrap;
}

.hero__tagline .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
}
.hero__tagline.is-ready .char {
  animation: char-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__meta > span {
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__meta > span:nth-child(1) { animation-delay: 0.7s; }
.hero__meta > span:nth-child(2) { animation-delay: 0.8s; }
.hero__meta > span:nth-child(3) { animation-delay: 0.9s; }

.hero__wordmark-text {
  animation: fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.6s;
}

.hero__cta {
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1s;
}

/* ──────────────────────────────────────────────  REVEALS (refined)  */

[data-reveal] {
  filter: blur(6px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  filter: none;
}

/* ──────────────────────────────────────────────  MICRO-INTERACTIONS  */

/* Animated underline on nav and footer links */
.nav__menu a,
.footer__col a {
  position: relative;
  text-decoration: none;
}

.nav__menu a::after,
.footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__menu a:hover::after,
.footer__col a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Suppress nav underline on the mobile menu (would conflict with stacked layout) */
@media (max-width: 720px) {
  .nav__menu a::after { display: none; }
}

/* Smoother CTA hovers with lift */
.hero__cta,
.btn-ghost {
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .hero__cta:hover,
  .btn-ghost:hover {
    transform: translateY(-2px);
  }

  /* Case slides: smooth scale on hover */
  .case-slide {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .case-slide img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.5s ease;
  }
  .case-slide:hover {
    transform: translateY(-4px);
  }
  .case-slide:hover img {
    transform: scale(1.04);
    filter: brightness(1.05);
  }
}

/* ──────────────────────────────────────────────  CUSTOM CURSOR (knife)  */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: scale 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.3s ease,
              opacity 0.25s ease;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  mix-blend-mode: difference;
}

.cursor.is-hover {
  scale: 2.1;
  background-color: rgba(255, 255, 255, 0.12);
}

/* Cursor-attached image preview (services hover) */
.cursor-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 240px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  translate: -9999px -9999px;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  will-change: transform, opacity, translate;
}

.cursor-img.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (hover: none), (pointer: coarse) {
  .cursor-img { display: none !important; }
}

/* Coarse pointer / touch — disable custom cursor entirely */
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}

/* Native cursors are kept everywhere for clear affordance (default arrow on
   page, pointer/hand on links and buttons, I-beam in text fields). The custom
   ring is purely decorative — it follows the mouse and scales on hover, but
   never replaces the native cursor. This avoids the "where is my cursor" bug
   on subtle backgrounds and on form fields. */

/* ──────────────────────────────────────────────  SCROLL PROGRESS  */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 200;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.08s linear;
}

/* ──────────────────────────────────────────────  REDUCED MOTION  */

@media (prefers-reduced-motion: reduce) {
  .hero__bg img,
  .hero__tagline,
  .hero__tagline .char,
  .hero__meta > span,
  .hero__wordmark-text,
  .hero__cta {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .cursor,
  .cursor-img { display: none !important; }
  html, body, a, button { cursor: auto !important; }
}

/* ════════════════════════════════════════════════════════════════════
   PHASE 2 ANIMATIONS — word reveals, method sticky-scroll, label line
   ════════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────  WORD-BY-WORD HEADLINE  */

.balcao__headline .word,
.services__heading .word,
.method__heading .word,
.cases__heading .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* Padding extends the mask area beyond the line-height box so accents
     (Á, Ã, etc.) on top and descenders (g, p, ç) on bottom aren't clipped.
     Negative margins compensate so layout doesn't shift. */
  padding-top: 0.2em;
  margin-top: -0.2em;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
  line-height: inherit;
}

.balcao__headline .word > span,
.services__heading .word > span,
.method__heading .word > span,
.cases__heading .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--w-i, 0) * 80ms);
}

.balcao__headline.is-words-in .word > span,
.services__heading.is-words-in .word > span,
.method__heading.is-words-in .word > span,
.cases__heading.is-words-in .word > span {
  transform: translateY(0);
}

/* ──────────────────────────────────────────────  LABEL ROW — drawing line  */

.label-row {
  position: relative;
}

.label-row::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: currentColor;
  margin-left: 12px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
  vertical-align: middle;
  opacity: 0.6;
}

.label-row.is-visible::after {
  transform: scaleX(1);
}

/* ──────────────────────────────────────────────  MÉTODO — sticky-scroll  */

.method-section {
  /* Override default .section padding — the pin handles the spacing */
  padding: 0;
}

.method__pin {
  position: relative;
  height: 260vh;
}

.method__pin > .container {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(80px, 12vh, 140px);
}

/* Steps default to faded; active step is fully opaque */
.method-section .method__step {
  opacity: 0.22;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(1.5px);
}

.method-section .method__step.is-active {
  opacity: 1;
  filter: blur(0);
}

/* Disable sticky-scroll on mobile — steps stack normally */
@media (max-width: 720px) {
  .method-section {
    padding: clamp(60px, 9vw, 120px) 0;
  }
  .method__pin {
    height: auto;
  }
  .method__pin > .container {
    position: static;
    min-height: 0;
    padding-block: 0;
  }

  /* Mobile method = stacked vertical with timeline + per-step reveal */
  .method__steps {
    grid-template-columns: 1fr;
    border: 0;
    position: relative;
  }

  /* Always-visible vertical timeline line on the left */
  .method__steps::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
  }

  .method-section .method__step {
    border: 0;
    padding: clamp(40px, 8vw, 56px) 0 clamp(40px, 8vw, 56px) clamp(32px, 8vw, 48px);
    min-height: 60vh;
    justify-content: center;
    position: relative;
    /* Reveal state — fades + slides from left when entering viewport */
    opacity: 0;
    transform: translateX(-18px);
    filter: none;
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Dot on the timeline, aligned to the step's vertical center */
  .method-section .method__step::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 6px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1.5px solid var(--bg-dark);
    transition: background 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.6s ease;
    z-index: 1;
  }

  /* Revealed state — content visible, dot fills with accent */
  .method-section .method__step.is-step-in {
    opacity: 1;
    transform: none;
  }
  .method-section .method__step.is-step-in::before {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.25);
  }
}

/* ──────────────────────────────────────────────  REDUCED MOTION  */

@media (prefers-reduced-motion: reduce) {
  .balcao__headline .word > span,
  .services__heading .word > span,
  .method__heading .word > span,
  .cases__heading .word > span {
    transform: none !important;
    transition: none !important;
  }

  .label-row::after {
    transform: scaleX(1) !important;
    transition: none !important;
  }

  /* Keep method steps visible without sticky-scroll/timeline reveal */
  .method-section .method__step {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .method-section .method__step::before {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
  }
  .method__pin {
    height: auto !important;
  }
  .method__pin > .container {
    position: static !important;
    min-height: 0 !important;
  }
}

/* ──────────────────────────────────────────────  TESTIMONIAL QUOTE — char-by-char (matches hero) */

.testimonial__quote .q-word {
  display: inline-block;
  white-space: nowrap;
}

.testimonial__quote .q-char {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.testimonial__quote .q-char > span {
  display: inline-block;
  transform: translateY(110%);
  line-height: inherit;
}

.testimonial__quote.is-chars-in .q-char > span {
  animation: char-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--c-i, 0) * 15ms);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial__quote .q-char > span {
    transform: none !important;
    animation: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   PAGE: OBRIGADO (thank you)
   ════════════════════════════════════════════════════════════════════ */

.page-thanks {
  min-height: 100svh;
  background: var(--bg-light);
  color: var(--bg-dark);
}

.thanks {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(60px, 9vh, 100px);
}

.thanks__inner {
  width: 100%;
  max-width: 760px;
}

.thanks__headline {
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.thanks__copy {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.thanks__copy strong {
  color: var(--accent);
  font-weight: 500;
}

.thanks__copy--small {
  font-size: clamp(14px, 1.05vw, 16px);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: clamp(48px, 7vw, 72px);
  margin-bottom: clamp(16px, 2vw, 20px);
}

.thanks__channels {
  list-style: none;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(48px, 7vw, 80px);
}

.thanks__channels li {
  border-bottom: 1px solid var(--line);
}

.thanks__channels a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(22px, 2.8vw, 32px) 0;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  font-weight: 500;
  transition: padding-left 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.3s ease;
}

.thanks__channels a:hover {
  padding-left: 12px;
  color: var(--accent);
}

.thanks__channel-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.thanks__channel-arrow {
  font-size: 0.9em;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.thanks__channels a:hover .thanks__channel-arrow {
  transform: translate(4px, -4px);
}

.thanks__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  transition: opacity 0.3s ease, gap 0.3s ease;
}

.thanks__back:hover {
  opacity: 1;
  gap: 10px;
}
