/* =========================================================
   Spa Delivery Eventos — Agenda Digital
   Design system: calmo, acolhedor, sofisticado
   ========================================================= */

:root {
  --cream: #f8f5ef;
  --cream-deep: #f1eadf;
  --paper: #fffdf9;
  --white: #ffffff;
  --sage: #7e9485;
  --sage-dark: #4d6355;
  --sage-deep: #354a3d;
  --sage-soft: #e6ede7;
  --sand: #c8a878;
  --sand-soft: #f2e8d8;
  --ink: #2c352f;
  --muted: #6f7a72;
  --line: #e4ddd2;
  --danger: #a9544a;
  --danger-soft: #f9ece9;
  --success: #4d7a5e;
  --shadow-sm: 0 4px 16px rgba(52, 66, 55, .06);
  --shadow-md: 0 16px 44px rgba(52, 66, 55, .10);
  --shadow-lg: 0 28px 70px rgba(52, 66, 55, .14);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
em { font-style: italic; color: var(--sage-dark); font-weight: 500; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid rgba(126, 148, 133, .55); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--sage-deep); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

/* --------------------- Botões --------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: .94rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  text-align: center;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--sage-deep); color: #fff; box-shadow: 0 10px 24px rgba(53, 74, 61, .22); }
.btn-primary:hover:not(:disabled) { background: var(--sage-dark); box-shadow: 0 14px 30px rgba(53, 74, 61, .28); }
.btn-outline { border-color: var(--sage); color: var(--sage-deep); background: rgba(255,255,255,.45); }
.btn-outline:hover:not(:disabled) { background: #fff; border-color: var(--sage-deep); }
.btn-light { background: var(--paper); color: var(--sage-deep); box-shadow: var(--shadow-md); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--sage-deep); border-color: var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .86rem; }
.btn-danger { background: transparent; color: var(--danger); border-color: #e3c9c3; }
.btn-danger:hover { background: var(--danger-soft); }
.btn-icon { min-height: 38px; padding: 8px; width: 38px; border-radius: 10px; background: transparent; border: 1px solid var(--line); color: var(--muted); }
.btn-icon:hover { background: #fff; color: var(--sage-deep); border-color: var(--sage); }
.btn-icon .icon { width: 17px; height: 17px; }
.link-button { background: none; border: 0; padding: 0; color: var(--sage-dark); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------- Header --------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(248, 245, 239, .88); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 221, 210, .8);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-deep); color: #f6efe2; box-shadow: 0 6px 16px rgba(53,74,61,.2);
}
.brand-mark .icon { width: 21px; height: 21px; }
.brand-text { font-family: var(--font-serif); font-size: 1.32rem; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.brand-text small { display: block; font-family: var(--font-sans); font-size: .61rem; letter-spacing: .32em; text-transform: uppercase; color: var(--sage); margin-top: 4px; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { border: 0; background: none; color: var(--muted); font-size: .88rem; font-weight: 500; padding: 6px 0; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--sage-deep); }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 42px; height: 42px; place-items: center; color: var(--sage-deep); }
.header-cta .icon { fill: currentColor; stroke: none; }

/* --------------------- Hero --------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 64px; background: radial-gradient(1000px 620px at 82% 14%, #eaf0e9 0%, transparent 62%), var(--cream); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-one { width: 340px; height: 340px; top: -150px; right: -100px; background: rgba(200,168,120,.12); }
.hero-orb-two { width: 240px; height: 240px; bottom: -120px; left: -80px; background: rgba(126,148,133,.12); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .2em; font-size: .69rem; font-weight: 700; color: var(--sage-dark); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); }
.hero h1 { margin: 18px 0 22px; }
.hero-lead { max-width: 530px; font-size: 1.05rem; color: var(--muted); }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: .83rem; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 16px; height: 16px; color: var(--sage-dark); }

.hero-art { display: grid; place-items: center; }
.art-frame {
  position: relative; width: min(100%, 470px); aspect-ratio: 1 / 1.04; border-radius: 46% 46% 40% 40% / 42%;
  background: linear-gradient(145deg, #fdfbf6 0%, #eef1e9 55%, #e3d7c4 100%);
  box-shadow: var(--shadow-lg); display: grid; place-items: center; isolation: isolate;
}
.art-frame::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.8); border-radius: inherit; }
.art-circle { width: 56%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 38% 32%, #fdfbf6, #dfe8de 70%); box-shadow: inset 0 0 60px rgba(255,255,255,.7), 0 18px 42px rgba(77,99,85,.14); }
.art-leaf { width: 46%; height: 46%; fill: none; stroke: var(--sage); stroke-width: 1.05; stroke-linecap: round; filter: drop-shadow(0 8px 16px rgba(77,99,85,.16)); }
.art-ring { position: absolute; border: 1px solid rgba(126,148,133,.3); border-radius: 50%; z-index: -1; }
.art-ring-one { inset: -20px; }
.art-ring-two { inset: -46px; border-color: rgba(200,168,120,.24); }
.art-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-md); border-radius: 999px; padding: 10px 16px; font-size: .8rem; font-weight: 600; color: var(--sage-deep); }
.art-chip .icon { width: 16px; height: 16px; color: var(--sand); }
.art-chip-top { top: 14%; left: -5%; }
.art-chip-bottom { right: -3%; bottom: 27%; }
.art-caption { position: absolute; bottom: 7%; left: 0; right: 0; text-align: center; }
.art-caption span { display: block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--sage-deep); }
.art-caption small { color: var(--muted); font-size: .76rem; }
.hero-scroll-hint { display: flex; align-items: center; gap: 12px; margin-top: 52px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hero-scroll-hint span { width: 34px; height: 1px; background: var(--sage); }

/* --------------------- Seções --------------------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 14px 0 14px; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.services-section { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 18px; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 244px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfd9cf; }
.service-card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-deep); }
.service-card-icon .icon { width: 23px; height: 23px; }
.service-card:nth-child(even) .service-card-icon { background: var(--sand-soft); color: #9a7745; }
.service-card h3 { font-size: 1.4rem; }
.service-card p { color: var(--muted); font-size: .88rem; flex: 1; }
.service-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.service-meta { font-size: .76rem; color: var(--sage-dark); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.service-meta .icon { width: 15px; height: 15px; }
.service-select { border: 0; background: none; color: var(--sage-deep); font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
.service-select:hover { text-decoration: underline; text-underline-offset: 4px; }
.badge-popular { position: absolute; top: 18px; right: 18px; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; background: var(--sand-soft); color: #8e6c3c; padding: 4px 10px; border-radius: 999px; font-weight: 700; }

.steps-section { padding: 0 0 clamp(20px, 3vw, 36px); background: var(--paper); }
.steps-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--sage-deep); color: #fff; border-radius: var(--radius); padding: 24px 30px; box-shadow: var(--shadow-md); }
.step-item { display: flex; align-items: center; gap: 14px; }
.step-item + .step-item { border-left: 1px solid rgba(255,255,255,.18); padding-left: 24px; }
.step-number { font-family: var(--font-serif); font-size: 1.7rem; color: #d8c6a6; line-height: 1; }
.step-item strong { display: block; font-size: .9rem; }
.step-item small { display: block; font-size: .76rem; color: rgba(255,255,255,.68); }

.booking-section { background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 42%); }
.wizard { max-width: 930px; margin-inline: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.stepper { display: flex; gap: 0; padding: 20px 30px; border-bottom: 1px solid var(--line); background: rgba(248,245,239,.7); overflow-x: auto; }
.stepper li { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-size: .78rem; color: var(--muted); font-weight: 600; }
.stepper li:not(:last-child)::after { content: ""; width: 36px; height: 1px; background: var(--line); margin: 0 14px; }
.stepper-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; font-size: .72rem; font-weight: 700; color: var(--muted); flex: none; }
.stepper-dot .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.stepper li.is-active { color: var(--sage-deep); }
.stepper li.is-active .stepper-dot { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.stepper li.is-done .stepper-dot { background: var(--sage-soft); border-color: var(--sage); color: var(--sage-deep); }
.wizard-body { padding: clamp(24px, 4vw, 42px); min-height: 460px; }
.step-head { margin-bottom: 26px; }
.step-head h3 { font-size: 2rem; margin: 6px 0 6px; }
.step-head p { color: var(--muted); font-size: .9rem; }
.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px clamp(24px, 4vw, 42px); border-top: 1px solid var(--line); background: rgba(248,245,239,.55); }
.wizard-nav .nav-hint { font-size: .78rem; color: var(--muted); }
.wizard-nav-right { display: flex; gap: 10px; margin-left: auto; }

/* --------------------- Etapa 1 --------------------- */
.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 30px; }
.mode-card {
  text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start; transition: all .2s ease; position: relative;
}
.mode-card:hover { border-color: var(--sage); transform: translateY(-2px); }
.mode-card.is-selected { border-color: var(--sage-deep); background: #f4f8f4; box-shadow: 0 0 0 3px rgba(126,148,133,.12); }
.mode-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-deep); flex: none; }
.mode-icon .icon { width: 21px; height: 21px; }
.mode-card strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.mode-card small { display: block; font-size: .77rem; color: var(--muted); line-height: 1.45; }
.mode-check { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; }
.mode-check .icon { width: 12px; height: 12px; }
.mode-card.is-selected .mode-check { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.subhead { display: flex; align-items: center; gap: 10px; margin: 8px 0 14px; font-size: .88rem; font-weight: 700; color: var(--sage-deep); }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.choice-card {
  display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1.5px solid var(--line);
  border-radius: 14px; padding: 14px 16px; transition: all .18s ease;
}
.choice-card:hover { border-color: var(--sage); }
.choice-card.is-selected { border-color: var(--sage-deep); background: #f4f8f4; }
.choice-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: transparent; flex: none; }
.choice-check .icon { width: 13px; height: 13px; }
.choice-card.is-selected .choice-check { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.choice-text strong { display: block; font-size: .87rem; }
.choice-text small { display: block; font-size: .72rem; color: var(--muted); }

/* --------------------- Formulários --------------------- */
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label { font-size: .8rem; font-weight: 600; color: var(--sage-deep); }
.req { color: var(--danger); }
.field input, .field select, .field textarea, .admin-form input, .admin-form select, .admin-form textarea, .filter-group input {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: .9rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus, .filter-group input:focus {
  outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(126,148,133,.14);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .75rem; min-height: 0; display: none; }
.field.has-error .field-error { display: block; }
.field-hint { color: var(--muted); font-size: .74rem; }
.checkbox-field { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 11px; font-size: .82rem; color: var(--muted); cursor: pointer; }
.checkbox-field input { width: 18px; height: 18px; min-height: 0; accent-color: var(--sage-deep); margin: 2px 0 0; flex: none; }
.form-alert { display: none; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-size: .82rem; margin-bottom: 18px; }
.form-alert.is-visible { display: flex; }

/* --------------------- Etapa 2: calendário --------------------- */
.calendar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-width: 560px; margin-inline: auto; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cal-month { font-family: var(--font-serif); font-size: 1.4rem; text-transform: capitalize; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--sage-deep); display: grid; place-items: center; }
.cal-nav button:hover:not(:disabled) { background: var(--sage-soft); }
.cal-nav button:disabled { opacity: .4; cursor: not-allowed; }
.cal-nav .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.cal-nav button:last-child .icon { transform: none; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-weekdays span { text-align: center; font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.cal-day { position: relative; aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ink); font-size: .83rem; display: grid; place-items: center; transition: all .15s ease; }
.cal-day:hover:not(:disabled) { background: var(--sage-soft); }
.cal-day.is-muted { color: #b7b8b1; }
.cal-day.is-today { border-color: var(--sand); font-weight: 700; }
.cal-day.is-selected { background: var(--sage-deep); color: #fff; font-weight: 700; }
.cal-day.is-disabled { color: #c9cbca; cursor: not-allowed; text-decoration: line-through; }
.day-dot { position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--sage); }
.cal-day.is-selected .day-dot { background: #fff; }
.day-dot.no-slots { background: var(--sand); }
.slot-area { margin-top: 28px; }
.slot-area-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.slot-area-head h4 { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; }
.slot-area-head small { font-size: .76rem; color: var(--muted); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(102px, 1fr)); gap: 9px; }
.slot { min-height: 46px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; color: var(--sage-deep); font-size: .84rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all .15s ease; }
.slot:hover:not(:disabled) { border-color: var(--sage); background: #f4f8f4; }
.slot.is-selected { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.slot:disabled { cursor: not-allowed; background: #f5f3ee; color: #b0b2ad; text-decoration: line-through; border-color: transparent; }
.slot .icon { width: 14px; height: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: .73rem; color: var(--muted); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-swatch { width: 11px; height: 11px; border-radius: 3px; border: 1px solid var(--line); background: #fff; }
.legend-swatch.free { border-color: var(--sage); background: #f4f8f4; }
.legend-swatch.busy { background: #f5f3ee; border-color: transparent; }
.legend-swatch.sel { background: var(--sage-deep); border-color: var(--sage-deep); }
.info-note { display: flex; gap: 10px; align-items: flex-start; background: #f4f8f4; border: 1px solid #dfe9df; border-radius: 12px; padding: 12px 14px; font-size: .79rem; color: var(--sage-deep); margin-top: 20px; }
.info-note .icon { width: 17px; height: 17px; margin-top: 2px; }

/* --------------------- Etapa 4: resumo --------------------- */
.summary { display: grid; gap: 14px; }
.summary-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.summary-block h4 { font-family: var(--font-sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage-dark); margin-bottom: 12px; font-weight: 700; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; padding: 6px 0; font-size: .86rem; }
.summary-row span:first-child { color: var(--muted); flex: none; }
.summary-row span:last-child { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.summary-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.summary-tag { background: var(--sage-soft); color: var(--sage-deep); font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.summary-edit { border: 0; background: none; color: var(--sage-dark); font-size: .76rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.consent-final { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); background: var(--cream); border-radius: 12px; padding: 14px; }
.consent-final input { accent-color: var(--sage-deep); width: 18px; height: 18px; flex: none; }

.success { text-align: center; padding: 30px 10px 10px; }
.success-icon { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--sage-soft); color: var(--sage-deep); box-shadow: 0 0 0 10px rgba(230,237,231,.5); }
.success-icon .icon { width: 36px; height: 36px; stroke-width: 2.2; }
.success h3 { font-size: 2.2rem; margin-bottom: 12px; }
.success > p { color: var(--muted); max-width: 540px; margin-inline: auto; font-size: .92rem; }
.success-code { display: inline-block; margin-top: 20px; font-family: var(--font-serif); font-size: 1.3rem; color: var(--sage-deep); background: var(--cream); border: 1px dashed var(--sand); padding: 6px 20px; border-radius: 10px; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.success-steps { display: grid; gap: 10px; text-align: left; max-width: 440px; margin: 28px auto 0; }
.success-steps li { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); }
.success-steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sage-deep); color: #fff; font-size: .68rem; flex: none; }

/* --------------------- CTA / Footer --------------------- */
.cta-section { padding-top: 0; background: var(--cream); }
.cta-panel { border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); background: linear-gradient(120deg, var(--sage-deep), #5d7766); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: var(--shadow-md); }
.cta-panel .eyebrow { color: #e5d3b4; }
.cta-panel h2 { max-width: 560px; margin: 12px 0; }
.cta-panel p:not(.eyebrow) { color: rgba(255,255,255,.75); max-width: 520px; font-size: .9rem; }
.cta-panel .btn { flex: none; }
.site-footer { background: #f2ede4; border-top: 1px solid var(--line); padding-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { display: block; font-family: var(--font-serif); font-size: 1.35rem; }
.footer-brand small { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: .82rem; color: var(--muted); }
.footer-col strong { color: var(--ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; }
.footer-col a:hover { color: var(--sage-deep); }
.footer-col .icon { width: 16px; height: 16px; color: var(--sage-dark); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 14px; font-size: .75rem; color: var(--muted); }

/* --------------------- Admin --------------------- */
.admin-section { min-height: 70vh; background: var(--cream); padding-top: 54px; }
.admin-login { max-width: 430px; margin: 50px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; text-align: center; box-shadow: var(--shadow-sm); }
.admin-login .lock-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--sage-soft); color: var(--sage-deep); }
.admin-login p { color: var(--muted); font-size: .86rem; margin: 10px 0 22px; }
.admin-login .field { text-align: left; }
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.admin-tab { border: 0; background: none; padding: 12px 16px; font-size: .85rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-tab.is-active { color: var(--sage-deep); border-color: var(--sage-deep); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.stat-card strong { display: block; font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--sage-deep); }
.stat-card span { font-size: .76rem; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head h3 { font-size: 1.5rem; }
.panel-head p { color: var(--muted); font-size: .8rem; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filter-group { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.filter-btn.is-active { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.search-field { flex: 1; min-width: 180px; }
.search-field input { min-height: 40px; }
.booking-list { display: grid; gap: 12px; }
.booking-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; }
.booking-card.is-cancelled { opacity: .62; }
.booking-card h4 { font-family: var(--font-sans); font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.booking-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .77rem; color: var(--muted); }
.booking-meta span { display: inline-flex; align-items: center; gap: 6px; }
.booking-meta .icon { width: 14px; height: 14px; }
.booking-services { font-size: .76rem; color: var(--sage-deep); margin-top: 8px; }
.booking-notes { font-size: .76rem; color: var(--muted); margin-top: 6px; font-style: italic; }
.booking-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-pendente { background: #faf0dc; color: #8b6c2c; }
.badge-confirmado { background: var(--sage-soft); color: var(--success); }
.badge-cancelado { background: #efece8; color: #817f79; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.empty-state { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty-state .icon { width: 34px; height: 34px; color: var(--sage); margin-bottom: 10px; }
.empty-state strong { display: block; color: var(--ink); margin-bottom: 4px; }
.empty-state p { font-size: .85rem; }

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.admin-form { display: grid; gap: 14px; }
.admin-form .field { gap: 6px; }
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.chip { min-height: 40px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: .8rem; color: var(--sage-deep); font-weight: 600; }
.chip:hover:not(:disabled) { border-color: var(--sage); }
.chip.is-selected { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }
.chip:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.block-list { display: grid; gap: 10px; margin-top: 18px; }
.block-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: .83rem; }
.block-item strong { color: var(--sage-deep); }
.block-item small { display: block; color: var(--muted); font-size: .75rem; }
.service-edit-row { display: grid; grid-template-columns: 1.2fr 1.6fr .7fr auto; gap: 10px; align-items: end; padding: 12px 0; border-bottom: 1px solid var(--line); }
.service-edit-row .field { gap: 5px; }
.service-edit-row input { min-height: 40px; }
.service-edit-row .toggle { display: flex; align-items: center; gap: 7px; min-height: 40px; font-size: .76rem; color: var(--muted); }
.service-edit-row .toggle input { width: 17px; height: 17px; min-height: 0; accent-color: var(--sage-deep); }
.divider { height: 1px; background: var(--line); margin: 26px 0; }

/* --------------------- Toast / Modal / Loading --------------------- */
.toast-region { position: fixed; z-index: 300; bottom: 24px; right: 24px; display: grid; gap: 10px; width: min(360px, calc(100% - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 11px; background: var(--sage-deep); color: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-lg); font-size: .84rem; animation: toast-in .25s ease both; }
.toast.is-error { background: var(--danger); }
.toast.is-success { background: var(--success); }
.toast .icon { width: 18px; height: 18px; margin-top: 1px; }
.toast button { margin-left: auto; border: 0; background: none; color: inherit; opacity: .7; padding: 0; }
.toast.out { animation: toast-out .22s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

.modal-backdrop { position: fixed; inset: 0; z-index: 250; background: rgba(35, 46, 38, .5); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; }
.modal { background: var(--paper); border-radius: var(--radius); padding: 28px; width: min(430px, 100%); box-shadow: var(--shadow-lg); }
.modal h3 { font-size: 1.7rem; margin-bottom: 10px; }
.modal p { color: var(--muted); font-size: .87rem; margin-bottom: 22px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------- Responsividade --------------------- */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .art-frame { width: min(78%, 370px); }
  .art-chip-top { left: 0; }
  .art-chip-bottom { right: 0; }
  .hero-scroll-hint { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .menu-toggle { display: grid; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 14px 20px 20px; flex-direction: column; align-items: stretch; gap: 6px; display: none; }
  .main-nav.is-open { display: flex; }
  .nav-link { text-align: left; padding: 10px 4px; }
  .header-cta { margin-top: 8px; }
  .stepper { padding: 16px 18px; }
  .stepper li:not(:last-child)::after { width: 16px; margin: 0 8px; }
  .stepper-label { display: none; }
  .booking-card { grid-template-columns: 1fr; }
  .booking-side { align-items: flex-start; }
  .booking-actions { justify-content: flex-start; }
  .service-edit-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: 2.7rem; }
  .hero-lead { font-size: .96rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .art-frame { width: min(88%, 320px); }
  .art-chip { font-size: .7rem; padding: 8px 12px; }
  .steps-strip { grid-template-columns: 1fr; padding: 20px; gap: 14px; }
  .step-item + .step-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-left: 0; padding-top: 14px; }
  .mode-grid, .field-grid { grid-template-columns: 1fr; }
  .wizard { border-radius: 20px; }
  .wizard-body { padding: 22px 18px; min-height: 420px; }
  .wizard-nav { padding: 16px 18px; }
  .wizard-nav .nav-hint { display: none; }
  .calendar { padding: 14px; }
  .cal-day { font-size: .78rem; border-radius: 8px; }
  .cal-weekdays, .cal-grid { gap: 3px; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .summary-row { flex-direction: column; gap: 2px; }
  .summary-row span:last-child { text-align: left; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .cta-panel .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .service-edit-row { grid-template-columns: 1fr; }
  .toast-region { bottom: 14px; right: 14px; }
}

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