/* Árvore · Cronograma de eventos · Clube de Negócios MAM · rodada 5 (15/09/2026)
   Brief da cliente: Sora; branco, preto, #b49d60 (mostarda), #2b5963 (teal); fundo = foto do grupo do encontro;
   datas em mostarda; adesivo da cidade bem fraco no canto do cartão; h1 "Cronograma de eventos".
   Aba da hora + data + dia à esquerda (aprovado na rodada 4). Bodrum Sweet (Fontspring) só entra com arquivo/licença (P3). */
:root {
  --branco: #FFFFFF;
  --preto: #000000;
  --mostarda: #b49d60;
  --teal: #2b5963;
  --cinza: rgb(0 0 0 / 0.72);      /* apoio: preto a 72 % sobre branco (6,6:1) */

  --sans: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --t-titulo: clamp(1.625rem, 1.2rem + 2vw, 2.5rem);       /* 26 -> 40 */
  --t-dia: clamp(4.75rem, 3.2rem + 7vw, 7.5rem);           /* 76 -> 120 */
  --t-cidade: clamp(0.9375rem, 0.85rem + 0.4vw, 1.125rem); /* 15 -> 18 */
  --t-corpo: 0.9375rem;                                    /* 15 */
  --t-legenda: 0.875rem;                                   /* 14 */

  --coluna: 880px;
  --gutter: clamp(0.875rem, 4vw, 2rem);
  --raio: 16px;
  --aba: 3.5rem;                                           /* 56: lombada da hora */
  --altura-faixa: clamp(13.25rem, 10rem + 14vw, 18.5rem);  /* 212 -> 296 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; position: relative; isolation: isolate;
  background: var(--preto); color: var(--branco);
  font-family: var(--sans); font-size: var(--t-corpo); font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; text-wrap: pretty; }
.coluna { width: min(100% - 2 * var(--gutter), var(--coluna)); margin-inline: auto; }

/* ---------- fundo: a foto do grupo, fixa, sob um véu preto que deixa os rostos como textura ---------- */
.fundo { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.fundo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fundo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.52) 0%, rgb(0 0 0 / 0.66) 45%, rgb(0 0 0 / 0.78) 100%);
}

/* ---------- topo centralizado ---------- */
.topo { padding-block: 1.75rem 1.25rem; display: grid; justify-items: center; text-align: center; }
.topo .logo { width: clamp(170px, 44vw, 240px); margin-bottom: 1.4rem; }
.topo h1 {
  font-weight: 800; font-size: var(--t-titulo); line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase;
  margin: 0 0 0.5em; color: var(--branco); text-wrap: balance;
}
.topo .sub { font-weight: 400; font-size: 1rem; line-height: 1.5; max-width: 38ch; color: rgb(255 255 255 / 0.92); text-wrap: balance; }

/* ---------- cartões brancos ---------- */
main.coluna { padding-block: 0.5rem 1.5rem; }
.encontros { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.875rem; }
.encontro {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: var(--aba) 1fr; grid-template-areas: "aba texto";
  min-height: var(--altura-faixa);
  border-radius: var(--raio); overflow: hidden;
  background: var(--branco); color: var(--preto);
  text-decoration: none;
  box-shadow: 0 16px 34px rgb(0 0 0 / 0.45), 0 3px 8px rgb(0 0 0 / 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.encontro:hover { transform: translateY(-2px); box-shadow: 0 22px 40px rgb(0 0 0 / 0.5), 0 4px 10px rgb(0 0 0 / 0.3); }
.encontro:active { transform: translateY(1px); }
.encontro:focus-visible { outline: 3px solid var(--mostarda); outline-offset: 3px; }

/* lombada da hora: teal, texto branco lido de baixo para cima */
.aba {
  grid-area: aba; display: grid; place-items: center;
  background: var(--teal); color: var(--branco);
  font-weight: 600; font-size: var(--t-legenda); letter-spacing: 0.1em; text-transform: uppercase;
  padding-block: 0.75rem;
}
.aba > span { writing-mode: vertical-rl; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.5em; transform: rotate(180deg); }
.aba b { font-weight: 800; font-size: 1.5em; letter-spacing: 0; }
/* eventos futuros: lombada mostarda com texto preto, dia da semana em destaque, "Em breve" pequeno */
.espera .aba { background: var(--mostarda); color: var(--preto); }
.espera .aba b { font-size: 1.15em; letter-spacing: 0.04em; }
.espera .acao { color: var(--preto); text-decoration-color: var(--teal); }
.espera .acao .ico { stroke: var(--preto); }

.texto { grid-area: texto; position: relative; z-index: 1; display: grid; align-content: center; justify-items: start; gap: 0.1rem; padding: 1rem 1.1rem 1.1rem; }
.texto > span { display: block; }
.dia {
  font-weight: 800; font-size: var(--t-dia); line-height: 0.9; letter-spacing: -0.04em;
  color: var(--mostarda); margin-bottom: 0.05em; display: flex; align-items: baseline; gap: 0.12em;
}
.dia small { font-weight: 700; font-size: 0.24em; letter-spacing: 0.06em; color: var(--teal); }
.cidade { font-weight: 700; font-size: var(--t-cidade); letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.2; margin-bottom: 0.45rem; color: var(--preto); }
.local { font-weight: 600; font-size: var(--t-corpo); line-height: 1.35; max-width: 26ch; display: flex; align-items: center; gap: 0.35em; color: var(--preto); }
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nota { font-weight: 400; font-size: var(--t-legenda); line-height: 1.35; max-width: 26ch; color: var(--cinza); }
.nota .preco { white-space: nowrap; }
.acao {
  margin-top: 0.65rem; font-weight: 700; font-size: var(--t-legenda); line-height: 1.35; color: var(--teal);
  display: inline-flex; align-items: center; gap: 0.4em;
  text-decoration: underline; text-decoration-color: var(--mostarda); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.acao .ico { transition: transform 0.18s ease; }
.encontro:hover .acao { text-decoration-thickness: 3px; }
.encontro:hover .acao .ico { transform: translateX(3px); }

/* adesivo da cidade: marco em cinza dentro de um círculo com borda tracejada mostarda, bem fraco, no canto direito */
.adesivo {
  position: absolute; right: -0.9rem; bottom: -0.9rem; z-index: 0; pointer-events: none;
  width: clamp(7.5rem, 30vw, 10.5rem); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; transform: rotate(-9deg);
  border: 2px dashed var(--mostarda); padding: 0.35rem;
  opacity: 0.16;
}
.adesivo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.adesivo > span {
  position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%);
  font-weight: 800; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--preto);
  background: var(--mostarda); padding: 0.2em 0.6em; border-radius: 999px; white-space: nowrap;
}

.curadoria { margin-top: 1.5rem; font-size: var(--t-legenda); line-height: 1.5; max-width: 56ch; color: rgb(255 255 255 / 0.9); text-align: center; margin-inline: auto; }

/* ---------- assinatura ---------- */
.assinatura {
  display: grid; justify-items: center; gap: 0.7rem;
  padding: 1.5rem var(--gutter) 2rem; text-align: center;
  font-size: var(--t-legenda); line-height: 1.45; color: var(--branco);
  background: var(--teal); margin-top: 1rem;
}
.assinatura img { width: 52px; }
.assinatura .credito { display: block; font-size: 0.6875rem; line-height: 1.4; color: rgb(255 255 255 / 0.62); max-width: 60ch; }

@media (min-width: 720px) {
  :root { --aba: 4.25rem; }
  .topo { padding-block: 2.25rem 1.5rem; }
  .topo .sub { font-size: 1.125rem; }
  .encontros { gap: 1rem; }
  .texto { padding: 1.5rem 2rem; gap: 0.15rem; }
  .cidade { margin-bottom: 0.6rem; }
  .local, .nota, .acao { font-size: 1rem; }
  .aba { font-size: 1.0625rem; }
  .adesivo { right: 1.25rem; bottom: -1rem; width: 12rem; opacity: 0.14; }
  .adesivo > span { font-size: 0.875rem; }
}
@media (max-width: 360px) {
  :root { --aba: 3.25rem; }
  .texto { padding-inline: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .encontro, .acao .ico { transition: none; } }
