/* ==========================================================================
   Rauber Consórcios — folha de estilo principal
   Identidade visual: HS Consórcios (administradora).
   Paleta e tipografia extraídas da identidade oficial da HS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Cores institucionais HS */
  --hs-red: #CD1719;
  --hs-red-dark: #9C1C21;
  --hs-red-soft: #fdeced;
  --hs-ink: #414755;
  --hs-gray-100: #f6f7f9;
  --hs-gray-200: #EEEEEE;
  --hs-gray-300: #dfe2e7;
  --hs-gray-500: #8a919e;
  --hs-green: #4BC864;
  --hs-white: #ffffff;

  /* Papéis semânticos */
  --bg: var(--hs-white);
  --bg-alt: var(--hs-gray-100);
  --bg-ink: #2f333d;
  --text: var(--hs-ink);
  --text-muted: #6b7280;
  --text-on-dark: #eef0f3;
  --border: var(--hs-gray-300);
  --brand: var(--hs-red);
  --brand-dark: var(--hs-red-dark);
  --focus: #1d6fe0;

  /* Tipografia */
  /* As duas famílias da HS Consórcios, a administradora que a Rauber
     representa: Roboto no corpo e Open Sans nos títulos. Conferido na folha
     do site deles — lá o kit define h1..h6 em "Open Sans" 700 e o corpo em
     "Roboto". A reserva das duas é sans-serif; o Roboto Slab, serifado, que
     estava aqui antes, saiu junto com a fonte. */
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-head: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Escala tipográfica fluida */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.25rem + 1.2vw, 2rem);
  --fs-3xl: clamp(1.875rem, 1.4rem + 2.1vw, 2.75rem);
  --fs-4xl: clamp(2.125rem, 1.5rem + 3vw, 3.5rem);

  /* Espaçamento */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --section-y: clamp(3rem, 2rem + 5vw, 5.5rem);

  /* Formas */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(24, 28, 36, .06), 0 1px 3px rgba(24, 28, 36, .08);
  --shadow: 0 4px 6px -1px rgba(24, 28, 36, .08), 0 2px 4px -2px rgba(24, 28, 36, .06);
  --shadow-lg: 0 12px 24px -6px rgba(24, 28, 36, .12), 0 4px 8px -4px rgba(24, 28, 36, .08);

  --container: 1180px;
  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  color: var(--hs-ink);
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p  { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-6) 0; }

/* --------------------------------------------------------------------------
   3. Acessibilidade
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

.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;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--brand); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: 0 0 var(--radius) var(--radius); font-weight: 600;
  text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-6); } }

/* .section saiu do HTML: as seções passaram para .secao-base, o invólucro da
   agência (ver html-padrao/_CLASSES-PREFERENCIAIS.md). A regra fica porque
   .faq-section e outras ainda a referenciam em seletores compostos, e porque
   o HTML da plataforma simulafacil pode trazê-la. */
.section { padding-block: var(--section-y); }

/* Estes dois continuam: a agência não tem equivalente. O `div-fundo-branco`
   dela é branco, não o cinza-claro; e o `cor-2` pinta o fundo mas não traz as
   cores de texto que o --ink precisa. Agora valem sem o .section ao lado. */
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--bg-ink); color: var(--text-on-dark); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--tight { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }

.section-head { max-width: 46rem; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: var(--fs-lg); margin-bottom: 0; }
.section--ink .section-head p { color: #c3c8d2; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--sp-3);
}
.section--ink .eyebrow { color: #ff8b8d; }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.stack > * + * { margin-top: var(--sp-4); }
.text-center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }

/* --------------------------------------------------------------------------
   5. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.8125rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; box-shadow: var(--shadow); }

.btn--outline { background: transparent; color: var(--brand); border-color: currentColor; }
.btn--outline:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.65); }
.btn--ghost-light:hover { background: #fff; color: var(--hs-ink); border-color: #fff; }

.btn--whats { background: var(--whatsapp-verde); border-color: var(--whatsapp-verde); color: var(--whatsapp-verde-texto); }
.btn--whats:hover { background: var(--whatsapp-verde-escuro); border-color: var(--whatsapp-verde-escuro); color: #ffffff; }

.btn--lg { padding: 1rem 2rem; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Cabeçalho e navegação
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header.is-stuck { box-shadow: var(--shadow); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-rauber { height: 34px; width: auto; }
.brand-divider { width: 1px; height: 30px; background: var(--border); }
.brand-hs { height: 26px; width: auto; }
@media (max-width: 380px) { .brand-hs, .brand-divider { display: none; } }

/* Botão sanduíche: apenas mobile */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--hs-ink); font-size: 1.25rem;
}
.nav-toggle:hover { background: var(--bg-alt); }

.main-nav { display: none; }
.main-nav.is-open { display: block; padding-bottom: var(--sp-4); }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; }

.nav-link {
  display: block;
  padding: var(--sp-3) 0;
  color: var(--hs-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--hs-gray-200);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand); }

/* Item Investimento em destaque, fora do dropdown */
.nav-link--feature { color: var(--brand); }
.nav-link--feature .fa-solid { margin-right: .35rem; }

.nav-cta { margin-top: var(--sp-4); }

/* Dropdown */
.has-dropdown > .nav-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2); width: 100%; background: none;
  border-width: 0 0 1px 0; border-style: solid; border-color: var(--hs-gray-200);
  text-align: left; font-family: var(--font-body);
}
.dropdown-caret { font-size: .7rem; transition: transform .2s ease; }
[aria-expanded="true"] .dropdown-caret { transform: rotate(180deg); }

.dropdown {
  list-style: none; margin: 0; padding: 0 0 var(--sp-2) var(--sp-4);
  display: none; background: var(--bg-alt);
}
.dropdown.is-open { display: block; }
.dropdown a {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) 0; font-size: var(--fs-sm); font-weight: 500;
  color: var(--hs-ink); text-decoration: none;
}
.dropdown a:hover { color: var(--brand); }
.dropdown .fa-solid { width: 1.15rem; text-align: center; color: var(--brand); }

/* Desktop: menu horizontal tradicional, sem sanduíche */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav { display: block !important; padding-bottom: 0; }
  .nav-list { display: flex; align-items: center; gap: var(--sp-1); }
  .nav-link {
    padding: var(--sp-2) var(--sp-3);
    border-bottom: 0;
    border-radius: var(--radius-sm);
    white-space: nowrap;
  }
  .nav-link:hover { background: var(--bg-alt); }
  .nav-link[aria-current="page"] { background: var(--hs-red-soft); }

  .nav-link--feature { border: 1.5px solid var(--brand); margin-inline: var(--sp-1); }
  .nav-link--feature:hover { background: var(--brand); color: #fff; }

  .nav-cta { margin-top: 0; margin-left: var(--sp-2); }

  .has-dropdown { position: relative; }
  .has-dropdown > .nav-link { border-bottom: 0; width: auto; }
  .dropdown {
    position: absolute; top: calc(100% + 6px); left: 0;
    min-width: 232px; padding: var(--sp-2);
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
  }
  /* Ponte invisivel sobre o vao de 6px entre o botao e o menu: sem ela o
     ponteiro passa por fora do item ao descer e o dropdown fecha na cara
     de quem ia clicar. */
  .dropdown::before {
    content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px;
  }
  .dropdown a { padding: var(--sp-3); border-radius: var(--radius-sm); }
  .dropdown a:hover { background: var(--bg-alt); }
}

/* --------------------------------------------------------------------------
   7. Slider (home) — 6 banners
   -------------------------------------------------------------------------- */
.slider { position: relative; background: var(--bg-ink); }

/* Os slides agora são .slide-gradiente, o invólucro de banner da agência —
   o mesmo das páginas internas. Por isso tudo o que é específico do
   carrossel fica escopado em .slider, que só existe nesta página: solto,
   alcançaria os banners estáticos das outras dez.

   O escurecimento saiu do ::before e passou a ser a primeira camada do
   background-image, no style de cada slide, como a AJ faz. */
/* O Webflow (.w-slider) controla seus slides sem usar .is-active. */
.slider:not(.w-slider) .slide-gradiente { display: none; min-height: 90vh; }
.slider:not(.w-slider) .slide-gradiente.is-active { display: flex; align-items: center; animation: fadeIn .45s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.slider .slide-gradiente > .container { position: relative; z-index: 1; }

/* A tipografia do banner segue o .slide-content, não o .slider: é o que
   permite às páginas do menu Consórcio terem o mesmo tratamento da home
   sem herdar o carrossel. Quem usa .slide-content ganha o título grande, o
   parágrafo claro e a coluna estreita; os demais banners (contato, sobre,
   investimento, política) seguem com a .lead, mais discreta. */
.slide-content { max-width: 40rem; }
.slide-content h1,
.slide-content h2 { color: #fff; font-size: var(--fs-4xl); margin-bottom: var(--sp-4); }
.slide-content p { font-size: var(--fs-lg); color: #dfe2e7; margin-bottom: var(--sp-5); max-width: 34rem; }

.slide-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--brand); color: #fff;
  padding: .35rem .85rem; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: var(--sp-4);
}

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; display: none;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); color: #fff;
  border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
}
.slider-btn:hover { background: #fff; color: var(--hs-ink); }
.slider-btn--prev { left: var(--sp-4); }
.slider-btn--next { right: var(--sp-4); }
@media (min-width: 1024px) { .slider-btn { display: flex; } }

.slider-dots {
  position: absolute; bottom: var(--sp-5); left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: var(--sp-2);
}
.slider-dot {
  width: 36px; height: 5px; padding: 0;
  background: rgba(255,255,255,.4); border: 0; border-radius: var(--radius-pill);
  transition: background-color .2s ease;
}
.slider-dot[aria-selected="true"] { background: var(--brand); }
.slider-dot:hover { background: rgba(255,255,255,.75); }

@media (max-width: 767px) {
  /* O assunto das fotos fica à direita; no celular o recorte precisa puxar
     para lá, senão sobra só o fundo. */
  .slider .slide-gradiente { background-position: 68% center; }
}

/* --------------------------------------------------------------------------
   8. Hero das páginas internas
   -------------------------------------------------------------------------- */
/* O .page-hero saiu do site: as onze páginas passaram para o .slide-gradiente
   da AJ. Sobraram as regras do conteúdo, que é o mesmo .container de antes. */
.slide-gradiente > .container { position: relative; z-index: 1; }
.slide-gradiente h1 { color: #fff; margin-bottom: var(--sp-4); }
.slide-gradiente .lead { font-size: var(--fs-lg); color: #dfe2e7; max-width: 42rem; }
.slide-gradiente .eyebrow { color: #ff8b8d; }



.hero-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 440px; gap: var(--sp-7); align-items: start; }
}

.hero-destaques {
  list-style: none; padding: 0; margin: var(--sp-5) 0 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
}
.hero-destaques li {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); color: #dfe2e7; margin: 0;
}
.hero-destaques .fa-solid { color: var(--hs-green); }

.breadcrumb { font-size: var(--fs-xs); margin-bottom: var(--sp-4); color: #b9bec8; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li + li::before { content: "/"; color: #7c8290; }
.breadcrumb a { color: #dfe2e7; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--sp-4);
  background: var(--hs-red-soft); color: var(--brand);
  border-radius: var(--radius); font-size: 1.25rem;
}
.card h3 { margin-bottom: var(--sp-2); font-size: var(--fs-lg); }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }
.card-link {
  margin-top: auto; padding-top: var(--sp-4);
  font-weight: 700; font-size: var(--fs-sm); text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--sp-2);
}
.card-link:hover { gap: var(--sp-3); }

/* Cards da prévia de investimento na página inicial */
.card-investimento {
  padding: 0;
  overflow: hidden;
}
.card-investimento-foto {
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  background: var(--bg-alt);
}
.card-investimento-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.card-investimento:hover .card-investimento-foto img { transform: scale(1.025); }
.card-investimento-corpo {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--sp-5);
}
.section--ink .card-investimento h3 { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .card-investimento-foto img { transition: none; }
  .card-investimento:hover .card-investimento-foto img { transform: none; }
}

/* Card de plano */
.plano-card {
  display: flex; flex-direction: column;
  background: #fff; color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.plano-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.plano-card.is-destaque { border-color: var(--brand); border-width: 2px; }

.plano-head {
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.plano-segmento {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--brand);
}
.plano-tag {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: .2rem .55rem; border-radius: var(--radius-pill);
  background: var(--brand); color: #fff; white-space: nowrap;
}
.plano-body { padding: var(--sp-5); flex: 1; }
.plano-credito {
  font-family: var(--font-head); font-size: var(--fs-2xl);
  font-weight: 700; color: var(--hs-ink); line-height: 1.1;
}
.plano-credito small {
  display: block; font-family: var(--font-body); font-size: var(--fs-xs);
  font-weight: 500; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: .15rem;
}
.plano-parcela { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px dashed var(--border); }
.plano-parcela .valor { font-size: var(--fs-xl); font-weight: 700; color: var(--brand); font-family: var(--font-head); }
.plano-parcela .label { font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.plano-meta { list-style: none; margin: var(--sp-4) 0 0; padding: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.plano-meta li { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.plano-meta .fa-solid { color: var(--hs-green); font-size: .8rem; width: 1rem; }
.plano-foot { padding: 0 var(--sp-5) var(--sp-5); }

/* Administradoras parceiras */
.administradoras {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(circle at 92% 12%, rgba(205, 23, 25, .11), transparent 24rem),
    linear-gradient(135deg, #fff 0%, #f8f9fb 58%, #fff 100%);
}
.administradoras::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 21rem;
  height: 21rem;
  right: -10rem;
  bottom: -13rem;
  border: 3rem solid rgba(205, 23, 25, .045);
  border-radius: 50%;
}
.administradoras-layout {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
.administradoras-copy { max-width: 35rem; }
.administradoras-copy h2 { margin-bottom: var(--sp-3); }
.administradoras-copy p {
  color: var(--text-muted);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-5);
}
.administradoras-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}
.administradoras-cta i { transition: transform .2s ease; }
.administradoras-cta:hover i { transform: translateX(4px); }

.administradoras-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.administradora-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.administradora-card:hover {
  transform: translateY(-3px);
  border-color: rgba(205, 23, 25, .3);
  box-shadow: var(--shadow-lg);
}
.administradora-logo {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 9rem;
  padding: var(--sp-5);
}
.administradora-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 64px;
}
.administradora-meta {
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  text-align: center;
}
.administradora-meta strong {
  display: block;
  margin-bottom: var(--sp-1);
  color: var(--hs-ink);
  font-size: var(--fs-sm);
}
.administradora-meta span {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}
.administradora-meta .fa-solid { color: var(--hs-green); }

@media (min-width: 960px) {
  .administradoras-layout { grid-template-columns: minmax(0, .9fr) minmax(34rem, 1.1fr); }
}
@media (max-width: 639px) {
  .administradoras-list { grid-template-columns: 1fr; }
  .administradora-card {
    display: grid;
    grid-template-columns: minmax(7rem, 38%) 1fr;
    align-items: stretch;
  }
  .administradora-logo { min-height: 7.5rem; padding: var(--sp-4); }
  .administradora-logo img { max-height: 54px; }
  .administradora-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--sp-4);
    border-top: 0;
    border-left: 1px solid var(--border);
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .administradoras-cta i,
  .administradora-card { transition: none; }
  .administradoras-cta:hover i,
  .administradora-card:hover { transform: none; }
}

/* Equipe */
.pessoa-card { text-align: center; }
.pessoa-foto {
  width: 148px; height: 148px; margin: 0 auto var(--sp-4);
  border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: var(--shadow);
  background: var(--hs-gray-200);
}
.pessoa-card h3 { margin-bottom: var(--sp-1); font-size: var(--fs-lg); }
.pessoa-card .cargo { color: var(--brand); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-3); }
.pessoa-card p { font-size: var(--fs-sm); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   10. Passo a passo
   -------------------------------------------------------------------------- */
.passos { list-style: none; margin: 0; padding: 0; counter-reset: passo; display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .passos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .passos { grid-template-columns: repeat(4, 1fr); } }

.passos li { counter-increment: passo; margin: 0; position: relative; padding-top: var(--sp-6); }
.passos li::before {
  content: counter(passo, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-size: var(--fs-2xl); font-weight: 700;
  color: var(--brand); opacity: .4; line-height: 1;
}
.passos h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.passos p { font-size: var(--fs-sm); color: var(--text-muted); }
.section--ink .passos p { color: #b9bec8; }

.contratacao-intro {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  margin-bottom: var(--sp-7);
}
.contratacao-intro .section-head { margin-bottom: 0; }
.contratacao-foto {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--bg);
}
.contratacao-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 900px) {
  .contratacao-intro {
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: var(--sp-7);
  }
}

/* --------------------------------------------------------------------------
   11. Simulador
   -------------------------------------------------------------------------- */
.simulador {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.simulador-head { padding: var(--sp-5); background: var(--brand); color: #fff; }
.simulador-head h2, .simulador-head h3 { color: #fff; margin-bottom: var(--sp-1); font-size: var(--fs-xl); }
.simulador-head p { font-size: var(--fs-sm); color: #ffe0e0; margin: 0; }
.simulador-body { padding: var(--sp-5); }

/* Abas de produto -------------------------------------------------------- */
.sim-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--brand-dark);
}
@media (min-width: 480px) { .sim-tabs { grid-template-columns: repeat(6, 1fr); } }

.sim-tab {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-2);
  background: none; border: 0; border-bottom: 3px solid transparent;
  color: #ffd4d5; font: inherit; font-size: var(--fs-xs); font-weight: 600;
  line-height: 1.2; text-align: center; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.sim-tab i { font-size: 1.15rem; }
.sim-tab:hover { background: rgba(0, 0, 0, .12); color: #fff; }
.sim-tab:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.sim-tab.is-active {
  background: #fff; color: var(--brand); border-bottom-color: var(--brand);
}

.sim-pane { animation: sim-fade .18s ease both; }
@keyframes sim-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sim-pane { animation: none; } }

/* Bloco de contato dentro do formulário ---------------------------------- */
.sim-dados {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-4);
  margin-top: var(--sp-5);
}
.sim-dados-titulo {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .07em;
  font-weight: 700; color: var(--text-muted); margin-bottom: var(--sp-4);
}
.sim-faixa {
  display: flex; gap: var(--sp-2);
  font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.45;
  margin-top: calc(var(--sp-4) * -1 + var(--sp-1));
}
.sim-faixa .fa-solid { color: var(--hs-gray-500); margin-top: 2px; }

/* Armadilha de robô: fora da tela, mas ainda no formulário */
.input-oculto {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.disclaimer { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; margin-top: var(--sp-4); }
.disclaimer .fa-solid { color: var(--hs-gray-500); margin-right: .25rem; }

/* --------------------------------------------------------------------------
   12. Formulários
   -------------------------------------------------------------------------- */
.field { margin-bottom: var(--sp-4); }

.field label {
  display: block; margin-bottom: var(--sp-2);
  font-size: var(--fs-sm); font-weight: 600; color: var(--hs-ink);
}
.field .req { color: var(--brand); }
.field .hint { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--text-muted); margin-top: 2px; }

.input, .select, .textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--hs-gray-500); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(205, 23, 25, .15);
}
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 1px;
}
.textarea { min-height: 128px; resize: vertical; }

.input::placeholder, .textarea::placeholder { color: var(--hs-gray-500); opacity: 1; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23414755'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 14px 14px;
  padding-right: 2.25rem;
}

/* Campo com ícone e rótulo flutuante (usado no simulador) ---------------- */
.campo-flutuante { position: relative; }

.campo-flutuante .campo-icone {
  position: absolute; left: 0.875rem; top: 1.05rem;
  color: var(--hs-gray-500); font-size: var(--fs-sm); line-height: 1;
  pointer-events: none; transition: color .15s ease;
}

.campo-flutuante .input {
  padding: 1.45rem 0.875rem 0.5rem 2.5rem;
}

/* O rótulo vem logo depois do input justamente para permitir o "+" abaixo */
.campo-flutuante > label {
  position: absolute; left: 2.5rem; top: 0.95rem;
  margin: 0; max-width: calc(100% - 3.5rem);
  font-size: var(--fs-base); font-weight: 400; color: var(--hs-gray-500);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none; transform-origin: left top;
  transition: transform .15s ease, color .15s ease;
}
.campo-flutuante .input:focus + label,
.campo-flutuante .input:not(:placeholder-shown) + label {
  transform: translateY(-0.65rem) scale(0.78);
  font-weight: 600; color: var(--text-muted);
}
.campo-flutuante .input:focus + label { color: var(--brand); }
.campo-flutuante:focus-within .campo-icone { color: var(--brand); }
.campo-flutuante.has-error .campo-icone { color: var(--brand); }

.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .field-row--2 { grid-template-columns: repeat(2, 1fr); } }

.checkbox { display: flex; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.checkbox input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--brand); }
.checkbox label { font-weight: 400; margin: 0; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.45; }

.field-error {
  display: none; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-2); font-size: var(--fs-xs); font-weight: 600; color: var(--brand);
}
.field.has-error .field-error { display: flex; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--brand); }

/* --------------------------------------------------------------------------
   13. Lista de cartas contempladas
   --------------------------------------------------------------------------
   A página já teve um bloco .filtros aqui, com tipo, faixa e ordenação. Saiu
   junto com o HTML e o JS: a lista é curta e muda todo dia, então filtrar
   dava mais trabalho do que rolar a página.
   -------------------------------------------------------------------------- */
.resultado-contagem { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--sp-4); }
.resultado-contagem strong { color: var(--hs-ink); }

.estado-vazio {
  text-align: center; padding: var(--sp-8) var(--sp-4);
  border: 1px dashed var(--border); border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.estado-vazio .fa-solid { font-size: 2rem; color: var(--hs-gray-300); margin-bottom: var(--sp-4); }

/* --------------------------------------------------------------------------
   14. Investimento — rentabilidade e teses
   -------------------------------------------------------------------------- */
.rentabilidade {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  box-shadow: var(--shadow-lg);
}
.rentabilidade h2, .rentabilidade h3 { color: #fff; }
.rentabilidade p { color: #ffe3e3; }
.rentabilidade .eyebrow { color: #ffd0d0; }

.numeros { display: grid; gap: var(--sp-4); margin-block: var(--sp-6); }
@media (min-width: 768px) { .numeros { grid-template-columns: repeat(3, 1fr); } }

.numero-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius); padding: var(--sp-5); text-align: center;
}
.numero-box .label {
  display: block; font-size: var(--fs-xs); text-transform: uppercase;
  letter-spacing: .07em; color: #ffd0d0; font-weight: 600; margin-bottom: var(--sp-2);
}
.numero-box .valor {
  font-family: var(--font-head); font-size: var(--fs-2xl);
  font-weight: 700; color: #fff; line-height: 1.1;
}
.numero-box .valor.is-highlight { color: #ffe600; }

.tese { display: grid; gap: var(--sp-4); padding-block: var(--sp-6); border-bottom: 1px solid var(--border); }
.tese:last-of-type { border-bottom: 0; }
@media (min-width: 900px) { .tese { grid-template-columns: 96px 1fr; gap: var(--sp-6); } }

.tese-num {
  font-family: var(--font-head); font-size: var(--fs-3xl); font-weight: 700;
  color: var(--brand); line-height: 1; opacity: .4;
}
.tese h3 { margin-bottom: var(--sp-3); }

.lista-check { list-style: none; padding: 0; margin: var(--sp-4) 0 0; }
.lista-check li { display: flex; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-3); font-size: var(--fs-sm); }
.lista-check .fa-solid { color: var(--hs-green); margin-top: .3rem; flex-shrink: 0; }

.callout {
  display: flex; gap: var(--sp-4);
  background: var(--hs-red-soft); border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-5); margin-block: var(--sp-5);
}
.callout .fa-solid { color: var(--brand); font-size: 1.15rem; margin-top: .2rem; flex-shrink: 0; }
.callout p { font-size: var(--fs-sm); margin-bottom: 0; }
.callout strong { color: var(--brand-dark); }
.callout--neutro { background: var(--bg-alt); border-left-color: var(--hs-gray-500); }
.callout--neutro .fa-solid { color: var(--hs-gray-500); }
.callout--neutro strong { color: var(--hs-ink); }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 60rem; margin-inline: auto; }
.faq-section .section-head {
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
}
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: var(--sp-3); overflow: hidden;
}
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-base);
  color: var(--hs-ink); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
/* Fontawesome primeiro: e a fonte local, declarada em fonts.rauberconsorcio.css.
   A plataforma simulafacil nao carrega o Font Awesome do CDN, e sem a local o
   chevron do FAQ nao aparecia la. O CDN fica de reserva. */
.faq-item summary::after {
  content: "\f078"; font-family: Fontawesome, "Font Awesome 6 Free"; font-weight: 900;
  font-size: .75rem; color: var(--brand); flex-shrink: 0; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-answer { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   16. Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-ink); color: #b9bec8; padding-block: var(--sp-8) var(--sp-5); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--sp-7); } }

.site-footer h3 {
  color: #fff; font-family: var(--font-body); font-size: var(--fs-sm);
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--sp-3); }
.site-footer a { color: #b9bec8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-brand .brand-lockup { margin-bottom: var(--sp-4); }
.footer-brand .brand-rauber, .footer-brand .brand-hs { filter: brightness(0) invert(1); opacity: .95; }
.footer-brand .brand-divider { background: rgba(255,255,255,.25); }
.footer-brand p { font-size: var(--fs-sm); line-height: 1.6; }

.footer-contato li { display: flex; align-items: flex-start; gap: var(--sp-3); }
.footer-contato .fa-solid, .footer-contato .fa-brands {
  color: var(--brand); margin-top: .28rem; width: 1rem; text-align: center; flex-shrink: 0;
}

.social-list { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.social-list li { margin: 0; }
.social-list a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  transition: background-color .2s ease;
}
.social-list a:hover { background: var(--brand); }

.footer-legal {
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: #8a919e;
}
.footer-legal p { margin: 0; }
.footer-disclaimer { margin-top: var(--sp-4); font-size: var(--fs-xs); color: #71778a; line-height: 1.55; max-width: 72ch; }

/* --------------------------------------------------------------------------
   17. WhatsApp flutuante
   --------------------------------------------------------------------------
   O botão flutuante passou a usar o markup padrão da agência
   (.secao-chat-whatsapp-cookie-2), estilizado em padrao.rauberconsorcio.css. A antiga
   .whats-float saiu do HTML de todas as páginas junto com esta regra.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   18. Conteúdo longo
   -------------------------------------------------------------------------- */
.prosa { max-width: 46rem; margin-inline: auto; }
.prosa h2 { font-size: var(--fs-2xl); margin-top: var(--sp-7); }
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { font-size: var(--fs-lg); margin-top: var(--sp-5); }
.prosa li { font-size: var(--fs-base); }
.prosa .atualizado { font-size: var(--fs-sm); color: var(--text-muted); font-style: italic; }

/* --------------------------------------------------------------------------
   19. Confirmação de simulação
   -------------------------------------------------------------------------- */
.confirmacao { text-align: center; max-width: 40rem; margin-inline: auto; }
.confirmacao-icone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; margin-bottom: var(--sp-5);
  background: var(--hs-green); color: #fff;
  border-radius: 50%; font-size: 2.25rem;
}
.confirmacao-resumo {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--sp-5);
  margin-block: var(--sp-6); text-align: left;
}
.confirmacao-resumo dl { display: grid; gap: var(--sp-3); margin: 0; }
@media (min-width: 560px) { .confirmacao-resumo dl { grid-template-columns: auto 1fr; column-gap: var(--sp-5); } }
.confirmacao-resumo dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; }
.confirmacao-resumo dd { margin: 0; font-weight: 600; color: var(--hs-ink); }

/* Erro no checkbox de consentimento (não usa .field como wrapper) */
.checkbox.has-error label { color: var(--brand); font-weight: 500; }
.checkbox.has-error input { outline: 2px solid var(--brand); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   20. Tipos de consórcio (home)
   --------------------------------------------------------------------------
   Cartão com foto no topo. Difere do .card porque a âncora envolve o cartão
   inteiro: a área clicável é toda ela, não só o link do rodapé.
   -------------------------------------------------------------------------- */
/* O .tipos (a <ul>) foi aposentado: a seção passou para a grade da agência,
   .div-flex-horizontal.filhos com .div-24. O cartão .tipo continua. */

.tipo {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.tipo:hover,
.tipo:focus-visible {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--brand);
}

.tipo-foto { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.tipo-foto img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.tipo:hover .tipo-foto img,
.tipo:focus-visible .tipo-foto img { transform: scale(1.05); }

.tipo-corpo { display: flex; flex-direction: column; flex: 1; gap: var(--sp-2); padding: var(--sp-5); }
.tipo-titulo {
  display: flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-lg);
}
.tipo-titulo .fa-solid { color: var(--brand); font-size: .9em; }
.tipo-texto { font-size: var(--fs-sm); color: var(--text-muted); }
.tipo-link { margin-top: auto; padding-top: var(--sp-3); font-weight: 700; font-size: var(--fs-sm); color: var(--brand); }

@media (prefers-reduced-motion: reduce) {
  .tipo, .tipo-foto img { transition: none; }
  .tipo:hover, .tipo:focus-visible { transform: none; }
  .tipo:hover .tipo-foto img, .tipo:focus-visible .tipo-foto img { transform: none; }
}

/* --------------------------------------------------------------------------
   21. Instagram
   --------------------------------------------------------------------------
   A grade mostra miniaturas dos posts reais do perfil @rauberconsorcio,
   guardadas em images/. É uma cópia estática: para atualizar,
   troque os arquivos e os links no <ul data-instagram-feed>, ou ligue um
   widget/a API oficial do Instagram.

   As miniaturas vêm em 640x640 (foto) e 360x640 (reel); o aspect-ratio 4/5
   com object-fit: cover deixa todas do mesmo tamanho sem distorcer.
   -------------------------------------------------------------------------- */
.instagram-feed {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) { .instagram-feed { grid-template-columns: repeat(4, 1fr); } }

.instagram-post {
  position: relative; display: block;
  /* Retrato 4:5, o formato alto que o Instagram usa no feed. */
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.instagram-post img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

/* Véu com o glifo do Instagram, que só aparece no hover e no foco. */
.instagram-post::after {
  content: "\f16d";
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31, 34, 41, .55);
  color: #fff; font-size: 1.75rem;
  opacity: 0; transition: opacity .25s ease;
}
.instagram-post:hover img,
.instagram-post:focus-visible img { transform: scale(1.06); }
.instagram-post:hover::after,
.instagram-post:focus-visible::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .instagram-post img { transition: none; }
  .instagram-post:hover img,
  .instagram-post:focus-visible img { transform: none; }
}

/* --------------------------------------------------------------------------
   22. Perfil de quem atende (home)
   --------------------------------------------------------------------------
   Foto de um lado, texto do outro. A arte é quadrada (1080×1080) e entra
   inteira: nada de object-fit recortando, porque o enquadramento já foi
   decidido na arte.
   -------------------------------------------------------------------------- */
.perfil { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) {
  .perfil { grid-template-columns: minmax(360px, 460px) 1fr; gap: var(--sp-7); }
}

.perfil-foto { margin: 0; }
.perfil-foto img {
  display: block;
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 899px) {
  .perfil-foto { display: flex; justify-content: center; }
  .perfil-foto img { max-width: 480px; }
}

.perfil-texto h2 { margin-bottom: var(--sp-4); }
.perfil-abertura { font-size: var(--fs-lg); color: var(--text); }

.perfil-fatos { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: grid; gap: var(--sp-4); }
.perfil-fatos li { display: flex; gap: var(--sp-3); margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.perfil-fatos .fa-solid { color: var(--brand); margin-top: .2em; flex: none; width: 1.1em; text-align: center; }
.perfil-fatos strong { color: var(--text); }

/* --------------------------------------------------------------------------
   23. Página Sobre
   -------------------------------------------------------------------------- */
.sobre-hero .slide-gradiente {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(430px, 58vh, 620px);
  background: #2f333d;
}
.sobre-hero .slide-gradiente::before,
.sobre-hero .slide-gradiente::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sobre-hero .slide-gradiente::before {
  z-index: -2;
  left: 48%;
  background: url('../images/rauber-ig-workshop-consorcio-leilao.webp') center 60% / cover no-repeat;
}
.sobre-hero .slide-gradiente::after {
  z-index: -1;
  background: linear-gradient(90deg,
    #2f333d 0%,
    #2f333d 42%,
    rgba(47, 51, 61, .92) 52%,
    rgba(47, 51, 61, .36) 76%,
    rgba(47, 51, 61, .16) 100%);
}
.sobre-hero h1 { max-width: 18ch; }
.sobre-hero .slide-gradiente .lead { max-width: 40rem; }

@media (max-width: 767px) {
  .sobre-hero .slide-gradiente::before {
    left: 0;
    background-position: center 72%;
    opacity: .48;
  }
  .sobre-hero .slide-gradiente .lead { max-width: calc(100vw - 2rem); }
  .sobre-hero .slide-gradiente::after {
    background: linear-gradient(90deg,
      rgba(47, 51, 61, .97) 0%,
      rgba(47, 51, 61, .92) 58%,
      rgba(47, 51, 61, .72) 100%);
  }
}

.sobre-perfil { align-items: start; }

.sobre-momentos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 680px) {
  .sobre-momentos { grid-template-columns: repeat(3, 1fr); }
}

.sobre-momento {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sobre-momento:hover,
.sobre-momento:focus-visible {
  color: var(--text);
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.sobre-momento-foto {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
}
.sobre-momento-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.sobre-momento:hover .sobre-momento-foto img,
.sobre-momento:focus-visible .sobre-momento-foto img { transform: scale(1.04); }
.sobre-momento-corpo {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-4);
}
.sobre-momento-corpo strong {
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  color: var(--hs-ink);
}
.sobre-momento-corpo > span { color: var(--text-muted); font-size: var(--fs-sm); }

.sobre-transparencia {
  display: grid;
  gap: var(--sp-5);
  align-items: start;
}
@media (min-width: 900px) {
  .sobre-transparencia { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--sp-7); }
}
.sobre-transparencia h2 { margin-bottom: 0; }
.sobre-transparencia-texto { font-size: var(--fs-lg); }
.sobre-transparencia-texto p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .sobre-momento,
  .sobre-momento-foto img { transition: none; }
  .sobre-momento:hover,
  .sobre-momento:focus-visible { transform: none; }
  .sobre-momento:hover .sobre-momento-foto img,
  .sobre-momento:focus-visible .sobre-momento-foto img { transform: none; }
}

/* --------------------------------------------------------------------------
   23. Abertura de página sem banner (.secao-base.intro-pagina)
   --------------------------------------------------------------------------
   A página de cartas contempladas abre com texto em vez de banner. O
   invólucro é o .secao-base do padrão — que só posiciona e dá respiro, sem
   cor — então o conteúdo cai sobre o fundo claro da página.

   O problema é que .breadcrumb, .lead e .hero-destaques nasceram dentro do
   banner escuro e têm cores claras fixas: no claro ficariam ilegíveis. As
   regras abaixo reescrevem só essas cores, e ficam escopadas em
   .intro-pagina para não alcançar os banners das outras dez páginas.

   Nada disso vai para o padrao.rauberconsorcio.css: lá mora a folha da Midas.
   -------------------------------------------------------------------------- */
.intro-pagina > * { width: 100%; max-width: 60rem; margin-inline: auto; }

.intro-pagina h1 {
  color: var(--hs-ink);
  max-width: 60rem;
  margin-bottom: var(--sp-4);
}

.intro-pagina .lead {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 52rem;
}
.intro-pagina .lead strong { color: var(--text); }

/* No banner o breadcrumb era cinza-claro sobre foto; aqui inverte. */
.intro-pagina .breadcrumb { color: var(--text-muted); }
.intro-pagina .breadcrumb a { color: var(--brand); }
.intro-pagina .breadcrumb a:hover { color: var(--brand-dark); }
.intro-pagina .breadcrumb li + li::before { color: var(--border); }

.intro-pagina .hero-destaques li { color: var(--text); }

/* --------------------------------------------------------------------------
   22. Mapa (contato)
   --------------------------------------------------------------------------
   A proporção fica no contêiner, não no <iframe>: o iframe do Google tem
   dimensões próprias e, se a altura dependesse dele, a caixa colapsaria
   antes de o mapa carregar. Assim o espaço já está reservado e a página não
   pula quando o embed entra.
   -------------------------------------------------------------------------- */
.mapa {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--bg-alt);
}
.mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* No celular o 16:9 vira uma tira baixa demais para achar a rua. */
@media (max-width: 767px) {
  .mapa { aspect-ratio: 4 / 3; }
}
