/* ==========================================================================
   ISEE · Blocos de página (vocabulário do modelo, identidade do ISEE)
   b-hero · b-numbers · b-news · b-band · b-card-grid · b-quote ·
   b-list-with-image · c-subheader · c-secnav
   ========================================================================== */

/* ---------------------------------------------------------------- capa (Início) */
.b-hero__pause {
  position: absolute; z-index: 3; right: var(--grid-margin); bottom: 2.5rem; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: transparent; color: var(--isee-mica); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px rgba(243, 239, 230, .7);
}
.b-hero__pause:hover { background: var(--isee-mica); color: var(--isee-indigo); }
.b-hero__pause .icon { width: 1.125rem; height: 1.125rem; }
.b-hero__pause [data-state="play"] { display: none; }
.b-hero__pause.is-paused [data-state="pause"] { display: none; }
.b-hero__pause.is-paused [data-state="play"] { display: block; }

/* ---------------------------------------------------------------- números */

/* ---------------------------------------------------------------- mídia (imagem inteira, sem corte) */
.c-media { margin: 0; }
.c-media img { width: 100%; height: auto; display: block; }
.c-media figcaption { margin-top: .625rem; font-size: .8125rem; line-height: 1.4; color: var(--text-soft); }
.t-indigo .c-media figcaption, .t-black .c-media figcaption { color: var(--text-onDark-soft); }
.c-media figcaption a { color: inherit; }

/* ---------------------------------------------------------------- destaque + lista lateral */
.b-news__grid { display: grid; gap: 3rem var(--grid-gutter); }
@media screen and (min-width: 60em) { .b-news__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.b-news__feature { display: block; text-decoration: none; }
.b-news__feature-title { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.025em; margin-top: 1.5rem; }
.b-news__feature:hover .b-news__feature-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.b-news__feature p { margin-top: .875rem; max-width: 40rem; }
.b-news__side { list-style: none; margin: 0; padding: 0; }
.b-news__side-item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.b-news__side-item:first-child { padding-top: 0; }
.b-news__side-item a { text-decoration: none; display: block; }
.b-news__side-title { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 500; }
.b-news__side-item a:hover .b-news__side-title { text-decoration: underline; text-underline-offset: .18em; }
.b-news__side-item p { margin-top: .5rem; font-size: 1rem; color: var(--text-soft); }
.c-meta { display: flex; flex-wrap: wrap; gap: .375rem .875rem; margin-bottom: .625rem; color: var(--isee-cobre-escuro); }
.t-indigo .c-meta, .t-black .c-meta { color: var(--isee-cobre); }

/* arte de capa para itens sem foto (editais): composição gráfica da marca */
.c-art { position: relative; aspect-ratio: 16 / 9; background: var(--isee-indigo); color: var(--isee-mica); overflow: hidden; display: flex; align-items: flex-end; padding: 1.75rem; }
.c-art svg.c-art__flux { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-art__icon { position: absolute; right: 1.75rem; top: 1.75rem; width: 3.5rem; height: 3.5rem; color: var(--isee-cobre); stroke-width: 1.25; }
.c-art__tag { position: relative; z-index: 1; }
.c-art__big { position: relative; z-index: 1; display: block; font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); font-weight: 500; letter-spacing: -.04em; line-height: .95; margin-top: .5rem; }

/* ---------------------------------------------------------------- faixa escura de chamada */
.b-band__head { display: grid; gap: 1.5rem var(--grid-gutter); align-items: center; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-onDark); }
@media screen and (min-width: 60em) { .b-band__head { grid-template-columns: 1fr 1fr; } }
.b-band__title { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.03em; }
.b-band__rows { list-style: none; margin: 0; padding: 0; }
.b-band__row { display: grid; gap: .75rem var(--grid-gutter); padding: 2rem 0; border-bottom: 1px solid var(--line-onDark); }
.b-band__row:last-child { border-bottom: 0; padding-bottom: 0; }
@media screen and (min-width: 60em) { .b-band__row { grid-template-columns: 1fr 1fr; } }
.b-band__row h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.01em; }
.b-band__row h3 a { text-decoration: none; }
.b-band__row h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.b-band__row p { color: var(--text-onDark-soft); }

/* ---------------------------------------------------------------- grade de cartões */
.b-card-grid { display: grid; gap: var(--grid-gutter); }
@media screen and (min-width: 40em) { .b-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (min-width: 60em) { .b-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-card { position: relative; display: flex; flex-direction: column; background: var(--isee-branco); color: var(--text); }
.t-black .c-card, .c-card--dark { background: var(--isee-ferrite-90); color: var(--isee-mica); }
.c-card__media { aspect-ratio: 4 / 3; background: var(--isee-indigo); overflow: hidden; display: grid; place-items: center; }
.c-card__media img { width: 100%; height: 100%; object-fit: contain; }   /* fotos já chegam em 4:3: aparecem inteiras, sem corte */
.c-card__content { flex: 1; display: flex; flex-direction: column; padding: 1.75rem 1.75rem 2rem; }
.c-card__eyebrow { color: var(--isee-cobre-escuro); margin-bottom: .75rem; }
.t-black .c-card__eyebrow, .c-card--dark .c-card__eyebrow { color: var(--isee-cobre); }
.c-card__title { font-size: 1.75rem; line-height: 1.12; letter-spacing: -.025em; }
.c-card__title a { text-decoration: none; }
.c-card__title a::after { content: ""; position: absolute; inset: 0; }   /* cartão inteiro clicável */
.c-card__text { margin-top: .875rem; font-size: 1rem; color: var(--text-soft); }
.t-black .c-card__text, .c-card--dark .c-card__text { color: var(--text-onDark-soft); }
.c-card__cta { margin-top: auto; padding-top: 2rem; }
.c-card:hover .c-cta__icon { transform: translateX(3px); }
.c-card:hover .c-card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }

/* ---------------------------------------------------------------- citação */
.b-quote { text-align: center; max-width: 58rem; margin: 0 auto; }
.b-quote__mark { width: 3.5rem; height: auto; margin: 0 auto 1.5rem; color: var(--isee-cobre); }
.b-quote blockquote p { font-size: clamp(1.625rem, 1.1rem + 1.8vw, 2.625rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.b-quote figcaption { margin-top: 1.5rem; font-size: 1rem; }
.b-quote .c-cta { margin-top: 2rem; }

/* ---------------------------------------------------------------- lista com imagem */
.b-list-with-image { display: grid; gap: 3rem var(--grid-gutter); }
@media screen and (min-width: 60em) { .b-list-with-image { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; } }
.b-list-with-image__list { list-style: none; margin: 0; padding: 0; }
.b-list-with-image__item { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.b-list-with-image__item:first-child { padding-top: 0; }
.b-list-with-image__item h3 { font-size: 1.375rem; letter-spacing: -.015em; }
.b-list-with-image__item .label { display: block; color: var(--isee-cobre-escuro); margin-bottom: .375rem; }
.c-contactline { display: flex; flex-wrap: wrap; gap: .375rem 1.25rem; margin-top: .625rem; font-size: 1rem; }
.c-contactline a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.c-contactline a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.c-contactline .icon { width: 1.05rem; height: 1.05rem; flex: none; }

/* ---------------------------------------------------------------- edições (revista) */
.c-editions { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--grid-gutter); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media screen and (min-width: 48em) { .c-editions { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.c-edition { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 1.25rem; text-decoration: none;
  background: var(--isee-indigo); color: var(--isee-mica); overflow: hidden; transition: transform var(--t-mid); }
.c-editions > li:nth-child(4n+1) .c-edition { background: var(--isee-mica); color: var(--isee-indigo); }
.c-editions > li:nth-child(4n+2) .c-edition { background: var(--isee-cobre); color: var(--isee-ferrite); }
.c-editions > li:nth-child(4n+3) .c-edition { background: var(--isee-plasma); color: var(--isee-indigo); }
.c-editions > li:nth-child(4n+4) .c-edition { background: var(--isee-ferrite); color: var(--isee-mica); }
.t-mica .c-editions > li:nth-child(4n+1) .c-edition, .t-paper .c-editions > li:nth-child(4n+1) .c-edition { background: var(--isee-indigo); color: var(--isee-mica); }
.c-edition:hover { transform: translateY(-4px); }
.c-edition__mast { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.c-edition__mast b { font-weight: 600; }
.c-edition__num { font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); font-weight: 500; letter-spacing: -.05em; line-height: .85; }
.c-edition__foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
/* com a capa da edição: a imagem inteira (proporção da página da revista) e o rótulo numa faixa escura embaixo */
.c-editions > li .c-edition--capa { padding: 0; aspect-ratio: 2312 / 2992; background: var(--isee-ferrite); color: var(--isee-branco); box-shadow: 0 1px 2px rgba(7, 13, 26, .18), 0 8px 24px -12px rgba(7, 13, 26, .45); }
.c-edition__capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-edition--capa .c-edition__foot { color: var(--isee-branco); position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .85rem .7rem; background: linear-gradient(180deg, rgba(7, 13, 26, 0), rgba(7, 13, 26, .88)); }

/* ---------------------------------------------------------------- capa das páginas internas */
.c-subheader { position: relative; min-height: clamp(26rem, 60vh, 38rem); display: flex; align-items: flex-end; overflow: hidden; background: var(--isee-ferrite); color: var(--isee-mica); }
.c-subheader__bg { position: absolute; inset: 0; }
.c-subheader__bg img { width: 100%; height: 100%; object-fit: cover; }   /* fundo decorativo */
.c-subheader__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,18,31,.55) 0%, rgba(21,18,31,.35) 40%, rgba(21,18,31,.82) 100%); }
.c-subheader--indigo { background: var(--isee-indigo); }
.c-subheader--indigo .c-subheader__bg::after { display: none; }
.c-subheader__inner { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--header-h) + 4rem); padding-bottom: 3.5rem; display: grid; gap: 1.5rem var(--grid-gutter); }
@media screen and (min-width: 60em) { .c-subheader__inner { grid-template-columns: 1fr 1fr; align-items: end; padding-bottom: 4.5rem; } }
.c-subheader__title { font-size: var(--fs-display); line-height: 1; letter-spacing: var(--track-display); font-weight: 500; }
.c-subheader__intro { font-size: var(--fs-lead); line-height: 1.3; letter-spacing: -.015em; max-width: 34rem; text-wrap: pretty; }
.c-subheader__eyebrow { display: block; color: var(--isee-cobre); margin-bottom: 1.25rem; }

/* barra de seções da página (modelo: "page-secondary-nav") */
.c-secnav { position: sticky; top: var(--header-offset, var(--header-h)); z-index: 20; background: var(--isee-papel); border-bottom: 1px solid var(--line); transition: top .35s var(--ease); }
.c-secnav__inner { display: flex; align-items: center; gap: 2rem; overflow-x: auto; scrollbar-width: none; }
.c-secnav__inner::-webkit-scrollbar { display: none; }
.c-secnav__title { flex: none; display: flex; align-items: center; gap: 1rem; padding: 1.5rem 0; font-size: .9375rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.c-secnav__title::after { content: "/"; color: var(--isee-silicio); font-weight: 400; }
.c-secnav__list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.c-secnav__list a { display: block; padding: 1.5rem 0; white-space: nowrap; text-decoration: none; font-size: .9375rem; box-shadow: inset 0 -3px 0 transparent; transition: box-shadow var(--t-fast); }
.c-secnav__list a:hover { box-shadow: inset 0 -3px 0 var(--line); }
.c-secnav__list a.is-active { box-shadow: inset 0 -3px 0 var(--isee-cobre); font-weight: 600; }

/* Peças usadas pelas seções do WordPress (vários botões, texto do editor, busca da página) */
.c-ctas { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.c-richtext > * + * { margin-top: .75em; }
.c-search--page { margin-bottom: 1rem; }
.c-searchlist { margin-top: 2.5rem; }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
