/* ==========================================================================
   Rob Piercer — Roberta Faracci
   Tema: Dark Luxury editorial · Marsala · mobile-first
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* Paleta */
  --bg: #120B0C;
  --bg-2: #1B1213;
  --bg-3: #241819;
  --wine: #7E3F3D;
  --terra: #964F4C;
  --terra-hover: #B56B67;
  --rose: #B56B67;
  --rose-light: #E0AAA4;
  --ink: #F4EDE9;
  --ink-2: #D8C8C3;
  --ink-3: #A39493;
  --line: rgba(241, 233, 231, .09);
  --line-2: rgba(241, 233, 231, .16);
  --line-wine: rgba(150, 79, 76, .45);

  /* Tipografia */
  --font-serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-h1: clamp(2.5rem, 1.6rem + 4.4vw, 5.6rem);
  --fs-h2: clamp(2.15rem, 1.4rem + 3.1vw, 4.1rem);
  --fs-h3: clamp(1.45rem, 1.2rem + .9vw, 1.9rem);
  --fs-lead: clamp(1.02rem, .96rem + .3vw, 1.16rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-micro: .72rem;

  /* Espaços */
  --gutter: clamp(1.15rem, .6rem + 2.6vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --header-h: 4.25rem;
  --radius: 2px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 5rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

::selection { background: var(--terra); color: #fff; }

:focus-visible {
  outline: 2px solid var(--rose-light);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bg);
  padding: .75rem 1.1rem; font-weight: 600; font-size: var(--fs-small);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left));
}

/* ---------- Tipografia ---------- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}
h2 {
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-top: .9rem;
}
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--rose-light);
}
.eyebrow--line::before {
  content: "";
  width: 2.25rem; height: 1px;
  background: currentColor;
  flex: none;
}

/* ---------- Botões ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding: .9rem 1.6rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn-icon { width: 1.05rem; height: 1.05rem; flex: none; transition: transform .3s var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }

.btn { overflow: hidden; isolation: isolate; }
.btn::after {
  /* brilho que atravessa o botão no hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--primary {
  --btn-fg: #fff7f4;
  border-color: rgba(224, 170, 164, .45);
  background: linear-gradient(135deg, #B56B67 0%, #964F4C 48%, #7E3F3D 100%);
  box-shadow: 0 10px 28px -10px rgba(150, 79, 76, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover {
  border-color: rgba(224, 170, 164, .8);
  background: linear-gradient(135deg, #C47C77 0%, #A55A57 50%, #8A4745 100%);
  box-shadow: 0 16px 38px -10px rgba(181, 107, 103, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}
.btn--primary:hover::after, .btn--ghost:hover::after { transform: translateX(120%); }

.btn--ghost {
  --btn-bd: rgba(181, 107, 103, .55);
  --btn-bg: rgba(150, 79, 76, .08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn--ghost:hover { --btn-bg: rgba(150, 79, 76, .22); --btn-bd: var(--rose-light); transform: translateY(-2px); }

.btn--outline { --btn-bd: var(--line-wine); }
.btn--outline:hover { --btn-bg: var(--terra); --btn-bd: var(--terra); --btn-fg: #fff; }
.btn:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 3px; }

.btn--sm { min-height: 2.6rem; padding: .6rem 1.15rem; font-size: .7rem; }
.btn--block { display: flex; width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 11, 12, .82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(18, 11, 12, .92); }

.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}

.brand { display: inline-flex; flex-direction: column; line-height: 1; padding-block: .4rem; }
.brand-name {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  letter-spacing: .01em;
  color: var(--ink);
}
.brand-sub {
  margin-top: .42rem;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose-light);
}

.nav-desktop { display: none; }

.menu-toggle {
  position: relative; z-index: 60;
  width: 2.9rem; height: 2.9rem;
  margin-right: -.6rem;
  display: grid; place-content: center; gap: 7px;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle-bar {
  display: block; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease-out), width .4s var(--ease-out);
}
.menu-toggle-bar:last-child { width: 16px; justify-self: end; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:last-child { width: 24px; transform: translateY(-4.25px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  padding-top: var(--header-h);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.mobile-menu.is-open {
  visibility: visible; opacity: 1;
  transition: opacity .35s var(--ease), visibility 0s;
}
.mobile-menu-inner {
  display: flex; flex-direction: column; gap: 2rem;
  min-height: calc(100% - 1px);
  padding-block: 2rem calc(2rem + env(safe-area-inset-bottom));
}
.mobile-menu-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.mobile-menu-list li { border-bottom: 1px solid var(--line); }
.mobile-menu-list a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.3rem + 2.5vw, 2.4rem);
  line-height: 1.15;
  transform: translateY(12px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out), color .2s;
}
.mobile-menu-list a span { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .15em; color: var(--rose-light); }
.mobile-menu-list a:hover { color: var(--rose-light); }
.mobile-menu.is-open .mobile-menu-list a { transform: none; opacity: 1; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu-contacts { display: flex; gap: .75rem; justify-content: center; font-size: var(--fs-small); color: var(--ink-3); }
.mobile-menu-contacts a { color: var(--ink-2); padding: .5rem .25rem; }
.mobile-menu-contacts a:hover { color: var(--ink); }

html.menu-open, html.modal-open { overflow: hidden; }

@media (min-width: 900px) {
  .menu-toggle, .mobile-menu { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); }
  .nav-desktop ul { display: flex; gap: clamp(1.25rem, 2.6vw, 2.25rem); list-style: none; padding: 0; }
  .nav-desktop ul a {
    position: relative;
    font-size: .8rem; font-weight: 500; letter-spacing: .06em;
    color: var(--ink-2);
    padding-block: .5rem;
    transition: color .25s var(--ease);
  }
  .nav-desktop ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
    background: var(--rose-light);
    transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--ease-out);
  }
  .nav-desktop ul a:hover, .nav-desktop ul a[aria-current="true"] { color: var(--ink); }
  .nav-desktop ul a:hover::after, .nav-desktop ul a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.25rem, 1rem + 4vw, 4.5rem) clamp(3.5rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* luz difusa Marsala, bem discreta */
  content: ""; position: absolute; z-index: -1;
  width: min(80vw, 820px); aspect-ratio: 1;
  right: -18%; top: -10%;
  background: radial-gradient(closest-side, rgba(150, 79, 76, .7), rgba(150, 79, 76, 0));
  pointer-events: none;
}
.hero::after {
  /* segundo brilho, canto inferior esquerdo */
  content: ""; position: absolute; z-index: -1;
  width: min(60vw, 560px); aspect-ratio: 1; left: -20%; bottom: -25%;
  background: radial-gradient(closest-side, rgba(126, 63, 61, .5), rgba(126, 63, 61, 0));
  pointer-events: none;
}

.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }

.hero-title {
  margin-top: 1.4rem;
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -.028em;
  max-width: 12ch;
}
.hero-title em {
  display: block;
  font-style: italic;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, #F0C3BD 0%, #E0AAA4 35%, #B56B67 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: .08em;
}
.hero-title-note {
  display: flex; align-items: center; gap: .9rem;
  margin-top: 1.1rem;
  font-family: var(--font-sans);
  font-size: clamp(.72rem, .66rem + .3vw, .88rem);
  font-weight: 600; font-style: normal;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 14px rgba(18, 11, 12, .9);
}
.hero-title-note::before { content: ""; width: 2.6rem; height: 1px; background: var(--terra); box-shadow: 0 0 12px var(--rose); flex: none; }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-lead strong:first-of-type { color: var(--rose-light); }
.hero-lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: var(--fs-lead);
  line-height: 1.75;
  color: var(--ink-2);
}
.hero .actions { margin-top: 2rem; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 1rem clamp(1.25rem, 3vw, 2.75rem);
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-facts dt { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.hero-facts dd { margin-top: .3rem; font-family: var(--font-serif); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); color: var(--ink); white-space: nowrap; }
.hero-facts a { border-bottom: 1px solid var(--line-wine); transition: border-color .25s, color .25s; }
.hero-facts a:hover { color: var(--rose-light); border-color: var(--rose-light); }

.hero-media { position: relative; margin-right: .75rem; margin-top: .75rem; }
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 78svh;
  background: var(--bg-3);
}
.hero-frame::before {
  /* moldura deslocada fina */
  content: ""; position: absolute; inset: -.75rem -.75rem .75rem .75rem;
  border: 1px solid var(--line-wine);
  pointer-events: none;
}
.hero-frame img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
.hero-caption {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 1rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3);
}
.hero-caption span:first-child { color: var(--ink-2); }

.scroll-cue { display: none; }

@media (max-width: 389px) {
  .eyebrow--line { gap: .6rem; letter-spacing: .19em; }
  .eyebrow--line::before { width: 1.1rem; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 559px) {
  .hero .actions .btn { flex: 1 1 100%; }
}

/* Camada de recorte: existe só na composição mobile */
.hero-cutout { display: none; }

@media (max-width: 899px) {
  /* ==========================================================
     HERO MOBILE — composição editorial em camadas
     1 fundo · 2 foto (+ escurecimento da parede) · 3 título
     4 topo da cabeça recortado (à frente do título) · 5 botões
     ========================================================== */
  .hero {
    --hero-bleed: max(var(--gutter), env(safe-area-inset-left));
    --hero-photo-h: min(125vw, 64svh);
    padding-block: clamp(1.1rem, .6rem + 2.4vw, 2rem) clamp(2.75rem, 2rem + 3vw, 4rem);
  }
  .hero::before { right: -45%; top: -22%; width: 115vw; opacity: .7; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "title"
      "media"
      "lead"
      "facts";
    gap: 0;
    align-items: start;
  }
  /* os filhos do bloco de texto passam a ser itens da grade, sem mudar o HTML */
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow { grid-area: eyebrow; }

  .hero-title {
    grid-area: title;
    position: relative; z-index: 2;
    margin-top: 1rem;
    font-size: clamp(2.418rem, 1.116rem + 6.51vw, 3.348rem);
    line-height: 1;
    letter-spacing: -.03em;
    max-width: 11ch;
  }
  .hero-title em { margin-top: .04em; }

  /* Foto: largura total, começa sob a última linha do título */
  .hero-media {
    grid-area: media;
    position: relative;
    width: auto;
    margin: calc(var(--hero-title-overlap, 1.04) * -1em) calc(var(--hero-bleed) * -1) 0;
    font-size: clamp(2.6rem, 1.2rem + 7vw, 3.6rem); /* 1em = tamanho do título */
  }
  .hero-frame {
    position: static;
    height: var(--hero-photo-h);
    max-height: none;
    aspect-ratio: auto;
    background: none;
  }
  .hero-frame::before { content: none; }
  .hero-frame img {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
  }
  .hero-frame > img:first-child,
  .hero-frame::after {
    /* entra suave no fundo em cima e se dissolve embaixo */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 58%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 58%, transparent 100%);
  }
  .hero-frame::after {
    /* escurece só a parede atrás do título (termina antes do fim do recorte) */
    content: ""; position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(to bottom, rgba(18, 11, 12, .72) 0%, rgba(18, 11, 12, .3) 14%, rgba(18, 11, 12, 0) 25%),
      linear-gradient(to right, rgba(18, 11, 12, .55), rgba(18, 11, 12, 0) 22%, rgba(18, 11, 12, 0) 78%, rgba(18, 11, 12, .55));
    pointer-events: none;
  }
  .hero-cutout {
    display: block;
    z-index: 3;
    pointer-events: none;
  }

  /* Legenda vertical discreta na lateral da foto */
  .hero-caption {
    position: absolute; z-index: 3;
    right: calc(var(--hero-bleed) * .55); top: calc(var(--hero-photo-h) * .2);
    margin: 0;
    writing-mode: vertical-rl;
    gap: 1rem;
    font-size: .55rem; letter-spacing: .26em;
    color: rgba(241, 233, 231, .62);
  }
  .hero-caption span:first-child { color: var(--rose-light); }

  /* Botões sobre a parte inferior da foto (peito/roupa escura), nunca sobre o rosto */
  .hero .actions {
    grid-area: media;
    align-self: end;
    position: relative; z-index: 4;
    margin: 0;
    flex-wrap: nowrap;
    gap: .6rem;
  }
  .hero .actions .btn { flex: 1 1 auto; padding-inline: .9rem; min-height: 3.2rem; }
  .hero .actions .btn--primary { flex-grow: 1.5; }
  .hero .actions .btn--ghost {
    background: rgba(18, 11, 12, .55);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }

  @media (max-width: 599px) {
    .hero-grid {
      grid-template-areas:
        "eyebrow"
        "title"
        "media"
        "lead"
        "more"
        "facts";
    }
    .hero .actions { display: contents; }
    .hero .actions .btn--primary { grid-area: media; align-self: end; position: relative; z-index: 4; }
    .hero .actions .btn--ghost { grid-area: more; margin-top: 1.25rem; }
    .hero .actions .btn { flex: none; width: 100%; }
  }

  .hero-lead {
    grid-area: lead;
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
  }

  /* Informações em faixa horizontal compacta */
  .hero-facts {
    grid-area: facts;
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: space-between;
    gap: .75rem 1rem;
    margin-top: 1.5rem; padding-top: 1.15rem;
  }
  .hero-facts > div { display: grid; grid-template-rows: 1fr auto; }
  .hero-facts dt { align-self: end; font-size: .6rem; letter-spacing: .16em; line-height: 1.45; }
  .hero-facts dd { font-size: 1.02rem; }

  /* entrada suave sem criar contexto de empilhamento na figura */
  /* a figura não pode virar camada própria, senão o recorte fica preso atrás do título */
  html.js .hero .hero-media { animation: none; }
  html.js .hero .hero-frame img { animation: heroIn 1.2s var(--ease-out) .1s both; }
}

@media (max-width: 899px) and (min-width: 600px) {
  /* tablet: foto proporcional e centralizada, mesma linguagem */
  .hero { --hero-photo-h: min(88vw, 64svh); }
  .hero-title { max-width: 12ch; }
  .hero .actions { max-width: 34rem; }
  .hero-lead { max-width: 36rem; }
  .hero-facts { justify-content: start; gap: 1rem 2.75rem; }
}

@media (max-width: 899px) {
  /* faixa horizontal de 3 informações (anula a regra antiga de 2 colunas) */
  .hero-facts > div:last-child { grid-column: auto; }
}
@media (max-width: 339px) {
  /* telas muito estreitas: informações em 2 colunas */
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts > div:last-child { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    display: flex; flex-direction: column; justify-content: center;
    padding-block: 2.5rem 5.5rem;
  }
  /* composição editorial: o texto invade a foto */
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; align-items: center; }
  .hero-copy { grid-column: 1 / 9; grid-row: 1; position: relative; z-index: 3; padding-block: 1rem; }
  .hero-title { max-width: 9ch; font-size: clamp(3.162rem, .93rem + 5.022vw, 6.696rem); line-height: .96; }
  .hero-title em, .hero-title-note { white-space: nowrap; width: max-content; }
  .hero-title em { filter: drop-shadow(0 4px 22px rgba(18, 11, 12, .85)); }
  .hero-title { text-shadow: 0 2px 30px rgba(18, 11, 12, .85); }
  .hero-lead { max-width: 30rem; }
  .hero-facts { max-width: 31rem; }

  .hero-media { grid-column: 5 / 13; grid-row: 1; justify-self: end; width: fit-content; margin: 0 -2rem 0 0; z-index: 1; }
  .hero-frame { height: min(78svh, 720px); max-height: none; width: auto; aspect-ratio: 1 / 1; margin: 0; }
  .hero-frame::before { inset: -.9rem -.9rem .9rem .9rem; border-color: var(--line-wine); z-index: 0; }
  .hero-frame img:first-child {
    object-position: 50% 25%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 16%, #000 34%);
            mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 16%, #000 34%);
  }
  .hero-frame::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(to top, rgba(18, 11, 12, .85), rgba(18, 11, 12, 0) 32%),
      linear-gradient(115deg, rgba(150, 79, 76, .22), rgba(150, 79, 76, 0) 45%);
  }
  .hero-caption { position: absolute; z-index: 3; right: 1.25rem; bottom: 1.1rem; left: 1.25rem; margin: 0; color: var(--ink-2); }
  .hero-caption span:first-child { color: var(--rose-light); }

  .scroll-cue {
    position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
    color: var(--ink-3);
    transition: color .25s;
  }
  .scroll-cue:hover { color: var(--ink); }
  .scroll-cue i { width: 1px; height: 2.5rem; background: linear-gradient(var(--rose), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }

.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-intro { max-width: 26rem; color: var(--ink-3); font-size: .95rem; line-height: 1.75; }
.section-intro a { color: var(--ink-2); border-bottom: 1px solid var(--line-wine); transition: color .25s, border-color .25s; }
.section-intro a:hover { color: var(--rose-light); border-color: var(--rose-light); }

@media (min-width: 760px) {
  .section-head:not(.section-head--stack) { grid-template-columns: 1fr auto; align-items: end; }
  .section-head:not(.section-head--stack) .section-intro { text-align: right; }
}

/* ---------- Sobre ---------- */
.about { background: var(--bg-2); }
.about-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5.5rem); align-items: center; }
.about-media { position: relative; width: min(100%, 34rem); }
.about-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.about-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.about-media::after {
  content: ""; position: absolute; left: -1px; top: 2.5rem; width: 1px; height: 6rem;
  background: var(--rose);
}
.about-media figcaption {
  margin-top: 1rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
}

.about-copy h2 { margin-bottom: 1.75rem; }
.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  line-height: 1.38;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 30rem;
}
.about-copy > p:not(.eyebrow):not(.about-lead) { margin-top: 1.25rem; color: var(--ink-2); max-width: 32rem; line-height: 1.8; }
.about-note {
  display: flex; gap: .9rem; align-items: flex-start;
  margin-top: 2rem; padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--terra);
  background: rgba(18, 11, 12, .45);
  max-width: 32rem;
}
.about-note svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--rose-light); margin-top: .15rem; }
.about-note p { font-size: .92rem; line-height: 1.7; color: var(--ink-2); }
.about-note strong { color: var(--ink); font-weight: 600; }
.about .actions { margin-top: 2rem; }

@media (max-width: 859px) {
  .about-media { margin-inline: auto; }
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

/* ---------- Como agendar ---------- */
.steps {
  list-style: none; padding: 0;
  display: grid; gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; row-gap: .4rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line-2);
}
.step:last-child { border-bottom: 1px solid var(--line-2); }
.step-num {
  grid-row: span 2;
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3.2rem); line-height: .9;
  color: var(--rose);
  min-width: 2.6ch;
}
.step p { color: var(--ink-3); line-height: 1.75; max-width: 22rem; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
  .step { display: block; padding-block: 2rem 0; border-bottom: 0 !important; }
  .step::before {
    content: ""; position: absolute; top: -1px; left: 0; width: 3rem; height: 1px; background: var(--rose-light);
  }
  .step-num { display: block; margin-bottom: 1.5rem; }
  .step h3 { margin-bottom: .6rem; }
}

/* ---------- Agendamento ---------- */
.booking {
  position: relative;
  padding-block: var(--section-y);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(150, 79, 76, .55), rgba(150, 79, 76, 0) 70%),
    var(--bg-2);
  border-top: 1px solid var(--line-wine);
}
.booking-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: start; }
.booking-text { margin-top: 1.5rem; color: var(--ink-2); max-width: 28rem; line-height: 1.8; }

.contact-list { list-style: none; padding: 0; display: grid; gap: .75rem; margin-top: 2.25rem; max-width: 26rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-2);
  background: rgba(18, 11, 12, .5);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.contact-card:hover { border-color: var(--rose); background: rgba(150, 79, 76, .35); }
.contact-icon {
  display: grid; place-items: center; flex: none;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--line-wine); color: var(--rose-light);
}
.contact-icon svg { width: 1.2rem; height: 1.2rem; }
.contact-text { display: grid; min-width: 0; }
.contact-label { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.contact-value { font-size: 1.02rem; color: var(--ink); overflow-wrap: anywhere; }
.contact-arrow { margin-left: auto; color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.contact-card:hover .contact-arrow { transform: translate(2px, -2px); color: var(--rose-light); }

.booking-form {
  display: grid; gap: 1.15rem;
  padding: clamp(1.35rem, 1rem + 2vw, 2.5rem);
  background: var(--bg);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}
.form-title {
  font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.25;
  padding-bottom: 1.1rem; margin-bottom: .2rem;
  border-bottom: 1px solid var(--line);
}
.field { display: grid; gap: .5rem; }
.field-label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.field input, .field select {
  width: 100%;
  min-height: 3.2rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--ink);
  font-size: 1rem; /* 16px evita zoom no iOS */
  outline: none;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input::placeholder { color: #A18B87; opacity: 1; }
.field input:hover, .field select:hover { border-color: rgba(241, 233, 231, .26); }
.field input:focus-visible, .field select:focus-visible {
  border-color: var(--rose-light);
  box-shadow: 0 0 0 3px rgba(214, 161, 154, .18);
  background: var(--bg-3);
}
.field input:user-invalid, .field select:user-invalid { border-color: #C46A6A; }
.select-wrap { position: relative; display: block; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%;
  width: .5rem; height: .5rem; margin-top: -.35rem;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg); pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--ink); }
.booking-form .btn { margin-top: .5rem; min-height: 3.5rem; }
.note { font-size: .82rem; line-height: 1.65; color: var(--ink-3); }

@media (min-width: 900px) {
  .booking-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .booking-copy { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.25rem; }
.footer-brand { display: grid; gap: .5rem; }
.footer-brand .brand-name { font-size: 1.6rem; }
.footer-brand .brand-sub { margin: 0; letter-spacing: .22em; line-height: 1.7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-nav a { color: var(--ink-2); font-size: .9rem; padding-block: .45rem; transition: color .25s; }
.footer-nav a:hover { color: var(--rose-light); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--ink-3);
}
.to-top { transition: color .25s; }
.to-top:hover { color: var(--ink); }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: auto auto; justify-content: space-between; align-items: end; }
}
@media (min-width: 900px) {
  .site-footer { padding-bottom: 2.5rem; }
}

/* ---------- Barra fixa mobile ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: .75rem max(var(--gutter), env(safe-area-inset-left)) max(.75rem, env(safe-area-inset-bottom));
  background: rgba(18, 11, 12, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .45s var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
html.no-js .mobile-bar { transform: none; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 7, 7, .96);
  color: var(--ink);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 7, 7, .9); }
.lightbox[open] { animation: lbIn .35s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-inner {
  position: relative; height: 100%;
  display: grid; grid-template-rows: auto 1fr;
  padding: max(.75rem, env(safe-area-inset-top)) max(.75rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
}
.lightbox-top { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; padding-left: .5rem; }
.lightbox-figure {
  min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: .5rem 0 0;
  touch-action: pan-y pinch-zoom;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100% - 3rem);
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transition: opacity .25s var(--ease);
}
.lightbox-figure img.is-loading { opacity: 0; }
.lightbox-figure figcaption { text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

.lb-btn {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(25, 17, 16, .7);
  color: var(--ink);
  transition: background-color .25s, border-color .25s;
}
.lb-btn:hover { background: var(--terra); border-color: var(--terra); }
.lb-btn svg { width: 1.25rem; height: 1.25rem; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: max(.75rem, env(safe-area-inset-left)); }
.lb-next { right: max(.75rem, env(safe-area-inset-right)); }
.lb-btn[hidden] { display: none; }

@media (max-width: 699px) {
  /* no celular, setas ficam embaixo para não cobrir a foto */
  .lightbox-inner {
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "top top" "fig fig" "prev next";
    row-gap: .75rem;
  }
  .lb-prev, .lb-next { position: static; transform: none; }
  .lightbox-top { grid-area: top; }
  .lightbox-figure { grid-area: fig; }
  .lb-prev { grid-area: prev; justify-self: end; margin-right: .5rem; }
  .lb-next { grid-area: next; justify-self: start; margin-left: .5rem; }
}
@media (min-width: 700px) {
  .lightbox-inner { padding-inline: 5.5rem; }
}

/* ---------- Aparecimento suave ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
html.js .hero-copy > *, html.js .hero-media {
  animation: heroIn 1s var(--ease-out) both;
}
html.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
html.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
html.js .hero-copy > :nth-child(4) { animation-delay: .22s; }
html.js .hero-copy > :nth-child(5) { animation-delay: .28s; }
html.js .hero-media { animation-delay: .12s; animation-duration: 1.2s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* Indicador de rolagem só onde há espaço vertical sobrando */
@media (max-width: 1199px), (max-height: 820px) {
  .scroll-cue { display: none !important; }
}


/* ---------- Biossegurança | editorial ---------- */
#biosseguranca { scroll-margin-top: calc(var(--header-h) + 1rem); }
.biosafety { background: var(--bg); position: relative; }
.bio-head { display: grid; gap: 1.6rem; align-items: end; margin-bottom: clamp(2.25rem, 4vw, 4.25rem); }
.bio-head h2 { max-width: 14ch; font-family: var(--font-serif); font-size: var(--fs-h2); line-height: 1.12; font-weight: 400; letter-spacing: -.035em; margin-top: 1.1rem; }
.bio-head h2 em { color: var(--rose-light); font-weight: 400; }
.bio-head-aside { max-width: 35rem; }
.bio-head-aside p { font-size: clamp(.97rem, 1.3vw, 1.07rem); line-height: 1.85; color: var(--ink-2); }
.bio-rule { display: block; width: 3.25rem; height: 1px; background: var(--rose); margin-bottom: 1.25rem; }
.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.bio-card { min-width: 0; background: linear-gradient(145deg, #211615, #150E0D); border: 1px solid var(--line-2); padding: clamp(1.4rem, 2.5vw, 2.5rem); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.bio-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.bio-card-number { font-size: .68rem; font-weight: 600; letter-spacing: .22em; color: var(--rose-light); }
.bio-card-icon { width: 2.3rem; height: 2.3rem; flex: none; color: var(--rose-light); }
.bio-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -.02em; line-height: 1.3; margin-bottom: .9rem; }
.bio-card p { font-size: .94rem; line-height: 1.8; color: var(--ink-2); max-width: 33rem; }
@media (hover: hover) { .bio-card:hover { border-color: var(--line-wine); transform: translateY(-3px); } }
.bio-safety-note { display: flex; align-items: flex-start; gap: 1rem; margin: 2rem 0 3rem; max-width: 60rem; font-size: .91rem; line-height: 1.75; color: var(--ink-2); }
.bio-safety-note span { font-size: 1.25rem; color: var(--rose-light); line-height: 1.4; }
.bio-details { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.bio-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.65rem .2rem; }
.bio-details summary::-webkit-details-marker { display: none; }
.bio-details summary small { display: block; color: var(--rose-light); letter-spacing: .19em; font-size: .64rem; font-weight: 600; margin-bottom: .55rem; }
.bio-details summary strong { display: block; font-family: var(--font-serif); font-size: clamp(1.2rem, 2.2vw, 1.75rem); font-weight: 400; }
.bio-details summary:hover strong { color: var(--rose-light); }
.bio-details summary:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 3px; }
.bio-plus { position: relative; width: 2rem; height: 2rem; border: 1px solid var(--line-wine); border-radius: 50%; flex: none; }
.bio-plus::before, .bio-plus::after { content: ''; position: absolute; width: .75rem; height: 1px; background: var(--rose-light); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.bio-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s var(--ease); }
.bio-details[open] .bio-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.bio-details-content { display: grid; gap: 1.65rem 2.5rem; padding: .3rem .2rem 2rem; }
.bio-details-content h3 { font-size: .95rem; font-weight: 600; margin-bottom: .55rem; color: var(--ink); }
.bio-details-content p { color: var(--ink-2); font-size: .88rem; line-height: 1.8; }
.bio-references { padding-top: 2rem; font-size: .78rem; line-height: 1.8; color: var(--ink-3); }
.bio-references ul { display: flex; flex-wrap: wrap; list-style: none; gap: .25rem 1.5rem; padding: .55rem 0; }
.bio-references a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-wine); text-underline-offset: .2em; overflow-wrap: anywhere; }
.bio-references a:hover { color: var(--rose-light); }
.bio-disclaimer { font-size: .73rem; max-width: 48rem; }
@media (min-width: 720px) { .bio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bio-details-content { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bio-head { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
@media (max-width: 399px) { .bio-card { padding: 1.25rem; } .bio-head h2 { overflow-wrap: break-word; } }

/* Logo original integrada ao cabeçalho — Rob Piercer */
.site-header .brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}
.site-header .brand-symbol {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}
.site-header .brand-copy {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 767px) {
  .site-header .brand { gap: 10px; }
  .site-header .brand-symbol {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}
@media (max-width: 359px) {
  .site-header .brand { gap: 8px; }
  .site-header .brand-symbol {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .site-header .brand-name { font-size: 1.12rem; }
  .site-header .brand-sub { font-size: .54rem; letter-spacing: .25em; }
}

/* Hero — ajustes finos finais */
.hero-lead { margin-top: 1.4rem; }
@media (min-width: 900px) { .hero .actions { margin-top: 1.9rem; } .hero-facts { margin-top: 2.2rem; } }
@media (max-width: 899px) {
  /* a foto sobe por trás do subtítulo: texto e retrato se sobrepõem */
  .hero-media { --hero-title-overlap: 1.9; }
  .hero-title-note { width: max-content; max-width: calc(100vw - 2 * var(--gutter)); text-shadow: 0 1px 12px rgba(18, 11, 12, .95), 0 0 2px rgba(18, 11, 12, .9); }
}


/* ==========================================================================
   V6 — Dark Luxury Editorial · refinamento de UI/UX
   Camada final: preserva a estrutura da V5 e eleva acabamento, profundidade
   e microinterações. Os tamanhos do título da hero da V5 permanecem intactos.
   ========================================================================== */
:root {
  --grad-marsala: linear-gradient(135deg, #B56B67 0%, #964F4C 52%, #7E3F3D 100%);
  --hair: rgba(150, 79, 76, .3);
  --shadow-deep: 0 40px 90px -40px rgba(0, 0, 0, .85);
  --section-y: clamp(3.75rem, 2.4rem + 5.4vw, 7rem);
  --fs-h2: clamp(2.05rem, 1.35rem + 2.9vw, 3.7rem);
}
html { scroll-padding-bottom: 5.5rem; }
@media (min-width: 1600px) {
  .wrap { max-width: calc(1320px + var(--gutter) * 2); }
}
@media (min-width: 900px) {
  /* grão fino: textura de fotografia analógica, quase imperceptível */
  body::before {
    content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 200px;
  }
}

/* ---------- Detalhes comuns ---------- */
.section { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, var(--hair) 18%, var(--hair) 82%, transparent) 1; }
.eyebrow:not(.eyebrow--line)::before { content: ""; width: 1.6rem; height: 1px; background: var(--rose); flex: none; }
.eyebrow--line::before { background: linear-gradient(90deg, var(--terra), var(--rose-light)); }
h2 { letter-spacing: -.025em; padding-bottom: .06em; }
::selection { background: var(--terra); color: #fff7f4; }

/* ---------- Cabeçalho ---------- */
.site-header { background: linear-gradient(to bottom, rgba(18, 11, 12, .94), rgba(18, 11, 12, .78)); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(181, 107, 103, .6) 50%, transparent);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(18, 11, 12, .93); box-shadow: 0 14px 40px -24px rgba(0, 0, 0, .9); }
.site-header.is-scrolled::after { opacity: 1; }
.header-inner { transition: min-height .35s var(--ease); }
.site-header.is-scrolled .header-inner { min-height: calc(var(--header-h) - .55rem); }
.site-header .brand { transition: opacity .25s var(--ease); }
.site-header .brand:hover { opacity: .85; }
.menu-toggle {
  width: 2.75rem; height: 2.75rem; margin-right: -.15rem;
  border: 1px solid var(--hair); border-radius: 50%;
  background: rgba(150, 79, 76, .08);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: rgba(150, 79, 76, .2); border-color: var(--rose); }
.menu-toggle-bar { width: 20px; }
.menu-toggle-bar:last-child { width: 13px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:last-child { width: 20px; }
.mobile-menu {
  background:
    radial-gradient(90% 55% at 100% 0%, rgba(150, 79, 76, .34), transparent 70%),
    radial-gradient(70% 40% at 0% 100%, rgba(126, 63, 61, .28), transparent 70%),
    var(--bg);
}
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu-list a:hover, .mobile-menu-list a:focus-visible { color: var(--rose-light); }
.mobile-menu-contacts a { font-weight: 500; letter-spacing: .04em; }
@media (min-width: 900px) {
  .nav-desktop ul a { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
  .nav-desktop ul a::after { background: linear-gradient(90deg, var(--terra), var(--rose-light)); }
}
.btn--outline { --btn-bg: rgba(150, 79, 76, .12); --btn-bd: rgba(181, 107, 103, .6); }
.btn--outline:hover {
  background: var(--grad-marsala); border-color: rgba(224, 170, 164, .7);
  box-shadow: 0 12px 28px -12px rgba(150, 79, 76, .9);
}

/* ---------- Hero ---------- */
.hero-lead { color: var(--ink-2); }
.hero-facts { border-top: 1px solid transparent; border-image: linear-gradient(90deg, rgba(181, 107, 103, .55), rgba(241, 233, 231, .05) 75%) 1; }
@media (min-width: 900px) {
  .hero { padding-block: 2rem 4.75rem; }
  .hero-frame { box-shadow: var(--shadow-deep); }
  .hero-frame::before { inset: -.9rem -.9rem .9rem .9rem; border-color: rgba(181, 107, 103, .38); }
  .hero-caption {
    right: auto; left: 1.25rem; bottom: 1.25rem; gap: 1.25rem;
    padding: .7rem 1.05rem;
    background: rgba(18, 11, 12, .55);
    border: 1px solid var(--hair);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .hero-caption span:last-child { color: var(--rose-light); }
}
@media (min-width: 900px) and (min-height: 940px) {
  .hero-frame { height: min(78svh, 780px); }
}
@media (min-width: 1600px) and (min-height: 940px) {
  .hero-frame { height: min(78svh, 800px); }
}
@media (max-width: 899px) {
  .hero-lead { font-size: 1.02rem; }
  .hero .actions .btn--ghost { border-color: rgba(224, 170, 164, .5); }
}

/* ---------- Portfólio ---------- */
.section-head h2 { font-size: var(--fs-h2); }

/* ---------- Sobre ---------- */
.about {
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(150, 79, 76, .2), transparent 65%),
    radial-gradient(50% 60% at 0% 100%, rgba(126, 63, 61, .16), transparent 70%),
    linear-gradient(180deg, var(--bg-2), #160E0F);
}
.about-media::after { content: none; }
.about-media::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  top: -.9rem; left: -.9rem; width: 46%; height: 38%;
  border-top: 1px solid var(--rose); border-left: 1px solid var(--rose);
}
.about-frame { box-shadow: var(--shadow-deep); }
.about-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 11, 12, .55), transparent 40%), linear-gradient(120deg, rgba(150, 79, 76, .18), transparent 50%);
}
.about-media figcaption { display: flex; align-items: center; gap: .8rem; }
.about-media figcaption::before { content: ""; width: 1.8rem; height: 1px; background: var(--rose); flex: none; }
.about-copy h2 { font-size: var(--fs-h2); margin-bottom: 1.5rem; }
.about-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start;
  gap: 1rem clamp(1.25rem, 4vw, 3rem);
  max-width: 32rem; margin: 2rem 0 0; padding-top: 1.35rem;
  border-top: 1px solid transparent; border-image: linear-gradient(90deg, rgba(181, 107, 103, .55), rgba(241, 233, 231, .05) 80%) 1;
}
.about-facts dt { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.about-facts dd { margin-top: .3rem; font-family: var(--font-serif); font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.25; color: var(--ink); }
.about-note { background: linear-gradient(90deg, rgba(150, 79, 76, .14), rgba(18, 11, 12, .35)); border-color: var(--hair); border-left-color: var(--terra); }

/* ---------- Biossegurança ---------- */
.biosafety { background: radial-gradient(55% 45% at 0% 0%, rgba(150, 79, 76, .12), transparent 70%), var(--bg); }
.bio-head h2 em { background: linear-gradient(100deg, #F0C3BD, #D6928C 60%, #B56B67); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-right: .05em; }
.bio-grid { gap: clamp(.85rem, .5rem + 1.2vw, 1.4rem); }
.bio-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(150, 79, 76, .16), transparent 55%),
    linear-gradient(150deg, #231718, #150E0F);
  border-color: rgba(150, 79, 76, .24);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bio-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(224, 170, 164, .65), rgba(150, 79, 76, .15) 60%, transparent);
}
.bio-card-icon {
  width: 3.1rem; height: 3.1rem; padding: .78rem;
  border: 1px solid var(--hair); border-radius: 50%;
  background: rgba(150, 79, 76, .1);
  color: var(--rose-light);
}
.bio-card-number { font-family: var(--font-serif); font-style: italic; font-size: .95rem; letter-spacing: .04em; font-weight: 400; color: var(--rose); }
.bio-card h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); }
@media (hover: hover) { .bio-card:hover { border-color: rgba(181, 107, 103, .55); box-shadow: 0 30px 60px -34px rgba(150, 79, 76, .55); } }
@media (max-width: 719px) { .bio-card p { font-size: 1rem; line-height: 1.75; } .bio-card-top { margin-bottom: 1.5rem; } }
.bio-safety-note { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-left: 2px solid var(--terra); background: rgba(150, 79, 76, .07); }
.bio-details { border-color: var(--hair); }
.bio-details[open] .bio-plus { background: rgba(150, 79, 76, .2); border-color: var(--rose); }
.bio-details[open] .bio-details-content { animation: detailsIn .45s var(--ease-out) both; }
@keyframes detailsIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.bio-details-content h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400; }

/* ---------- Como agendar ---------- */
.steps-section { background: radial-gradient(50% 70% at 50% 0%, rgba(150, 79, 76, .1), transparent 70%), var(--bg); }
.step { border-top-color: var(--hair); }
.step:last-child { border-bottom-color: var(--hair); }
.step-num {
  font-size: clamp(2.8rem, 2.2rem + 2.4vw, 4.6rem); line-height: .85;
  background: linear-gradient(180deg, #E8B6B0 0%, #B56B67 55%, #7E3F3D 110%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: .08em;
}
.step h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
.step p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 759px) {
  .step { grid-template-columns: 4.2rem 1fr; column-gap: .9rem; padding-block: 1.4rem; align-items: start; }
}
@media (min-width: 760px) {
  .steps { gap: 0; border-top: 1px solid var(--hair); }
  .step {
    padding: 2.4rem clamp(1.25rem, 3vw, 3rem) 0;
    border-top: 0; border-left: 1px solid var(--line);
  }
  .step:first-child { border-left: 0; padding-left: 0; }
  .step::before {
    content: ""; position: absolute; top: -4px; left: clamp(1.25rem, 3vw, 3rem);
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--rose); box-shadow: 0 0 0 4px rgba(150, 79, 76, .22);
  }
  .step:first-child::before { left: 0; }
  .step-num { margin-bottom: 1.25rem; }
}

/* ---------- Agendamento ---------- */
.booking {
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(150, 79, 76, .5), transparent 70%),
    radial-gradient(45% 60% at 100% 100%, rgba(126, 63, 61, .32), transparent 70%),
    var(--bg-2);
}
.booking-copy h2 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); line-height: 1.1; padding-bottom: .1em; overflow: visible; }
.contact-card {
  border-color: var(--hair); background: rgba(18, 11, 12, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.contact-card:hover { border-color: var(--rose); background: rgba(150, 79, 76, .28); transform: translateY(-2px); }
.contact-icon { background: rgba(150, 79, 76, .14); border-color: rgba(181, 107, 103, .5); }
.booking-form {
  position: relative; border-radius: 3px;
  background: linear-gradient(165deg, rgba(36, 24, 25, .94), rgba(18, 11, 12, .97));
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-deep);
}
.booking-form::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(224, 170, 164, .8) 30%, rgba(150, 79, 76, .3) 75%, transparent);
}
.form-title { border-bottom-color: var(--hair); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }
.field-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: color .25s var(--ease); }
.field input, .field select {
  border-color: rgba(241, 233, 231, .14); background: rgba(18, 11, 12, .72);
  min-height: 3.3rem;
}
.field input::placeholder { color: #9C8682; }
.field input:hover, .field select:hover { border-color: rgba(181, 107, 103, .55); }
.field input:focus-visible, .field select:focus-visible {
  border-color: var(--rose); background: rgba(36, 24, 25, .9);
  box-shadow: 0 0 0 3px rgba(181, 107, 103, .28);
}
.field:focus-within .field-label { color: var(--rose-light); }
.select-wrap::after { border-color: var(--rose-light); }
.booking-form .btn { min-height: 3.6rem; font-size: .8rem; }

/* ---------- Rodapé ---------- */
.site-footer {
  position: relative;
  background: radial-gradient(60% 100% at 50% 0%, rgba(150, 79, 76, .13), transparent 70%), var(--bg);
  border-top: 1px solid var(--hair);
}
.footer-grid { gap: 2.25rem; padding-bottom: 2.5rem; }
.footer-logo { display: inline-flex; align-items: center; gap: .9rem; }
.footer-logo img { width: 3.2rem; height: 3.2rem; object-fit: contain; flex: none; }
.footer-logo-copy { display: grid; gap: .45rem; line-height: 1.2; }
.footer-logo-copy .brand-name { font-size: 1.55rem; line-height: 1; }
.footer-logo-copy .brand-sub { margin: 0; letter-spacing: .2em; line-height: 1.6; }
.footer-tag { margin-top: 1.1rem; max-width: 24rem; font-size: .92rem; line-height: 1.7; color: var(--ink-3); }
.footer-col { display: grid; gap: .05rem; align-content: start; }
.footer-label { margin-bottom: .55rem; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--rose-light); }
.footer-col a { padding-block: .4rem; font-size: .92rem; color: var(--ink-2); transition: color .25s var(--ease), transform .25s var(--ease); }
.footer-col a:hover { color: var(--rose-light); transform: translateX(3px); }
.footer-contacts a span { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.footer-bottom { border-top-color: var(--hair); }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; justify-content: normal; align-items: start; gap: clamp(2rem, 4vw, 4rem); }
}

/* ---------- Barra fixa mobile ---------- */
.mobile-bar {
  padding: .6rem max(var(--gutter), env(safe-area-inset-right)) max(.6rem, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  background: linear-gradient(to top, rgba(18, 11, 12, .97), rgba(18, 11, 12, .86));
  border-top-color: var(--hair);
  box-shadow: 0 -14px 34px -20px rgba(0, 0, 0, .9);
}
.mobile-bar .btn { min-height: 3rem; }
html.menu-open .mobile-bar { transform: translateY(110%); }

/* ---------- Lightbox ---------- */
.lightbox { background: radial-gradient(80% 55% at 50% 0%, rgba(150, 79, 76, .16), transparent 70%), rgba(10, 7, 7, .97); }
.lightbox-figure img { border: 1px solid var(--hair); }
.lightbox-figure figcaption { font-family: var(--font-serif); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 1rem; color: var(--ink-2); }
.lb-btn { border-color: var(--hair); background: rgba(27, 18, 19, .82); }
.lb-btn:hover { background: var(--grad-marsala); border-color: rgba(224, 170, 164, .6); }

/* ---------- Aparecimento e movimento ---------- */
html.js [data-reveal] { transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
html.js [data-reveal].is-visible { transform: none; }
html.js .bio-grid .bio-card[data-reveal].is-visible:nth-child(2n) { transition-delay: .09s; }
html.js .steps .step[data-reveal].is-visible:nth-child(2) { transition-delay: .1s; }
html.js .steps .step[data-reveal].is-visible:nth-child(3) { transition-delay: .2s; }
@media print { html.js [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* o indicador de rolagem competia com a legenda da foto: removido na V6 */
.scroll-cue { display: none !important; }

.bio-card-top { margin-bottom: clamp(1.4rem, 2vw, 2.1rem); }
.bio-card-icon { padding: .72rem; }
.bio-card-number { font-size: 1.02rem; color: var(--rose-light); }

/* Rodapé e detalhes — ajustes mobile */
.site-footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.footer-logo-copy .brand-sub { letter-spacing: .15em; font-size: .56rem; }
@media (max-width: 759px) {
  .footer-nav { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
  .footer-nav .footer-label { grid-column: 1 / -1; }
  .about-media::before { top: -.55rem; left: -.55rem; }
}
@media (min-width: 760px) {
  .footer-logo-copy .brand-sub { letter-spacing: .2em; font-size: .6rem; }
}

/* Retrato inicial: acabamento da versão publicada, sem modificar o layout. */
@media (min-width: 900px) {
  .hero-frame img:first-child { -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.70) 19%,#000 38%);mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.70) 19%,#000 38%); }
  .hero-frame::after { background:linear-gradient(to top,rgba(18,11,12,.9),transparent 32%),linear-gradient(90deg,rgba(18,11,12,.32),transparent 50%); }
}

/* ==========================================================================
   V16 — Clean Premium · serviços, carrossel e seção +18
   Camada única e consolidada: substitui as camadas V9–V14 de "Serviços" e o
   antigo portfólio em grade/filtros. Mobile-first (iPhone), desktop compatível.
   ========================================================================== */
.services { background: radial-gradient(ellipse at 92% 3%, rgba(150, 79, 76, .10), transparent 30%), var(--bg); }
.services .section-head { margin-bottom: 1.4rem; gap: .9rem; }
.services .section-head h2 { font-size: clamp(1.95rem, 1.35rem + 2.6vw, 3.3rem); }
.services .section-intro { font-size: .93rem; line-height: 1.7; }

/* Índice dos serviços: uma linha rolável no celular */
.service-index {
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: .1rem var(--gutter) .7rem;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
}
.service-index::-webkit-scrollbar { display: none; }
.service-index a {
  flex: none; scroll-snap-align: start;
  padding: .55rem .95rem; border: 1px solid var(--hair); border-radius: 999px;
  font-size: .78rem; letter-spacing: .02em; color: var(--ink-2); white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s, border-color .25s, color .25s;
}
.service-index a:hover, .service-index a:focus-visible { background: rgba(150, 79, 76, .18); border-color: var(--rose); color: var(--ink); }

/* Blocos de serviço: sem caixas aninhadas; apenas um fio e respiro */
.service { min-width: 0; padding-block: 2.3rem; border-top: 1px solid var(--hair); scroll-margin-top: calc(var(--header-h) + .25rem); }
.service-copy { display: grid; gap: .7rem; justify-items: start; min-width: 0; }
.service .eyebrow { font-size: .66rem; }
.service h3 { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem); line-height: 1.15; letter-spacing: -.02em; }
.service p { max-width: 42rem; color: var(--ink-2); font-size: .94rem; line-height: 1.7; }
.service-note { font-size: .84rem !important; color: var(--ink-3) !important; padding-left: .8rem; border-left: 2px solid var(--terra); }
.service-bullets { margin: 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .94rem; line-height: 1.65; display: grid; gap: .3rem; }
.service-bullets li::marker { color: var(--rose-light); }
.service-cta { margin-top: 1.25rem; }
.service-cta .btn { min-height: 2.75rem; padding: .65rem 1.2rem; font-size: .7rem; }
.service-pair { display: grid; }

/* ---------- Carrossel (único componente, usado em todas as galerias) ---------- */
.carousel { --slide-h: clamp(250px, 76vw, 400px); min-width: 0; margin-top: 1.3rem; }
.carousel > .track {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  display: flex; gap: .7rem; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 2px; }
.track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.track.is-dragging .work-media { cursor: grabbing; }
.track .work { position: relative; flex: none; min-width: 0; scroll-snap-align: start; }
.track .work figure { display: block; margin: 0; }
.track .work-media {
  position: relative; display: block; padding: 0; overflow: hidden;
  height: var(--slide-h); width: auto; max-width: calc(100vw - var(--gutter) * 2);
  background: var(--bg-2); border: 1px solid var(--hair); border-radius: 2px;
  cursor: zoom-in; -webkit-tap-highlight-color: transparent;
  transition: border-color .35s var(--ease);
}
.track .work-media img {
  display: block; height: 100%; width: auto; max-width: 100%;
  object-fit: contain; -webkit-user-drag: none; user-select: none;
}
.track .work-media:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 3px; }
@media (hover: hover) { .track .work-media:hover { border-color: var(--rose); } }
/* Legenda: só para leitores de tela e para a janela ampliada */
.track .work-meta { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.car-bar { display: flex; align-items: center; gap: 1rem; margin-top: .85rem; }
.car-bar[hidden] { display: none; }
.car-progress { position: relative; flex: 1; height: 2px; background: rgba(241, 233, 231, .12); border-radius: 2px; overflow: hidden; }
.car-progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: var(--rose); border-radius: 2px; transition: left .18s linear; }
.car-arrows { display: flex; gap: .4rem; }
.car-arrows button {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0;
  border: 1px solid var(--hair); border-radius: 50%; background: transparent; color: var(--ink-2);
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s, border-color .25s, color .25s, opacity .25s;
}
.car-arrows svg { width: 1rem; height: 1rem; }
.car-arrows button:hover:not(:disabled) { background: rgba(150, 79, 76, .22); border-color: var(--rose); color: var(--ink); }
.car-arrows button:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 2px; }
.car-arrows button:disabled { opacity: .3; cursor: default; }
@media (pointer: coarse) { .car-arrows button { width: 2.75rem; height: 2.75rem; } }

/* Anodização: prévia do vídeo compacta */
.service-preview {
  display: flex; align-items: center; gap: .8rem; width: 100%; max-width: 26rem; min-width: 0; text-align: left;
  padding: .5rem; background: var(--bg); color: var(--ink); border: 1px solid var(--hair); cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: border-color .25s, background-color .25s;
}
.service-preview:hover { border-color: var(--rose); background: rgba(150, 79, 76, .1); }
.service-preview:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 3px; }
.service-poster { position: relative; display: block; flex: none; width: 46px; height: 58px; overflow: hidden; background: var(--bg); }
.service-poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.service-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rose); background: rgba(18, 11, 12, .88); color: var(--ink); font-size: .7rem; }
.service-preview strong, .service-preview small { display: block; line-height: 1.35; }
.service-preview strong { font-size: .84rem; font-weight: 600; }
.service-preview small { margin-top: .2rem; font-size: .72rem; color: var(--ink-3); }
.service-preview-arrow { margin-left: auto; padding-right: .4rem; color: var(--rose-light); }

/* Detalhes recolhíveis (registros de avaliação) */
.service-details { margin-top: 1.2rem; border-top: 1px solid var(--hair); padding-top: .4rem; }
.service-details summary { cursor: pointer; padding: .7rem 0; color: var(--rose-light); font-size: .9rem; list-style: none; display: flex; align-items: center; gap: .55rem; }
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::before { content: "+"; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border: 1px solid var(--hair); border-radius: 50%; font-size: .95rem; line-height: 1; }
.service-details[open] summary::before { content: "–"; }
.service-details summary:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 3px; }
.service-details > p { margin: .2rem 0 0; font-size: .84rem; color: var(--ink-3); }

/* ---------- Piercings íntimos · aviso e confirmação +18 ---------- */
.service-private { display: grid; gap: 1.6rem; }
.age-gate { display: grid; gap: .8rem; justify-items: start; padding: 1.25rem; border: 1px solid var(--hair); background: var(--bg-2); min-width: 0; }
.age-gate[hidden], .age-locked[hidden], .age-photo[hidden], .age-status:empty { display: none; }
.age-locked { display: grid; gap: .7rem; justify-items: start; }
.age-lock { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--hair); border-radius: 50%; color: var(--rose-light); }
.age-gate h4 { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.age-gate p { font-size: .88rem; line-height: 1.65; color: var(--ink-2); }
.age-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .3rem; }
.age-actions .btn { min-height: 2.75rem; padding: .6rem 1.1rem; font-size: .7rem; white-space: normal; }
.age-status { font-size: .84rem !important; color: var(--rose-light) !important; }
.age-photo { display: grid; gap: .85rem; justify-items: start; width: 100%; margin: 0; }
.age-photo img { display: block; width: 100%; max-width: 26rem; height: auto; background: var(--bg); border: 1px solid var(--hair); }
.age-photo figcaption { font-size: .78rem; color: var(--ink-3); }

/* Janelas (vídeo) */
.service-modal { position: fixed; inset: 0; margin: auto; width: min(92vw, 560px); max-width: calc(100vw - 24px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--terra); color: var(--ink); background: var(--bg-2); overflow: auto; }
.service-modal::backdrop { background: rgba(12, 8, 8, .92); }
.service-modal-inner { padding: clamp(1rem, 2vw, 1.5rem); display: grid; gap: 1rem; }
.service-modal-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.service-modal-head h3 { margin: .35rem 0 0; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.service-modal-close { flex: none; width: 44px; height: 44px; border: 1px solid var(--terra); color: var(--ink); background: var(--bg); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.service-modal-close:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 3px; }
.service-modal video { display: block; max-height: calc(100dvh - 160px); width: auto; max-width: 100%; margin: auto; object-fit: contain; background: var(--bg); }

/* ---------- Cuidados (biossegurança): cartões compactos no celular ---------- */
@media (max-width: 719px) {
  .bio-head { margin-bottom: 1.6rem; gap: 1rem; }
  .bio-head-aside p { font-size: .95rem; line-height: 1.7; }
  .bio-rule { margin-bottom: 1rem; }
  .bio-grid { gap: .7rem; }
  .bio-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .95rem; align-items: start; padding: 1.05rem 1rem; }
  .bio-card:hover { transform: none; }
  .bio-card-top { grid-row: 1 / span 2; margin: 0; }
  .bio-card-icon { width: 2.5rem; height: 2.5rem; padding: .6rem; }
  .bio-card h3 { margin: .1rem 0 .35rem; font-size: 1.15rem; }
  .bio-card p { font-size: .9rem; line-height: 1.65; }
  .bio-safety-note { margin: 1.4rem 0 1.8rem; padding: .95rem 1rem; font-size: .86rem; line-height: 1.65; }
  .bio-details summary { padding: 1.2rem .2rem; }
  .steps-section .section-head { margin-bottom: 1.2rem; }
}

/* ---------- Telas médias e desktop ---------- */
@media (min-width: 700px) {
  .carousel { --slide-h: 380px; }
}
@media (min-width: 900px) {
  .service-index { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .service { padding-block: 3rem; }
  .carousel > .track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .track .work-media { max-width: 100%; }
  .service-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; padding-block: 0; border-top: 1px solid var(--hair); }
  .service-pair > .service { padding: 2.4rem 0 0; border-top: 0; }
  .service-pair .carousel { --slide-h: 340px; }
  .service-private { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: start; gap: 3rem; }
  .age-gate { padding: 1.6rem; }
}
@media (min-width: 1200px) {
  .carousel { --slide-h: 440px; }
  .service-pair .carousel { --slide-h: 380px; }
}
@media (max-width: 359px) {
  .service-index a { font-size: .74rem; padding: .5rem .8rem; }
  .age-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .car-progress span { transition: none; }
}

/* V17: garante o estado oculto na galeria em todos os motores. */
.age-gate [hidden] { display: none !important; }

/* V18: não reservar espaço para mensagem de carregamento vazia. */
.age-photo [data-age-result]:empty { display: none; }
