/* CT Sombra Team
   Fontes: Big Shoulders Display (títulos) e Barlow (texto), ambas SIL OFL 1.1, servidas localmente.
   Fundo: canvas WebGL2 de luz (assets/js/luz.js) fixo atrás da página; sem WebGL2, .luz-css. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --noite: #0b0909;
  --giz: #ffffff;
  --sangue: #d6141f;
  --sangue-vivo: #e8222d;
  --sangue-claro: #ff6a70;
  --fumaca: #b3aca8;
  --grafite: #3b3434;
  --linha: rgba(255, 255, 255, .12);
  --vidro: rgba(16, 11, 11, .66);

  /* Lidas pelo luz.js (hex). */
  --luz-fundo: #140d0d;
  --luz-feixe: #9a8c80;
  --luz-acento: #9a0f17;

  --f-titulo: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-texto: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --largura: 74rem;
  --raio: 6px;
  --mola: cubic-bezier(.16, 1, .3, 1);
  --foco: var(--giz);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--noite);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: transparent;
  color: var(--giz);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-kerning: normal;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 900; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
strong { font-weight: 600; }
abbr[title] { text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 3px;
}

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pular {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: .75rem 1rem;
  background: var(--giz);
  color: #000;
  font-weight: 600;
}
.pular:focus { top: .75rem; }

main { overflow-x: clip; }

/* ---------- Luz ---------- */

.luz-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Sem WebGL2: refletores e palco desenhados só com gradientes. */
.luz-css body {
  background:
    radial-gradient(70% 42% at 50% 108%, rgba(214, 20, 31, .32), transparent 70%),
    linear-gradient(196deg, transparent 22%, rgba(217, 203, 189, .08) 30%, transparent 38%),
    linear-gradient(168deg, transparent 48%, rgba(217, 203, 189, .07) 56%, transparent 64%),
    linear-gradient(204deg, transparent 62%, rgba(217, 203, 189, .05) 69%, transparent 76%),
    radial-gradient(120% 80% at 50% -10%, #1e1515, var(--noite) 70%);
  background-attachment: fixed;
}

/* ---------- Vidro com borda acesa pela luz ---------- */

/* O brilho da borda aponta para a luz: --luz-angulo vem do luz.js. */
.vidro, .btn-linha { position: relative; }
.vidro {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 45%),
    var(--vidro);
  border-radius: var(--raio);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
}
.vidro::before,
.btn-linha::before,
.hero-foto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from calc(180deg - var(--luz-angulo, 180deg)),
    rgba(255, 238, 222, .75),
    rgba(255, 238, 222, .14) 55deg,
    rgba(255, 255, 255, .05) 130deg,
    rgba(214, 20, 31, .5) 180deg,
    rgba(255, 255, 255, .05) 230deg,
    rgba(255, 238, 222, .14) 305deg,
    rgba(255, 238, 222, .75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .35rem 1.4rem .45rem;
  border: 0;
  border-radius: 3px;
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: box-shadow .25s ease, background-color .25s ease;
}
.btn-principal,
.btn-topo {
  color: var(--giz);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 52%),
    var(--sangue);
  box-shadow:
    inset 0 1px 0 rgba(255, 210, 210, .45),
    inset 0 0 0 1px rgba(255, 120, 120, .3),
    0 12px 30px -12px rgba(214, 20, 31, .8);
}
.btn-principal:hover,
.btn-principal:focus-visible,
.btn-topo:hover,
.btn-topo:focus-visible {
  background-color: var(--sangue-vivo);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 220, .6),
    inset 0 0 0 1px rgba(255, 170, 170, .55),
    0 0 26px 2px rgba(232, 34, 45, .6),
    0 0 80px 10px rgba(214, 20, 31, .3);
}
.btn-linha {
  color: var(--giz);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .9);
}
.btn-linha:hover,
.btn-linha:focus-visible {
  background-color: rgba(255, 255, 255, .1);
  box-shadow: 0 0 28px 2px rgba(255, 238, 222, .2), 0 0 70px rgba(255, 238, 222, .1);
}

.link-forte {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--sangue);
  text-decoration-thickness: 3px;
  text-underline-offset: .25em;
}
.link-forte:hover { text-decoration-color: currentColor; }

/* ---------- Topo ---------- */

.topo {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem var(--gutter);
}
.marca {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-right: auto;
  text-decoration: none;
}
.marca img { width: 44px; height: 44px; border-radius: 50%; }
.marca span {
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.menu { display: none; }
/* No celular o menu some; a entrada da área do aluno continua no topo. */
.topo-area {
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  padding: .45rem .8rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28);
}
.topo-area:hover { border-color: var(--sangue-claro); }
.menu ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.menu a {
  font-weight: 600;
  text-decoration: none;
  padding: .5rem 0;
}
.menu a:hover { text-decoration: underline; text-decoration-color: var(--sangue); text-decoration-thickness: 3px; text-underline-offset: .35em; }
.btn-topo {
  min-height: 2.5rem;
  padding: .3rem .9rem .4rem;
  font-size: 1.125rem;
}

/* ---------- Abertura ---------- */

.hero {
  display: grid;
  grid-template-areas: "titulo" "foto" "texto";
  padding: 1.25rem 0 4.5rem;
}
.hero-titulo {
  grid-area: titulo;
  padding: 0 var(--gutter);
  font-family: var(--f-titulo);
  font-weight: 900;
  font-size: clamp(4.5rem, 29vw, 14rem);
  line-height: .8;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(0, 0, 0, .55);
}
.hero-titulo > span { display: block; }
.ht-ct {
  width: max-content;
  margin-bottom: .12em;
  padding: .06em .14em .1em;
  background: var(--giz);
  color: #000;
  font-size: .24em;
  line-height: 1;
  letter-spacing: .04em;
  text-shadow: none;
}
.ht-team { margin-top: .02em; }

.hero-foto {
  grid-area: foto;
  position: relative;
  margin-top: 1.25rem;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(214, 20, 31, .45);
}
.hero-foto img { width: 100%; filter: brightness(.88); }

.hero-texto { grid-area: texto; padding: 1.5rem var(--gutter) 0; max-width: 38rem; }
.hero-lead {
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: clamp(1.9rem, 7.5vw, 2.75rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.hero-texto p:not(.hero-lead) { color: #f4efec; font-size: 1.125rem; }
.hero-texto p { text-shadow: 0 0 2px rgba(0, 0, 0, .9), 0 1px 18px rgba(0, 0, 0, .9); }
.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.75rem;
}
.hero-acoes .btn-principal { flex: 1 1 100%; }

/* ---------- A faixa: o corte vermelho do escudo ---------- */

.faixa {
  position: relative;
  z-index: 2;
  width: 120%;
  margin: -2.75rem 0 -2.75rem -10%;
  padding: .45em 10% calc(.55em + 14px);
  transform: rotate(-3.5deg);
  background:
    linear-gradient(to bottom,
      var(--sangue) 0 calc(100% - 15px),
      transparent calc(100% - 15px) calc(100% - 8px),
      var(--sangue) calc(100% - 8px));
  box-shadow: 0 0 70px -10px rgba(214, 20, 31, .55);
  color: var(--giz);
  font-family: var(--f-titulo);
  font-weight: 900;
  font-size: clamp(1.9rem, 8.4vw, 5.25rem);
  line-height: .95;
  text-transform: uppercase;
  text-align: center;
}
.faixa span { display: inline-block; max-width: 16ch; }

/* ---------- Entrada 3D: uma sequência só, junto com os refletores (0 a ~2,2 s) ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* Antes do luz.js ligar a abertura, nada da cena aparece (evita o pulo). */
  .js:not(.abertura):not(.aberto) :is(.hero-titulo, .hero-foto, .hero-texto, .faixa) { opacity: 0; }

  .abertura .ht-ct     { transform-origin: 50% 0; animation: cai-ct .8s var(--mola) .1s backwards; }
  .abertura .ht-sombra { animation: surge 1.25s var(--mola) .3s backwards; }
  .abertura .ht-team   { animation: surge 1.25s var(--mola) .52s backwards; }
  .abertura .hero-foto { transform-origin: 100% 50%; animation: gira-foto 1.35s var(--mola) .65s backwards; }
  .abertura .hero-texto { animation: sobe .8s var(--mola) 1.3s backwards; }
  .abertura .faixa     { animation: corte .42s cubic-bezier(.8, 0, .2, 1) 1.75s backwards; }
}

@keyframes cai-ct {
  from { opacity: 0; transform: perspective(500px) rotateX(-100deg); }
  to   { opacity: 1; transform: perspective(500px) rotateX(0); }
}
@keyframes surge {
  from { opacity: 0; transform: perspective(800px) translate3d(0, 8%, -900px) rotateX(50deg); }
  45%  { opacity: 1; }
  to   { opacity: 1; transform: perspective(800px) translate3d(0, 0, 0) rotateX(0); }
}
@keyframes gira-foto {
  from { opacity: 0; transform: perspective(1400px) translate3d(20%, 0, -340px) rotateY(-64deg); }
  45%  { opacity: 1; }
  to   { opacity: 1; transform: perspective(1400px) translate3d(0, 0, 0) rotateY(0); }
}
@keyframes sobe {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes corte {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* ---------- Seções ---------- */

.sec { padding: clamp(4rem, 10vw, 7rem) 0; }
#modalidades { padding-top: clamp(5.5rem, 13vw, 9rem); }
.sec-grade { padding-top: clamp(3rem, 8vw, 5.5rem); }

.wrap {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.titulo-sec {
  font-family: var(--f-titulo);
  font-weight: 900;
  font-size: clamp(3.4rem, 15vw, 7.5rem);
  line-height: .82;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(0, 0, 0, .6);
  margin-bottom: 1.25rem;
}
.sec-intro {
  font-size: 1.25rem;
  line-height: 1.4;
  max-width: 34ch;
}
/* Texto solto sobre a luz (fora dos painéis): halo escuro para manter o contraste quando um feixe passa atrás. */
.sec-intro, .mods-nota, .mfc-midia figcaption, .rodape p {
  text-shadow: 0 0 2px rgba(0, 0, 0, .9), 0 1px 18px rgba(0, 0, 0, .9);
}

/* ---------- Cores das modalidades (grade + lista) ---------- */

.c-mt   { background: transparent; color: var(--giz); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.c-boxe { background: var(--grafite); color: var(--giz); }
.c-jj   { background: var(--sangue); color: var(--giz); }
.c-nogi { background: transparent; color: var(--sangue-claro); box-shadow: inset 0 0 0 2px var(--sangue); }
.c-mma  {
  background: linear-gradient(105deg, #1f1818 0 64%, var(--sangue) 64% 74%, #1f1818 74%);
  color: var(--giz);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

/* ---------- Modalidades ---------- */

.mods { margin: 2.5rem 0 0; padding: .25rem 1.25rem; list-style: none; }
.mod { padding: 1.25rem 0 1.4rem; }
.mod + .mod { border-top: 1px solid var(--linha); }
.mod h3 {
  display: flex;
  align-items: center;
  gap: .4em;
  margin-bottom: .4rem;
  font-family: var(--f-titulo);
  font-weight: 900;
  font-size: clamp(2.4rem, 10vw, 3.75rem);
  line-height: .9;
  text-transform: uppercase;
}
.chip {
  flex: none;
  width: .55em;
  height: .55em;
}
.mod p { max-width: 46ch; color: #e4dedb; }
.mods-nota { margin-top: 1.5rem; font-weight: 600; }

/* ---------- Tira de fotos ---------- */

.tira {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.tira img {
  width: 100%;
  height: clamp(10rem, 44vw, 26rem);
  object-fit: cover;
  object-position: 50% 20%;
}

/* ---------- Grade de horários ---------- */

.painel-grade { margin-top: 2rem; padding: 1rem; }

.dias {
  display: flex;
  gap: 6px;
  margin: 0 0 1rem;
}
.dias[hidden] { display: none; }
.dias button {
  position: relative;
  flex: 1 1 0;
  min-height: 3.25rem;
  padding: 0 0 .1rem;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 3px;
  background: transparent;
  color: var(--giz);
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  cursor: pointer;
}
.dias button:hover { border-color: rgba(255, 255, 255, .7); }
.dias button[aria-pressed="true"] { background: var(--giz); border-color: var(--giz); color: #000; }
.dias button.hoje::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 1.1rem;
  height: 4px;
  margin-left: -.55rem;
  background: var(--sangue);
}

.grade {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}
.grade th, .grade td { padding: 0; text-align: left; vertical-align: middle; }
.grade thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grade tbody th {
  width: 5.25rem;
  padding-right: .75rem;
  font-family: var(--f-titulo);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
}
.grade td {
  padding: .9rem 1rem 1rem;
  border-radius: 3px;
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
}
.grade td small {
  display: block;
  margin-top: .3rem;
  font-family: var(--f-texto);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .01em;
  text-transform: none;
}
.grade td.vazio { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* Com JS, no celular: um dia por vez. */
@media (max-width: 859.98px) {
  .js .grade td { display: none; }
  .js .grade[data-dia="1"] td:nth-child(2),
  .js .grade[data-dia="2"] td:nth-child(3),
  .js .grade[data-dia="3"] td:nth-child(4),
  .js .grade[data-dia="4"] td:nth-child(5),
  .js .grade[data-dia="5"] td:nth-child(6) { display: table-cell; }
  .js .grade[data-dia="1"] tbody tr:has(> td:nth-child(2).vazio),
  .js .grade[data-dia="2"] tbody tr:has(> td:nth-child(3).vazio),
  .js .grade[data-dia="3"] tbody tr:has(> td:nth-child(4).vazio),
  .js .grade[data-dia="4"] tbody tr:has(> td:nth-child(5).vazio),
  .js .grade[data-dia="5"] tbody tr:has(> td:nth-child(6).vazio) { display: none; }

  /* Sem JS: a grade empilhada, hora a hora. */
  html:not(.js) .grade,
  html:not(.js) .grade tbody,
  html:not(.js) .grade tr,
  html:not(.js) .grade th,
  html:not(.js) .grade td { display: block; width: auto; }
  html:not(.js) .grade tr { margin-bottom: 1.25rem; }
  html:not(.js) .grade tbody th { margin-bottom: .4rem; }
  html:not(.js) .grade td { margin-bottom: 4px; }
  html:not(.js) .grade td.vazio { display: none; }
  html:not(.js) .grade td::before {
    content: attr(data-d);
    display: inline-block;
    min-width: 2.75em;
    opacity: .75;
  }
}

.grade-nota { margin-top: 1.25rem; font-weight: 600; }
.grade-nota a {
  text-decoration-color: var(--sangue);
  text-decoration-thickness: 3px;
  text-underline-offset: .2em;
}

/* ---------- Head coach ---------- */

.duo { display: grid; gap: 2rem; padding: 1rem 1rem 1.75rem; }
.duo-foto { max-width: 26rem; }
.duo-foto img { width: 100%; aspect-ratio: 360 / 450; border-radius: 3px; }
.cargo {
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--fumaca);
  margin-bottom: 1.25rem;
}
.duo-texto p:not(.cargo) { max-width: 40ch; font-size: 1.125rem; }

/* ---------- Competição ---------- */

.mfc {
  display: grid;
  grid-template-areas: "texto" "arte" "midia" "interno";
  gap: 2rem;
  margin-top: 1rem;
}
.mfc-texto { grid-area: texto; padding: 1.25rem; }
.mfc-texto p:not(.sec-intro) { max-width: 40ch; }
.mfc-texto .sec-intro { text-shadow: none; }
.mfc-arte { grid-area: arte; }
.mfc-arte img { width: 100%; aspect-ratio: 640 / 316; border-radius: 3px; }
.mfc-midia {
  grid-area: midia;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mfc-midia img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; }
.mfc-midia figcaption { grid-column: 1 / -1; margin-top: .5rem; font-size: .95rem; color: #e4dedb; }

.interno {
  grid-area: interno;
  display: grid;
  grid-template-columns: minmax(7rem, 38%) 1fr;
  gap: 1.25rem;
  align-items: end;
  padding: 1rem;
}
.interno h3 {
  font-family: var(--f-titulo);
  font-weight: 900;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  line-height: .9;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.interno p { color: var(--fumaca); font-size: 1rem; }
.interno img { width: 100%; aspect-ratio: 3 / 4; border-radius: 3px; }

/* ---------- Endereço e contato ---------- */

.contato-painel { padding: 1.5rem 1.25rem; }
.endereco {
  display: block;
  font-style: normal;
  margin: 0 0 2rem;
}
.end-rua {
  display: block;
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: clamp(2.1rem, 9vw, 5rem);
  line-height: .92;
  text-transform: uppercase;
}
.nowrap { white-space: nowrap; }
.end-andar {
  display: block;
  margin-top: .75rem;
  font-size: 1.25rem;
  color: var(--fumaca);
}
.contato-acoes { display: flex; flex-wrap: wrap; gap: .75rem; }
.contato-acoes .btn { flex: 1 1 100%; }
.canais {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.canais li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--linha);
}
.canais li:last-child { border-bottom: 0; padding-bottom: 0; }
.canais span { color: var(--fumaca); }
.canais a {
  font-weight: 600;
  text-decoration-color: var(--sangue);
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}

/* ---------- Rodapé ---------- */

.rodape {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--largura) - 2 * var(--gutter));
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  color: #e4dedb;
  font-size: .95rem;
}
.rodape img { width: 64px; height: 64px; border-radius: 50%; }

/* ---------- 404 ---------- */

.erro {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding: 2rem 0 5rem;
}
.erro-numero {
  padding: 0 var(--gutter);
  font-family: var(--f-titulo);
  font-weight: 900;
  font-size: clamp(9rem, 55vw, 22rem);
  line-height: .78;
  margin: 0;
  text-shadow: 0 0 60px rgba(0, 0, 0, .6);
}
.erro-texto { padding: 2rem var(--gutter) 0; max-width: 36rem; }
.erro-texto .hero-lead { margin-bottom: 1rem; }
.erro-texto p { text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.erro-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.75rem; }
.faixa-erro { margin-top: 0; margin-bottom: 2.5rem; }

/* ================= Telas maiores ================= */

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero-acoes .btn-principal,
  .contato-acoes .btn { flex: 0 1 auto; }
  .mfc-midia figcaption { font-size: 1rem; }
  .painel-grade { padding: 1.25rem; }
}

@media (min-width: 760px) {
  .menu { display: block; }
  .topo-area { display: none; }
  .btn-topo { margin-left: 1rem; }
}

@media (min-width: 860px) {
  :root { --gutter: 2rem; }
  body { font-size: 1.125rem; }

  .dias, .dias[hidden] { display: none; }
  .painel-grade { padding: 1.5rem 1.5rem 1.75rem; }
  .grade {
    table-layout: fixed;
    border-spacing: 6px;
    margin: 0 -6px;
    width: calc(100% + 12px);
  }
  .grade thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .grade thead th {
    padding: 0 0 .5rem .1rem;
    font-family: var(--f-titulo);
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, .3);
  }
  .grade thead th:first-child { width: 6rem; }
  .grade tbody th { width: auto; font-size: 2.75rem; }
  .grade td { height: 4.25rem; padding: .7rem .8rem; font-size: 1.45rem; }
  .grade td small { font-size: .8rem; }

  .mods { padding: .5rem 2rem; }
  .mods li {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
    align-items: baseline;
    padding: 1.5rem 0;
  }
  .mod h3 { margin: 0; font-size: 4rem; }
  .mod p { font-size: 1.2rem; }

  .duo { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: center; padding: 1.5rem; }
  .duo-foto { max-width: 400px; }

  .mfc {
    grid-template-columns: 5fr 7fr;
    grid-template-areas:
      "texto arte"
      "midia interno";
    gap: 2.5rem 3rem;
    align-items: start;
  }
  .mfc-texto { padding: 1.75rem; }
  .interno { align-self: end; padding: 1.25rem; }

  .contato .titulo-sec { margin-bottom: 2.5rem; }
  .contato-painel {
    display: grid;
    grid-template-columns: 7fr 5fr;
    grid-template-areas:
      "end    canais"
      "acoes  canais";
    column-gap: 4rem;
    align-items: end;
    padding: 2.5rem;
  }
  .endereco { grid-area: end; margin: 0 0 2.25rem; }
  .contato-acoes { grid-area: acoes; gap: 1rem; }
  .canais { grid-area: canais; margin: 0; }
}

@media (min-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas:
      "titulo foto"
      "texto  foto";
    align-items: start;
    column-gap: 3rem;
    padding: 2.5rem 0 6rem calc((100vw - min(100vw, var(--largura))) / 2);
  }
  .hero-titulo { font-size: min(12.4vw, 12.5rem); padding-right: 0; }
  .hero-foto { margin-top: 0; align-self: stretch; border-radius: var(--raio) 0 0 var(--raio); }
  .hero-foto img { height: 100%; object-fit: cover; object-position: 40% 50%; border-radius: inherit; }
  .hero-texto { padding-top: 2.25rem; }

  .faixa { margin-top: -4.5rem; transform: rotate(-3deg); font-size: min(5.6vw, 6.25rem); }
  .faixa span { max-width: none; }

  .tira img { height: 28rem; }

}

/* Depois da abertura: a cena inclina de leve seguindo a luz (só com mouse). */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) and (min-width: 1000px) {
  .hero, .hero-titulo, .hero-foto { transition: transform .9s ease-out, translate .9s ease-out; }
  .aberto .hero {
    transform: perspective(1800px)
      rotateX(calc((var(--luz-y, .5) - .5) * 3deg))
      rotateY(calc((var(--luz-x, .5) - .5) * -4deg));
  }
  .aberto .hero-titulo { translate: calc((var(--luz-x, .5) - .5) * 14px) calc((var(--luz-y, .5) - .5) * 10px); }
  .aberto .hero-foto   { translate: calc((var(--luz-x, .5) - .5) * -22px) calc((var(--luz-y, .5) - .5) * -14px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
