/* RicaPrint · CSS próprio do site, por cima da biblioteca IAgo. Tokens em tokens.css.
   Layout de referência: OnePrint (topo branco com contatos, barra escura de menu flutuando sobre o hero,
   hero com foto e card sobreposto, sobre com mosaico, faixa de 4 ícones, foto + painel escuro,
   6 serviços com ícones, depoimento com card sobreposto, galeria, blog, faixa de orçamento, rodapé escuro). */

:root { --rp-max: 1200px; --rp-radius: 14px; }
.rp-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 14px; }
.rp-eyebrow::before { content: ""; width: 3px; height: 1.1em; background: var(--c-primary); border-radius: 2px; }
.rp-link { color: var(--c-accent); font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.rp-link .i { width: 18px; height: 18px; }
.rp-link:hover { text-decoration: underline; }

/* ---------- Header: topo branco + barra chumbo ---------- */
.rp-header { position: relative; z-index: 50; background: var(--c-surface); }
.rp-header-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
/* Botão de orçamento do topo: fonte menor, sem quebra de linha, ícone do WA */
.rp-header-top .btn { font-size: .8125rem; white-space: nowrap; gap: 7px; }
.rp-header-top .btn .i { width: 16px; height: 16px; flex: 0 0 auto; }
.rp-contacts { display: flex; gap: 32px; }
.rp-contact { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--c-text); }
.rp-contact .icon-box { width: 42px; height: 42px; border-radius: 10px; flex: 0 0 auto; }
.rp-contact .icon-box .i { width: 20px; height: 20px; }
.rp-contact small { display: block; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--c-text-muted); line-height: 1.2; }
.rp-contact strong { display: block; font-size: .9375rem; font-weight: 650; line-height: 1.3; }
.rp-header-bar { position: relative; z-index: 6; background: var(--c-dark); border-radius: var(--rp-radius); padding: 0 8px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; margin-bottom: -30px; box-shadow: 0 18px 40px -20px rgba(47,52,59,.5); }
.rp-header-bar .nav { gap: 8px; }
.rp-header-bar .nav-link { color: #fff; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.rp-header-bar .nav-link:hover, .rp-header-bar .nav-link[aria-current="page"] { background: var(--c-primary); color: var(--c-on-primary); }
.rp-header-bar .mega-toggle { color: #fff; }
.rp-header-bar .nav .btn { display: none; }
.rp-socials { display: flex; gap: 6px; align-items: center; }
.rp-socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #fff; text-decoration: none; }
.rp-socials a:hover { background: rgba(255,255,255,.12); color: var(--c-primary); }
.rp-socials .i { width: 20px; height: 20px; }
@media (min-width: 1024px) {
  .rp-header-bar .nav { position: static !important; }
  .rp-header-bar .nav-list, .rp-header-bar .nav-list > li.has-mega { position: static !important; }
  .rp-header-bar .has-mega > .mega { left: 0 !important; right: 0 !important; top: calc(100% + 6px) !important; translate: none !important; width: auto !important; max-width: none !important; margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, .9fr); }
  .mega-feature { grid-row: 1 / 3; grid-column: 4; }
  .mega-bar { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .rp-header-top { min-height: 72px; }
  .rp-contacts, .rp-header-top .btn { display: none; }
  .rp-header-bar { margin-bottom: 0; border-radius: 0; margin-inline: calc(50% - 50vw); padding-inline: 20px; }
  .rp-header-bar .nav-toggle { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
  .rp-header-bar .nav .nav-link { color: var(--c-text); border-radius: 0; }
  .rp-header-bar .nav .mega-toggle { color: var(--c-text); }
  .rp-header-bar .nav .btn { display: inline-flex; }
}

/* ---------- Hero com foto e card sobreposto ---------- */
.rp-hero { position: relative; isolation: isolate; min-height: 640px; display: flex; align-items: flex-end; padding-top: 110px; }
.rp-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.rp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(47,52,59,.35) 0%, rgba(47,52,59,.05) 40%, rgba(47,52,59,.45) 100%); }
.rp-hero .container { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); align-items: end; gap: 40px; }
.rp-hero-card { background: var(--c-surface); padding: clamp(28px, 2vw + 16px, 48px); border-radius: var(--rp-radius) var(--rp-radius) 0 0; box-shadow: 0 -10px 40px -20px rgba(47,52,59,.5); }
.rp-hero-card h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); max-width: 18ch; }
.rp-hero-card .lead { margin-top: 14px; font-size: 1.0625rem; }
.rp-hero-card .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.rp-hero-proofs { display: flex; flex-wrap: wrap; gap: 14px; padding-bottom: 36px; list-style: none; padding-left: 0; }
.rp-hero-proofs li { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.92); color: var(--c-text); border-radius: 999px; padding: 10px 18px 10px 12px; font-weight: 600; font-size: .9375rem; }
.rp-hero-proofs .i { width: 20px; height: 20px; color: var(--c-accent); }
@media (max-width: 899px) {
  .rp-hero { min-height: 520px; padding-top: 72px; }
  .rp-hero .container { grid-template-columns: minmax(0, 1fr); gap: 0; width: auto; margin-inline: 16px; }
  .rp-hero-card { border-radius: var(--rp-radius) var(--rp-radius) 0 0; }
  .rp-hero-proofs { order: -1; padding-bottom: 20px; gap: 10px; }
  .rp-hero-proofs li { font-size: .875rem; padding: 8px 14px 8px 10px; }
}

/* ---------- Sobre com mosaico ---------- */
.rp-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.rp-feature-row { display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; }
.rp-feature-row .icon-box { flex: 0 0 auto; }
.rp-feature-row h3 { font-size: 1.125rem; margin-bottom: 4px; }
.rp-feature-row p { color: var(--c-text-muted); font-size: .9375rem; }
.rp-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 280px auto; gap: 16px; }
.rp-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rp-radius); background: var(--c-surface-alt); }
.rp-mosaic > :nth-child(3) { grid-column: 1 / -1; height: auto; aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .rp-about { grid-template-columns: minmax(0, 1fr); } .rp-mosaic { grid-template-rows: 200px auto; } }

/* ---------- Faixa de 4 vantagens ---------- */
.rp-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.rp-perk { display: flex; flex-direction: column; gap: 10px; }
.rp-perk > .i { width: 44px; height: 44px; color: var(--c-accent); }
.rp-perk h3 { font-size: 1.125rem; }
.rp-perk p { color: var(--c-text-muted); font-size: .9375rem; }
@media (max-width: 899px) { .rp-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 539px) { .rp-perks { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Foto + painel chumbo ---------- */
.rp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rp-split-media { position: relative; min-height: 420px; }
.rp-split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-split-panel { background: var(--c-dark); color: #F4F6F8; padding: clamp(40px, 5vw, 80px) clamp(24px, 5vw, 80px); }
.rp-split-panel h2 { color: #fff; }
.rp-split-panel .rp-eyebrow { color: var(--c-primary); }
.rp-split-panel p { color: #D9DEE4; margin-top: 14px; }
.rp-numbers { display: grid; gap: 18px; margin: 28px 0; }
.rp-number { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.rp-number strong { font-family: var(--f-heading); font-size: 1.75rem; color: var(--c-primary); line-height: 1; min-width: 92px; }
.rp-number > span { color: #F4F6F8; font-size: .9375rem; }
.rp-number small { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); grid-column: 1 / -1; overflow: hidden; }
.rp-number small .rp-bar { display: block; height: 100%; background: var(--c-primary); border-radius: 3px; }
@media (max-width: 899px) { .rp-split { grid-template-columns: minmax(0, 1fr); } .rp-split-media { min-height: 280px; } }

/* ---------- 6 produtos com ícone ---------- */
.rp-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px) clamp(20px, 3vw, 40px); }
.rp-service { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 20px; border-radius: var(--rp-radius); transition: background .2s, transform .2s; }
.rp-service:hover { background: var(--c-primary-soft); transform: translateY(-3px); }
.rp-service > .i { width: 56px; height: 56px; color: var(--c-accent); }
.rp-service h3 { font-size: 1.1875rem; }
.rp-service p { color: var(--c-text-muted); font-size: .9375rem; }
.rp-service .rp-link { margin-top: 6px; }
.rp-service .rp-link .i { width: 18px; height: 18px; }
@media (max-width: 899px) { .rp-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 539px) { .rp-services { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Depoimento com card sobreposto ---------- */
.rp-testimonial { position: relative; margin: 0; }
.rp-testimonial > img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--rp-radius); background: var(--c-surface-alt); display: block; }
.rp-testimonial-card { position: absolute; right: clamp(16px, 4vw, 56px); bottom: clamp(16px, 4vw, 56px); width: min(440px, calc(100% - 32px)); background: var(--c-surface); border-radius: var(--rp-radius); padding: 28px 30px; box-shadow: 0 24px 48px -16px rgba(47,52,59,.35); }
.rp-testimonial-card::before { content: "\201C"; position: absolute; top: -34px; right: 24px; font-family: var(--f-heading); font-size: 96px; line-height: 1; color: var(--c-primary); }
.rp-testimonial-card blockquote { font-size: 1.0625rem; line-height: 1.55; margin: 0; }
.rp-stars { display: flex; gap: 2px; color: #F2B01E; margin-top: 12px; }
.rp-stars .i, .rp-google-badge .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rp-testimonial-card > strong { display: block; margin-top: 10px; font-family: var(--f-heading); }
.rp-testimonial-card > span { display: block; font-size: .875rem; color: var(--c-text-muted); margin-top: 2px; }
.rp-reviews-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.rp-review { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--rp-radius); padding: 22px 24px; margin: 0; }
.rp-review blockquote { font-size: 1rem; line-height: 1.55; margin: 0; }
.rp-review figcaption { margin-top: 12px; font-size: .875rem; color: var(--c-text-muted); }
.rp-review figcaption strong { display: block; font-size: .9375rem; color: var(--c-text); }
.rp-google-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 999px; padding: 8px 16px 8px 10px; font-weight: 600; text-decoration: none; color: var(--c-text); }
.rp-google-badge .i { width: 20px; height: 20px; color: #F2B01E; }
@media (max-width: 899px) {
  .rp-testimonial > img { aspect-ratio: 4 / 3; border-radius: var(--rp-radius) var(--rp-radius) 0 0; }
  .rp-testimonial-card { position: static; width: auto; border-radius: 0 0 var(--rp-radius) var(--rp-radius); box-shadow: none; border: 1px solid var(--c-border); border-top: 0; }
  .rp-testimonial-card::before { display: none; }
  .rp-reviews-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Galeria dos mais pedidos ---------- */
.rp-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 260px 260px; gap: 16px; }
.rp-gallery a { position: relative; display: block; border-radius: var(--rp-radius); overflow: hidden; background: var(--c-surface-alt); text-decoration: none; color: #fff; }
.rp-gallery a:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.rp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rp-gallery a:hover img { transform: scale(1.03); }
.rp-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, rgba(47,52,59,0), rgba(47,52,59,.88)); font-weight: 650; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; font-size: 1.0625rem; }
.rp-gallery span small { grid-column: 1; display: block; font-weight: 400; font-size: .8125rem; color: #E0F5FE; margin-top: 2px; }
.rp-gallery span .i { grid-column: 2; grid-row: 1 / 3; width: 22px; height: 22px; flex: 0 0 auto; }
@media (max-width: 899px) { .rp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 180px 180px; } .rp-gallery a:first-child { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 539px) {
  .rp-gallery { grid-template-rows: 200px 150px 150px; gap: 10px; }
  .rp-gallery span { font-size: .9375rem; padding: 28px 12px 12px; grid-template-columns: minmax(0, 1fr); }
  .rp-gallery a:not(:first-child) span small, .rp-gallery a:not(:first-child) span .i { display: none; }
  .rp-gallery a:first-child span .i { display: none; }
}

/* ---------- Prazos (tabela em fundo claro) ---------- */
.rp-prazos .table-wrap { margin-top: 8px; }
.rp-prazos table { width: 100%; border-collapse: collapse; }
.rp-prazos th, .rp-prazos td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--c-border); font-size: .9375rem; }
.rp-prazos thead th { background: var(--c-primary-soft); color: var(--c-text); font-weight: 650; }
.rp-prazos caption { caption-side: bottom; padding: 12px; font-size: .8125rem; color: var(--c-text-muted); text-align: left; }

/* ---------- Faixa de orçamento (no lugar da newsletter) ---------- */
.cta-band { background: var(--c-primary-soft) !important; color: var(--c-text) !important; }
.cta-band h2, .cta-band .lead, .cta-band a:not(.btn) { color: var(--c-text) !important; }
.cta-band .form-card { background: var(--c-surface); }

/* ---------- Rodapé chumbo ---------- */
.rp-footer { background: var(--c-dark); color: #D9DEE4; padding-top: clamp(48px, 6vw, 80px); }
.rp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); }
.rp-footer p { font-size: .9375rem; color: #C9CED4; margin-top: 16px; max-width: 36ch; }
.rp-footer-title { font-family: var(--f-heading); font-weight: 700; color: #fff; font-size: 1.0625rem; margin-bottom: 16px; }
.rp-footer-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.rp-footer-list a { color: #C9CED4; text-decoration: none; font-size: .9375rem; }
.rp-footer-list a:hover { color: var(--c-primary); }
.rp-footer address { font-style: normal; display: grid; gap: 12px; font-size: .9375rem; }
.rp-footer address a, .rp-footer address span { display: flex; gap: 10px; align-items: flex-start; color: #C9CED4; text-decoration: none; }
.rp-footer address .i { width: 18px; height: 18px; color: var(--c-primary); flex: 0 0 auto; margin-top: 2px; }
.rp-footer-bottom { margin-top: clamp(32px, 4vw, 56px); padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: #9CA3AB; }
.rp-footer-bottom ul { list-style: none; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.rp-footer-bottom a, .rp-footer-bottom button { color: #C9CED4; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: none; }
.rp-footer-bottom a:hover, .rp-footer-bottom button:hover { color: var(--c-primary); }
.rp-pay { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.rp-pay { list-style: none; padding: 0; }
.rp-pay li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 8px; padding: 7px 12px; font-size: .8rem; font-weight: 600; color: #2F343B; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.rp-pay li .i { width: 18px; height: 18px; stroke: #0A74B8; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
@media (max-width: 899px) { .rp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 539px) { .rp-footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Seção escura genérica (mantida para outras páginas) ---------- */
.section-dark { background: var(--c-dark); color: #F4F6F8; }
.section-dark h2, .section-dark h3 { color: #FFFFFF; }
.section-dark .answer, .section-dark p { color: #F4F6F8; }

/* ---------- Mini formulário dos botões de WhatsApp ---------- */
.lead-dialog { position: fixed; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; width: min(440px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 1.5rem; background: var(--c-surface); color: var(--c-text); box-shadow: 0 24px 64px rgba(47, 52, 59, 0.24); overflow: auto; }
.lead-dialog::backdrop { background: rgba(47, 52, 59, 0.55); }
.lead-dialog-inner { padding: 2rem; position: relative; }
.lead-dialog-close { position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; border: 0; border-radius: var(--r-full); background: transparent; color: var(--c-text-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lead-dialog-close:hover { background: var(--c-surface-alt); color: var(--c-text); }
.lead-dialog-close:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.lead-dialog h2 { font-family: var(--f-heading); font-size: var(--fs-h3); margin: 0 2.5rem .5rem 0; line-height: 1.15; }
.lead-dialog .lead-dialog-sub { margin: 0 0 1.25rem; color: var(--c-text-muted); font-size: var(--fs-small); }
.lead-dialog .form-grid { display: grid; gap: 1rem; }
.lead-dialog .form-status[data-tipo="erro"] { color: var(--c-error); }
@media (prefers-reduced-motion: no-preference) {
  .lead-dialog[open] { animation: lead-dialog-in 250ms cubic-bezier(0.2, 0, 0, 1); }
  @keyframes lead-dialog-in { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- FAQ em 2 cards lado a lado (regra do projeto: máx 5 perguntas por card) ---------- */
.rp-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: 36px; align-items: start; }
.rp-faq-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--rp-radius); padding: clamp(20px, 3vw, 32px); }
.rp-faq-card .faq { margin-top: 0; }
@media (max-width: 767px) { .rp-faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Breadcrumb: espaço abaixo da barra escura flutuante ---------- */
/* A rp-header-bar tem margin-bottom: -30px (flutua sobre o hero).
   Em páginas sem hero, o breadcrumb precisa de padding-top para não ficar colado na barra. */
main > .breadcrumb { padding-top: 48px; }

/* ================================================================
   HERO INNER PAGE (OnePrint style: foto full-width + overlay + texto centrado)
   ================================================================ */
.rp-hero-inner { position: relative; isolation: isolate; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.rp-hero-inner > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.rp-hero-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(47,52,59,.72) 0%, rgba(47,52,59,.55) 100%); }
.rp-hero-inner-content { padding: clamp(100px,12vw,140px) 20px clamp(24px,3vw,48px); color: #fff; }
.rp-hero-inner-content .rp-eyebrow { color: var(--c-primary); justify-content: center; }
.rp-hero-inner-content h1 { color: #fff; font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem); max-width: 22ch; margin: 10px auto 0; line-height: 1.15; }
.rp-hero-inner-content .breadcrumb { background: none; padding: 16px 0 0; }
.rp-hero-inner-content .breadcrumb, .rp-hero-inner-content .breadcrumb a, .rp-hero-inner-content .breadcrumb li { color: rgba(255,255,255,.75); }
.rp-hero-inner-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 20px 20px 0; }
.rp-hero-inner-chips span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 10px 18px; font-size: .9375rem; font-weight: 600; }
.rp-hero-inner-chips .i { width: 18px; height: 18px; color: var(--c-primary); flex: 0 0 auto; }
.rp-hero-inner-bg-strip { height: 32px; background: var(--c-surface); border-radius: var(--rp-radius) var(--rp-radius) 0 0; }
@media (max-width: 767px) { .rp-hero-inner { min-height: 320px; } .rp-hero-inner-content { padding-top: 90px; } }

/* ================================================================
   OVERVIEW: 2-col (texto+features à esq, foto+stats à dir)
   ================================================================ */
.rp-service-overview { }
.rp-service-features { margin-top: 24px; display: grid; gap: 0; border: 1px solid var(--c-border); border-radius: var(--rp-radius); overflow: hidden; }
.rp-service-features details { border-top: 1px solid var(--c-border); }
.rp-service-features details:first-child { border-top: 0; }
.rp-service-features summary { padding: 16px 20px; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rp-service-features summary::after { content: "+"; font-size: 1.25rem; color: var(--c-accent); flex: 0 0 auto; transition: transform .2s; }
.rp-service-features details[open] summary::after { transform: rotate(45deg); }
.rp-service-features details[open] summary { background: var(--c-primary-soft); color: var(--c-accent); }
.rp-service-features details > div { padding: 0 20px 16px; color: var(--c-text-muted); font-size: .9375rem; }

/* Stats boxes abaixo da foto de produto */
.rp-service-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--c-border); border-radius: var(--rp-radius); overflow: hidden; background: var(--c-border); gap: 1px; margin-top: 20px; }
.rp-service-stat { background: var(--c-surface); padding: 16px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rp-service-stat .i { width: 28px; height: 28px; color: var(--c-accent); }
.rp-service-stat strong { font-family: var(--f-heading); font-size: 1rem; font-weight: 700; display: block; }
.rp-service-stat small { font-size: .75rem; color: var(--c-text-muted); display: block; }

/* ================================================================
   SEÇÃO CTA ESCURA (OnePrint: dark navy + form card à direita)
   ================================================================ */
.rp-service-cta { background: var(--c-dark); color: #F4F6F8; }
.rp-service-cta .rp-eyebrow { color: var(--c-primary); }
.rp-service-cta h2 { color: #fff; }
.rp-service-cta p { color: #D9DEE4; margin-top: 12px; }
.rp-service-cta-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.9fr); gap: clamp(32px,4vw,64px); align-items: start; padding-block: clamp(48px,6vw,80px); }
.rp-service-cta-info { display: grid; gap: 14px; margin-top: 24px; }
.rp-service-cta-info a { display: flex; align-items: center; gap: 10px; color: #D9DEE4; text-decoration: none; font-size: .9375rem; }
.rp-service-cta-info a .i { width: 18px; height: 18px; color: var(--c-primary); flex: 0 0 auto; }
.rp-service-cta-info a:hover { color: var(--c-primary); }
.rp-service-cta .form-card { background: var(--c-surface); border-radius: var(--rp-radius); padding: clamp(24px,3vw,36px); }
@media (max-width: 899px) { .rp-service-cta-inner { grid-template-columns: minmax(0,1fr); } }

/* ================================================================
   INSTAGRAM / SOCIAL SECTION
   ================================================================ */
.rp-ig-section { }
.rp-ig-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 240px 180px; gap: 12px; }
.rp-ig-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rp-radius); }
.rp-ig-mosaic > :first-child { grid-row: 1 / 3; }
.rp-ig-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 767px) { .rp-ig-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 120px; } }
@media (max-width: 539px) { .rp-ig-mosaic { grid-template-columns: 1fr; grid-template-rows: 200px; } .rp-ig-mosaic > :not(:first-child) { display: none; } }

/* ================================================================
   FOOTER: logo real (filtro branco) + mapa
   ================================================================ */
.rp-footer-logo { filter: brightness(0) invert(1); width: 180px; height: auto; display: block; margin-bottom: 16px; }
.rp-map-full { width: 100%; line-height: 0; }
.rp-map-full iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Produtos relacionados (rodapé das páginas de produto) */
.rp-related-section { padding-block: 48px; }
.rp-related-section h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 20px; }
.rp-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rp-related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px; border: 1px solid var(--c-border, #E2E8F0); border-radius: var(--rp-radius, 12px); background: #fff; color: var(--c-dark, #3A3F47); font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.rp-related a:hover, .rp-related a:focus-visible { border-color: var(--c-primary, #38BDF8); color: var(--c-accent, #0A74B8); }
.rp-related a .i { flex: none; width: 18px; height: 18px; }
a.tag { text-decoration: none; }
a.tag:hover, a.tag:focus-visible { text-decoration: underline; }

/* Grade de produtos sempre completa: card que sobra sozinho na última linha ocupa a linha inteira */
@media (min-width: 900px) {
  .rp-services > .rp-service:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .rp-services > .rp-service:nth-last-child(2):nth-child(3n+1), .rp-services > .rp-service:last-child:nth-child(3n+2) { grid-column: span 1; }
}
@media (min-width: 540px) and (max-width: 899px) {
  .rp-services > .rp-service:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Home: listas, glossário e endereço (SEO 12/11/2026) */
.rp-lista-perfis, .rp-lista-fatores { display: grid; gap: 12px; max-width: 80ch; padding-left: 1.25rem; margin-top: 8px; }
.rp-lista-perfis li, .rp-lista-fatores li { line-height: 1.6; }
.rp-glossario { max-width: 80ch; margin: 8px 0 0; }
.rp-glossario dt { margin-top: 14px; font-family: var(--f-heading, inherit); font-weight: 700; color: var(--c-text); }
.rp-glossario dd { margin: 4px 0 0; color: var(--c-text-muted); line-height: 1.6; }
.rp-glossario dfn { font-style: normal; }
.rp-endereco { font-style: normal; line-height: 1.8; padding: 20px 24px; border: 1px solid var(--c-border, #E2E8F0); border-radius: 12px; background: var(--c-surface, #fff); max-width: 60ch; }

/* Números em fundo claro (Sobre) */
.rp-about .rp-number > span { color: var(--c-text-muted); }
.rp-about .rp-number small { background: var(--c-surface-alt, #EEF1F4); }
.rp-split-panel h3, .rp-service-cta h3 { color: #FFFFFF; }
.rp-split-panel .rp-feature-row p { color: #D9DEE4; }
/* Caminho de navegação centralizado em todas as páginas */
.breadcrumb ol { justify-content: center; text-align: center; }
.rp-hero-inner-content .breadcrumb { width: 100%; }
.rp-badge-novo { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--c-primary); color: #0B1B2B; font-size: .75rem; font-weight: 700; vertical-align: middle; }
.rp-novidade { background: var(--c-surface-alt, #F3F5F7); }
/* Destaque do menu: botões visíveis */
.rp-header-bar .nav .mega-feature .btn { display: inline-flex; justify-content: center; align-items: center; width: 100%; font-size: .875rem; padding: 11px 14px; white-space: nowrap; gap: 8px; }
.rp-header-bar .nav .mega-feature .btn-primary { color: #FFFFFF; background: var(--c-accent, #0A74B8); border-color: var(--c-accent, #0A74B8); }
.rp-header-bar .nav .mega-feature .btn-primary:hover { background: #085C93; border-color: #085C93; color: #FFFFFF; }
.rp-header-bar .nav .mega-feature .btn .i { width: 18px; height: 18px; flex: 0 0 auto; }
.rp-header-bar .nav .mega-feature .btn-whatsapp { margin-top: 0; }
.lead-dialog [data-lead-detalhes][hidden] { display: none; }

/* Destaque do mega menu: plotagem de projetos */
.mega-feature.rp-mf { background: linear-gradient(160deg, #0B2C47 0%, #0A5A8F 55%, #0A74B8 100%); color: #fff; padding: 16px; gap: 12px; position: relative; overflow: hidden; box-shadow: 0 12px 30px rgba(10,116,184,.35); border: 1px solid rgba(56,189,248,.45); }
.mega-feature.rp-mf::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.35), transparent 70%); pointer-events: none; }
.rp-mf-img { position: relative; }
.rp-mf-img img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.rp-mf-badge { position: absolute; top: 10px; left: 10px; background: #FACC15; color: #1F2937; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.rp-mf-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7DD3FC; }
.rp-mf-title { font-family: Sora, Inter, sans-serif; font-size: 1.2rem; line-height: 1.25; color: #fff; margin-top: -6px; }
.rp-mf-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rp-mf-list li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: #E0F2FE; }
.rp-mf-list .i { width: 18px; height: 18px; flex: 0 0 auto; stroke: #fff; stroke-width: 3.5; background: #22C55E; border-radius: 50%; padding: 3px; }
.rp-header-bar .nav .mega-feature .rp-mf-ver { background: #fff; color: #0A74B8; border-color: #fff; font-weight: 700; margin-top: 4px; }
.rp-header-bar .nav .mega-feature .rp-mf-ver:hover { background: #E0F2FE; color: #085C93; }
.rp-header-bar .nav .mega-feature.rp-mf .btn-whatsapp { box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.rp-mf-foot { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; line-height: 1.4; color: #BAE6FD; border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px; }
.rp-mf-foot .i { width: 18px; height: 18px; flex: 0 0 auto; stroke: #7DD3FC; }
.mega-feature.rp-mf .rp-mf-img { flex: 1 1 auto; min-height: 150px; }
.mega-feature.rp-mf .rp-mf-img img { height: 100%; aspect-ratio: auto; }
.mega-feature.rp-mf .rp-mf-foot { margin-top: 0; }
.mega-feature.rp-mf .rp-mf-img img { object-position: center 55%; }
.has-mega.esc:focus-within > .mega, .has-mega.esc:hover > .mega { opacity: 0; visibility: hidden; }
/* Contraste AA (Lighthouse 13/11/2026) */
main a:not(.btn):not(.mega-item):not([class*="rp-mf"]), .card-link, address a, #cookie a, .rp-lista-perfis a { color: #0968A6; }
main a:not(.btn):not(.mega-item):hover { color: #075283; }
.btn-whatsapp, .wa-float { background: #0F7A41; }
.btn-whatsapp:hover { background: #0C6636; }
.cta-band .rp-eyebrow { color: #075E96; }
.rp-footer-bottom span { color: #B9C0C7; }
/* Celular: botões das páginas ocupam a largura toda, centralizados (13/11/2026) */
@media (max-width: 767px) {
  main .btn, .cta-band .btn, .rp-novidade .btn, main .actions .btn { display: flex; width: 100%; justify-content: center; text-align: center; margin-left: 0; margin-right: 0; }
  main .actions, main p.actions, .cta-band .actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
}
/* Quem atende: texto + foto do Ricardo */
.rp-quem-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.rp-quem-foto { margin: 0; }
.rp-quem-foto img { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 14px 32px rgba(15, 30, 45, .18); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .rp-quem-grid { grid-template-columns: 1fr; } }
/* Glossário em cards (13/11/2026) */
.rp-glossario.rp-glo-grid { max-width: none; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rp-glo-card { background: #fff; border: 1px solid var(--c-border, #E3E8EE); border-radius: 14px; padding: 22px 20px; box-shadow: 0 4px 14px rgba(15, 30, 45, .06); display: flex; flex-direction: column; gap: 8px; transition: transform .15s ease, box-shadow .15s ease; }
.rp-glo-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 30, 45, .1); }
.rp-glo-card .icon-box { width: 44px; height: 44px; border-radius: 12px; background: #E0F5FE; display: inline-grid; place-items: center; margin-bottom: 4px; }
.rp-glo-card .icon-box .i { width: 22px; height: 22px; stroke: #0A74B8; }
.rp-glossario.rp-glo-grid dt { margin: 0; font-size: 1.05rem; }
.rp-glossario.rp-glo-grid dd { margin: 0; font-size: .925rem; }
@media (max-width: 1024px) { .rp-glossario.rp-glo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rp-glossario.rp-glo-grid { grid-template-columns: 1fr; } }
.rp-glossario.rp-glo-grid dt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
