/* Revisão transversal de responsividade — camada final da Versão B */
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
body.version-b *, body.version-b *::before, body.version-b *::after { min-width: 0; }
.version-b img, .version-b video, .version-b iframe, .version-b svg { max-width: 100%; }
.version-b .button, .version-b button, .version-b input, .version-b select, .version-b textarea { max-width: 100%; }
.version-b .section-heading h2, .version-b h1, .version-b h2, .version-b h3, .version-b p { overflow-wrap: anywhere; }
.footer-links button { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.noscript-notice { padding: 12px 18px; background: #40105d; color: #fff; font: 600 .85rem/1.5 Poppins, sans-serif; text-align: center; }

.video-consent-placeholder { position: relative; width: 100%; height: 100%; min-height: 270px; overflow: hidden; background: #0a0810; }
.video-consent-placeholder::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,5,11,.84), rgba(5,5,11,.36)); }
.video-consent-placeholder > img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.video-consent-placeholder > div { position: absolute; z-index: 1; left: clamp(18px, 5vw, 50px); bottom: clamp(20px, 5vw, 48px); width: min(390px, calc(100% - 36px)); }
.video-consent-placeholder strong { font-family: Cinzel, serif; font-size: clamp(1.35rem, 3vw, 2.25rem); line-height: 1.15; }
.video-consent-placeholder p { margin: 8px 0 16px; color: #e1dce7; font-size: .82rem; line-height: 1.55; }

@media (max-width: 900px) {
  .version-b .header-cta { white-space: nowrap; }
  .version-b .mode-card, .version-b .table-card, .version-b .rpgbox-table-wrap, .version-b .format-compare { width: 100%; max-width: 100%; }
  .version-b .format-compare { overflow-x: auto; overscroll-behavior-inline: contain; }
}

@media (max-width: 700px) {
  .version-b .site-header { width: 100%; gap: 10px; }
  .version-b .brand { flex: 0 1 auto; }
  .version-b .brand-logo { width: 42px; height: 42px; }
  .version-b .hero-actions, .version-b .hero-actions .button, .version-b .mode-card .button, .version-b .narrator-content .button { width: 100%; }
  .version-b .button { min-height: 48px; padding-inline: 16px; white-space: normal; text-align: center; }
  .version-b .mode-card { border-radius: 4px 22px; }
  .version-b .mode-photo { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .version-b .table-details { overflow: hidden; }
  .version-b .choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .version-b .choice .button { width: auto; min-height: 40px; }
  .version-b .format-switch { width: 100%; max-width: 100%; overflow-x: auto; }
  .version-b .calendar-band .section-wrap { overflow: hidden; }
  .version-b .calendar-controls { width: 100%; gap: 10px; }
  .version-b .calendar-nav { flex: 0 0 42px; }
  .version-b .rpgbox-table-wrap { overflow-x: auto; }
  .version-b .rpgbox-drop-table { min-width: 520px; }
  .version-b .lead-dialog { max-height: calc(100dvh - 20px); overflow-y: auto; }
  .version-b .lead-dialog form { width: 100%; }
  .version-b .footer-links { flex-wrap: wrap; gap: 12px 18px; }
  .whatsapp-widget { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); max-width: calc(100vw - 24px); }
  .whatsapp-greeting { position: fixed; right: max(12px, env(safe-area-inset-right)); left: max(12px, env(safe-area-inset-left)); bottom: calc(78px + env(safe-area-inset-bottom)); width: auto; max-width: none; border-radius: 14px 14px 4px 14px; }
  .whatsapp-widget .whatsapp-float span { display: none; }
}

@media (max-width: 390px) {
  .version-b .section-wrap { width: calc(100% - 24px); }
  .version-b .site-header { padding-inline: 12px; }
  .version-b .brand > span:last-child { font-size: .82rem; }
  .version-b .nav-toggle { flex: 0 0 auto; }
  .version-b h1 { font-size: clamp(2.35rem, 12vw, 3.1rem); }
  .version-b h2, .version-b .section-heading h2, .version-b .how h2, .version-b .value-copy h2, .version-b .narrator-content h2, .version-b .faq h2, .version-b .final-cta h2 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .version-b .mode-copy { padding-inline: 16px; }
  .version-b #calendario .calendar-grid { gap: 3px; }
  .version-b #calendario .calendar-grid > .calendar-day { min-height: 55px; padding-inline: 2px; }
}

body.consent-visible .whatsapp-widget { opacity: 0; visibility: hidden; pointer-events: none; }

