/* Yasmin Macadar — the link-page format shared by every page (2026-11-10): her photos as the background,
   one centred column of white rounded cards, and a closing box. Black and white stay; rounded corners and
   the soft fades over the photos are this format's, by request of the user. */

/* ---------- Tipografia: sans serif geométrica (Jost) em tudo, a pedido da usuária (2026-11-12) ---------- */

:root {
  --display: "Jost", "Futura", "Century Gothic", sans-serif;
  --text: "Jost", "Futura", "Century Gothic", sans-serif;
}
.display { font-variation-settings: normal; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- Fundo: fotos nas laterais ---------- */

.bg { position: fixed; inset: 0; height: 100lvh; z-index: -1; overflow: hidden; background: #f0f0f0; }
/* Each photo keeps its full proportion at the sides, so the figures never cross; the white studio backdrop joins them */
.bg__img { position: absolute; top: 0; width: min(52%, calc(100lvh * 0.6665)); height: 100%; object-fit: cover; }
.bg__img--a {
  left: 0; object-position: var(--pos, 50% 42%);
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 6%);
  mask-image: linear-gradient(to left, transparent 0, #000 6%);
}
.bg__img--b {
  right: 0; object-position: var(--pos, 50% 50%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%);
  mask-image: linear-gradient(to right, transparent 0, #000 24%);
}
/* Two scrims: dark at the foot for a title over the photos, then an even dim behind the cards */
.bg::before, .bg::after { content: ""; position: absolute; inset: 0; z-index: 1; transition: opacity 700ms var(--ease-soft); }
.bg::before { background: linear-gradient(to bottom, transparent 42%, rgba(10, 10, 10, 0.78) 76%, var(--black) 100%); }
.bg::after { background: rgba(10, 10, 10, 0.52); opacity: 0; }
.bg.is-scrolled::before { opacity: 0; }
.bg.is-scrolled::after { opacity: 1; }

.eco {
  width: min(100% - 2 * var(--margin), 720px);
  margin-inline: auto;
  padding-bottom: 32px;
}

/* ---------- Topo das páginas internas ---------- */

.top { padding-top: clamp(24px, 4vw, 40px); text-align: center; }
.top__back { justify-self: start; font-size: var(--step-small); }
.top__back svg { transform: scaleX(-1); }
.top__nav { display: flex; justify-content: flex-start; }
.top__kicker { margin-top: clamp(40px, 7vw, 88px); font-size: var(--step-lead); line-height: 1.3; }
.top__title {
  margin-top: 8px;
  font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.5rem); line-height: 0.98; letter-spacing: -0.015em;
}
.top__lead { margin: 18px auto 0; max-width: 36ch; font-size: var(--step-lead); line-height: 1.38; }

/* ---------- Cartões ---------- */

.cards { margin-top: clamp(16px, 3vw, 32px); display: grid; gap: clamp(20px, 3.4vw, 32px); }
.top + .cards { margin-top: clamp(40px, 6vw, 64px); }

.card {
  --muted: var(--graphite); --tone: var(--mist);
  position: relative;
  border-radius: 14px; overflow: hidden;
  background: var(--white); color: var(--black);
}
.card :focus-visible { outline-color: var(--black); }

.card__panel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 20px;
  padding: clamp(22px, 3.4vw, 32px);
}
.card__tag {
  grid-column: 1; grid-row: 1; justify-self: start;
  padding: 3px 10px; border-radius: 3px;
  background: var(--black); color: var(--white);
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
}
.card__btn {
  grid-column: 2; grid-row: 1 / span 2;
  min-height: 48px; padding: 0 20px; gap: 10px; border-radius: 4px; font-size: 0.9375rem;
}
.card__btn svg { width: 18px; height: 18px; }
/* The whole card is the link */
.card__btn::after { content: ""; position: absolute; inset: 0; }
.card__title {
  grid-column: 1; grid-row: 2; margin-top: 16px;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.875rem); line-height: 1; letter-spacing: -0.01em;
}
.card__text { grid-column: 1 / -1; margin-top: 16px; }
.card__text p + p { margin-top: 10px; }
/* Content blocks inside a card span the full width under the title */
.card__body { grid-column: 1 / -1; margin-top: 24px; }

@media (hover: hover) and (pointer: fine) {
  .card:hover .card__btn { background: var(--white); color: var(--black); }
  .card:hover .card__btn .arrow { transform: translateX(4px); }
}

/* ---------- Blocos dentro dos cartões ---------- */

/* Numbered items (formats, services) */
.items { display: grid; gap: 8px; }
.items li { padding: 18px 20px; border-radius: 8px; background: var(--mist); }
.items__n { font-size: var(--step-small); font-weight: 500; color: var(--graphite); font-variant-numeric: tabular-nums; }
.items h3 { margin-top: 6px; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); line-height: 1.05; letter-spacing: -0.005em; }
.items p { margin-top: 8px; max-width: 52ch; }

/* Empty slots waiting for videos or photos */
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.slot__frame {
  display: grid; place-items: center; aspect-ratio: 9 / 16; padding: 8px; border-radius: 8px;
  background: var(--mist); color: var(--graphite); font-size: var(--step-small); text-align: center;
}
.slots--photo .slot__frame { aspect-ratio: 4 / 5; }
.slot__label { display: block; margin-top: 10px; font-size: var(--step-small); font-weight: 500; }

/* Videos sorted by theme: chips choose the theme, one panel shows at a time */
.themes__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.themes__tabs .chip { height: 40px; padding: 0 16px; }
.themes__count { margin-left: 4px; font-variant-numeric: tabular-nums; opacity: 0.6; }
.themes__panel[hidden] { display: none; }
.themes__empty { padding: 28px 20px; border-radius: 8px; background: var(--mist); color: var(--graphite); font-size: var(--step-small); text-align: center; }
.slot__frame--video { padding: 0; overflow: hidden; background: var(--black); }
.slot__frame--video video { width: 100%; height: 100%; object-fit: cover; }

/* Figures */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stats div { padding: 18px 20px; border-radius: 8px; background: var(--mist); }
.stats dt { font-size: var(--step-small); font-weight: 500; color: var(--graphite); }
.stats dd.display { margin-top: 8px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; letter-spacing: -0.01em; }
.stats__note { margin-top: 8px; font-size: var(--step-small); color: var(--graphite); }

/* Equipment: line icons with the item name */
.gear { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gear li {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 22px 8px 18px; border-radius: 8px; background: var(--mist); text-align: center;
}
.gear__icon { width: 44px; height: 44px; margin-bottom: 8px; color: var(--black); }
.gear__name { font-size: var(--step-small); font-weight: 500; line-height: 1.2; }
.gear__model { font-size: 0.8125rem; color: var(--graphite); line-height: 1.2; }

/* Brand logos, in greyscale so the wall stays black and white */
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.logos li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 22px 12px 18px; border-radius: 8px; background: var(--mist); text-align: center;
}
.logos img { width: min(64%, 128px); height: auto; border-radius: 50%; filter: grayscale(1); }
.logos__name { font-size: var(--step-small); font-weight: 500; line-height: 1.2; }

/* Key / value rows */
.rows { display: grid; gap: 8px; }
.rows div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); column-gap: 16px; align-items: baseline;
  padding: 16px 20px; border-radius: 8px; background: var(--mist);
}
.rows dt { font-size: var(--step-small); font-weight: 500; color: var(--graphite); }
.rows dd { font-weight: 500; overflow-wrap: anywhere; }
.rows a { text-decoration: underline; }

/* Quotes */
.quotes { display: grid; gap: 8px; }
.quotes figure { padding: 20px; border-radius: 8px; background: var(--mist); }
.quotes blockquote { font-family: var(--display); font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.35; }
.quotes figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--graphite); }

/* ---------- Contatos ---------- */

.closing { margin-top: clamp(32px, 5vw, 56px); text-align: center; }
.closing__box {
  width: min(100%, 560px); margin-inline: auto; padding: clamp(24px, 3.4vw, 32px);
  border-radius: 14px; background: var(--white); color: var(--black);
}
.closing__box :focus-visible { outline-color: var(--black); }
.closing__title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); line-height: 1; letter-spacing: -0.005em; }
.closing__btns { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.closing__btns > :first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.closing__btn { width: 100%; padding-inline: 16px; gap: 10px; border-radius: 4px; }
.closing__btn svg { width: 20px; height: 20px; }
.closing__note { margin-top: 16px; font-size: var(--step-small); color: var(--graphite); }
.closing__note a { color: var(--black); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.closing__wa { margin-top: 32px; justify-content: center; gap: 12px; font-size: var(--step-body); }
.closing__wa svg { width: 26px; height: 26px; flex: none; }
.closing__legal { margin-top: 32px; font-size: var(--step-small); font-weight: 500; }
.closing__back { margin-top: 16px; justify-content: center; font-size: var(--step-small); }
.closing__back svg { transform: scaleX(-1); }

/* ---------- Phone ---------- */

@media (max-width: 760px) {
  .bg__img { width: 100%; }
  .bg__img--a { object-position: var(--pos-m, 62% 30%); -webkit-mask-image: none; mask-image: none; }
  /* Inner pages: one photo on phones */
  .bg--static .bg__img--b { display: none; }
}

@media (max-width: 560px) {
  .card__panel { grid-template-columns: minmax(0, 1fr); }
  .card__btn { grid-column: 1; grid-row: 4; margin-top: 22px; width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gear { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos img { width: min(60%, 96px); }
  .rows div { grid-template-columns: 1fr; row-gap: 4px; }
  .closing__btns { grid-template-columns: 1fr; }
  .closing__wa { align-items: center; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .bg::before, .bg::after { transition: none; }
}
