/* =====================================================================
   Salão de Beleza Elainy Ferraz — Design system (branco & dourado)
   Para mudar a identidade visual, altere só os TOKENS abaixo.
   ===================================================================== */

:root {
  /* Cores — tiradas da logo */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #faf6ee;          /* marfim */
  --ink: #1f1a12;
  --ink-2: #4d4436;
  --muted: #6f6556;
  --line: #ece3d0;
  --line-strong: #9c8a6a;        /* bordas de campos: contraste 3:1 (WCAG 1.4.11) */
  --brand: #8a6420;              /* dourado para texto e botões: 5,35:1 no branco */
  --brand-600: #6e4d14;
  --brand-50: #f8f1e2;
  --gold-light: #cca655;         /* só decorativo (linhas, estrelas, brilhos) */
  --gold-grad: linear-gradient(120deg, #8f6823 0%, #7b5515 45%, #8a6420 70%, #6e4d14 100%);
  --success: #276b4d;
  --success-50: #e8f4ee;
  --danger: #b3261e;
  --danger-50: #fcecea;
  --wa: #1a7d43;

  /* Tipografia */
  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Forma e espaço */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(31 26 18 / 0.05), 0 2px 8px rgb(31 26 18 / 0.04);
  --shadow: 0 2px 6px rgb(31 26 18 / 0.05), 0 14px 34px rgb(31 26 18 / 0.08);
  --shadow-gold: 0 10px 28px rgb(138 100 32 / 0.25);
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16.5px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.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: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

h1, h2, h3 { font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 300; }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0; }
.gold { color: var(--brand); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--surface-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before, .eyebrow--center::after { content: ''; width: 26px; height: 1px; background: var(--gold-light); }
.section-head { max-width: 620px; margin-bottom: clamp(28px, 4vw, 40px); }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 12px; color: var(--ink-2); }
.section-head--center { margin-inline: auto; text-align: center; }

/* Ornamento: a linha com estrela da logo */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold-light); }
.ornament::before, .ornament::after { content: ''; height: 1px; width: min(120px, 22vw); }
.ornament::before { background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { background: linear-gradient(90deg, currentColor, transparent); }
.ornament svg { width: 16px; height: 16px; }

/* ---------- Botões ---------- */
.btn {
  --_bg: var(--gold-grad); --_fg: #fff; --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1.5px solid var(--_bd); border-radius: 999px;
  background: var(--_bg); background-size: 200% 100%; background-position: 0 0; color: var(--_fg);
  font-weight: 500; font-size: 1rem; letter-spacing: 0.04em; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), background-position .6s var(--ease), box-shadow .25s, border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background-position: 100% 0; box-shadow: var(--shadow-gold); }
.btn:active { transform: scale(0.98); }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line); }
.btn--ghost:hover { --_bd: var(--brand); --_fg: var(--brand); box-shadow: none; }
.btn--light { --_bg: #fff; --_fg: var(--brand); }
.btn--wa { --_bg: var(--wa); }
.btn--wa:hover { box-shadow: 0 8px 24px rgb(26 125 67 / 0.3); }
.btn--danger { --_fg: var(--danger); }
.btn--danger-solid { --_bg: var(--danger); --_fg: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.94rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.45; pointer-events: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 500; text-decoration: none; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; text-decoration: none; min-height: 44px; }
.brand { gap: 10px; }
.brand img { height: 28px; width: auto; }
.brand img.brand__emb { height: 34px; }
@media (min-width: 900px) { .brand img { height: 32px; } .brand img.brand__emb { height: 40px; } }
.nav { display: none; gap: 30px; }
.nav a { text-decoration: none; font-size: 0.98rem; color: var(--ink-2); position: relative; padding-block: 6px; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brand); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
@media (min-width: 860px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(36px, 7vw, 80px) clamp(48px, 8vw, 88px);
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(204 166 85 / 0.14), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
}
.hero__emblema { width: min(280px, 60vw); margin: 0 auto; }
.hero__emblema img, .hero__ornamento img { width: 100%; height: auto; display: block; }
.hero__logo { width: min(580px, 88vw); margin: clamp(12px, 2.6vw, 22px) auto 0; }
.hero__ornamento { width: min(400px, 72vw); margin: 10px auto 0; }
.hero__logo img { width: 100%; height: auto; }
.hero__tag { margin-top: 26px; font-size: clamp(1.5rem, 4.4vw, 2.2rem); font-weight: 300; line-height: 1.25; }
.hero__lead { margin: 14px auto 0; max-width: 540px; color: var(--ink-2); font-size: clamp(1rem, 2vw, 1.1rem); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; color: var(--muted); font-size: 0.9rem; }
.hero__meta span, .hero__meta a { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 17px; height: 17px; color: var(--brand); }

.hero__hours {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
  margin-top: 24px; padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 0.95rem; color: var(--ink-2);
}
.hero__hours > svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.hero__hours b { font-weight: 500; color: var(--ink); }
.hero__hours .sep { color: var(--gold-light); margin: 0 6px; }
@media (max-width: 480px) { .hero__hours { border-radius: var(--radius); } }

/* ---------- Serviços: lista de preços compacta ---------- */
/* Categorias: no celular viram uma faixa que rola de lado (de ponta a ponta da tela);
   a partir de 760px quebram em linhas centralizadas. Os nomes nunca quebram dentro do botão. */
.tabs {
  display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) 16px; padding: 6px var(--gutter) 8px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }
/* margens automáticas centralizam quando sobra espaço e somem quando a faixa rola */
.tab:first-child { margin-left: auto; }
.tab:last-child { margin-right: auto; }
.tab {
  flex: none; white-space: nowrap; scroll-snap-align: start;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 0.95rem; letter-spacing: 0.04em; cursor: pointer; transition: all .2s; color: var(--ink-2);
}
@media (min-width: 760px) {
  .tabs { flex-wrap: wrap; justify-content: center; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .tab:first-child, .tab:last-child { margin-inline: 0; }
}
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-list { max-width: 760px; margin: 0 auto; list-style: none; padding: 0; overflow-wrap: anywhere; }
.price-item {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 4px 16px;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.price-item:last-child { border-bottom: 0; }
.price-item__info { min-width: 0; }
.price-item__name { display: block; font-size: 1.06rem; }
.price-item__meta { display: block; font-size: 0.85rem; color: var(--muted); }
.price-item__price { font-weight: 500; color: var(--brand); white-space: nowrap; text-align: right; line-height: 1.2; }
.price-item__price small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--muted); }
/* Agendar da lista: branco com letra e borda douradas; no hover, inverte (fundo dourado, letra branca) */
.price-item__btn { --_bg: #fff; --_fg: var(--brand); --_bd: var(--brand); min-height: 40px; padding: 0 18px; font-size: 0.9rem; background-size: auto; transition: background-color .2s, color .2s, box-shadow .25s; }
.price-item__btn:hover, .price-item__btn:focus-visible { --_bg: var(--brand); --_fg: #fff; background: var(--brand); box-shadow: var(--shadow-gold); }
@media (max-width: 520px) {
  .price-item { grid-template-columns: 1fr auto; grid-template-areas: 'info btn' 'price btn'; gap: 2px 14px; }
  .price-item__info { grid-area: info; }
  .price-item__price { grid-area: price; text-align: left; display: flex; align-items: baseline; gap: 5px; }
  .price-item__price small { display: inline; }
  .price-item__btn { grid-area: btn; min-height: 44px; }
  .price-item__meta { display: none; }
}
.services-foot { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.services-foot p { color: var(--muted); font-size: 0.86rem; }

/* ---------- Trabalhos (faixa rolável no celular) ---------- */
/* Celular: carrossel com arrastar. Desktop: grade com a foto de destaque maior. */
.gallery {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; flex: 0 0 76%; scroll-snap-align: center;
  display: grid; place-items: center; text-decoration: none; background: #fff; border: 1px solid var(--line);
}
.gallery__item picture { position: absolute; inset: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__legenda {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; font-size: 0.9rem; line-height: 1.2; color: #fff; text-align: center;
  background: linear-gradient(transparent, rgb(31 26 18 / 0.62)); letter-spacing: 0.04em;
}
.gallery__ph { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--brand); font-size: 0.95rem; text-align: center; padding: 6px; line-height: 1.25; }
.gallery__ph svg { width: 26px; height: 26px; color: var(--brand); }
.gallery__item--ig { background: var(--brand-50); border-color: #e6d5b0; }
.gallery__item--ig:hover { background: #f3e7cc; }
.gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: #e6d5b0; transition: background .3s, transform .3s; }
.gallery-dots span.is-on { background: var(--brand); transform: scale(1.3); }
@media (min-width: 760px) {
  .gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; overflow: visible;
    margin-inline: 0; padding-inline: 0;
  }
  .gallery__item { aspect-ratio: 1; }
  .gallery__item--destaque { grid-column: span 2; grid-row: span 2; }
  .gallery__item img { object-position: 50% 30%; }
  .gallery__item--destaque .gallery__legenda { font-size: 1.05rem; padding: 40px 14px 14px; letter-spacing: 0.06em; }
  .gallery-dots { display: none; }
}
.gallery-foot { margin-top: 16px; display: flex; justify-content: center; }

/* ---------- Foto ampliada (abre ao clicar numa foto da galeria) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgb(20 16 10 / 0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(92vw, 720px); }
.lightbox__img {
  max-width: 100%; max-height: calc(100dvh - 160px); border-radius: var(--radius); box-shadow: 0 20px 60px rgb(0 0 0 / 0.45);
  transform: scale(.96); transition: opacity .2s var(--ease), transform .3s var(--ease); user-select: none; -webkit-user-drag: none;
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__img.is-trocando { opacity: 0; }
.lightbox__legenda { color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; text-align: center; }
.lightbox__legenda small { display: block; margin-top: 2px; color: rgb(255 255 255 / 0.6); font-size: 0.78rem; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / 0.14); color: #fff; transition: background .2s;
}
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: rgb(255 255 255 / 0.28); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__fechar { top: 14px; right: 14px; }
.lightbox__ant { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__prox { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 759px) {
  /* No celular as setas ficam embaixo para não cobrir a foto (e dá para arrastar com o dedo) */
  .lightbox__ant, .lightbox__prox { top: auto; bottom: 18px; transform: none; }
  .lightbox__ant { left: calc(50% - 58px); }
  .lightbox__prox { right: calc(50% - 58px); }
  .lightbox__fig { margin-bottom: 44px; }
}
body.sem-rolagem { overflow: hidden; }

/* ---------- Avaliação (faixa compacta) ---------- */
.review-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  max-width: 540px; margin: 28px auto 0; padding: 16px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid #e6d5b0; box-shadow: var(--shadow-sm);
}
.review-band__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.review-band__text strong { display: block; font-weight: 500; }
.review-band__text span { color: var(--muted); font-size: 0.88rem; }
.stars { display: flex; gap: 2px; color: var(--gold-light); flex: none; }
.stars svg { width: 17px; height: 17px; }

/* ---------- Contato ---------- */
.contact { display: grid; gap: 18px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 26px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card h3 svg { width: 21px; height: 21px; color: var(--brand); }
.hours { list-style: none; padding: 0; margin: 14px 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: var(--radius-sm); }
.hours li + li { border-top: 1px solid var(--line); }
.hours li.is-today { background: var(--brand-50); font-weight: 500; border-color: transparent; }
.hours li.is-today + li { border-top-color: transparent; }
.hours .closed { color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 500; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--open { background: var(--success-50); color: var(--success); }
.badge--closed { background: var(--surface-2); color: var(--muted); }
.contact__info { display: grid; gap: 12px; margin-top: 18px; }
.contact__row { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.contact__row svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.amenities li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 0.84rem; color: var(--ink-2); }
.amenities svg { width: 16px; height: 16px; color: var(--brand); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 300px; border: 1px solid var(--line); background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: saturate(0.7) sepia(0.12); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgb(255 255 255 / 0.72); padding-block: 44px calc(44px + env(safe-area-inset-bottom)); font-size: 0.92rem; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 20px 28px; justify-content: space-between; align-items: center; }
.footer__logo { display: inline-flex; align-items: center; gap: 10px; }
.footer__logo img { height: 30px; width: auto; filter: brightness(1.45) saturate(1.1); }
.footer__logo img.brand__emb { height: 38px; filter: none; }
.footer a { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer__links a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer__links a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(204 166 85 / 0.4); color: var(--gold-light); transition: background .2s; }
.footer__social a:hover { background: rgb(204 166 85 / 0.12); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; font-size: 0.8rem; color: rgb(255 255 255 / 0.6); }

/* ---------- Ações fixas (mobile) ---------- */
.fab-wa {
  position: fixed; right: 28px; bottom: 28px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgb(26 125 67 / 0.35); transition: transform .2s var(--ease);
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 28px; height: 28px; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease);
  display: flex; gap: 10px; align-items: center;
}
.mobile-bar__wa { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; }
.mobile-bar__wa svg { width: 26px; height: 26px; }
.mobile-bar.is-visible { transform: none; }
@media (min-width: 860px) { .mobile-bar { display: none; } .fab-wa { display: grid; } }

/* ---------- Página Sobre ---------- */
.page-hero { text-align: center; padding-block: clamp(48px, 8vw, 88px) clamp(32px, 5vw, 56px); background: linear-gradient(180deg, #fff, var(--surface-2)); }
.page-hero h1 { margin-top: 14px; }
.page-hero p { margin: 14px auto 0; max-width: 560px; color: var(--ink-2); font-size: 1.08rem; }
.story { max-width: 680px; margin-inline: auto; }
.story p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.8; }
.story p + p { margin-top: 18px; }
.story .lead { font-size: 1.3rem; font-weight: 300; color: var(--ink); line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 40px; }
.fact { text-align: center; padding: 22px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.fact strong { display: block; font-size: 2rem; font-weight: 300; color: var(--brand); line-height: 1.1; }
.fact span { font-size: 0.88rem; color: var(--muted); }
.feature-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature svg { width: 26px; height: 26px; color: var(--brand); }
.feature h3 { margin-top: 12px; }
.feature p { margin-top: 6px; color: var(--ink-2); font-size: 0.96rem; }
.cta-band { text-align: center; }
.cta-band p { margin: 12px auto 0; color: var(--ink-2); max-width: 460px; }
.cta-band .btn { margin-top: 22px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Avisos ---------- */
.demo-banner { background: var(--ink); color: #fff; text-align: center; font-size: 0.82rem; padding: 8px 16px; }
.demo-banner b { color: var(--gold-light); font-weight: 500; }

/* =====================================================================
   AGENDAMENTO
   ===================================================================== */
.booking-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--surface-2); }
.bk-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.bk-header__inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.bk-header__logo { display: flex; align-items: center; min-height: 44px; }
.bk-header__logo { gap: 6px; }
.bk-header__logo img { height: 20px; width: auto; }
.bk-header__logo img.brand__emb { height: 26px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center;
  cursor: pointer; flex: none; text-decoration: none; transition: background .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 22px; height: 22px; }
.bk-header__title { flex: 1; min-width: 0; }
.bk-header__title strong { display: block; font-size: 1rem; font-weight: 500; }
.bk-header__title span { font-size: 0.82rem; color: var(--muted); }
.progress { height: 2px; background: var(--line); }
.progress__bar { height: 100%; background: var(--gold-grad); width: 0; transition: width .5s var(--ease); }

.bk-main { flex: 1; padding-block: 28px 150px; }
.bk-wrap { max-width: 680px; margin-inline: auto; }
.bk-step { animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bk-step > h1 { font-size: clamp(1.9rem, 6vw, 2.4rem); }
.bk-step > .bk-sub { margin-top: 6px; color: var(--ink-2); }
.bk-group { margin-top: 26px; }
.bk-group__title { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

/* Opção selecionável (serviço / profissional) */
.opt-list { display: grid; gap: 8px; }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 18px; min-height: 70px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.opt:hover { border-color: #d9c7a3; }
.opt--static { cursor: default; }
.opt--static:hover { border-color: var(--line); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__check {
  width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center;
  transition: all .2s; color: transparent;
}
.opt input[type='radio'] ~ .opt__check { border-radius: 50%; }
.opt__check svg { width: 15px; height: 15px; }
/* overflow-wrap: nomes longos sem espaço (ex.: "Hidratação/Reconstrução/Nutrição") quebram em vez de empurrar o preço para fora da tela */
.opt__body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.opt__name { font-weight: 500; display: block; }
.opt__desc { display: block; font-size: 0.87rem; color: var(--muted); margin-top: 1px; }
.opt__aside { text-align: right; flex: none; }
.opt__price { font-weight: 500; display: block; white-space: nowrap; color: var(--brand); }
.opt__price small { font-weight: 400; font-size: 0.72rem; color: var(--muted); display: block; }
.opt__time { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px rgb(138 100 32 / 0.12); }
.opt:has(input:checked) .opt__check { background: var(--brand); border-color: var(--brand); color: #fff; }
.opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden;
  background: var(--brand-50); border: 1px solid #e6d5b0; font-size: 1.3rem; color: var(--brand);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--any { background: var(--surface-2); color: var(--ink-2); border-color: var(--line); }
.avatar--any svg { width: 22px; height: 22px; }

/* Dias */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day {
  flex: none; scroll-snap-align: start; width: 66px; padding: 11px 0; border-radius: var(--radius); text-align: center;
  background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: all .2s;
}
.day:hover:not([disabled]) { border-color: #d9c7a3; }
.day__wd { display: block; font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.day__n { display: block; font-size: 1.6rem; font-weight: 300; line-height: 1.15; margin-top: 2px; }
.day__m { display: block; font-size: 0.72rem; color: var(--muted); }
.day[aria-pressed='true'] { background: var(--gold-grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-gold); }
.day[aria-pressed='true'] .day__wd, .day[aria-pressed='true'] .day__m { color: rgb(255 255 255 / 0.92); }
.day[disabled] { opacity: 0.4; cursor: not-allowed; background: transparent; }
.day[disabled] .day__n { text-decoration: line-through; text-decoration-thickness: 1px; }

/* Horários */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; }
.slot {
  min-height: 48px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff;
  font-weight: 500; font-size: 1rem; cursor: pointer; transition: all .15s; font-variant-numeric: tabular-nums;
}
.slot:hover { border-color: var(--brand); color: var(--brand); }
.slot[aria-pressed='true'] { background: var(--gold-grad); border-color: transparent; color: #fff; }
/* Horário que já tem cliente: pede encaixe pelo WhatsApp */
.slot--cheio { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; border-style: dashed; border-color: #c9a96a; background: #faf6ee; color: var(--ink-2); }
.slot--cheio small { font-size: 0.68rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.slot--cheio[aria-pressed='true'] { background: #fff4dc; border: 1.5px solid var(--brand); color: var(--brand); }
.slot--cheio[aria-pressed='true'] small { color: var(--brand); }
.slots-legenda { margin-top: 14px; font-size: 0.84rem; line-height: 1.5; color: var(--muted); }
.slot-mini { display: inline-block; vertical-align: -2px; width: 18px; height: 14px; margin-right: 6px; border-radius: 4px; border: 1.5px dashed #c9a96a; background: #faf6ee; }
.cheio { margin-top: 22px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1.5px solid #e6d5b0; animation: stepIn .35s var(--ease); }
.cheio__titulo { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.cheio__titulo svg { width: 20px; height: 20px; flex: none; }
.cheio p { color: var(--ink-2); font-size: 0.93rem; margin: 0 0 12px; }
.cheio__passos { background: #faf6ee; border-radius: var(--radius-sm); padding: 10px 12px; }
.cheio .btn { width: 100%; justify-content: center; }
.cheio .cheio__ou { margin: 12px 0 0; font-size: 0.84rem; color: var(--muted); text-align: center; }
.period { margin-top: 20px; }
.period:first-child { margin-top: 0; }
.period__title { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.9rem; color: var(--ink-2); margin-bottom: 10px; }
.period__title svg { width: 18px; height: 18px; color: var(--brand); }

/* Roteiro (quem faz o quê e quando) */
.roteiro { margin-top: 22px; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid #e6d5b0; animation: stepIn .35s var(--ease); }
.roteiro__title { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.roteiro__item { display: flex; gap: 14px; padding: 5px 0; }
.roteiro__hora { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--brand); width: 48px; flex: none; }
.roteiro__item b { font-weight: 500; }
.roteiro__item--fim { color: var(--muted); }

/* Formulário */
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-weight: 500; font-size: 0.94rem; }
.field label small { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong);
  background: #fff; font: inherit; font-size: 1.05rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea.input { padding: 14px 16px; min-height: 96px; resize: vertical; }
.input::placeholder { color: #857a6a; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(138 100 32 / 0.14); }
.input[aria-invalid='true'] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.86rem; font-weight: 500; }
.hp { position: absolute; left: -9999px; }

/* Resumo */
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 22px; }
.summary__row { display: flex; gap: 14px; padding: 15px 18px; align-items: flex-start; }
.summary__row + .summary__row { border-top: 1px solid var(--line); }
.summary__row > svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.summary__label { font-size: 0.74rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.summary__value { font-weight: 500; }
.summary__value small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.9rem; }
.summary__gap { display: block; height: 8px; }
.summary__edit { margin-left: auto; font-size: 0.88rem; font-weight: 500; color: var(--brand); background: none; border: 0; cursor: pointer; padding: 10px 8px; border-radius: 8px; align-self: center; text-decoration: underline; text-underline-offset: 3px; }
.summary__total { background: var(--brand-50); }
.note { margin-top: 16px; font-size: 0.9rem; color: var(--muted); display: flex; gap: 10px; }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* Barra inferior do fluxo */
.bk-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  background: rgb(255 255 255 / 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
}
.bk-bar__inner { display: flex; align-items: center; gap: 16px; }
.bk-bar__info { flex: 1; min-width: 0; line-height: 1.3; }
.bk-bar__info strong { display: block; font-size: 1rem; font-weight: 500; }
.bk-bar__info span { font-size: 0.85rem; color: var(--muted); }
.bk-bar .btn { min-width: 140px; }

/* Estados */
.state { text-align: center; padding: 40px 12px; }
.state__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.state__icon svg { width: 28px; height: 28px; }
.state h2 { font-size: 1.6rem; }
.state p { margin: 10px auto 0; max-width: 430px; color: var(--ink-2); }
.state > .btn { margin-top: 22px; }
.state__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 18px; font-weight: 500; font-size: 0.94rem; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert--error { background: var(--danger-50); color: var(--danger); }
.alert--info { background: var(--brand-50); color: var(--brand-600); }
.skeleton { border-radius: var(--radius-sm); background: linear-gradient(90deg, #f3ecdd 0%, #fbf8f1 50%, #f3ecdd 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / 0.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sucesso */
.success { text-align: center; padding-top: 12px; }
.success__check { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--gold-grad); color: #fff; display: grid; place-items: center; animation: pop .6s var(--ease); box-shadow: var(--shadow-gold); }
.success__check svg { width: 40px; height: 40px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .25s var(--ease) forwards; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success .summary { text-align: left; }
.success__actions { display: grid; gap: 10px; margin-top: 22px; }
.success__cancel { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.success__cancel a { color: var(--brand); font-weight: 500; }

/* Meus agendamentos */
.mine { margin-bottom: 24px; background: #fff; border: 1px solid #e6d5b0; border-radius: var(--radius); padding: 14px 18px; }
.mine__title { font-weight: 500; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.mine__item { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 8px 0; }
.mine__item + .mine__item { border-top: 1px solid var(--line); }
.mine__item b { font-weight: 500; }
.mine__item a { font-size: 0.88rem; font-weight: 500; color: var(--brand); white-space: nowrap; padding: 10px 0; }

/* Link discreto (cancelar) */
.link-inline { background: none; border: 0; padding: 10px 4px; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-inline:hover { color: var(--danger); }

/* Janela (cancelamento) */
.modal { border: 0; border-radius: var(--radius-lg); padding: 28px 24px 20px; width: min(440px, calc(100vw - 32px)); text-align: center; color: var(--ink); box-shadow: 0 30px 80px rgb(31 26 18 / 0.3); }
.modal::backdrop { background: rgb(31 26 18 / 0.5); }
.modal__icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--danger-50); color: var(--danger); }
.modal__icon svg { width: 26px; height: 26px; }
.modal h2 { font-size: 1.5rem; }
.modal p { margin-top: 8px; color: var(--ink-2); }
.modal p small { color: var(--muted); }
.modal__rule { display: flex; gap: 10px; text-align: left; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-50); color: var(--brand-600); font-size: 0.92rem; }
.modal__rule svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.modal__hint { font-size: 0.92rem; }
.modal__actions { display: grid; gap: 8px; margin-top: 18px; }
.btn--ghost.btn--danger { --_bd: #e8c5c2; }
.btn--ghost.btn--danger:hover { --_bd: var(--danger); --_fg: var(--danger); }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .success__check svg { stroke-dashoffset: 0; }
}
