/*
  Sólida Credi — camada de identidade da marca para a LP de Capital de Giro.

  Carregada DEPOIS do CSS compilado da LP (styles-BTtcHqx4.css). Como as regras
  aqui ficam fora de @layer, elas vencem os tokens e utilitários gerados pelo
  Tailwind independente de especificidade. O objetivo é reescrever fonte, cores
  e sombras para o mesmo padrão visual de /lp/construcao/ e /imovel/, sem tocar
  na estrutura/markup gerado da página.
*/

@font-face {
  font-family: DM Sans;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../../../assets/fonts/dm-sans-latin.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

:root {
  /* Paleta institucional (idêntica às demais LPs) */
  --brand-950: #000f1c;
  --brand-900: #01172b;
  --brand-800: #00315d;
  --brand-700: #00315d;
  --brand-600: #005b89;
  --brand-400: #7ba9d3;
  --brand-200: #d6e2e2;
  --brand-100: #e8f5ff;
  --accent-cyan: #00f8f8;
  --accent-cyan-soft: #b6ffff;
  --ink: #334352;
  --muted-ink: #828b94;
  --line: #d7dadd;
  --soft: #f5f5f5;
  --softer: #f0f4f8;

  /* Tipografia da marca */
  --font-sans: "Google Sans", "Product Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Tokens da LP remapeados para a paleta da marca */
  --background: #fff;
  --foreground: var(--ink);
  --card: #fff;
  --card-foreground: var(--ink);
  --popover: #fff;
  --popover-foreground: var(--ink);
  --primary: var(--brand-900);
  --primary-foreground: #fff;
  --secondary: var(--softer);
  --secondary-foreground: var(--brand-900);
  --muted: var(--soft);
  --muted-foreground: var(--muted-ink);
  --accent: var(--brand-100);
  --accent-foreground: var(--brand-900);
  --destructive: #f66;
  --destructive-foreground: #fff;
  --border: var(--line);
  --input: var(--line);
  --ring: var(--accent-cyan);
  --brand: var(--accent-cyan);
  --brand-strong: var(--brand-600);
  --brand-soft: var(--brand-100);
  --surface: var(--softer);
  --footer: var(--brand-950);
}

/* ---------- Tipografia ---------- */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -.02em;
  font-weight: 700;
}

.eyebrow {
  letter-spacing: .16em;
  font-size: .75rem;
  font-weight: 700;
}

/*
  Títulos de seção na mesma escala de /imovel/ e /lp/construcao/, onde todo h2
  de seção é `text-3xl sm:text-4xl font-bold leading-tight` — 30px no mobile e
  36px a partir de sm.

  O build desta LP trazia `clamp(2rem, 4vw, 3.4rem)` com peso 750 e altura de
  linha 1.08, o que chegava a ~47px numa tela de 1180px e deixava esta página
  com títulos visivelmente maiores e mais apertados que as outras duas.

  O max-width de 22ch fica: como o ch acompanha o font-size, a quebra de linha
  continua caindo nos mesmos pontos do texto, só que em corpo menor.
*/
.section-title {
  max-width: 22ch;
  font-size: 1.875rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 700;
}

@media (min-width:640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/*
  Escala do h1 do hero, igual à de /imovel/ e /lp/construcao/:
  `text-4xl leading-[1.05] sm:text-5xl lg:text-[56px]` — 36px / 48px / 56px.
  Antes esta LP subia em md (não em sm) e terminava em 60px.

  As três utilidades abaixo não existem no build desta página. Declarar
  .leading-\[1\.05\] aqui, fora de @layer, ainda resolve um segundo problema:
  .text-5xl do Tailwind também define line-height (1), e fora da camada esta
  regra vence — a altura de linha fica em 1.05 em todos os breakpoints.
*/
.leading-\[1\.05\] {
  line-height: 1.05;
}

@media (min-width:640px) {
  .sm\:text-5xl {
    font-size: 3rem;
  }
}

@media (min-width:768px) {
  .md\:text-xl {
    font-size: 1.25rem;
  }
}

@media (min-width:1024px) {
  .lg\:text-\[56px\] {
    font-size: 56px;
  }
}

/* ---------- Logo ---------- */

.brand-logo {
  width: auto;
  height: 2.25rem;
  display: block;
}

@media (min-width:1024px) {
  .brand-logo {
    height: 2.5rem;
  }
}

.brand-logo--footer {
  height: 2rem;
  background: transparent;
}

@media (min-width:1024px) {
  .brand-logo--footer {
    height: 2.25rem;
  }
}

/* ---------- CTAs ---------- */

/* Mesmo comportamento do .btn-cta das outras LPs: fundo ciano, texto navy,
   halo ciano e leve elevação no hover. O hover:bg-brand-strong gerado pelo
   Tailwind escureceria o botão e derrubaria o contraste com o texto navy,
   por isso passa a usar o ciano claro da marca. */
.bg-brand {
  box-shadow: 0 10px 28px -10px rgba(0, 248, 248, .55);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.bg-brand:hover {
  transform: translateY(-1px);
}

.hover\:bg-brand-strong:hover {
  background-color: var(--accent-cyan-soft);
}

.bg-brand:focus-visible {
  outline: 2px solid var(--brand-800);
  outline-offset: 2px;
}

/* ---------- Ajustes de legibilidade sobre a nova paleta ---------- */

/* Numeração dos passos: o ciano a 35% desaparece no fundo claro. */
.text-brand\/35 {
  color: var(--brand-400);
}

/* Badges de ícone no padrão .icon-badge das outras LPs. */
.icon-disc {
  color: var(--brand-800);
}

/* .section-title nasce com a cor primária (navy); nas seções de fundo escuro
   isso deixava o título ilegível. */
.bg-primary .section-title {
  color: var(--primary-foreground);
}

/* ---------- Menu mobile ---------- */

.brand-mobile-menu {
  color: var(--brand-900);
  background: #fff;
  border-radius: 1rem;
  margin: 0 1rem 1rem;
  padding: 1.25rem;
  box-shadow: 0 12px 32px -12px rgba(0, 15, 28, .18);
}

.brand-mobile-menu ul {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  font-size: .95rem;
  font-weight: 600;
  list-style: none;
}

.brand-mobile-menu a:hover {
  color: var(--brand-600);
}

@media (min-width:768px) {
  .brand-mobile-menu {
    display: none !important;
  }
}

/* ---------- Rodapé institucional ---------- */

/*
  O rodapé é o mesmo markup de /lp/construcao/ e /imovel/, para poder ser
  mantido por cópia entre as três LPs. Como aquelas páginas têm outro build
  do Tailwind, as utilidades abaixo não existem no CSS compilado desta LP e
  são declaradas aqui com os mesmos valores do tailwind.config.js delas
  (brand.bg #071A2D, brand.accent #19E6F4). Nenhuma delas sobrescreve algo
  do build desta página — todas estavam ausentes.
*/

.bg-brand-bg {
  background-color: #071a2d;
}

.bg-brand-accent {
  background-color: #19e6f4;
}

.text-brand-accent {
  color: #19e6f4;
}

.text-\[\#071A2D\] {
  color: #071a2d;
}

.text-white {
  color: #fff;
}

.text-white\/70 {
  color: rgba(255, 255, 255, .7);
}

.text-white\/60 {
  color: rgba(255, 255, 255, .6);
}

.text-white\/50 {
  color: rgba(255, 255, 255, .5);
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, .2);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, .1);
}

.hover\:text-brand-accent:hover {
  color: #19e6f4;
}

.hover\:bg-brand-accent:hover {
  background-color: #19e6f4;
}

.hover\:border-brand-accent:hover {
  border-color: #19e6f4;
}

.hover\:-translate-y-0\.5:hover {
  transform: translateY(-.125rem);
}

.hover\:shadow-\[0_12px_32px_-8px_rgba\(25\,230\,244\,0\.45\)\]:hover {
  box-shadow: 0 12px 32px -8px rgba(25, 230, 244, .45);
}

.group:hover .group-hover\:text-\[\#071A2D\] {
  color: #071a2d;
}

.font-sans {
  font-family: var(--font-sans);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, .2, 1);
}

.leading-relaxed {
  line-height: 1.625;
}

.object-contain {
  object-fit: contain;
}

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

.gap-2\.5 {
  gap: .625rem;
}

.space-y-4> :not([hidden])~ :not([hidden]) {
  margin-top: 1rem;
}

.h-6 {
  height: 1.5rem;
}

.h-11 {
  height: 2.75rem;
}

.h-14 {
  height: 3.5rem;
}

.w-14 {
  width: 3.5rem;
}

.h-\[18px\] {
  height: 18px;
}

.w-\[18px\] {
  width: 18px;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-14 {
  margin-top: 3.5rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.px-7 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.max-w-\[1280px\] {
  max-width: 1280px;
}

.max-w-\[1200px\] {
  max-width: 1200px;
}

@media (min-width:640px) {
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width:768px) {
  .md\:pt-20 {
    padding-top: 5rem;
  }

  .md\:text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
  }
}

@media (min-width:1024px) {
  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:items-start {
    align-items: flex-start;
  }

  .lg\:justify-between {
    justify-content: space-between;
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:gap-8 {
    gap: 2rem;
  }

  .lg\:space-y-4> :not([hidden])~ :not([hidden]) {
    margin-top: 1rem;
  }

  .lg\:h-9 {
    height: 2.25rem;
  }

  .lg\:mb-4 {
    margin-bottom: 1rem;
  }

  .lg\:mb-10 {
    margin-bottom: 2.5rem;
  }

  .lg\:mt-16 {
    margin-top: 4rem;
  }

  .lg\:mt-20 {
    margin-top: 5rem;
  }

  .lg\:pt-2 {
    padding-top: .5rem;
  }

  .lg\:pt-24 {
    padding-top: 6rem;
  }

  .lg\:pb-14 {
    padding-bottom: 3.5rem;
  }

  .lg\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .lg\:font-medium {
    font-weight: 500;
  }

  .lg\:text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
  }

  .lg\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .lg\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .lg\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

/* ---------- Hero ---------- */

/*
  Na foto original o executivo está na metade direita e a parede navy na
  esquerda. Espelhando a imagem ele passa para a esquerda, atrás do bloco de
  textos, e a parede sobra do lado do card de simulação. O gradiente segue a
  mesma inversão: mais leve na esquerda, para o homem aparecer sob o texto, e
  fechando em navy cheio na direita, onde ficam os campos de valor de crédito
  e de valor do imóvel. O mobile mantém o gradiente vertical do build.
*/

.hero-photo {
  transform: scaleX(-1);
}

@media (min-width:768px) {
  .bg-hero-overlay {
    background: linear-gradient(90deg,
        rgba(1, 23, 43, .58) 0%,
        rgba(1, 23, 43, .52) 30%,
        rgba(1, 23, 43, .82) 64%,
        rgba(1, 23, 43, .97) 100%);
  }
}

/* Com a foto visível sob o texto, o título e o subtítulo ganham uma sombra
   discreta para garantir contraste nas áreas mais claras da imagem. */
@media (min-width:768px) {

  .bg-hero-overlay+div>.text-primary-foreground h1,
  .bg-hero-overlay+div>.text-primary-foreground .eyebrow,
  .bg-hero-overlay+div>.text-primary-foreground p {
    text-shadow: 0 2px 18px rgba(0, 15, 28, .55);
  }
}

/* ---------- Modal de simulação (wizard de 2 etapas) ---------- */

/*
  O markup do modal é o mesmo de /lp/construcao/ e /imovel/, mas aquelas páginas
  têm outro build do Tailwind: as utilidades usadas lá não existem no CSS
  compilado desta LP. Em vez de depender de dezenas de classes ausentes, o modal
  desta página usa classes próprias (.sim-*), declaradas aqui com os tokens da
  marca já definidos no topo do arquivo.

  Uma sutileza: estas regras ficam FORA de @layer e por isso vencem as utilidades
  do build — inclusive .hidden e .flex, que o JS do wizard liga e desliga. Por
  isso cada estado precisa estar declarado explicitamente abaixo (.sim-step.hidden,
  .sim-end.flex), senão a etapa escondida continuaria visível.
*/

body.modal-open {
  overflow: hidden;
}

.sim-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #fff;
}

.sim-modal.hidden {
  display: none;
}

.sim-grid {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr;
}

@media (min-width:768px) {
  .sim-grid {
    grid-template-columns: 32% 1fr;
  }

  .sim-grid.sim-grid--full {
    grid-template-columns: 1fr;
  }
}

.sim-photo {
  position: relative;
  display: none;
  height: 100%;
}

@media (min-width:768px) {
  .sim-photo {
    display: block;
  }

  .sim-grid--full .sim-photo {
    display: none;
  }
}

.sim-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.sim-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

@media (min-width:640px) {
  .sim-panel {
    padding: 2rem 2.5rem;
  }
}

@media (min-width:768px) {
  .sim-panel {
    padding: 2rem 4rem;
  }
}

@media (min-width:1024px) {
  .sim-panel {
    padding: 2rem 5rem;
  }
}

.sim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sim-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sim-progress {
  display: flex;
  align-items: center;
  gap: .375rem;
}

.sim-progress.invisible {
  visibility: hidden;
}

.sim-progress span {
  width: 2.5rem;
  height: .25rem;
  border-radius: 999px;
  background: var(--line);
  transition: background-color .3s ease;
}

.sim-progress span.is-on {
  background: var(--brand-950);
}

.sim-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--muted-ink);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.sim-icon-btn:hover {
  color: var(--brand-900);
  background: var(--softer);
}

.sim-icon-btn:focus-visible {
  outline: 2px solid var(--brand-800);
  outline-offset: 2px;
}

.sim-step,
.sim-end {
  width: 100%;
  max-width: 28rem;
  margin: 2rem auto 0;
  flex: 1 1 auto;
}

@media (min-width:640px) {

  .sim-step,
  .sim-end {
    margin-top: 2.5rem;
  }
}

.sim-step.hidden {
  display: none;
}

.sim-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted-ink);
}

/* text-3xl sm:text-4xl leading-tight, como o h2 das etapas do modal em
   /imovel/ e /lp/construcao/. */
.sim-step h2 {
  margin: 1.25rem 0 0;
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--brand-900);
}

@media (min-width:640px) {
  .sim-step h2 {
    font-size: 2.25rem;
  }
}

.sim-step-sub {
  margin: .75rem 0 0;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--muted-ink);
}

.sim-fields {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.sim-field {
  display: block;
}

.sim-field > span:first-child {
  display: block;
  margin-bottom: .5rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--brand-900);
}

.sim-input {
  width: 100%;
  height: 3rem;
  padding: 0 1.25rem;
  font: inherit;
  font-size: .875rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.sim-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0, 248, 248, .3);
}

select.sim-input {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23828b94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.125rem center;
  background-size: 1rem 1rem;
}

/* Estados de validação. Sem prefixo .sim-* de propósito: os dois campos do
   hero (valorDesejado/valorImovel) usam as classes do build desta LP, não
   .sim-input, e precisam do mesmo feedback visual do modal. */
input.is-invalid,
select.is-invalid {
  border-color: #ff6666;
}

input.is-invalid:focus,
select.is-invalid:focus {
  border-color: #ff6666;
  box-shadow: 0 0 0 2px rgba(255, 102, 102, .3);
}

input.is-valid,
select.is-valid {
  border-color: #12b272;
}

input.is-valid:focus,
select.is-valid:focus {
  border-color: #12b272;
  box-shadow: 0 0 0 2px rgba(18, 178, 114, .3);
}

.sim-error {
  display: block;
  margin-top: .375rem;
  font-size: .75rem;
  font-weight: 600;
  color: #dc2626;
}

.sim-error.hidden {
  display: none;
}

.sim-error.is-checking {
  font-weight: 500;
  color: var(--muted-ink);
}

.sim-error.is-ok {
  color: #12b272;
}

.sim-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  height: 3.25rem;
  margin-top: 2rem;
  padding: 0 2rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand-900);
  background: var(--accent-cyan);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 28px -10px rgba(0, 248, 248, .55);
  transition: transform .2s ease, background-color .2s ease;
}

.sim-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--accent-cyan-soft);
}

.sim-submit:focus-visible {
  outline: 2px solid var(--brand-800);
  outline-offset: 2px;
}

.sim-submit:disabled {
  cursor: not-allowed;
  opacity: .6;
  transform: none;
}

.sim-nota {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 1rem 0 0;
  font-size: .75rem;
  line-height: 1.5;
  text-align: center;
  color: var(--brand-900);
}

.sim-nota svg {
  flex: none;
}

/* ---------- Etapa final ---------- */

.sim-end {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sim-end.flex {
  display: flex;
}

.sim-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #12b272;
}

.sim-end h2 {
  margin: 1.5rem 0 0;
  font-size: 1.5rem;
  color: var(--brand-900);
}

@media (min-width:640px) {
  .sim-end h2 {
    font-size: 1.875rem;
  }
}

.sim-end-texto {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: .875rem;
  line-height: 1.625;
  color: var(--ink);
}

.sim-end-texto p {
  margin: 0;
}

.sim-end-texto strong {
  color: var(--brand-900);
}

.sim-end .sim-submit {
  width: auto;
  min-width: 12rem;
  margin-top: 2.5rem;
}

/* ---------- Campos do hero ---------- */

/* Destaque de quem chega pelos CTAs "Simular crédito" das seções de baixo. */
@keyframes field-highlight {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 248, 248, 0); }
  30%, 70% { box-shadow: 0 0 0 4px rgba(0, 248, 248, .45); }
}

.field-highlight {
  animation: field-highlight 1.4s ease-in-out;
}

/* ---------- Depoimentos ---------- */

/*
  Porte do bloco de depoimentos de /lp/construcao/ e /imovel/ (css/styles.css
  de lá), para os três terem o mesmo desenho. Duas diferenças obrigatórias:

  1. As utilidades do Tailwind usadas no markup não existem no build desta LP
     e estão declaradas logo abaixo, no mesmo molde já usado pelo rodapé.
  2. Os tokens têm nomes diferentes entre os dois projetos. Em especial,
     --accent lá é o ciano (#00F8F8), mas aqui é o azul claro --brand-100; o
     ciano nesta página chama-se --accent-cyan. Mesma história com --muted
     (lá é o cinza de texto, aqui é um fundo): o equivalente é --muted-ink.
*/

/* utilidades ausentes no build desta LP */
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.text-\[16px\] {
  font-size: 16px;
}

@media (min-width:640px) {
  .sm\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width:1024px) {
  .lg\:grid-cols-\[minmax\(0\,480px\)_minmax\(0\,1fr\)\] {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  }

  .lg\:items-center {
    align-items: center;
  }

  .lg\:gap-16 {
    gap: 4rem;
  }
}

/* componentes */
.testimonials-section {
  overflow-x: clip;
  background: linear-gradient(150deg, var(--brand-950) 0, var(--brand-700) 100%);
}

.testimonials-carousel-wrap,
.testimonials-intro,
.testimonials-section .grid {
  min-width: 0;
}

/* Em construção/imóvel o título usa a cor "ice" do tailwind.config.js de lá. */
.testimonials-title {
  color: #eef6fb;
}

.testimonials-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 8px 12px 24px;
  background: var(--accent-cyan);
  color: var(--brand-700);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 100px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
}

.testimonials-cta:hover {
  transform: translateY(-2px) scale(1.02);
  background: #5dfafa;
  box-shadow: 0 18px 40px -14px rgba(0, 248, 248, .7);
}

.testimonials-cta:focus-visible {
  outline: 2px solid #0b1424;
  outline-offset: 3px;
}

.testimonials-cta__arrow {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: var(--brand-800);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .25s ease;
}

.testimonials-cta:hover .testimonials-cta__arrow {
  transform: translateX(3px) rotate(-8deg);
}

.testimonials-embla {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.embla__viewport,
.testimonials-carousel-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.embla__viewport {
  min-width: 0;
}

.embla__container {
  display: flex;
  touch-action: pan-y;
  backface-visibility: hidden;
  min-width: 0;
}

.embla__slide.testimonial-card {
  flex: 0 0 78%;
  min-width: 0;
  margin-right: 1.25rem;
  background: hsla(0, 0%, 100%, .06);
  border: 1px solid hsla(0, 0%, 100%, .14);
  border-radius: 26px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 20px 48px -28px rgba(0, 0, 0, .55);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.embla__slide.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: hsla(0, 0%, 100%, .26);
  box-shadow: 0 28px 60px -26px rgba(0, 0, 0, .65);
}

@media (min-width:768px) {
  .embla__slide.testimonial-card {
    flex: 0 0 62%;
  }
}

@media (min-width:1024px) {
  .embla__slide.testimonial-card {
    flex: 0 0 80%;
    max-width: 560px;
  }
}

.stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: .9rem;
}

.testimonial-text {
  margin-top: 1.25rem;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: hsla(0, 0%, 100%, .82);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: var(--accent-cyan);
  color: var(--brand-950);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 15px;
  color: hsla(0, 0%, 100%, .85);
}

.testimonials-controls {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-right: .25rem;
}

/* Selo "5,0 no Google": em construção/imóvel é uma pilha de utilidades
   (inline-flex, border-white/15, bg-white/5, text-[11px]...) que este build
   não tem; virou uma classe só, com os mesmos valores. */
.selo-google {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .875rem;
  border: 1px solid hsla(0, 0%, 100%, .15);
  background: hsla(0, 0%, 100%, .05);
  border-radius: 9999px;
}

.selo-google__texto {
  display: flex;
  align-items: baseline;
  gap: .375rem;
}

.selo-google__texto .stars {
  font-size: 12px;
  line-height: 1;
}

.selo-google__texto span:last-child {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  color: hsla(0, 0%, 100%, .6);
}

.testimonial-nav {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}

.testimonial-nav--prev {
  background: hsla(0, 0%, 100%, .06);
  border: 1px solid hsla(0, 0%, 100%, .24);
  color: #fff;
}

.testimonial-nav--next {
  background: var(--accent-cyan);
  color: var(--brand-950);
  border: 1px solid var(--accent-cyan);
}

.testimonial-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px -12px rgba(11, 20, 36, .35);
}

.testimonial-nav:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.testimonial-nav:focus-visible {
  outline: 2px solid #18e7f3;
  outline-offset: 2px;
}

@media (max-width:767px) {
  .testimonials-section {
    width: 100%;
    max-width: 100vw;
  }

  .testimonials-section .mx-auto {
    width: 100%;
    max-width: 100%;
  }

  .embla__slide.testimonial-card {
    flex: 0 0 calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    margin-right: .75rem;
    padding: 1.25rem;
    min-height: 280px;
    border-radius: 20px;
  }

  .testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 1rem;
    -webkit-line-clamp: 8;
  }

  .testimonial-footer {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .testimonials-cta {
    height: 56px;
  }

  .testimonials-controls {
    margin-top: 1.25rem;
  }
}

/* O CTA mobile é limitado a 300px a partir de sm, como em construção/imóvel
   (.w-full já existe no build desta LP; esta variante, não). */
@media (min-width:640px) {
  .sm\:w-\[300px\] {
    width: 300px;
  }
}

/* ---------- Perguntas frequentes ---------- */

/*
  Porte da sanfona de FAQ de /lp/construcao/ e /imovel/ (css/styles.css de lá),
  para os três terem o mesmo desenho: card branco de canto arredondado, pergunta
  em negrito e o quadrado +/– à direita. Como no bloco de depoimentos acima, as
  utilidades do Tailwind usadas no markup não existem no build desta LP e estão
  declaradas aqui com os mesmos valores do tailwind.config.js das outras.
*/

/* utilidades ausentes no build desta LP */
.bg-softer {
  background-color: var(--softer);
}

.text-brand-600 {
  color: var(--brand-600);
}

.pt-8 {
  padding-top: 2rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

@media (min-width:768px) {
  .md\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width:1024px) {
  .lg\:mt-12 {
    margin-top: 3rem;
  }

  .lg\:space-y-6> :not([hidden])~ :not([hidden]) {
    margin-top: 1.5rem;
  }
}

/* componentes */

/* Em construção/imóvel o título leva a utilidade .text-brand-950; aqui a cor
   entra pela própria classe do título, que lá não tinha regra. */
.title-faq {
  color: var(--brand-950);
}

.faq {
  background-color: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.faq[open] {
  box-shadow: 0 10px 30px -15px rgba(0, 15, 28, .15);
}

.faq>summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq>summary:after {
  content: "+";
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 7px;
  background: var(--softer);
  color: var(--brand-900);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}

.faq[open]>summary:after {
  content: "–";
}

.faq-body {
  padding: 0 1.25rem 1.25rem;
  color: #000;
  font-size: 14px;
  line-height: 1.6;
}

.faq-body p {
  margin: 0;
}

@media (min-width:1024px) {
  .faq>summary {
    padding: 1.5rem;
    font-size: 18px;
  }

  .faq-body {
    padding: 0 1.5rem 1.5rem;
    font-size: 15px;
  }
}
