/* =========================================================================
   Paulista Cred — sistema visual
   Claro, arredondado e caloroso. As 4 cores da logo com função:
   azul = casa, verde = veículo, âmbar = construção, vermelho = crédito.
   Fontes: Poppins (títulos) + Nunito Sans (corpo).
   ========================================================================= */

:root {
  /* PALETA PASTEL QUENTE (terracota, sálvia, ocre, azul-poeira).
     Os nomes --red/--blue/--green/--amber foram mantidos para não mexer nas
     classes do HTML; hoje guardam tons pastel quentes:
       --red   = terracota (acento/CTA + pilar Crédito)
       --blue  = azul-poeira suave (pilar Casa, o toque frio de contraste)
       --green = sálvia (pilar Veículo)
       --amber = ocre (pilar Construção) */
  --red: #C56B4A;
  --red-ink: #A5502E;
  --blue: #6F89A6;
  --blue-ink: #4E6A85;
  --green: #7E9C6C;
  --green-ink: #5C7A4B;
  --amber: #CFA24C;
  --amber-ink: #97741F;

  /* neutros quentes */
  --ink: #43382E;
  --ink-soft: #786757;
  --ink-faint: #A89A89;
  --paper: #FFFFFF;
  --cream: #F7EDDF;
  --cream-2: #EFE1CD;
  --line: #EADDC9;
  --line-2: #DECBB0;

  /* tints pastel para cartões */
  --red-50: #F6E5DC;
  --blue-50: #EAEFF4;
  --green-50: #ECF1E4;
  --amber-50: #F6ECD6;

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --shadow-sm: 0 2px 8px rgba(67,56,46,.06);
  --shadow: 0 22px 44px -28px rgba(67,56,46,.26);
  --shadow-lg: 0 40px 80px -40px rgba(67,56,46,.34);

  --wrap: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grão sutil sobre tudo — dá textura e tira o aspecto "chapado" */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--cream { background: var(--cream); }

/* barra de progresso */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--amber), var(--red));
  z-index: 1200; transition: width .1s linear;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill);
  font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- utilitários de cor no texto ---------- */
.u-red { color: var(--red); }
.u-blue { color: var(--blue); }
.u-green { color: var(--green); }
.u-amber { color: var(--amber-ink); }

/* Destaques nas frases grandes: apenas COR, na mesma fonte do título
   (Poppins). Sem serifa itálica em nenhum título do site. */

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--red { color: var(--red); }
.eyebrow--blue { color: var(--blue); }

/* ---------- títulos de seção ---------- */
.sec-head { max-width: 720px; margin: 0 0 clamp(36px, 5vw, 56px); }
.sec-head--left { max-width: 620px; }
.sec-title { font-size: clamp(1.9rem, 4.4vw, 3rem); text-wrap: balance; }
.sec-intro { color: var(--ink-soft); font-size: clamp(1.02rem, 1.4vw, 1.18rem); margin-top: 18px; max-width: 62ch; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: var(--pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  will-change: transform;
}
.btn-ico { width: 20px; height: 20px; flex: none; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 26px -14px rgba(197,107,74,.7); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(197,107,74,.8); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* =========================================================================
   HERO
   ========================================================================= */
#hero {
  position: relative;
  padding: clamp(120px, 15vw, 168px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(120% 90% at 92% -10%, var(--blue-50) 0%, transparent 46%),
    radial-gradient(90% 80% at -8% 8%, var(--red-50) 0%, transparent 42%),
    var(--cream);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-title { font-size: clamp(2.2rem, 4.9vw, 3.5rem); letter-spacing: -.025em; margin: 6px 0 0; text-wrap: balance; }

/* Máquina de escrever no hero — digita a frase, apaga e passa à próxima.
   Mesma fonte do título (Poppins). min-height reserva espaço para não
   "pular" o layout enquanto o texto cresce/encolhe. */
.typer { display: inline; }
/* reserva ~2 linhas (desktop): as frases têm comprimento parecido, então o
   texto ocupa a altura toda e não sobra "buraco" nem há pulo de layout. */
.hero-title { min-height: 2.3em; }
.typer-caret {
  display: inline-block; width: 3px; height: 1em; margin-left: 4px;
  vertical-align: -0.08em; background: var(--red); border-radius: 2px;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .typer-caret { animation: none; }
}

/* leitor de tela: frase canônica escondida (o typer fica aria-hidden) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Âncora visual do hero — foto real da loja. Só no MOBILE (no desktop o card
   do Consórcio já é o visual). É o que tira a cara de "documento de texto". */
.hero-anchor { display: none; }
.hero-sub { color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.24rem); margin-top: 22px; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust b { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--ink); }
.hero-trust span { font-size: .9rem; color: var(--ink-soft); }
.hero-trust li + li { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line-2); }

.hero-media { position: relative; }
.hero-photo { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.hero-photo img { width: 100%; height: clamp(340px, 42vw, 520px); object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(3px);
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  padding: 8px 13px; border-radius: var(--pill);
}
.hero-photo figcaption svg { color: var(--red); }

.hero-badge {
  position: absolute; right: -10px; bottom: -22px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--pill); padding: 12px 20px 12px 16px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-badge b { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink); }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot + .dot { margin-left: -4px; }
.dot--blue { background: var(--blue); }
.dot--green { background: var(--green); }
.dot--amber { background: var(--amber); }
.dot--red { background: var(--red); }

/* ---------- Banner promocional do hero (Consórcio) ---------- */
.promo {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background: linear-gradient(150deg, var(--red) 0%, var(--red-ink) 58%, #8F4022 100%);
  color: #fff; border-radius: var(--r-lg);
  padding: clamp(26px, 3.2vw, 42px);
  box-shadow: var(--shadow-lg);
}
/* Brilho diagonal que varre o banner (glare) — único movimento ambiente,
   lento e discreto. Sem orb de glow nem pontos piscando (evita "cara de IA"). */
.promo::after {
  content: ""; position: absolute; z-index: -1; top: -30%; bottom: -30%; left: 0;
  width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.14) 50%, transparent 100%);
  transform: skewX(-16deg) translateX(-260%);
  animation: promoSheen 11s ease-in-out 2s infinite;
}
/* Cifrão decorativo ($) de fundo, opacidade baixa */
.promo-cash {
  position: absolute; z-index: -1; right: -8%; bottom: -14%;
  width: 60%; height: auto; color: #fff; opacity: .09;
  transform: rotate(-8deg); pointer-events: none;
}
.promo-dots { display: flex; }
.promo-dots .dot {
  width: 13px; height: 13px; box-shadow: 0 0 0 2px rgba(255,255,255,.28);
}
.promo-tag {
  font-family: var(--font-display); font-weight: 600; font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.82);
}
.promo-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.14;
  letter-spacing: -.01em; text-wrap: balance;
}
.promo-hl { color: #F6DEA9; }
.promo-sub { color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.5; }
.promo-wa {
  align-self: stretch; display: flex; align-items: center; gap: 13px; margin-top: 4px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--pill); padding: 10px 20px 10px 11px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.promo-wa:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.promo-wa-ico { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green-ink); }
.promo-wa-ico svg { width: 23px; height: 23px; }
.promo-wa-txt { display: flex; flex-direction: column; line-height: 1.25; }
.promo-wa-txt small { font-size: .8rem; color: rgba(255,255,255,.86); }
.promo-wa-txt b { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; letter-spacing: .01em; }
.promo-btn { align-self: stretch; margin-top: 4px; animation: promoPulse 3s var(--ease) 2s infinite; }
.promo-btn:hover { box-shadow: 0 20px 38px -18px rgba(0,0,0,.5); animation-play-state: paused; }

/* Loops do banner — chamativo com elegância */
@keyframes promoSheen {
  0%   { transform: skewX(-16deg) translateX(-260%); }
  22%, 100% { transform: skewX(-16deg) translateX(520%); }
}
@keyframes promoPulse {
  0%, 100% { box-shadow: 0 12px 26px -14px rgba(0,0,0,.45), 0 0 0 0 rgba(255,255,255,.5); }
  50%      { box-shadow: 0 12px 26px -14px rgba(0,0,0,.45), 0 0 0 7px rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .promo::after, .promo-btn { animation: none; }
}

/* =========================================================================
   PILARES (assinatura)
   ========================================================================= */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px 24px; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--pc, var(--blue)); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  color: #fff; background: var(--pc); margin-bottom: 18px;
}
.pillar-ico svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 1.32rem; margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.pillar-go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--pc);
}
.pillar-go svg { transition: transform .2s var(--ease); }
.pillar:hover .pillar-go svg { transform: translateX(4px); }

.pillar--blue  { --pc: var(--blue); }
.pillar--green { --pc: var(--green); }
.pillar--amber { --pc: var(--amber-ink); }
.pillar--red   { --pc: var(--red); }

/* =========================================================================
   SERVIÇOS
   ========================================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 24px 28px; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
/* barra de acento que desliza no topo ao passar o mouse */
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--sc); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico { transition: transform .32s var(--ease), background .3s; }
.svc-card:hover .svc-ico { transform: scale(1.08) rotate(-4deg); }
@media (hover: none) {
  .svc-card:hover { transform: none; }
  .svc-card:hover .svc-ico { transform: none; }
}
.svc-tag {
  align-self: flex-start; font-family: var(--font-display); font-weight: 600;
  font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--pill); color: var(--sc); background: var(--sc-50);
}
.svc-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--sc); background: var(--sc-50); }
.svc-ico svg { width: 27px; height: 27px; }
.svc-card h3 { font-size: 1.12rem; }
.svc-card p { color: var(--ink-soft); font-size: .95rem; }

.svc--blue  { --sc: var(--blue-ink);  --sc-50: var(--blue-50); }
.svc--green { --sc: var(--green-ink); --sc-50: var(--green-50); }
.svc--amber { --sc: var(--amber-ink); --sc-50: var(--amber-50); }
.svc--red   { --sc: var(--red-ink);   --sc-50: var(--red-50); }

.svc-note {
  margin-top: 26px; font-size: .88rem; color: var(--ink-faint);
  padding-left: 16px; border-left: 3px solid var(--amber);
}

/* =========================================================================
   COMO FUNCIONA
   ========================================================================= */
.steps-wrap { position: relative; }

/* Conector desktop: seta dupla (») entre os passos, colorida por etapa.
   Aparece junto com o card (o stagger cuida da sequência) — não é uma linha reta.
   Escopado a >=621px para o mobile poder reusar ::after como conector. */
@media (min-width: 621px) {
  .step:not(:first-child)::before,
  .step:not(:first-child)::after {
    content: ""; position: absolute; z-index: 3; top: 43px;
    width: 11px; height: 11px; border-radius: 2px;
    border-top: 3px solid var(--pc); border-right: 3px solid var(--pc);
    transform: rotate(45deg);
  }
  .step:not(:first-child)::before { left: -19px; opacity: .4; }
  .step:not(:first-child)::after  { left: -11px; }
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; z-index: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px 24px;
}
.step-n {
  position: relative; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff;
  background: var(--pc); margin-bottom: 18px; box-shadow: 0 0 0 5px var(--paper);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; }
.step--red   { --pc: var(--red); }
.step--blue  { --pc: var(--blue); }
.step--green { --pc: var(--green); }
.step--amber { --pc: var(--amber-ink); }

/* =========================================================================
   SOBRE / GRUPO
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-values { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.aval { display: flex; gap: 14px; align-items: flex-start; }
.aval-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.aval--red { background: var(--red); }
.aval--blue { background: var(--blue); }
.aval--green { background: var(--green); }
.aval h4 { font-size: 1.02rem; margin-bottom: 2px; }
.aval p { color: var(--ink-soft); font-size: .92rem; }

.areas-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.areas-label { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.areas-copy { color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; }
.areas-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas-list li {
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  padding: 6px 12px; border-radius: var(--pill); background: var(--cream);
  border: 1px solid var(--line); color: var(--ink-soft);
}

/* =========================================================================
   NOSSA LOJA
   ========================================================================= */
.loja-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.loja-figure { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.loja-photo { width: 100%; height: clamp(320px, 40vw, 480px); object-fit: cover; }
.loja-figure figcaption {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: rgba(255,255,255,.94); color: var(--ink); backdrop-filter: blur(3px);
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  padding: 7px 14px; border-radius: var(--pill);
}
.loja-figure figcaption svg { flex: none; width: 15px; height: 15px; }
.loja-figure figcaption svg { color: var(--red); }
.loja-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.loja-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: .98rem; }
.loja-list svg { flex: none; color: var(--blue); margin-top: 2px; }
.loja-facts { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.loja-fact { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; }
.loja-fact b { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.loja-fact span { font-size: .82rem; color: var(--ink-soft); }
.section--cream .loja-fact, .section--cream .areas-list li { background: #fff; }

/* =========================================================================
   PÚBLICO
   ========================================================================= */
.audience { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.aud-chip {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--pill);
  padding: 12px 22px 12px 14px; font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.aud-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.aud-chip svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: #fff; }
.aud--blue svg { background: var(--blue); }
.aud--green svg { background: var(--green); }
.aud--red svg { background: var(--red); }
.aud--amber svg { background: var(--amber-ink); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 96px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 20px; height: 20px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s; }
.plus::before { top: 9px; left: 2px; width: 16px; height: 2.4px; }
.plus::after { left: 9px; top: 2px; width: 2.4px; height: 16px; }
.faq-item[open] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 22px 22px; color: var(--ink-soft); font-size: .98rem; }

/* =========================================================================
   CONTATO
   ========================================================================= */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-ink) 100%);
  color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 68px) clamp(28px, 5vw, 60px);
  box-shadow: var(--shadow);
}
/* CTA centralizado */
.cta-band { text-align: center; }
.cta-dots { display: flex; justify-content: center; margin-bottom: 20px; }
.cta-dots .dot { width: 14px; height: 14px; }
.cta-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 22ch; margin-inline: auto; text-wrap: balance; }
/* destaque legível sobre a faixa azul (evita ocre sobre azul) */
.cta-band .u-amber { color: #F4DBA6; }
.cta-sub { color: rgba(255,255,255,.86); font-size: 1.08rem; margin: 16px auto 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.contact-card {
  display: flex; gap: 15px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .2s;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.c-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; }
.c-ico svg { width: 23px; height: 23px; }
.c--green { background: var(--green-50); color: var(--green-ink); }
.c--blue  { background: var(--blue-50);  color: var(--blue-ink); }
.c--amber { background: var(--amber-50); color: var(--amber-ink); }
.c--red   { background: var(--red-50);   color: var(--red-ink); }
.contact-card h4 { font-size: 1.02rem; margin-bottom: 3px; }
.contact-card > div > span { display: block; font-weight: 700; color: var(--ink); font-size: .93rem; overflow-wrap: break-word; }
.contact-card small { display: block; color: var(--ink-soft); font-size: .82rem; margin-top: 4px; }

.contact-lower { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; margin-top: 18px; align-items: stretch; }
.hours { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.hours-label { font-family: var(--font-display); font-weight: 700; margin-bottom: 14px; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list span { color: var(--ink-soft); }
.hours-list b { font-family: var(--font-display); font-weight: 700; }
.map-wrap { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); min-height: 260px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; filter: saturate(.9); }

/* =========================================================================
   FAB WhatsApp
   ========================================================================= */
#fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green); color: #fff; border-radius: var(--pill);
  padding: 14px 20px 14px 16px; font-family: var(--font-display); font-weight: 700;
  box-shadow: 0 16px 30px -12px rgba(126,156,108,.75);
  transform: translateY(120px); opacity: 0; transition: transform .35s var(--ease), opacity .35s, box-shadow .2s;
}
#fab.show { transform: translateY(0); opacity: 1; }
#fab:hover { box-shadow: 0 22px 38px -12px rgba(126,156,108,.9); }
#fab svg { width: 26px; height: 26px; }

/* =========================================================================
   Revelação (GSAP e fallback)
   ========================================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* =========================================================================
   FAIXA CAIXA AQUI — linha editorial contínua (marquee sutil)
   ========================================================================= */
.caixa-strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.caixa-track { display: flex; width: max-content; animation: caixaScroll 42s linear infinite; }
.caixa-strip:hover .caixa-track { animation-play-state: paused; }
.caixa-group { display: flex; flex: none; }
.caixa-cell {
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
  padding: clamp(16px, 2.4vw, 22px) clamp(26px, 4vw, 46px);
}
.caixa-cell b {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: .02em; color: var(--ink);
}
.caixa-sub {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(.85rem, 1.3vw, 1.05rem); letter-spacing: .02em;
  text-transform: uppercase; color: var(--red);
}
.caixa-dots { display: inline-flex; }
.caixa-dots .dot { width: 11px; height: 11px; }
@keyframes caixaScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .caixa-track { animation: none; justify-content: center; }
}

/* índice editorial dos pilares (01–04) */
.pillar { padding-top: 24px; }
.pillar-index {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--pc); opacity: .28; letter-spacing: .02em;
}

/* públicos — pílulas com ponto colorido, sem ícone */
.aud-chip { padding: 13px 22px; }
.aud-dot {
  width: 11px; height: 11px; border-radius: 50%; flex: none;
  animation: audPulse 2.8s var(--ease) infinite;
}
.aud--blue  .aud-dot { background: var(--blue); }
.aud--green .aud-dot { background: var(--green); }
.aud--red   .aud-dot { background: var(--red); }
.aud--amber .aud-dot { background: var(--amber); }
/* cada pílula pulsa levemente defasada — dá vida sem chamar atenção */
.aud-chip:nth-child(1) .aud-dot { animation-delay: 0s; }
.aud-chip:nth-child(2) .aud-dot { animation-delay: .35s; }
.aud-chip:nth-child(3) .aud-dot { animation-delay: .7s; }
.aud-chip:nth-child(4) .aud-dot { animation-delay: 1.05s; }
.aud-chip:nth-child(5) .aud-dot { animation-delay: 1.4s; }
@keyframes audPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(67,56,46,0); }
  50%      { transform: scale(1.28); box-shadow: 0 0 0 4px rgba(67,56,46,.05); }
}
@media (prefers-reduced-motion: reduce) {
  .aud-dot { animation: none; }
}

/* =========================================================================
   PRÉ-CARREGAMENTO — logo + 4 pontos da marca saltando
   ========================================================================= */
#preloader {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center; background: var(--cream);
  transition: opacity .55s var(--ease), visibility .55s;
}
.no-js #preloader { display: none; }
#preloader.is-done { opacity: 0; visibility: hidden; }
.pre-box { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pre-logo { height: 84px; width: auto; animation: prePulse 1.7s var(--ease) infinite; }
.pre-dots { display: flex; gap: 11px; }
.pre-dots span { width: 13px; height: 13px; border-radius: 50%; animation: preBounce 1.1s var(--ease) infinite; }
.pre-dots span:nth-child(1) { background: var(--blue);  animation-delay: 0s; }
.pre-dots span:nth-child(2) { background: var(--green); animation-delay: .13s; }
.pre-dots span:nth-child(3) { background: var(--amber); animation-delay: .26s; }
.pre-dots span:nth-child(4) { background: var(--red);   animation-delay: .39s; }
@keyframes preBounce { 0%, 65%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-13px); opacity: 1; } }
@keyframes prePulse  { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@media (prefers-reduced-motion: reduce) {
  .pre-logo, .pre-dots span { animation: none; }
}

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 1080px) {
  .pillars, .svc-grid, .steps, .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-grid, .loja-grid, .faq-wrap, .contact-lower { grid-template-columns: 1fr; }
  .loja-figure { order: -1; }
  .faq-wrap .sec-head { position: static; }
  /* Em tela estreita, "balance" gera linhas curtas e soltas; "pretty" preenche
     as linhas naturalmente e só evita palavra órfã na última. */
  .hero-title, .sec-title, .promo-title, .cta-title { text-wrap: pretty; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .svc-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  #fab .fab-label { display: none; }
  #fab { padding: 15px; }
}

/* =========================================================================
   MOBILE — tratado como versão própria, não como página encolhida.
   Pilares viram carrossel deslizante; passos viram linha do tempo.
   ========================================================================= */
@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }
  #hero { padding: 116px 0 52px; }
  .sec-head { margin-bottom: 30px; }
  .sec-title { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .hero-title { font-size: clamp(2.1rem, 9.5vw, 2.7rem); min-height: 3.3em; }

  /* Âncora visual: foto da fachada logo abaixo do título — dá cara de site,
     não de documento. Selo CAIXA AQUI + localização sobre a foto. */
  .hero-anchor {
    display: block; position: relative; margin: 20px 0 6px;
    border-radius: 22px; overflow: hidden; border: 5px solid #fff;
    box-shadow: var(--shadow);
  }
  .hero-anchor img { width: 100%; height: 210px; object-fit: cover; display: block; }
  .hero-anchor-badge {
    position: absolute; top: 12px; left: 12px;
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.94); color: var(--ink);
    font-family: var(--font-display); font-weight: 700; font-size: .74rem;
    letter-spacing: .04em; padding: 7px 12px 7px 10px; border-radius: 999px;
  }
  .hero-anchor-badge .dot { width: 8px; height: 8px; }
  .hero-anchor-badge .dot + .dot { margin-left: -3px; }
  .hero-anchor-badge .dot--red { margin-right: 4px; }
  .hero-anchor figcaption {
    position: absolute; right: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(67,56,46,.82); color: #fff; backdrop-filter: blur(3px);
    font-family: var(--font-display); font-weight: 600; font-size: .76rem;
    padding: 7px 12px; border-radius: 999px;
  }
  .hero-anchor figcaption svg { width: 14px; height: 14px; color: #fff; }
  .hero-sub { margin-top: 16px; }

  /* hero: barra de confiança compacta, sem quebrar em bloco */
  .hero-trust { gap: 0; margin-top: 30px; justify-content: space-between; }
  .hero-trust li { flex: 1; }
  .hero-trust b { font-size: 1.02rem; }
  .hero-trust span { font-size: .72rem; line-height: 1.3; }
  .hero-trust li + li { padding-left: 12px; margin-left: 12px; }

  /* botões: empilhados, largura cheia, uma linha, sem "engordar" */
  .btn { padding: 15px 20px; font-size: .95rem; gap: 9px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }

  /* PILARES — carrossel horizontal com encaixe (cara de app) */
  .pillars {
    display: flex; grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * clamp(20px, 5vw, 48px));
    padding: 6px clamp(20px, 5vw, 48px) 16px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillar { flex: 0 0 79%; scroll-snap-align: start; }

  /* PASSOS (mobile) — cada etapa é um CARD com número em destaque e borda
     colorida; um conector curto liga um card ao próximo. Cara de processo,
     não de lista com marcador. */
  .steps { display: flex; flex-direction: column; gap: 20px; position: relative; }
  .step {
    position: relative;
    display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: start;
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--pc);
    border-radius: var(--r-md); padding: 20px 20px 22px 18px;
    box-shadow: var(--shadow-sm);
  }
  .step > *:not(.step-n) { grid-column: 2; }
  .step-n {
    grid-column: 1; grid-row: 1 / span 2; margin: 0; position: relative; z-index: 2;
    width: 48px; height: 48px; font-size: 1.35rem;
    box-shadow: 0 8px 18px -8px var(--pc);
  }
  /* conector entre os cards, alinhado sob o número */
  .step:not(:last-child)::after {
    content: ""; position: absolute; left: 41px; bottom: -20px;
    width: 3px; height: 20px; border-radius: 3px;
    background: linear-gradient(180deg, var(--pc), var(--line-2));
  }
  .section--cream .step { background: #fff; }

  /* públicos e áreas ganham respiro */
  .audience { gap: 10px; }
  .aud-chip { width: 100%; font-size: .95rem; }
  .cta-band { padding: 34px 16px; }
  .contact-lower { gap: 14px; }
  .map-wrap, .map-wrap iframe { min-height: 220px; }
}

@media (max-width: 380px) {
  .hero-trust { flex-wrap: wrap; gap: 14px; }
  .hero-trust li { flex: 0 0 100%; }
  .hero-trust li + li { padding-left: 0; margin-left: 0; border-left: 0; }
}
