/* Demo interativo do widget. Texto cinza em #776d66 para passar 4,5:1 (WCAG AA) no fundo do cartão; estrelas em #946c22. */
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }

/* Moldura de navegador com o "site do fotógrafo" de exemplo */
.bw-frame { background: #fff; border: 1px solid rgba(20, 20, 20, .10); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(30, 20, 15, .25), 0 2px 6px rgba(30, 20, 15, .06); overflow: hidden; text-align: left; color: #2b2522; }
.bw-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f4f1ee; border-bottom: 1px solid #e8e2dc; }
.bw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d2cb; display: inline-block; }
.bw-url { margin-left: 8px; flex: 1; background: #fff; border-radius: 6px; padding: 4px 10px; font: 500 12px/1.3 Inter, system-ui, sans-serif; color: #776d66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-site { padding: 22px 22px 18px; }
.bw-site-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.bw-site-nome { font: italic 400 22px/1.1 'Instrument Serif', Georgia, serif; color: #2b2522; }
.bw-site-menu { font: 500 11px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #776d66; }
.bw-site h4 { margin: 0 0 12px; font: 400 26px/1.15 'Instrument Serif', Georgia, serif; color: #2b2522; }

/* O widget */
.bw-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.bw-tab { border: 1px solid #e3dcd5; background: #fff; color: #5b524c; border-radius: 99px; padding: 6px 12px; font: 500 12.5px/1 Inter, sans-serif; cursor: pointer; }
.bw-tab[aria-pressed="true"] { background: #2b2522; border-color: #2b2522; color: #fff; }
.bw-tab:focus-visible, .bw-video:focus-visible, .bw-nav:focus-visible { outline: 2px solid var(--destaque, #B5654A); outline-offset: 2px; }
.bw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bw-card { background: #faf8f6; border: 1px solid #eee7e1; border-radius: 12px; padding: 14px 15px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.bw-card[hidden] { display: none; }
.bw-stars { color: #946c22; letter-spacing: 2px; font-size: 13px; }
.bw-quote { font: 400 15.5px/1.4 'Instrument Serif', Georgia, serif; color: #2b2522; margin: 0; }
.bw-who { display: flex; align-items: center; gap: 9px; font: 400 12px/1.35 Inter, sans-serif; color: #776d66; }
.bw-who b { display: block; color: #2b2522; font-weight: 600; font-size: 12.5px; }
.bw-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 Inter, sans-serif; color: #fff; flex: none; }
.bw-src { font: 500 11px/1 Inter, sans-serif; color: #776d66; text-decoration: none; border-bottom: 1px dotted #c8beb6; align-self: flex-start; }
.bw-video { position: relative; border: 0; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #d8b7a4, #9e6d58 60%, #6b4537); display: grid; place-items: center; width: 100%; }
.bw-video span { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.bw-video span::before { content: ''; border-left: 13px solid #2b2522; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.bw-video em { position: absolute; left: 10px; bottom: 8px; font: 500 11px/1 Inter, sans-serif; font-style: normal; color: #fff; background: rgba(0,0,0,.35); padding: 4px 7px; border-radius: 99px; }
.bw-rodape { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font: 400 11px/1.3 Inter, sans-serif; color: #776d66; }
.bw-rodape a { color: inherit; }
.bw-nav { border: 1px solid #e3dcd5; background: #fff; border-radius: 99px; padding: 5px 11px; font: 500 12px/1 Inter, sans-serif; cursor: pointer; color: #5b524c; }

/* Janela do vídeo de exemplo */
.bw-modal { position: fixed; inset: 0; background: rgba(20, 15, 12, .6); display: grid; place-items: center; padding: 16px; z-index: 50; }
.bw-modal[hidden] { display: none; }
.bw-modal-box { background: #fff; border-radius: 16px; max-width: 420px; width: 100%; overflow: hidden; color: #2b2522; }
.bw-modal-tela { aspect-ratio: 9 / 12; max-height: 52vh; width: 100%; background: linear-gradient(160deg, #e2c4b2, #a8735d 55%, #5e3c30); display: grid; place-items: center; color: #fff; font: 400 22px/1.3 'Instrument Serif', Georgia, serif; text-align: center; padding: 24px; }
.bw-modal-txt { padding: 16px 18px 18px; font: 400 14px/1.5 Inter, sans-serif; color: #5b524c; }
.bw-modal-txt button { margin-top: 12px; width: 100%; border: 0; border-radius: 10px; padding: 11px; background: #2b2522; color: #fff; font: 600 14px/1 Inter, sans-serif; cursor: pointer; }

@media (max-width: 640px) {
  .bw-grid { grid-template-columns: 1fr; }
  .bw-site { padding: 16px 14px 14px; }
  .bw-site h4 { font-size: 22px; }
  .bw-site-menu { display: none; }
  .bw-rodape { flex-wrap: wrap; justify-content: center; text-align: center; }
  .bw-rodape .bw-nav { width: 100%; padding: 9px; }
}
