/* ==========================================================================
   TALIART STUDIO — sistema visual do site
   --------------------------------------------------------------------------
   Marca: Pérola dominante, Café para texto, Rosé Nude em detalhes,
   Taupe em legendas/bordas, Bege apenas como leve deriva de tom.
   Tipografia: Cormorant Garamond (títulos) + Montserrat (texto/UI).
   Composição: fluida e orgânica — sem caixas, sem grades duras.
   O hero (hero-tattoo.css) é intocado; tudo aqui começa após ele.
   ========================================================================== */

:root {
  --perola: #faf8f5;
  --bege: #eadccf;
  --rose: #d7b8a9;
  --taupe: #a89887;
  --cafe: #3f3731;

  /* Capítulo escuro (galeria parallax) — Café profundo em ambos os temas */
  --ink-bg: #342e29;
  --ink-text: #f5f1ea;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Tema escuro — a paleta se inverte: Café profundo como fundo, Pérola como
   texto, Rosé intacto, Bege como tinta fraca. Fotografia permanece intocada.
   O atributo data-theme é definido por um script inline no <head> (sem FOUC).
   -------------------------------------------------------------------------- */

:root[data-theme="dark"] {
  --perola: #2e2925;
  --bege: #453c35;
  --rose: #d7b8a9;
  --taupe: #8f8378;
  --cafe: #f0eae1;

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--perola);
  color: var(--cafe);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: var(--rose);
  color: var(--perola);
}

:focus-visible {
  outline: 1.5px solid var(--rose);
  outline-offset: 4px;
  border-radius: 2px;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 10vh, 8.5rem);
}

/* --------------------------------------------------------------------------
   Tipos recorrentes
   -------------------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 1.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--taupe);
}

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  text-wrap: balance;
}

.display em {
  font-style: italic;
  font-weight: 300;
}

.body-text {
  margin: 0;
  max-width: 34rem;
  color: color-mix(in srgb, var(--cafe) 88%, var(--taupe));
}

.body-text + .body-text {
  margin-top: 1.4rem;
}

/* Link discreto com sublinhado rosé que desliza */
.quiet-link {
  display: inline-block;
  margin-top: 2.2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cafe);
  padding-bottom: 0.5rem;
  background-image: linear-gradient(var(--rose), var(--rose));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 2.4rem 1px;
  transition: background-size 0.7s var(--ease-soft);
}

.quiet-link:hover,
.quiet-link:focus-visible {
  background-size: 100% 1px;
}

/* Botão pílula — eco do CTA do hero, em Café sobre Pérola */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 2.2rem;
  border: 1px solid color-mix(in srgb, var(--cafe) 55%, transparent);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cafe);
  background: transparent;
  cursor: pointer;
  transition:
    background-color 0.7s var(--ease-soft),
    color 0.7s var(--ease-soft),
    border-color 0.7s var(--ease-soft);
}

.btn-pill:hover,
.btn-pill:focus-visible {
  background: var(--cafe);
  border-color: var(--cafe);
  color: var(--perola);
}

/* Ornamento da marca — diamante de pontos (assinatura fineline) */
.ornament {
  display: block;
  margin-inline: auto;
  width: 44px;
  height: 44px;
  color: var(--taupe);
}

/* Linha vertical de pontos — motivo do dotwork ornamental */
.dot-line {
  display: block;
  margin: 0 auto;
  width: 1px;
  height: clamp(3rem, 7vh, 5rem);
  background-image: radial-gradient(circle, var(--taupe) 1px, transparent 1.4px);
  background-size: 1px 12px;
  background-repeat: repeat-y;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Navegação
   -------------------------------------------------------------------------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.5rem, 5vw, 4.5rem);
  transition:
    background-color 0.6s ease,
    box-shadow 0.6s ease;
}

.site-nav__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cafe);
  line-height: 1;
  transition: opacity 0.6s ease, color 0.6s ease;
}

.site-nav__brand small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--taupe);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cafe);
  padding-bottom: 0.4rem;
  background-image: linear-gradient(var(--rose), var(--rose));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: background-size 0.6s var(--ease-soft), color 0.6s ease;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible,
.site-nav__links a[aria-current="page"] {
  background-size: 100% 1px;
}

/* Estado sólido (após rolar, e padrão nas páginas internas) */
.site-nav.is-solid {
  background: color-mix(in srgb, var(--perola) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--taupe) 22%, transparent);
}

/* Variante sobre o hero: texto claro e wordmark oculto até rolar
   (o hero já assina "Talita · Tattoo" no canto) */
.site-nav--overlay:not(.is-solid) .site-nav__brand {
  opacity: 0;
  pointer-events: none;
}

.site-nav--overlay:not(.is-solid) .site-nav__links a {
  color: rgba(250, 246, 239, 0.85);
}

.site-nav--overlay:not(.is-solid) .nav-toggle {
  color: rgba(250, 246, 239, 0.9);
}

/* Hambúrguer — duas linhas finas */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 0.6rem 0.2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--cafe);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease-soft);
}

/* Menu mobile em tela cheia */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  background: color-mix(in srgb, var(--perola) 96%, var(--bege));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--cafe);
}

.nav-overlay a[aria-current="page"] {
  font-style: italic;
  color: color-mix(in srgb, var(--cafe) 70%, var(--rose));
}

.nav-overlay__close {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  cursor: pointer;
  padding: 0.8rem;
}

@media (max-width: 860px) {
  .site-nav__links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Cabeçalho de páginas internas
   -------------------------------------------------------------------------- */

.page-head {
  padding-top: clamp(8rem, 18vh, 12rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
}

.page-head .display {
  max-width: 18ch;
}

.page-head__intro {
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Início — apresentação da artista
   -------------------------------------------------------------------------- */

.artist {
  position: relative;
  padding-top: clamp(5rem, 12vh, 9rem);
  /* deriva sutil de tom: Pérola com um sopro de Bege à esquerda */
  background:
    radial-gradient(
      120% 90% at 8% 20%,
      color-mix(in srgb, var(--bege) 34%, var(--perola)) 0%,
      var(--perola) 55%
    );
}

.artist__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

.artist__media {
  grid-column: 1 / span 5;
  position: relative;
  /* sangra até a borda esquerda da viewport */
  margin-left: calc(50% - 50vw + 0px);
  margin-left: min(0px, calc((100vw - min(1200px, 92vw)) / -2));
}

.artist__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0 6px 6px 0;
}

.artist__body {
  grid-column: 7 / span 6;
  padding-block: clamp(2rem, 6vh, 4rem);
}

@media (max-width: 860px) {
  .artist__grid {
    display: block;
  }
  .artist__media {
    margin-left: calc(50% - 50vw);
    margin-right: 12vw;
  }
  .artist__body {
    padding-top: 3rem;
  }
}

/* --------------------------------------------------------------------------
   Galeria fluida (Início + Fineline)
   --------------------------------------------------------------------------
   Composição orgânica em 12 colunas: larguras, alturas e alinhamentos
   variados num ciclo de 6 posições — nada de grade uniforme.
   -------------------------------------------------------------------------- */

.flow-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.2rem, 3vw, 3rem);
  row-gap: clamp(2.4rem, 6vh, 5rem);
}

.flow-gallery figure {
  margin: 0;
  position: relative;
}

.flow-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Ciclo de 6 composições */
.flow-gallery figure:nth-child(6n + 1) {
  grid-column: 1 / span 5;
  aspect-ratio: 3 / 4;
}

.flow-gallery figure:nth-child(6n + 2) {
  grid-column: 8 / span 5;
  aspect-ratio: 4 / 5;
  margin-top: clamp(3rem, 9vh, 7rem);
}

.flow-gallery figure:nth-child(6n + 3) {
  grid-column: 3 / span 4;
  aspect-ratio: 4 / 5;
  margin-top: -1.5rem;
}

.flow-gallery figure:nth-child(6n + 4) {
  grid-column: 8 / span 4;
  aspect-ratio: 3 / 4;
  margin-top: clamp(2rem, 6vh, 4rem);
}

.flow-gallery figure:nth-child(6n + 5) {
  grid-column: 2 / span 5;
  aspect-ratio: 1 / 1;
}

.flow-gallery figure:nth-child(6n + 6) {
  grid-column: 8 / span 5;
  aspect-ratio: 3 / 4;
  margin-top: clamp(3rem, 8vh, 6rem);
}

@media (max-width: 860px) {
  .flow-gallery {
    column-gap: 1rem;
    row-gap: 1.8rem;
  }
  /* No mobile: duas colunas respirando, ainda desencontradas */
  .flow-gallery figure:nth-child(2n + 1) {
    grid-column: 1 / span 6;
    aspect-ratio: 3 / 4;
    margin-top: 0;
  }
  .flow-gallery figure:nth-child(2n + 2) {
    grid-column: 7 / span 6;
    aspect-ratio: 3 / 4;
    margin-top: 2.4rem;
  }
}

/* Galeria clicável (Fineline) */
.flow-gallery--clickable figure {
  cursor: pointer;
}

.flow-gallery--clickable figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: color-mix(in srgb, var(--perola) 14%, transparent);
  opacity: 0;
  transition: opacity 0.7s ease;
}

.flow-gallery--clickable figure:hover::after {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Intermezzo — citação
   -------------------------------------------------------------------------- */

.quote {
  text-align: center;
  padding-block: clamp(6rem, 16vh, 11rem);
}

.quote blockquote {
  margin: 2.2rem auto 0;
  max-width: 24ch;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.25;
  color: var(--cafe);
}

/* --------------------------------------------------------------------------
   Vitrine editorial (segundo momento de portfólio)
   -------------------------------------------------------------------------- */

.showcase {
  position: relative;
  background:
    radial-gradient(
      110% 80% at 92% 30%,
      color-mix(in srgb, var(--bege) 28%, var(--perola)) 0%,
      var(--perola) 60%
    );
}

.showcase__row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.2rem, 3vw, 3rem);
  align-items: start;
}

.showcase__row + .showcase__row {
  margin-top: clamp(3rem, 9vh, 7rem);
}

.showcase figure {
  margin: 0;
  position: relative;
}

.showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Linha 1: imagem grande com parallax + dupla sobreposta */
.showcase__main {
  grid-column: 1 / span 7;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
}

.showcase__main img {
  height: 112%;
  will-change: transform;
}

.showcase__tall {
  grid-column: 9 / span 4;
  aspect-ratio: 3 / 4;
  margin-top: clamp(4rem, 12vh, 8rem);
}

.showcase__over {
  grid-column: 7 / span 3;
  aspect-ratio: 3 / 4;
  margin-top: -14%;
  z-index: 2;
  border-radius: 6px;
  box-shadow: 0 30px 60px -35px rgba(63, 55, 49, 0.45);
}

/* Linha 2: trio desencontrado, um sangrando à direita */
.showcase__a {
  grid-column: 1 / span 4;
  aspect-ratio: 3 / 4;
  margin-top: clamp(2rem, 6vh, 4rem);
}

.showcase__b {
  grid-column: 6 / span 3;
  aspect-ratio: 4 / 5;
}

.showcase__c {
  grid-column: 10 / span 3;
  aspect-ratio: 3 / 4;
  margin-top: clamp(3rem, 8vh, 6rem);
  /* sangra até a borda direita da viewport */
  width: calc(100% + max(0px, (100vw - min(1200px, 92vw)) / 2 - 15px));
  justify-self: start;
}

.showcase__c img {
  border-radius: 6px 0 0 6px;
}

.showcase__d {
  grid-column: 3 / span 4;
  aspect-ratio: 1 / 1;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}

@media (max-width: 860px) {
  .showcase__main {
    grid-column: 1 / span 12;
  }
  .showcase__over {
    grid-column: 2 / span 5;
    margin-top: -20%;
  }
  .showcase__tall {
    grid-column: 8 / span 5;
    margin-top: -8%;
  }
  .showcase__a {
    grid-column: 1 / span 6;
  }
  .showcase__b {
    grid-column: 8 / span 5;
    margin-top: 3rem;
  }
  .showcase__c {
    grid-column: 4 / span 9;
    margin-top: 2rem;
  }
  .showcase__d {
    grid-column: 1 / span 6;
    margin-top: 2rem;
  }
}

/* --------------------------------------------------------------------------
   CTA de fechamento
   -------------------------------------------------------------------------- */

.closing {
  text-align: center;
  padding-block: clamp(6rem, 16vh, 11rem);
}

.closing .display {
  max-width: 16ch;
  margin-inline: auto;
}

.closing .btn-pill {
  margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   Sobre — composição sobreposta
   -------------------------------------------------------------------------- */

.about {
  padding-block: clamp(3rem, 8vh, 6rem);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

.about__portrait {
  grid-column: 1 / span 5;
  margin: 0;
  aspect-ratio: 3 / 4;
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 200px 200px 6px 6px; /* arco delicado no topo */
}

.about__detail {
  grid-column: 4 / span 3;
  margin: -22% 0 0;
  aspect-ratio: 3 / 4;
  z-index: 2;
  position: relative;
}

.about__detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 30px 60px -35px rgba(63, 55, 49, 0.45);
}

.about__body {
  grid-column: 7 / span 6;
  grid-row: 1;
}

.about__values {
  margin-top: 3.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
}

@media (max-width: 860px) {
  .about__grid {
    display: block;
  }
  .about__portrait {
    margin-right: 14vw;
  }
  .about__detail {
    width: 52%;
    margin: -24% 0 0 auto;
  }
  .about__body {
    padding-top: 3rem;
  }
}

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */

.contact {
  padding-bottom: clamp(5rem, 12vh, 9rem);
}

.contact__channels {
  margin-top: clamp(3rem, 8vh, 5rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 3rem;
}

.contact__primary {
  grid-column: 1 / span 6;
}

.contact__studios {
  grid-column: 8 / span 5;
  display: grid;
  gap: 2.4rem;
}

.contact__ig {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-decoration: none;
  color: var(--cafe);
  transition: color 0.6s ease;
}

.contact__ig:hover,
.contact__ig:focus-visible {
  color: color-mix(in srgb, var(--cafe) 60%, var(--rose));
}

.contact__ig svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--taupe);
}

.contact__mail {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: color-mix(in srgb, var(--cafe) 80%, var(--taupe));
  border-bottom: 1px solid color-mix(in srgb, var(--taupe) 45%, transparent);
  padding-bottom: 0.2rem;
  transition: border-color 0.6s ease;
}

.contact__mail:hover,
.contact__mail:focus-visible {
  border-color: var(--rose);
}

.studio h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.studio p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--taupe);
}

@media (max-width: 860px) {
  .contact__primary,
  .contact__studios {
    grid-column: 1 / span 12;
  }
}

/* --------------------------------------------------------------------------
   Book Here — formulário
   -------------------------------------------------------------------------- */

.book {
  max-width: 640px;
  margin-inline: auto;
  padding-bottom: clamp(5rem, 12vh, 9rem);
}

.book__form {
  margin-top: clamp(3rem, 7vh, 4.5rem);
}

.field {
  margin-bottom: 2.6rem;
}

.field label {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.1rem;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--taupe) 55%, transparent);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--cafe);
  transition: border-color 0.6s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--rose);
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23A89887' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  cursor: pointer;
}

.field input[type="file"] {
  border-bottom: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--taupe);
}

.field input[type="file"]::file-selector-button {
  margin-right: 1rem;
  padding: 0.55rem 1.4rem;
  border: 1px solid color-mix(in srgb, var(--taupe) 60%, transparent);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cafe);
  cursor: pointer;
  transition: border-color 0.6s ease;
}

.field input[type="file"]::file-selector-button:hover {
  border-color: var(--rose);
}

.field__hint {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--taupe);
}

.field__error {
  display: none;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--cafe) 55%, var(--rose));
}

.field.has-error input {
  border-bottom-color: var(--rose);
}

.field.has-error .field__error {
  display: block;
}

.book__form .btn-pill {
  margin-top: 1rem;
}

.book__success {
  display: none;
  margin-top: 3rem;
  padding: 3rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--taupe) 30%, transparent);
  text-align: center;
}

.book__success p {
  margin: 1.6rem auto 0;
  max-width: 30rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
}

.book.is-sent .book__form {
  display: none;
}

.book.is-sent .book__success {
  display: block;
}

/* --------------------------------------------------------------------------
   Lightbox (Fineline)
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(43, 36, 30, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.lightbox.is-open img {
  opacity: 1;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: rgba(250, 248, 245, 0.85);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.4s ease;
}

.lightbox button:hover {
  color: var(--rose);
}

.lightbox__close {
  top: 1.2rem;
  right: 1.4rem;
}

.lightbox__prev {
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
}

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

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--taupe) 25%, transparent);
  padding: clamp(3rem, 8vh, 5rem) 0 2.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: 2.5rem;
}

.site-footer__brand {
  grid-column: 1 / span 5;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.site-footer__brand span {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--taupe);
}

.site-footer__nav {
  grid-column: 7 / span 3;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.site-footer__nav a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: color-mix(in srgb, var(--cafe) 80%, var(--taupe));
  transition: color 0.5s ease;
}

.site-footer__nav a:hover {
  color: var(--cafe);
}

.site-footer__social {
  grid-column: 10 / span 3;
  align-content: start;
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  text-decoration: none;
  color: color-mix(in srgb, var(--cafe) 80%, var(--taupe));
  transition: color 0.5s ease;
}

.site-footer__social a:hover {
  color: var(--cafe);
}

.site-footer__social svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--taupe);
}

.site-footer__bottom {
  margin-top: 3.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  text-align: center;
}

@media (max-width: 860px) {
  .site-footer__brand,
  .site-footer__nav,
  .site-footer__social {
    grid-column: 1 / span 12;
  }
}

/* --------------------------------------------------------------------------
   Efeito 1 — Revelação suave ao rolar (fade + un-blur, com stagger)
   Referência: 21st.dev "Reveal" (asanshay), reimplementado em CSS/JS puro
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  transition:
    opacity 0.9s var(--ease-soft),
    transform 0.9s var(--ease-soft),
    filter 0.9s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform, filter;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* --------------------------------------------------------------------------
   Acessibilidade — movimento reduzido
   -------------------------------------------------------------------------- */

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .showcase__main img {
    transform: none !important;
    height: 100%;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   FASE 2 â€” novos componentes
   ========================================================================== */

/* --------------------------------------------------------------------------
   Controles na navegaÃ§Ã£o: tema + idioma
   -------------------------------------------------------------------------- */

.site-nav__controls {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 0.3rem 0.1rem;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.lang-switch button:hover,
.lang-switch button.is-active {
  opacity: 1;
}

.lang-switch button.is-active {
  border-bottom: 1px solid var(--rose);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: color 0.4s ease;
}

.theme-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
}

.theme-toggle:hover {
  color: var(--rose);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.site-nav__links,
.site-nav__controls {
  color: var(--cafe);
}

.site-nav--overlay:not(.is-solid) .site-nav__controls {
  color: rgba(250, 246, 239, 0.85);
}

.nav-overlay__controls {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  color: var(--cafe);
}

@media (max-width: 860px) {
  .site-nav__controls {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Banner "ConheÃ§a a Talita" â€” foto full-bleed + CTA de seta deslizante
   -------------------------------------------------------------------------- */

.banner {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.banner__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.banner__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      0deg,
      rgba(30, 24, 19, 0.55) 0%,
      rgba(30, 24, 19, 0.28) 45%,
      rgba(30, 24, 19, 0.12) 100%
    );
}

.banner__content {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 12vh, 7rem) 1.5rem;
}

.banner__line {
  margin: 0 0 2.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.2;
  color: #faf8f5;
  text-wrap: balance;
}

/* CTA pÃ­lula + disco com setas deslizantes (micro-interaÃ§Ã£o calma) */
.cta-arrow {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.cta-arrow__label {
  padding: 1rem 2rem;
  border-radius: 999px;
  background: var(--rose);
  color: #3f3731;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.cta-arrow__disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: var(--rose);
  color: #3f3731;
  overflow: hidden;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.cta-arrow__disc svg {
  position: absolute;
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.6s var(--ease-soft);
}

.cta-arrow__disc svg:first-child {
  transform: translate(0, 0);
}

.cta-arrow__disc svg:last-child {
  transform: translate(-2.6rem, 2.6rem);
}

.cta-arrow:hover .cta-arrow__label,
.cta-arrow:focus-visible .cta-arrow__label,
.cta-arrow:hover .cta-arrow__disc,
.cta-arrow:focus-visible .cta-arrow__disc {
  background: #3f3731;
  color: var(--rose);
}

.cta-arrow:hover .cta-arrow__disc svg:first-child,
.cta-arrow:focus-visible .cta-arrow__disc svg:first-child {
  transform: translate(2.6rem, -2.6rem);
}

.cta-arrow:hover .cta-arrow__disc svg:last-child,
.cta-arrow:focus-visible .cta-arrow__disc svg:last-child {
  transform: translate(0, 0);
}

/* --------------------------------------------------------------------------
   Depoimentos â€” "HistÃ³rias na pele"
   ref. 21st.dev TestimonialSection, re-tematizado: raio generoso,
   alturas variadas, gradiente suave
   -------------------------------------------------------------------------- */

.stories {
  text-align: center;
}

.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-top: clamp(3rem, 7vh, 4.5rem);
  align-items: start;
  text-align: left;
}

.story {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 30rem;
}

.story:nth-child(1) { min-height: 32rem; }
.story:nth-child(2) { min-height: 28rem; margin-top: 2.4rem; }
.story:nth-child(3) { min-height: 34rem; }

.story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(38, 31, 26, 0.78) 0%,
    rgba(38, 31, 26, 0.38) 42%,
    rgba(38, 31, 26, 0.05) 70%,
    transparent 100%
  );
}

.story figcaption {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  padding: 1.8rem;
  color: #faf8f5;
}

.story blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.18rem;
  line-height: 1.5;
}

.story cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.75);
}

@media (max-width: 860px) {
  .stories__grid {
    grid-template-columns: 1fr;
  }
  .story,
  .story:nth-child(n) {
    min-height: 26rem;
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Chamada para o formulÃ¡rio â€” "Sua histÃ³ria comeÃ§a no formulÃ¡rio"
   -------------------------------------------------------------------------- */

.book-cta {
  text-align: center;
  padding-block: clamp(6rem, 14vh, 10rem);
  background:
    radial-gradient(
      100% 80% at 50% 100%,
      color-mix(in srgb, var(--bege) 30%, var(--perola)) 0%,
      var(--perola) 65%
    );
}

.book-cta .display {
  max-width: 18ch;
  margin-inline: auto;
}

.book-cta .body-text {
  margin: 2.2rem auto 0;
  max-width: 38rem;
}

.book-cta .btn-pill {
  margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   Contato (fim da home) â€” mapa + canais
   -------------------------------------------------------------------------- */

.reach {
  padding-bottom: clamp(5rem, 12vh, 9rem);
}

.reach__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 2.5rem;
  margin-top: clamp(3rem, 7vh, 4.5rem);
  align-items: start;
}

.reach__map {
  grid-column: 1 / span 7;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--taupe) 40%, transparent);
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, var(--bege) 40%, var(--perola));
}

.reach__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.reach__map-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

.reach__channels {
  grid-column: 9 / span 4;
  display: grid;
  gap: 2rem;
  align-content: start;
}

.reach__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.reach__item svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.25rem;
  color: var(--taupe);
  flex-shrink: 0;
}

.reach__item a {
  display: block;
  text-decoration: none;
  color: var(--cafe);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  line-height: 1.9;
  transition: color 0.5s ease;
}

.reach__item a:hover {
  color: color-mix(in srgb, var(--cafe) 55%, var(--rose));
}

.reach__item small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.3rem;
}

@media (max-width: 860px) {
  .reach__map,
  .reach__channels {
    grid-column: 1 / span 12;
  }
}

/* --------------------------------------------------------------------------
   Lightbox â€” legenda + navegaÃ§Ã£o por toque (upgrade fase 2)
   -------------------------------------------------------------------------- */

.lightbox {
  flex-direction: column;
  gap: 1.2rem;
  touch-action: pan-y;
}

.lightbox figcaption {
  min-height: 1.4rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a89887;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Admin â€” gerenciador de fotos (PT-only, estilo mÃ­nimo da marca)
   -------------------------------------------------------------------------- */

.admin {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(7rem, 14vh, 9rem) 1.5rem 6rem;
}

.admin h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.6rem;
}

.admin__hint {
  font-size: 0.82rem;
  color: var(--taupe);
  margin: 0 0 3rem;
}

.admin__login {
  max-width: 380px;
}

.admin__status {
  margin: 1.5rem 0;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--cafe) 60%, var(--rose));
  min-height: 1.2rem;
}

.admin__list {
  display: grid;
  gap: 1.6rem;
  margin-top: 3rem;
}

.admin__row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.4rem;
  align-items: start;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid color-mix(in srgb, var(--taupe) 25%, transparent);
}

.admin__row img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.admin__row .field {
  margin-bottom: 1rem;
}

.admin__actions {
  display: grid;
  gap: 0.5rem;
}

.admin__actions button {
  border: 1px solid color-mix(in srgb, var(--taupe) 50%, transparent);
  background: transparent;
  color: var(--cafe);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.4s ease, color 0.4s ease;
}

.admin__actions button:hover {
  border-color: var(--rose);
  color: color-mix(in srgb, var(--cafe) 55%, var(--rose));
}

@media (max-width: 640px) {
  .admin__row {
    grid-template-columns: 70px 1fr;
  }
  .admin__actions {
    grid-column: 1 / -1;
    grid-auto-flow: column;
    justify-content: start;
  }
}


/* ==========================================================================
   FASE 3 — reestruturação
   Mesmo sistema de marca: Pérola dominante, Café no texto, Rosé nos
   detalhes, Taupe em legendas. Movimento lento (600–900ms, ease-soft).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero mobile em vídeo (< 768px) — o hero do desktop não é tocado:
   apenas deixa de ser exibido no mobile.
   -------------------------------------------------------------------------- */

.video-hero {
  display: none;
}

@media (max-width: 767px) {
  .liquid-hero,
  .liquid-cursor {
    display: none !important;
  }

  /* fase 5: a seção fica fixa por 250vh enquanto a rolagem avança o vídeo
     (estrutura comum em .scroll-video, mais abaixo) */
  .video-hero {
    display: block;
    height: 250vh;
  }

  /* leve véu no topo (legibilidade do menu) e na base (texto) */
  .video-hero__scrim {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(52, 46, 41, 0.38) 0%, transparent 18%),
      linear-gradient(0deg, rgba(52, 46, 41, 0.62) 0%, rgba(52, 46, 41, 0.18) 34%, transparent 52%);
  }

  .video-hero .scroll-video__overlay {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 1.5rem calc(2rem + env(safe-area-inset-bottom));
    color: #faf8f5;
  }

  .video-hero__cue {
    pointer-events: auto;
  }

  .video-hero__brand {
    margin: 0 0 0.9rem;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0.85;
  }

  .video-hero__tagline {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(2.6rem, 12vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
  }

  .video-hero__tagline em {
    font-weight: 300;
  }

  .video-hero__cue {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.6rem;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(250, 248, 245, 0.8);
  }

  .video-hero__cue::before {
    content: "";
    width: 1px;
    height: 1.6rem;
    background: currentColor;
    opacity: 0.6;
  }

  /* o restante da página desliza por cima do vídeo */
  .home-main {
    position: relative;
    z-index: 2;
    background: var(--perola);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -24px 48px -28px rgba(52, 46, 41, 0.45);
  }

  .home-main ~ .site-footer {
    position: relative;
    z-index: 2;
    background: var(--perola);
  }
}

/* --------------------------------------------------------------------------
   2.1 Trabalhos selecionados — FlexCarousel
   -------------------------------------------------------------------------- */

.works {
  padding-top: clamp(4.5rem, 10vh, 8rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
}

.works__head {
  text-align: center;
}

.works__head .eyebrow {
  margin-bottom: 0;
}

.works__stage {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
}

.works__hint {
  margin: 0.4rem 0 0;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--taupe) 80%, transparent);
}

@media (max-width: 767px) {
  .works__stage {
    height: 60vh;
    min-height: 360px;
  }
}

.flex-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  /* clip (e não hidden): não vira um contêiner de rolagem, então a roda do
     mouse sempre rola a página. Sem overscroll-behavior: contain — era ele
     que prendia a rolagem vertical ao passar o mouse sobre o carrossel. */
  overflow: hidden;
  overflow: clip;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.flex-carousel[data-hover="open"] { cursor: zoom-in; }
.flex-carousel[data-hover="close"] { cursor: zoom-out; }
.flex-carousel[data-dragging] { cursor: grabbing; }

.flex-carousel:focus-visible {
  box-shadow: inset 0 0 0 1.5px var(--rose);
  border-radius: 12px;
}

.flex-carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + var(--flex-carousel-half) * var(--flex-carousel-lift, 1) + 22px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  pointer-events: none;
  text-align: center;
  animation: flex-carousel-reveal 900ms ease both;
}

.flex-carousel__caption[hidden] {
  display: none;
}

.flex-carousel__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--cafe);
  animation: flex-carousel-title 700ms var(--ease-soft);
}

.flex-carousel__count {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--taupe);
  transition: opacity 600ms ease;
}

.flex-carousel__count[data-hidden] { opacity: 0; }
.flex-carousel__digits { display: inline-flex; }
.flex-carousel__digit { display: inline-block; height: 1em; overflow: hidden; }
.flex-carousel__reel { display: flex; flex-direction: column; transition: transform 800ms var(--ease-soft); }
.flex-carousel__reel span { height: 1em; }
.flex-carousel__slash { opacity: 0.6; margin-inline: 2px; }

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

@keyframes flex-carousel-title {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes flex-carousel-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fallback sem WebGL2 — fade suave */
.flex-carousel__stage {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--flex-carousel-half) * 2);
  top: calc(50% - var(--flex-carousel-half));
}

.flex-carousel__stage img {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: auto;
  max-width: 86%;
  object-fit: cover;
  border-radius: 10px;
  transform: translateX(-50%) scale(0.97);
  opacity: 0;
  transition: opacity 900ms var(--ease-soft), transform 900ms var(--ease-soft);
}

.flex-carousel__stage img.is-active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* --------------------------------------------------------------------------
   2.2 Um capítulo em tinta — galeria que inclina (75° → plano) e deriva
   -------------------------------------------------------------------------- */

.ink-gallery {
  background: var(--ink-bg);
  color: var(--ink-text);
}

.ink-gallery__head {
  padding: clamp(5rem, 12vh, 8.5rem) 1.5rem clamp(1.5rem, 4vh, 3rem);
  text-align: center;
}

.ink-gallery__head .eyebrow {
  color: color-mix(in srgb, var(--ink-text) 60%, transparent);
}

.ink-gallery__head .display {
  max-width: 17ch;
  margin-inline: auto;
  color: var(--ink-text);
}

.ink-gallery__scroll {
  position: relative;
  height: 300vh;
  perspective: 1000px;
  perspective-origin: center top;
}

.ink-gallery__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 30rem;
  overflow: hidden;
  perspective: 1000px;
  perspective-origin: center top;
  transform-style: preserve-3d;
}

/* véus suaves nas bordas para as colunas sumirem no Café */
.ink-gallery__sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--ink-bg) 0%, transparent 12%, transparent 88%, var(--ink-bg) 100%);
}

.ink-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
  width: min(1100px, 92vw);
  height: 100%;
  margin-inline: auto;
  transform: rotateX(75deg) scale(1.2);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.ink-gallery__col {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.2vw, 1rem);
  will-change: transform;
}

.ink-gallery__col--offset {
  margin-top: -50%;
}

.ink-gallery__col figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.55);
}

.ink-gallery__col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.8s ease;
}

.ink-gallery__col figure:hover img {
  opacity: 1;
}

@media (max-width: 767px) {
  .ink-gallery__scroll {
    height: 220vh;
  }
  .ink-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ink-gallery__col:nth-child(3) {
    display: none;
  }
  .ink-gallery__col--offset {
    margin-top: -30%;
  }
}

/* --------------------------------------------------------------------------
   Vídeo controlado pelo scroll (fase 5) — hero mobile + vídeo da marca
   A seção externa dá o espaço de rolagem; o bloco interno fica fixo e o
   vídeo cobre tudo, de borda a borda. scroll-video.js liga a rolagem ao
   tempo do vídeo. Sem cartão, sem raio, sem faixas.
   -------------------------------------------------------------------------- */

.scroll-video {
  position: relative;
  width: 100%;
}

.scroll-video__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--ink-bg);
}

.scroll-video video,
.scroll-video__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* fallback por sequência de imagens: o canvas assume, o vídeo some */
.scroll-video.is-frames video {
  visibility: hidden;
}

.scroll-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4rem;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .scroll-video__overlay {
    padding-bottom: 6rem;
  }
}

/* vídeo da marca (home, depois do capítulo em tinta) */
.brand-video {
  height: 300vh;
}

.brand-video__caption {
  margin: 0;
  padding-inline: 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  color: #faf8f5;
  text-shadow: 0 2px 28px rgba(52, 46, 41, 0.6);
}

/* movimento reduzido: sem fixar, vídeo comum em loop, legenda visível */
.scroll-video.is-static {
  height: auto;
}

.scroll-video.is-static .scroll-video__sticky {
  position: relative;
}

.scroll-video.is-static .scroll-video__overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   2.4 Portfólio — masonry com inclinação contida
   -------------------------------------------------------------------------- */

.masonry {
  margin-top: clamp(3rem, 8vh, 5rem);
  column-count: 1;
  column-gap: 1.25rem;
}

@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
@media (min-width: 1280px) { .masonry { column-count: 4; } }

.masonry figure {
  position: relative;
  margin: 0 0 1.25rem;
  break-inside: avoid;
  perspective: 1000px;
  transition: translate 0.9s var(--ease-soft);
}

.masonry figure::after {
  display: none;
}

.masonry figure:hover {
  translate: 0 -4px;
}

.masonry__tilt {
  border-radius: 16px;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 22px 44px -30px rgba(63, 55, 49, 0.42);
  transition: box-shadow 0.9s var(--ease-soft);
}

.masonry figure:hover .masonry__tilt {
  box-shadow: 0 30px 56px -30px rgba(63, 55, 49, 0.5);
}

.masonry img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.masonry figure:active .masonry__tilt {
  scale: 0.98;
}

/* --------------------------------------------------------------------------
   2.5 Formulário dentro da home + campos novos
   -------------------------------------------------------------------------- */

.book-home {
  padding-block: clamp(6rem, 14vh, 10rem);
  background:
    radial-gradient(
      100% 70% at 50% 100%,
      color-mix(in srgb, var(--bege) 30%, var(--perola)) 0%,
      var(--perola) 65%
    );
}

.book-home__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.book-home__intro {
  grid-column: 1 / span 5;
  position: sticky;
  top: 7.5rem;
}

.book-home__intro .dot-line {
  margin: 0 0 2rem;
}

.book-home__intro .body-text {
  margin-top: 2rem;
}

.book-home .book {
  grid-column: 7 / span 6;
  max-width: none;
  margin: 0;
  padding-bottom: 0;
}

.book-home .book__form {
  margin-top: 0;
}

@media (max-width: 860px) {
  .book-home__grid {
    display: block;
  }
  .book-home__intro {
    position: static;
    margin-bottom: 3rem;
  }
}

.book__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.book__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
}

.book__row .field--short {
  max-width: none;
}

.book__row:has(.field--short) {
  grid-template-columns: 1fr 9rem;
}

@media (max-width: 560px) {
  .book__row,
  .book__row:has(.field--short) {
    grid-template-columns: 1fr;
  }
}

.field textarea.is-short {
  min-height: 4.5rem;
}

.field__error:empty {
  display: none !important;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-bottom-color: var(--rose);
}

/* Escolha (Sim / Não) */
.choice {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 2rem;
}

.choice legend {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

.choice__item,
.consent {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.field .choice__item,
.field .consent {
  margin: 0;
  letter-spacing: normal;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--cafe);
}

.field .consent {
  align-items: flex-start;
  line-height: 1.6;
}

.choice input,
.consent input {
  appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--taupe) 80%, transparent);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.5s ease;
}

.choice input {
  border-radius: 50%;
}

.consent input {
  border-radius: 4px;
  margin-top: 0.2rem;
}

.choice input::after,
.consent input::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: inherit;
  background: var(--cafe);
  transform: scale(0);
  transition: transform 0.5s var(--ease-soft);
}

.consent input::after {
  border-radius: 2px;
}

.choice input:checked::after,
.consent input:checked::after {
  transform: scale(1);
}

.choice input:checked,
.consent input:checked,
.choice input:hover,
.consent input:hover {
  border-color: var(--rose);
}

.field.has-error .consent input {
  border-color: var(--rose);
}

.file-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--cafe) 75%, var(--taupe));
}

.file-list li + li {
  margin-top: 0.2rem;
}

.book__status {
  min-height: 1.4rem;
  margin: 1.4rem 0 0;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--cafe) 55%, var(--rose));
}

.book__success:focus {
  outline: none;
}

/* --------------------------------------------------------------------------
   2.6 Onde a arte já habitou — mapa pontilhado
   -------------------------------------------------------------------------- */

.atlas {
  text-align: center;
  padding-bottom: clamp(4rem, 9vh, 7rem);
}

.atlas .display {
  max-width: 16ch;
  margin-inline: auto;
}

.atlas__sub {
  margin: 1.6rem auto 0;
}

.world-map {
  width: min(1200px, 96vw);
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
}

.world-map__stage {
  overflow-x: auto;
  scrollbar-width: none;
}

.world-map__stage::-webkit-scrollbar {
  display: none;
}

.world-map__svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 640px;
  overflow: visible;
}

.world-map__dots {
  fill: var(--taupe);
  opacity: 0.42;
}

:root[data-theme="dark"] .world-map__dots {
  fill: var(--cafe);
  opacity: 0.2;
}

.world-map__arc {
  fill: none;
  stroke: var(--rose);
  stroke-width: 0.22;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.9;
  transition: stroke-dashoffset 2.6s var(--ease-soft);
  transition-delay: var(--arc-delay, 0s);
}

.world-map.is-drawn .world-map__arc {
  stroke-dashoffset: 0;
}

.world-map__pin {
  cursor: pointer;
}

.world-map__pin:focus-visible {
  outline: none;
}

.world-map__pin:focus-visible .world-map__dot {
  stroke: var(--cafe);
  stroke-width: 0.3;
}

.world-map__dot {
  fill: var(--rose);
  transition: transform 0.7s var(--ease-soft);
  transform-box: fill-box;
  transform-origin: center;
}

.world-map__pin:hover .world-map__dot {
  transform: scale(1.5);
}

.world-map__hit {
  fill: transparent;
}

.world-map__pulse {
  fill: none;
  stroke: var(--rose);
  stroke-width: 0.18;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: map-pulse 3.6s ease-out infinite;
  animation-delay: var(--pin-delay, 0s);
}

@keyframes map-pulse {
  0% { transform: scale(0.35); opacity: 0.8; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

.world-map__home-ring {
  fill: none;
  stroke: var(--cafe);
  stroke-width: 0.18;
}

.world-map__home-dot {
  fill: var(--cafe);
}

.atlas__countries {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(1.4rem, 4vw, 3.2rem);
  margin-top: clamp(2rem, 5vh, 3rem);
  padding: 0 1.5rem 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.atlas__countries::-webkit-scrollbar {
  display: none;
}

.atlas__countries a,
.atlas__home {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.atlas__home {
  color: var(--taupe);
}

.atlas__countries a {
  text-decoration: none;
  color: var(--cafe);
  padding-bottom: 0.45rem;
  background-image: linear-gradient(var(--rose), var(--rose));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: background-size 0.7s var(--ease-soft);
}

.atlas__countries a:hover,
.atlas__countries a:focus-visible {
  background-size: 100% 1px;
}

@media (max-width: 640px) {
  .atlas__countries {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   2.7 / Contato — dois estúdios com mapa + canais
   -------------------------------------------------------------------------- */

.studios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 7vh, 4.5rem);
}

.studio-card {
  margin: 0;
}

.studio-card__map {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--taupe) 45%, transparent);
  background: color-mix(in srgb, var(--bege) 40%, var(--perola));
}

.studio-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.7) contrast(0.96);
}

.studio-card__body {
  padding-top: 1.6rem;
}

.studio-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  letter-spacing: 0.01em;
}

.studio-card address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--cafe) 75%, var(--taupe));
}

.studio-card .quiet-link {
  margin-top: 1.2rem;
}

@media (max-width: 860px) {
  .studios {
    grid-template-columns: 1fr;
  }
}

.channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem clamp(1.6rem, 4vw, 3.4rem);
  margin-top: clamp(3rem, 7vh, 4.5rem);
  padding-top: clamp(2rem, 5vh, 3rem);
  border-top: 1px solid color-mix(in srgb, var(--taupe) 28%, transparent);
}

.channels__item {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--cafe);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: color 0.6s ease;
}

.channels__item:hover {
  color: color-mix(in srgb, var(--cafe) 55%, var(--rose));
}

.channels__item svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 1.25rem;
  color: var(--taupe);
  flex-shrink: 0;
}

.channels__item small {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

.channels__book {
  margin-left: auto;
}

@media (max-width: 860px) {
  .channels {
    flex-direction: column;
    align-items: flex-start;
  }
  .channels__book {
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Rodapé — crédito discreto
   -------------------------------------------------------------------------- */

.site-footer__credit {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
}

.site-footer__credit a {
  color: inherit;
  text-decoration: none;
  padding-bottom: 0.2rem;
  background-image: linear-gradient(var(--rose), var(--rose));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: background-size 0.7s var(--ease-soft), color 0.6s ease;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
  color: var(--cafe);
  background-size: 100% 1px;
}

/* --------------------------------------------------------------------------
   Sobre — redes + "Por que fineline"
   -------------------------------------------------------------------------- */

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.2rem;
  margin-top: 2.6rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: color-mix(in srgb, var(--cafe) 82%, var(--taupe));
  transition: color 0.6s ease;
}

.social-row svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--taupe);
  transition: color 0.6s ease;
}

.social-row a:hover,
.social-row a:hover svg {
  color: var(--rose);
}

.why {
  padding-block: clamp(5rem, 12vh, 9rem);
  background:
    radial-gradient(
      90% 70% at 90% 30%,
      color-mix(in srgb, var(--bege) 30%, var(--perola)) 0%,
      var(--perola) 60%
    );
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.why__body {
  grid-column: 1 / span 6;
}

.why__body .display {
  margin-bottom: 2.4rem;
}

.why__media {
  grid-column: 8 / span 5;
  margin: 0;
  position: relative;
}

.why__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px 6px 200px 200px; /* arco invertido: eco do retrato */
}

.why__needle {
  position: absolute;
  left: -2.2rem;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(var(--taupe), transparent);
  opacity: 0.6;
}

@media (max-width: 860px) {
  .why__grid {
    display: block;
  }
  .why__media {
    margin: 3rem 0 0 14vw;
  }
  .why__needle {
    display: none;
  }
}

.atlas--sobre {
  padding-top: clamp(3rem, 8vh, 5rem);
}

/* --------------------------------------------------------------------------
   Fineline — galeria que se abre (ref. 21st.dev "expanding gallery")
   Em cada fileira, o painel sob o cursor se abre devagar e os vizinhos
   recuam; clique amplia no lightbox. No mobile vira grade de 2 colunas.
   -------------------------------------------------------------------------- */

.unfold {
  display: grid;
  gap: clamp(0.6rem, 1vw, 0.9rem);
}

.unfold__row {
  display: flex;
  gap: clamp(0.6rem, 1vw, 0.9rem);
  height: clamp(360px, 62vh, 620px);
}

.unfold__row figure {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  transition: flex-grow 0.9s var(--ease-soft);
}

.unfold__row figure::after {
  border-radius: 14px;
}

.unfold__row:hover figure,
.unfold__row:focus-within figure {
  flex-grow: 0.8;
}

.unfold__row figure:hover,
.unfold__row figure:focus-visible {
  flex-grow: 3.2;
}

.unfold img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease-soft);
}

.unfold figure:hover img {
  scale: 1.03;
}

.unfold figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1.2rem 1.1rem;
  background: linear-gradient(0deg, rgba(52, 46, 41, 0.6), transparent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #faf8f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.7s var(--ease-soft), translate 0.7s var(--ease-soft);
  pointer-events: none;
}

.unfold figure:hover figcaption,
.unfold figure:focus-visible figcaption {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.25s;
}

.unfold__hint {
  margin: 0 0 1.6rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

@media (max-width: 860px), (hover: none) {
  .unfold__row {
    display: contents;
  }
  .unfold {
    grid-template-columns: 1fr 1fr;
  }
  .unfold__row figure,
  .unfold__row:hover figure,
  .unfold__row figure:hover {
    flex: none;
    aspect-ratio: 3 / 4;
  }
  .unfold figure:nth-child(3n + 2) {
    translate: 0 1.6rem;
  }
  .unfold figcaption {
    opacity: 1;
    translate: 0 0;
    font-size: 0.95rem;
    padding: 2rem 0.8rem 0.7rem;
    white-space: normal;
  }
  .unfold__hint {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Páginas de viagem — /viagens/<pais>/
   Dois efeitos apenas (iguais nas quatro páginas):
   1) revelação da imagem por máscara ao rolar  2) zoom suave no hover
   -------------------------------------------------------------------------- */

.trip-hero {
  position: relative;
  height: 100svh;
  min-height: 34rem;
  overflow: hidden;
  color: #faf8f5;
}

.trip-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.trip-hero__media img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 118%;
  top: -9%;
  object-fit: cover;
  will-change: transform;
}

.trip-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(52, 46, 41, 0.42) 0%, transparent 22%),
    linear-gradient(0deg, rgba(52, 46, 41, 0.7) 0%, rgba(52, 46, 41, 0.15) 45%, transparent 65%);
  pointer-events: none;
}

.trip-hero__content {
  position: absolute;
  z-index: 2;
  left: clamp(1.5rem, 5vw, 4.5rem);
  right: clamp(1.5rem, 5vw, 4.5rem);
  bottom: clamp(2rem, 7vh, 4.5rem);
}

.trip-hero__back {
  position: absolute;
  z-index: 3;
  top: 6.2rem;
  left: clamp(1.5rem, 5vw, 4.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(250, 248, 245, 0.88);
  transition: gap 0.7s var(--ease-soft), color 0.6s ease;
}

.trip-hero__back:hover {
  gap: 1.1rem;
  color: #fff;
}

.trip-hero .eyebrow {
  color: rgba(250, 248, 245, 0.78);
  margin-bottom: 0.8rem;
}

.trip-hero__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4.2rem, 15vw, 12.5rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.trip-hero__lead {
  margin: 1.4rem 0 0;
  max-width: 30rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: rgba(250, 248, 245, 0.92);
}

.trip-story {
  padding-block: clamp(5rem, 12vh, 8.5rem);
}

.trip-story__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

.trip-story__grid .body-text {
  grid-column: 6 / span 6;
  max-width: 36rem;
}

.trip-story__grid .body-text:first-child {
  grid-column: 1 / span 5;
  grid-row: 1 / span 3;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--cafe);
}

.trip-story__grid .body-text + .body-text {
  margin-top: 0;
}

.trip-story__grid .body-text:nth-child(3) {
  margin-top: 1.4rem;
}

@media (max-width: 860px) {
  .trip-story__grid {
    display: block;
  }
  .trip-story__grid .body-text + .body-text {
    margin-top: 1.4rem;
  }
}

.trip-gallery {
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.trip-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-top: clamp(2.5rem, 6vh, 4rem);
}

.trip-gallery figure {
  position: relative;
  margin: 0;
  grid-column: span 4;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
}

.trip-gallery figure::after {
  border-radius: 12px;
}

.trip-gallery figure.is-wide {
  grid-column: span 8;
  aspect-ratio: 4 / 3;
}

.trip-gallery figure.is-tall {
  grid-column: span 4;
  grid-row: span 2;
  aspect-ratio: auto;
}

.trip-gallery figure:nth-child(4n + 2) {
  margin-top: clamp(2rem, 6vh, 4rem);
}

.trip-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* efeito 2 — zoom suave no hover */
  transition: scale 1.4s var(--ease-soft);
}

.trip-gallery figure:hover img {
  scale: 1.045;
}

/* efeito 1 — revelação por máscara (de baixo para cima).
   A máscara fica na imagem, não na figura: assim o IntersectionObserver
   enxerga a figura inteira mesmo antes da revelação. */
.reveal-clip img {
  clip-path: inset(100% 0 0 0);
  scale: 1.12;
  transition: clip-path 1.2s var(--ease-soft), scale 1.6s var(--ease-soft);
}

.reveal-clip.is-in img {
  clip-path: inset(0 0 0 0);
  scale: 1;
}

.reveal-clip.is-in:hover img {
  scale: 1.045;
}

@media (max-width: 860px) {
  .trip-gallery figure,
  .trip-gallery figure.is-wide,
  .trip-gallery figure.is-tall {
    grid-column: span 6;
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }
  .trip-gallery figure.is-wide {
    grid-column: span 12;
    aspect-ratio: 4 / 3;
  }
  .trip-gallery figure:nth-child(4n + 2) {
    margin-top: 0;
  }
}

.trip-todo {
  margin: 2rem 0 0;
  padding: 1.2rem 1.4rem;
  border: 1px dashed color-mix(in srgb, var(--taupe) 60%, transparent);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--taupe);
}

/* --------------------------------------------------------------------------
   Movimento reduzido — fase 3
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ink-gallery__grid {
    transform: none !important;
  }
  .ink-gallery__col {
    transform: none !important;
  }
  .ink-gallery__scroll {
    height: auto;
  }
  .ink-gallery__sticky {
    position: static;
    height: auto;
    padding-bottom: 4rem;
  }
  .ink-gallery__col--offset {
    margin-top: 3rem;
  }
  .world-map__arc {
    stroke-dashoffset: 0;
  }
  .world-map__pulse {
    animation: none;
    opacity: 0;
  }
  .reveal-clip img,
  .reveal-clip.is-in img {
    clip-path: none;
    scale: 1;
  }
  .unfold__row figure {
    transition: none;
  }
}

/* Formulário na home: coluna mais larga e campos em linha só quando há espaço */
.book-home__intro { grid-column: 1 / span 4; }
.book-home .book { grid-column: 6 / span 7; }

@media (max-width: 1180px) {
  .book-home .book__row,
  .book-home .book__row:has(.field--short) {
    grid-template-columns: 1fr;
  }
}

/* Mobile: portfólio em 2 colunas (39 fotos em 1 coluna ficaria longo demais) */
@media (min-width: 360px) and (max-width: 639px) {
  .masonry { column-count: 2; column-gap: 0.75rem; }
  .masonry figure { margin-bottom: 0.75rem; }
  .masonry__tilt, .masonry img { border-radius: 12px; }
}

/* A primeira seção acompanha a borda arredondada que desliza sobre o vídeo */
@media (max-width: 767px) {
  .home-main > .artist { border-radius: 22px 22px 0 0; }
}

.contact__note { margin-top: 2.6rem; }
.about__social-label { margin: 3rem 0 0; }
.about__social-label + .social-row { margin-top: 1.2rem; }

/* Galeria de viagem em colunas (alturas naturais das fotos, sem buracos) */
.trip-gallery__grid {
  display: block;
  columns: 3;
  column-gap: clamp(1rem, 2.4vw, 2rem);
}

.trip-gallery figure,
.trip-gallery figure.is-tall,
.trip-gallery figure:nth-child(4n + 2) {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: auto;
  margin: 0 0 clamp(1rem, 2.4vw, 2rem);
  break-inside: avoid;
}

.trip-gallery figure.is-wide {
  column-span: all;
  aspect-ratio: 16 / 9;
}

.trip-gallery img {
  height: auto;
}

.trip-gallery figure.is-wide img {
  height: 100%;
}

@media (max-width: 860px) {
  .trip-gallery__grid { columns: 2; }
  .trip-gallery figure,
  .trip-gallery figure.is-wide {
    grid-column: auto;
    aspect-ratio: auto;
  }
  .trip-gallery figure.is-wide { aspect-ratio: 16 / 9; }
}

/* --------------------------------------------------------------------------
   Fase 4 — Sobre: retrato horizontal acima da biografia
   Recortes com direção de arte (16:10 desktop / 4:3 mobile, via <picture>).
   No desktop a foto sangra até a borda direita; a coluna de texto sobe
   48px sobre a borda inferior da imagem, como numa página de revista.
   -------------------------------------------------------------------------- */

.about__hero {
  position: relative;
  margin: 0;
  margin-right: min(0px, calc((100vw - min(1200px, 92vw)) / -2));
}

.about__hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 24px 0 0 24px;
  box-shadow: 0 40px 80px -48px color-mix(in srgb, var(--taupe) 75%, transparent);
}

.about__hero + .about__grid {
  position: relative;
  z-index: 2;
  margin-top: -48px;
}

.about__hero + .about__grid .about__body {
  grid-column: 1 / span 7;
  grid-row: 1;
  padding: 2.6rem clamp(1.5rem, 3.5vw, 3.5rem) 0 0;
  background: var(--perola);
  border-radius: 0 24px 0 0;
}

.about__hero + .about__grid .about__detail {
  grid-column: 9 / span 4;
  grid-row: 1;
  margin: 8rem 0 0;
}

/* quando a tela é estreita a ponto de não sangrar, raio nos 4 cantos */
@media (max-width: 1240px) {
  .about__hero img {
    border-radius: 24px;
  }
}

@media (max-width: 767px) {
  .about__hero {
    margin-right: 0;
  }
  .about__hero img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 860px) {
  .about__hero + .about__grid .about__body {
    padding: 2rem 1.2rem 0 0;
  }
  .about__hero + .about__grid .about__detail {
    width: 58%;
    margin: 3rem 0 0 auto;
  }
}
