/* ============================================================
   THE SPEAKER — Identidade visual
   Cores: preto #0B0B0B · amarelo #FAB918 · dourado #B0810D
   Fontes: Dinot (títulos) · Space Grotesk (corpo/labels)
   ============================================================ */

@font-face {
  font-family: 'Dinot';
  src: url('https://thespeaker.com.br/wp-content/uploads/2025/07/dinot-light300.woff') format('woff');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Dinot';
  src: url('https://thespeaker.com.br/wp-content/uploads/2025/07/dinot-regular-400.woff') format('woff');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Dinot';
  src: url('https://thespeaker.com.br/wp-content/uploads/2025/07/dinot-medium-500.woff') format('woff');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Dinot';
  src: url('https://thespeaker.com.br/wp-content/uploads/2025/07/dinot-bold600.woff') format('woff');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Dinot';
  src: url('https://thespeaker.com.br/wp-content/uploads/2025/07/dinot-black800.woff') format('woff');
  font-weight: 800; font-display: swap;
}

:root {
  --black: #0B0B0B;
  --dark: #161616;
  --card: #1A1A1A;
  --card-hover: #212121;
  --border: rgba(255, 255, 255, 0.08);
  --yellow: #FAB918;
  --gold: #B0810D;
  --orange: #EE9241;
  --white: #FFFFFF;
  --gray: #A6A6A6;
  --gray-dark: #6E6E6E;
  --font-title: 'Dinot', 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 14px;
  --max-w: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--yellow); color: var(--black); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Compensa o header fixo ao navegar por âncoras (#servicos, #metodo, etc.) */
:where([id]) { scroll-margin-top: 96px; }

.accent { color: var(--yellow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 34px; height: 1px;
  background: var(--yellow);
}

.section { padding: 110px 0; position: relative; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 18px; }
.section-lead { color: var(--gray); font-size: 1.1rem; max-width: 640px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(250, 185, 24, 0.35);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}
.btn-sm { padding: 12px 24px; font-size: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(11, 11, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.logo .accent { color: var(--yellow); }
.logo img {
  height: 30px;
  width: auto;
  display: block;
}
.footer .logo img { height: 34px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s ease;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--black); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 42px; height: 42px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* padding-top igual ao das páginas internas (.page-hero: 190px) para que o
     topo da home tenha o mesmo respiro abaixo do header fixo. */
  padding: 190px 0 0;
  overflow: hidden;
}
/* Serviços agora vivem numa seção própria (fora do hero/#inicio), para que a
   âncora #servicos não caia dentro do hero animado — o que travava a rolagem. */
.hero-services-sec { padding: 0 0 104px; }
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--black));
  z-index: 1;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--yellow);
  border: 1px solid rgba(250, 185, 24, 0.35);
  background: rgba(250, 185, 24, 0.07);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250, 185, 24, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(250, 185, 24, 0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.8rem);
  font-weight: 800;
  max-width: 900px;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 76px; }

/* Serviços na primeira tela */
.hero-services { position: relative; }
.hero-services-group + .hero-services-group { margin-top: 48px; }
.hero-services-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-services-label.pf { color: var(--yellow); }
.hero-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero-service {
  position: relative;
  display: block;
  /* Fundo opaco em vez de backdrop-filter: blur() — o blur em 10 cards ao
     mesmo tempo (todos em cena no #servicos) causava engasgo/travamento de
     rolagem em hardware real. Visualmente equivalente sobre o canvas escuro. */
  background: rgba(22, 22, 24, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.hero-service:hover {
  border-color: rgba(250, 185, 24, 0.55);
  background: var(--card-hover);
  transform: translateY(-4px);
}
.hero-service .hs-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.hero-service .hs-tag.pf { color: var(--yellow); }
.hero-service h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-service p {
  font-size: 12.5px;
  color: var(--gray-dark);
  line-height: 1.45;
}
.hero-service .hs-arrow {
  position: absolute;
  top: 14px; right: 14px;
  color: var(--gray-dark);
  font-size: 14px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.hero-service:hover .hs-arrow {
  color: var(--yellow);
  transform: translate(2px, -2px);
}

/* ---------- Faixa de números ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 54px 0;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--gray);
}

/* ---------- Cards de serviço detalhados ---------- */
.audience-switch {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--yellow), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover { border-color: rgba(250, 185, 24, 0.4); transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; }

.service-card .sc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(250, 185, 24, 0.1);
  border: 1px solid rgba(250, 185, 24, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--yellow);
}
.service-card .sc-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.service-card .sc-format {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.service-card p { color: var(--gray); font-size: 15px; flex-grow: 0; }
.service-card ul { margin: 18px 0 22px; flex-grow: 1; }
.service-card ul li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--gray);
  margin-bottom: 9px;
}
.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 700;
}
.service-card .sc-price {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
}
.service-card .sc-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-dark);
}
.service-card.featured {
  background: linear-gradient(160deg, rgba(250, 185, 24, 0.14), var(--card) 55%);
  border-color: rgba(250, 185, 24, 0.45);
}
.service-card .sc-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--black);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ---------- Seletor Dor → Solução (estilo pillar) ---------- */
.dor-picker-hint {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 22px;
}
.dor-picker {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Lista de dores — número vazado + card preto, no espírito dos pillars */
.dor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; counter-reset: dor; }
.dor-item {
  counter-increment: dor;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 20px 22px;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  transition: border-color .3s ease, background .3s ease;
}
.dor-item::before {
  content: counter(dor, decimal-leading-zero);
  flex: none;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--gold);
  transition: color .3s ease, -webkit-text-stroke-width .3s ease;
}
.dor-item .dor-item-q { flex: 1; font-size: 15px; font-weight: 500; line-height: 1.35; }
.dor-item .dor-item-arrow {
  flex: none;
  color: var(--gray-dark);
  font-size: 18px;
  transition: color .3s ease, transform .3s ease;
}
.dor-item:hover { border-color: rgba(250, 185, 24, 0.4); background: var(--dark); }
.dor-item:hover .dor-item-arrow { color: var(--gray); }
.dor-item.is-active { border-color: rgba(250, 185, 24, 0.55); background: var(--dark); }
.dor-item.is-active::before { color: var(--yellow); -webkit-text-stroke-width: 0; }
.dor-item.is-active .dor-item-arrow { color: var(--yellow); transform: translate(2px, -2px); }
.dor-item:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* Painel de solução — card preto estilo pillar com destaque dourado */
.dor-solutions { position: relative; }
.dor-solution {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--black);
  border: 1px solid rgba(250, 185, 24, 0.4);
  border-radius: var(--radius);
  padding: 38px 34px;
}
.dor-solution > * { position: relative; z-index: 1; }
.dor-solution::after {
  content: '✓';
  position: absolute;
  top: 14px; right: 24px;
  z-index: 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 4.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  opacity: 0.15;
  pointer-events: none;
}
.dor-solution[hidden] { display: none; }
.dor-solution.is-active { animation: dorFade .4s ease; }
@keyframes dorFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.dor-solution .ds-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.dor-solution .ds-tag-hot { background: var(--orange); }
.dor-solution .sc-format {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.dor-solution h3 { font-size: 1.55rem; margin-bottom: 12px; }
.dor-solution p { color: var(--gray); font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
.dor-solution .sc-price {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 22px;
  margin-top: auto;
}
.dor-solution .sc-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-dark);
}
.dor-solution .btn { align-self: flex-start; }

/* ---------- Método ---------- */
.method { background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.pillar {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  background: var(--black);
  transition: border-color 0.3s ease;
}
.pillar:hover { border-color: rgba(250, 185, 24, 0.4); }
.pillar-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}
.pillar h3 { font-size: 1.4rem; margin-bottom: 12px; }
.pillar p { color: var(--gray); font-size: 15px; }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--card), var(--dark));
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
}
.about-media .quote-mark {
  position: absolute;
  top: 26px; left: 30px;
  font-family: var(--font-title);
  font-size: 7rem;
  font-weight: 800;
  color: rgba(250, 185, 24, 0.18);
  line-height: 1;
}
.about-media blockquote {
  padding: 40px 34px;
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.35;
}
.about-media cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  color: var(--yellow);
}
.about-text p { color: var(--gray); margin-bottom: 18px; }
.about-text p strong { color: var(--white); font-weight: 600; }
.about-creds { margin-top: 28px; display: grid; gap: 14px; }
.about-creds li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--gray);
}
.about-creds li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ---------- Clientes ---------- */
.clients { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--dark); padding: 70px 0; }
.clients-title {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 40px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 70px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-track span {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-dark);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.marquee-track span:hover { color: var(--yellow); }

/* ---------- Depoimentos ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s ease;
}
.testimonial:hover { border-color: rgba(250, 185, 24, 0.35); }
.testimonial .t-stars { color: var(--yellow); letter-spacing: 3px; font-size: 15px; }
.testimonial p { color: var(--gray); font-size: 15px; flex-grow: 1; }
.testimonial footer strong { display: block; font-size: 15px; }
.testimonial footer span { font-size: 13px; color: var(--gray-dark); }

/* Depoimentos com foto lateral */
.testimonials-grid.t-side .testimonial {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.t-side .testimonial .t-photo {
  width: 118px;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.t-side .testimonial .t-photo-fallback {
  align-items: center;
  justify-content: center;
  background: rgba(250, 185, 24, 0.14);
  color: var(--yellow);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 32px;
  border-right: 1px solid var(--border);
}
.t-side .testimonial .t-photo-fallback { display: flex; }
.t-side .testimonial .t-content {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.t-side .testimonial .t-content p { flex-grow: 1; margin: 0; }
.t-side .testimonial footer { display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 56px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 4px;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.faq-item summary h3 { margin: 0; font: inherit; flex: 1; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--yellow); }
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--yellow);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: rgba(250, 185, 24, 0.12); }
.faq-item .faq-body { padding: 0 4px 26px; color: var(--gray); font-size: 15.5px; max-width: 700px; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: 130px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 50% 110%, rgba(250, 185, 24, 0.22), transparent),
    var(--dark);
  border-top: 1px solid var(--border);
}
.cta-final::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -70px;
  transform: translateY(-50%);
  width: 460px;
  height: 546px;
  background: url("../img/logo/Logo6.webp") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); max-width: 760px; margin: 0 auto 20px; }
.cta-final p { color: var(--gray); max-width: 540px; margin: 0 auto 38px; }

@media (max-width: 640px) {
  .cta-final::before { width: 300px; height: 356px; right: -90px; opacity: 0.045; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 36px;
  background: var(--black);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 54px;
}
.footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 20px;
}
.footer-about p { color: var(--gray); font-size: 14.5px; margin-top: 16px; max-width: 300px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: 14.5px; color: var(--gray); transition: color 0.2s ease; }
.footer ul a:hover { color: var(--yellow); }
.footer address {
  font-style: normal;
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.8;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray-dark);
}

/* ---------- Página interna: hero compacto ---------- */
.page-hero {
  position: relative;
  padding: 190px 0 90px;
  background:
    radial-gradient(ellipse 55% 60% at 80% 0%, rgba(250, 185, 24, 0.12), transparent),
    var(--black);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; max-width: 860px; margin-bottom: 20px; }
.page-hero .hero-sub { margin-bottom: 0; }
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-dark);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--yellow); }

/* ---------- Imagens nos cards ---------- */
.sc-media {
  position: relative;
  margin: -34px -30px 24px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.sc-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .sc-media img { transform: scale(1.05); }
.sc-media.sc-media-cover { aspect-ratio: 4 / 3; }

/* ---------- Marquee com logos ---------- */
.marquee-track img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.marquee-track img:hover { opacity: 1; }

/* ---------- Avatares nos depoimentos ---------- */
.testimonial footer { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(250, 185, 24, 0.5);
  flex-shrink: 0;
}
.t-avatar-fallback {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(250, 185, 24, 0.14);
  border: 2px solid rgba(250, 185, 24, 0.5);
  color: var(--yellow);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Galeria da sede (bento + scrub) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 14px;
  margin-top: 56px;
}
.gallery-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 0;
  will-change: transform;
}
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- Texto horizontal (scrub) ---------- */
.hmarquee {
  overflow: hidden;
  padding: 90px 0 80px;
  border-bottom: 1px solid var(--border);
  background: var(--black);
}
.hm-line {
  white-space: nowrap;
  width: max-content;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  will-change: transform;
}
.hm-line .sep { color: var(--yellow); }
.hm-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(250, 185, 24, 0.7);
}

/* ---------- Linha que se desenha (Método) ---------- */
#metodo { position: relative; overflow: hidden; }
#metodo-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}
#metodo > .container { position: relative; z-index: 1; }

/* ---------- Banner largo com foto ---------- */
.photo-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 64px;
}
.photo-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s ease;
}
a.photo-banner { display: block; text-decoration: none; color: var(--white); }
a.photo-banner:hover { border-color: rgba(250, 185, 24, 0.45); }
a.photo-banner:hover img { transform: scale(1.04); }
.photo-banner .pb-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 34px 28px;
  background: linear-gradient(to top, rgba(11,11,11,0.94), rgba(11,11,11,0.5) 60%, transparent);
  display: flex;
  flex-direction: column;
}
.photo-banner .pb-cta { align-self: center; }
.photo-banner .pb-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.photo-banner .pb-title {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  font-weight: 500;
  line-height: 1.25;
  max-width: 620px;
  margin: 0 0 16px;
}
.photo-banner .pb-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  background: var(--yellow);
  padding: 14px 28px;
  border-radius: 100px;
  transition: gap 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.photo-banner .pb-cta span { font-size: 18px; }
a.photo-banner:hover .pb-cta {
  gap: 14px;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(250, 185, 24, 0.32);
}

/* ---------- Hero de página com foto de fundo ---------- */
.page-hero.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.page-hero.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,11,11,0.95) 30%, rgba(11,11,11,0.55));
}
.page-hero.has-bg .container { position: relative; z-index: 2; }
.page-hero { overflow: hidden; }
.hero-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

/* ---------- Sobre: foto da Lívia ---------- */
.about-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.about-media blockquote {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(to top, rgba(11,11,11,0.94) 40%, transparent);
  padding-top: 90px;
}

/* ---------- Cases ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.case-card:hover { border-color: rgba(250, 185, 24, 0.4); transform: translateY(-6px); }
.case-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.case-card .case-body { padding: 22px 24px 26px; }
.case-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.case-card p { font-size: 14px; color: var(--gray); }

/* ---------- Fundo animado de seção (ondas) ---------- */
.has-fx { position: relative; overflow: hidden; }
.has-fx > .container { position: relative; z-index: 1; }
.section-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
}

/* Linha dourada que se desenha em seções (reaproveita .hero-path) */
.has-line > .container { position: relative; z-index: 2; }

/* ---------- Reveals (GSAP) ---------- */
.reveal { opacity: 0; transform: translateY(36px); }
.no-js .reveal, html.gsap-off .reveal { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .services-grid, .method-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) and (min-width: 761px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .dor-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .dor-solution { padding: 30px 24px; }
  .dor-item { padding: 16px 18px; gap: 14px; }
  .dor-item::before { font-size: 1.45rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .cases-grid { grid-template-columns: 1fr; }
  .hmarquee { padding: 56px 0 48px; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 11, 11, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav .btn { margin: 18px 0 0; justify-content: center; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .hero { padding-top: 110px; }
  .services-grid, .method-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  .hero-services-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Lightbox (ampliar imagens) ---------- */
img.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(6, 6, 6, 0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-figure img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  cursor: zoom-out;
}
.lightbox-figure figcaption {
  color: var(--gray);
  font-size: 14px;
  text-align: center;
  max-width: 620px;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 46px; height: 46px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }
