/* Recoma · Site v1 — componentes da home (.rcs-*), por cima do CSS do blog (assets/rcb-v1.css, que traz
   tokens, header H1, proposta F1, rodapé R1 e a barra da prévia). Mesmas cores do kit, mesma Poppins.
   Regra M1: nenhum text-transform no conteúdo (a caixa do texto é a do ar). */

.rcb .rcs-destaque { color: var(--rc-red); }

/* ===== hero: H1 + os 8 produtos ===== */
.rcs-hero { background: var(--rc-paper); padding: 56px 0 64px; }
.rcs-hero h1 { color: var(--rc-ink); font-size: 50px; line-height: 1.12; max-width: 900px; }
.rcs-hero h1::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--rc-red); margin-top: 20px; }
.rcs-produtos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px !important; }
.rcs-produtos li { display: flex; }
.rcs-produto { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; min-height: 260px; padding: 20px; border-radius: 14px; overflow: hidden; background: var(--rc-navy-900); color: #fff; isolation: isolate; box-shadow: 0 8px 22px rgba(12, 47, 79, .14); transition: transform .2s, box-shadow .2s; }
.rcs-produto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.rcs-produto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 47, 79, 0) 35%, rgba(12, 47, 79, .55) 62%, rgba(12, 47, 79, .94) 100%); }
.rcs-produto:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(12, 47, 79, .24); }
.rcs-produto:hover img { transform: scale(1.05); }
.rcb .rcs-produto h2 { color: #fff; font-size: 21px; line-height: 1.22; font-weight: 600; padding-right: 44px; }
.rcs-produto p { margin: 6px 0 0; font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .08em; color: var(--rc-on-navy); }
.rcs-produto .seta { position: absolute; right: 16px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--rc-red); display: grid; place-items: center; font-size: 18px; transition: background .2s; }
.rcs-produto:hover .seta { background: var(--rc-red-700); }

/* ===== faixa azul: frase + números ===== */
.rcs-faixa { background: var(--rc-navy); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.rcs-faixa::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 400px at 85% -10%, rgba(255, 255, 255, .08), transparent 60%); pointer-events: none; }
.rcs-frase { position: relative; display: flex; align-items: flex-end; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.rcb .rcs-frase h2 { color: #fff; font-size: 34px; line-height: 1.25; font-weight: 500; max-width: 1000px; }
.rcs-descer { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--rc-red); color: #fff; display: grid; place-items: center; font-size: 24px; }
.rcs-descer:hover { background: var(--rc-red-700); color: #fff; }
.rcs-numeros { position: relative; padding-top: 48px; scroll-margin-top: calc(var(--rcb-barra-h, 0px) + var(--rcb-topo-h, 116px) + 12px); }
.rcb .rcs-numeros h2 { color: #fff; font-size: 30px; }
.rcb .rcs-numeros h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--rc-red); margin-top: 16px; }
.rcs-numeros ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 36px !important; border-top: 1px solid rgba(255, 255, 255, .18); border-left: 1px solid rgba(255, 255, 255, .18); }
.rcs-numeros li { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 26px 24px 28px; border-right: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.rcs-numeros .n { display: flex; align-items: baseline; gap: 6px; font-size: 52px; line-height: 1; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.rcs-numeros .n .suf { font-size: 26px; font-weight: 600; color: #fff; }
.rcs-numeros .t { font-size: 16px; line-height: 1.4; color: var(--rc-on-navy); }

/* ===== duas colunas: texto + marcas ===== */
.rcs-dois { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.rcs-dois.is-invertido { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rcb .rcs-dois h2, .rcb .rcs-cert h2, .rcb .rcs-diferenciais h2 { color: var(--rc-ink); font-size: 35px; }
.rcs-lead { margin: 18px 0 0 !important; font-size: 18px; line-height: 1.65; color: var(--rc-text); max-width: 560px; }
.rcs-dois .rcb-btn { margin-top: 26px; }

.rcs-logos { display: grid; gap: 14px; }
.rcs-logos li { display: flex; }
.rcs-logo { flex: 1; display: grid; place-items: center; min-height: 108px; padding: 16px; background: #fff; border: 1px solid var(--rc-line); border-radius: var(--rc-r); }
.rcs-logo img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.rcs-logos.is-palcos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rcs-logos.is-palcos .rcs-logo { min-height: 140px; }
.rcs-logos.is-palcos .rcs-logo img { max-height: 104px; }
.rcs-logos.is-cert { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 36px !important; }
.rcs-logos.is-cert .rcs-logo img { max-height: 52px; }
.rcs-logos.is-entidades { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rcs-logos.is-entidades .rcs-logo { min-height: 104px; }
.rcs-logos.is-entidades .rcs-logo img { max-height: 72px; }
.rcs-entidades .rcs-logo, .rcs-diferenciais .rcs-logo { border-color: transparent; box-shadow: 0 4px 14px rgba(12, 47, 79, .07); }

/* ===== certificações: título com link ===== */
.rcb .rcs-cert h2 a { color: inherit; text-decoration: none; }
.rcb .rcs-cert h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.rcs-cert h2 { max-width: 860px; }

/* ===== diferenciais ===== */
.rcs-difs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px !important; }
.rcs-difs li { display: flex; align-items: center; gap: 16px; min-height: 92px; padding: 18px 20px; background: #fff; border: 1px solid var(--rc-line); border-radius: var(--rc-r); }
.rcs-difs .ic { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #FBE9EA; color: var(--rc-red); display: grid; place-items: center; font-size: 28px; }
.rcb .rcs-difs h3 { font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--rc-ink); }
.rcb .rcs-banner { margin: 0 0 40px; border-radius: 16px; overflow: hidden; background: var(--rc-navy-900); aspect-ratio: 1613 / 593; }
.rcs-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ===== responsivo ===== */
@media (max-width: 1100px) {
  .rcs-logos.is-cert { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rcs-logos.is-entidades { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .rcs-produtos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcs-produto { aspect-ratio: 16 / 11; }
  .rcs-numeros ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcs-dois, .rcs-dois.is-invertido { grid-template-columns: 1fr; gap: 32px; }
  .rcs-difs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rcs-hero { padding: 32px 0 40px; }
  .rcs-hero h1 { font-size: 32px; }
  .rcs-produtos { gap: 12px; margin-top: 28px !important; }
  .rcs-produto { aspect-ratio: 3 / 4; min-height: 0; padding: 14px; border-radius: 12px; }
  .rcb .rcs-produto h2 { font-size: 16px; padding-right: 0; }
  .rcs-produto p { font-size: 11px; letter-spacing: .06em; }
  .rcs-produto .seta { top: 12px; right: 12px; bottom: auto; width: 30px; height: 30px; font-size: 15px; }
  .rcs-faixa { padding: 44px 0 52px; }
  .rcs-frase { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 36px; }
  .rcb .rcs-frase h2 { font-size: 23px; }
  .rcs-descer { width: 44px; height: 44px; font-size: 20px; }
  .rcs-numeros { padding-top: 36px; }
  .rcb .rcs-numeros h2 { font-size: 24px; }
  .rcs-numeros li { padding: 18px 14px 20px; }
  .rcs-numeros .n { font-size: 36px; gap: 4px; }
  .rcs-numeros .n .suf { font-size: 19px; }
  .rcs-numeros .t { font-size: 14px; }
  .rcb .rcs-dois h2, .rcb .rcs-cert h2, .rcb .rcs-diferenciais h2 { font-size: 26px; }
  .rcs-lead { font-size: 16.5px; }
  .rcs-logos { gap: 10px; }
  .rcs-logos.is-palcos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcs-logos.is-cert { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rcs-logos.is-entidades { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rcs-logo { min-height: 84px; padding: 12px; }
  .rcs-logos.is-palcos .rcs-logo { min-height: 112px; }
  .rcs-logos.is-palcos .rcs-logo img { max-height: 80px; }
  .rcs-logos.is-cert .rcs-logo img { max-height: 40px; }
  .rcs-logos.is-entidades .rcs-logo { min-height: 88px; }
  .rcs-logos.is-entidades .rcs-logo img { max-height: 56px; }
  .rcs-difs { grid-template-columns: 1fr; gap: 10px; }
  .rcs-difs li { min-height: 0; padding: 14px 16px; }
  .rcs-difs .ic { width: 44px; height: 44px; font-size: 24px; }
  .rcb .rcs-banner { margin: 0 0 28px; border-radius: 12px; }
  .rcs-dois .rcb-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .rcs-produto, .rcs-produto img { transition: none; }
  .rcs-produto:hover, .rcs-produto:hover img { transform: none; }
}

/* pedido de proposta: os passos sem número (o formulário do ar não tem rótulo de passo; número seria texto novo) */
.rcs-proposta .rcb-form-etapas li { padding-bottom: 0; min-height: 0; border-bottom-width: 4px; border-radius: 2px; }
.rcs-proposta .rcs-cidade[hidden] { display: none; }
