/*
  Portefólio — direção editorial “aurora”: fundo slate profundo,
  acentes quentes discretos, textura cinematográfica. Tipografia contrastada
  (Syne nos títulos de secção, Newsreader na leitura longa).
*/

:root {
  /* Paleta slate + ouro amortecido (alternativa criativa ao cinza quente) */
  --bg: #090a0f;
  --surface: #12141d;
  --text: #f2ede5;
  --text-soft: #95919a;
  --line: #262a38;
  --line-strong: #34384a;
  /* Destaques (rótulos, traços activos): não substitui o REC do logótipo */
  --accent-highlight: #c9a86c;
  --accent: #f0ebe3;
  /* Ponto tipo “REC”; mantém-se no logótipo */
  --brand-rec: #e92732;

  --font-ui: "DM Sans", system-ui, sans-serif;
  --font-text: "Newsreader", Georgia, "Times New Roman", serif;
  --font-brand: "Syne", var(--font-ui);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-ui: 8px;
  --radius-media: 1.15rem;
  --elev-1: 0 12px 36px rgb(4 8 26 / 0.38);
  --elev-2: 0 24px 60px rgb(2 6 18 / 0.45);
  --stroke-media: 1px solid color-mix(in srgb, var(--line-strong) 72%, var(--accent-highlight) 28%);

  --space-xs: 0.35rem;
  --space-sm: 0.75rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  /* Largura útil maior; header e conteúdo partilham o mesmo eixo */
  --content-max: min(92rem, 100%);
  --header-pad-x: clamp(1.25rem, 3.5vw, 2.5rem);
  --header-h: 4.35rem;

  --bp-sm: 700px;
  --bp-md: 800px;
  --bp-lg: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
  scrollbar-gutter: stable;
}

::selection {
  background: color-mix(in srgb, var(--accent-highlight) 38%, var(--brand-rec) 18%);
  color: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-text);
  font-size: clamp(1.02rem, 0.55vw + 0.95rem, 1.13rem);
  line-height: 1.67;
  letter-spacing: 0.012em;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 12% -5%, rgb(201 168 108 / 0.08), transparent 52%),
    radial-gradient(ellipse 65% 45% at 92% 8%, rgb(44 118 154 / 0.1), transparent 48%),
    radial-gradient(ellipse 140% 90% at 50% 115%, rgb(20 26 42 / 0.55), transparent 55%),
    radial-gradient(ellipse 85% 70% at 50% 50%, transparent 42%, rgb(0 0 0 / 0.42) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: var(--header-pad-x);
  top: 0.75rem;
  z-index: 200;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-ui);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-soft);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid color-mix(in srgb, var(--accent-highlight) 55%, var(--accent));
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-highlight) 55%, var(--accent));
  outline-offset: 3px;
}

/* ——— Cabeçalho ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  min-height: 4.25rem;
  background: color-mix(in srgb, var(--bg) 78%, rgb(255 255 255 / 0));
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-soft), background 0.3s var(--ease-soft),
    backdrop-filter 0.3s var(--ease-soft);
}

.site-header.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--line) 90%, transparent);
  background: color-mix(in srgb, var(--bg) 93%, rgb(255 255 255 / 0));
}

/* Mesmo eixo horizontal que .page-shell (max-width + padding lateral) */
.site-header__inner {
  box-sizing: border-box;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--header-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: calc(4.25rem - 2rem);
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  flex-shrink: 0;
  margin-left: auto;
}

.site-header-tray {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.2vw, 0.7rem);
  flex-shrink: 0;
}

.site-header-tray .nav-lang-switch {
  display: inline-flex;
}

/* Wordmark tipográfico (substitui o logo REC / cantos) */
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  color: var(--text);
  line-height: 1;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand-mark:hover {
  opacity: 0.72;
}

.brand-mark__name {
  font-family: var(--font-text);
  font-size: clamp(1.2rem, 0.55vw + 1.05rem, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-style: normal;
}

.brand-mark__role {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
}

@media (min-width: 800px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-soft);
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.22s var(--ease-soft), border-color 0.22s var(--ease-soft);
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a.is-active {
  color: var(--text);
  border-bottom-color: color-mix(in srgb, var(--text) 35%, transparent);
}


.nav-social {
  display: none;
  align-items: center;
  gap: clamp(0.55rem, 2vw, 0.95rem);
}

@media (min-width: 800px) {
  .nav-social {
    display: flex;
  }
}

.nav-lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid color-mix(in srgb, var(--line) 70%, var(--accent-highlight) 30%);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-lang-switch--mobile {
  margin: 1.25rem 0 0.5rem;
  align-self: flex-start;
}

.nav-lang-switch__btn {
  padding: 0.3rem 0.45rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-lang-switch__btn:hover {
  color: var(--text);
}

.nav-lang-switch__btn.is-active {
  color: var(--bg);
  background: color-mix(in srgb, var(--accent-highlight) 78%, var(--text) 22%);
}

.nav-lang-switch__divider {
  width: 1px;
  flex-shrink: 0;
  background: var(--line);
}

.nav-instagram {
  display: none;
  color: var(--text-soft);
  padding: var(--space-xs);
  transition: color 0.2s ease;
}

.nav-instagram:hover {
  color: var(--text);
}

.site-header__instagram {
  display: none;
  align-items: center;
  justify-content: center;
}

@media (min-width: 800px) {
  .nav-social .nav-instagram,
  .site-header__instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs);
  }
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.nav-instagram svg {
  width: 1.375rem;
  height: auto;
}

.nav-instagram path {
  fill: currentColor;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.35rem -0.25rem -0.35rem 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 800px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.125rem;
}

.nav-toggle-lines span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Menu mobile —— */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: color-mix(in srgb, var(--bg) 94%, rgb(30 40 70 / 0));
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-soft), visibility 0.28s var(--ease-soft),
    backdrop-filter 0.28s var(--ease-soft);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.mobile-nav a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0.4rem;
  transition: color 0.2s var(--ease-soft), transform 0.2s var(--ease-soft);
}

.mobile-nav a:hover {
  color: var(--text);
  transform: translateX(4px);
}

.mobile-nav a.is-active {
  color: color-mix(in srgb, var(--accent-highlight) 82%, var(--text));
}

.mobile-close {
  position: absolute;
  top: var(--space-md);
  right: var(--header-pad-x);
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-close::before,
.mobile-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1.25rem;
  background: var(--text);
}

.mobile-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav .nav-social {
  display: flex;
  flex-wrap: nowrap;
  margin-top: var(--space-md);
}

.mobile-nav .nav-instagram {
  display: flex;
  margin-top: 0;
}

.mobile-nav .nav-instagram path {
  fill: currentColor;
}

body.nav-open {
  overflow: hidden;
}

/* Legado mobile: SVG social antigo dentro de lista */
.social-head {
  margin: 0;
}

.social-head ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-spacer {
  height: var(--header-h);
}


/* ——— Conteúdo ——— */
.site-main {
  position: relative;
}

.page-shell {
  box-sizing: border-box;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--header-pad-x);
}

.page-head {
  position: relative;
  padding: var(--space-lg) 0 var(--space-md);
  padding-left: 1.2rem;
}

.page-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: var(--space-md);
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    188deg,
    color-mix(in srgb, var(--accent-highlight) 95%, white) 0%,
    color-mix(in srgb, var(--accent-highlight) 35%, transparent) 52%,
    transparent 100%
  );
  opacity: 0.88;
  pointer-events: none;
}

.page-head__label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-highlight) 62%, var(--text-soft));
  margin: 0 0 var(--space-sm);
}

.page-head h1,
.page-head__title {
  font-family: var(--font-brand);
  font-size: clamp(1.95rem, 3vw + 0.6rem, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 var(--space-xs);
  text-wrap: balance;
}

.page-head .lede,
.page-head__lede {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 28rem;
  margin: 0;
  line-height: 1.55;
}

.page-head__lede a {
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.page-head__lede a:hover {
  color: var(--text);
  border-bottom-color: var(--text-soft);
}


/* ——— Sobre (layout tipo mockup editorial) ——— */
.about-page {
  padding-bottom: var(--space-xl);
}

.about-intro {
  padding: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.about-intro .page-head {
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.about-intro .page-head::before {
  bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.about-intro__copy a {
  border-bottom: 1px solid var(--line-strong);
}

.about-intro__copy a:hover {
  border-bottom-color: var(--accent-highlight);
  color: var(--text);
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 900px) {
  .about-intro__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: stretch;
  }
}

.about-intro__copy {
  font-family: var(--font-text);
  font-size: clamp(1.02rem, 0.35vw + 0.95rem, 1.12rem);
  line-height: 1.72;
  color: var(--text-soft);
}

.about-intro__copy p {
  margin: 0 0 1.15rem;
  text-wrap: pretty;
}

.about-intro__copy p:last-child {
  margin-bottom: 0;
}

.about-intro__portrait {
  margin: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--elev-2);
  border: var(--stroke-media);
}

.about-intro__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 44% 18%;
  display: block;
}

@media (min-width: 900px) {
  .about-intro__portrait {
    position: relative;
    /* A altura vem só do texto: a foto preenche e corta em baixo */
    height: 0;
    min-height: 100%;
    overflow: hidden;
  }

  .about-intro__portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 44% 12%;
  }
}

/* Secções seguintes: mesmo ritmo e tipografia */
.about-section {
  padding: clamp(2rem, 4.5vw, 3.25rem) 0;
  border-top: 1px solid var(--line);
}

.about-section__title {
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 1.4vw + 0.85rem, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1.15rem;
  color: var(--text);
}

.about-section__lede,
.about-section__body {
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.02rem);
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.about-section__lede--wide {
  max-width: none;
}

.about-section__body {
  margin-bottom: 0;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

@media (min-width: 700px) {
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  row-gap: 0.28rem;
  align-items: start;
  padding: 1.25rem 1.2rem;
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.service-card:last-child {
  border-bottom: 0;
}

@media (min-width: 700px) {
  .service-card {
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    border-bottom: 0;
  }
}

.service-card__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-highlight);
  margin-top: 0.2rem;
  display: block;
}

.service-card__title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}

.service-card__blurb {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

/* ——— Grelha fotografia ——— */
.project-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2vw, 1.75rem);
  padding: 0 0 var(--space-xl);
}

@media (min-width: 620px) {
  .project-covers {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .project-covers {
    grid-template-columns: repeat(4, 1fr);
  }
}

.project-cover {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.cover-image-wrap,
.cover-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cover-image::after {
  content: none;
}

.project-cover:hover .cover-image::after {
  opacity: 0;
}

.cover-image .ratio {
  display: block;
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  background: var(--line);
  border-radius: calc(var(--radius-sm) - 1px);
  overflow: hidden;
  box-shadow: 0 16px 42px rgb(2 6 20 / 0.45);
}

.cover-image .ratio img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.45s var(--ease-soft);
}

@media (hover: hover) and (pointer: fine) {
  .project-cover:hover .cover-image .ratio img {
    transform: scale(1.045);
    filter: brightness(1.04);
  }
}

.details-wrap {
  width: 100%;
}

.details,
.details-inner {
  background: transparent;
  padding: 0;
  margin: 0;
}

.project-cover .details-inner {
  padding: 0.65rem 0 0;
  text-align: left;
}

.project-cover .title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.38;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease-soft);
}

@media (hover: hover) and (pointer: fine) {
  .project-cover:hover .title {
    color: color-mix(in srgb, var(--text) 95%, rgb(235 229 217));
  }
}

.project-cover .date {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-soft);
  margin: 0.2rem 0 0;
  letter-spacing: 0.06em;
}

/* ——— Fotografia: álbuns Adobe (grelha + popup só imagens) ——— */
body.photo-album-modal-open {
  overflow: hidden;
}

.photo-album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2vw, 1.75rem);
  padding: 0 0 var(--space-xl);
}

@media (min-width: 620px) {
  .photo-album-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .photo-album-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.photo-album-tile {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  cursor: pointer;
  text-align: left;
  color: inherit;
  background: transparent;
  font: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .photo-album-tile:hover .photo-album-tile__ratio img,
  .work-card--photo:hover .photo-album-tile__ratio img {
    transform: scale(1.06);
    filter: brightness(1.04);
  }
}

.photo-album-tile:focus-visible,
.work-card--photo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.photo-album-tile__ratio {
  display: block;
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
  background: var(--line);
  border: var(--stroke-media);
  border-radius: var(--radius-media);
  box-shadow: var(--elev-1);
}

.photo-album-tile__ratio--empty {
  background: linear-gradient(145deg, var(--surface) 0%, var(--line) 100%);
}

.photo-album-tile__ratio img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out), filter 0.4s var(--ease-soft);
}

.photo-album-tile__meta {
  padding: 0.65rem 0 0;
}

.photo-album-tile__title {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.38;
  color: var(--text);
}

.photo-album-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2.5vw, 1rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.photo-album-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.photo-album-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(4 6 16 / 0.78);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.photo-album-modal__sheet {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(94vh, 960px);
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--surface) 97%, rgb(230 210 170 / 0));
  border: 1px solid color-mix(in srgb, var(--line-strong) 55%, var(--accent-highlight) 45%);
  border-radius: var(--radius-media);
  box-shadow: var(--elev-2), 0 0 80px color-mix(in srgb, var(--accent-highlight) 8%, transparent),
    0 0 0 1px rgb(255 255 255 / 0.04);
  z-index: 1;
}

.photo-album-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--line);
}

.photo-album-modal__heading {
  font-family: var(--font-brand);
  font-size: clamp(1.05rem, 0.8vw + 0.85rem, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  padding-top: 0.1rem;
  color: var(--text);
}

.photo-album-modal__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: -0.2rem -0.2rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.15s ease;
}

.photo-album-modal__close:hover {
  color: var(--text);
}

.photo-album-modal__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.photo-album-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #05060b;
}

.photo-album-modal__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: min(52vh, 30rem);
  display: grid;
  place-items: center;
  padding: 0.85rem 3.25rem 0.55rem;
}

.photo-album-modal__figure {
  margin: 0;
  max-width: 100%;
  max-height: min(62vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-album-modal__figure img,
.js-photo-stage-img {
  display: block;
  max-width: 100%;
  max-height: min(62vh, 680px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.photo-album-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line-strong) 70%, transparent);
  border-radius: 50%;
  background: rgb(9 10 15 / 0.55);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.photo-album-modal__nav:hover {
  background: rgb(9 10 15 / 0.85);
  border-color: color-mix(in srgb, var(--accent-highlight) 55%, var(--line-strong));
}

.photo-album-modal__nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.photo-album-modal__nav--prev {
  left: 0.55rem;
}

.photo-album-modal__nav--next {
  right: 0.55rem;
}

.photo-album-modal__nav svg {
  width: 1rem;
  height: 1rem;
}

.photo-album-modal__thumbs {
  flex-shrink: 0;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0.95rem 0.95rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--surface) 72%, #05060b);
}

.photo-album-modal__thumbs:empty {
  display: none;
}

.photo-album-modal__thumb {
  flex: 0 0 auto;
  width: 5.1rem;
  height: 3.55rem;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 5px;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.photo-album-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-album-modal__thumb:hover {
  opacity: 0.9;
}

.photo-album-modal__thumb.is-active {
  opacity: 1;
  border-color: color-mix(in srgb, var(--accent-highlight) 80%, white);
  transform: translateY(-1px);
}

.photo-album-modal__foot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.photo-album-modal__counter {
  color: var(--text-soft);
}

.photo-album-modal__external {
  color: var(--text-soft);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.photo-album-modal__external[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .photo-album-modal__stage {
    padding: 0.5rem 2.6rem;
    min-height: min(42vh, 22rem);
  }

  .photo-album-modal__figure,
  .photo-album-modal__figure img,
  .js-photo-stage-img {
    max-height: min(46vh, 420px);
  }

  .photo-album-modal__thumb {
    width: 4.1rem;
    height: 2.9rem;
  }
}

/* ——— Vídeo ——— */
.video-embed-file-hint {
  margin: 0 auto 1.5rem;
  max-width: 40rem;
  padding: 0.9rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-soft);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 55%, var(--accent-highlight) 45%);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgb(4 8 22 / 0.35);
}

.video-embed-file-hint code {
  font-size: 0.85em;
  color: var(--text);
}

.video-embed-file-hint a {
  color: var(--text-soft);
  border-bottom: 1px solid var(--line-strong);
}

.video-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: var(--space-xl);
}

.video-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 860px) {
  .video-row {
    grid-template-columns: repeat(2, minmax(0, 36rem));
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.video-item {
  margin: 0 auto;
  width: 100%;
  max-width: 36rem;
}

.video-aspect {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: var(--surface);
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: var(--elev-1);
  border: var(--stroke-media);
}

.video-aspect iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-item .caption {
  margin: 0.75rem auto 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--text-soft);
  text-align: center;
  max-width: 32rem;
}

.video-item .caption p {
  margin: 0;
}

/* ——— Contacto ——— */
.contact-block {
  max-width: 28rem;
  padding: var(--space-md) 0 var(--space-xl);
}

.contact-intro p {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.contact-intro a {
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.contact-intro a:hover {
  border-bottom-color: var(--text);
  color: var(--text-soft);
}

.contact-intro {
  margin-bottom: var(--space-lg);
}

.contact-form-wrap {
  margin-top: var(--space-md);
}

.contact-form label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.45;
  border: 1px solid color-mix(in srgb, var(--line-strong) 92%, transparent);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.95rem;
  background: color-mix(in srgb, var(--surface) 92%, rgb(255 255 255 / 0));
  color: var(--text);
  margin-bottom: 1.25rem;
  outline: none;
  transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: color-mix(in srgb, var(--accent-highlight) 42%, var(--text-soft));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-highlight) 12%, transparent);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.75;
}

.contact-form .submit-button,
.contact-form .btn {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-ui);
  border: 1px solid color-mix(in srgb, var(--accent-highlight) 55%, var(--line-strong));
  background: color-mix(in srgb, var(--accent-highlight) 18%, transparent);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s var(--ease-soft), color 0.2s var(--ease-soft),
    transform 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft),
    border-color 0.2s var(--ease-soft);
}

.contact-form .submit-button:hover,
.contact-form .btn--primary:hover {
  background: color-mix(in srgb, var(--accent-highlight) 30%, transparent);
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent-highlight) 85%, white);
  transform: translateY(-1px);
}

.contact-form .submit-button:active,
.contact-form .btn--primary:active {
  transform: translateY(0);
}

.contact-form__note {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0 0 0.85rem;
  max-width: 36rem;
}

.form-sent {
  display: none;
  font-family: var(--font-text);
  font-size: 1.125rem;
  color: var(--text-soft);
  padding-top: var(--space-sm);
}

.form-sent:focus {
  outline: 2px solid color-mix(in srgb, var(--accent-highlight) 55%, var(--accent));
  outline-offset: 3px;
}

.contact-form-wrap.is-sent .contact-form {
  display: none;
}

.contact-form-wrap.is-sent .form-sent {
  display: block;
}

/* ——— Rodapé ——— */
.site-footer {
  box-sizing: border-box;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: var(--space-md) var(--header-pad-x) var(--space-lg);
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.site-footer__copy {
  margin: 0;
}

.site-footer-inner a {
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease-soft), text-decoration-color 0.2s var(--ease-soft);
}

.site-footer-inner a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent-highlight) 55%, var(--text-soft));
}

.back-top {
  position: fixed;
  right: var(--header-pad-x);
  bottom: 1.5rem;
  z-index: 90;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent-highlight) 42%, var(--line-strong));
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, rgb(200 175 110 / 0));
  box-shadow: 0 14px 40px rgb(4 10 28 / 0.45), 0 0 0 1px rgb(255 255 255 / 0.05);
  transition: border-color 0.22s var(--ease-soft), transform 0.22s var(--ease-soft),
    box-shadow 0.22s var(--ease-soft);
}

.back-top:hover {
  border-color: color-mix(in srgb, var(--accent-highlight) 75%, white);
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgb(4 12 32 / 0.5), 0 0 28px color-mix(in srgb, var(--accent-highlight) 12%, transparent);
}

.back-top svg {
  width: 14px;
  height: 14px;
}

.back-top svg path {
  fill: var(--text);
}


/* ——— Esboço briefing: Home, filtros, cartões, facade ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-hero {
  position: relative;
  min-height: clamp(17rem, 46vh, 26rem);
  display: grid;
  align-items: center;
  margin: 0 calc(-1 * var(--header-pad-x));
  padding: clamp(1.35rem, 3.2vw, 2.15rem) var(--header-pad-x) clamp(1.1rem, 2.6vw, 1.75rem);
  overflow: hidden;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 92% 0%;
  transform: scale(1.02);
  animation: hero-settle 1.4s var(--ease-out) both;
}

.home-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgb(9 10 15 / 0.82) 0%,
      rgb(9 10 15 / 0.48) 36%,
      rgb(9 10 15 / 0.18) 58%,
      rgb(9 10 15 / 0.42) 100%
    ),
    linear-gradient(180deg, rgb(9 10 15 / 0.12) 0%, rgb(9 10 15 / 0.35) 58%, var(--bg) 100%);
}

.home-hero__inner {
  max-width: 36rem;
  position: relative;
  z-index: 2;
  animation: hero-copy-in 0.9s var(--ease-out) 0.15s both;
}

@keyframes hero-settle {
  from {
    transform: scale(1.06);
    opacity: 0.72;
  }
  to {
    transform: scale(1.02);
    opacity: 1;
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.home-hero__role {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-highlight) 62%, var(--text-soft));
  margin: 0 0 0.55rem;
}

.home-hero__name {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw + 0.45rem, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.65rem;
  text-wrap: balance;
}

.home-hero__tagline {
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
  line-height: 1.5;
  color: color-mix(in srgb, var(--text) 82%, var(--text-soft));
  max-width: 28rem;
  margin: 0 0 1.15rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-ui);
  border: 1px solid color-mix(in srgb, var(--accent-highlight) 55%, var(--line-strong));
  cursor: pointer;
  transition: background 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft),
    color 0.2s var(--ease-soft), transform 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}

.btn--primary {
  background: color-mix(in srgb, var(--accent-highlight) 18%, transparent);
  color: var(--text);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--accent-highlight) 30%, transparent);
  border-color: color-mix(in srgb, var(--accent-highlight) 85%, white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent-highlight) 55%, var(--line-strong));
}

.btn--ghost:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--accent-highlight) 14%, transparent);
  border-color: color-mix(in srgb, var(--accent-highlight) 85%, white);
  transform: translateY(-1px);
}

.home-hero__actions .btn--ghost {
  min-width: 9.5rem;
}

.home-section {
  padding: clamp(2rem, 4.5vw, 3.25rem) 0;
  border-top: 1px solid var(--line);
}

.home-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.home-section__intro {
  min-width: 0;
}

.home-section__label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-highlight) 62%, var(--text-soft));
  margin: 0 0 0.55rem;
}

.home-section__title {
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 1.4vw + 0.85rem, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}

.home-section__link {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 0.2rem;
}

.home-section__link:hover {
  color: var(--text);
  border-bottom-color: var(--accent-highlight);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.page-video .work-grid {
  padding-bottom: var(--space-xl);
}

@media (min-width: 700px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Home: vídeos 2×2 (mais largos); fotos 4 numa fila, mais verticais */
.work-grid--home-videos {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .work-grid--home-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.work-grid--home-photos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

@media (min-width: 900px) {
  .work-grid--home-photos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.work-grid--home-photos .photo-album-tile__ratio {
  padding-bottom: 130%;
}

.page-home .video-aspect,
.page-home .photo-album-tile__ratio {
  border-radius: var(--radius-media);
}

.work-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  width: 100%;
}

button.work-card {
  cursor: pointer;
}

.work-card__body {
  padding: 0.7rem 0 0;
}

.work-card__title {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  color: var(--text);
}

.work-card__title a {
  border-bottom: 1px solid transparent;
}

.work-card__title a:hover {
  border-bottom-color: var(--accent-highlight);
}

.work-card__meta {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-soft);
  margin: 0.35rem 0 0;
  letter-spacing: 0.04em;
}

.work-card__meta--muted {
  font-style: italic;
  opacity: 0.85;
}

.work-card__episodes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.episode-chip {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.episode-chip:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent-highlight) 45%, var(--line-strong));
}

.episode-chip.is-active {
  color: var(--bg);
  background: color-mix(in srgb, var(--accent-highlight) 82%, var(--text) 18%);
  border-color: transparent;
}

.work-card--placeholder .photo-album-tile__ratio--empty {
  border: 1px dashed color-mix(in srgb, var(--line-strong) 70%, var(--accent-highlight) 30%);
}

.home-about-teaser .prose-short {
  max-width: 40rem;
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.05rem);
  line-height: 1.7;
  color: var(--text-soft);
}

.home-cta .home-section__intro {
  margin-bottom: 0.85rem;
}

.home-cta p {
  margin: 0 0 1.25rem;
  max-width: 32rem;
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.02rem);
  line-height: 1.65;
  color: var(--text-soft);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
}

.filter-chip {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.filter-chip:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent-highlight) 45%, var(--line-strong));
}

.filter-chip.is-active {
  color: var(--bg);
  background: color-mix(in srgb, var(--accent-highlight) 82%, var(--text) 18%);
  border-color: transparent;
}

.filter-empty {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0.5rem 0 0;
  grid-column: 1 / -1;
}

.video-facade {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
}

.video-facade img {
  --yt-crop: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
  opacity: 0.92;
  transform: scale(var(--yt-crop));
  transition: opacity 0.25s ease, transform 0.65s var(--ease-out);
}

/* --yt-crop é definido em JS conforme a altura real das barras */

@media (hover: hover) and (pointer: fine) {
  .video-facade:hover img {
    opacity: 1;
    transform: scale(calc(var(--yt-crop) * 1.05));
  }

  .video-facade:hover .video-facade__play {
    transform: scale(1.06);
    border-color: rgb(255 255 255 / 0.75);
    background: rgb(0 0 0 / 0.55);
  }
}

.video-facade__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.1rem;
  height: 3.1rem;
  margin: -1.55rem 0 0 -1.55rem;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.55);
  background: rgb(0 0 0 / 0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease-out), border-color 0.25s ease, background 0.25s ease;
}

.video-facade__play::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.75rem;
  border-color: transparent transparent transparent var(--text);
}

.client-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

@media (min-width: 800px) {
  .client-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.client-group {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  row-gap: 0.85rem;
  align-items: start;
  padding: 1.25rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.client-group:last-child {
  border-bottom: 0;
}

@media (min-width: 800px) {
  .client-group {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .client-group:last-child {
    border-right: 0;
  }
}

.client-group__icon {
  grid-column: 1;
  grid-row: 1;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-highlight);
  margin-top: 0.05rem;
  display: block;
}

.client-group__title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-highlight) 78%, var(--text-soft));
  margin: 0;
  line-height: 1.35;
  padding-top: 0.15rem;
}

.client-group__list {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-soft);
}

.client-group__list li {
  margin: 0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: var(--space-lg);
}

.contact-links a {
  border-bottom: 1px solid var(--line-strong);
  align-self: flex-start;
}

.contact-links a:hover {
  border-bottom-color: var(--text);
}

.sketch-note {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  opacity: 0.8;
  margin: 0 0 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-hero__img,
  .home-hero__inner {
    animation: none !important;
  }

  .cover-image .ratio img,
  .photo-album-tile__ratio img,
  .video-facade img,
  .btn,
  .btn--ghost,
  .btn--primary,
  .contact-form .submit-button,
  .photo-album-modal,
  .mobile-nav {
    transition-duration: 0.01ms !important;
  }

  .project-cover:hover .cover-image .ratio img,
  .photo-album-tile:hover .photo-album-tile__ratio img,
  .work-card--photo:hover .photo-album-tile__ratio img,
  .video-facade:hover img,
  .video-facade:hover .video-facade__play,
  .btn:hover,
  .btn--ghost:hover,
  .btn--primary:hover {
    transform: none;
    filter: none;
  }

  .mobile-nav a:hover {
    transform: none;
  }

  .contact-form .submit-button:hover,
  .contact-form .submit-button:active,
  .btn--primary:hover {
    transform: none;
    box-shadow: none;
  }

  .back-top:hover {
    transform: none;
    box-shadow: 0 14px 40px rgb(4 10 28 / 0.45);
  }
}
