/* =========================================================
   Identidade Davili Santos: linho, dourado e marrom profundo.
   Motivo visual: o arco — o desenho da sobrancelha — enquadra
   fotos; o monograma DS assina a marca.
   ========================================================= */
/* Fontes hospedadas no próprio site (sem envio de dados a terceiros). */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/bodoni-moda-latin-opsz-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/jost-latin-wght-normal.woff2') format('woff2'); }

:root {
  /* Paleta da marca Davili Santos: linho e dourado da logo, com um marrom profundo para leitura. */
  --porcelain: #efede3;
  --sand: #e7e5d8;
  --nude: #d6cfba;
  --rose: #b79160;
  --rose-deep: #7e5f36;
  --cacau: #3a2f20;
  --mocha: #6b5d47;
  --gold: #b79160;
  --gold-soft: #d6c39f;
  --white: #fbfaf5;
  --ok: #4f6f4a;
  --warn: #9a6a24;
  --err: #a2483f;

  --display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.44rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem);
  --step-4: clamp(2.1rem, 1.4rem + 3vw, 3.2rem);
  --step-5: clamp(2.6rem, 1.5rem + 4.6vw, 4.6rem);

  --r-sm: 6px;
  --r-md: 14px;
  --arch: 999px 999px 0 0;
  --wrap: 1180px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--porcelain); color: var(--cacau);
  font-family: var(--body); font-weight: 350; font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--cacau); color: var(--white); padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: var(--step-1); color: var(--mocha); max-width: 34em; font-weight: 300; }
.muted { color: var(--mocha); }
.small { font-size: var(--step--1); }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--sand { background: var(--sand); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin: 0; max-width: 14em; }
.section-head p { margin: 0; max-width: 30em; color: var(--mocha); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--cacau); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font-weight: 450; letter-spacing: .02em; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { --bg: var(--rose-deep); }
.btn--ghost { --bg: transparent; --fg: var(--cacau); border-color: var(--cacau); }
.btn--ghost:hover { --bg: var(--cacau); --fg: var(--white); }
.btn--rose { --bg: var(--rose); }
.btn--rose:hover { --bg: var(--rose-deep); }
.btn--light { --bg: var(--white); --fg: var(--cacau); border-color: var(--white); }
.btn--sm { min-height: 40px; padding: .45rem 1.05rem; font-size: var(--step--1); }
.btn[disabled], .btn[aria-busy='true'] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { color: var(--rose-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--porcelain) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--nude); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; }
.brand img { height: 40px; width: auto; flex: none; }
.brand span { font-family: var(--display); font-size: 1.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: .95rem; position: relative; padding-block: .3rem; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--cacau); margin: 5px auto; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--porcelain); padding: .5rem var(--pad) 1.5rem; border-bottom: 1px solid var(--nude);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--sand); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-brand { font-family: var(--display); font-size: var(--step-1); color: var(--mocha); margin-bottom: 1.4rem; display: flex; align-items: center; gap: .8rem; }
.hero-brand::before { content: ''; width: 42px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 11em; }
.hero .lede { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 470px); }
.arch { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--sand); position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-line { position: absolute; inset: -6% -10% auto -10%; width: 120%; color: var(--gold); pointer-events: none; }
.hero-line path { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; }
.hero-art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cacau); }
.hero-art img { width: 64%; height: auto; margin-top: 8%; }
.hero-art path { fill: none; stroke: currentColor; stroke-linecap: round; }
.hero-note { position: absolute; left: -12%; bottom: 9%; background: var(--white); padding: .9rem 1.2rem; border-radius: var(--r-md); box-shadow: 0 18px 40px -22px rgba(58, 47, 32, .45); max-width: 220px; font-size: var(--step--1); }
.hero-note strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; }

@media (prefers-reduced-motion: no-preference) {
  .draw path { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); animation: draw 2.4s cubic-bezier(.6, .1, .2, 1) forwards; }
  .draw path:nth-child(2) { animation-delay: .5s; }
  .draw path:nth-child(n+3) { animation-delay: .9s; animation-duration: 1.2s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(86%, 380px); order: -1; }
  .hero-note { position: static; margin: 1rem auto 0; width: fit-content; max-width: none; text-align: center; }
}

/* ---------- Carta de procedimentos ---------- */
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.menu-group h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--cacau); padding-bottom: .7rem; margin-bottom: .4rem; }
.menu-group h3 small { font-family: var(--body); font-size: var(--step--1); color: var(--mocha); }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--nude); text-decoration: none; }
.menu-item:hover .menu-name { color: var(--rose-deep); }
.menu-name { font-size: 1.08rem; font-weight: 400; transition: color .2s; }
.menu-price { font-family: var(--display); font-size: 1.1rem; white-space: nowrap; }
.menu-meta { grid-column: 1 / -1; font-size: var(--step--1); color: var(--mocha); }
@media (max-width: 760px) { .menu-cols { grid-template-columns: 1fr; } }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about .arch { max-width: 400px; }
.about-placeholder { display: grid; place-items: center; height: 100%; }
.about-placeholder img { width: 56%; height: auto; opacity: .85; }
.about blockquote { margin: 0 0 1.5rem; font-family: var(--display); font-size: var(--step-3); line-height: 1.25; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; list-style: none; }
.tags li { border: 1px solid var(--gold-soft); border-radius: 999px; padding: .3rem .85rem; font-size: var(--step--1); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about .arch { width: 75%; margin-inline: auto; } }

/* ---------- Galeria ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { border: 1px solid var(--nude); background: var(--white); border-radius: 999px; padding: .55rem 1.1rem; min-height: 42px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--rose); }
.chip[aria-pressed='true'] { background: var(--cacau); border-color: var(--cacau); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 240px), 1fr)); gap: clamp(.6rem, 1.6vw, 1.1rem); }
.g-item { position: relative; border: 0; padding: 0; background: var(--sand); cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.g-item:hover img { transform: scale(1.04); }
.g-item.is-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.g-tag { position: absolute; bottom: .6rem; background: rgba(255, 253, 252, .92); border-radius: 999px; padding: .15rem .65rem; font-size: .75rem; }
.g-tag.l { left: .6rem; } .g-tag.r { right: .6rem; }
.g-caption { position: absolute; inset: auto 0 0 0; padding: 2.2rem .9rem .7rem; color: var(--white); font-size: var(--step--1); text-align: left; background: linear-gradient(transparent, rgba(58, 47, 32, .7)); }
.g-item.is-ba .g-caption { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(36, 29, 19, .94); display: grid; grid-template-rows: auto 1fr auto; padding: 1rem; color: var(--white); border: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; }
.lightbox::backdrop { background: rgba(36, 29, 19, .94); }
.lb-top { display: flex; justify-content: space-between; align-items: center; }
.lb-body { display: flex; gap: 1rem; justify-content: center; align-items: center; min-height: 0; }
.lb-body figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.lb-body img { max-height: calc(100vh - 170px); object-fit: contain; border-radius: var(--r-sm); }
.lb-body figcaption { margin-top: .5rem; font-size: var(--step--1); opacity: .85; }
.lb-nav { display: flex; justify-content: center; gap: 1rem; padding-top: .8rem; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .lb-body.is-ba { flex-direction: column; } .lb-body.is-ba img { max-height: 36vh; } }

/* ---------- Depoimentos ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; }
.review { background: var(--white); border-radius: var(--r-md); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.stars { color: var(--gold); letter-spacing: .12em; font-size: 1.05rem; }
.review p { margin: 0; font-family: var(--display); font-size: 1.12rem; line-height: 1.45; }
.review footer { display: flex; align-items: center; gap: .75rem; margin-top: auto; font-size: var(--step--1); }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--nude); display: grid; place-items: center; font-family: var(--display); flex: none; }

/* ---------- Localização ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.visit dl { margin: 0 0 1.8rem; display: grid; gap: 1.1rem; }
.visit dt { font-size: var(--step--1); color: var(--mocha); }
.visit dd { margin: 0; font-size: 1.08rem; }
.hours { list-style: none; padding: 0; margin: 0; font-size: .98rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; max-width: 300px; }
.hours li.is-today { font-weight: 500; }
.map { border-radius: var(--r-md); overflow: hidden; min-height: 320px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.empty-map { display: grid; place-items: center; height: 100%; padding: 2rem; text-align: center; color: var(--mocha); }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* ---------- Faixa CTA ---------- */
.cta-band { background: var(--cacau); color: var(--porcelain); text-align: center; }
.cta-band h2 { max-width: 16em; margin-inline: auto; }
.cta-band .cta-mark { width: 84px; margin: 0 auto 1.5rem; }
.cta-band p { color: var(--gold-soft); max-width: 32em; margin: 0 auto 2rem; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn--ghost { --fg: var(--porcelain); border-color: var(--porcelain); }
.cta-band .btn--ghost:hover { --bg: var(--porcelain); --fg: var(--cacau); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--sand); border-top: 1px solid var(--nude); padding-block: 3.5rem 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; margin: 0 0 .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--rose-deep); }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--nude); display: grid; place-items: center; }
.socials a:hover { border-color: var(--rose); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--nude); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; color: var(--mocha); font-size: var(--step--1); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Página de serviços ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: var(--step-4); max-width: 14em; }
.svc-list { display: grid; gap: 0; }
.svc { display: grid; grid-template-columns: 180px 1fr; gap: clamp(1.2rem, 4vw, 3rem); padding-block: 2.2rem; border-top: 1px solid var(--nude); }
.svc:target { background: linear-gradient(90deg, var(--sand), transparent); }
.footer-logo { width: 120px; margin-bottom: 1rem; }
.svc-media { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--sand); display: grid; place-items: center; color: var(--gold); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-media svg { width: 56%; }
.svc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 2rem; }
.svc-top h3 { margin: 0; font-size: var(--step-3); }
.svc-price { font-family: var(--display); font-size: var(--step-2); }
.svc-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .5rem 0 1rem; color: var(--mocha); font-size: var(--step--1); }
.svc p { max-width: 40em; }
.svc details { margin: 0 0 1.3rem; max-width: 40em; border-left: 1px solid var(--gold-soft); padding-left: 1rem; }
.svc summary { cursor: pointer; color: var(--rose-deep); list-style: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 32px; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::after { content: '+'; font-size: 1.2rem; line-height: 1; }
.svc details[open] summary::after { content: '–'; }
.svc details p { margin: .5rem 0 0; color: var(--mocha); font-size: .96rem; }
.svc-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 640px) { .svc { grid-template-columns: 96px 1fr; } .svc-top h3 { font-size: var(--step-2); } }

/* ---------- Agendamento ---------- */
.steps { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: step; overflow-x: auto; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: .5rem; color: var(--mocha); font-size: var(--step--1); white-space: nowrap; padding-right: .8rem; }
.steps li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--nude); display: grid; place-items: center; font-size: .8rem; }
.steps li.is-current { color: var(--cacau); font-weight: 500; }
.steps li.is-current::before { background: var(--cacau); color: var(--white); border-color: var(--cacau); }
.steps li.is-done::before { content: '✓'; background: var(--nude); border-color: var(--nude); }
.booking { display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.panel { background: var(--white); border-radius: var(--r-md); padding: clamp(1.2rem, 3vw, 2rem); }
.summary { position: sticky; top: calc(var(--header-h) + 1rem); }
.summary h3 { font-size: var(--step-1); }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0 0 1rem; font-size: .95rem; }
.summary dt { color: var(--mocha); }
.summary dd { margin: 0; text-align: right; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } .summary { position: static; order: 2; } }

.pick-group h3 { font-size: var(--step-1); margin: 1.4rem 0 .6rem; }
.pick-group h3:first-child { margin-top: 0; }
.pick { display: grid; gap: .5rem; }
.pick label { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .9rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--nude); border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, background .2s; }
.pick label:hover { border-color: var(--rose); }
.pick input { accent-color: var(--cacau); width: 18px; height: 18px; margin: 0; }
.pick label:has(input:checked) { border-color: var(--cacau); background: var(--sand); }
.pick .p-meta { grid-column: 2 / -1; font-size: var(--step--1); color: var(--mocha); }
.pick .p-price { font-family: var(--display); }

.cal { user-select: none; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.cal-head strong { font-family: var(--display); font-weight: 400; font-size: var(--step-1); }
.cal-head .icon-btn { border-color: var(--nude); color: var(--cacau); }
.cal-head .icon-btn:hover { background: var(--sand); }
.cal-head .icon-btn[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .wd { text-align: center; font-size: .75rem; color: var(--mocha); padding: .3rem 0; }
.cal-day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; font-size: .95rem; position: relative; max-height: 52px; margin: auto; width: 100%; max-width: 52px; }
.cal-day:not([disabled]) { background: var(--sand); }
.cal-day:not([disabled]):hover { border-color: var(--rose); }
.cal-day[disabled] { color: #b9b19c; cursor: default; }
.cal-day[aria-pressed='true'] { background: var(--cacau); color: var(--white); }
.cal-day.is-today::after { content: ''; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--rose); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; margin-top: 1rem; }
.slot { min-height: 44px; border: 1px solid var(--nude); background: var(--white); border-radius: var(--r-sm); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--rose); }
.slot[aria-pressed='true'] { background: var(--cacau); color: var(--white); border-color: var(--cacau); }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .92rem; font-weight: 450; }
.field .hint { font-size: .82rem; color: var(--mocha); }
.input, .field input:not([type='checkbox']):not([type='radio']), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--nude); border-radius: var(--r-sm); background: var(--white); font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 22%, transparent); }
.field [aria-invalid='true'] { border-color: var(--err); }
.field .error { color: var(--err); font-size: .84rem; min-height: 0; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--cacau); flex: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; margin-top: 1.4rem; }

.notice { border-radius: var(--r-md); padding: 1rem 1.2rem; background: var(--sand); font-size: .95rem; }
.notice--err { background: #f6e3df; color: var(--err); }
.notice--ok { background: #e6efe7; color: #2f5639; }
.notice--warn { background: #f6ecdd; color: #6f4a1b; }
.status { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .8rem; background: var(--sand); }
.status--confirmed, .status--completed { background: #e3eee5; color: #2f5639; }
.status--pending, .status--awaiting_deposit { background: #f6ecdd; color: #6f4a1b; }
.status--cancelled, .status--no_show { background: #f2e1de; color: var(--err); }

.done-card { text-align: center; max-width: 560px; margin-inline: auto; }
.done-card .seal { width: 76px; height: 76px; margin: 0 auto 1.2rem; color: var(--gold); }
.code { font-family: var(--display); font-size: 1.6rem; letter-spacing: .12em; display: inline-block; padding: .4rem 1rem; border: 1px dashed var(--gold); border-radius: var(--r-sm); margin: .3rem 0 1rem; }
.done-card dl { text-align: left; }
.copy-row { display: flex; gap: .5rem; align-items: center; }
.copy-row input { flex: 1; min-width: 0; }

/* ---------- Estados ---------- */
.skeleton { background: linear-gradient(90deg, var(--sand), var(--nude), var(--sand)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); min-height: 1em; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } * { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--mocha); border: 1px dashed var(--nude); border-radius: var(--r-md); }

.toast-host { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 120; display: grid; gap: .5rem; width: min(92vw, 420px); }
.toast { background: var(--cacau); color: var(--white); padding: .85rem 1.1rem; border-radius: var(--r-md); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); font-size: .95rem; animation: toast-in .25s ease-out; }
.toast--err { background: var(--err); }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

dialog.modal { border: 0; border-radius: var(--r-md); padding: 0; width: min(94vw, 560px); max-height: 90vh; background: var(--porcelain); color: var(--cacau); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); }
dialog.modal::backdrop { background: rgba(36, 29, 19, .5); }
.modal-inner { padding: clamp(1.2rem, 4vw, 2rem); }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.modal-head h2 { font-size: var(--step-3); margin: 0; }
.modal-head .icon-btn { border-color: var(--nude); flex: none; }

.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.8rem; color: var(--nude); cursor: pointer; line-height: 1; padding: .1rem; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--rose-deep); border-radius: 4px; }

.prose { max-width: 46em; }
.prose h2 { font-size: var(--step-3); margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

.insta { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; align-items: start; }
.insta blockquote { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
@media (min-width: 720px) { .pick { grid-template-columns: 1fr 1fr; } }
