/* ==========================================================================
   Griffo Films — partner section on ragalhaes.com
   Ported from the Griffo Films site (showcase "Programas"), scoped under .gf
   Griffo identity: white · tinta #111122 · green #0f7a47 · gold #c9a865
   Unbounded · DM Sans
   ========================================================================== */
.gf {
  --tinta: #111122; --tinta-2: #4a4a5e; --tinta-3: #6a6a84; --branco: #fff;
  --azul: #2d3bff; --azul-2: #1f2bd6; --nevoa: #f6f7ff;
  --griffo-verde: #0f7a47; --griffo-ouro: #c9a865;
  --f-display: "Unbounded", "Arial Black", sans-serif;
  --f-texto: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 3.4vw, 48px); --max: 1440px;
  --ease-cine: cubic-bezier(.2, .7, .2, 1); --ease-mola: cubic-bezier(.3, 1.6, .5, 1);
  position: relative; isolation: isolate; overflow: hidden;
  background: #fff; color: var(--tinta); cursor: auto;
  font-family: var(--f-texto); font-size: 17px; line-height: 1.55; letter-spacing: 0; text-transform: none;
  -webkit-font-smoothing: antialiased;
}
.gf *, .gf *::before, .gf *::after { box-sizing: border-box; }
.gf img, .gf video { display: block; max-width: 100%; }
.gf a { color: inherit; }
.gf button { font: inherit; color: inherit; cursor: pointer; }
.gf a, .gf button { cursor: pointer; }
.gf h2, .gf h3 { margin: 0; font-family: var(--f-display); text-wrap: balance; color: inherit; text-transform: none; }
.gf p { margin: 0; }
.gf :focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 4px; }

/* night → navy → Griffo white, and back */
.gf-in { height: clamp(220px, 24vw, 340px); position: relative;
  background: linear-gradient(180deg, #06121F 0%, #0B2D53 24%, #2F5E93 44%, #8FA9C9 62%, #D9E2EC 80%, #F7F8FC 93%, #fff 100%); }
.gf-in .gf-label { position: absolute; top: clamp(40px, 5vw, 64px); left: var(--pad); color: rgba(244,242,238,.75); }
.gf-out { height: clamp(220px, 24vw, 340px);
  background: linear-gradient(180deg, #F7F2EF 0%, #EEEDEC 8%, #C8D5E3 24%, #8FA9C9 40%, #2F5E93 60%, #0B2D53 80%, #06121F 100%); }
.gf-label { font-family: var(--f-texto); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* partner bar: Griffo crest + wordmark */
.gf-top { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-bottom: 26px; border-bottom: 2px solid var(--tinta); }
.gf-marca { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.gf-marca img { width: clamp(52px, 5vw, 72px); height: auto; }
.gf-marca span { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -.03em; line-height: 1; }
.gf-top .gf-label { color: var(--tinta-3); }
.gf-top .gf-label b { color: var(--griffo-verde); font-weight: 700; }
.gf .programas { padding-top: clamp(48px, 6vw, 80px); }
.gf .cabeca h2 { text-transform: none; }

/* closing: ways in */
.gf-fim { max-width: var(--max); margin: 56px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gf .player .fechar { cursor: pointer; }
@media (max-width: 900px) {
  .gf-top { padding-bottom: 18px; }
  .gf-fim .gbtn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gf *, .gf *::before, .gf *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .gf .sv { opacity: 1; transform: none; }
  .gf .metodo-linha span { color: var(--tinta); }
}

/* ---------- ported from griffo.css (scoped) ---------- */
.gf .px { padding-left: var(--pad); padding-right: var(--pad); }
.gf .g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.gf .gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; border: 2px solid transparent; background: transparent; cursor: pointer; font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.1; transition: transform .25s var(--ease-mola), background-color .2s, color .2s, border-color .2s; }
.gf .gbtn:hover { transform: translateY(-2px); }
.gf .gbtn:active { transform: scale(.97); }
.gf .btn-claro-contorno { border-color: rgba(255,255,255,.4); color: #fff; }
.gf .btn-claro-contorno:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.gf .btn-branco { background: #fff; color: var(--azul); }
.gf .btn-branco:hover { background: var(--nevoa); color: var(--azul-2); }
.gf .ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--rosa); display: inline-block; flex: none; }
.gf .faixa-cine { position: absolute; left: 0; right: 0; background: var(--tinta); height: 7%; }
.gf .faixa-cine.cima { top: 0; }
.gf .faixa-cine.baixo { bottom: 0; }
.gf .tc { font-variant-numeric: tabular-nums; }
.gf .cabeca { align-items: end; margin-bottom: 40px; }
.gf .cabeca h2 { grid-column: 1 / span 8; font-weight: 900; font-size: 84px; line-height: .95; letter-spacing: -.045em; }
.gf .cabeca p { grid-column: 9 / span 4; color: var(--tinta-2); }
.gf .player { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; color: #fff; }
.gf .player::backdrop { background: rgba(10,10,26,.94); }
.gf .player .palco { height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 16px var(--pad) 24px; }
.gf .player .barra { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.gf .player .barra h2 { font-size: 22px; }
.gf .player .barra p { font-size: 14px; color: #c9cae6; }
.gf .player .fechar { background: #fff; color: var(--tinta); border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; }
.gf .player .tela { min-height: 0; display: flex; align-items: center; justify-content: center; }
.gf .player video, .gf .player img { max-width: 100%; max-height: 100%; border-radius: 12px; background: #000; }
@keyframes gf-g-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gf-r-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes gf-pf-in { from { opacity: 0; transform: translateY(50px) scale(.96); } to { opacity: 1; transform: none; } }
.gf .g-m1 { animation: gf-g-left 48s linear infinite; }
.gf.gf-js .sv { opacity: 0; transform: translateY(70px); transition: opacity 1s var(--ease-cine), transform 1.1s var(--ease-cine); }
.gf.gf-js .sv.visto { opacity: 1; transform: none; }
.gf .cabeca > div { grid-column: 1 / span 8; }
.gf .etiqueta-g { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; margin-bottom: 22px; border: 2px solid var(--tinta); border-radius: 999px; font-family: var(--f-texto); font-weight: 700; font-size: 14px; letter-spacing: 0; }
.gf .etiqueta-g::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tinta); }
@keyframes gf-tp-in { from { opacity: 0; transform: scale(1.07); } to { opacity: 1; transform: none; } }
.gf .prog-rotulo { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-3); margin-bottom: 14px; }
@keyframes gf-prog-barra { to { transform: scaleX(1); } }
.gf .prog-nota { margin-top: 44px; font-size: 13px; color: var(--tinta-3); }
.gf .show { margin-top: 8px; }
.gf .show-abas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.gf .show-aba { position: relative; overflow: hidden; display: block; width: 100%; padding: 8px 8px 12px; text-align: left; border: 2px solid var(--tinta); border-radius: 22px; background: #fff; color: var(--tinta); font: inherit; cursor: pointer; transition: transform .35s var(--ease-mola), background-color .3s, color .3s; }
.gf .show-aba:hover { transform: translateY(-4px); }
.gf .sa-capa { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 15px; overflow: hidden; background: var(--tinta); }
.gf .sa-capa img, .gf .sa-capa video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-cine), opacity .4s; }
.gf .sa-capa video { opacity: 0; }
.gf .show-aba.prevendo .sa-capa video { opacity: 1; }
.gf .show-aba:hover .sa-capa img { transform: scale(1.06); }
.gf .sa-txt { display: flex; align-items: center; gap: 12px; padding: 12px 6px 4px; }
.gf .sa-num { font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--tinta); flex: none; }
.gf .sa-txt strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.05; letter-spacing: -.01em; }
.gf .sa-txt small { display: block; margin-top: 5px; font-size: 12px; color: var(--tinta-3); }
.gf .show-aba.ativo { background: var(--tinta); color: #fff; }
.gf .show-aba.ativo .sa-num { -webkit-text-stroke-color: #fff; }
.gf .show-aba.ativo small { color: rgba(255,255,255,.7); }
.gf .sa-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }
.gf .sa-barra span { display: block; height: 100%; background: var(--tom, #fff); transform: scaleX(0); transform-origin: left; }
.gf .show-aba.ativo .sa-barra span { animation: gf-prog-barra 14s linear both; }
.gf .show-abas.pausa .sa-barra span { animation-play-state: paused; }
.gf .show-abas.parado .sa-barra { display: none; }
.gf .show-palco { --barra: 7%; position: relative; height: 680px; border-radius: 30px; overflow: hidden; background: var(--tinta); color: #fff; box-shadow: 0 50px 100px -30px rgba(17,17,34,.55); }
.gf .show-palco.q-scope { --barra: 12.5%; }
.gf .sp-tela { position: absolute; inset: 0; }
.gf .sp-midia { position: absolute; inset: 0; }
.gf .sp-midia img, .gf .sp-midia video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gf .sp-tela::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10,10,26,.86) 0%, rgba(10,10,26,.55) 38%, rgba(10,10,26,0) 66%), linear-gradient(0deg, rgba(10,10,26,.5), rgba(10,10,26,0) 45%); }
.gf .show-palco .faixa-cine { z-index: 2; height: var(--barra); background: #08080f; }
.gf .show-palco.troca .faixa-cine { animation: gf-sp-bars 1.5s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes gf-sp-bars { from { height: 50%; } to { height: var(--barra); } }
.gf .show-palco.troca .sp-midia > * { animation: gf-tp-in 1.8s var(--ease-cine) both; }
.gf .sp-temas { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); overflow: hidden; }
.gf .sp-temas-linha { display: flex; width: max-content; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.gf .sp-hud { position: absolute; z-index: 3; left: 28px; right: 28px; top: calc(var(--barra) + 16px); display: flex; justify-content: flex-start; gap: 28px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gf .sp-marca { display: inline-flex; align-items: center; gap: 8px; }
.gf .sp-marca .ponto, .gf .hx-ep .ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--tom); animation: gf-r-blink 1.6s steps(2) infinite; }
.gf .sp-tc { display: inline-flex; gap: 16px; color: rgba(255,255,255,.8); }
.gf .sp-extra-hud { position: absolute; z-index: 3; right: 28px; top: calc(var(--barra) + 52px); }
.gf .hx-rota { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gf .hx-rota i { position: relative; width: 120px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 6px, transparent 6px 12px); }
.gf .hx-rota i::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--tom); animation: gf-hx-viagem 4s var(--ease-cine) infinite; }
@keyframes gf-hx-viagem { 0% { left: 0; } 70%, 100% { left: calc(100% - 10px); } }
.gf .hx-prof { display: flex; gap: 10px; align-items: stretch; height: 230px; }
.gf .hx-prof > span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.gf .hx-regua { position: relative; width: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.gf .hx-regua i { display: block; height: 2px; width: 12px; background: rgba(255,255,255,.55); }
.gf .hx-regua i:nth-child(5n+1) { width: 24px; background: #fff; }
.gf .hx-regua b { position: absolute; left: -6px; top: 0; width: 0; height: 0; border: 6px solid transparent; border-left-color: var(--tom); animation: gf-hx-desce 14s linear infinite; }
@keyframes gf-hx-desce { from { top: 0; } to { top: calc(100% - 12px); } }
.gf .hx-ep { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.gf .sp-conteudo { position: absolute; z-index: 4; left: 48px; bottom: calc(var(--barra) + 34px); max-width: 640px; }
.gf .sp-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.gf .sp-selo { padding: 5px 12px; border-radius: 999px; background: var(--tom); color: var(--tinta); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.gf .sp-titulo { font-family: var(--f-display); font-weight: 900; font-size: 92px; line-height: .9; letter-spacing: -.05em; }
.gf .sp-titulo span { display: block; }
.gf .sp-titulo.l3 { font-size: 72px; }
.gf .sp-titulo .vaz { color: transparent; -webkit-text-stroke: 2px #fff; }
.gf .show-palco.troca .sp-titulo span { animation: gf-sp-sobe 1.1s var(--ease-cine) both; animation-delay: calc(.25s + var(--d)); }
.gf .show-palco.troca .sp-kicker, .gf .show-palco.troca .sp-logline, .gf .show-palco.troca .sp-meta, .gf .show-palco.troca .sp-yam, .gf .show-palco.troca .sp-acoes { animation: gf-sp-sobe 1s var(--ease-cine) .55s both; }
@keyframes gf-sp-sobe { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.gf .sp-logline { font-size: 18px; color: rgba(255,255,255,.88); max-width: 46ch; margin: 18px 0 14px; }
.gf .sp-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gf .sp-meta li { padding: 6px 12px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 13px; font-weight: 700; }
.gf .sp-yam { margin-top: 14px; padding-left: 12px; border-left: 3px solid var(--tom); font-size: 14px; color: rgba(255,255,255,.9); }
.gf .sp-yam span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 3px; }
.gf .sp-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.gf .sp-play { color: var(--tinta); }
.gf .sp-play:hover { color: var(--tinta); }
.gf .sp-dur { font-weight: 500; color: var(--tinta-3); }
.gf .sp-cartas { position: absolute; z-index: 4; right: 44px; bottom: calc(var(--barra) + 40px); width: 330px; height: 330px; pointer-events: none; }
.gf .sp-carta { position: absolute; width: 210px; aspect-ratio: 16 / 10; object-fit: cover; border: 5px solid #fff; border-radius: 14px; box-shadow: 0 30px 50px -18px rgba(0,0,0,.7); }
.gf .sp-carta[style*="--k:0"] { right: 0; bottom: 0; --r: -4deg; }
.gf .sp-carta[style*="--k:1"] { right: 110px; bottom: 105px; --r: 5deg; }
.gf .sp-carta[style*="--k:2"] { right: 10px; bottom: 215px; --r: -2deg; }
.gf .sp-carta { transform: rotate(var(--r)); }
.gf .show-palco.troca .gf .sp-carta { animation: gf-sp-carta 1.1s var(--ease-mola) both; animation-delay: calc(.6s + var(--k) * .14s); }
@keyframes gf-sp-carta { from { opacity: 0; transform: translateY(80px) rotate(0deg) scale(.85); } to { opacity: 1; transform: rotate(var(--r)); } }
.gf .v-adriana-santana .gf .sp-carta { filter: saturate(1.05); }
.gf .show-extras { margin-top: 26px; display: grid; gap: 26px; }
.gf .show-extras.com-eps { grid-template-columns: 7fr 5fr; }
.gf .ex-eps-lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gf .ex-ep, .gf .ex-cena { position: relative; display: block; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--tinta); cursor: pointer; animation: gf-pf-in .8s var(--ease-cine) both; animation-delay: calc(var(--k) * .08s); }
.gf .ex-ep-capa { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--tinta); }
.gf .ex-ep-capa img, .gf .ex-cena img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-cine); }
.gf .ex-ep:hover img, .gf .ex-cena:hover img { transform: scale(1.07); }
.gf .ex-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--tinta); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease-mola); }
.gf .ex-ep:hover .ex-play { transform: scale(1.15); }
.gf .ex-ep-txt { display: block; padding: 10px 2px 0; }
.gf .ex-ep-txt strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.gf .ex-ep-txt small { font-size: 13px; color: var(--tinta-3); }
.gf .ex-cenas-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gf .com-eps .ex-cenas-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gf .ex-cena { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--tinta); }
.gf .ex-leg { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 11px; font-weight: 700; }
.gf .ex-ep:focus-visible, .gf .ex-cena:focus-visible, .gf .show-aba:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.gf .metodo-linha { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 64px; }
.gf .metodo-linha span { font-family: var(--f-display); font-weight: 900; font-size: 30px; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--tinta); transition: color 1s var(--ease-cine); }
.gf .metodo-linha.visto span, .gf:not(.gf-js) .metodo-linha span { color: var(--tinta); }
.gf .metodo-linha span:nth-child(2) { transition-delay: .3s; }
.gf .metodo-linha span:nth-child(3) { transition-delay: .6s; }
.gf .metodo-linha span:nth-child(4) { transition-delay: .9s; }
@media (max-width: 1180px) {
.gf .sp-titulo, .gf .sp-titulo.l3 { font-size: 64px; }
.gf .sp-cartas { display: none; }
.gf .show-palco { height: 620px; }
}
@media (max-width: 900px) {
.gf .show-abas { display: flex; overflow-x: auto; gap: 10px; margin: 0 calc(var(--pad) * -1) 14px; padding: 4px var(--pad) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gf .show-abas::-webkit-scrollbar { display: none; }
.gf .show-aba { flex: 0 0 210px; scroll-snap-align: start; }
.gf .show-aba:hover { transform: none; }
.gf .show-palco { height: auto; border-radius: 22px; }
.gf .sp-tela { position: relative; aspect-ratio: 16 / 10; }
.gf .sp-tela::after { background: linear-gradient(0deg, rgba(10,10,26,.55), rgba(10,10,26,0) 50%); }
.gf .sp-hud { left: 14px; right: 14px; top: calc(var(--barra) + 10px); font-size: 10px; }
.gf .sp-marca { display: none; }
.gf .sp-extra-hud { right: 14px; top: auto; bottom: calc(var(--barra) + 12px); }
.gf .hx-prof { display: none; }
.gf .hx-rota i { width: 60px; }
.gf .sp-conteudo { position: static; max-width: none; padding: 22px 20px 26px; }
.gf .sp-titulo, .gf .sp-titulo.l3 { font-size: 42px; }
.gf .sp-titulo .vaz { -webkit-text-stroke-width: 1.5px; }
.gf .sp-logline { font-size: 16px; }
.gf .sp-temas-linha { font-size: 9px; }
.gf .show-extras.com-eps { grid-template-columns: 1fr; }
.gf .ex-eps-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gf .ex-ep-txt strong { font-size: 13px; }
.gf .ex-cenas-lista, .gf .com-eps .ex-cenas-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gf .ex-leg { font-size: 9px; padding: 3px 7px; }
.gf .metodo-linha { margin-top: 44px; }
.gf .metodo-linha span { font-size: 22px; }
}
@media (max-width: 1180px) {
.gf .cabeca h2 { font-size: 64px; }
}
@media (max-width: 900px) {
.gf .g12 { grid-template-columns: 1fr; }
.gf .g12 > * { grid-column: auto !important; }
.gf .cabeca h2 { font-size: 44px; }
}


/* partner-section buttons (after base .gbtn) */
.gf .btn-tinta { background: var(--tinta); color: #fff; }
.gf .btn-tinta:hover { background: #2a2a44; color: #fff; }
.gf .btn-contorno { border-color: var(--tinta); color: var(--tinta); }
.gf .btn-contorno:hover { background: var(--tinta); color: #fff; }
.gf .btn-verde { background: var(--griffo-verde); color: #fff; }
.gf .btn-verde:hover { background: #0b6038; color: #fff; }

/* ---------- fit to the Ragalhães home: same column as the Selfie block, on the same paper ---------- */
.sx-b4:has(+ #griffo) .b4-out { display: none; }
#griffo { background: #F7F2EF; }
#griffo .gf-in, #griffo .gf-out-top { display: none; }
#griffo .programas { max-width: 1360px; margin: 0 auto; padding: clamp(8px, 2vw, 24px) clamp(16px, 4vw, 48px) clamp(64px, 7vw, 100px); }
#griffo .gf-top { max-width: none; }
#griffo .cabeca { margin-top: clamp(40px, 5vw, 64px); }
#griffo .cabeca h2 { font-size: clamp(40px, 5.4vw, 76px); }
#griffo .show-palco { height: clamp(580px, 47vw, 660px); }
#griffo .sp-titulo { font-size: clamp(56px, 5.6vw, 80px); }
#griffo .sp-titulo.l3 { font-size: clamp(46px, 4.2vw, 60px); }
#griffo .sp-conteudo { left: 44px; max-width: 580px; }
/* closing line, same rhythm as the Selfie block: rule, words, note + buttons */
#griffo .metodo-linha { margin-top: clamp(48px, 6vw, 72px); padding-top: 26px; border-top: 2px solid var(--tinta); justify-content: flex-start; gap: 6px clamp(18px, 2.4vw, 34px); }
#griffo .metodo-linha span { font-size: clamp(24px, 3vw, 40px); }
#griffo .gf-fim { max-width: none; margin-top: clamp(36px, 4.5vw, 56px); justify-content: space-between; gap: 20px; }
#griffo .gf-fim .prog-nota { margin: 0; max-width: 52ch; }
#griffo .gf-fim-bts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1180px) { #griffo .sp-titulo, #griffo .sp-titulo.l3 { font-size: 56px; } }
@media (max-width: 900px) {
  #griffo .show-palco { height: auto; }
  #griffo .sp-titulo, #griffo .sp-titulo.l3 { font-size: 42px; }
  #griffo .sp-conteudo { max-width: none; }
  #griffo .metodo-linha { justify-content: flex-start; gap: 6px 18px; }
  #griffo .gf-fim-bts { width: 100%; }
  #griffo .gf-fim-bts .gbtn { flex: 1 1 100%; }
}

/* partner bar, same scale as the Selfie bar: small mark on the left, mono line on the right */
#griffo .gf-top { padding: 26px 0; border-bottom: 1px solid rgba(17,17,34,.14); }
#griffo .gf-marca { gap: 10px; }
#griffo .gf-marca img { width: auto; height: 44px; }
#griffo .gf-marca span { font-size: 24px; }
#griffo .gf-top .gf-label { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .72rem; font-weight: 500; letter-spacing: .1em; color: #6E6661; text-align: right;
  display: inline-flex; align-items: center; gap: 10px; }
#griffo .gf-top .gf-label b { color: var(--griffo-verde); font-weight: 500; }
#griffo .gf-flag { width: 20px; height: 14px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(17,17,34,.08); }
@media (max-width: 760px) {
  #griffo .gf-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  #griffo .gf-top .gf-label { text-align: left; }
  #griffo .gf-marca img { height: 36px; }
  #griffo .gf-marca span { font-size: 20px; }
}
