/* =========================================================
   CORDEIRO & MUNIZ — Soluções Empresariais
   ========================================================= */

/* ---------- BACKGROUNDS ----------
   Basta salvar as imagens em /img com estes nomes.
   Enquanto a imagem não existir, o gradiente de fallback aparece. */
.bg--solutions { --img: url("../assets/img/solucoes.jpg"); }
.bg--results   { --img: url("../assets/img/resultados.jpg"); }


.bg--s1 { --img: url("../assets/img/sol-processos.webp"); }
.bg--s2 { --img: url("../assets/img/sol-financeira.webp"); }
.bg--s3 { --img: url("../assets/img/sol-rh.webp"); }
.bg--s4 { --img: url("../assets/img/sol-operacoes.webp"); }


/* ---------- TOKENS ---------- */
:root {
  --bg-900: #343638;
  --bg-800: #2c2e30;
  --bg-700: #3d3f42;
  --line: rgba(199,154,59, .45);
  --line-soft: rgba(255, 255, 255, .12);

  --gold: #C79A3B;
  --gold-soft: #D4AE5E;
  --gold-deep: #A27C2A;
  --gold-grad: linear-gradient(135deg, #DDB868 0%, #C79A3B 45%, #A9822F 100%);
  --gold-text: linear-gradient(180deg, #C79A3B 0%, #8C6A22 100%);

  --white: #FFFFFF;
  --text: rgba(255, 255, 255, .84);
  --muted: #C4C5C3;

  --cream: #DEDED9;
  --ink: #343638;

  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 3.5vw, 48px);
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root {
  /* Hero (home) */
  --preto: #1f2022;
  --ouro-claro: #DDB868;
  --ouro: #C79A3B;
  --ouro-escuro: #A27C2A;
  --texto-claro: #DEDED9;
  --hero-serif: "Cormorant Garamond", "Times New Roman", serif;
  --hero-sans: "Source Sans 3", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --foto-ratio: 1.7768; /* 1672 / 941 */
  /* 1% da largura da foto exibida (mesma regra de "cover" da cena) */
  --u: calc(max(100vw, 100svh * var(--foto-ratio)) / 100);
}

/* ---------- BASE ---------- */
/* Declarar suporte a claro e escuro faz o Chrome/Android não aplicar o
   escurecimento automático. Como todas as cores do site são fixas, a aparência
   é a mesma com o tema do celular claro ou escuro. */
:root { color-scheme: light dark; }
html { background: var(--bg-900); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gold { color: var(--gold); }

/* Camada de fundo genérica */
.bg {
  position: relative;
  background-color: var(--bg-800);
  background-image: var(--img), var(--fallback, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- TIPOGRAFIA ---------- */
.eyebrow {
  display: block;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}

.eyebrow--gold { color: var(--gold); font-weight: 500; }

.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 22px;
}
.title--xl { font-size: clamp(32px, 3.6vw, 52px); }
.title--md { font-size: clamp(26px, 2.5vw, 36px); }

.lead {
  font-size: clamp(15px, 1.05vw, 16px);
  color: var(--text);
  max-width: 520px;
  margin-bottom: 36px;
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 28px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s;
}
.btn--gold {
  border-radius: 999px;
  background: var(--gold-grad);
  color: #232426;
  box-shadow: 0 10px 30px -12px rgba(199,154,59, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 18px 40px -14px rgba(199,154,59, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--gold:hover .ico { transform: translateX(4px); }
.btn .ico { transition: transform .35s var(--ease); }
.btn--sm { padding: 13px 22px; font-size: 14px; }
.btn--lg { padding: 17px 36px; font-size: 15px; }

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 22px;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 80px; height: 1.5px;
  background: var(--gold);
  transition: width .5s var(--ease);
}
.link-arrow:hover::after { width: 100%; }
.link-arrow__circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  transition: background .35s, color .35s;
}
.link-arrow__circle .ico { width: 18px; height: 18px; }
.link-arrow:hover .link-arrow__circle { background: var(--gold); color: var(--bg-900); }

.circle-arrow, .circle-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  transition: background .3s, color .3s;
}
.circle-btn { width: 44px; height: 44px; }
.circle-btn:hover { background: var(--gold); color: var(--bg-900); }

.icon-box {
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 7px;
  display: grid; place-items: center;
  color: var(--gold);
}
.icon-box svg, .step__icon svg {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.icon-box svg { width: 21px; height: 21px; }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .4s, padding .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(42, 44, 46, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--line-soft);
}
.header__inner { display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; flex: none; transition: opacity .4s, visibility .4s; }
/* No topo da página o hero já mostra a marca; a logo do header aparece ao rolar */
.header:not(.is-scrolled) .logo { opacity: 0; visibility: hidden; }
/* Logo: monograma + nome (texto, nítido em qualquer tela).
   O tamanho de tudo acompanha o font-size de cada variação. */
.lockup { display: inline-flex; align-items: center; gap: .7em; font-size: 16px; line-height: 1; }
.lockup__mark { height: 3.1em; width: auto; flex: none; }
.lockup__text {
  display: flex; flex-direction: column; gap: .42em;
  padding-left: .7em;
  border-left: 1px solid rgba(199,154,59,.55);
  text-align: left;
}
.lockup__name {
  font-family: var(--hero-serif); font-weight: 600;
  font-size: 1.22em; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(180deg, #E2C27A 0%, #C79A3B 60%, #A9822F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.lockup__sub {
  font-family: var(--hero-sans); font-weight: 400;
  font-size: .5em; letter-spacing: .38em; text-transform: uppercase; white-space: nowrap;
  color: #C4C5C3;
}
.lockup--header { font-size: 15px; }
.lockup--footer { font-size: 20px; }
.lockup--intro { font-size: clamp(18px, 3.4vw, 34px); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); margin-left: auto; }
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  padding: 6px 0;
  white-space: nowrap;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.header__cta { margin-left: clamp(8px, 2vw, 60px); }

.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease), top .35s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- 1. HERO ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: var(--preto);
  color: var(--texto-claro);
  font-family: var(--hero-sans);
}

/* Cena com comportamento de "cover", ancorada à esquerda (parede escura sob o texto) */
.hero__cena {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 0;
  width: max(100%, 100svh * var(--foto-ratio));
  aspect-ratio: 1672 / 941;
  transform: translateY(-50%);
}

.hero__cena picture { display: block; width: 100%; height: 100%; }

.hero__foto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Escurecimento à esquerda para leitura do texto */
.hero__sombra {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(31, 32, 34, .82) 0%,
      rgba(31, 32, 34, .62) 30%,
      rgba(31, 32, 34, .25) 50%,
      rgba(31, 32, 34, 0) 62%),
    linear-gradient(180deg, rgba(31, 32, 34, .25) 0%, rgba(31, 32, 34, 0) 30%);
}

.hero__conteudo {
  width: 100%;
  /* Medidas tiradas do layout de referência (foto com 1672px de largura) */
  padding: 0 0 calc(var(--u) * 10.5) calc(var(--u) * 6.1);
}

/* Marca */
.marca {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  margin-bottom: calc(var(--u) * 2.4);
}

.marca__nome {
  font-family: var(--hero-serif);
  font-weight: 500;
  font-size: calc(var(--u) * 3.5);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  background: linear-gradient(180deg, var(--ouro-claro), var(--ouro) 60%, var(--ouro-escuro));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marca__linha {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.4);
  margin-top: calc(var(--u) * 0.4);
}

.marca__traco {
  flex: 0 0 auto;
  width: calc(var(--u) * 6.5);
  height: 2px;
  background: var(--ouro);
}

.marca__sub {
  font-family: var(--hero-sans);
  font-weight: 400;
  font-size: calc(var(--u) * 1.32);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ouro-claro);
  white-space: nowrap;
}

/* Título e texto */
.hero__titulo {
  /* padding-bottom: o gradiente do background-clip só pinta dentro da caixa;
     sem ele, as descendentes (g, p) da última linha ficam cortadas */
  margin: 0 0 calc(var(--u) * 1.5 - 0.18em);
  padding-bottom: 0.18em;
  font-family: var(--hero-serif);
  font-weight: 600;
  font-size: calc(var(--u) * 4.78);
  line-height: 0.9;
  letter-spacing: -0.012em;
  background: linear-gradient(180deg, #E2C27A 0%, var(--ouro) 55%, #A9822F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__texto {
  margin: 0 0 calc(var(--u) * 1.7);
  font-weight: 300;
  font-size: calc(var(--u) * 2.15);
  line-height: 1.2;
  color: var(--texto-claro);
}

/* Botão */
.botao {
  display: inline-block;
  padding: calc(var(--u) * 1.05) calc(var(--u) * 2.85);
  border-radius: 4px;
  font-family: var(--hero-sans);
  font-weight: 600;
  font-size: calc(var(--u) * 1.8);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: #232426;
  text-decoration: none;
  background: linear-gradient(180deg, #DDB868 0%, #C79A3B 55%, #A9822F 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 6px 18px rgba(0, 0, 0, .35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.botao:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 26px rgba(0, 0, 0, .45);
}

.botao:focus-visible {
  outline: 2px solid var(--ouro-claro);
  outline-offset: 4px;
}

/* Animação de entrada */
@media (prefers-reduced-motion: no-preference) {
  .hero__conteudo > * {
    opacity: 0;
    transform: translateY(14px);
    animation: surgir .8s cubic-bezier(.2, .7, .2, 1) forwards;
  }
  .hero__conteudo > :nth-child(2) { animation-delay: .12s; }
  .hero__conteudo > :nth-child(3) { animation-delay: .24s; }
  .hero__conteudo > :nth-child(4) { animation-delay: .36s; }
}

@keyframes surgir {
  to { opacity: 1; transform: none; }
}

/* Faixa infinita (marquee) */
.marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  font-family: var(--hero-sans);
  overflow: hidden;
  padding: 16px 0;
  background: linear-gradient(180deg, #F4F4F1, #DEDED9);
  box-shadow: 0 -20px 50px -20px rgba(0,0,0,.45);
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 1;
  width: 16%; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #DEDED9, rgba(222,222,217,0)); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #DEDED9, rgba(222,222,217,0)); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex: none; }
.marquee__group li {
  display: flex; align-items: center; gap: 16px;
  padding: 6px 44px;
  position: relative;
  white-space: nowrap;
}
.marquee__group li::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px; margin-top: -3px;
  transform: translateX(50%) rotate(45deg);
  background: #9A7428; opacity: .55;
}
.marquee__group strong {
  font-family: var(--hero-serif); font-weight: 500;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -.03em;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.marquee__group span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #343638; }

/* ---------- Hero: telas menores ---------- */
@media (max-width: 900px) {
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero__conteudo { margin-bottom: 36px; }
  .marquee { position: relative; }
  .marquee__group li { padding: 4px 28px; }
  .marquee::before, .marquee::after { width: 10%; }

  .hero__sombra {
    background: linear-gradient(180deg,
      rgba(31, 32, 34, .78) 0%,
      rgba(31, 32, 34, .45) 24%,
      rgba(31, 32, 34, .3) 40%,
      rgba(31, 32, 34, .6) 62%,
      rgba(31, 32, 34, .9) 100%);
  }

  /* Celular/tablet: foto vertical própria, ocupando a tela toda */
  .hero__cena { inset: 0; width: auto; aspect-ratio: auto; transform: none; }
  .hero__foto { object-position: 50% 35%; }


  /* Celular: marca centralizada no topo; título, texto e botão centralizados embaixo */
  .hero__conteudo {
    flex: 1;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 92px 20px 0;
  }
  .marca { align-items: center; margin-bottom: auto; padding-bottom: 40px; }
  .marca__nome { font-size: 32px; font-weight: 700; letter-spacing: .01em; }
  .marca__linha { gap: 12px; margin-top: 10px; }
  .marca__linha::after { content: ""; flex: 0 0 auto; width: 34px; height: 2px; background: var(--ouro); }
  .marca__traco { width: 34px; }
  .marca__sub { font-size: 10.5px; font-weight: 600; letter-spacing: .3em; }
  .hero__titulo {
    font-size: clamp(44px, 13vw, 52px); font-weight: 700; line-height: .95;
    margin-bottom: calc(18px - 0.18em);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55));
  }
  .hero__texto {
    font-size: 19px; font-weight: 400; line-height: 1.35; color: #FFFFFF;
    margin-bottom: 30px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
  }
  .botao {
    font-size: 18px; font-weight: 700; padding: 17px 38px; border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 28px rgba(199, 154, 59, .38), 0 4px 12px rgba(0, 0, 0, .4);
  }
  .hero__titulo br,
  .hero__texto br { display: none; }
}

/* ---------- UTILITÁRIOS ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- SPLIT (seções 3–5) ---------- */
.solutions, .method {
  padding: clamp(90px, 10vw, 140px) 0;
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.split__text { max-width: 640px; }

/* ---------- 4. SOLUÇÕES ---------- */
.solutions { --fallback: none; background-color: var(--bg-900); }
.split--solutions { grid-template-columns: 1fr; gap: clamp(40px, 4vw, 56px); }
.split--solutions .split__text { max-width: 900px; margin: 0 auto; text-align: center; }
.split--solutions .title { font-size: clamp(36px, 4.6vw, 68px); }
.split--solutions .title .gold { display: block; }
.split--solutions .eyebrow { font-size: 13px; margin-bottom: 26px; }
.split--solutions .lead { max-width: 720px; margin: 0 auto; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; }
.solutions__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.scard {
  position: relative;
  min-height: 360px;
  padding: clamp(26px, 2.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-800);
  overflow: hidden;
  display: flex; flex-direction: column;
  isolation: isolate;
  transition: transform .45s var(--ease), border-color .4s, box-shadow .45s;
}
.scard:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 20px 50px -30px rgba(199,154,59,.5); }
.scard__media {
  --fallback: radial-gradient(ellipse at 90% 30%, rgba(199,154,59,.2), transparent 60%);
  position: absolute; inset: 0;
  z-index: -1;
  background-position: center right;
  transition: transform .8s var(--ease);
}
.scard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(44,46,48,.96) 0%, rgba(44,46,48,.82) 50%, rgba(44,46,48,.25) 100%); }
.scard:hover .scard__media { transform: scale(1.05); }
.scard .icon-box { width: 50px; height: 50px; border-radius: 9px; margin-bottom: 26px; }
.scard .icon-box svg { width: 25px; height: 25px; }
.scard h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2vw, 27px); letter-spacing: -.01em; color: var(--white); margin-bottom: 18px; }
.scard__list { margin-top: 14px; padding-top: 14px; padding-bottom: 64px; border-top: 1px solid rgba(199,154,59,.22); display: grid; gap: 12px; }
.scard h3 + .scard__list { margin-top: 2px; padding-top: 0; border-top: 0; }
.scard__list li { position: relative; padding-left: 20px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.45; color: var(--white); }
.scard__list li::before { content: ""; position: absolute; left: 1px; top: .55em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.scard .circle-arrow { position: absolute; right: 28px; bottom: 28px; width: 42px; height: 42px; }
.scard:hover .circle-arrow { background: var(--gold); color: var(--bg-900); }

/* ---------- 5. MÉTODO ---------- */
.method { position: relative; background: var(--bg-900); }
.method .container { position: relative; z-index: 2; }
.method { padding-bottom: clamp(160px, 16vw, 240px); overflow: hidden; }
.method__wave {
  position: absolute; left: 0; right: 0; bottom: -3px; z-index: 1;
  width: 100%; height: 72%;
  pointer-events: none;
}
.method__wave-back { fill: #C4C5C3; }
.method__wave-front { fill: var(--cream); }
.split--method { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.steps { display: flex; flex-direction: column; gap: 14px; max-width: 480px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(42, 44, 46, .88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .45s var(--ease), border-color .4s;
}
.step:hover { transform: translateX(6px); border-color: var(--gold); }
.step__num { align-self: start; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--gold); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.01em; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text); max-width: 270px; }
.step__icon {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  transition: background .35s, color .35s;
}
.step__icon svg { width: 22px; height: 22px; }
.step:hover .step__icon { background: var(--gold); color: var(--bg-900); }

/* Grade de 4 cards (estilo compacto, como no projeto original) */
.method__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scard--compact { min-height: 190px; padding: 22px; border-radius: var(--radius); }
.scard--compact .icon-box { width: 40px; height: 40px; border-radius: 7px; margin-bottom: 18px; }
.scard--compact .icon-box svg { width: 21px; height: 21px; }
.method__grid > li { display: flex; }
.method__grid .scard { flex: 1; }
.scard__num {
  font-family: var(--hero-serif); font-weight: 600;
  font-size: 38px; line-height: 1; letter-spacing: .02em;
  color: var(--gold);
  margin-bottom: 14px;
}
.scard--compact h3 { font-size: 20px; margin-bottom: 10px; }
.scard--compact p { font-size: 14px; color: var(--text); max-width: 280px; padding-right: 44px; }
.scard--compact .circle-arrow { right: 20px; bottom: 20px; width: 34px; height: 34px; }

/* ---------- 6. RESULTADOS ---------- */
.results { --fallback: none; background-color: var(--bg-900); padding: clamp(100px, 11vw, 160px) 0; }
.results__head { margin-bottom: clamp(56px, 6vw, 88px); }
.results__head .title { margin-bottom: 0; }

.results__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 3.5vw, 56px); align-items: stretch; }
.results__left { padding-right: clamp(0px, 3vw, 36px); }
.results__left .title--md { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.results__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.results__stats li { display: flex; flex-direction: column; padding: 0 14px; border-left: 1px solid var(--line); }
.results__stats li:first-child { padding-left: 0; border-left: 0; }
.results__stats strong { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; color: var(--gold); letter-spacing: -.02em; }
.results__stats span { font-size: 13px; color: var(--text); }

.testimonial {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(199,154,59,.35);
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(199,154,59,.12), transparent 55%),
    linear-gradient(160deg, #3d3f42 0%, #303234 60%, #343638 100%);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
  isolation: isolate;
}
.testimonial::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221,184,104,.7), transparent);
}
.testimonial__mark {
  position: absolute; right: 30px; top: 96px; z-index: -1;
  font-family: var(--serif); font-size: 200px; line-height: 1;
  color: var(--gold); opacity: .08; pointer-events: none;
}

.testimonial__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.testimonial__label { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); }
.testimonial__count { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 15px; color: var(--muted); }
.testimonial__count b { font-weight: 500; color: var(--white); font-size: 20px; }
.testimonial__count i { width: 26px; height: 1px; background: rgba(255,255,255,.3); }

.testimonial__stars { display: flex; gap: 5px; margin-bottom: 22px; }
.testimonial__stars svg { width: 15px; height: 15px; fill: var(--gold); }

.testimonial__track { display: grid; flex: 1; }
.testimonial__slide {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 34px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}
.testimonial__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.testimonial__slide blockquote {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--white);
  margin: auto 0;
}
.testimonial__slide blockquote p + p { margin-top: .8em; }
.testimonial__author { display: flex; align-items: center; gap: 16px; }
.testimonial__logo {
  width: 64px; height: 64px; flex: none;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(199,154,59,.45), 0 0 0 5px rgba(199,154,59,.1);
}
.testimonial__author strong { display: block; color: var(--white); font-weight: 600; font-size: 17px; }
.testimonial__author small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

.testimonial__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.testimonial__bars { display: flex; gap: 8px; flex: 1; max-width: 220px; }
.testimonial__bars button { flex: 1; height: 16px; display: flex; align-items: center; }
.testimonial__bars button span { position: relative; display: block; width: 100%; height: 2px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.testimonial__bars button span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.testimonial__bars button.is-done span::after { transform: scaleX(1); }
.testimonial__bars button.is-active span::after { animation: tBar var(--t-dur, 7s) linear forwards; }
.testimonial.is-paused .testimonial__bars button.is-active span::after { animation-play-state: paused; }
@keyframes tBar { to { transform: scaleX(1); } }
.testimonial__nav { display: flex; gap: 10px; }

/* ---------- SEÇÕES CLARAS (Como trabalhamos / Como funciona) ---------- */
.section--light { --fallback: none; background-color: var(--cream); color: var(--ink); }
.method + .section--light { margin-top: -2px; } /* cobre a emenda com a onda */
.section--light::before { display: none; }
.section--light .eyebrow { color: #9A7428; }
.section--light .title { color: var(--ink); }
.section--light .title .gold { color: #9A7428; }
.section--light .lead { color: #4a4c4e; }
.section--light .link-arrow { color: var(--ink); }
.section--light .link-arrow__circle { border-color: #9A7428; color: #9A7428; }
.section--light .link-arrow::after { background: #9A7428; }
.section--light .link-arrow:hover .link-arrow__circle { background: #9A7428; color: var(--cream); }
.section--light .results__left .title--md { border-bottom-color: rgba(52,54,56,.16); }
.section--light .results__stats li { border-left-color: rgba(52,54,56,.16); }
.section--light .results__stats strong { color: #9A7428; }
.section--light .results__stats span { color: #4a4c4e; }
.section--light .testimonial { box-shadow: 0 40px 80px -40px rgba(52,54,56,.55); }

/* ---------- 7. SOBRE NÓS ---------- */
.about { background: var(--cream); color: var(--ink); position: relative; overflow: hidden; }
.about__top { position: relative; padding: clamp(80px, 8vw, 120px) 0; }
.about__top .container { position: relative; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about .eyebrow--gold { color: #9A7428; }
.about__title {
  font-family: var(--hero-serif); font-weight: 500;
  font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.01em;
  color: var(--ink); margin-bottom: clamp(24px, 2.6vw, 36px);
}
.about__title em { display: block; font-style: italic; color: #9A7428; }
.about__p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.7; color: #4a4c4e; max-width: 520px; margin-bottom: 18px; }

.founders { display: grid; }
.founder {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 2vw, 28px);
  padding: clamp(24px, 2.6vw, 34px) 0;
  border-bottom: 1px solid rgba(52,54,56,.16);
}
.founder:first-child { padding-top: 0; }
.founder__photo {
  width: clamp(88px, 7.6vw, 112px); height: auto; aspect-ratio: 1;
  object-fit: cover;
  border: 1.5px solid #C79A3B;
  padding: 4px;
  background: #FFFFFF;
  box-shadow: 0 14px 30px -18px rgba(52,54,56,.55);
}
.founder__name { font-family: var(--hero-serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; color: var(--ink); margin-bottom: 8px; }
.founder__role { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #9A7428; margin-bottom: 14px; }
.founder__bio { font-size: clamp(14px, 1vw, 15px); line-height: 1.7; color: #4a4c4e; }



/* ---------- 8. CONTATO ---------- */
.contact {
  background: #2a2c2e;
  padding: clamp(90px, 9vw, 140px) 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__title {
  font-family: var(--hero-serif); font-weight: 500;
  font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.01em;
  color: var(--white); margin-bottom: clamp(22px, 2.4vw, 32px);
}
.contact__title em { display: block; font-style: italic; color: var(--gold); }
.contact__lead { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.7; color: var(--text); max-width: 500px; margin-bottom: 26px; }
.contact__mail { font-size: 15px; color: var(--gold); border-bottom: 1px solid rgba(199,154,59,.35); padding-bottom: 2px; transition: border-color .3s, color .3s; overflow-wrap: anywhere; }
.contact__mail:hover { color: #DDB868; border-color: #DDB868; }

.contact__form {
  display: grid; gap: 20px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--bg-900);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.contact__form-title { font-family: var(--hero-serif); font-weight: 600; font-size: clamp(24px, 2vw, 30px); line-height: 1.15; color: var(--white); margin-bottom: 4px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--white); }
.field__input {
  width: 100%;
  padding: 14px 16px;
  font: inherit; font-size: 15px; font-weight: 400;
  color: var(--white);
  background: #2a2c2e;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 3px;
  transition: border-color .25s, box-shadow .25s;
}
.field__input::placeholder { color: rgba(196,197,195,.7); }
.field__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,154,59,.18); }
.field__input.is-invalid { border-color: #d9826b; }
.field__select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.field__select option { background: #2a2c2e; color: #FFFFFF; }
.field__textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.contact__submit {
  margin-top: 6px;
  padding: 17px 24px;
  font-size: 15px; font-weight: 600;
  color: #232426;
  background: linear-gradient(180deg, #DDB868 0%, #C79A3B 100%);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
  transition: filter .25s, transform .25s var(--ease);
}
.contact__submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.contact__submit:focus-visible { outline: 2px solid #DDB868; outline-offset: 3px; }
.contact__note { font-size: 13px; color: var(--muted); margin-top: -6px; }

/* ---------- FOOTER ---------- */
.footer { background: #2a2c2e; color: var(--text); padding: clamp(56px, 6vw, 80px) 0 clamp(36px, 4vw, 48px); }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__badge {
  display: block; margin-bottom: 32px;
  transition: transform .4s var(--ease);
}

.footer__badge:hover { transform: scale(1.04); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-bottom: 32px; }
.footer__nav a { font-size: 14px; color: var(--text); transition: color .3s; }
.footer__nav a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 14px; margin-bottom: 32px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); color: var(--white);
  display: grid; place-items: center;
  transition: border-color .3s, color .3s, background .3s;
}
.footer__social a .ico { width: 19px; height: 19px; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(199,154,59,.08); }
.footer__copy { font-size: 13px; color: var(--muted); }

/* ---------- INTRO DE ABERTURA ----------
   Durações: --intro-logo (surgimento da logo) e --intro-exit (saída).
   O tempo total em tela fica em js/main.js (INTRO_DURACAO). */
:root { --intro-logo: 1.4s; --intro-exit: .9s; }
.intro { display: none; }
html.has-intro body { overflow: hidden; }
html.has-intro .intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #424447 0%, var(--bg-900) 70%);
  transition: opacity var(--intro-exit) cubic-bezier(.65, 0, .35, 1), visibility var(--intro-exit);
}
.intro__stage { display: flex; flex-direction: column; align-items: center; }
.intro__logo {
  /* layout e tamanho definidos em .lockup / .lockup--intro */
  opacity: 0;
  transform: translateY(10px) scale(.97);
  filter: blur(10px);
}
.intro__line {
  display: block; width: min(220px, 40vw); height: 1px; margin-top: 30px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); opacity: 0;
}
.intro.is-playing .intro__logo { animation: introLogo var(--intro-logo) cubic-bezier(.16, .8, .24, 1) .15s forwards; }
.intro.is-playing .intro__line { animation: introLine 1.1s cubic-bezier(.65, 0, .35, 1) .75s forwards; }
@keyframes introLogo { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes introLine { to { opacity: 1; transform: scaleX(1); } }

.intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.intro.is-leaving .intro__stage { transform: scale(1.04); transition: transform var(--intro-exit) cubic-bezier(.65, 0, .35, 1); }

.intro__skip {
  position: absolute; right: 24px; bottom: 24px;
  padding: 10px 16px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  opacity: 0; animation: introLine .6s ease .6s forwards;
  transition: color .3s, border-color .3s;
}
.intro__skip:hover, .intro__skip:focus-visible { color: var(--gold); border-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .intro__logo, .intro__line { opacity: 1; transform: none; filter: none; animation: none !important; }
  .intro__skip { opacity: 1; animation: none; }
  html.has-intro .intro { transition: opacity .3s linear, visibility .3s; }
  .intro.is-leaving .intro__stage { transform: none; }
}

/* ---------- ANIMAÇÕES ----------
   Surgimento dos elementos ao rolar (para cima e para baixo).
   Ajuste a velocidade aqui:
   --reveal-duration  tempo que cada elemento leva para aparecer
   --reveal-stagger   intervalo entre elementos do mesmo grupo
   --reveal-distance  quanto o elemento sobe ao aparecer
   --reveal-blur      desfoque inicial */
:root {
  --reveal-duration: 2.4s;
  --reveal-stagger: 280ms;
  --reveal-distance: 48px;
  --reveal-blur: 8px;
}
.reveal { opacity: 0; }
.reveal.is-visible {
  animation: revealIn var(--reveal-duration) cubic-bezier(.16, .8, .24, 1) var(--reveal-delay, 0ms) both;
}
@keyframes revealIn {
  from { opacity: 0; translate: 0 var(--reveal-distance); filter: blur(var(--reveal-blur)); }
  to   { opacity: 1; translate: 0 0; filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1; animation: none; }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1280px) {
  .header__cta { margin-left: 4px; }
  .results__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .results__stats li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 1120px) {
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }

  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(42,44,46,.97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden;
    transition: opacity .4s, visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__link { font-family: var(--serif); font-size: 32px; }
  .nav__cta-mobile { display: inline-flex; margin-top: 20px; }
  .header__cta { display: none; }
  .burger { display: block; z-index: 2; }

  .split, .split--solutions, .split--method { grid-template-columns: 1fr; }
  .split__text { max-width: 720px; }
  .steps { max-width: none; }

  .results__body { grid-template-columns: 1fr; }
  .results__left { border-right: 0; padding-right: 0; }
}

@media (max-width: 820px) {
  /* celular: blocos de texto centralizados */
  .solutions .split__text, .method .split__text, .results__left { text-align: center; margin-left: auto; margin-right: auto; }
  .solutions .lead, .method .lead { margin-left: auto; margin-right: auto; }
  .results__stats { text-align: center; }
  .results__stats li, .results__stats li:first-child, .results__stats li:nth-child(3) { border-left: 0; padding: 0 8px; }

  .method { padding-bottom: 150px; }
  .method__wave { height: 190px; }


  .lockup--header { font-size: 13px; }


  .solutions__grid { grid-template-columns: 1fr; }
  .method__grid { grid-template-columns: 1fr; }

  .results__stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }

  .testimonial__mark { font-size: 150px; top: 60px; right: 18px; }

}

@media (max-width: 520px) {
  .eyebrow { gap: 16px; font-size: 11px; letter-spacing: .26em; }
  .btn--lg { padding: 18px 28px; }
  .link-arrow { gap: 18px; font-size: 12px; letter-spacing: .22em; }
  .link-arrow__circle { width: 48px; height: 48px; }
  .step { grid-template-columns: 44px 1fr; padding: 26px 22px; }
  .step__num { font-size: 30px; }
  .step__icon { display: none; }
  .marquee__group strong { font-size: 30px; }
  .marquee__group span { font-size: 10px; }
}

/* ---------- TEMA ESCURO DO CELULAR ----------
   Navegadores como o Samsung Internet aplicam um "modo escuro forçado"
   (escurecem seções claras e fotos) quando o site não declara um tema
   escuro próprio. Este bloco declara esse tema repetindo as cores do site,
   então com o celular no modo escuro o site fica exatamente igual. */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light dark; }
  html, body { background: var(--bg-900); color: var(--text); }
  .hero { background: var(--preto); }
  .solutions, .method { background-color: var(--bg-900); }
  .section--light, .about { background-color: var(--cream); color: var(--ink); }
  .section--light .title, .about__title, .founder__name { color: var(--ink); }
  .about__p, .founder__bio, .section--light .lead { color: #4a4c4e; }
  .marquee { background: linear-gradient(180deg, #F4F4F1, #DEDED9); }
  .contact { background: #2a2c2e; }
  .contact__form { background: var(--bg-900); }
  .field__input { background: #2a2c2e; color: var(--white); }
  .footer { background: #2a2c2e; }
  img { filter: none; }
}
