:root {
  --ink: #241e20;
  --muted: #74696c;
  --paper: #f8f4ef;
  --white: #fffdf9;
  --wine: #5a2531;
  --wine-dark: #32151c;
  --rose: #d8a4aa;
  --blush: #ead7d4;
  --sand: #d9c9b8;
  --line: #ded5cd;
  --success: #476650;
  --shadow: 0 24px 70px rgba(50, 21, 28, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.is-hidden { display: none !important; }
.demo-banner { background: var(--wine-dark); color: white; padding: 10px 20px; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(90, 37, 49, 0.14);
  position: relative;
  z-index: 5;
}

.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; border: 1px solid var(--wine); border-radius: 50%; display: grid; place-items: center; color: var(--wine); font: italic 27px Georgia, serif; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand small { font-size: 8px; letter-spacing: 0.28em; color: var(--muted); }
.brand strong { font: 22px Georgia, serif; letter-spacing: -0.03em; }
.header-link { font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--wine); padding-bottom: 5px; }

.hero { min-height: calc(100vh - 92px); display: grid; grid-template-columns: 1.08fr 0.92fr; overflow: hidden; }
.hero-copy { padding: 9vh 6vw 7vh; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wine); }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.centered { justify-content: center; }
.hero h1, .section-heading h2, .loyalty-card h2, .admin-heading h1, .login-card h1 { margin: 0; font: 400 clamp(54px, 7vw, 104px)/0.91 Georgia, "Times New Roman", serif; letter-spacing: -0.065em; }
.hero h1 em, .login-card h1 em { color: var(--wine); font-weight: 400; }
.hero-text { max-width: 540px; color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.72; margin: 35px 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 52px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 0 24px; text-decoration: none; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; cursor: pointer; transition: transform .2s, background .2s, opacity .2s; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-primary { background: var(--wine); color: white; }
.button-primary:hover { background: var(--wine-dark); }
.button.full { width: 100%; justify-content: space-between; min-height: 60px; }
.text-link { background: none; border: 0; padding: 4px 0; color: var(--wine); font-size: 12px; font-weight: 800; border-bottom: 1px solid currentColor; text-decoration: none; cursor: pointer; }
.hero-trust { display: flex; gap: clamp(24px, 4vw, 60px); margin-top: 8vh; padding-top: 26px; border-top: 1px solid var(--line); max-width: 650px; }
.hero-trust div { display: flex; flex-direction: column; gap: 5px; }
.hero-trust strong { font: 20px Georgia, serif; }
.hero-trust span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.hero-art { background: var(--blush); position: relative; min-height: 620px; overflow: hidden; }
.hero-art::before { content: ""; position: absolute; width: 63%; aspect-ratio: 1; border: 1px solid rgba(90,37,49,.25); border-radius: 50%; left: 19%; top: 17%; }
.hero-art::after { content: ""; position: absolute; height: 90%; width: 1px; background: rgba(90,37,49,.18); left: 50%; top: 5%; transform: rotate(28deg); }
.nail { position: absolute; background: var(--wine); border: 14px solid #e5bcb7; border-bottom-width: 28px; border-radius: 52% 52% 42% 42% / 35% 35% 63% 63%; box-shadow: 0 28px 60px rgba(50,21,28,.24); z-index: 2; }
.nail-one { width: 140px; height: 280px; left: 27%; top: 20%; transform: rotate(-20deg); }
.nail-two { width: 122px; height: 248px; left: 50%; top: 35%; transform: rotate(13deg); background: #8c4b58; }
.nail-three { width: 92px; height: 192px; left: 16%; top: 56%; transform: rotate(-42deg); background: #b86f79; }
.art-note { position: absolute; right: 7%; top: 9%; font: italic 18px/1.25 Georgia, serif; color: var(--wine); text-align: right; }
.art-seal { position: absolute; right: 8%; bottom: 8%; width: 120px; height: 120px; border-radius: 50%; background: var(--paper); z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-9deg); }
.art-seal span { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.art-seal strong { font: italic 24px Georgia, serif; color: var(--wine); }

.hero-photo { background: #17171a; isolation: isolate; }
.hero-photo::before { inset: -35px; width: auto; aspect-ratio: auto; border: 0; border-radius: 0; background: url("/eduarda-nails.jpg") center / cover no-repeat; filter: blur(28px) brightness(.42) saturate(.75); transform: scale(1.18); opacity: .9; z-index: -2; }
.hero-photo::after { inset: 0; width: auto; height: auto; background: linear-gradient(180deg, rgba(23,23,26,.18), rgba(23,23,26,.75)); transform: none; z-index: -1; }
.hero-photo > img { position: absolute; left: 50%; top: 48%; width: min(72%, 480px); aspect-ratio: 1; object-fit: cover; object-position: center; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.55); box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 0 14px rgba(255,255,255,.06); z-index: 1; }
.hero-photo .art-note { color: rgba(255,255,255,.9); z-index: 3; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero-photo .art-seal { right: 7%; bottom: 7%; }
.professional-card { position: absolute; left: 7%; bottom: 7%; z-index: 3; display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: rgba(255,253,249,.93); box-shadow: 0 18px 55px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.professional-status { width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(71,102,80,.14); }
.professional-card div { display: grid; }
.professional-card small { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.professional-card strong { margin-top: 4px; font: 23px Georgia, serif; }
.professional-card p { margin: 2px 0 0; color: var(--wine); font-size: 11px; font-weight: 700; }

.quick-actions { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1280px; margin: -38px auto 0; padding: 0 24px; }
.quick-action { min-width: 0; min-height: 116px; appearance: none; border: 1px solid var(--line); border-right: 0; background: var(--white); color: var(--ink); padding: 24px 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; text-align: left; text-decoration: none; cursor: pointer; box-shadow: 0 20px 45px rgba(50,21,28,.08); transition: transform .2s, background .2s, color .2s; }
.quick-action:last-child { border-right: 1px solid var(--line); }
.quick-action:hover, .quick-action:focus-visible { outline: none; transform: translateY(-5px); background: #fffaf6; }
.quick-action.primary { background: var(--wine); color: white; border-color: var(--wine); }
.quick-action.primary:hover { background: var(--wine-dark); }
.quick-icon { width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font: 12px Georgia, serif; opacity: .72; }
.quick-action > span:nth-child(2) { display: grid; gap: 5px; }
.quick-action small { font-size: 7px; font-weight: 800; letter-spacing: .13em; opacity: .62; }
.quick-action strong { font: 18px Georgia, serif; line-height: 1.1; }
.quick-action b { font-size: 18px; font-weight: 400; }

dialog { border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(36,30,32,.72); backdrop-filter: blur(5px); }
.client-dialog, .contact-dialog { width: min(560px, calc(100% - 32px)); padding: clamp(30px, 6vw, 58px); background: var(--white); box-shadow: var(--shadow); }
.client-dialog[open], .contact-dialog[open] { animation: pane-in .25s ease both; }
.client-dialog h2, .contact-dialog h2 { margin: 0; font: 48px/.95 Georgia, serif; letter-spacing: -.055em; }
.dialog-intro, .contact-dialog > p:not(.eyebrow) { margin: 22px 0 28px; color: var(--muted); line-height: 1.65; }
.dialog-close { position: absolute; right: 18px; top: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); color: var(--wine); font-size: 24px; cursor: pointer; }
.client-booking { margin: 0 0 24px; }
.client-empty { padding: 24px; border: 1px dashed var(--rose); background: var(--paper); color: var(--muted); line-height: 1.6; }
.client-ticket { border: 1px solid var(--line); background: var(--paper); padding: 24px; display: grid; gap: 16px; }
.client-ticket header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.client-ticket header strong { font: 24px Georgia, serif; }
.client-ticket header span { color: var(--success); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.client-ticket dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.client-ticket dt { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.client-ticket dd { margin: 4px 0 0; font-size: 13px; font-weight: 700; }
.client-cancel { justify-self: start; border: 0; border-bottom: 1px solid; background: transparent; color: #8a3445; padding: 3px 0; font-size: 11px; font-weight: 800; cursor: pointer; }

.booking-wrap { padding: 140px 6vw 130px; background: var(--white); }
.section-heading { max-width: 1160px; margin: 0 auto 55px; display: grid; grid-template-columns: 1fr .72fr; gap: 12vw; align-items: end; }
.section-heading h2, .loyalty-card h2, .admin-heading h1 { font-size: clamp(44px, 5.6vw, 78px); }
.section-heading > p { margin: 0 0 10px; color: var(--muted); line-height: 1.7; }
.section-heading.compact { display: block; }
.booking-card { max-width: 1160px; margin: auto; display: grid; grid-template-columns: 240px 1fr; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); min-height: 610px; }
.steps { list-style: none; margin: 0; padding: 52px 36px; background: var(--wine-dark); color: white; }
.steps li { position: relative; min-height: 95px; opacity: .4; display: flex; flex-direction: column; gap: 5px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 47px; width: 1px; height: 38px; background: rgba(255,255,255,.28); }
.steps li span { font: 14px Georgia, serif; }
.steps li b { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.steps li.active, .steps li.done { opacity: 1; }
.steps li.done span::after { content: " ✓"; color: var(--rose); }
.booking-content { padding: 52px clamp(28px, 5vw, 72px); min-width: 0; }
.booking-pane { animation: pane-in .35s ease both; }
@keyframes pane-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.pane-title { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 34px; }
.pane-title > span { flex: 0 0 34px; height: 34px; border: 1px solid var(--wine); color: var(--wine); border-radius: 50%; display: grid; place-items: center; font: 16px Georgia, serif; }
.pane-title h3 { margin: 0 0 7px; font: 34px Georgia, serif; letter-spacing: -.04em; }
.pane-title p { margin: 0; color: var(--muted); font-size: 13px; }
.back-button { border: 0; background: none; padding: 0 0 24px; cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-card { text-align: left; min-height: 180px; border: 1px solid var(--line); background: var(--white); padding: 24px; position: relative; display: flex; flex-direction: column; cursor: pointer; transition: border .2s, transform .2s, box-shadow .2s; }
.offline-service > input { position: absolute; opacity: 0; pointer-events: none; }
.offline-service:has(input:checked) { border-color: var(--wine); box-shadow: 0 15px 35px rgba(50,21,28,.08); }
.offline-service:has(input:checked) .service-check { color: white; background: var(--wine); border-color: var(--wine); }
.service-card:hover, .service-card:focus-visible { outline: none; border-color: var(--wine); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(50,21,28,.08); }
.service-card.selected { border-color: var(--wine); background: #fff8f4; box-shadow: 0 15px 35px rgba(50,21,28,.08); }
.service-card.selected .service-check { color: white; background: var(--wine); border-color: var(--wine); }
.service-check { position: absolute; right: 20px; top: 20px; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: transparent; }
.service-card:hover .service-check { color: white; background: var(--wine); border-color: var(--wine); }
.service-name { font: 21px Georgia, serif; padding-right: 32px; }
.service-description { font-size: 12px; line-height: 1.55; color: var(--muted); margin: 12px 0 22px; }
.service-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.service-meta b { font-size: 13px; color: var(--wine); }
.service-meta small { color: var(--muted); }
.service-selection-footer { position: sticky; bottom: 16px; z-index: 4; margin-top: 22px; padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(50,21,28,.96); color: white; box-shadow: 0 18px 45px rgba(50,21,28,.2); backdrop-filter: blur(10px); }
.service-selection-footer > div { display: grid; gap: 5px; }
.service-selection-footer small { color: var(--rose); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.service-selection-footer strong { font-size: 12px; }
.service-selection-footer .button { background: var(--rose); color: var(--wine-dark); white-space: nowrap; }
.service-selection-footer .button:hover { background: var(--white); }
.date-grid { display: grid; grid-template-columns: repeat(5, minmax(80px, 1fr)); gap: 10px; }
.date-card { min-height: 125px; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: .2s; }
.date-card:hover, .date-card:focus-visible { background: var(--wine); color: white; border-color: var(--wine); outline: none; }
.date-card small, .date-card span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.date-card strong { font: 34px Georgia, serif; }
.selected-summary { display: flex; justify-content: space-between; gap: 18px; padding: 15px 18px; background: var(--blush); color: var(--wine); margin-bottom: 24px; font-size: 12px; text-transform: capitalize; }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot-button { min-height: 55px; border: 1px solid var(--line); background: var(--white); font: 18px Georgia, serif; cursor: pointer; transition: .2s; }
.slot-button:hover, .slot-button:focus-visible { background: var(--wine); border-color: var(--wine); color: white; outline: none; }
.empty-message { color: var(--muted); padding: 22px; border: 1px dashed var(--line); }
.loading-line { color: var(--muted); padding: 30px 0; }
.offline-fallback { margin-top: 26px; padding: 24px; border: 1px dashed var(--rose); background: #fff9f5; }
.prototype-notice { margin: 0 0 24px; color: var(--wine); font-size: 12px; line-height: 1.55; }
.offline-fallback h4 { margin: 23px 0 10px; font: 20px Georgia, serif; }
.offline-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.offline-options label { cursor: pointer; }
.offline-options input { position: absolute; opacity: 0; pointer-events: none; }
.offline-options span { min-height: 64px; display: grid; place-items: center; padding: 9px; border: 1px solid var(--line); background: white; text-align: center; color: var(--muted); font-size: 10px; line-height: 1.5; }
.offline-options b { color: var(--ink); font: 16px Georgia, serif; }
.offline-options input:checked + span { background: var(--wine); border-color: var(--wine); color: white; }
.offline-options input:checked + span b { color: white; }
.compact-options span { min-height: 48px; font: 16px Georgia, serif; color: var(--ink); }
.offline-confirmation { margin-top: 22px; padding: 16px; background: var(--wine-dark); color: white; display: flex; flex-direction: column; gap: 5px; }
.offline-confirmation strong { font: 18px Georgia, serif; }
.offline-confirmation span { color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.5; }
.final-summary { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px; border: 1px solid var(--line); margin-bottom: 25px; background: var(--white); }
.final-summary div { display: flex; flex-direction: column; gap: 5px; padding: 0 12px; border-right: 1px solid var(--line); }
.final-summary div:last-child { border: 0; }
.final-summary small { color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.final-summary strong { font-size: 12px; text-transform: capitalize; }
.booking-form, .login-card { display: grid; gap: 16px; }
.booking-form label:not(.check-line), .login-card label, .settings-grid label, .service-edit-row label { display: grid; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.booking-form input, .login-card input, .settings-grid input, .settings-grid textarea, .service-edit-row input, .service-edit-row select, .availability-row input[type=time] { width: 100%; border: 1px solid var(--line); background: var(--white); color: var(--ink); min-height: 54px; padding: 0 15px; outline: 0; border-radius: 0; }
.booking-form input:focus, .login-card input:focus, .settings-grid input:focus, .settings-grid textarea:focus, .service-edit-row input:focus, .service-edit-row select:focus { border-color: var(--wine); }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 11px; line-height: 1.45; color: var(--muted); }
.check-line input { width: 16px; min-height: 16px; accent-color: var(--wine); margin-top: 1px; }
.form-error { min-height: 18px; margin: 0; color: #a13043; font-size: 12px; }
.success-pane { text-align: center; max-width: 620px; margin: 15px auto; animation: pane-in .45s ease both; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--success); color: white; display: grid; place-items: center; font-size: 32px; }
.success-pane h3 { margin: 0 0 10px; font: 46px Georgia, serif; }
.success-pane > p { color: var(--muted); }
.success-ticket { margin: 30px 0 15px; display: grid; grid-template-columns: 1.3fr 1fr .65fr; text-align: left; border: 1px solid var(--line); background: var(--white); }
.success-ticket div { padding: 18px; border-right: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; }
.success-ticket div:last-child { border: 0; }
.success-ticket small { font-size: 8px; color: var(--muted); letter-spacing: .12em; }
.success-ticket strong { font-size: 12px; text-transform: capitalize; }
.loyalty-result { padding: 17px; background: var(--wine); color: white; display: flex; flex-direction: column; gap: 5px; }
.loyalty-result strong { font: 18px Georgia, serif; }
.loyalty-result span { font-size: 11px; opacity: .75; }
.text-link.danger { margin-top: 25px; color: #8b2c3c; }
.cancelled-note { color: var(--success) !important; font-weight: 700; }

.how { padding: 110px 6vw; }
.how > .eyebrow, .how-grid { max-width: 1160px; margin-left: auto; margin-right: auto; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.how-grid > div { padding: 42px 8% 10px 0; border-right: 1px solid var(--line); min-height: 230px; }
.how-grid > div:not(:first-child) { padding-left: 12%; }
.how-grid > div:last-child { border: 0; }
.how-grid b { color: var(--rose); font: 14px Georgia, serif; }
.how-grid h3 { font: 31px Georgia, serif; margin: 44px 0 12px; }
.how-grid p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 270px; }

.loyalty-section { padding: 20px 6vw 120px; }
.loyalty-card { max-width: 1160px; margin: auto; background: var(--wine); color: white; padding: clamp(40px, 7vw, 90px); display: grid; grid-template-columns: 1fr .78fr; gap: 10vw; align-items: center; position: relative; overflow: hidden; }
.loyalty-card::after { content: "A"; position: absolute; right: -2%; top: -28%; font: 420px Georgia, serif; color: rgba(255,255,255,.035); }
.eyebrow.light { color: var(--rose); }
.loyalty-copy { position: relative; z-index: 1; }
.loyalty-copy p:last-child { color: rgba(255,255,255,.7); line-height: 1.7; max-width: 480px; }
.stamp-card { position: relative; z-index: 1; background: var(--paper); color: var(--ink); min-height: 290px; padding: 34px; transform: rotate(2deg); box-shadow: 0 28px 60px rgba(0,0,0,.18); }
.stamp-card small { letter-spacing: .18em; font-size: 8px; }
.stamp-card > strong { display: block; margin: 15px 0 35px; font: italic 32px Georgia, serif; color: var(--wine); }
.stamps { display: flex; gap: 10px; }
.stamps i { width: 45px; height: 58px; border: 1px dashed var(--rose); border-radius: 50% 50% 45% 45%; display: grid; place-items: center; font: 16px Georgia, serif; color: var(--wine); }
.stamp-card p { color: var(--muted); font-size: 10px; margin-top: 28px; }

.policies { padding: 0 6vw 130px; max-width: 1325px; margin: auto; }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 48px; }
.policy-grid article { padding: 38px 12% 0 0; border-right: 1px solid var(--line); }
.policy-grid article:not(:first-child) { padding-left: 12%; }
.policy-grid article:last-child { border: 0; }
.policy-grid article > span { color: var(--rose); font: 14px Georgia, serif; }
.policy-grid h3 { font: 24px Georgia, serif; margin: 32px 0 14px; }
.policy-grid p { color: var(--muted); line-height: 1.7; font-size: 13px; }

footer { min-height: 180px; background: var(--wine-dark); color: white; padding: 45px 6vw; display: flex; align-items: center; gap: 40px; }
.footer-brand .brand-mark, .brand-light .brand-mark { border-color: var(--rose); color: var(--rose); }
.footer-brand small, .brand-light small { color: var(--rose); }
footer > p { color: rgba(255,255,255,.55); font-size: 12px; margin-right: auto; }
.admin-link { color: var(--rose); font-size: 11px; text-decoration: none; border-bottom: 1px solid; padding-bottom: 4px; }

/* Painel administrativo */
.admin-body { background: #eee8e1; }
.admin-login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 7vw; gap: 10vw; background: var(--blush); }
.admin-login > .brand { align-self: start; }
.login-card { background: var(--white); padding: clamp(35px, 5vw, 70px); box-shadow: var(--shadow); max-width: 570px; }
.login-card h1 { font-size: clamp(48px, 6vw, 76px); }
.login-card > p:not(.eyebrow):not(.form-error) { color: var(--muted); line-height: 1.65; }
.login-card .text-link { justify-self: start; margin-top: 10px; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 255px 1fr; }
.admin-sidebar { background: var(--wine-dark); color: white; padding: 34px 26px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.admin-sidebar nav { margin-top: 75px; display: grid; gap: 5px; }
.admin-sidebar nav button { border: 0; background: transparent; color: rgba(255,255,255,.48); text-align: left; padding: 15px 12px; cursor: pointer; font-size: 12px; display: flex; gap: 14px; align-items: center; }
.admin-sidebar nav button span { font: 11px Georgia, serif; color: var(--rose); }
.admin-sidebar nav button.active { color: white; background: rgba(255,255,255,.08); }
.sidebar-logout { margin-top: auto; background: none; border: 0; text-align: left; color: var(--rose); cursor: pointer; font-size: 11px; padding: 12px; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 86px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d6cbc3; }
.admin-topbar div { display: flex; flex-direction: column; gap: 4px; text-transform: capitalize; }
.admin-topbar small { color: var(--muted); font-size: 8px; letter-spacing: .16em; }
.admin-topbar strong { font: 15px Georgia, serif; }
.admin-topbar a { font-size: 11px; color: var(--wine); }
.admin-panel { padding: 55px 4vw 90px; animation: pane-in .3s ease both; }
.admin-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 40px; }
.admin-heading h1 { font-size: 64px; }
.stat-pill { min-width: 150px; padding: 13px 18px; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.stat-pill strong { color: var(--wine); font: 30px Georgia, serif; }
.stat-pill span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.admin-intro { color: var(--muted); line-height: 1.65; max-width: 700px; margin: -20px 0 35px; }
.booking-list, .availability-list, .service-editor { display: grid; gap: 10px; }
.admin-booking { min-height: 105px; background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 95px 1fr auto auto; gap: 20px; align-items: center; padding: 15px 20px; }
.admin-booking.cancelled { opacity: .58; }
.booking-time { display: flex; flex-direction: column; text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.booking-time strong { font: 25px Georgia, serif; }
.booking-time span { color: var(--muted); font-size: 10px; }
.booking-person small { text-transform: capitalize; color: var(--wine); font-size: 9px; letter-spacing: .06em; }
.booking-person h3 { margin: 7px 0 3px; font: 20px Georgia, serif; }
.booking-person p { margin: 0; color: var(--muted); font-size: 11px; }
.status { padding: 7px 10px; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; background: #ece5df; }
.status.confirmed { background: #e7ddc7; color: #70552b; }
.status.completed { background: #dbe8dd; color: #385941; }
.status.cancelled, .status.no_show { background: #ead7d7; color: #823b47; }
.booking-actions { display: grid; gap: 4px; }
.booking-actions button { border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-size: 9px; cursor: pointer; padding: 3px; }
.admin-empty { padding: 60px; background: var(--white); border: 1px solid var(--line); text-align: center; }
.admin-empty strong { font: 28px Georgia, serif; }
.admin-empty p { color: var(--muted); }
.availability-row { background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 46px minmax(180px, .8fr) minmax(360px, 1.4fr); gap: 20px; align-items: start; padding: 17px 20px; }
.availability-day { display: flex; flex-direction: column; gap: 4px; padding-top: 7px; text-transform: capitalize; }
.availability-day strong { font: 17px Georgia, serif; }
.availability-day small { color: var(--muted); }
.availability-windows, .availability-window-list { display: grid; gap: 8px; }
.availability-window { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr) 38px; gap: 8px; align-items: end; }
.availability-window label { display: grid; gap: 4px; font-size: 8px; text-transform: uppercase; color: var(--muted); }
.availability-row input[type=time] { min-height: 38px; padding: 0 8px; }
.availability-row.is-closed .availability-windows { opacity: .5; }
.day-switch input { position: absolute; opacity: 0; }
.day-switch span { width: 38px; height: 22px; border-radius: 20px; background: #cfc5bd; display: block; padding: 3px; cursor: pointer; }
.day-switch span::after { content: ""; width: 16px; height: 16px; display: block; border-radius: 50%; background: white; transition: .2s; }
.day-switch input:checked + span { background: var(--wine); }
.day-switch input:checked + span::after { transform: translateX(16px); }
.window-remove { min-height: 38px; border: 1px solid var(--line); background: #fff8f5; color: var(--wine); font-size: 20px; cursor: pointer; }
.add-window { justify-self: start; border: 0; background: transparent; color: var(--wine); padding: 5px 0; font-size: 11px; font-weight: 700; cursor: pointer; }
.window-remove:disabled, .add-window:disabled { cursor: not-allowed; }
.service-edit-row { background: var(--white); border: 1px solid var(--line); padding: 20px; display: grid; grid-template-columns: 1fr 1.35fr 100px 110px 65px; gap: 12px; align-items: end; }
.service-edit-row input, .service-edit-row select { min-height: 43px; }
.active-check { display: flex !important; flex-direction: row; align-items: center; padding-bottom: 12px; }
.active-check input { width: 15px; min-height: 15px; accent-color: var(--wine); }
.add-row { margin-top: 12px; border: 1px dashed var(--rose); color: var(--wine); background: transparent; padding: 16px; width: 100%; cursor: pointer; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 950px; }
.settings-grid label:nth-child(-n+2) { grid-row: span 2; }
.settings-grid textarea { padding: 15px; resize: vertical; min-height: 160px; }
.admin-toast { position: fixed; right: 30px; bottom: 30px; background: var(--success); color: white; padding: 16px 22px; font-size: 12px; box-shadow: var(--shadow); transform: translateY(30px); opacity: 0; pointer-events: none; transition: .25s; }
.admin-toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 520px; }
  .hero-copy { min-height: 680px; }
  .quick-actions { grid-template-columns: 1fr 1fr; max-width: 760px; margin-top: -30px; }
  .quick-action:nth-child(2) { border-right: 1px solid var(--line); }
  .quick-action:nth-child(n+3) { border-top: 0; }
  .section-heading { gap: 5vw; }
  .booking-card { grid-template-columns: 185px 1fr; }
  .steps { padding: 45px 25px; }
  .date-grid { grid-template-columns: repeat(4, 1fr); }
  .loyalty-card { gap: 5vw; }
  .admin-shell { grid-template-columns: 205px 1fr; }
  .admin-sidebar { padding: 30px 18px; }
  .service-edit-row { grid-template-columns: 1fr 1fr; }
  .active-check { padding-bottom: 0; }
}

@media (max-width: 720px) {
  .site-header { min-height: 76px; padding: 0 20px; }
  .brand-mark { width: 39px; height: 39px; font-size: 23px; }
  .brand strong { font-size: 18px; }
  .header-link { font-size: 0; }
  .header-link span { font-size: 20px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 72px 22px 55px; min-height: 620px; }
  .hero h1 { font-size: 57px; }
  .hero-text { font-size: 15px; }
  .hero-actions { gap: 20px; }
  .hero-trust { gap: 16px; justify-content: space-between; margin-top: 60px; }
  .hero-trust span { font-size: 8px; }
  .hero-art { min-height: 460px; }
  .hero-photo > img { top: 45%; width: min(74%, 330px); }
  .hero-photo .art-note { top: 7%; right: 6%; font-size: 15px; }
  .professional-card { left: 5%; bottom: 5%; padding: 13px 14px; }
  .professional-card strong { font-size: 20px; }
  .hero-photo .art-seal { width: 92px; height: 92px; right: 4%; bottom: 5%; }
  .hero-photo .art-seal strong { font-size: 19px; }
  .quick-actions { grid-template-columns: 1fr; margin: 0; padding: 0; }
  .quick-action { min-height: 94px; border-right: 1px solid var(--line); border-top: 0; box-shadow: none; }
  .quick-action:first-child { border-top: 1px solid var(--line); }
  .booking-wrap { padding-top: 82px; }
  .booking-wrap { padding: 82px 16px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading h2, .loyalty-card h2 { font-size: 49px; }
  .section-heading > p { margin-top: 20px; }
  .booking-card { display: block; min-height: 0; }
  .steps { display: flex; padding: 18px 14px; justify-content: space-between; }
  .steps li { min-height: 0; gap: 1px; }
  .steps li::after { display: none; }
  .steps li b { font-size: 7px; }
  .booking-content { padding: 32px 18px 38px; }
  .pane-title h3 { font-size: 28px; }
  .pane-title p { font-size: 11px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 160px; }
  .service-selection-footer { position: static; align-items: stretch; flex-direction: column; }
  .service-selection-footer .button { width: 100%; justify-content: space-between; }
  .date-grid { grid-template-columns: repeat(3, 1fr); }
  .date-card { min-height: 105px; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .offline-options { grid-template-columns: repeat(2, 1fr); }
  .selected-summary { flex-direction: column; }
  .final-summary { grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
  .final-summary div:nth-child(2) { border: 0; }
  .success-ticket { grid-template-columns: 1fr; }
  .success-ticket div { border-right: 0; border-bottom: 1px dashed var(--line); }
  .how { padding: 80px 22px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid > div, .how-grid > div:not(:first-child) { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 0; min-height: 0; }
  .how-grid h3 { margin-top: 18px; }
  .loyalty-section { padding: 10px 16px 80px; }
  .loyalty-card { grid-template-columns: 1fr; gap: 40px; padding: 45px 24px; }
  .stamp-card { padding: 26px 20px; min-height: 260px; transform: rotate(1deg); }
  .stamps { gap: 6px; }
  .stamps i { width: 42px; height: 54px; }
  .policies { padding: 0 22px 80px; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy-grid article, .policy-grid article:not(:first-child) { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 0; }
  footer { flex-wrap: wrap; gap: 18px; padding: 38px 22px; }
  footer > p { width: 100%; order: 3; }
  .admin-login { grid-template-columns: 1fr; align-items: start; padding: 30px 18px; gap: 50px; }
  .login-card { padding: 35px 22px; }
  .admin-shell { display: block; }
  .admin-sidebar { position: static; height: auto; padding: 18px; }
  .admin-sidebar nav { margin-top: 24px; display: flex; overflow-x: auto; }
  .admin-sidebar nav button { white-space: nowrap; }
  .sidebar-logout { position: absolute; right: 18px; top: 31px; }
  .admin-topbar { padding: 0 18px; }
  .admin-panel { padding: 42px 18px 75px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-heading h1 { font-size: 52px; }
  .admin-booking { grid-template-columns: 62px 1fr; gap: 12px; padding: 16px 12px; }
  .booking-time { padding-right: 12px; }
  .status, .booking-actions { grid-column: 2; justify-self: start; }
  .booking-actions { display: flex; flex-wrap: wrap; }
  .availability-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .availability-windows { grid-column: 1 / -1; }
  .availability-window { grid-template-columns: 1fr 1fr 38px; }
  .service-edit-row, .settings-grid { grid-template-columns: 1fr; }
  .admin-toast { left: 18px; right: 18px; bottom: 18px; }
  .client-dialog, .contact-dialog { padding: 38px 22px 26px; }
  .client-dialog h2, .contact-dialog h2 { font-size: 42px; }
  .client-ticket dl { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
