/* Allure Extensions — visual da página de referência aprovada pelo Chefe (18/10/2026).
   Mesmo layout, fontes e cores; a agenda é a real (vem de /api/slots e /api/book). */
:root {
  color-scheme: light;
  --bg: #faf6f1;
  --surface: #ffffff;
  --surface-2: #f3ece3;
  --ink: #241c15;
  --ink-soft: #5d5147;
  --ink-faint: #8a7c6e;
  --line: #e3d8cb;
  --brass: #a2792f;
  --brass-deep: #7d5c20;
  --espresso: #211912;
  --espresso-ink: #f5ede2;
  --wa: #1faa55;
  --wa-deep: #157a3c;
  --error: #b3382e;
  --chip-selected-bg: #241c15;
  --chip-selected-ink: #f7efe3;
  --shadow: 0 18px 45px rgba(46, 32, 16, 0.13);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #16110d;
    --surface: #211a14;
    --surface-2: #2a2119;
    --ink: #f3eadd;
    --ink-soft: #c9bba7;
    --ink-faint: #9c8b76;
    --line: #3a2f24;
    --brass: #d2a95c;
    --brass-deep: #e3c07a;
    --espresso: #0f0b08;
    --espresso-ink: #f5ede2;
    --wa: #25bd62;
    --wa-deep: #2ecc71;
    --error: #e88a80;
    --chip-selected-bg: #d2a95c;
    --chip-selected-ink: #221806;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--brass-deep); }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.08; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 92svh; }
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 48px 56px max(20px, calc((100vw - 1160px) / 2 + 20px));
}
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brass); }
.hero h1 { font-size: clamp(3rem, 6.5vw, 5.2rem); letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero-sub { font-size: 1.13rem; color: var(--ink-soft); max-width: 30em; margin: 22px 0 8px; }
.hero-by { font-size: 0.98rem; color: var(--ink-soft); margin: 0 0 32px; }
.hero-by strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 0.98rem;
  border-radius: 999px; border: 1px solid transparent;
  padding: 14px 26px; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--brass-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-deep); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts div { font-size: 0.9rem; color: var(--ink-soft); }
.hero-facts strong { display: block; font-family: "Cormorant Garamond", serif; font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.hero-photo { position: relative; min-height: 420px; }
/* foto da Jaslana (18/10/2026): o rosto dela fica a ~17% do alto e ~53% da largura,
   então o corte do cover é ancorado aí — no celular e no desktop o rosto aparece inteiro */
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 18%; }
.hero-photo figcaption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(20, 14, 8, 0.72); color: #f7efe3;
  backdrop-filter: blur(6px);
  padding: 10px 16px; border-radius: 12px; font-size: 0.88rem; font-weight: 600;
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head .kicker {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 12px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head p { color: var(--ink-soft); margin: 12px 0 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 340px; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 38px 18px 14px; color: #fff; font-weight: 700; font-size: 0.98rem;
  background: linear-gradient(transparent, rgba(15, 10, 5, 0.78));
}
.gallery figcaption span { display: block; font-weight: 500; font-size: 0.86rem; opacity: 0.88; }
/* Card da arte "The Blowout Collection" (18/10/2026): é arte com texto, então aparece
   INTEIRA (contain, fundo creme) e a legenda fica embaixo, nunca por cima dos nomes.
   Tocar abre a arte em tamanho cheio. Os cards vizinhos ficam alinhados pelo topo. */
.gallery { align-items: start; }
.gallery figure.art { background: var(--surface-2); }
.gallery figure.art a { display: block; }
.gallery figure.art img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; }
.gallery figure.art figcaption {
  position: static; background: none; color: var(--ink);
  padding: 14px 16px 16px; font-size: 0.98rem;
}
.gallery figure.art figcaption span { color: var(--ink-soft); opacity: 1; }

/* ---------- Services list ---------- */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 44px 1fr auto auto; gap: 18px; align-items: center;
  padding: 22px 6px; border-bottom: 1px solid var(--line);
}
.service-row .num { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; color: var(--brass); }
.service-row h3 { font-size: 1.45rem; }
.service-row p { margin: 3px 0 0; color: var(--ink-soft); font-size: 0.94rem; max-width: 46em; }
.service-meta { text-align: right; }
.service-meta .price { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; font-weight: 700; display: block; line-height: 1.1; }
.service-meta .price.free { color: var(--brass); }
.service-meta .dur { font-size: 0.85rem; color: var(--ink-faint); font-weight: 600; }
.book-link {
  font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer;
  background: transparent; color: var(--brass-deep);
  border: 1px solid var(--brass); border-radius: 999px; padding: 9px 20px;
  transition: background 0.15s ease, color 0.15s ease; white-space: nowrap;
}
.book-link:hover { background: var(--brass); color: #fff; }

/* ---------- Booking ---------- */
.booking-band { background: var(--espresso); color: var(--espresso-ink); }
.booking-band .section-head h2 { color: var(--espresso-ink); }
.booking-band .section-head p { color: #cbbca6; }
.booking-band .section-head .kicker { color: #d2a95c; }
.booking-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; align-items: start; }
.booking-card {
  background: var(--surface); color: var(--ink);
  border-radius: 22px; padding: 30px; box-shadow: var(--shadow);
}
.step { margin-bottom: 34px; }
.step:last-of-type { margin-bottom: 8px; }
.step-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.step-head .n {
  font-family: "Cormorant Garamond", serif; font-size: 1.6rem; font-weight: 700; color: var(--brass);
  border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center; align-self: center;
}
.step-head h3 { font-size: 1.5rem; }
.step-head .hint { margin-left: auto; font-size: 0.85rem; color: var(--ink-faint); font-weight: 600; text-align: right; }

.svc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc-option {
  text-align: left; font: inherit; cursor: pointer;
  background: var(--surface-2); border: 2px solid transparent; border-radius: 14px;
  padding: 14px 16px; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.svc-option:hover { border-color: var(--brass); }
.svc-option.selected { background: var(--surface); border-color: var(--brass); box-shadow: 0 6px 18px rgba(46,32,16,0.12); }
.svc-option .name { font-weight: 800; font-size: 0.97rem; display: block; line-height: 1.3; }
.svc-option .meta { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; margin-top: 3px; display: block; }
.svc-option .meta b { color: var(--brass-deep); }

.date-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.date-chip {
  font: inherit; cursor: pointer; border: 2px solid var(--line); background: var(--surface);
  border-radius: 12px; padding: 10px 2px 8px; text-align: center; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.date-chip .dow { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.date-chip .dom { display: block; font-family: "Cormorant Garamond", serif; font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
.date-chip .mon { display: block; font-size: 0.7rem; font-weight: 700; color: var(--ink-faint); }
.date-chip:hover:not(:disabled) { border-color: var(--brass); }
.date-chip.selected { background: var(--chip-selected-bg); color: var(--chip-selected-ink); border-color: var(--chip-selected-bg); }
.date-chip.selected .dow, .date-chip.selected .mon { color: inherit; opacity: 0.75; }
.date-chip:disabled { opacity: 0.38; cursor: not-allowed; background: var(--surface-2); }
.date-chip:disabled .closed { display: block; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }

.time-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.time-chip {
  font: inherit; font-weight: 700; font-size: 0.93rem; cursor: pointer;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 9px 18px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.time-chip:hover { border-color: var(--brass); }
.time-chip.selected { background: var(--chip-selected-bg); color: var(--chip-selected-ink); border-color: var(--chip-selected-bg); }
.empty-note { color: var(--ink-soft); font-size: 0.95rem; background: var(--surface-2); border-radius: 12px; padding: 14px 16px; margin: 0; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.02em; }
.field input, .field textarea {
  font: inherit; padding: 13px 15px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.field .err { display: none; color: var(--error); font-size: 0.84rem; font-weight: 700; }
.field.invalid input { border-color: var(--error); }
.field.invalid .err { display: block; }
.form-error { display: none; color: var(--error); font-weight: 700; font-size: 0.93rem; margin: 14px 0 0; }
.form-error.show { display: block; }

/* Summary */
.summary-card {
  background: #2b2119; color: #f5ede2; border: 1px solid #463727;
  border-radius: 22px; padding: 28px; position: sticky; top: 22px;
}
.summary-card h3 { font-size: 1.6rem; margin-bottom: 18px; color: #f5ede2; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #463727; font-size: 0.95rem; }
.summary-line .k { color: #c9b797; font-weight: 600; flex: none; }
.summary-line .v { text-align: right; font-weight: 700; }
.summary-line .v.pending { color: #9a8a72; font-weight: 600; font-style: italic; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; }
.summary-total .k { font-weight: 700; color: #c9b797; }
.summary-total .v { font-family: "Cormorant Garamond", serif; font-size: 2rem; font-weight: 700; color: #e9c987; }
.btn-wa {
  width: 100%; justify-content: center; margin-top: 20px;
  background: var(--wa); color: #fff; font-size: 1.03rem; padding: 16px 22px;
}
.btn-wa:hover { background: var(--wa-deep); }
.btn-wa svg { flex: none; }
.summary-note { font-size: 0.86rem; color: #c9b797; margin: 14px 0 0; text-align: center; }
.success-box { display: none; margin-top: 20px; background: #173d24; border: 1px solid #2c6b42; border-radius: 14px; padding: 16px 18px; }
.success-box.show { display: block; }
.success-box strong { display: block; font-size: 1rem; margin-bottom: 4px; color: #b9ecc9; }
.success-box p { margin: 0; font-size: 0.9rem; color: #d7f2df; }
.success-box a { color: #8fe3ab; font-weight: 700; }

/* ---------- Hours & contact ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.hours-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.hours-card h3, .contact-card h3 { font-size: 1.7rem; margin-bottom: 16px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .day { font-weight: 700; }
.hours-table .hrs { text-align: right; font-weight: 600; color: var(--ink-soft); }
.hours-table tr.today td { color: var(--brass-deep); }
.hours-table tr.today .hrs { color: var(--brass-deep); }
.today-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--brass); color: #fff; border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.closed-txt { color: var(--ink-faint); font-style: italic; }
.contact-card { background: var(--surface-2); border-radius: 22px; padding: 28px; }
.contact-card p { color: var(--ink-soft); margin: 0 0 18px; }
.contact-name { font-family: "Cormorant Garamond", serif; font-size: 2rem; font-weight: 700; line-height: 1.1; }
.contact-role { color: var(--brass-deep); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-wa-sm { background: var(--wa); color: #fff; padding: 12px 22px; }
.btn-wa-sm:hover { background: var(--wa-deep); }

/* ---------- Site nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.site-logo { font-family: "Cormorant Garamond", serif; font-size: 1.55rem; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1; white-space: nowrap; }
.site-logo em { color: var(--brass); font-style: italic; }
.site-logo small { display: block; font-family: "Manrope", sans-serif; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); font-weight: 800; margin-top: 3px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.nav-links a:hover { color: var(--brass-deep); }
.nav-book { background: var(--ink); color: var(--bg) !important; padding: 10px 20px; border-radius: 999px; }
.nav-book:hover { background: var(--brass-deep); color: #fff !important; }

/* ---------- About / salon ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.about-copy p { color: var(--ink-soft); margin: 0 0 16px; }
.about-copy p strong { color: var(--ink); }
.salon-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.salon-feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.salon-feature b { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.salon-feature span { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; display: block; }
.about-photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
/* foto do agendamento (18/10/2026): altura automática de propósito — o celular no meio
   da foto não pode ser cortado em tela nenhuma, então a foto aparece inteira */
.about-photo img { width: 100%; height: auto; }

/* ---------- How it works & FAQ ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.step-card .step-num { font-family: "Cormorant Garamond", serif; font-size: 2rem; color: var(--brass); line-height: 1; }
.step-card h3 { font-size: 1.35rem; margin: 10px 0 6px; }
.step-card p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.faq-item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

footer { padding: 34px 0 44px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; }
footer .brand { font-family: "Cormorant Garamond", serif; font-size: 1.4rem; font-weight: 700; }
footer p { margin: 0; color: var(--ink-faint); font-size: 0.88rem; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-book) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 44px 20px 40px; order: 2; }
  .hero-photo { order: 1; min-height: 340px; height: 46svh; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 260px; }
  .booking-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .info-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .service-row { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .service-row .num { display: none; }
  .service-row .book-link { grid-column: 1 / -1; justify-self: start; }
  .svc-options { grid-template-columns: 1fr; }
  .date-grid { grid-template-columns: repeat(4, 1fr); }
  .fields { grid-template-columns: 1fr; }
  .booking-card { padding: 22px 18px; }
  .step-head .hint { display: none; }
}
/* No desktop a galeria tem 3 artes de proporções diferentes (2 em pé, 1 deitada):
   caixa de altura igual pros três, com a arte centrada e inteira dentro dela — assim
   as legendas ficam na mesma linha e nada é cortado. No celular (1 coluna) cada arte
   usa a altura natural. */
@media (min-width: 901px) {
  .gallery figure.art img { height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .svc-option, .date-chip, .time-chip { transition: none; }
}
