/* Brasa Barber Club — projeto conceito (Gabriel Studio) */

:root {
  --bg: #0d0c0b;
  --bg-2: #151311;
  --bg-3: #1d1a17;
  --line: rgba(242, 237, 230, 0.1);
  --line-2: rgba(242, 237, 230, 0.2);
  --text: #f2ede6;
  --muted: #a1988c;
  --ember: #e86a33;
  --ember-2: #ff8b54;
  --ember-ink: #1a0c05;
  --ok: #7fd18b;
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --container: min(1200px, 100% - 40px);
  --header-h: 68px;
  --radius: 20px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* um display: grid/flex de classe não pode vencer o atributo hidden */
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
fieldset { min-width: 0; padding: 0; border: 0; }
legend { padding: 0; }

.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 {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ember); color: var(--ember-ink); font-weight: 700;
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--ember-2); outline-offset: 3px; border-radius: 6px; }

.container { width: var(--container); margin-inline: auto; }

/* ── Tipografia ── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section__head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
@media (min-width: 900px) {
  .section__head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; }
}
.section__title {
  margin-top: 12px;
  font-size: clamp(2.6rem, 8.5vw, 5.2rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.section__title em,
.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ember);
}
.section__note { max-width: 42ch; color: var(--muted); }

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 16px; }
.btn--ember { background: var(--ember); color: var(--ember-ink); }
.btn--ember:not(:disabled):hover { background: var(--ember-2); }
.btn--cream { background: var(--text); color: var(--bg); }
.btn--cream:hover { background: #fff; }
.btn--line { border-color: var(--line-2); background: transparent; }
.btn--line:hover { border-color: var(--text); }
.btn--ghost { background: transparent; color: var(--muted); padding-inline: 14px; }
.btn--ghost:hover { color: var(--text); }

/* ── Header ── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.header.is-solid { background: var(--bg); border-color: var(--line); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: var(--container);
  height: 100%;
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  text-decoration: none;
}
.brand span {
  font-size: 1.7rem;
  font-weight: 900;
  font-stretch: 62%;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.brand small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  transform: translateY(2px);
}
.brand__mark { width: 22px; height: 22px; fill: var(--ember); }

.nav { display: none; gap: 28px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); transition: color 0.2s ease; }
.nav a:hover { color: var(--text); }

.status {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}
.status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 209, 139, 0.15); }
.header__cta { min-height: 42px; padding: 8px 18px; font-size: 14px; }

@media (min-width: 720px) { .status { display: inline-flex; } }
@media (min-width: 1040px) { .nav { display: flex; } }

/* ── Capa ── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding: calc(var(--header-h) + 32px) 0 64px;
  isolation: isolate;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 12, 11, 0.7) 0%, rgba(13, 12, 11, 0.25) 35%, rgba(13, 12, 11, 0.75) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(13, 12, 11, 0.6) 0%, transparent 70%);
}
.hero__inner { display: grid; gap: 28px; }
.hero__title {
  margin-top: 14px;
  font-size: clamp(3.6rem, 15vw, 9rem);
  font-weight: 900;
  font-stretch: 62%;
  line-height: 0.95; /* menos que isso, o acento do É encosta na linha de cima */
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero__title em { display: inline-block; margin-top: 0.08em; font-size: 0.9em; line-height: 0.95; }
.hero__lead { max-width: 44ch; margin-top: 20px; font-size: clamp(1rem, 1.5vw, 1.12rem); color: rgba(242, 237, 230, 0.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn { flex: 1 1 200px; }

.next {
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(21, 19, 17, 0.92);
}
.next__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 209, 139, 0.15); }
.next__slot {
  margin-top: 8px;
  font-size: 2.4rem;
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1;
  text-transform: uppercase;
}
.next__meta { margin-top: 6px; font-size: 14px; color: var(--muted); }
.next__btn { width: 100%; margin-top: 16px; }

.hero__facts {
  display: none;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--muted);
}
.hero__facts strong { display: block; color: var(--text); }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 320px; align-items: end; gap: 48px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ── Serviços ── */
.menu { border-top: 1px solid var(--line); }
.menu__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 20px;
  width: 100%;
  padding: 22px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  transition: background-color 0.2s ease, padding 0.25s ease;
}
.menu__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1.05;
  text-transform: uppercase;
}
.menu__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--ember-ink);
  font-size: 11px;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0.08em;
}
.menu__desc { grid-column: 1; font-size: 14px; color: var(--muted); }
.menu__meta { grid-row: 1 / span 2; grid-column: 2; display: grid; justify-items: end; gap: 2px; }
.menu__price { font-size: 1.6rem; font-weight: 800; font-stretch: 62%; line-height: 1; }
.menu__price small { font-size: 0.6em; margin-right: 2px; color: var(--muted); }
.menu__dur { font-size: 13px; color: var(--muted); }
.menu__add {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ember);
}
.menu__add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform 0.25s ease; }
@media (hover: hover) {
  .menu__item:hover { background: var(--bg-2); padding-inline: 16px; }
  .menu__item:hover .menu__add svg { transform: translateX(4px); }
}
@media (min-width: 900px) {
  .menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .menu li { border-top: 1px solid var(--line); }
  .menu__item { border-bottom: 0; }
}

/* ── Agendamento ── */
.booking { background: var(--bg-2); border-block: 1px solid var(--line); }
/* minmax(0, …): sem isso a fileira de 14 dias estica o card além da tela */
.booking__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1000px) {
  .booking__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .booking__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.booking__lead { max-width: 44ch; margin-top: 18px; color: var(--muted); }
.perks { display: grid; gap: 12px; margin-top: 28px; }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.perks svg {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(232, 106, 51, 0.14);
  fill: none;
  stroke: var(--ember);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mine { margin-top: 36px; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.mine__title { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.mine__list { display: grid; gap: 10px; margin-top: 14px; }
.mine__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.mine__item:first-child { padding-top: 0; border-top: 0; }
.mine__item strong { display: block; font-size: 15px; }
.mine__item span { color: var(--muted); }
.mine__cancel { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.mine__cancel:hover { color: var(--text); border-color: var(--text); }

.booker {
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--bg);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  counter-reset: step;
}
.steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.steps span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.steps li[aria-current="step"] { color: var(--text); }
.steps li[aria-current="step"] span { border-color: var(--ember); background: var(--ember); color: var(--ember-ink); }
.steps li.is-done span { border-color: var(--ember); color: var(--ember); }
@media (min-width: 560px) {
  .steps li { flex-direction: row; justify-content: center; font-size: 13px; }
}

.booker__body { padding: 22px 16px 8px; min-height: 360px; }
@media (min-width: 560px) { .booker__body { padding: 28px 28px 12px; } }
.pane__title {
  margin-bottom: 18px;
  font-size: 1.9rem;
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1;
  text-transform: uppercase;
}
.pane:not([hidden]) { animation: pane-in 0.35s ease both; }
@keyframes pane-in { from { opacity: 0; transform: translateY(10px); } }

/* serviços (checkbox) */
.choices { display: grid; gap: 8px; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}
.choice__name { font-weight: 700; line-height: 1.25; }
.choice__meta { grid-column: 1; font-size: 13px; color: var(--muted); }
.choice__check {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--line-2);
  border-radius: 7px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.choice input:checked + .choice__box { border-color: var(--ember); background: rgba(232, 106, 51, 0.08); }
.choice input:checked + .choice__box .choice__check {
  border-color: var(--ember);
  background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a0c05' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.choice input:disabled + .choice__box { opacity: 0.35; cursor: not-allowed; }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--ember-2); outline-offset: 2px; }

/* barbeiros (radio) */
.barbers-pick { display: grid; gap: 8px; }
@media (min-width: 560px) { .barbers-pick { grid-template-columns: 1fr 1fr; } }
.pick { position: relative; display: block; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick__box {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pick__avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-3);
}
.pick__any { display: grid; place-items: center; }
.pick__any svg { width: 24px; height: 24px; fill: none; stroke: var(--ember); stroke-width: 2; stroke-linecap: round; }
.pick__name { display: block; font-weight: 700; }
.pick__role { display: block; font-size: 13px; color: var(--muted); }
.pick input:checked + .pick__box { border-color: var(--ember); background: rgba(232, 106, 51, 0.08); }
.pick input:focus-visible + .pick__box { outline: 2px solid var(--ember-2); outline-offset: 2px; }

/* dias e horários */
.days {
  display: flex;
  gap: 8px;
  margin-inline: -16px;
  padding: 2px 16px 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.days::-webkit-scrollbar { display: none; }
@media (min-width: 560px) { .days { margin-inline: -28px; padding-inline: 28px; } }
.day {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 64px;
  padding: 10px 0;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: none;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.day small { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.day strong { font-size: 1.5rem; font-weight: 800; font-stretch: 62%; line-height: 1.1; }
.day[aria-checked="true"] { border-color: var(--ember); background: var(--ember); color: var(--ember-ink); }
.day[aria-checked="true"] small { color: var(--ember-ink); }
.day:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

.slots { display: grid; gap: 18px; margin-top: 6px; }
.slots__group h3 { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.slot {
  min-height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: none;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.slot:hover { border-color: var(--text); }
.slot[aria-pressed="true"] { border-color: var(--ember); background: var(--ember); color: var(--ember-ink); }
.slots__empty { padding: 24px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--muted); text-align: center; }
.slots__hint { font-size: 13px; color: var(--muted); }

/* confirmação */
.review { display: grid; gap: 0; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 14px; }
.review > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); }
.review > div:first-child { border-top: 0; }
.review dt { color: var(--muted); font-size: 14px; }
.review dd { font-weight: 700; text-align: right; }
.review .review__total dd { color: var(--ember); font-size: 1.1rem; }

.confirm { display: grid; gap: 12px; }
@media (min-width: 560px) { .confirm { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-2);
  font-size: 16px;
}
.field input::placeholder { color: rgba(161, 152, 140, 0.6); }
.field input[aria-invalid="true"] { border-color: #ff6b5b; }
.confirm__error { grid-column: 1 / -1; min-height: 1.2em; font-size: 14px; color: #ff8d80; }

/* ticket */
.ticket {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  background: var(--text);
  color: var(--bg);
}
.ticket__ok { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ticket__ok svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #2f8f45; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ticket__when {
  margin-top: 16px;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  font-weight: 900;
  font-stretch: 62%;
  line-height: 0.95;
  text-transform: uppercase;
}
.ticket__rows { display: grid; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 2px dashed rgba(13, 12, 11, 0.2); font-size: 15px; }
.ticket__rows div { display: flex; justify-content: space-between; gap: 12px; }
.ticket__rows dt { color: #6d655b; }
.ticket__rows dd { font-weight: 700; text-align: right; }
.ticket__code { margin-top: 14px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #6d655b; }
.done__note { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--ember); background: var(--bg-2); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--muted); }
.done__note strong { color: var(--text); }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-bottom: 16px; }
.done__actions .btn { flex: 1 1 180px; }

.booker__foot {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  border-radius: 0 0 24px 24px;
  background: var(--bg);
}
@media (min-width: 560px) { .booker__foot { padding-inline: 28px; } }
.booker__foot[hidden] { display: none; }
.booker__sum { font-size: 14px; color: var(--muted); }
.booker__sum strong { color: var(--text); }
.booker__nav { display: flex; gap: 6px; margin-left: auto; }
.booker__nav .btn { min-height: 46px; }
#prev[hidden] { display: none; }

/* ── Equipe ── */
.crew {
  display: flex;
  gap: 14px;
  margin-inline: calc((100vw - 100%) / -2);
  padding-inline: calc((100vw - 100%) / 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* em scroll-padding o % é da própria rolagem, então o respiro vai em px */
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}
.crew::-webkit-scrollbar { display: none; }
.barber { flex: none; width: min(78vw, 340px); scroll-snap-align: start; }
.barber__photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.barber__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(0.35) contrast(1.05); transition: filter 0.4s ease, transform 0.6s ease; }
.barber__off {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13, 12, 11, 0.85);
  font-size: 12px;
  font-weight: 600;
}
.barber__name {
  margin-top: 16px;
  font-size: 2rem;
  font-weight: 800;
  font-stretch: 62%;
  line-height: 1;
  text-transform: uppercase;
}
.barber__role { margin-top: 4px; color: var(--muted); }
.barber__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.barber__tags li { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; color: var(--muted); }
.barber .btn { width: 100%; margin-top: 16px; }
@media (hover: hover) {
  .barber:hover .barber__photo img { filter: none; transform: scale(1.03); }
}
@media (min-width: 900px) {
  .crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .barber { width: auto; }
}

/* ── Trabalhos ── */
.work { padding-bottom: clamp(80px, 11vw, 140px); }
.work__head { margin-bottom: 32px; }
.work__strip {
  display: flex;
  gap: 12px;
  padding-inline: calc((100vw - min(1200px, 100vw - 40px)) / 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc((100vw - min(1200px, 100vw - 40px)) / 2);
  scrollbar-width: none;
}
.work__strip::-webkit-scrollbar { display: none; }
.work__strip li { flex: none; width: clamp(240px, 64vw, 340px); scroll-snap-align: start; }
.work__strip img { width: 100%; aspect-ratio: 10 / 11; object-fit: cover; border-radius: var(--radius); }

/* ── Clube ── */
.club { background: var(--bg-2); border-top: 1px solid var(--line); }
.plans { display: grid; gap: 16px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg);
}
.plan--featured { order: -1; border-color: var(--ember); background: linear-gradient(180deg, rgba(232, 106, 51, 0.12), transparent 60%), var(--bg); }
.plan__tag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--ember-ink);
  font-size: 12px;
  font-weight: 700;
}
.plan__name { font-size: 1.7rem; font-weight: 800; font-stretch: 62%; text-transform: uppercase; }
.plan__price { margin-top: 10px; font-size: 4rem; font-weight: 900; font-stretch: 62%; line-height: 1; }
.plan__price small { margin-right: 4px; font-size: 0.35em; vertical-align: 1.2em; color: var(--muted); }
.plan__price span { font-size: 0.28em; font-weight: 600; font-stretch: 100%; color: var(--muted); }
.plan__list { display: grid; gap: 10px; margin: 20px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan__list li { display: flex; gap: 10px; }
.plan__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.6em; border-radius: 50%; background: var(--ember); }
.plan .btn { margin-top: auto; }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan--featured { order: 0; transform: translateY(-12px); }
}

/* ── O sistema ── */
.system {
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(232, 106, 51, 0.16), transparent 70%),
    var(--bg);
}
.system__head { max-width: 760px; margin-bottom: 40px; }
.system__lead { margin-top: 18px; color: var(--muted); }

.panel {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: #f4f1ec;
  color: #171513;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.panel__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #e6e1d9; }
.panel__dots { display: flex; gap: 6px; }
.panel__dots i { width: 10px; height: 10px; border-radius: 50%; background: #cbc4b9; }
.panel__url { flex: 1; max-width: 320px; padding: 4px 12px; border-radius: 8px; background: #f4f1ec; font-size: 12px; color: #6d655b; }
.panel__body { padding: 20px 16px 16px; }
@media (min-width: 720px) { .panel__body { padding: 28px; } }
.panel__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; }
.panel__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8a8175; }
.panel__day { font-size: 1.9rem; font-weight: 800; font-stretch: 62%; line-height: 1.1; text-transform: uppercase; }
.panel__filter { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #e6e1d9; overflow-x: auto; scrollbar-width: none; }
.panel__filter button { padding: 6px 12px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 600; color: #6d655b; white-space: nowrap; }
.panel__filter button[aria-selected="true"] { background: #171513; color: #f4f1ec; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { padding: 14px; border-radius: 14px; background: #fff; }
.kpi span { display: block; font-size: 12px; font-weight: 600; color: #8a8175; }
.kpi strong { display: block; margin-top: 4px; font-size: 1.8rem; font-weight: 800; font-stretch: 62%; line-height: 1; }

.agenda { display: grid; gap: 6px; margin-top: 16px; max-height: 420px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.appt {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border-left: 3px solid transparent;
}
.appt__time { font-weight: 800; font-variant-numeric: tabular-nums; }
.appt__who strong { display: block; font-size: 15px; line-height: 1.3; }
.appt__who span { font-size: 13px; color: #6d655b; }
.appt__status { padding: 4px 10px; border-radius: 999px; background: #ece7df; font-size: 12px; font-weight: 700; color: #6d655b; white-space: nowrap; }
@media (max-width: 559px) {
  .appt { grid-template-columns: 50px 1fr; }
  .appt__status { grid-column: 2; justify-self: start; margin-top: 4px; }
}
.appt.is-now .appt__status { background: #fde6da; color: #b2451a; }
.appt.is-done { opacity: 0.55; }
.appt.is-new { border-left-color: var(--ember); background: #fff4ee; }
.appt.is-new .appt__status { background: var(--ember); color: var(--ember-ink); }
.agenda__empty { padding: 24px; border-radius: 12px; background: #fff; color: #6d655b; text-align: center; }

.features { display: grid; gap: 1px; margin-top: 48px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.features li { padding: 24px; background: var(--bg); color: var(--muted); font-size: 15px; }
.features strong { display: block; margin-bottom: 6px; font-size: 1.35rem; font-weight: 800; font-stretch: 62%; text-transform: uppercase; color: var(--text); }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }

.pitch {
  display: grid;
  gap: 20px;
  margin-top: 48px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: var(--ember);
  color: var(--ember-ink);
}
.pitch__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; font-stretch: 62%; line-height: 0.95; text-transform: uppercase; }
.pitch p:not(.pitch__title) { margin-top: 10px; max-width: 52ch; }
.pitch .btn--cream { background: var(--bg); color: var(--text); }
.pitch .btn--cream:hover { background: #000; }
@media (min-width: 900px) { .pitch { grid-template-columns: 1fr auto; align-items: center; } }

/* ── Endereço ── */
.visit__inner { display: grid; gap: 32px; }
.visit__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.visit__addr { margin-top: 20px; font-size: 1.1rem; }
.visit__addr span { color: var(--muted); font-size: 14px; }
.hours { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--muted); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ember); font-weight: 700; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (min-width: 900px) {
  .visit__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .visit__img { aspect-ratio: 5 / 6; }
}

/* ── Rodapé ── */
.footer { padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #090807; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer__nav a { text-decoration: none; color: var(--muted); }
.footer__nav a:hover { color: var(--text); }
.footer__bottom { display: grid; gap: 6px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 899px) { .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* ── Selo de projeto conceito ── */
.concept-badge {
  position: fixed;
  left: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.is-past-hero .concept-badge { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* ── Barra de agendamento (celular) ── */
.mbar {
  position: fixed;
  inset: auto 10px calc(10px + env(safe-area-inset-bottom));
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(21, 19, 17, 0.97);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mbar__text { display: grid; line-height: 1.2; }
.mbar__text span { font-size: 11px; color: var(--muted); }
.mbar__text strong { font-size: 14px; }
.mbar .btn { min-height: 44px; }
.is-past-hero:not(.is-booking-visible) .mbar { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 900px) { .mbar { display: none; } }

/* ── Aviso de demonstração ── */
dialog { padding: 0; border: 0; color: var(--text); }
dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.demo {
  width: min(460px, 100% - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--bg-2);
}
.demo[open] { animation: pane-in 0.3s ease; }
.demo h2 { margin-top: 10px; font-size: 2rem; font-weight: 800; font-stretch: 62%; line-height: 1; text-transform: uppercase; }
.demo > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.demo__msg { margin: 12px 0 0; padding: 14px 16px; border-radius: 4px 16px 16px 16px; background: #1f3b2a; color: #e3f6e6; font-size: 15px; }
.demo__actions { display: grid; gap: 10px; margin-top: 22px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 60;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Entrada suave ── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
