/* SECCOES INSTITUCIONAIS — derivado ESCOPADO de home.css (ver PLANO_TECNICO_20261015.md) */

#afri-seccoes {
  /* Tokens herdados da loja (/estoque/css/nivel.css) */
  --nv-bg:        #000015;
  --nv-bg-2:      #000a30;
  --nv-glass:     rgba(0, 12, 40, .82);
  --nv-glass-2:   rgba(0, 20, 60, .58);
  --nv-line:      rgba(0, 64, 224, .20);
  --nv-line-2:    rgba(0, 64, 224, .34);
  --nv-text:      #E0E0E0;
  --nv-muted:     #8899BB;
  --nv-bright:    #FFFFFF;
  --nv-blue:      #1A5FFF;
  --nv-blue-deep: #0040E0;
  --nv-live:      #34D399;
  --nv-gold:      #C9A24B;
  --nv-r-sm: 10px;  --nv-r: 14px;  --nv-r-lg: 18px;  --nv-r-xl: 24px;
  --nv-ease: cubic-bezier(.4, 0, .2, 1);
  --nv-tr: .22s var(--nv-ease);
  --nv-sh-card:  0 12px 32px rgba(0, 0, 0, .38);
  --nv-sh-hover: 0 22px 52px rgba(0, 0, 0, .5), 0 0 0 1px rgba(26, 95, 255, .28);
  /* Só desta página */
  --largura: 1240px;
  --goteira: 16px;

  /* ---------------------------------------------------------------------
     O FUNDO — a cura de um defeito que só uma CAPTURA apanhou (15/10/2026).

     Estas 7 seccoes foram desenhadas sobre `body { background: var(--nv-bg) }`
     — o quase-preto #000015 da homepage. A loja é `body.catalog-white`
     (#F5F7FC, CLARA). Pousadas ali sem fundo proprio, o texto ficou BRANCO
     SOBRE BRANCO: medido, 1.07:1 (minimo WCAG 4.5:1). Sete textos ilegiveis.

     O `prova_escopo` dava PASSA e tinha razao: a folha aplicava-se. Aplicar-se
     nao e' ser legivel — e' preciso medir o PAR (tinta, fundo). Foi preciso o
     `prova_contraste` para o numero aparecer.

     A cura NAO e' repintar a loja (era o risco n.º 1 do plano). E' o contentor
     trazer o seu proprio fundo: a loja fica clara, as seccoes ficam no escuro
     para que foram desenhadas. Um só sitio, e nada fora daqui muda.
     --------------------------------------------------------------------- */
  background: var(--nv-bg);
  color: var(--nv-text);
}
#afri-seccoes .seccao { padding: 40px 0; }
#afri-seccoes .seccao-cabeca { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
#afri-seccoes .seccao-cabeca h2 { margin: 4px 0 0;
  font-size: clamp(1.25rem, 4.4vw, 1.75rem);
  letter-spacing: -.02em; color: var(--nv-bright); font-weight: 800; }
#afri-seccoes .seccao-cabeca a { color: var(--nv-blue); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
#afri-seccoes .seccao-cabeca a:hover { text-decoration: underline; }
#afri-seccoes .olho { font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #4D8AFF; }
#afri-seccoes .seccao-intro { color: var(--nv-muted); margin: -8px 0 20px; font-size: 14.5px; max-width: 62ch; }
#afri-seccoes .grelha-servicos { display: grid; gap: 12px; }
#afri-seccoes .servico { padding: 20px;
  background: linear-gradient(150deg, rgba(26,95,255,.14), rgba(0,20,60,.55));
  border: 1px solid var(--nv-line-2);
  border-radius: var(--nv-r-lg);
  display: flex; flex-direction: column; gap: 10px; }
#afri-seccoes .servico-icone { font-size: 26px; line-height: 1; }
#afri-seccoes .servico h3 { margin: 0; color: var(--nv-bright); font-size: 1.1rem; font-weight: 800; }
#afri-seccoes .servico p { margin: 0; color: var(--nv-muted); font-size: 14px; line-height: 1.5; flex: 1; }
#afri-seccoes .servico .btn { align-self: flex-start; }
#afri-seccoes .faixa-campanha { background: linear-gradient(120deg, #14110e 0%, #1c1712 100%);
  border-block: 1px solid rgba(201,162,75,.28); }
#afri-seccoes .faixa-campanha .container { display: flex; flex-direction: column; gap: 14px;
  padding-block: 26px; align-items: flex-start; }
#afri-seccoes .faixa-campanha .olho { color: var(--nv-gold); }
#afri-seccoes .faixa-campanha h2 { margin: 4px 0 0; color: #F4F0E6; font-size: clamp(1.2rem, 4.2vw, 1.65rem); font-weight: 800; }
#afri-seccoes .faixa-campanha p { margin: 0; color: #A39E93; font-size: 14.5px; max-width: 60ch; }
#afri-seccoes .btn-claro { background: #F4F0E6; color: #14110e; }
#afri-seccoes .btn-claro:hover { background: #fff; }
#afri-seccoes .grelha-cartazes { display: grid; gap: 12px; }
#afri-seccoes .cartaz { position: relative; display: block;
  aspect-ratio: 16 / 9;
  max-height: 260px;
  border-radius: var(--nv-r);
  overflow: hidden;
  border: 1px solid var(--nv-line);
  background: var(--nv-bg-2);
  text-decoration: none; }
#afri-seccoes .cartaz img, #afri-seccoes .cartaz video { position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; }
#afri-seccoes .cartaz-txt { position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,21,.92)); }
#afri-seccoes .cartaz-txt h3 { margin: 0; color: var(--nv-bright); font-size: 15px; font-weight: 800; }
#afri-seccoes .cartaz-txt span { color: var(--nv-muted); font-size: 12.5px; }
#afri-seccoes .cartaz-video-botao { position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  background: rgba(0,0,21,.35);
  border: 0; cursor: pointer; width: 100%; height: 100%; }
#afri-seccoes .cartaz-video-botao span { background: var(--nv-blue); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 800; font-size: 14px; }
#afri-seccoes .grelha-prova { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
#afri-seccoes .prova-item { padding: 16px;
  background: var(--nv-glass-2);
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-r); }
#afri-seccoes .prova-item strong { display: block; color: var(--nv-bright); font-size: 14px; margin-bottom: 4px; }
#afri-seccoes .prova-item span { color: var(--nv-muted); font-size: 13px; line-height: 1.45; }
#afri-seccoes .banda-final { background: linear-gradient(135deg, var(--nv-blue-deep), var(--nv-blue));
  padding: 36px 0; }
#afri-seccoes .banda-final .container { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
#afri-seccoes .banda-final h2 { margin: 0; color: #fff; font-size: clamp(1.3rem, 4.6vw, 1.9rem); font-weight: 900; letter-spacing: -.02em; }
#afri-seccoes .banda-final p { margin: 0; color: rgba(255,255,255,.86); font-size: 15px; max-width: 58ch; }
@media (min-width: 640px) {
  #afri-seccoes .grelha-cartazes { grid-template-columns: repeat(2, 1fr); }
  #afri-seccoes .grelha-prova { grid-template-columns: repeat(4, 1fr); }
  #afri-seccoes .grelha-servicos { grid-template-columns: repeat(2, 1fr); }
  #afri-seccoes .faixa-campanha .container { flex-direction: row; align-items: center; justify-content: space-between; }
  #afri-seccoes .banda-final .container { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
  #afri-seccoes .seccao { padding: 56px 0; }
  #afri-seccoes .grelha-cartazes { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  #afri-seccoes .grelha-servicos { grid-template-columns: repeat(4, 1fr); }
}
#afri-seccoes .cartaz-video-seccao { padding-top: 0; }
#afri-seccoes .cartaz-video-caixa { margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--nv-bg-2) 0%, var(--nv-bg) 70%);
  border: 1px solid var(--nv-line-2);
  box-shadow: 0 18px 50px rgba(0,0,0,.45); }
#afri-seccoes .cartaz-video-caixa video { display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;      
  background: #000015; }
#afri-seccoes .cartaz-video-legenda { padding: 12px 16px;
  font-size: 13px;
  color: var(--nv-muted);
  border-top: 1px solid var(--nv-line);
  text-align: center; }
