/* Espaço Kelly Estética: static demo page (v5.1, 2026-11-15, after two design critiques).
   Nude ground, espresso ink, caramel detail. Sentient (readable serif, warm italic) + General Sans.
   Phone first: the phone is the main screen; wider layouts come in media queries. */

:root {
  --bg: #f1e7de;
  --bg-2: #e8d9cc;
  --paper: #fbf7f3;
  --ink: #2a1c16;
  --ink-2: #5b4a42;
  --cocoa: #6b3f2e;
  --gold: #a87b50;
  --gold-soft: #e2b991;
  --wa: #17633e;
  --wa-dark: #0f4a2d;
  --wa-soft: #dcefd9;
  --line: rgba(42, 28, 22, 0.14);
  --line-strong: rgba(42, 28, 22, 0.42);
  --error: #9e2a2b;

  --serif: "Sentient", Georgia, serif;
  --sans: "General Sans", system-ui, sans-serif;
  --script: "Mrs Saint Delafield", cursive;

  --gut: 20px;
  --head: 64px;
  --bar: 80px;
  --radius: 22px;
  --sec: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 720px) { :root { --gut: 40px; --bar: 0px; --sec: 112px; --head: 72px; } }
@media (min-width: 1100px) { :root { --gut: 64px; --sec: 140px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head); overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
h1 em, h2 em, .logo em { font-style: italic; color: var(--cocoa); }
.section__title { font-size: clamp(2.5rem, 7vw, 4.6rem); margin-bottom: 28px; }
:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gut), 1320px); margin-inline: auto; }
.skip { position: absolute; left: 8px; top: 8px; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--bg); border-radius: 99px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.section { padding: var(--sec) 0; }

/* ---------- pills (buttons): a circle of colour fills from below on hover ---------- */
.pill { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink); font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.2s; }
.pill::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 150%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, 0) scale(0); transition: transform 0.55s var(--ease); }
.pill:hover::before { transform: translate(-50%, -55%) scale(1); }
.pill:active { transform: scale(0.98); }
.pill--dark { background: var(--ink); color: var(--paper); }
.pill--dark::before { background: var(--cocoa); }
.pill--line { background: transparent; color: var(--ink); }
.pill--line::before { background: var(--ink); }
.pill--line:hover { color: var(--paper); }
.pill--wa { background: var(--wa); border-color: var(--wa); color: var(--paper); }
.pill--wa::before { background: var(--wa-dark); }
.pill--block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.3s, transform 0.4s var(--ease); }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { margin-right: auto; font: 400 23px/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; }
.nav__links, .nav__cta { display: none; }
.nav__toggle { min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; }
.nav.is-open .nav__links { display: flex; flex-direction: column; position: absolute; top: var(--head); left: 0; right: 0; padding: 8px var(--gut) 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav.is-open .nav__links a { padding: 14px 0; font: 400 28px/1.1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .nav__toggle, .nav__menu-cta { display: none; }
  .nav__links, .nav.is-open .nav__links { display: flex; position: static; flex-direction: row; gap: 32px; padding: 0; background: none; border: 0; }
  .nav__links a, .nav.is-open .nav__links a { position: relative; padding: 0; border: 0; font: 500 15px/1 var(--sans); text-decoration: none; }
  .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav__cta { display: inline-flex; min-height: 44px; padding: 0 22px; }
}

/* ---------- hero ---------- */
/* phone: the photo fills the first screen; title, line and button sit on a dark fade at the bottom */
.hero { padding-top: var(--head); }
.hero .wrap { width: 100%; }
.hero__grid { position: relative; height: calc(100svh - var(--head)); min-height: 560px; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media picture { display: contents; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 15%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 18, 12, 0) 38%, rgba(30, 18, 12, 0.55) 64%, rgba(30, 18, 12, 0.88) 100%); pointer-events: none; }
.hero__text { position: relative; z-index: 1; width: 100%; padding: 0 var(--gut) 28px; color: var(--paper); }
.hero__place { font: 500 13px/1.4 var(--sans); letter-spacing: 0.03em; opacity: 0.85; margin-bottom: 12px; }
.hero h1 { font-size: clamp(3rem, 13.5vw, 4.4rem); line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 em { display: block; color: var(--gold-soft); }
.hero__lead { margin-top: 14px; font-size: 17px; opacity: 0.9; }
.hero__actions { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.hero__link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; text-underline-offset: 5px; }
.hero .pill--dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero .pill--dark::before { background: var(--gold-soft); }
.hero__rating { display: inline-flex; gap: 8px; margin-top: 16px; font-size: 14px; text-decoration: none; opacity: 0.9; }
.hero__rating span { color: var(--gold-soft); letter-spacing: 1px; }
@media (min-width: 960px) {
  /* wide: text left, framed photo right */
  .hero .wrap { width: min(100% - 2 * var(--gut), 1320px); }
  .hero__grid { height: auto; min-height: calc(100svh - var(--head)); display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 64px; padding: 48px 0; }
  .hero__media { position: relative; inset: auto; grid-column: 2; grid-row: 1; }
  .hero__media::after { display: none; }
  .hero__media img { height: min(78svh, 760px); border-radius: var(--radius); }
  .hero__text { grid-column: 1; grid-row: 1; padding: 0; color: var(--ink); }
  .hero__place { color: var(--ink-2); opacity: 1; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(5rem, 7.6vw, 8.6rem); line-height: 0.95; }
  .hero h1 em { color: var(--cocoa); }
  .hero__lead { margin-top: 22px; font-size: 19px; color: var(--ink-2); opacity: 1; }
  .hero__actions { margin-top: 30px; gap: 28px; }
  .hero .pill--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .hero .pill--dark::before { background: var(--cocoa); }
  .hero__rating { margin-top: 22px; color: var(--ink-2); opacity: 1; }
  .hero__rating span { color: var(--gold); }
}

/* ---------- treatment cards: stacked on phones, three columns on wide screens ---------- */
.cards { display: grid; gap: 36px; }
.card__media { position: relative; overflow: hidden; border-radius: var(--radius); margin-bottom: 14px; }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__from { position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 99px; background: rgba(251, 247, 243, 0.94); font-size: 13px; }
.card__from b { font: 500 16px/1 var(--serif); }
.card h3 { font-size: 32px; }
.prices summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; font-size: 15px; cursor: pointer; list-style: none; border-bottom: 1px solid var(--ink); }
.prices summary::-webkit-details-marker { display: none; }
.prices summary::after { content: "+"; font-size: 18px; transition: transform 0.3s var(--ease); }
.prices[open] summary::after { transform: rotate(45deg); }
.prices ul { margin-top: 8px; }
.prices a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.prices a:hover { color: var(--cocoa); }
.prices b { font: 400 18px/1.3 var(--serif); white-space: nowrap; }
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .card__media img { aspect-ratio: 4 / 5; }
}

/* ---------- Kelly ---------- */
.kelly { background: var(--ink); color: var(--paper); padding: var(--sec) 0; border-radius: 32px 32px 0 0; }
.kelly h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.kelly h2 em, .kelly .signature { color: var(--gold-soft); }
.kelly__grid { display: grid; gap: 36px; }
.kelly__photo { overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); }
.kelly__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kelly__lead { margin-top: 22px; font: 400 clamp(1.15rem, 1.8vw, 1.45rem)/1.5 var(--serif); max-width: 34ch; }
.kelly__small { margin-top: 16px; color: rgba(251, 247, 243, 0.72); max-width: 44ch; }
.signature { margin-top: 14px; font: 400 clamp(64px, 9vw, 104px)/1 var(--script); }
@media (min-width: 900px) { .kelly__grid { grid-template-columns: 0.85fr 1fr; gap: 90px; align-items: center; } }

/* ---------- reviews: score, one featured quote, two short ones ---------- */
.score { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; }
.score__num { font: 400 clamp(5rem, 16vw, 8rem)/0.85 var(--serif); letter-spacing: -0.04em; }
.score__stars { color: var(--gold); font-size: 22px; letter-spacing: 3px; }
.score__label { font: 500 18px/1.3 var(--sans); letter-spacing: 0; margin: 4px 0 2px; }
.score__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 15px; text-underline-offset: 4px; }
.quote { max-width: 980px; }
.quote blockquote { margin: 0; font: 400 clamp(1.7rem, 4.6vw, 3rem)/1.22 var(--serif); letter-spacing: -0.015em; }
.quote figcaption, .quotes figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.quotes { display: grid; margin-top: 36px; border-top: 1px solid var(--line); }
.quotes figure { padding: 22px 0; border-bottom: 1px solid var(--line); }
.quotes blockquote { margin: 0; font: 400 19px/1.45 var(--serif); }
.demo-note { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* ---------- booking: app-style picker ---------- */
.booking { background: var(--bg-2); border-radius: 32px 32px 0 0; }
.booking__grid { display: grid; gap: 28px; }
.booking__head .section__title { margin-bottom: 12px; }
.booking__intro { color: var(--ink-2); max-width: 36ch; }
.booking__perks { display: none; }
@media (min-width: 960px) {
  .booking__grid { grid-template-columns: 0.8fr 1fr; gap: 80px; align-items: start; }
  .booking__head { position: sticky; top: calc(var(--head) + 40px); }
  .booking__perks { display: grid; gap: 12px; margin-top: 32px; }
  .booking__perks li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
  .booking__perks li::before { content: ""; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fbf7f3' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat; }
}

.booker { border-radius: 28px; background: var(--paper); box-shadow: 0 24px 60px rgba(42, 28, 22, 0.1); overflow: hidden; }
.booker__block { margin: 0; padding: 22px 20px 6px; border: 0; min-width: 0; }
.booker__block + .booker__block { border-top: 1px solid var(--line); padding-top: 20px; }
/* legend floated so it sits inside the block instead of on the fieldset edge */
.booker__label { float: left; align-items: baseline; justify-content: space-between; width: 100%; padding: 0; margin-bottom: 14px; font: 400 24px/1.1 var(--serif); }
.booker__block > :not(legend) { clear: both; }
.booker__month { float: right; margin-top: 8px; font: 500 13px/1 var(--sans); color: var(--ink-2); text-transform: capitalize; }
.booker__hint { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
@media (min-width: 720px) { .booker__block { padding: 28px 32px 8px; } .booker__block + .booker__block { padding-top: 26px; } }

/* tabs */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-bottom: 10px; border-radius: 999px; background: var(--bg); }
.tab { min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 14px/1 var(--sans); cursor: pointer; transition: background 0.3s var(--ease), color 0.3s; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }

/* service rows: tap anywhere on the row */
.svc-list { display: grid; }
.svc-list[hidden] { display: none; }
.svc { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.svc:last-child { border-bottom: 0; }
.svc input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.svc:has(input:checked)::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--paper); }
.svc:has(input:focus-visible) { outline: 2px solid var(--cocoa); outline-offset: 2px; border-radius: 8px; }
.svc__name { flex: 1; font-weight: 500; }
.svc__name small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.svc__price { font: 400 19px/1 var(--serif); white-space: nowrap; }
.svc:hover .svc__name { color: var(--cocoa); }

/* date strip */
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 12px; border-radius: 18px; background: var(--bg); cursor: pointer; transition: background 0.25s, color 0.25s, transform 0.2s var(--ease); }
.day__week { font-size: 13px; font-weight: 500; color: var(--ink-2); text-transform: capitalize; }
.day__num { font: 400 26px/1 var(--serif); }
.day:hover { transform: translateY(-2px); }
.chip-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip-input:checked + .day { background: var(--ink); color: var(--paper); }
.chip-input:checked + .day .day__week { color: var(--gold-soft); }
.chip-input:focus-visible + .day, .chip-input:focus-visible + .period { outline: 2px solid var(--cocoa); outline-offset: 2px; }
.chips-fallback { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.other-day { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--cocoa); text-underline-offset: 4px; }

/* period pills */
.periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.period { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; cursor: pointer; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.period span { font-size: 12px; font-weight: 400; color: var(--ink-2); }
.period:hover { border-color: var(--ink); }
.chip-input:checked + .period { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip-input:checked + .period span { color: var(--gold-soft); }
.chip-input:disabled + .period { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

/* summary + button */
.booker__foot { display: grid; gap: 14px; margin-top: 16px; padding: 20px; background: var(--bg); }
@media (min-width: 720px) { .booker__foot { padding: 24px 32px 28px; } }
.summary { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end; }
.summary__what { font: 400 21px/1.2 var(--serif); }
.summary__when { grid-row: 2; font-size: 14px; color: var(--ink-2); }
.summary__price { grid-column: 2; grid-row: 1 / span 2; font: 400 22px/1 var(--serif); }
.summary:not(.is-ready) .summary__what, .summary:not(.is-ready) .summary__when { color: var(--ink-2); }
.field-error { font-size: 14px; color: var(--error); margin-top: 8px; }
.field-error:empty { display: none; }
[aria-invalid="true"] .svc::before { border-color: var(--error); }
.form-status { font-size: 14px; color: var(--ink-2); }
.form-status:empty { display: none; }

/* ---------- visit: address card + closer map ---------- */
.visit__box { display: grid; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.map { height: 220px; background: var(--bg-2); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(0.7) sepia(0.12); }
.visit__card { padding: 24px 22px 26px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: 99px; background: var(--bg); font-size: 13px; font-weight: 500; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); }
.open-now.is-open { color: var(--wa); }
.open-now.is-open::before { background: var(--wa); box-shadow: 0 0 0 4px rgba(23, 99, 62, 0.18); }
.visit__card h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.visit__near { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.hours { margin-top: 18px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours div.is-today { font-weight: 500; }
.hours div.is-today dt::after { content: ", hoje"; color: var(--cocoa); }
.hours dt { color: var(--ink-2); }
.hours dd { font-weight: 500; }
.visit__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
@media (min-width: 900px) {
  .visit__box { grid-template-columns: 1fr 420px; min-height: 520px; }
  .map { height: auto; min-height: 520px; }
  .visit__card { padding: 40px; align-self: center; }
}
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 400 clamp(1.25rem, 2.4vw, 1.8rem)/1.25 var(--serif); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 30px/1 var(--sans); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; max-width: 60ch; color: var(--ink-2); }

/* ---------- footer: name and real contact lines ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 56px 0 calc(28px + var(--bar)); border-radius: 32px 32px 0 0; }
.footer__name { font: 400 clamp(2.4rem, 6vw, 3.6rem)/1 var(--serif); letter-spacing: -0.02em; }
.footer__contact { display: grid; gap: 4px; margin-top: 24px; color: rgba(251, 247, 243, 0.85); }
.footer__contact a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; justify-self: start; }
.footer__contact a:hover { text-decoration: underline; }
.footer__legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(251, 247, 243, 0.2); font-size: 14px; color: rgba(251, 247, 243, 0.7); }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) { .footer__contact { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 64px; } }

/* ---------- phone action bar (visible without JS) ---------- */
.actionbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; background: var(--wa); color: var(--paper); font-weight: 500; text-decoration: none; box-shadow: 0 10px 28px rgba(42, 28, 22, 0.3); transition: transform 0.4s var(--ease); }
.actionbar.is-hidden { transform: translateY(calc(100% + 30px)); }
@media (min-width: 720px) { .actionbar { display: none; } }

/* ---------- motion helpers ---------- */
html.motion .hero__text, html.motion .hero__media { visibility: hidden; }
.split-mask { overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
