/* ==========================================================================
   Aradí Martelo de Ouro — design tokens
   ========================================================================== */
:root {
  /* Color */
  --bg: #131209;
  --bg-elevated: #1f1f1f;
  --bg-elevated-2: #272727;
  --text: #ffffff;
  --text-muted: #b7b3aa;
  --text-faint: #7d7a72;
  --accent: #f5821f;
  --accent-dark: #c9661a;
  --accent-soft: rgba(245, 130, 31, 0.14);
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Type */
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;

  /* Spacing (fixed set, per design system) */
  --sp-0: 0;
  --sp-25: 2px;
  --sp-50: 4px;
  --sp-75: 8px;
  --sp-100: 12px;
  --sp-200: 16px;
  --sp-300: 24px;
  --sp-400: 32px;
  --sp-500: 40px;
  --sp-600: 48px;
  --sp-700: 64px;
  --sp-800: 80px;
  --sp-900: 96px;

  /* Radius */
  --r-sm: 2px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-full: 9999px;

  /* Motion */
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    /* This site ships dark-only by brand choice; kept intentionally identical. */
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--sp-300);
}

/* ==========================================================================
   Skip link
   ========================================================================== */
.skip-link {
  position: absolute;
  left: var(--sp-200);
  top: -100px;
  background: var(--accent);
  color: #131209;
  font-weight: 600;
  padding: var(--sp-100) var(--sp-200);
  border-radius: var(--r-md);
  z-index: 200;
  transition: top 300ms var(--ease-fluid);
}

.skip-link:focus {
  top: var(--sp-200);
}

/* ==========================================================================
   Focus states
   ========================================================================== */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ==========================================================================
   Nav — floating island
   ========================================================================== */
.nav-bar {
  position: fixed;
  top: var(--sp-300);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: var(--sp-200);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: var(--sp-300);
  background: rgba(31, 31, 31, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: var(--sp-75) var(--sp-100) var(--sp-75) var(--sp-200);
  width: max-content;
  max-width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-75);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

@media (min-width: 860px) {
  .nav-logo img {
    height: 48px;
  }
}

.nav-logo .mark {
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-300);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a {
  text-decoration: none;
  transition: color 400ms var(--ease-fluid);
}

.nav-links a:hover {
  color: var(--text);
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-cta {
  display: none;
}

@media (min-width: 860px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  border: none;
  background: var(--bg-elevated-2);
  color: var(--text);
  cursor: pointer;
  position: relative;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle .bar {
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: var(--r-full);
  transition: transform 500ms var(--ease-fluid), opacity 300ms var(--ease-fluid);
}

.nav-toggle .bar:nth-child(1) {
  transform: translateY(-4px);
}

.nav-toggle .bar:nth-child(2) {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--sp-300);
  padding: calc(var(--sp-900) + var(--sp-300)) var(--sp-400) var(--sp-400);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--ease-fluid);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay a {
  font-size: 1.75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  transform: translateY(3rem);
  opacity: 0;
  transition: transform 600ms var(--ease-fluid), opacity 600ms var(--ease-fluid),
    color 300ms var(--ease-fluid);
}

.nav-overlay.is-open a {
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay a:hover {
  color: var(--text);
}

.nav-overlay.is-open a:nth-child(1) {
  transition-delay: 100ms;
}
.nav-overlay.is-open a:nth-child(2) {
  transition-delay: 150ms;
}
.nav-overlay.is-open a:nth-child(3) {
  transition-delay: 200ms;
}
.nav-overlay.is-open a:nth-child(4) {
  transition-delay: 250ms;
}

@media (min-width: 860px) {
  .nav-overlay {
    display: none;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-75);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 24px;
  padding: var(--sp-75) var(--sp-200);
  border-radius: var(--r-full);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 400ms var(--ease-fluid), background 400ms var(--ease-fluid),
    box-shadow 400ms var(--ease-fluid);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, #2fe07a 0%, var(--whatsapp) 55%);
  color: #0b2312;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -8px rgba(37, 211, 102, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 10px 24px -6px rgba(37, 211, 102, 0.65);
}

.btn-ghost {
  background: var(--bg-elevated-2);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: #313131;
}

.btn-sm {
  font-size: 0.875rem;
  padding: var(--sp-50) var(--sp-100);
}

/* ==========================================================================
   Sections / rhythm
   ========================================================================== */
section {
  padding-block: var(--sp-800);
}

@media (min-width: 768px) {
  section {
    padding-block: calc(var(--sp-900) + var(--sp-300));
  }
  position: relative;
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--sp-600);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-200);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--accent);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  margin-top: var(--sp-200);
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 28px;
  text-wrap: pretty;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  background: rgba(19, 18, 9, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  padding: var(--sp-50) var(--sp-200) var(--sp-50) var(--sp-75);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e6e3dc;
  margin-bottom: var(--sp-300);
}

.hero-badge strong {
  color: var(--text);
}

.hero-badge .stars {
  color: var(--accent);
}

h1 {
  font-size: clamp(2.25rem, 4.6vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-200);
  margin-top: var(--sp-500);
}

.hero-note {
  font-size: 0.875rem;
  color: #d8d4cb;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Hero: filme controlado pela rolagem
   Com JS: seção alta (420vh) e palco fixo; hero.js desenha o frame no canvas.
   Sem JS ou com movimento reduzido: palco de uma tela, último frame, texto fixo.
   ========================================================================== */
.hero-scroll {
  padding: 0;
  height: 420vh;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.stage-still,
.stage-canvas,
.stage-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-still {
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

.stage-shade {
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(19, 18, 9, 0.97) 0%, rgba(19, 18, 9, 0.78) 34%, rgba(19, 18, 9, 0) 68%),
    linear-gradient(90deg, rgba(19, 18, 9, 0.72) 0%, rgba(19, 18, 9, 0) 60%),
    linear-gradient(180deg, rgba(19, 18, 9, 0.6) 0%, rgba(19, 18, 9, 0) 18%);
}

.stage-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  width: min(100% - 2 * var(--sp-300), 1240px);
  margin-inline: auto;
  display: grid;
  align-items: end;
  padding-bottom: calc(var(--sp-900) + var(--sp-500));
  pointer-events: none;
}

.beat {
  grid-area: 1 / 1;
  max-width: 900px;
  opacity: 0;
  transform: translateY(var(--sp-700));
  filter: blur(12px);
  visibility: hidden;
  transition: opacity 800ms var(--ease-fluid), transform 800ms var(--ease-fluid),
    filter 800ms var(--ease-fluid), visibility 0s linear 800ms;
}

.beat.is-on {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  visibility: visible;
  transition-delay: 0s;
}

/* O amassado fica à esquerda do quadro: essa frase vai para a direita */
@media (min-width: 768px) {
  .beat-3 {
    justify-self: end;
    text-align: right;
    max-width: 620px;
  }
}

.beat .btn {
  pointer-events: auto;
}

.beat-line {
  margin: 0;
  padding-bottom: 0.1em;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: #ffffff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.beat .hero-actions {
  margin-top: var(--sp-400);
}

.beat .hero-note {
  margin-top: var(--sp-200);
}

/* Destaque em laranja dentro das frases do hero */
.hl {
  color: var(--accent);
}

/* Provas rápidas em vidro, abaixo da frase */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-100);
  margin: var(--sp-300) 0 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  padding: var(--sp-75) var(--sp-200);
  border-radius: var(--r-full);
  background: rgba(19, 18, 9, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  font-size: 0.875rem;
  color: #e6e3dc;
}

.hero-chips strong {
  color: var(--text);
  font-weight: 700;
}

.beat .btn-ghost {
  background: rgba(19, 18, 9, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.beat .btn-primary {
  padding: var(--sp-100) var(--sp-300);
  font-size: 1rem;
  animation: cta-pulse 2600ms var(--ease-fluid) infinite;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  60% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

@media (min-width: 768px) {
  .beat-3 .hero-actions,
  .beat-3 .hero-chips {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beat .btn-primary {
    animation: none;
  }
}

.hero-scroll h1 {
  background: none;
  color: #ffffff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5);
  padding-bottom: 0.1em;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 900px;
}

/* Capítulos do filme, preenchidos conforme a rolagem (hero.js define --fill) */
.chapters {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: var(--sp-500);
  transform: translateX(-50%);
  width: min(100% - 2 * var(--sp-300), 1240px);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-200);
  pointer-events: none;
}

.chapter {
  display: flex;
  flex-direction: column;
  gap: var(--sp-100);
  font-size: 0.75rem;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  transition: color 500ms var(--ease-fluid);
}

.chapter.is-current {
  color: var(--text);
}

.chapter-bar {
  display: block;
  height: 2px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.chapter-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(var(--fill, 0));
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  margin-top: var(--sp-300);
  font-size: 0.875rem;
  font-weight: 600;
  color: #e6e3dc;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.scroll-hint svg {
  animation: hint-bob 1800ms var(--ease-fluid) infinite;
}

@keyframes hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(var(--sp-75)); }
}

.stage-loader {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: var(--sp-500);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-75);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint);
  transition: opacity 600ms var(--ease-fluid);
}

.stage-loader.is-done {
  opacity: 0;
  pointer-events: none;
}

.loader-bar {
  display: block;
  width: 128px;
  height: 2px;
  border-radius: var(--r-full);
  background: var(--border-strong);
  overflow: hidden;
}

.loader-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-fluid);
}

/* Celular: texto centralizado na parte de baixo, sombra de baixo para cima */
@media (max-width: 767px) {
  .stage-shade {
    background:
      linear-gradient(0deg, rgba(19, 18, 9, 0.98) 0%, rgba(19, 18, 9, 0.85) 42%, rgba(19, 18, 9, 0) 70%),
      linear-gradient(180deg, rgba(19, 18, 9, 0.7) 0%, rgba(19, 18, 9, 0) 20%);
  }
  .stage-copy {
    align-items: end;
    padding-bottom: calc(var(--sp-900) + var(--sp-500));
    text-align: center;
  }
  .chapter {
    letter-spacing: 0;
    text-transform: none;
  }
  .chapter-n {
    display: none;
  }
  .chapters {
    bottom: var(--sp-300);
    width: calc(100% - 2 * var(--sp-300) - 72px);
    left: var(--sp-300);
    transform: none;
  }
  .beat {
    justify-self: center;
  }
  .beat .hero-actions,
  .hero-chips {
    justify-content: center;
  }
  .beat .btn-ghost {
    display: none;
  }
  .hero-chips li {
    font-size: 0.75rem;
    padding: var(--sp-50) var(--sp-100);
  }
  .beat .hero-actions {
    margin-top: var(--sp-300);
  }
  .hero-scroll h1 br {
    display: none;
  }
}

/* Estado estático: sem JS, ou movimento reduzido (hero.js adiciona .is-static) */
html:not(.js) .hero-scroll,
.hero-scroll.is-static {
  height: auto;
}

html:not(.js) .hero-scroll .stage,
.hero-scroll.is-static .stage {
  position: relative;
  min-height: 100svh;
  height: auto;
}

html:not(.js) .hero-scroll .stage-still,
.hero-scroll.is-static .stage-still {
  opacity: 1;
}

html:not(.js) .hero-scroll .stage-canvas,
html:not(.js) .hero-scroll .stage-loader,
html:not(.js) .hero-scroll .beat-2,
html:not(.js) .hero-scroll .beat-3,
html:not(.js) .hero-scroll .beat-4,
html:not(.js) .hero-scroll .scroll-hint,
html:not(.js) .hero-scroll .chapters,
.hero-scroll.is-static .chapters,
.hero-scroll.is-static .stage-canvas,
.hero-scroll.is-static .stage-loader,
.hero-scroll.is-static .beat-2,
.hero-scroll.is-static .beat-3,
.hero-scroll.is-static .beat-4,
.hero-scroll.is-static .scroll-hint {
  display: none;
}

html:not(.js) .hero-scroll .stage-copy,
.hero-scroll.is-static .stage-copy {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding-block: calc(var(--sp-900) + var(--sp-300)) var(--sp-700);
}

@media (max-width: 767px) {
  html:not(.js) .hero-scroll .stage-copy,
  .hero-scroll.is-static .stage-copy {
    align-items: center;
    justify-content: flex-end;
    padding-bottom: calc(var(--sp-900) + var(--sp-200));
  }
}

html:not(.js) .hero-scroll .beat,
.hero-scroll.is-static .beat {
  opacity: 1;
  transform: none;
  filter: none;
  visibility: visible;
}

/* ==========================================================================
   Superfície alternada (faixas em #181818)
   ========================================================================== */
.surface {
  background: #181818;
}

/* Cabeçalho de seção dividido: título à esquerda, apoio à direita */
.section-head.split {
  max-width: none;
  display: grid;
  gap: var(--sp-300);
  align-items: end;
  margin-bottom: var(--sp-700);
}

@media (min-width: 960px) {
  .section-head.split {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--sp-700);
  }
  .section-head.split > :last-child {
    justify-self: end;
  }
}

.section-head.split h2 {
  max-width: 720px;
}

.section-head.split .lede {
  margin-top: 0;
  max-width: 420px;
}

.section-cta {
  margin-top: var(--sp-600);
  display: flex;
}

.nowrap {
  white-space: nowrap;
}

/* ==========================================================================
   Números
   ========================================================================== */
.numbers {
  padding-block: var(--sp-900);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .numbers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.number {
  background: var(--bg);
  padding: var(--sp-500) var(--sp-300);
  display: flex;
  flex-direction: column;
  gap: var(--sp-200);
}

@media (min-width: 768px) {
  .number {
    padding: var(--sp-600) var(--sp-400);
  }
}

.number-value {
  display: flex;
  align-items: baseline;
  gap: var(--sp-75);
  font-size: clamp(3rem, 7.5vw, 6rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.number-unit {
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  letter-spacing: 0;
  font-weight: 600;
  color: var(--accent);
}

.number-label {
  font-size: 0.875rem;
  line-height: 20px;
  color: var(--text-muted);
  max-width: 200px;
}

/* ==========================================================================
   Diferenciais em bento
   ========================================================================== */
.bento {
  display: grid;
  gap: var(--sp-200);
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-photo {
    grid-column: span 4;
    grid-row: span 2;
  }
  .bento-rating {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bento-card:not(.bento-photo):not(.bento-rating) {
    grid-column: span 2;
  }
}

.bento-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  padding: var(--sp-400);
  display: flex;
  flex-direction: column;
  gap: var(--sp-100);
  overflow: hidden;
  transition: border-color 500ms var(--ease-fluid), transform 700ms var(--ease-fluid);
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.bento-card h3 {
  font-size: 1.25rem;
  line-height: 28px;
  font-weight: 700;
  margin-top: auto;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 24px;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-xl);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-500);
}

.bento-icon svg {
  width: 24px;
  height: 24px;
}

.bento-photo {
  min-height: 420px;
  padding: 0;
  justify-content: flex-end;
}

.bento-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
  transition: transform 1200ms var(--ease-fluid);
}

.bento-photo:hover img {
  transform: scale(1.04);
}

.bento-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 18, 9, 0.92) 0%, rgba(19, 18, 9, 0.35) 45%, rgba(19, 18, 9, 0) 70%);
}

.bento-photo-copy {
  position: relative;
  z-index: 1;
  padding: var(--sp-400);
  max-width: 520px;
}

.bento-photo-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-100);
}

.bento-rating {
  background: var(--accent);
  border-color: var(--accent);
  color: #131209;
}

.bento-rating:hover {
  border-color: var(--accent);
}

.rating-value {
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.rating-stars {
  letter-spacing: 3px;
  font-size: 1.125rem;
}

.bento-rating p {
  color: rgba(19, 18, 9, 0.78);
  margin-top: auto;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  font-weight: 700;
  text-decoration: none;
  margin-top: var(--sp-200);
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 500ms var(--ease-fluid);
}

.link-arrow:hover svg {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Trabalhos reais: vídeos do cliente
   ========================================================================== */
.works {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-300);
}

@media (min-width: 768px) {
  .works {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Celular: carrossel com rolagem lateral e encaixe */
@media (max-width: 767px) {
  .works {
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--sp-300));
    padding-inline: var(--sp-300);
    scroll-padding-inline: var(--sp-300);
    scrollbar-width: none;
  }
  .works::-webkit-scrollbar {
    display: none;
  }
  .work {
    scroll-snap-align: start;
  }
}

.work {
  display: flex;
  flex-direction: column;
  gap: var(--sp-300);
}

.work-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  overflow: hidden;
  background: var(--bg-elevated);
  cursor: pointer;
  transition: transform 700ms var(--ease-fluid), border-color 500ms var(--ease-fluid);
}

.work-media:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.work-media:active {
  transform: scale(0.98);
}

.work-loop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 18, 9, 0.7) 0%, rgba(19, 18, 9, 0) 35%);
  pointer-events: none;
}

.work-badge {
  position: absolute;
  z-index: 1;
  top: var(--sp-200);
  left: var(--sp-200);
  font-size: 0.75rem;
  line-height: 16px;
  font-weight: 700;
  color: var(--text);
  background: rgba(19, 18, 9, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: var(--sp-50) var(--sp-100);
}

.work-play {
  position: absolute;
  z-index: 1;
  right: var(--sp-200);
  bottom: var(--sp-200);
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: #131209;
  display: grid;
  place-items: center;
  transition: transform 600ms var(--ease-fluid);
}

.work-play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.work-media:hover .work-play {
  transform: scale(1.08);
}

.work-meta {
  display: block;
  font-size: 0.75rem;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-100);
}

.work-copy h3 {
  font-size: 1.5rem;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: var(--sp-75);
}

.work-copy p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 24px;
}

/* Player em tela cheia */
.video-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-dialog[open] {
  display: grid;
  place-items: center;
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.video-full {
  height: min(88vh, 88svh);
  max-width: calc(100vw - 2 * var(--sp-300));
  aspect-ratio: 9 / 16;
  border-radius: var(--r-2xl);
  background: #000000;
}

.video-close {
  position: fixed;
  top: var(--sp-300);
  right: var(--sp-300);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 400ms var(--ease-fluid);
}

.video-close:hover {
  background: var(--bg-elevated-2);
}

.video-close svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Como funciona
   ========================================================================== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-600);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-500);
  }
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-100);
}

.step-num {
  font-size: clamp(4.5rem, 8vw, 8rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: var(--sp-300);
}

.step h3 {
  font-size: 1.5rem;
  line-height: 32px;
  font-weight: 700;
}

.step p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 24px;
  max-width: 340px;
}

/* ==========================================================================
   Frase de efeito
   ========================================================================== */
.tagline {
  padding-block: calc(var(--sp-900) + var(--sp-500));
}

.tagline blockquote {
  margin: 0;
  max-width: 1080px;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.tagline-sign {
  margin: var(--sp-600) 0 0;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.5;
}

.tagline-sign strong {
  color: var(--accent);
  font-weight: 700;
}

.tagline .word {
  color: rgba(255, 255, 255, 0.2);
  transition: color 700ms var(--ease-fluid);
}

.tagline .word.is-active {
  color: var(--text);
}

.tagline .word.accent-word.is-active {
  color: var(--accent);
}

/* ==========================================================================
   Serviços em lista
   ========================================================================== */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  overflow: hidden;
}

.service-row a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-100) var(--sp-300);
  align-items: center;
  padding: var(--sp-400) var(--sp-300);
  background: var(--bg);
  text-decoration: none;
  transition: background 600ms var(--ease-fluid);
}

/* Cena do serviço ao fundo da linha: toca só enquanto a linha está na tela */
.service-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
}

.service-bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transform: scale(1.04);
  transition: opacity 700ms var(--ease-fluid), transform 1200ms var(--ease-fluid);
}

.service-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 18, 9, 0.92) 0%, rgba(19, 18, 9, 0.55) 50%, rgba(19, 18, 9, 0.1) 100%);
  transition: opacity 700ms var(--ease-fluid);
}

.service-row a:hover .service-bg video,
.service-row a:focus-visible .service-bg video {
  opacity: 1;
  transform: scale(1);
}

.service-row a:hover .service-bg::after,
.service-row a:focus-visible .service-bg::after {
  opacity: 0.45;
}

.service-desc,
.service-name {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}

@media (min-width: 900px) {
  .service-row a {
    grid-template-columns: 64px 1.1fr 1fr 56px;
    gap: var(--sp-500);
    padding: var(--sp-500) var(--sp-500);
  }
}


.service-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.service-main {
  display: flex;
  flex-direction: column;
  gap: var(--sp-75);
}

.service-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  line-height: 16px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: var(--sp-25) var(--sp-100);
  border-radius: var(--r-full);
}

.service-name {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 500ms var(--ease-fluid);
}

.service-row a:hover .service-name {
  color: var(--accent);
}

.service-desc {
  grid-column: 2 / -1;
  color: #d8d4cb;
  font-size: 1rem;
  line-height: 24px;
}

@media (min-width: 900px) {
  .service-desc {
    grid-column: auto;
  }
}

.service-go {
  grid-row: 1;
  grid-column: 3;
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: background 500ms var(--ease-fluid), border-color 500ms var(--ease-fluid),
    color 500ms var(--ease-fluid);
}

@media (min-width: 900px) {
  .service-go {
    grid-column: 4;
    width: 56px;
    height: 56px;
  }
}

.service-go svg {
  width: 20px;
  height: 20px;
  transition: transform 500ms var(--ease-fluid);
}

.service-row a:hover .service-go {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #0b2312;
}

.service-row a:hover .service-go svg {
  transform: rotate(45deg);
}

.service-row a {
  min-height: 168px;
}

.service-row.is-featured .service-name {
  font-size: clamp(1.875rem, 4vw, 3rem);
}

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.google-score {
  display: flex;
  align-items: center;
  gap: var(--sp-200);
}

.google-score-value {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.google-score-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-50);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.google-score-meta .rating-stars {
  color: var(--accent);
}

.quotes {
  display: grid;
  gap: var(--sp-200);
}

@media (min-width: 900px) {
  .quotes {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
  }
  .quote-featured {
    grid-row: span 2;
  }
}

.quote {
  margin: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  padding: var(--sp-400);
  display: flex;
  flex-direction: column;
  gap: var(--sp-400);
}

.quote blockquote {
  margin: 0;
  font-size: 1.25rem;
  line-height: 28px;
  font-weight: 600;
  text-wrap: pretty;
}

.quote-featured {
  padding: var(--sp-500);
  justify-content: space-between;
}

.quote-featured blockquote {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: var(--sp-100);
  margin-top: auto;
  font-size: 0.875rem;
  color: var(--text-faint);
}

.quote figcaption strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Onde atendemos: faixa de cidades
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding-block: var(--sp-300);
  margin-bottom: var(--sp-700);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--text);
}

.marquee-item:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
}

.marquee-item::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: var(--r-full);
  background: var(--accent);
  margin-inline: var(--sp-500);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .marquee-group + .marquee-group {
    display: none;
  }
  .marquee-group {
    flex-wrap: wrap;
    padding-inline: var(--sp-300);
    row-gap: var(--sp-200);
  }
}

.visit {
  display: grid;
  gap: var(--sp-400);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  padding: var(--sp-500) var(--sp-400);
}

@media (min-width: 900px) {
  .visit {
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    padding: var(--sp-500);
  }
}

.visit-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-100);
}

.visit-item p {
  font-size: 1.125rem;
  line-height: 28px;
  font-weight: 600;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-200);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-layout {
  display: grid;
  gap: var(--sp-600);
}

@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: 1fr 1.5fr;
    gap: var(--sp-800);
    align-items: start;
  }
  .faq-aside {
    position: sticky;
    top: calc(var(--sp-900) + var(--sp-200));
  }
}

.faq-aside .lede {
  margin-bottom: var(--sp-300);
}

.faq-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
}

.faq-item {
  background: #181818;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-300);
  padding: var(--sp-400) 0;
  font-size: 1.25rem;
  line-height: 28px;
  font-weight: 700;
  transition: color 400ms var(--ease-fluid);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 500ms var(--ease-fluid);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 24px;
  padding-bottom: var(--sp-400);
  max-width: 640px;
}

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-final {
  padding-block: var(--sp-900);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-3xl);
  border: 1px solid var(--border);
  min-height: 560px;
  display: flex;
  align-items: flex-end;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 18, 9, 0.94) 0%, rgba(19, 18, 9, 0.7) 45%, rgba(19, 18, 9, 0.15) 100%);
}

@media (max-width: 767px) {
  .cta-panel::after {
    background: linear-gradient(0deg, rgba(19, 18, 9, 0.96) 0%, rgba(19, 18, 9, 0.75) 55%, rgba(19, 18, 9, 0.3) 100%);
  }
}

.cta-copy {
  position: relative;
  z-index: 1;
  padding: var(--sp-500) var(--sp-300);
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-200);
}

@media (min-width: 768px) {
  .cta-copy {
    padding: var(--sp-800) var(--sp-700);
  }
}

.cta-copy h2 {
  font-size: clamp(2.25rem, 5.4vw, 4.5rem);
  line-height: 1;
}

.cta-copy .lede {
  margin: 0 0 var(--sp-200);
  max-width: 520px;
}

.btn-lg {
  font-size: 1.125rem;
  padding: var(--sp-100) var(--sp-300);
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
footer {
  padding-block: var(--sp-800) var(--sp-400);
}

.footer-grid {
  display: grid;
  gap: var(--sp-500);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--sp-300);
}

.footer-logo img {
  height: 112px;
  width: auto;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 20px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 var(--sp-200);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-100);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 300ms var(--ease-fluid);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: var(--sp-600);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-200);
  padding-top: var(--sp-300);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-faint);
}

.footer-bottom a {
  color: var(--text-faint);
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.wa-float {
  position: fixed;
  right: var(--sp-300);
  bottom: var(--sp-300);
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: var(--r-full);
  background: var(--whatsapp);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: transform 400ms var(--ease-fluid);
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  border: 2px solid var(--whatsapp);
  animation: pulse-ring 2.4s var(--ease-fluid) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before {
    animation: none;
  }
}

/* ==========================================================================
   Scroll reveal (progressive enhancement, no-JS safe)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition: opacity 900ms var(--ease-fluid), transform 900ms var(--ease-fluid),
    filter 900ms var(--ease-fluid);
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==========================================================================
   Utility
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* Ícone do Google nas menções às avaliações */
.g-icon {
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: var(--r-full);
  background: #ffffff;
  vertical-align: -5px;
}

.g-icon-lg {
  width: 48px;
  height: 48px;
  padding: 10px;
}

.g-icon-sm {
  width: 16px;
  height: 16px;
  padding: 2px;
  vertical-align: -3px;
}

.rating-source {
  margin: 0;
  line-height: 0;
}

/* Barra de rolagem da página: só o marcador que desce fica laranja */
html {
  scrollbar-color: var(--accent) var(--bg);
}

html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: var(--bg);
}

html::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: var(--r-full);
  border: 3px solid var(--bg);
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}


/* ==========================================================================
   Antes e depois (fotos reais)
   ========================================================================== */
.ba-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-300);
}

@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-400);
  }
  .ba {
    grid-column: span 2;
  }
  .ba-big {
    grid-column: span 3;
  }
}

.ba {
  display: flex;
  flex-direction: column;
  gap: var(--sp-200);
}

.ba-frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-2xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  user-select: none;
  -webkit-user-select: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-tag {
  position: absolute;
  top: var(--sp-200);
  padding: var(--sp-25) var(--sp-100);
  border-radius: var(--r-full);
  background: rgba(19, 18, 9, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-tag-before {
  left: var(--sp-200);
}

.ba-tag-after {
  right: var(--sp-200);
  background: var(--accent);
  color: #1a0f03;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #ffffff;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.ba-handle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  padding: var(--sp-75);
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  border-radius: var(--r-full);
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.ba-frame:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ba-copy h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 28px;
  font-weight: 700;
}

.ba-copy p {
  margin: var(--sp-25) 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 20px;
}

.ba-process {
  display: grid;
  gap: var(--sp-400);
  margin-top: var(--sp-800);
  padding: var(--sp-400);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-3xl);
  background: var(--bg);
}

@media (min-width: 900px) {
  .ba-process {
    grid-template-columns: 0.8fr 1.4fr;
    align-items: center;
    padding: var(--sp-500);
    gap: var(--sp-600);
  }
}

.ba-process-copy h3 {
  margin: 0 0 var(--sp-100);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ba-process-copy p {
  margin: 0;
  color: var(--text-muted);
}

.ba-process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-100);
}

@media (min-width: 600px) {
  .ba-process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ba-process-grid li {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-xl);
}

.ba-process-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-300);
  margin-top: var(--sp-600);
}

@media (min-width: 768px) {
  .ba-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ba-cta p {
  margin: 0;
  max-width: 560px;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}


/* Mais fotos de amassados, sem texto */
.ba-more {
  list-style: none;
  margin: var(--sp-600) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-200);
}

@media (min-width: 768px) {
  .ba-more {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-300);
  }
}

.ba-more li {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-strong);
}

.ba-more img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
