/* =========================================================
   Dona Crespa — prévia comercial
   Tokens: Manual de Identidade Visual v1.0 (pág. 12)
   ========================================================= */
:root {
  /* paleta oficial */
  --dc-terracota: #8E4630;
  --dc-profundo: #572716;
  --dc-argila: #A8624A;
  --dc-luz: #F3D9A4;
  --dc-areia: #D2C4AF;
  --dc-linho: #E4D6C0;
  --dc-creme: #F6F1E9;
  --dc-verde: #4F5B3A;
  --dc-cafe: #2A1810;

  /* derivados (somente mistura da paleta oficial) */
  --dc-cafe-suave: #574840; /* color-mix(in srgb, var(--dc-cafe) 78%, var(--dc-creme)) */
  --dc-creme-suave: #d9cdc3; /* color-mix(in srgb, var(--dc-creme) 82%, var(--dc-profundo)) */
  --dc-creme-linha: rgba(246, 241, 233, 0.18); /* color-mix(in srgb, var(--dc-creme) 18%, transparent) */

  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-input: 12px;
  --radius-arco: 999px 999px var(--radius-card) var(--radius-card);

  --shadow-card: 0 12px 32px rgba(87, 39, 22, .12);

  /* espaçamento base 8px */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px;
  --secao: var(--s8);
  --gutter: 20px;
  --topo: 64px;

  /* tipografia (mobile) */
  --h1: clamp(2rem, 10.4vw, 2.5rem);
  --h2: 1.875rem;
  --h3: 1.25rem;
  --corpo: 1rem;

  /* movimento */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-suave: cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 960px) {
  :root {
    --secao: var(--s12);
    --gutter: 40px;
    --topo: 76px;
    --h1: 4rem;
    --h2: 2.75rem;
    --h3: 1.5rem;
    --corpo: 1.0625rem;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--topo); }
body {
  margin: 0;
  background: var(--dc-creme);
  color: var(--dc-cafe);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--corpo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; text-wrap: balance; }
h2 { font-size: var(--h2); line-height: 1.1; color: var(--dc-terracota); }
h3 { font-size: var(--h3); font-weight: 600; line-height: 1.25; color: var(--dc-profundo); }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible {
  outline: 3px solid var(--dc-luz);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--dc-profundo);
  border-radius: 4px;
}

.sr-only {
  position: absolute; 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: var(--s2); top: var(--s2); z-index: 100;
  background: var(--dc-luz); color: var(--dc-profundo);
  padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 500; text-decoration: none;
  transform: translateY(calc(-100% - 40px));
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }


/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: .9375rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease-suave), color .3s var(--ease-suave), border-color .3s var(--ease-suave), transform .2s var(--ease);
}
.botao:active { transform: scale(.97); }
a:not([href]) { cursor: default; }
.botao svg { width: 20px; height: 20px; flex: none; }
.botao--compacto { min-height: 44px; padding: 0 20px; font-size: .875rem; }
.botao--largo { width: 100%; }
.botao--luz { background: var(--dc-luz); color: var(--dc-profundo); }
.botao--terracota { background: var(--dc-terracota); color: var(--dc-creme); }
.botao--contorno { border-color: rgba(142, 70, 48, 0.55); color: var(--dc-terracota); }
@media (hover: hover) { .botao--contorno:hover { background: var(--dc-terracota); border-color: var(--dc-terracota); color: var(--dc-creme); } }
.botao--contorno-claro { border-color: rgba(243, 217, 164, 0.55); color: var(--dc-luz); }
@media (hover: hover) {
  .botao--luz:hover { background: var(--dc-creme); }
  .botao--terracota:hover { background: var(--dc-profundo); }
  .botao--contorno-claro:hover { border-color: var(--dc-luz); background: rgba(243, 217, 164, 0.1); }
}

.link-seta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--dc-terracota); font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
}
@media (hover: hover) { .link-seta:hover { background-size: 0 1px; background-position: 100% calc(100% - 8px); } }

/* ---------- elementos da marca ---------- */
.linha-luz {
  display: block; width: 3px; border-radius: 3px;
  background: var(--dc-luz);
}
.secao--creme .linha-luz, .secao--linho .linha-luz { background: var(--dc-argila); }

.traco-divisor { display: block; width: 168px; height: 28px; margin-top: var(--s4); overflow: visible; }
.traco-divisor path { fill: none; stroke: var(--dc-argila); stroke-width: 1.4; stroke-linecap: round; }

.espelho {
  position: relative; aspect-ratio: 3 / 5;
  border-radius: var(--radius-pill); padding: 9px;
  background: var(--dc-cafe);
}
.espelho::after {
  content: ""; position: absolute; inset: 4px; border-radius: inherit; pointer-events: none;
  border: 1.5px solid var(--dc-luz);
}
.espelho img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-pill); }
.espelho--claro { background: var(--dc-profundo); }

/* ---------- marca (assinatura de apoio) ---------- */
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dc-creme); min-height: 44px; }
.marca__emblema { width: 32px; height: 32px; color: var(--dc-luz); flex: none; }
.marca__texto { display: flex; flex-direction: column; line-height: 1; }
/* o nome é o letreiro do logo oficial (assets/nome-dona-crespa.svg, vetorizado do logo que a Dona Crespa mandou em 23/11/2026);
   o texto continua no HTML para leitores de tela e a altura vem de --nome-h (a perna do "p" para logo acima da assinatura) */
.marca__nome {
  --nome-h: 36px;
  position: relative; display: block; height: var(--nome-h); aspect-ratio: 1150 / 312; font-size: 0; color: inherit;
  margin-bottom: calc(var(--nome-h) * -.22);
}
.marca__nome::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  -webkit-mask: url("./assets/nome-dona-crespa.svg") center / contain no-repeat;
  mask: url("./assets/nome-dona-crespa.svg") center / contain no-repeat;
}
/* a assinatura fica colada embaixo de "Dona Cres", antes da perna do "p": por isso é curta (espaçamento pequeno) */
.marca__assinatura { position: relative; white-space: nowrap; padding-left: 4px; font-size: .6875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--dc-luz); }
.marca--grande { gap: 12px; }
.marca--grande .marca__emblema { width: 54px; height: 54px; }
.marca--grande .marca__nome { --nome-h: 52px; }
.marca--grande .marca__assinatura { font-size: .75rem; }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topo);
  color: var(--dc-creme);
  transition: background-color .4s var(--ease-suave), box-shadow .4s var(--ease-suave);
}
.topo.rolou { background: var(--dc-profundo); box-shadow: 0 1px 0 var(--dc-creme-linha); }
.topo__barra { height: 100%; display: flex; align-items: center; gap: var(--s2); }
.topo__barra .marca { margin-right: auto; }
.topo__nav { display: none; }
.topo__cta { gap: 0; }
.topo__cta .so-largo { display: none; white-space: pre; }
.topo__menu {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  background: rgba(246, 241, 233, .06); border: 1px solid rgba(243, 217, 164, 0.55); border-radius: 50%;
  color: var(--dc-creme); cursor: pointer; transition: background-color .3s, border-color .3s;
}
.topo__menu:hover { background: rgba(246, 241, 233, .12); border-color: var(--dc-luz); }
.topo__menu-linhas, .topo__menu-linhas::before {
  display: block; width: 20px; height: 1.75px; background: currentColor; border-radius: 2px; position: relative;
}
.topo__menu-linhas { transform: translateY(-3.5px); }
.topo__menu-linhas::before { content: ""; position: absolute; top: 7px; width: 13px; right: 0; background: var(--dc-luz); }

/* marca na barra: assinatura legível e emblema com mais presença */
.topo .marca__emblema { width: 36px; height: 36px; }
.topo .marca__nome { --nome-h: 38px; }
.topo .marca__assinatura { font-size: .6rem; letter-spacing: .01em; }
@media (max-width: 559px) {
  /* nome menor no celular: a assinatura sobe mais para passar antes da perna do "p" */
  .topo .marca__nome { margin-bottom: calc(var(--nome-h) * -.27); }
}
.topo__barra { gap: 12px; }
.topo__cta { padding: 0 16px; }

/* celular: a barra tem de caber em 320 px sem estourar; a assinatura só entra quando há espaço */
@media (max-width: 399px) {
  .marca { gap: 8px; }
  .topo .marca__emblema { width: 34px; height: 34px; }
}
@media (max-width: 379px) {
  .topo .marca__assinatura { display: none; }
  /* sem a assinatura, o corpo das letras (sem a perna do "p") fica no meio do símbolo */
  .topo .marca__nome { --nome-h: 33px; margin-bottom: 0; transform: translateY(calc(var(--nome-h) * .16)); }
}
@media (max-width: 339px) {
  .topo .marca__emblema { display: none; }
  .topo__barra { gap: 10px; }
}
@media (min-width: 400px) {
  .topo__barra { gap: 14px; }
}
@media (min-width: 560px) {
  .topo__cta .so-largo { display: inline; }
  .topo__cta { padding: 0 20px; }
  .topo .marca { gap: 10px; }
  .topo .marca__emblema { width: 50px; height: 50px; }
  .topo .marca__nome { --nome-h: 52px; }
  .topo .marca__assinatura { font-size: .6875rem; letter-spacing: .06em; }
}
@media (min-width: 960px) {
  .topo__barra { gap: var(--s2); }
  .topo__nav { display: flex; gap: var(--s5); margin-right: var(--s3); }
  .topo__nav a {
    font-size: .9375rem; font-weight: 500; letter-spacing: .01em; text-decoration: none; color: var(--dc-creme-suave);
    padding: 16px 0; position: relative; transition: color .3s;
  }
  /* indicador: fio dourado + um cacho (laço) sobre ele, na seção atual */
  .topo__nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--dc-luz);
    transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
  }
  .topo__nav a::before {
    content: ""; position: absolute; left: 50%; bottom: 4px; width: 26px; height: 13px; margin-left: -13px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 18' fill='none' stroke='%23F3D9A4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 16.500H10C15 16.500 18 15.500 17.500 12 17 8 14.500 4.500 17.500 2.500 21 .5 24 4.500 21 9 19 12 19.500 16.500 26 16.500H36'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    opacity: 0; transform: translateY(3px) scale(.8); transform-origin: 50% 100%;
    transition: opacity .35s var(--ease), transform .45s var(--ease);
  }
  .topo__nav a:hover, .topo__nav a[aria-current] { color: var(--dc-creme); }
  .topo__nav a:hover::after, .topo__nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
  .topo__nav a[aria-current]::before { opacity: 1; transform: none; }
  .topo__menu { display: none; }
  .topo__nav a { white-space: nowrap; }
}
/* desktop estreito: cinco links + marca + botão precisam caber numa linha */
@media (min-width: 960px) and (max-width: 1199px) {
  .topo__nav { gap: var(--s3); margin-right: var(--s1); }
}
@media (min-width: 960px) and (max-width: 1023px) {
  .topo__cta .so-largo { display: none; }
}

/* ---------- menu móvel ---------- */
.menu-movel {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  background: var(--dc-profundo); color: var(--dc-creme);
  overflow-y: auto; overscroll-behavior: contain;
  /* abre como um círculo que cresce a partir do botão do menu */
  clip-path: circle(0px at var(--cx, 88%) var(--cy, 32px));
  transition: clip-path .7s cubic-bezier(.7, 0, .25, 1);
}
.menu-movel.aberto { clip-path: circle(170vmax at var(--cx, 88%) var(--cy, 32px)); }
.menu-movel[hidden] { display: none; }
.menu-movel__topo { height: var(--topo); flex: none; display: flex; align-items: center; justify-content: space-between; }
.menu-movel__fechar {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 217, 164, 0.55);  background: rgba(246, 241, 233, .06); color: var(--dc-creme); font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.menu-movel__nav { display: flex; flex-direction: column; margin-top: var(--s2); flex: none; }
.menu-movel__nav a {
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 6px 0;
  border-bottom: 1px solid var(--dc-creme-linha); color: var(--dc-creme); text-decoration: none;
  transform: translateY(16px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s;
}
.menu-movel.aberto .menu-movel__nav a { transform: none; opacity: 1; }
.menu-movel.aberto .menu-movel__nav a:nth-child(1) { transition-delay: .18s, .18s, 0s; }
.menu-movel.aberto .menu-movel__nav a:nth-child(2) { transition-delay: .24s, .24s, 0s; }
.menu-movel.aberto .menu-movel__nav a:nth-child(3) { transition-delay: .30s, .30s, 0s; }
.menu-movel.aberto .menu-movel__nav a:nth-child(4) { transition-delay: .36s, .36s, 0s; }
.menu-movel.aberto .menu-movel__nav a:nth-child(5) { transition-delay: .42s, .42s, 0s; }
.menu-movel.aberto .menu-movel__nav a:nth-child(6) { transition-delay: .48s, .48s, 0s; }
.menu-movel__nome { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; }
.menu-movel__seta { width: 22px; height: 22px; flex: none; margin-left: auto; color: var(--dc-luz); opacity: .55; transition: transform .4s var(--ease), opacity .3s; }
.menu-movel__nav a[aria-current] { color: var(--dc-luz); }
.menu-movel__nav a[aria-current] .menu-movel__seta { opacity: 1; transform: translate(3px, -3px); }
.menu-movel__nav a:active { color: var(--dc-luz); }
.menu-movel__nav a:active .menu-movel__seta { opacity: 1; transform: translate(3px, -3px); }

.menu-movel__contato {
  margin-top: auto; flex: none; display: grid; gap: var(--s2); padding-top: var(--s3);
  padding-bottom: calc(var(--s4) + env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menu-movel.aberto .menu-movel__contato { opacity: 1; transform: none; transition-delay: .5s; }
.menu-movel__traco { width: 100%; height: 34px; overflow: visible; }
.menu-movel__traco path { fill: none; stroke: var(--dc-argila); stroke-width: 1.4; stroke-linecap: round; }
.menu-movel__status { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--dc-luz); }
.menu-movel__status svg { width: 20px; height: 20px; flex: none; }
.menu-movel__status .horarios__status { color: var(--dc-creme); font-size: 1.0625rem; }
.menu-movel__atalhos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.atalho { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 84px; padding: 4px 0; color: var(--dc-creme); text-decoration: none; }
.atalho__icone {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(243, 217, 164, 0.55); background: rgba(246, 241, 233, .05); color: var(--dc-luz);
  transition: background-color .3s var(--ease-suave), color .3s, transform .35s var(--ease);
}
.atalho__icone svg { width: 24px; height: 24px; }
.atalho__nome { font-size: .8125rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap; color: var(--dc-creme-suave); }
@media (max-width: 349px) { .atalho__nome { font-size: .75rem; letter-spacing: 0; } }
.atalho:active .atalho__icone { background: var(--dc-luz); color: var(--dc-profundo); transform: scale(.94); }

/* telas baixas (iPhone SE, celular deitado): o menu encolhe e, se preciso, rola */
@media (max-height: 760px) {
  .menu-movel__nav a { min-height: 56px; padding: 4px 0; }
  .menu-movel__nome { font-size: 1.625rem; }
  .menu-movel__traco { height: 26px; }
  .menu-movel__contato { gap: 12px; padding-top: var(--s2); padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom)); }
  .atalho { min-height: 72px; gap: 6px; }
  .atalho__icone { width: 48px; height: 48px; }
}
@media (max-height: 600px) {
  .menu-movel__nav a { min-height: 48px; }
  .menu-movel__nome { font-size: 1.4375rem; }
  .menu-movel__traco { display: none; }
}
@media (max-height: 460px) {
  .menu-movel__nav a { min-height: 44px; }
  .menu-movel__nome { font-size: 1.25rem; }
}

/* ---------- seções ---------- */
.secao { padding-block: var(--secao); position: relative; }
.secao--creme { background: var(--dc-creme); }
.secao--linho { background: var(--dc-linho); }
.secao--terracota { background: var(--dc-terracota); color: var(--dc-creme); }
.secao--profundo { background: var(--dc-profundo); color: var(--dc-creme); }
.secao--terracota h2, .secao--profundo h2 { color: var(--dc-creme); }
.secao--terracota h2 em, .secao--profundo h2 em { color: var(--dc-luz); }

.cabeca-secao { max-width: 640px; margin-bottom: var(--s6); }
.cabeca-secao__texto { margin-top: var(--s2); color: var(--dc-cafe-suave); text-wrap: pretty; }
.cabeca-secao--centro { margin-inline: auto; text-align: center; }

.nota-previa { margin-top: var(--s4); font-size: .8125rem; font-style: italic; color: var(--dc-cafe-suave); text-align: center; }

/* =========================================================
   01 · HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--dc-profundo); color: var(--dc-creme);
  padding: calc(var(--topo) + var(--s4)) 0 var(--s10);
}
/* fio de cacho: vive só na área escura do texto e some antes de tocar a foto */
.hero__traco { position: absolute; pointer-events: none; z-index: 1; }
.hero__traco--largo { display: none; }
.hero__traco--movel { left: 0; right: 0; bottom: 0; width: 100%; height: 80px; }
.hero__traco path { fill: none; stroke-width: 1.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hero__grade {
  position: relative;
  display: grid; gap: var(--s4);
  grid-template-areas: "cabeca" "cena" "corpo";
}
.hero__cabeca { grid-area: cabeca; position: relative; z-index: 2; }
.hero__corpo { grid-area: corpo; position: relative; z-index: 2; margin-top: calc(var(--s6) * -1); }

.hero__titulo { font-size: var(--h1); line-height: 1.05; color: var(--dc-creme); letter-spacing: -.01em; }
/* a frase de apoio faz parte do H1 (o que é + onde fica), em texto corrido abaixo do título */
.hero__titulo .hero__sobre {
  display: block; margin-top: var(--s2);
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 500; line-height: 1.4; letter-spacing: 0;
  color: var(--dc-luz);
}
.linha-mascara { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.entra-linha { display: inline-block; }

/* cena: foto da fundadora em largura total, com véu em degradê que abre o espaço negativo para o texto */
.hero__cena {
  position: relative; grid-area: cena;
  margin-inline: calc(var(--gutter) * -1);
  aspect-ratio: 4 / 4.3; overflow: hidden;
  background: var(--dc-profundo);
}
.hero__cena img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.hero__veu {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--dc-profundo) 0%, rgba(87, 39, 22, .55) 9%, rgba(87, 39, 22, 0) 26%),
    linear-gradient(0deg, var(--dc-profundo) 0%, rgba(87, 39, 22, .88) 12%, rgba(87, 39, 22, 0) 46%);
}
.hero__texto { color: var(--dc-creme-suave); max-width: 34rem; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }

.hero__prova {
  display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s3);
  margin-top: var(--s3); padding: 0; list-style: none;
  font-size: .875rem; color: var(--dc-creme-suave);
}
.hero__prova li { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.hero__prova li + li { padding-left: var(--s3); border-left: 1px solid rgba(243, 217, 164, .28); }
.hero__prova strong { color: var(--dc-creme); font-weight: 500; }
.hero__estrelas { color: var(--dc-luz); letter-spacing: .12em; }
.hero__pin { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--dc-luz); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 479px) {
  .hero__acoes .botao { flex: 1 1 100%; }
  .hero__prova { justify-content: center; column-gap: var(--s2); }
  .hero__prova li + li { padding-left: var(--s2); }
}
@media (max-width: 379px) {
  .hero__prova { flex-direction: column; align-items: center; }
  .hero__prova li { min-height: 36px; }
  .hero__prova li + li { padding-left: 0; border-left: 0; }
}

@media (min-width: 600px) {
  .hero__cena { aspect-ratio: 16 / 9; }
  .hero__cena img { object-position: 78% 0; }
}

@media (min-width: 960px) {
  .hero__traco--movel { display: none; }
  .hero__traco--largo {
    display: block; left: 0; bottom: 0; width: 100%; height: 150px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 58%);
    mask-image: linear-gradient(90deg, #000 0%, #000 34%, transparent 58%);
  }
  .hero { padding: calc(var(--topo) + var(--s6)) 0 var(--s10); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
  .hero__grade {
    position: static; width: 100%;
    grid-template-columns: minmax(0, 600px);
    grid-template-areas: "cabeca" "corpo";
    row-gap: var(--s4); align-items: start;
  }
  .hero__corpo { margin-top: 0; }
  .hero__cena {
    position: absolute; inset: var(--topo) 0 0 0; margin: 0; aspect-ratio: auto; z-index: 0;
  }
  .hero__cena img { object-position: 82% 0; }
  .hero__veu {
    background:
      linear-gradient(90deg, var(--dc-profundo) 0%, var(--dc-profundo) 22%, rgba(87, 39, 22, .88) 37%, rgba(87, 39, 22, .42) 51%, rgba(87, 39, 22, 0) 66%),
      linear-gradient(180deg, var(--dc-profundo) 0%, rgba(87, 39, 22, .5) 10%, rgba(87, 39, 22, 0) 24%),
      linear-gradient(0deg, var(--dc-profundo) 0%, rgba(87, 39, 22, .7) 9%, rgba(87, 39, 22, 0) 26%);
  }
}

@media (min-width: 960px) and (max-width: 1279px) {
  .hero__cena img { object-position: 48% 0; }
  .hero__texto { max-width: 28rem; }
}

/* =========================================================
   03 · SERVIÇOS
   ========================================================= */
.servicos__grade { display: grid; gap: var(--s3); }
.servico {
  background: var(--dc-creme);
  border: 1px solid rgba(210, 196, 175, 0.7);  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color .4s var(--ease-suave), box-shadow .5s var(--ease-suave), transform .5s var(--ease);
}
.servico h3 { transition: color .3s var(--ease-suave); }
.servico__foto { overflow: hidden; background: var(--dc-areia); }
.servico__foto img, .servico__arte { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.servico__corpo { padding: var(--s3); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.servico__corpo > p:not(.servico__beneficio) { color: var(--dc-cafe-suave); }
.servico__beneficio { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--dc-cafe); }
.servico__beneficio svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--dc-verde); }
.servico .botao { margin-top: var(--s1); }
/* opções de cada serviço (do catálogo do salão), também repetidas na folha */
.servico__tipos { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 2px 0; }
.servico__tipos li {
  font-size: .8125rem; line-height: 1.3; padding: 5px 12px; border-radius: var(--radius-pill); color: var(--dc-cafe);
  background: #ece2d2; border: 1px solid rgba(210, 196, 175, 0.8);}

/* Revitalização e Home care: cards em par abaixo da grade */
.servicos__par { display: grid; gap: var(--s3); margin-top: var(--s3); }
.servico--par { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
/* arte inteira (meet): o fundo da ilustração passa da moldura e preenche as laterais */
.servico--par .servico__foto { height: 230px; }
/* Home care não se agenda: card só informativo, sem folha */
.servico.servico--info { cursor: default; }
/* três cards (Tratamentos, Revitalização, Home care): 2 + 1 no tablet (o último na largura toda), 3 lado a lado no desktop */
@media (min-width: 760px) and (max-width: 959px) {
  .servicos__par { grid-template-columns: 1fr 1fr; }
  .servico--par:last-child { grid-column: 1 / -1; grid-template-columns: 38% 1fr; grid-template-rows: none; }
  .servico--par:last-child .servico__foto--galeria { aspect-ratio: auto; min-height: 380px; }
  .servico--par:last-child .servico__corpo { padding: var(--s4); }
}
@media (min-width: 960px) {
  .servicos__par { grid-template-columns: repeat(3, 1fr); }
  .servico--par .servico__corpo { padding: var(--s4); }
}

.servico--destaque .servico__foto--arco {
  margin: 12px 12px 0; aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-arco);
}
/* celular: arte em faixa no topo, texto na largura toda (as opções em etiquetas precisam de espaço) */
.servico--alto, .servico--baixo { display: grid; grid-template-columns: 1fr; }
.servico--alto .servico__foto, .servico--baixo .servico__foto { height: 200px; }

@media (hover: hover) {
  .servico:not(.servico--info):hover { border-color: var(--dc-argila); box-shadow: var(--shadow-card); transform: translateY(-4px); }
  .servico:not(.servico--info):hover h3 { color: var(--dc-argila); }
  .servico:hover .servico__foto img, .servico:hover .servico__arte { transform: scale(1.04); }
}

@media (min-width: 600px) {
  .servico--alto, .servico--baixo { grid-template-columns: 42% 1fr; }
  .servico--alto .servico__foto, .servico--baixo .servico__foto { height: auto; min-height: 100%; }
  .servico--alto .servico__corpo, .servico--baixo .servico__corpo { padding: var(--s4); }
}
/* tablet: destaque vira horizontal para a foto não passar do tamanho do original */
@media (min-width: 600px) and (max-width: 959px) {
  .servico--destaque { display: grid; grid-template-columns: 44% 1fr; align-items: center; }
  .servico--destaque .servico__foto--arco { margin: 12px; aspect-ratio: 3 / 4.2; }
  .servico--destaque .servico__corpo { padding: var(--s4) var(--s4) var(--s4) var(--s2); }
}
@media (min-width: 960px) {
  .servicos__grade { grid-template-columns: repeat(12, 1fr); gap: var(--s3); }
  .servico--destaque { grid-column: 1 / 6; grid-row: 1 / 3; }
  .servico--destaque .servico__corpo { padding: var(--s4); }
  .servico--alto { grid-column: 6 / 13; }
  .servico--baixo { grid-column: 7 / 13; grid-template-columns: 1fr 40%; }
  .servico--baixo .servico__foto { order: 2; }
}

/* fotos reais dos serviços: faixa que desliza de lado (toque), setas no mouse e teclado; sem JS a faixa continua rolando */
.servico__foto--galeria { position: relative; }
.servico--alto .servico__foto--galeria, .servico--baixo .servico__foto--galeria { height: auto; aspect-ratio: 4 / 5; }
.servico--destaque .servico__foto--galeria { aspect-ratio: 3 / 4; }
.galeria__faixa {
  position: absolute; inset: 0; display: flex; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.galeria__faixa::-webkit-scrollbar { display: none; }
.galeria__faixa:focus-visible { outline: 3px solid var(--dc-luz); outline-offset: -3px; }
.galeria__item { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; background: var(--dc-areia); }
.galeria__item img { object-position: 50% 28%; }
.servico__foto--produtos .galeria__item img { object-position: 50% 50%; } /* prateleira: enquadrar no centro */
.servico:hover .servico__foto--galeria .galeria__item img { transform: none; }
.galeria__seta {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--dc-cafe);
  background: rgba(246, 241, 233, 0.9); box-shadow: 0 2px 12px rgba(42, 24, 16, .28);
  transition: background-color .25s var(--ease-suave), scale .3s var(--ease);
}
.galeria__seta--ant { left: 10px; }
.galeria__seta--prox { right: 10px; }
.galeria__seta svg { width: 20px; height: 20px; }
.galeria__seta:hover { background: var(--dc-creme); scale: 1.06; }
.galeria__seta:active { scale: .94; }
/* no celular a foto desliza com o dedo: só os pontos indicam que há mais fotos */
@media (hover: none) { .galeria__seta { display: none; } }
.galeria__pontos {
  position: absolute; left: 50%; bottom: 12px; translate: -50% 0; z-index: 2; display: flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: var(--radius-pill); pointer-events: none;
  background: rgba(42, 24, 16, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.galeria__ponto { width: 6px; height: 6px; border-radius: var(--radius-pill); background: rgba(246, 241, 233, 0.55); transition: width .3s var(--ease), background-color .3s var(--ease-suave); }
.galeria__ponto[aria-current="true"] { width: 18px; background: var(--dc-creme); }
@media (min-width: 600px) {
  .servico--alto .servico__foto--galeria, .servico--baixo .servico__foto--galeria { aspect-ratio: auto; min-height: 380px; }
}
/* cards em par: foto em cima do texto */
.servico--par .servico__foto--galeria { height: auto; aspect-ratio: 4 / 5; }

/* =========================================================
   04 · RESULTADOS
   ========================================================= */
.resultados__grade { display: grid; gap: var(--s6); }
.resultados__cabeca p:not(.sobretitulo) { margin-top: var(--s2); color: var(--dc-cafe-suave); max-width: 30rem; }
.resultados__cabeca .botao--instagram { margin-top: var(--s3); }
/* mosaico em duas colunas desencontradas, como uma parede de retratos */
.resultados__mosaico { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) 12px; align-items: start; }
/* b desce; c sobe o mesmo tanto para fechar o vão sob a */
.resultado--b { margin-top: var(--s6); }
.resultado--c { margin-top: calc(var(--s6) * -1); }
.resultado__foto { overflow: hidden; aspect-ratio: 3 / 4.3; border-radius: var(--radius-card); background: var(--dc-linho); }
.resultado--a .resultado__foto, .resultado--d .resultado__foto, .resultado--e .resultado__foto { border-radius: var(--radius-arco); }
/* d (de costas, dourado): mostra a raiz e o comprimento; fica ao lado da outra foto de costas (c) */
.resultado--d .resultado__foto img { object-position: 50% 16%; }
/* e sobe como a c, fechando o vão sob a d */
.resultado--e { margin-top: calc(var(--s6) * -1); }
.resultado__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (hover: hover) {
  .js .resultado.visivel .resultado__foto img { transition: transform 1.2s var(--ease); }
  .resultado:hover .resultado__foto img { transform: scale(1.04); }
}

@media (min-width: 600px) and (max-width: 959px) {
  .resultados__mosaico { gap: var(--s4) var(--s3); }
}
@media (min-width: 960px) {
  .resultados__grade { grid-template-columns: repeat(12, 1fr); gap: var(--s4); align-items: start; }
  .resultados__cabeca { grid-column: 1 / 5; position: sticky; top: calc(var(--topo) + var(--s5)); }
  .resultados__cabeca h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); } /* "Representatividade," tem de caber na coluna */
  .resultados__mosaico { grid-column: 5 / 13; gap: var(--s4) var(--s4); padding-left: var(--s4); }
  .resultado--b { margin-top: var(--s12); }
  .resultado--c { margin-top: calc(var(--s12) * -1); }
  .resultado--e { margin-top: calc(var(--s12) * -1); }
}

/* =========================================================
   04b · AVALIAÇÕES
   ========================================================= */
.avaliacoes { overflow: hidden; }
.avaliacoes__cabeca { text-align: center; max-width: 40rem; margin-inline: auto; }
.avaliacoes__nota { display: flex; align-items: center; justify-content: center; margin-top: var(--s5); }
.avaliacoes__numero {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(4.5rem, 22vw, 6.5rem); line-height: .9;
  color: var(--dc-luz); letter-spacing: -.02em;
}
.avaliacoes__estrelas { margin-top: var(--s2); font-size: 1.375rem; line-height: 1; color: var(--dc-luz); }
/* selo de origem da nota, com o ícone oficial do Maps */
.avaliacoes__origem {
  display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s3); padding: 5px 18px 5px 5px;
  border-radius: var(--radius-pill); border: 1px solid var(--dc-creme-linha);
  background: rgba(246, 241, 233, 0.07);  font-size: .875rem; color: var(--dc-creme);
}
.avaliacoes__maps { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--dc-creme); }
.avaliacoes__maps img { width: 20px; height: 20px; }
.botao .botao__maps { width: 22px; height: 22px; flex: none; }

/* celular: faixa que desliza de lado, um card por vez, com o próximo aparecendo na borda */
.avaliacoes__lista {
  display: flex; gap: var(--s2); list-style: none;
  margin: var(--s5) calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) var(--s1);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.avaliacoes__lista::-webkit-scrollbar { display: none; }
.avaliacoes__lista[hidden], .avaliacoes__pontos[hidden] { display: none; }
.avaliacao {
  flex: 0 0 min(82%, 320px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: var(--s2);
  padding: var(--s4) var(--s3) var(--s3); border-radius: var(--radius-card);
  background: rgba(246, 241, 233, 0.06);  border: 1px solid rgba(246, 241, 233, 0.14);  transition: border-color .4s var(--ease-suave), transform .5s var(--ease);
}
.avaliacao__estrelas { font-size: .9375rem; line-height: 1; color: var(--dc-luz); letter-spacing: .12em; }
.avaliacao__citacao { flex: 1; margin: 0; }
.avaliacao__texto { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.0625rem; line-height: 1.6; color: var(--dc-creme); }
.avaliacao__texto.is-recolhido { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.avaliacao__mais {
  align-self: flex-start; min-height: 44px; margin: calc(var(--s1) * -1) 0 0 -12px; padding: 0 12px;
  background: none; border: 0; cursor: pointer; font: 500 .875rem var(--font-body); color: var(--dc-luz);
  text-decoration: underline; text-underline-offset: 4px;
}
.avaliacao__autor { display: flex; align-items: center; gap: 12px; padding-top: var(--s2); border-top: 1px solid var(--dc-creme-linha); }
.avaliacao__inicial {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--dc-luz); color: var(--dc-profundo); font-family: var(--font-display); font-weight: 600; font-size: 1.125rem;
}
.avaliacao__quem { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.avaliacao__nome { font-weight: 500; color: var(--dc-creme); }
.avaliacao__meta { font-size: .75rem; color: var(--dc-creme-suave); }

/* destaque: o depoimento mais completo, em creme, puxa o olhar */
.avaliacao--destaque { background: var(--dc-creme); border-color: var(--dc-creme); box-shadow: 0 24px 48px rgba(0, 0, 0, .25); }
.avaliacao--destaque .avaliacao__estrelas { color: var(--dc-terracota); }
.avaliacao--destaque .avaliacao__texto { color: var(--dc-cafe); }
.avaliacao--destaque .avaliacao__mais { color: var(--dc-terracota); }
.avaliacao--destaque .avaliacao__autor { border-top-color: var(--dc-areia); }
.avaliacao--destaque .avaliacao__inicial { background: var(--dc-terracota); color: var(--dc-creme); }
.avaliacao--destaque .avaliacao__nome { color: var(--dc-cafe); }
.avaliacao--destaque .avaliacao__meta { color: var(--dc-cafe-suave); }

.avaliacoes__pontos { display: flex; justify-content: center; gap: 8px; list-style: none; margin-top: var(--s3); }
.avaliacoes__pontos li { width: 6px; height: 6px; border-radius: var(--radius-pill); background: rgba(246, 241, 233, 0.3); transition: width .4s var(--ease), background-color .3s; }
.avaliacoes__pontos li.ativo { width: 22px; background: var(--dc-luz); }

.avaliacoes__acao { display: flex; justify-content: center; margin-top: var(--s5); }
/* em telas de 320 px o texto do botão não cabe numa linha: quebra em vez de vazar */
.avaliacoes__acao .botao { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding-block: 12px; }

@media (hover: hover) {
  .avaliacao:not(.avaliacao--destaque):hover { border-color: rgba(243, 217, 164, 0.45); transform: translateY(-4px); }
}

/* tablet: destaque na largura toda e os outros três lado a lado */
@media (min-width: 700px) {
  .avaliacoes__lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin: var(--s6) 0 0; padding: 0; overflow: visible; }
  .avaliacao--destaque { grid-column: 1 / -1; }
  .avaliacoes__pontos { display: none; }
  /* fora da faixa do celular o texto cabe inteiro: sem "Mais" */
  .avaliacao__texto.is-recolhido { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .avaliacao__mais { display: none; }
}
/* desktop: destaque à esquerda ocupando a altura dos outros três */
@media (min-width: 960px) {
  .avaliacoes__lista { grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(3, auto); gap: var(--s3); max-width: 1040px; margin-inline: auto; }
  .avaliacao--destaque { grid-column: 1; grid-row: 1 / span 3; padding: var(--s6); gap: var(--s3); }
  /* estrelas + texto centrados na altura do card; autor embaixo */
  .avaliacao--destaque .avaliacao__estrelas { margin-top: auto; font-size: 1.25rem; }
  .avaliacao--destaque .avaliacao__citacao { flex: 0 1 auto; margin-bottom: auto; }
  .avaliacao--destaque .avaliacao__texto { font-size: 1.75rem; line-height: 1.45; }
  .avaliacao:not(.avaliacao--destaque) { padding: var(--s3) var(--s4); }
}

/* =========================================================
   06b · FUNDADORA
   ========================================================= */
.fundadora__grade { display: grid; gap: var(--s4); justify-items: center; text-align: center; max-width: 880px; }
.fundadora__retrato {
  width: 176px; height: 176px; padding: 6px; border-radius: 50%;
  border: 1.5px solid var(--dc-argila);
  box-shadow: 0 0 0 8px var(--dc-linho), 0 0 0 9px var(--dc-areia);
}
.fundadora__retrato img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.fundadora__texto p:not(.sobretitulo):not(.fundadora__assinatura) { margin-top: var(--s2); color: var(--dc-cafe-suave); max-width: 34rem; margin-inline: auto; text-wrap: pretty; }
.fundadora__assinatura {
  display: inline-flex; align-items: center; gap: 14px; margin-top: var(--s3);
  font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: var(--dc-terracota);
}
.linha-luz--horizontal { width: 40px; height: 2px; flex: none; }

@media (min-width: 768px) {
  .fundadora__retrato { width: 224px; height: 224px; }
  .fundadora__grade { grid-template-columns: auto 1fr; gap: var(--s8); text-align: left; justify-items: start; align-items: center; }
  .fundadora__texto p:not(.sobretitulo):not(.fundadora__assinatura) { margin-inline: 0; }
}

/* =========================================================
   05 · O ESPAÇO
   ========================================================= */
.espaco__grade { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s2); }
.espaco__cabeca, .espaco__item--fachada { grid-column: 1 / -1; }
.espaco__item { position: relative; margin: 0; }
.espaco__foto { overflow: hidden; border-radius: var(--radius-card); background: var(--dc-areia); }
.espaco__foto img { width: 100%; height: 100%; object-fit: cover; }
.espaco__item--recepcao .espaco__foto, .espaco__item--salao .espaco__foto, .espaco__item--secagem .espaco__foto { aspect-ratio: 3 / 4; }
.espaco__foto--arco { border-radius: var(--radius-arco); }
.espaco__foto--oval { border-radius: var(--radius-pill); aspect-ratio: 3 / 4.4; }
/* galeria sem legendas: um fio fino de argila acompanha o contorno de cada foto */
.espaco__foto { outline: 1px solid rgba(168, 98, 74, 0.55); outline-offset: 6px; }
/* complementos discretos: uma forma de argila clara deslocada atrás do café e da finalização, e o traço de cacho no vão */
.espaco__item--cafe, .espaco__item--secagem { isolation: isolate; }
.espaco__item--cafe::before, .espaco__item--secagem::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #e3cfc3;}
.espaco__item--cafe::before { border-radius: var(--radius-pill); transform: translate(-14px, 16px); }
.espaco__item--secagem::before { border-radius: var(--radius-arco); transform: translate(-14px, 16px); }
.espaco__item--fachada { margin-bottom: var(--s1); }
.espaco__item--salao { margin-bottom: var(--s3); }
/* duas colunas no celular: a da direita desce um pouco, como num varal de fotos */
.espaco__item--recepcao, .espaco__item--secagem { margin-top: var(--s5); }

@media (min-width: 600px) and (max-width: 959px) {
  .espaco__grade { column-gap: var(--s4); }
  /* as fotos do interior são pequenas: não passam do tamanho natural */
  .espaco__item--recepcao, .espaco__item--salao, .espaco__item--secagem, .espaco__item--cafe { width: 100%; max-width: 320px; }
  .espaco__item--recepcao, .espaco__item--secagem { justify-self: end; }
}
@media (min-width: 960px) {
  .espaco__grade { grid-template-columns: repeat(12, 1fr); gap: var(--s4); align-items: start; }
  .espaco__cabeca { grid-column: 1 / 8; grid-row: 1; }
  .espaco__item--fachada { grid-column: 1 / 9; grid-row: 2; margin-bottom: 0; }
  .espaco__item--cafe { grid-column: 9 / 13; grid-row: 1 / 3; align-self: end; justify-self: end; width: 100%; max-width: 330px; }
  .espaco__item--recepcao, .espaco__item--salao, .espaco__item--secagem { grid-row: 3; width: 100%; max-width: 300px; }
  .espaco__item--recepcao { grid-column: 1 / 5; margin-top: var(--s10); }
  .espaco__item--salao { grid-column: 5 / 9; justify-self: center; margin-top: var(--s12); }
  .espaco__item--secagem { grid-column: 9 / 13; justify-self: end; margin-top: var(--s8); }
  .espaco__foto { outline-offset: 8px; }
  .espaco__item--cafe::before { transform: translate(-22px, 22px); }
  .espaco__item--secagem::before { transform: translate(20px, 20px); }
}

/* =========================================================
   07 · COMO FUNCIONA
   ========================================================= */
.processo__trilha { position: relative; }
.processo__linha { position: absolute; overflow: visible; pointer-events: none; }
.processo__linha path { fill: none; stroke: var(--dc-argila); stroke-width: 1.4; stroke-linecap: round; }
.processo__linha--h { display: none; }
.processo__linha--v { left: 0; top: 0; width: 44px; height: 100%; }
.processo__etapas { display: grid; gap: var(--s5); position: relative; }
.processo__etapas li { position: relative; padding-left: 68px; }
.processo__no {
  position: absolute; left: 15px; top: 14px; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box;
  background: var(--dc-terracota); box-shadow: 0 0 0 5px var(--dc-creme), 0 0 0 6px var(--dc-areia);
  transition: background-color .5s var(--ease-suave), transform .6s var(--ease);
}
/* o ponto só se preenche quando o cacho chega nele */
.js .processo__etapas li:not(.ativo) .processo__no { background: var(--dc-creme); border: 1.5px solid var(--dc-terracota); transform: scale(.82); }
.processo__num { display: block; font-family: var(--font-display); font-style: italic; font-size: 2.5rem; line-height: 1; color: var(--dc-terracota); margin-bottom: var(--s1); }
.processo__etapas p { margin-top: var(--s1); color: var(--dc-cafe-suave); max-width: 22rem; }

/* ---------- Dúvidas (FAQ): sanfona com <details>, uma aberta por vez ---------- */
.duvidas__grade { display: grid; gap: var(--s5); }
.duvidas__cabeca { margin-bottom: 0; }
.duvidas__cabeca .botao { margin-top: var(--s3); }
.duvidas__lista { display: grid; gap: 10px; }
.duvida { background: var(--dc-creme); border-radius: 18px; border: 1px solid rgba(210, 196, 175, 0.55); overflow: hidden; }
.duvida summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  min-height: 56px; padding: 16px 18px; cursor: pointer;
  font: 500 1rem/1.4 var(--font-body); color: var(--dc-cafe);
}
.duvida summary::-webkit-details-marker { display: none; }
.duvida summary:focus-visible { outline: none; box-shadow: inset 0 0 0 3px rgba(142, 70, 48, 0.55); }
.duvida__sinal { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--dc-linho); transition: background-color .3s, transform .35s var(--ease); }
.duvida__sinal::before, .duvida__sinal::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--dc-terracota); transition: transform .35s var(--ease); }
.duvida__sinal::after { transform: rotate(90deg); }
.duvida[open] .duvida__sinal { background: var(--dc-terracota); transform: rotate(180deg); }
.duvida[open] .duvida__sinal::before, .duvida[open] .duvida__sinal::after { background: var(--dc-creme); }
.duvida[open] .duvida__sinal::after { transform: rotate(0); }
.duvida__resposta { padding: 0 18px 18px; color: var(--dc-cafe-suave); line-height: 1.6; max-width: 60ch; }
.duvida[open] .duvida__resposta { animation: sobe .4s var(--ease) both; }
.duvida__itens { margin: 10px 0 0; padding-left: 1.2em; list-style: disc; display: grid; gap: 8px; }
.duvida__itens li::marker { color: var(--dc-terracota); }
.duvida__itens strong { color: var(--dc-cafe); font-weight: 600; }
.duvida__link { color: var(--dc-terracota); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) {
  .duvidas__grade { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: var(--s7); }
  .duvidas__cabeca { position: sticky; top: calc(var(--topo) + var(--s4)); }
}
@media (prefers-reduced-motion: reduce) { .duvida[open] .duvida__resposta { animation: none; } .duvida__sinal, .duvida__sinal::before, .duvida__sinal::after { transition: none; } }

@media (min-width: 960px) {
  .processo__linha--v { display: none; }
  .processo__linha--h { display: block; left: 0; right: 0; top: 0; width: 100%; height: 80px; }
  .processo__etapas { grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
  .processo__etapas li { padding: 112px 0 0; text-align: center; }
  .processo__etapas p { margin-inline: auto; }
  .processo__no { left: 50%; top: 33px; margin-left: -7px; }
  .processo__num { font-size: 3rem; }
}

/* =========================================================
   08 · AGENDAMENTO
   ========================================================= */
.agendamento__grade { display: grid; gap: var(--s6); }
.agendamento__texto { position: relative; }
.agendamento__texto > p:not(.sobretitulo) { margin-top: var(--s3); color: var(--dc-creme-suave); max-width: 30rem; }
.contatos { margin: var(--s5) 0 0; display: grid; gap: 12px; }
.contato {
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px 12px 12px;
  border-radius: 22px; border: 1px solid var(--dc-creme-linha); background: rgba(246, 241, 233, .04);
  color: var(--dc-creme); text-decoration: none;
  transition: background-color .3s var(--ease-suave), border-color .3s var(--ease-suave), transform .35s var(--ease), color .3s;
}
.contato__icone {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(243, 217, 164, 0.55); color: var(--dc-luz);
  transition: background-color .3s var(--ease-suave), color .3s, border-color .3s;
}
.contato__icone svg { width: 22px; height: 22px; }
.contato__texto { display: grid; gap: 2px; min-width: 0; }
.contato__rotulo { font-size: .8125rem; font-weight: 500; color: var(--dc-luz); }
.contato__valor { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.25; overflow-wrap: anywhere; }
.contato__seta { width: 20px; height: 20px; flex: none; margin-left: auto; color: var(--dc-luz); transition: transform .35s var(--ease); }
.contato:active { transform: scale(.985); }
@media (hover: hover) {
  .contato:hover { background: rgba(246, 241, 233, .1); border-color: var(--dc-luz); transform: translateY(-2px); }
  .contato:hover .contato__icone { background: var(--dc-luz); color: var(--dc-profundo); border-color: var(--dc-luz); }
  .contato:hover .contato__seta { transform: translate(3px, -3px); }
}
/* horários: cartão com a semana, o dia de hoje em destaque e o estado agora */
.horarios {
  display: grid; gap: 4px; padding: 12px 16px 6px 12px;
  border-radius: 22px; border: 1px solid var(--dc-creme-linha); background: rgba(246, 241, 233, .04);
}
.horarios__topo { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.horarios__status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.25; }
.horarios__status[data-estado]::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--dc-argila); }
.horarios__status[data-estado="aberto"]::before { background: var(--dc-luz); }
.horarios__lista { margin: 8px 0 0; padding-left: 58px; display: grid; }
.horarios__lista > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--dc-creme-linha); font-size: .9375rem; }
.horarios__lista dt { color: var(--dc-creme-suave); }
.horarios__lista dd { margin: 0; font-weight: 500; text-align: right; white-space: nowrap; }
.horarios__lista dd small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 400; color: var(--dc-creme-suave); }
.horarios__lista dd.a-confirmar { font-weight: 400; font-style: italic; color: var(--dc-creme-suave); }
.horarios__lista > div.hoje dt, .horarios__lista > div.hoje dd { color: var(--dc-luz); }
.horarios__lista > div.hoje dt::after { content: "hoje"; margin-left: 8px; padding: 2px 8px; border-radius: var(--radius-pill); border: 1px solid rgba(243, 217, 164, 0.55); font-size: .75rem; }
.horarios__nota { padding-left: 58px; font-size: .8125rem; color: var(--dc-creme-suave); }
.horarios__link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-left: 58px; color: var(--dc-luz); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.horarios__link svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
@media (hover: hover) { .horarios__link:hover svg { transform: translate(3px, -3px); } .horarios__link:hover { color: var(--dc-creme); } }
@media (max-width: 479px) {
  .horarios__lista, .horarios__nota { padding-left: 0; }
  .horarios__link { margin-left: 0; }
}
/* WhatsApp é a ação principal: cartão cheio */
.contato--whats { background: var(--dc-luz); border-color: var(--dc-luz); color: var(--dc-profundo); }
.contato--whats .contato__icone { background: var(--dc-profundo); border-color: var(--dc-profundo); color: var(--dc-luz); }
.contato--whats .contato__rotulo { color: var(--dc-terracota); }
.contato--whats .contato__valor { font-size: 1.375rem; }
/* celular de 320 px: o número e o @ cabem inteiros, sem quebrar no meio */
@media (max-width: 359px) {
  .contato__valor { font-size: .9375rem; }
  .contato--whats .contato__valor { font-size: 1rem; white-space: nowrap; }
}
.contato--whats .contato__seta { color: var(--dc-profundo); }
@media (hover: hover) {
  .contato--whats:hover { background: var(--dc-creme); border-color: var(--dc-creme); }
  .contato--whats:hover .contato__icone { background: var(--dc-profundo); color: var(--dc-luz); border-color: var(--dc-profundo); }
}

.formulario {
  position: relative;
  background: var(--dc-terracota);
  border-radius: 160px 160px var(--radius-card) var(--radius-card);
  padding: var(--s8) var(--s3) var(--s4);
  display: grid; gap: var(--s2);
}
.formulario__emblema { width: 36px; height: 36px; color: var(--dc-luz); justify-self: center; }
.formulario__titulo { font-family: var(--font-display); font-size: 1.5rem; text-align: center; margin-bottom: var(--s1); }
.campo { display: grid; gap: 6px; }
.campo label { font-size: .875rem; font-weight: 500; }
.campo__opcional { font-weight: 300; opacity: .85; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: 400 1rem/1.4 var(--font-body); color: var(--dc-cafe);
  background: var(--dc-creme); border: 2px solid transparent; border-radius: var(--radius-input);
  transition: border-color .25s;
}
.campo select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238E4630' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.campo textarea { resize: vertical; min-height: 96px; }
.campo input::placeholder { color: var(--dc-cafe-suave); }
/* foco = borda dourada + anel suave, para não confundir com o campo com erro (só a borda) */
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible {
  outline: none; box-shadow: 0 0 0 4px rgba(243, 217, 164, 0.4); border-color: var(--dc-luz); border-radius: var(--radius-input);
}
.campo [aria-invalid="true"] { border-color: var(--dc-luz); }
.campo__erro { font-size: .8125rem; color: var(--dc-luz); }
/* período e horário: fichas que se tocam, no lugar de select */
/* fieldset em bloco e legenda solta (float) com largura cheia: no Safari antigo, legenda de fieldset em grid
   encolhia até uma palavra por linha ("Melhor / período / (se / preferir)", iPhone da Dona Crespa, 25/11/2026) */
.campo--fichas { display: block; border: 0; padding: 0; margin: 0; min-width: 0; }
.campo--fichas legend { float: left; width: 100%; font-size: .875rem; font-weight: 500; padding: 0; margin: 0 0 6px; }
.campo--fichas legend ~ * { clear: left; }
.campo--fichas .campo__dica { margin-top: 6px; }
.campo--fichas[hidden] { display: none; }
.campo__dica { font-size: .8125rem; line-height: 1.5; color: #eee3da; }
.fichas { display: flex; flex-wrap: wrap; gap: 8px; }
.fichas[hidden] { display: none; }
.ficha {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  font: 500 .9375rem/1 var(--font-body); color: var(--dc-cafe); letter-spacing: .01em;
  background: var(--dc-creme); border: 2px solid transparent; border-radius: var(--radius-pill); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.ficha svg { width: 18px; height: 18px; color: var(--dc-terracota); transition: color .25s; }
.ficha:hover { background: var(--dc-linho); }
.ficha:active { transform: scale(.97); }
.ficha[aria-checked="true"] { background: var(--dc-luz); color: var(--dc-cafe); font-weight: 600; }
.ficha[aria-checked="true"] svg { color: var(--dc-terracota); }
.ficha:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(243, 217, 164, 0.4); border-color: var(--dc-luz); }
.campo--fichas:not([hidden])[data-horario] { animation: sobe .4s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .campo--fichas[data-horario] { animation: none; } .ficha { transition: none; } }
.formulario .botao { margin-top: var(--s1); }
.formulario__retorno { font-size: .875rem; text-align: center; color: var(--dc-creme); min-height: 1lh; }
.formulario__retorno:empty { display: none; }
.formulario__retorno a { display: inline-block; margin-left: 6px; padding: 6px 4px; color: var(--dc-luz); font-weight: 500; text-decoration: none; }
.formulario__retorno a::after { content: " →"; }
/* chegada ao formulário: um brilho curto avisa onde a pessoa pousou */
@keyframes chama { 0% { box-shadow: 0 0 0 0 rgba(243, 217, 164, .65); } 100% { box-shadow: 0 0 0 26px rgba(243, 217, 164, 0); } }
.formulario.chamada { animation: chama 1.3s var(--ease) 1; }
/* alvo de rolagem recebe foco por código: sem contorno de seção inteira */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }
.formulario__nota { font-size: .8125rem; line-height: 1.5; text-align: center; color: #eee3da; }

/* ---------- calendário: escolher o dia (terça a sábado, até 2 meses à frente) ---------- */
/* no celular ele avança sobre o respiro do formulário para cada dia ter pelo menos 44 px de toque */
.calendario {
  margin-inline: calc(var(--s2) * -1);
  padding: 14px 6px 10px;
  background: var(--dc-creme); color: var(--dc-cafe);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(42, 24, 16, .22), inset 0 0 0 1px rgba(243, 217, 164, 0.55);}
.calendario__topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 8px; }
.calendario__mes { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500; color: var(--dc-terracota); text-align: center; }
.calendario__seta {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none;
  color: var(--dc-terracota); background: transparent;
  border: 1.5px solid rgba(168, 98, 74, .45);  border-radius: 50%; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.calendario__seta svg { width: 18px; height: 18px; }
.calendario__seta:hover:not(:disabled) { background: var(--dc-terracota); color: var(--dc-luz); border-color: var(--dc-terracota); }
.calendario__seta:active:not(:disabled) { transform: scale(.94); }
.calendario__seta:disabled { opacity: .3; cursor: default; }
.calendario__seta:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(142, 70, 48, 0.3); }
.calendario__semana, .calendario__dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendario__semana span {
  padding: 6px 0; text-align: center;
  font-size: .75rem; font-weight: 600; color: var(--dc-argila);
}
/* domingo e segunda: o salão fecha */
.calendario__semana span:nth-child(-n+2) { color: #cfaa9a; }
.calendario__dias { row-gap: 2px; }
.calendario__dias.entra-prox { animation: cal-prox .32s var(--ease) both; }
.calendario__dias.entra-volta { animation: cal-volta .32s var(--ease) both; }
@keyframes cal-prox { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes cal-volta { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.calendario__dia {
  position: relative; display: grid; place-items: center;
  width: 100%; min-height: 44px; padding: 0;
  font: 500 .9375rem/1 var(--font-body); color: var(--dc-cafe);
  background: transparent; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.calendario__dia:hover:not(:disabled):not([aria-pressed="true"]) { background: var(--dc-linho); }
.calendario__dia:active:not(:disabled) { transform: scale(.92); }
/* cor fixa = café 30% + creme. Nada de color-mix(var(...)) neste arquivo: no iOS antes do 16.2 ele anula a cor de reserva
   (com var() a linha passa na leitura e só falha depois), e o dia fechado ficava igual ao livre (25/11/2026) */
.calendario__dia:disabled { color: #b9b0a8; cursor: default; }
/* hoje: um ponto dourado embaixo do número */
.calendario__dia--hoje::after {
  content: ""; position: absolute; bottom: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--dc-argila);
}
.calendario__dia[aria-pressed="true"] {
  background: var(--dc-terracota); color: var(--dc-luz); font-weight: 600;
  box-shadow: 0 0 0 3px var(--dc-creme), 0 0 0 5px var(--dc-luz);
  animation: cal-marca .35s var(--ease) both;
}
.calendario__dia[aria-pressed="true"]::after { background: var(--dc-luz); }
@keyframes cal-marca { from { transform: scale(.7); } to { transform: none; } }
.calendario__dia:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(142, 70, 48, 0.45); }
.calendario__dia[aria-pressed="true"]:focus-visible { box-shadow: 0 0 0 3px var(--dc-creme), 0 0 0 5px var(--dc-luz), 0 0 0 8px rgba(142, 70, 48, 0.35); }
.calendario__vazio { min-height: 44px; }
.calendario__escolha {
  margin: 8px 6px 0; padding-top: 10px;
  border-top: 1px dashed rgba(168, 98, 74, .4);
  border-top: 1px dashed rgba(168, 98, 74, 0.4); /* argila 40% */
  font-size: .8125rem; line-height: 1.4; text-align: center; color: #574840; color: var(--dc-cafe-suave);
}
.calendario__escolha strong { font-weight: 600; color: var(--dc-terracota); }
.ficha[aria-disabled="true"] { opacity: .45; cursor: default; }
.ficha[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .calendario__dias.entra-prox, .calendario__dias.entra-volta, .calendario__dia[aria-pressed="true"] { animation: none; }
  .calendario__dia, .calendario__seta { transition: none; }
}
@media (min-width: 600px) {
  .calendario { margin-inline: 0; padding: 16px 12px 12px; }
}

@media (min-width: 960px) {
  .agendamento__grade { grid-template-columns: 1fr minmax(0, 480px); gap: var(--s12); align-items: center; }
  .formulario { padding: var(--s10) var(--s6) var(--s6); border-radius: 240px 240px var(--radius-card) var(--radius-card); }
}

/* =========================================================
   09 · RODAPÉ
   ========================================================= */
.rodape {
  background: var(--dc-profundo); color: var(--dc-creme);
  border-top: 1px solid var(--dc-creme-linha);
  padding: var(--s8) 0 calc(var(--s10) + env(safe-area-inset-bottom));
}
.rodape__grade { display: grid; gap: var(--s5); }
.rodape__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s3); }
.rodape__nav a { text-decoration: none; color: var(--dc-creme-suave); padding: 10px 0; font-size: .9375rem; transition: color .3s; }
.rodape__nav a:hover { color: var(--dc-luz); }
.rodape__rotulo { font-size: .875rem; font-weight: 500; color: var(--dc-luz); margin-bottom: var(--s1); }
.rodape__contato p:not(.rodape__rotulo) { color: var(--dc-creme-suave); font-size: .9375rem; }
.rodape__whats { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: var(--font-display); font-size: 1.25rem; transition: color .3s; }
.rodape__whats svg { width: 22px; height: 22px; color: var(--dc-luz); }
.rodape__whats:hover { color: var(--dc-luz); }
.rodape__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--dc-creme-suave); text-decoration: none; font-size: .9375rem; transition: color .3s; }
.rodape__link:hover { color: var(--dc-luz); }
.rodape__link svg { width: 20px; height: 20px; flex: none; color: var(--dc-luz); }
.rodape__link--fim { align-items: flex-start; padding-block: 10px; line-height: 1.5; }
.rodape__link--fim svg { margin-top: 2px; }
.rodape__contato { display: flex; flex-direction: column; align-items: flex-start; }
.rodape__base {
  margin-top: var(--s6); padding-top: var(--s3);
  border-top: 1px solid var(--dc-creme-linha);
  display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); justify-content: space-between;
  font-size: .75rem; color: var(--dc-creme-suave);
}
.credito { color: #c6b4aa; }
.credito span { color: #baa499; }
.credito a { display: inline-block; padding: 12px 2px; margin: -12px 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.credito a:hover, .credito a:focus-visible { color: var(--dc-creme); text-decoration-color: currentColor; }

@media (min-width: 960px) {
  .rodape { padding-bottom: var(--s6); }
  .rodape__grade { grid-template-columns: 5fr 4fr 3fr; gap: var(--s8); }
}

/* =========================================================
   WhatsApp flutuante
   ========================================================= */
.whats-flutuante {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dc-luz); color: var(--dc-profundo);
  box-shadow: 0 12px 32px rgba(42, 24, 16, .3), 0 0 0 1px rgba(87, 39, 22, .12);
  transition: transform .35s var(--ease), background-color .3s, opacity .3s, visibility .3s;
}
.whats-flutuante svg { width: 26px; height: 26px; }
.whats-flutuante__dica {
  position: absolute; right: calc(100% + 12px); top: 50%;
  translate: 0 -50%;
  white-space: nowrap; padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--dc-profundo); color: var(--dc-creme); font-size: .8125rem; font-weight: 500;
  opacity: 0; transform: translateX(6px); pointer-events: none;
  transition: opacity .3s var(--ease-suave), transform .4s var(--ease);
}
@media (hover: hover) {
  .whats-flutuante:hover { transform: scale(1.06); background: var(--dc-creme); }
  .whats-flutuante:hover .whats-flutuante__dica { opacity: 1; transform: none; }
}
.whats-flutuante:focus-visible { border-radius: 50%; }
.whats-flutuante:focus-visible .whats-flutuante__dica { opacity: 1; transform: none; }
body.menu-aberto .whats-flutuante { opacity: 0; visibility: hidden; }
/* enquanto o Hero está na tela (ele já tem os botões), o atalho some para não cobrir o texto */
.js .whats-flutuante:not(.whats-flutuante--ativo) { opacity: 0; visibility: hidden; transform: translateY(8px); }
/* na seção de agendamento o WhatsApp já está na tela: o atalho sai de cena */
.js .whats-flutuante.whats-flutuante--oculto { opacity: 0; visibility: hidden; transform: translateY(8px); }

/* =========================================================
   Movimento
   ========================================================= */
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes linha-sobe { from { transform: translateY(105%); } to { transform: none; } }
@keyframes foto-entra { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes acende { from { opacity: 0; } to { opacity: 1; } }
@keyframes luz-cresce { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes aparece-redondo { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .entra { animation: sobe .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 150ms + var(--entrada-extra, 0ms)); }
  .entra-linha { animation: linha-sobe 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 100ms + var(--entrada-extra, 0ms)); }
  .hero__cena img { animation: foto-entra 1.8s var(--ease) .15s both; }

  .js .revela { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--atraso, 0s); }
  .js .revela-foto { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--atraso, 0s); }
  .js .revela-foto img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
  .js .visivel { opacity: 1; transform: none; }
  .js .visivel img { transform: none; }

  [data-curl] { transition: stroke-dashoffset 2.6s var(--ease-suave); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   Abertura "o cacho levanta a cortina" (uma vez por visita, só com movimento; controle no index.html)
   Tela escura com o selo, o nome, o cacho e a assinatura no centro. Depois a cortina sobe
   inteira, com uma sombra macia na borda, e a hero aparece como cena, sem foco em ninguém.
   Só transform/opacity: a cortina é fixa e cobre a tela; a hero espera parada embaixo.
   ========================================================= */
.abertura { display: none; }
html.com-abertura .abertura { display: block; position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
html.abertura-fim .abertura { display: none; }
.abertura__cortina {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--dc-profundo);
  will-change: transform;
  transition: transform 1.35s cubic-bezier(.62, 0, .24, 1) .12s;
}
/* sombra macia na borda de baixo da cortina (fica fora da tela até ela subir) */
.abertura__franja {
  position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 64px;
  background: linear-gradient(180deg, rgba(87, 39, 22, .7), rgba(87, 39, 22, 0));
}

/* o selo: o emblema aparece e um fio de luz se fecha em volta, de cima para baixo */
.abertura__marca {
  display: flex; flex-direction: column; align-items: center; margin-top: -3vh;
  text-align: center; color: var(--dc-creme);
  transition: opacity .5s var(--ease-suave), transform .8s var(--ease);
}
.abertura__selo { position: relative; width: clamp(76px, 22vw, 112px); aspect-ratio: 1; margin-bottom: 26px; }
.abertura__selo img { display: block; width: 100%; height: 100%; animation: abertura-selo 1s var(--ease) .1s both; }
.abertura__aro { position: absolute; inset: -14px; overflow: hidden; animation: abertura-janela 1.2s cubic-bezier(.5, 0, .2, 1) .3s both; }
.abertura__aro > span { position: absolute; inset: 0; animation: abertura-janela-in 1.2s cubic-bezier(.5, 0, .2, 1) .3s both; }
.abertura__aro > span > span { position: absolute; inset: 3px; border: 1px solid rgba(243, 217, 164, 0.75); border-radius: 50%; }

/* o nome: as letras sobem, o cacho se desenha e a assinatura entra (esperam a Lora: abertura-fonte) */
/* o nome é o letreiro do logo (assets/nome-dona-crespa.svg) e se escreve da esquerda para a direita */
.abertura__nome { display: block; width: min(78vw, 440px); aspect-ratio: 1150 / 312; }
.abertura__nome > span {
  display: block; width: 100%; height: 100%; background: currentColor;
  -webkit-mask: url("./assets/nome-dona-crespa.svg") center / contain no-repeat;
  mask: url("./assets/nome-dona-crespa.svg") center / contain no-repeat;
  animation: abertura-escrita 1.25s cubic-bezier(.45, 0, .2, 1) both paused; animation-delay: var(--atraso-nome, 700ms);
}
.abertura__cacho, .abertura__cacho > span { animation: abertura-janela-x 1.1s cubic-bezier(.5, 0, .2, 1) both paused; animation-delay: calc(var(--atraso-nome, 700ms) + 500ms); }
.abertura__cacho { position: relative; display: block; width: 168px; height: 28px; margin-top: 10px; overflow: hidden; }
.abertura__cacho > span { position: absolute; inset: 0; animation-name: abertura-janela-x-in; }
.abertura__cacho svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--dc-luz); stroke-width: 1.8; stroke-linecap: round; }
.abertura__assinatura {
  display: block; margin-top: 10px; padding-left: .32em;
  font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--dc-luz);
  animation: abertura-sobe .8s var(--ease) both paused; animation-delay: calc(var(--atraso-nome, 700ms) + 850ms);
}
/* até o carregamento acalmar, a tela fica escura e parada (o controle libera com abertura-pronta) */
html.com-abertura:not(.abertura-pronta) :is(.abertura__selo img, .abertura__aro, .abertura__aro > span) { animation-play-state: paused; }
html.abertura-fonte :is(.abertura__nome > span, .abertura__cacho, .abertura__cacho > span, .abertura__assinatura) { animation-play-state: running; }

/* enquanto a cortina não sobe: topo, botão do WhatsApp e textos da hero parados; o resto da página espera para pintar
   (as ilustrações dos serviços custam ~0,4 s de raster na GPU e não podem cair no meio da abertura) */
html.com-abertura { --entrada-extra: 560ms; }
html.com-abertura:not(.abertura-abrindo) .topo { opacity: 0; pointer-events: none; }
html.com-abertura:not(.abertura-fim) .whats-flutuante { opacity: 0; visibility: hidden; }
html.com-abertura:not(.abertura-solta) :is(main > :not(.hero), .rodape) { visibility: hidden; }
html.com-abertura:not(.abertura-solta) body { background-color: var(--dc-profundo); } /* tela mais alta que a hero (tablet em pé) */
html.com-abertura:not(.abertura-abrindo) .hero :is(.entra, .entra-linha) { animation-play-state: paused; }
/* a foto fica parada, como um palco que a cortina revela: qualquer animação nela faz o Chrome redesenhá-la
   em alta qualidade quando os textos por cima terminam de entrar (~250 ms de GPU no desktop, medido em 21/10) */
html.com-abertura .hero__cena img { animation: none; }

/* sobe: o nome sai, a cortina sobe inteira e a hero assenta embaixo */
html.abertura-abrindo .abertura__marca { opacity: 0; transform: translateY(-28px); }
html.abertura-abrindo .abertura__cortina { transform: translateY(calc(-100% - 72px)); }
html.abertura-abrindo:not(.abertura-fim) .topo { animation: abertura-topo .8s var(--ease) .95s both; }

@keyframes abertura-selo { from { opacity: 0; transform: scale(.9); } }
@keyframes abertura-janela { from { transform: translateY(-101%); } }
@keyframes abertura-janela-in { from { transform: translateY(101%); } }
@keyframes abertura-escrita { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes abertura-janela-x { from { transform: translateX(-101%); } }
@keyframes abertura-janela-x-in { from { transform: translateX(101%); } }
@keyframes abertura-letra { from { transform: translateY(105%); } }
@keyframes abertura-sobe { from { opacity: 0; transform: translateY(8px); } }
@keyframes abertura-topo { from { opacity: 0; translate: 0 -16px; } }

/* =========================================================
   Folha de detalhe do serviço (abre no lugar, sem viajar pela página)
   ========================================================= */
a, button { -webkit-tap-highlight-color: transparent; }
.servico { cursor: pointer; }
.servico:not(.servico--info):active { transform: scale(.985); }
.folha { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.folha[hidden] { display: none; }
.folha__fundo { position: absolute; inset: 0; background: rgba(42, 24, 16, .62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity .4s var(--ease-suave); }
.folha__painel {
  position: relative; width: 100%; max-height: 92vh; max-height: 92dvh; overflow: auto; overscroll-behavior: contain;
  background: var(--dc-creme); border-radius: 28px 28px 0 0;
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%); transition: transform .55s var(--ease);
  box-shadow: 0 -20px 60px rgba(42, 24, 16, .35);
}
.folha.aberta .folha__fundo { opacity: 1; }
.folha.aberta .folha__painel { transform: none; }
.folha__alca { position: absolute; z-index: 2; top: 10px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: rgba(255, 255, 255, .75); }
.folha__fechar {
  position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(246, 241, 233, .35); cursor: pointer;
  background: rgba(42, 24, 16, .4); color: var(--dc-creme); font-size: 1.75rem; line-height: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .3s;
}
.folha__fechar:hover { background: rgba(42, 24, 16, .65); }
.folha__arte { height: 220px; overflow: hidden; }
.folha__arte svg { width: 100%; height: 100%; display: block; }
.folha__arte img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 25%; }
.folha__corpo { display: grid; gap: 12px; padding: var(--s3) var(--s3) var(--s4); align-content: start; }
.folha__titulo { font-family: var(--font-display); font-weight: 600; line-height: 1.25; font-size: 1.75rem; color: var(--dc-terracota); }
.folha__texto { color: var(--dc-cafe-suave); }
.folha__notas { display: grid; gap: 2px; margin: 0; }
.folha__notas[hidden] { display: none; }
.folha__notas dt { margin-top: 8px; font-size: .9375rem; font-weight: 600; color: var(--dc-cafe); }
.folha__notas dt:first-child { margin-top: 0; }
.folha__notas dd { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--dc-cafe-suave); }
.folha__nota { font-size: .8125rem; color: var(--dc-cafe-suave); }
.folha__acoes { display: grid; gap: 10px; margin-top: var(--s1); }
.folha__acoes [hidden] { display: none; }
.folha :focus-visible { outline-color: var(--dc-terracota); box-shadow: 0 0 0 5px var(--dc-creme); }
body.folha-aberta .whats-flutuante { opacity: 0; visibility: hidden; }

@media (min-width: 760px) {
  .folha { align-items: center; padding: var(--s4); }
  .folha__painel {
    width: min(900px, 100%); max-height: min(620px, 90vh); max-height: min(620px, 90dvh); border-radius: 28px;
    display: grid; grid-template-columns: 5fr 6fr; grid-template-rows: minmax(0, 1fr); overflow: hidden;
    transform: translateY(28px) scale(.97); opacity: 0;
    transition: transform .55s var(--ease), opacity .4s var(--ease-suave);
    box-shadow: 0 30px 80px rgba(42, 24, 16, .4);
  }
  .folha.aberta .folha__painel { transform: none; opacity: 1; }
  .folha__alca { display: none; }
  .folha__arte { height: 100%; min-height: 440px; }
  .folha__corpo { padding: var(--s6) var(--s5); align-content: center; overflow: auto; }
  .folha__fechar { background: rgba(87, 39, 22, .08); border-color: rgba(87, 39, 22, .25); color: var(--dc-terracota); }
  .folha__fechar:hover { background: rgba(87, 39, 22, .16); }
}

/* =========================================================
   Seletor de serviço (lista própria no lugar da nativa)
   ========================================================= */
.selecao { position: relative; }
.selecao__botao {
  width: 100%; min-height: 48px; padding: 12px 48px 12px 16px; display: flex; align-items: center; text-align: left;
  font: 400 1rem/1.4 var(--font-body); color: var(--dc-cafe); cursor: pointer;
  background: var(--dc-creme); border: 2px solid transparent; border-radius: var(--radius-input);
  transition: border-color .25s, box-shadow .25s;
}
.selecao__botao:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(243, 217, 164, 0.4); border-color: var(--dc-luz); border-radius: var(--radius-input); }
.selecao__botao[aria-expanded="true"] { border-color: var(--dc-luz); }
.selecao__seta { position: absolute; right: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; color: var(--dc-terracota); pointer-events: none; transition: transform .35s var(--ease); }
.selecao__botao[aria-expanded="true"] ~ .selecao__seta { transform: rotate(180deg); }
.selecao__lista {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none;
  background: var(--dc-creme); border-radius: 20px; max-height: min(372px, 68vh); max-height: min(372px, 68dvh); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 22px 54px rgba(42, 24, 16, .5), 0 0 0 1px rgba(87, 39, 22, .1);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .25s var(--ease-suave), transform .35s var(--ease);
}
.selecao__lista.sobe { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; transform: translateY(6px) scale(.98); }
.selecao__lista[hidden] { display: none; }
.selecao__lista.aberta { opacity: 1; transform: none; }
.selecao__lista:focus-visible { outline: none; box-shadow: 0 22px 54px rgba(42, 24, 16, .5), 0 0 0 2px var(--dc-luz); border-radius: 20px; }
.opcao {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 12px; border-radius: 14px; cursor: pointer;
  color: var(--dc-cafe); transition: background-color .2s var(--ease-suave);
}
.opcao + .opcao { margin-top: 2px; }
.opcao__icone { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--dc-linho); color: var(--dc-verde); transition: background-color .2s, color .2s; }
.opcao__icone svg { width: 18px; height: 18px; }
.opcao__texto { display: grid; gap: 1px; min-width: 0; }
.opcao__nome { font-size: 1rem; font-weight: 500; }
.opcao__dica { font-size: .8125rem; color: var(--dc-cafe-suave); }
.opcao__check { width: 20px; height: 20px; flex: none; margin-left: auto; color: var(--dc-terracota); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--ease); }
.opcao[data-ativa] { background: var(--dc-linho); }
.opcao[data-ativa] .opcao__icone { background: var(--dc-creme); }
.opcao[aria-selected="true"] .opcao__nome { color: var(--dc-terracota); }
.opcao[aria-selected="true"] .opcao__icone { background: var(--dc-terracota); color: var(--dc-creme); }
.opcao[aria-selected="true"] .opcao__check { opacity: 1; transform: none; }
.opcao:active { background: #dfd1bb; }

@media (min-width: 760px) and (max-height: 520px) {
  .folha { padding: var(--s2); }
  .folha__arte { min-height: 0; }
  .folha__corpo { padding: var(--s3) var(--s4); gap: 8px; }
  .folha__titulo { font-size: 1.5rem; }
  .folha__acoes { gap: 8px; }
  .folha__acoes .botao { min-height: 44px; }
}

/* durante o voo entre seções distantes, tudo que passa já está visível (nada de tela apagada) */
html.voando .revela, html.voando .revela-foto, html.voando .revela-foto img, html.voando .entra { transition: none !important; }

/* aviso de prévia: aparece ao tocar num botão de ação externa ainda desligado */
a[data-previa] { cursor: pointer; }
.aviso-previa {
  position: fixed; z-index: 95; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  width: max-content; max-width: calc(100vw - 32px); padding: 14px 22px; border-radius: var(--radius-pill);
  background: var(--dc-profundo); color: var(--dc-creme); border: 1px solid rgba(243, 217, 164, 0.6);  box-shadow: 0 18px 44px rgba(42, 24, 16, .45); font-size: .875rem; line-height: 1.4; text-align: center;
  opacity: 0; transform: translate(-50%, 14px); transition: opacity .35s var(--ease-suave), transform .5s var(--ease);
}
.aviso-previa[hidden] { display: none; }
.aviso-previa::before { content: "PRÉVIA"; margin-right: 10px; font-size: .6875rem; font-weight: 500; letter-spacing: .2em; color: var(--dc-luz); }
.aviso-previa.visivel { opacity: 1; transform: translate(-50%, 0); }
