/* Registre Certificado Digital - landing de parceiro (layout aprovado) */
.rg-page { --rg-ink: #141414; --rg-dark: #0f0f0f; --rg-yellow: #f8cf47; --rg-yellow-h: #ffda63; --rg-gold: #b8860b; --rg-gold-line: #d9b75b; --rg-cream: #faf7f0; --rg-tint: #fdf1cf; --rg-muted: #5a5a5a; --rg-line: #ece6da; background: #fff; }
.rg-page h1, .rg-page h2, .rg-page h3 { letter-spacing: -.02em; }

/* Barra VF */
.rg-topbar { background: #000; color: #bdbdbd; font-size: .8rem; }
.rg-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.rg-topbar a { color: #fff; font-weight: 600; }
.rg-topbar a i { color: var(--rg-yellow); margin-right: 4px; }

/* Cabeçalho */
.rg-header { position: sticky; top: 0; z-index: 50; background: #111; border-bottom: 1px solid #222; }
.rg-header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.rg-brand { display: inline-flex; background: #f7f7f7; border-radius: 8px; padding: 6px 10px; flex: none; }
.rg-brand img { display: block; width: 150px; height: auto; }
.rg-nav { display: flex; gap: 30px; margin-left: auto; margin-right: auto; }
.rg-nav a { color: #fff; font-size: .93rem; font-weight: 500; }
.rg-nav a:hover { color: var(--rg-yellow); }
.rg-menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; cursor: pointer; }
.rg-menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Botões e etiquetas */
.rg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--rg-yellow); color: #111; font-weight: 700; font-size: 1rem; border-radius: 14px; padding: 15px 26px; box-shadow: 0 10px 24px rgba(248, 207, 71, .28); transition: background .2s, transform .2s; }
.rg-btn:hover { background: var(--rg-yellow-h); transform: translateY(-1px); }
.rg-btn .fa-whatsapp, .rg-btn .fa-instagram { font-size: 1.15em; }
.rg-btn-sm { padding: 11px 20px; font-size: .9rem; border-radius: 12px; }
.rg-tag { display: inline-block; padding: 4px 12px; border: 1.5px solid var(--rg-gold-line); border-radius: 999px; color: #8a6510; background: #fffaf0; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.rg-tag-dark { background: rgba(0, 0, 0, .4); color: var(--rg-yellow); border-color: var(--rg-gold-line); }
.rg-y { color: var(--rg-yellow); }
.rg-g { color: var(--rg-gold); }
.rg-h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.15; color: var(--rg-ink); margin-bottom: 30px; }
.rg-h2-mix { font-weight: 500; }
.rg-h2-mix strong { font-weight: 800; }
.rg-icon-box { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 12px; background: var(--rg-tint); color: #222; font-size: 1.45rem; }
.rg-icon-sm { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--rg-tint); color: #222; font-size: .95rem; }
.rg-center { text-align: center; margin-top: 30px; }

/* Seções */
.rg-sec { position: relative; padding: 64px 0; overflow: hidden; }
.rg-white { background: #fff; }
.rg-cream { background: var(--rg-cream); }

/* Banner */
.rg-hero { position: relative; isolation: isolate; overflow: hidden; background: #0d0d0d; padding: 64px 0 72px; min-height: 520px; display: flex; align-items: center; }
.rg-hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -1; }
.rg-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.rg-hero-media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0d0d 0%, rgba(13, 13, 13, .75) 22%, rgba(13, 13, 13, 0) 50%); }
.rg-hero-inner { width: 100%; }
.rg-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.14; font-weight: 700; max-width: 760px; margin-bottom: 18px; }
.rg-hero-text { color: #e2e2e2; max-width: 520px; margin-bottom: 30px; font-size: 1.02rem; }

/* Certificados */
.rg-cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rg-cert { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; background: #fff; border: 1px solid var(--rg-line); border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, .06); min-height: 340px; }
.rg-cert-body { position: relative; z-index: 1; padding: 30px 0 30px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.rg-cert-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.rg-cert-head h3 { font-size: 1.9rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.rg-cert-head p { font-weight: 700; font-size: .92rem; line-height: 1.35; color: var(--rg-ink); }
.rg-cert-text { color: var(--rg-muted); font-size: .9rem; margin-bottom: 22px; }
.rg-cert .rg-btn { margin-top: auto; }
.rg-cert-img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }

/* Seções com foto lateral */
.rg-photo-sec .rg-sec-photo { position: absolute; top: 0; right: 0; height: 100%; width: 40%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
.rg-a1a3 { background: #fbfaf7; }
.rg-a1a3 .rg-sec-photo { object-position: 40% 50%; }
.rg-atend { background: #fff; }
.rg-atend .rg-sec-photo { object-position: 50% 50%; }
.rg-photo-sec .container { position: relative; }
.rg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; }
.rg-card { background: rgba(255, 255, 255, .96); border: 1px solid var(--rg-line); border-radius: 16px; padding: 26px; box-shadow: 0 12px 30px rgba(0, 0, 0, .05); display: flex; flex-direction: column; align-items: flex-start; }
.rg-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.rg-card-head h3 { font-size: 1.2rem; font-weight: 800; }
.rg-card-head p { font-size: .88rem; font-weight: 600; color: var(--rg-ink); }
.rg-card-text { color: var(--rg-muted); font-size: .9rem; margin-bottom: 12px; }
.rg-strong { color: var(--rg-ink); font-weight: 700; }
.rg-card .rg-btn { margin-top: auto; }
.rg-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rg-checks li { display: flex; gap: 10px; color: var(--rg-muted); font-size: .9rem; }
.rg-checks li::before { content: '\2713'; color: var(--rg-gold); font-weight: 800; }

/* Passos */
.rg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; list-style: none; padding: 0; margin: 0; }
.rg-steps li { position: relative; background: #fff; border: 1px solid var(--rg-line); border-radius: 16px; padding: 22px; box-shadow: 0 10px 26px rgba(0, 0, 0, .04); }
.rg-steps li:not(:last-child)::after { content: '\2192'; position: absolute; right: -30px; top: 50%; transform: translateY(-50%); color: var(--rg-gold); font-size: 1.3rem; }
.rg-step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 1.5rem; color: #222; }
.rg-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #d9a21b; color: #fff; font-weight: 800; font-size: 1rem; }
.rg-steps h3 { font-size: .98rem; font-weight: 800; margin-bottom: 8px; }
.rg-steps p { color: var(--rg-muted); font-size: .86rem; }

/* Por que */
.rg-why { border-top: 1px solid var(--rg-line); }
.rg-why-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 48px; align-items: start; }
.rg-why-items { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.rg-why-item { display: flex; gap: 16px; }
.rg-why-item h3 { font-size: .98rem; font-weight: 800; margin-bottom: 4px; }
.rg-why-item p { color: var(--rg-muted); font-size: .86rem; }

/* FAQ */
.rg-faq-grid { display: grid; grid-template-columns: .75fr 1.5fr; gap: 48px; align-items: start; }
.rg-faq { display: grid; gap: 10px; }
.rg-faq details { background: #fff; border: 1px solid var(--rg-line); border-radius: 10px; }
.rg-faq summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; font-weight: 600; font-size: .94rem; color: var(--rg-ink); position: relative; }
.rg-faq summary::-webkit-details-marker { display: none; }
.rg-faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #333; border-bottom: 2px solid #333; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.rg-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.rg-faq details p { padding: 0 18px 16px; color: var(--rg-muted); font-size: .9rem; }

/* Instagram */
.rg-insta { padding-bottom: 0; }
.rg-insta-grid { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 40px; align-items: start; }
.rg-insta-text { padding-bottom: 64px; }
.rg-insta-text p:not(.rg-tag) { color: var(--rg-muted); margin: -12px 0 26px; max-width: 420px; }
.rg-phone { display: block; position: relative; width: 300px; height: auto; border: 10px solid #1b1b1b; border-bottom: 0; border-radius: 42px 42px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -8px 40px rgba(0, 0, 0, .12); }
.rg-phone img { display: block; width: 100%; height: auto; }
.rg-insta-list { list-style: none; padding: 60px 0 0; margin: 0; display: grid; gap: 18px; }
.rg-insta-list li { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--rg-ink); }

/* Chamada final */
.rg-final { position: relative; isolation: isolate; overflow: hidden; background: #0d0d0d; padding: 64px 0; }
.rg-final-media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -1; }
.rg-final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.rg-final-media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0d0d 0%, rgba(13, 13, 13, .6) 30%, rgba(13, 13, 13, 0) 60%); }
.rg-final h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.18; max-width: 560px; margin-bottom: 16px; }
.rg-final p { color: #dcdcdc; max-width: 520px; margin-bottom: 26px; }
.rg-final .rg-note { font-size: .76rem; color: #9a9a9a; margin: 26px 0 0; max-width: 520px; }

/* Responsivo */
@media (max-width: 1080px) {
  .rg-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #111; border-top: 1px solid #222; padding: 8px 20px 16px; }
  .rg-nav.open { display: flex; }
  .rg-nav a { padding: 12px 0; border-bottom: 1px solid #222; }
  .rg-menu-toggle { display: block; margin-left: 8px; }
  .rg-header-inner { gap: 12px; }
  .rg-header .rg-btn-sm { margin-left: auto; }
  .rg-cert-grid { grid-template-columns: 1fr; }
  .rg-photo-sec .rg-sec-photo { width: 34%; opacity: .55; }
  .rg-steps { grid-template-columns: 1fr 1fr; }
  .rg-steps li:not(:last-child)::after { content: none; }
  .rg-why-grid, .rg-faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .rg-insta-grid { grid-template-columns: 1fr 300px; }
  .rg-insta-list { grid-column: 1; grid-row: 2; padding: 0 0 40px; }
  .rg-insta-text { padding-bottom: 24px; }
  .rg-phone { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}
@media (max-width: 760px) {
  .rg-topbar-inner span { display: none; }
  .rg-topbar-inner { justify-content: flex-end; }
  .rg-brand img { width: 120px; }
  .rg-header .rg-btn-sm { padding: 10px 12px; font-size: 0; gap: 0; }
  .rg-header .rg-btn-sm i { font-size: 1.3rem; }
  .rg-hero { padding: 0 0 48px; min-height: 0; flex-direction: column; align-items: stretch; }
  .rg-hero-media { position: relative; width: 100%; height: 260px; }
  .rg-hero-media::before { background: linear-gradient(0deg, #0d0d0d 0%, rgba(13, 13, 13, 0) 45%); }
  .rg-hero-inner { margin-top: -20px; }
  .rg-hero .rg-btn, .rg-final .rg-btn, .rg-insta .rg-btn { width: 100%; }
  .rg-sec { padding: 48px 0; }
  .rg-cert { grid-template-columns: 1fr; }
  .rg-cert-body { padding: 24px; }
  .rg-cert-img { height: 220px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); order: -1; }
  .rg-photo-sec .rg-sec-photo { position: relative; width: 100%; height: 220px; opacity: 1; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 35%); mask-image: linear-gradient(0deg, transparent 0, #000 35%); margin-top: -48px; margin-bottom: 8px; }
  .rg-two { grid-template-columns: 1fr; }
  .rg-steps { grid-template-columns: 1fr; gap: 16px; }
  .rg-why-items { grid-template-columns: 1fr; }
  .rg-insta-grid { grid-template-columns: 1fr; gap: 0; }
  .rg-insta-list, .rg-phone { grid-column: auto; grid-row: auto; }
  .rg-insta-list { padding: 0 0 32px; }
  .rg-phone { justify-self: center; width: 280px; }
  .rg-final { padding: 0 0 48px; }
  .rg-final-media { position: relative; width: 100%; height: 220px; margin-bottom: 8px; }
  .rg-final-media::before { background: linear-gradient(0deg, #0d0d0d 0%, rgba(13, 13, 13, 0) 50%); }
}
