/* Tommaso Hair Salon — paleta tirada do próprio salão:
   nogueira (madeira), gesso (paredes), champanhe rosé (monograma), conhaque (couro das cadeiras). */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Fallback";
  src: local("Didot"), local("Bodoni 72"), local("Georgia");
  size-adjust: 96%;
}
@font-face {
  font-family: "Jost Fallback";
  src: local("Futura"), local("Avenir Next"), local("Arial");
  size-adjust: 97%;
}

:root {
  --noz: #16110e;
  --noz-2: #1f1813;
  --noz-3: #2b211b;
  --gesso: #ece4da;
  --gesso-2: #c2b5a8;
  --champ: #dcbca3;
  --champ-claro: #ecd4c0;
  --conhaque: #9a5a35;
  --tinta: #221a15;
  --tinta-2: #4d4139;

  --serif: "Bodoni Moda", "Bodoni Fallback", Georgia, serif;
  --sans: "Jost", "Jost Fallback", system-ui, sans-serif;

  --topo-h: 76px;
  --margem: clamp(20px, 5vw, 88px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noz);
  color: var(--gesso);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 380;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }
address { font-style: normal; }
section[id] { scroll-margin-top: var(--topo-h); }

::selection { background: var(--champ); color: var(--noz); }

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

/* grão editorial (só com mouse: no celular custa repaint no scroll) */
@media (hover: none), (max-width: 799px) { body::after { display: none; } }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- preloader: o monograma se desenha e acende como o letreiro da recepção ---------- */
.pre { display: none; }
html.com-pre:not(.pre-fim) .pre {
  display: block;
  position: fixed; inset: 0; z-index: 150;
  pointer-events: none;
}
html.com-pre:not(.pre-fim) body { overflow: hidden; }
.pre__fundo {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 36% 42% at 50% 46%, rgba(220, 170, 120, .10), transparent 70%),
    var(--noz);
}
.pre__logo {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(22px, 3.4vh, 34px);
}
.pre__monograma { position: relative; width: clamp(96px, 11vw, 150px); aspect-ratio: 264 / 280; }
.pre__tm { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pre__tm--brilho { filter: blur(9px) brightness(1.35); opacity: .55; }
.pre__traco { display: block; width: clamp(140px, 16vw, 210px); height: 1px; background: linear-gradient(90deg, transparent, rgba(236, 228, 218, .85), transparent); }
.pre__nome { width: clamp(200px, 21vw, 290px); height: auto; }

/* a abertura roda em CSS desde o primeiro frame; o JS só comanda a saída */
html.com-pre .pre__tm--linhas path {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: pre-desenho 1.15s cubic-bezier(.65, 0, .35, 1) forwards;
  animation-delay: calc(.12s + var(--i, 0) * 48ms);
}
html.com-pre .pre__tm--brilho { opacity: 0; animation: pre-led .75s linear 1.2s forwards; }
html.com-pre .pre__traco { transform: scaleX(0); animation: pre-traco .75s cubic-bezier(.16, 1, .3, 1) 1.3s forwards; }
html.com-pre .pre__nome { clip-path: inset(0 50% 0 50%); animation: pre-nome .85s cubic-bezier(.16, 1, .3, 1) 1.45s forwards; }
.pre.pre--saida *, .pre.pre--saida path { animation: none !important; }
.pre.pre--saida .pre__tm--linhas path { stroke-dashoffset: 0; }
.pre.pre--saida .pre__tm--brilho { opacity: .7; }
.pre.pre--saida .pre__traco { transform: none; }
.pre.pre--saida .pre__nome { clip-path: none; }
@keyframes pre-desenho { to { stroke-dashoffset: 0; } }
@keyframes pre-led {
  0% { opacity: 0; } 8% { opacity: .9; } 18% { opacity: .12; } 26% { opacity: 1; }
  40% { opacity: .28; } 100% { opacity: .7; }
}
@keyframes pre-traco { to { transform: scaleX(1); } }
@keyframes pre-nome { to { clip-path: inset(0 0 0 0); } }

/* quem volta na mesma visita pula a abertura; o hero fica escondido até o motion montar (trava em 4s no <head>) */
html.retorno:not(.rc-pronto):not(.retorno-fim) .hero__texto { visibility: hidden; }
@media (min-width: 800px) {
  html.retorno:not(.rc-pronto):not(.retorno-fim) .hero__espelho { visibility: hidden; }
}

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--champ); color: var(--noz); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.pular:focus { top: 12px; }

.so-mobile { display: none; }

/* ---------- botões e links ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  background: var(--champ); color: var(--noz);
  font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.botao:hover { background: var(--champ-claro); }
.botao:active { transform: scale(.98); }
.botao--pequeno { min-height: 42px; padding: 0 20px; font-size: 15px; }
.botao--escuro { background: var(--tinta); color: var(--gesso); }
.botao--escuro:hover { background: #3a2c24; }
.botao--escuro:focus-visible { outline-color: var(--tinta); }

.link-sutil {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 16px; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
}
.link-sutil:hover { color: var(--champ-claro); background-size: 0 1px; background-position: 100% calc(100% - 10px); }

.estrelas { color: var(--champ); letter-spacing: .18em; }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topo-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--margem);
  transition: background-color .5s var(--ease), transform .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.topo.solido {
  background: rgba(22, 17, 14, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(220, 188, 163, .12);
}
.topo.oculto { transform: translateY(-100%); }
.marca { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.marca__tm { width: 30px; height: 32px; }
.marca__nome { height: 21px; width: auto; }
.topo__nav { display: flex; gap: clamp(20px, 2.6vw, 40px); margin-left: auto; }
.topo__nav a {
  font-size: 15px; color: var(--gesso-2); text-decoration: none;
  padding: 10px 0; transition: color .3s;
}
.topo__nav a:hover { color: var(--gesso); }

/* ---------- cápsula (os espelhos ovais do salão) ---------- */
.capsula { border-radius: 999px; }
.arco { border-radius: 999px 999px 6px 6px; }
.quadro { border-radius: 6px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: end;
  gap: clamp(24px, 4vw, 72px);
  padding: calc(var(--topo-h) + 5vh) var(--margem) 8vh;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 42% 60% at 80% 55%, rgba(220, 170, 120, .13), transparent 70%);
}
.hero__titulo {
  font-size: clamp(60px, 10vw, 170px); /* "& Propósito" com folga na coluna */
  line-height: .9;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 96;
}
.linha { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.linha > span { display: block; white-space: nowrap; }
.hero__titulo em { font-style: italic; font-weight: 400; }
.hero__sub {
  max-width: 36ch;
  margin-top: 36px;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--gesso-2);
}
.hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 36px; }
.hero__prova { margin-top: 44px; font-size: 14px; color: var(--gesso-2); display: flex; gap: 12px; align-items: center; }

.hero__espelho {
  position: relative;
  justify-self: end;
  align-self: center;
  height: min(78svh, 860px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--noz-3);
  box-shadow: 0 0 0 1px rgba(236, 215, 195, .22), 0 40px 140px -30px rgba(255, 196, 140, .28);
}
.hero__espelho::after {
  content: "";
  position: absolute; inset: 12px;
  border-radius: inherit;
  border: 1px solid rgba(255, 236, 214, .55);
  box-shadow: 0 0 22px rgba(255, 220, 180, .3), inset 0 0 22px rgba(255, 220, 180, .22);
  pointer-events: none;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }

.midia-pausa {
  position: absolute; left: 50%; bottom: 6%; z-index: 2;
  width: 44px; height: 44px; margin-left: -22px;
  border-radius: 50%;
  border: 1px solid rgba(236, 228, 218, .4);
  background: rgba(22, 17, 14, .58);
  color: var(--gesso);
  display: grid; place-items: center;
  cursor: pointer;
}
.midia-pausa svg { width: 18px; height: 18px; fill: currentColor; }
.midia-pausa .i-play { display: none; }
.midia-pausa.pausado .i-play { display: block; }
.midia-pausa.pausado .i-pausa { display: none; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(120px, 20vh, 240px) var(--margem); }
.manifesto__frase {
  max-width: 17ch;
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 92px);
  line-height: 1.06;
  letter-spacing: -.015em;
  font-variation-settings: "opsz" 80;
}

/* ---------- entre: estado final sem motion (texto e depois o salão) ---------- */
.entre {
  position: relative;
  /* geometria do espelho inicial (mesmos valores no clip-path do JS e no aro) */
  --cap-t: 11%; --cap-r: 17%; --cap-b: 11%; --cap-l: 57%;
}
.entre__palco { position: relative; }
.entre__falas {
  display: grid; gap: 28px;
  padding: clamp(80px, 12vh, 140px) var(--margem) clamp(56px, 8vh, 96px);
  max-width: calc(13ch + 2 * var(--margem));
}
.entre__fala {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -.012em;
}
.entre__espelho { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--noz-3); }
.entre__espelho img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.entre__aro { display: none; }
/* legenda direto na foto, sobre um degradê de nogueira (sem caixa) */
.entre__sombra {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: 2;
  background: linear-gradient(0deg, rgba(22, 17, 14, .92) 0%, rgba(22, 17, 14, .7) 32%, rgba(22, 17, 14, .25) 62%, rgba(22, 17, 14, 0) 100%);
  pointer-events: none;
}
.entre__legenda {
  position: absolute; left: var(--margem); bottom: 9vh; z-index: 3;
  max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.cta-zona { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; pointer-events: none; }

/* entre com motion: palco escuro fixo, o espelho com anel de LED se abre até a tela toda */
.entre.ativo { height: 360vh; }
.entre.ativo .entre__palco {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse 30% 55% at calc(var(--cap-l) + (100% - var(--cap-l) - var(--cap-r)) / 2) 50%, rgba(220, 170, 120, .16), transparent 70%), var(--noz);
}
.entre.ativo .entre__falas {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
  display: block; padding: 0 var(--margem);
  width: calc(var(--cap-l) - 2vw); max-width: none;
}
.entre.ativo .entre__fala { position: absolute; left: var(--margem); right: 0; top: 50%; margin-top: -1.1em; max-width: 12ch; }
/* a janela é uma caixa com border-radius + overflow (o Safari do iPhone perde o arredondamento de clip-path
   em camada de GPU); o JS move/redimensiona a caixa e contrapõe a foto, que fica presa ao palco */
.entre.ativo .entre__espelho {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1;
  overflow: hidden; border-radius: 999px; background: none;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translate3d(0, 0, 0);
}
.entre.ativo .entre__espelho picture { position: absolute; left: 0; top: 0; }
.entre.ativo .entre__espelho img { transform-origin: calc(var(--cap-l) + (100% - var(--cap-l) - var(--cap-r)) / 2) 50%; will-change: transform; }
.entre.ativo .entre__aro {
  display: block; position: absolute; z-index: 2; pointer-events: none;
  top: var(--cap-t); right: var(--cap-r); bottom: var(--cap-b); left: var(--cap-l);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(236, 215, 195, .25), 0 40px 140px -30px rgba(255, 196, 140, .35);
}
.entre.ativo .entre__aro::after {
  content: ""; position: absolute; inset: 11px; border-radius: inherit;
  border: 1px solid rgba(255, 236, 214, .6);
  box-shadow: 0 0 22px rgba(255, 220, 180, .35), inset 0 0 22px rgba(255, 220, 180, .25);
}

/* ---------- o espaço (tour) ---------- */
.espaco { padding: clamp(100px, 14vh, 160px) 0 clamp(80px, 12vh, 140px); }
.espaco__cabeca { padding: 0 var(--margem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px; }
.espaco__cabeca h2 { font-size: clamp(44px, 5.4vw, 88px); line-height: 1; letter-spacing: -.02em; }
.espaco__cabeca p { font-size: 20px; color: var(--gesso-2); }
.espaco__dica { display: none; width: 100%; font-size: 14px !important; color: var(--champ) !important; }

.trilho {
  display: flex; align-items: center; gap: clamp(24px, 3.4vw, 56px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 48px var(--margem) 24px;
  scrollbar-width: none;
}
.trilho::-webkit-scrollbar { display: none; }
.parada { flex: 0 0 auto; scroll-snap-align: center; }
.parada figcaption { margin-top: 16px; font-size: 14px; color: var(--gesso-2); max-width: 26ch; }
.moldura { position: relative; overflow: hidden; background: var(--noz-3); }
.moldura img, .moldura video { width: 100%; height: 100%; object-fit: cover; }
.parada--alta .moldura { height: min(64vh, 640px); aspect-ratio: 3 / 5; }
.parada--baixa { align-self: flex-end; }
.parada--baixa .moldura { height: min(50vh, 500px); aspect-ratio: 3 / 4; }
.parada--media .moldura { height: min(40vh, 400px); aspect-ratio: 1; }
.parada--texto { width: clamp(240px, 21vw, 330px); align-self: center; padding-right: 8px; }
.parada--texto h3 { font-size: clamp(40px, 3.6vw, 60px); line-height: 1; font-style: italic; letter-spacing: -.01em; }
.parada--texto p { margin-top: 18px; font-size: 19px; color: var(--gesso-2); }
.capsula.moldura::after, .arco.moldura::after {
  content: ""; position: absolute; inset: 9px; border-radius: inherit;
  border: 1px solid rgba(255, 236, 214, .38);
  pointer-events: none;
}

.espaco.ativo { padding: 0; }
.espaco.ativo .espaco__fixo {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.espaco.ativo .espaco__dica { display: none; }
.espaco.ativo .trilho { overflow: visible; scroll-snap-type: none; width: max-content; }
.espaco.ativo .moldura img, .espaco.ativo .moldura video { width: 116%; max-width: none; margin-left: -8%; }

/* ---------- serviços (a única seção clara) ---------- */
.servicos {
  position: relative;
  background: var(--gesso);
  color: var(--tinta);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 32px clamp(40px, 7vw, 120px);
  padding: 120px var(--margem);
}
.servicos__cabeca { align-self: start; position: sticky; top: calc(var(--topo-h) + 32px); }
.servicos__cabeca h2 { font-size: clamp(52px, 6.4vw, 104px); line-height: .95; letter-spacing: -.02em; }
.servicos__cabeca > p { margin-top: 20px; font-size: 20px; }
.servicos__cabeca .servicos__marcas { margin-top: 28px; font-size: 15px; color: var(--tinta-2); max-width: 30ch; }
.servicos__lista { list-style: none; margin: 0; padding: 0; }
.servico {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 8px 32px;
  align-items: baseline;
  padding: 30px 0;
  border-top: 1px solid rgba(34, 26, 21, .16);
}
.servico:last-child { border-bottom: 1px solid rgba(34, 26, 21, .16); }
.servico h3 { font-size: clamp(28px, 2.6vw, 42px); line-height: 1.05; letter-spacing: -.01em; transition: transform .5s var(--ease); }
.servico p { font-size: 17px; color: var(--tinta-2); }
.servicos__cta { grid-column: 2; margin-top: 16px; }
.servicos__previa {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: 210px; aspect-ratio: 3 / 4.4;
  border-radius: 999px; overflow: hidden;
  pointer-events: none;
  opacity: 0; visibility: hidden;
  box-shadow: 0 30px 60px -20px rgba(34, 26, 21, .5);
}
.servicos__previa img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .servico:hover h3 { transform: translateX(12px); }
}

/* ---------- resultados ---------- */
.resultados { padding: clamp(110px, 16vh, 180px) var(--margem) 60px; overflow: hidden; }
.resultados__cabeca {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 48px; align-items: end;
}
.resultados__cabeca h2 { font-size: clamp(56px, 8vw, 132px); line-height: .9; letter-spacing: -.025em; grid-row: span 2; }
.resultados__cabeca p { max-width: 34ch; color: var(--gesso-2); }
.resultados__cabeca .link-sutil { justify-self: start; }
.colunas {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
  margin-top: clamp(56px, 8vh, 96px);
  align-items: start;
}
.coluna { display: flex; flex-direction: column; gap: clamp(12px, 2vw, 28px); }
.coluna:nth-child(2) { margin-top: 14vh; }
.coluna:nth-child(3) { margin-top: 5vh; }
.coluna img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: var(--noz-3); }

/* ---------- fundadores ---------- */
.fundadores {
  background: var(--noz-2);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(48px, 7vw, 120px);
  align-items: center;
  padding: clamp(110px, 16vh, 180px) var(--margem);
}
.fundadores__fotos { position: relative; padding-bottom: 10%; }
.fundadores__principal { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 6px 6px; background: var(--noz-3); }
.fundadores__principal img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.fundadores__equipe {
  position: absolute; right: -4%; bottom: 0; width: 40%;
}
.fundadores__equipe img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 4px 4px; border: 6px solid var(--noz-2); }
.fundadores__equipe figcaption { margin-top: 10px; font-size: 13px; color: var(--gesso-2); line-height: 1.4; }
.fundadores__texto h2 { font-size: clamp(48px, 5.6vw, 92px); line-height: .95; letter-spacing: -.02em; margin-bottom: 36px; }
.fundadores__texto p { max-width: 44ch; }
.fundadores__texto p + p { margin-top: 18px; }
.fundadores__perfis { display: flex; gap: 28px; margin-top: 32px !important; }
.fundadores__perfis a { color: var(--champ); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.fundadores__perfis a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- avaliações ---------- */
.avaliacoes {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "nota video" "lista video";
  gap: 56px clamp(48px, 7vw, 120px);
  padding: clamp(110px, 16vh, 180px) var(--margem);
}
.avaliacoes__nota { grid-area: nota; }
.avaliacoes__nota h2 { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 24px; }
.nota { font-size: clamp(120px, 15vw, 240px); line-height: .78; letter-spacing: -.04em; font-variation-settings: "opsz" 96; }
.nota__rotulo { font-family: var(--sans); font-size: 20px; color: var(--gesso-2); max-width: 14ch; line-height: 1.35; padding-bottom: 8px; }
.estrelas--grande { display: block; margin-top: 18px; font-size: 22px; }
.depoimento-video { grid-area: video; justify-self: end; width: min(400px, 100%); }
.depoimento-video__moldura { position: relative; aspect-ratio: 9 / 16; border-radius: 999px 999px 12px 12px; overflow: hidden; background: var(--noz-3); }
.depoimento-video__moldura video { width: 100%; height: 100%; object-fit: cover; }
.depoimento-video__play {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px 0 16px;
  border-radius: 999px; border: 1px solid rgba(236, 228, 218, .45);
  background: rgba(22, 17, 14, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--gesso); font: 500 15px/1 var(--sans);
  cursor: pointer; white-space: nowrap;
}
.depoimento-video__play svg { width: 18px; height: 18px; fill: currentColor; }
.depoimento-video figcaption { margin-top: 14px; font-size: 14px; color: var(--gesso-2); }
.avaliacoes__lista { grid-area: lista; list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.avaliacoes__lista li { padding-top: 28px; border-top: 1px solid rgba(220, 188, 163, .22); }
.avaliacoes__lista blockquote { margin: 0; }
.avaliacoes__lista blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.42; max-width: 40ch; }
.autora { margin-top: 14px !important; font-size: 14px; color: var(--gesso-2); }

/* ---------- visite ---------- */
.visite {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px clamp(48px, 8vw, 140px);
  align-items: center;
  padding: clamp(100px, 14vh, 160px) var(--margem);
  background: var(--noz-2);
}
.visite__foto { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--noz-3); }
.visite__foto img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.visite__texto h2 { font-size: clamp(44px, 5vw, 84px); line-height: .98; letter-spacing: -.02em; max-width: 12ch; }
.visite__texto address { margin-top: 36px; font-size: 20px; line-height: 1.55; }
.horarios { margin-top: 36px; width: 100%; max-width: 440px; border-collapse: collapse; font-size: 17px; }
.horarios caption { text-align: left; font-size: 14px; color: var(--gesso-2); padding-bottom: 10px; }
.horarios th, .horarios td { padding: 11px 0; border-bottom: 1px solid rgba(220, 188, 163, .18); }
.horarios th { text-align: left; font-weight: 380; }
.horarios td { text-align: right; color: var(--gesso-2); font-variant-numeric: tabular-nums; }
.visite__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 40px; }
.visite__contato { margin-top: 20px; font-size: 15px; color: var(--gesso-2); }
.visite__contato a { color: var(--gesso); text-underline-offset: 4px; }

/* ---------- rodapé ---------- */
.rodape { text-align: center; padding: 100px var(--margem) calc(64px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 18px; }
.rodape__tm { width: 54px; height: 58px; }
.rodape__nome { height: 32px; width: auto; }
.rodape > p:first-of-type { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--champ); }
.rodape__meta { font-size: 14px; color: var(--gesso-2); }
.rodape__meta a { margin-left: 14px; color: var(--gesso); text-underline-offset: 4px; }


/* ---------- botão flutuante: canto inferior direito, só nos pontos de decisão ---------- */
.cta-flutuante {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--champ); color: var(--noz);
  font-size: 15px; font-weight: 500; text-decoration: none;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 236, 214, .25) inset;
  opacity: 0; visibility: hidden;
  transform: translateY(18px) scale(.92);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear .55s, background-color .3s;
}
.cta-flutuante svg { width: 20px; height: 20px; fill: currentColor; }
.cta-flutuante:hover { background: var(--champ-claro); }
.cta-flutuante.visivel {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s, background-color .3s;
}

/* ---------- som ---------- */
.som {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 42px; min-width: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(220, 188, 163, .35);
  background: transparent; color: var(--gesso);
  font: 400 14px/1 var(--sans);
  cursor: pointer;
  transition: border-color .3s, background-color .3s;
}
.som:hover { border-color: var(--champ); }
.som[aria-pressed="true"] { background: rgba(220, 188, 163, .12); border-color: var(--champ); }
.som__barras { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.som__barras i { display: block; width: 2px; height: 14px; border-radius: 1px; background: var(--champ); transform-origin: bottom; transform: scaleY(.3); transition: transform .4s var(--ease); }
.som[aria-pressed="true"] .som__barras i { animation: equalizador 1.1s ease-in-out infinite alternate; }
.som[aria-pressed="true"] .som__barras i:nth-child(2) { animation-delay: -.35s; animation-duration: .9s; }
.som[aria-pressed="true"] .som__barras i:nth-child(3) { animation-delay: -.7s; animation-duration: 1.3s; }
.som[aria-pressed="true"] .som__barras i:nth-child(4) { animation-delay: -.2s; animation-duration: 1s; }
@keyframes equalizador { 0% { transform: scaleY(.25); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.45); } }
.som-grupo { position: relative; display: inline-flex; }
.som__dica {
  position: absolute; top: calc(100% + 10px); left: 50%; margin-left: -48px; width: 96px; text-align: center;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(31, 24, 19, .92); color: var(--gesso);
  border: 1px solid rgba(220, 188, 163, .3);
  font-size: 13px; white-space: nowrap;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.som__dica.visivel { opacity: 1; transform: none; }
.topo__nav + .som-grupo { margin-left: 8px; }
.som-grupo + .botao { margin-left: -12px; }

/* ---------- toque (celular e tablet): desfoque de fundo custa um quadro a cada scroll no Safari do iPhone ---------- */
@media (hover: none), (max-width: 799px) {
  .topo.solido { background: rgba(22, 17, 14, .95); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .depoimento-video__play { background: rgba(22, 17, 14, .72); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- celular ---------- */
@media (max-width: 899px) {
  .topo__nav { display: none; }
}
@media (max-width: 799px) {
  :root { --topo-h: 64px; }
  body { font-size: 17px; }
  .so-desktop { display: none !important; }
  .so-mobile { display: inline; }
  .marca__tm { width: 26px; height: 28px; }
  .marca__nome { height: 17px; }
  .som-grupo { margin-left: auto; }
  .som { padding: 0; width: 44px; justify-content: center; }
  .som__rotulo { display: none; }
  .som-grupo + .botao { margin-left: 0; }
  .topo { gap: 10px; }
  .cta-flutuante { min-height: 50px; padding: 0 20px 0 16px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    padding: 0 var(--margem) calc(28px + env(safe-area-inset-bottom));
    align-items: end;
  }
  .hero__espelho {
    position: absolute; inset: 0; z-index: -1;
    height: 100%; width: 100%; aspect-ratio: auto;
    border-radius: 0; box-shadow: none;
  }
  .hero__espelho::after { display: none; }
  .hero__espelho::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(0deg, rgba(22, 17, 14, .97) 0%, rgba(22, 17, 14, .86) 40%, rgba(22, 17, 14, .45) 62%, rgba(22, 17, 14, .1) 78%, rgba(22, 17, 14, .5) 100%);
  }
  .hero::before { display: none; }
  .hero__texto { padding-top: 44svh; }
  .hero__titulo { font-size: clamp(46px, 16.6vw, 84px); } /* "& Propósito" cabe numa linha até em 320px */
  .hero__sub { margin-top: 20px; font-size: 17px; }
  .hero__acoes { margin-top: 26px; }
  .hero__acoes .botao { flex: 1 1 100%; }
  .hero__prova { margin-top: 22px; font-size: 13px; }
  .midia-pausa { left: var(--margem); right: auto; top: calc(var(--topo-h) + 14px); bottom: auto; margin: 0; width: 34px; height: 34px; z-index: 3; opacity: .8; }
  .midia-pausa svg { width: 13px; height: 13px; }
  /* o bloco de texto cobre o vídeo: deixa o clique passar, menos nos links */
  .hero__texto { pointer-events: none; }
  .hero__texto a, .hero__texto button { pointer-events: auto; }

  .entre { --cap-t: 40%; --cap-r: 19%; --cap-b: 6%; --cap-l: 19%; }
  .entre.ativo .entre__falas { width: 100%; }
  .entre.ativo .entre__fala { top: calc(var(--topo-h) + 4svh); margin-top: 0; max-width: 14ch; }
  .espaco__dica { display: block; }
  .entre__legenda { right: var(--margem); bottom: calc(96px + env(safe-area-inset-bottom)); font-size: 30px; max-width: 16ch; }
  .entre__sombra { height: 80%; background: linear-gradient(0deg, rgba(22, 17, 14, .95) 0%, rgba(22, 17, 14, .84) 42%, rgba(22, 17, 14, .45) 66%, rgba(22, 17, 14, 0) 100%); }

  .parada--alta .moldura { height: 60svh; }
  .parada--baixa { align-self: center; }
  .parada--baixa .moldura { height: 48svh; }
  .parada--texto { width: 72vw; }
  .espaco.ativo .espaco__cabeca { padding-top: calc(var(--topo-h) + 8px); }
  .espaco.ativo .espaco__cabeca h2 { font-size: 40px; }
  .espaco.ativo .espaco__cabeca p { font-size: 17px; }
  .espaco.ativo .trilho { padding-top: 28px; padding-bottom: 12px; gap: 22px; }
  .espaco.ativo .parada--alta .moldura { height: 50svh; }
  .espaco.ativo .parada--baixa .moldura { height: 40svh; }
  .espaco.ativo .parada--media .moldura { height: 30svh; }
  .espaco.ativo .parada--texto { width: 64vw; }
  .espaco.ativo .moldura img, .espaco.ativo .moldura video { width: 100%; margin-left: 0; }

  .servicos { grid-template-columns: 1fr; padding: 88px var(--margem); }
  .servicos__cabeca { position: static; }
  .servico { grid-template-columns: 1fr; padding: 24px 0; }
  .servicos__cta { grid-column: 1; }
  .servicos__cta .botao { width: 100%; }

  .resultados__cabeca { grid-template-columns: 1fr; }
  .resultados__cabeca h2 { grid-row: auto; }
  .colunas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coluna:nth-child(2) { margin-top: 10vh; }

  .fundadores { grid-template-columns: 1fr; }
  .fundadores__fotos { padding-bottom: 18%; margin-right: 8%; }
  .fundadores__equipe { right: -10%; width: 46%; }

  .avaliacoes { grid-template-columns: 1fr; grid-template-areas: "nota" "video" "lista"; }
  .depoimento-video { justify-self: center; width: min(360px, 100%); }

  .visite { grid-template-columns: 1fr; }
  .visite__foto { width: 88%; }
  .visite__acoes .botao { flex: 1 1 100%; }

  .rodape { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
