:root {
  --marfim: #f7f2e8;
  --papel: #fffdf8;
  --papel-suave: #fbf7ef;
  --verde: #173f38;
  --verde-profundo: #12342f;
  --verde-medio: #2b675e;
  --salvia: #7c9f95;
  --salvia-clara: #dce8e2;
  --coral: #d89c88;
  --coral-claro: #f4ded5;
  --dourado: #b89a5b;
  --texto: #183b35;
  --texto-suave: #63736e;
  --borda: rgba(34, 82, 73, 0.14);
  --borda-forte: rgba(34, 82, 73, 0.24);
  --erro: #9a493d;
  --erro-fundo: #fff0ec;
  --sucesso: #25705e;
  --sombra: 0 28px 75px rgba(35, 66, 59, 0.12);
  --sombra-suave: 0 12px 32px rgba(35, 66, 59, 0.08);
  --raio: 28px;
  --fonte-texto: "Manrope", Arial, sans-serif;
  --fonte-titulo: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(216, 156, 136, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 20%, rgba(124, 159, 149, 0.17), transparent 34rem),
    var(--marfim);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--verde-profundo);
  color: white;
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(23, 63, 56, 0.1);
  background: rgba(247, 242, 232, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: min(100% - 40px, 1240px);
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 7px 20px rgba(33, 77, 70, 0.08);
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-family: var(--fonte-titulo);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
}

.brand-copy small {
  display: block;
  margin-top: 5px;
  color: var(--texto-suave);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-actions,
.header-help,
.back-link {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 12px;
}

.header-help,
.back-link {
  min-height: 44px;
  gap: 8px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-help {
  color: var(--verde-medio);
}

.back-link {
  border: 1px solid var(--borda);
  background: rgba(255, 255, 255, 0.56);
}

.header-help:hover,
.back-link:hover {
  background: var(--verde);
  color: white;
  transform: translateY(-1px);
}

.header-help svg,
.back-link svg {
  width: 17px;
  height: 17px;
}

main {
  position: relative;
}

.intro-section {
  display: grid;
  width: min(100% - 40px, 1240px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
  margin: 0 auto;
  padding: clamp(58px, 7vw, 92px) 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dourado);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 16px;
  height: 16px;
}

.intro-copy h1 {
  max-width: 730px;
  margin: 16px 0 18px;
  color: var(--verde);
  font-family: var(--fonte-titulo);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.intro-copy h1 em {
  color: var(--coral);
  font-weight: 500;
}

.intro-copy > p {
  max-width: 630px;
  margin: 0;
  color: var(--texto-suave);
  font-size: 16px;
  line-height: 1.75;
}

.intro-assurances {
  display: grid;
  gap: 10px;
  padding-bottom: 5px;
}

.intro-assurances span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #58716a;
  font-size: 11px;
  font-weight: 600;
}

.intro-assurances svg {
  width: 17px;
  height: 17px;
  color: var(--salvia);
}

.booking-card {
  position: relative;
  width: min(100% - 40px, 1240px);
  min-height: 590px;
  margin: 0 auto clamp(76px, 9vw, 120px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 36px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--sombra);
  backdrop-filter: blur(16px);
}

.global-notice {
  position: sticky;
  z-index: 40;
  top: 86px;
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-bottom: 1px solid var(--borda);
  background: var(--salvia-clara);
  color: var(--verde-profundo);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.global-notice.is-error {
  border-color: rgba(154, 73, 61, 0.18);
  background: var(--erro-fundo);
  color: var(--erro);
}

.global-notice.is-success {
  background: #e2f0ea;
  color: var(--sucesso);
}

.initial-loading {
  display: grid;
  gap: 34px;
  min-height: 590px;
  padding: clamp(36px, 6vw, 72px);
  align-content: center;
}

.loading-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.loading-heading strong,
.loading-heading small {
  display: block;
}

.loading-heading strong {
  font-family: var(--fonte-titulo);
  font-size: 28px;
  font-weight: 600;
}

.loading-heading small {
  margin-top: 3px;
  color: var(--texto-suave);
}

.spinner {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 3px solid var(--salvia-clara);
  border-top-color: var(--verde-medio);
  border-radius: 50%;
  animation: girar 750ms linear infinite;
}

.skeleton-line,
.skeleton-grid span {
  border-radius: 14px;
  background: linear-gradient(100deg, #ece7de 20%, #f8f4ec 42%, #ece7de 64%);
  background-size: 220% 100%;
  animation: brilho 1.4s ease infinite;
}

.skeleton-line {
  height: 56px;
}

.skeleton-wide {
  max-width: 680px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.skeleton-grid span {
  height: 146px;
}

.state-screen {
  display: flex;
  min-height: 590px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: clamp(42px, 8vw, 92px) 24px;
  text-align: center;
}

.state-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 24px;
  background: var(--salvia-clara);
  color: var(--verde-medio);
  transform: rotate(-4deg);
}

.state-icon-coral {
  background: var(--coral-claro);
  color: var(--erro);
}

.state-icon svg {
  width: 30px;
  height: 30px;
}

.state-screen h2,
.success-screen h2 {
  max-width: 670px;
  margin: 15px 0 15px;
  color: var(--verde);
  font-family: var(--fonte-titulo);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.state-screen > p,
.success-screen > p {
  max-width: 570px;
  margin: 0 0 28px;
  color: var(--texto-suave);
  line-height: 1.75;
}

.state-screen .text-link,
.success-screen .text-link {
  margin-top: 20px;
}

.steps-nav {
  position: relative;
  padding: 25px clamp(24px, 4vw, 50px) 23px;
  border-bottom: 1px solid var(--borda);
  background: rgba(251, 247, 239, 0.7);
}

.progress-track {
  position: absolute;
  right: clamp(42px, 6vw, 76px);
  bottom: 39px;
  left: clamp(42px, 6vw, 76px);
  height: 2px;
  overflow: hidden;
  background: #dfe5e1;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--verde-medio);
  transition: width 300ms ease;
}

.steps-nav ol {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-nav li {
  display: flex;
  justify-content: center;
}

.steps-nav button {
  display: grid;
  min-width: 86px;
  justify-items: center;
  gap: 7px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.steps-nav button > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 2px solid #dce3df;
  border-radius: 50%;
  background: var(--papel-suave);
  color: #83908c;
  font-size: 11px;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.steps-nav button small {
  color: #788682;
  font-size: 10px;
  font-weight: 700;
}

.steps-nav button.is-active > span {
  border-color: var(--verde-medio);
  background: var(--verde-medio);
  color: white;
  box-shadow: 0 0 0 5px rgba(124, 159, 149, 0.15);
}

.steps-nav button.is-active small {
  color: var(--verde);
}

.steps-nav button.is-complete > span {
  border-color: var(--salvia);
  background: var(--salvia-clara);
  color: var(--verde-profundo);
}

.steps-nav button:disabled {
  cursor: default;
}

.booking-layout {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.booking-stage {
  min-width: 0;
  padding: clamp(34px, 5vw, 60px);
}

.step-panel {
  min-height: 530px;
}

.step-heading {
  margin-bottom: 30px;
}

.step-heading > span {
  color: var(--dourado);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.step-heading h2 {
  margin: 9px 0 8px;
  color: var(--verde);
  font-family: var(--fonte-titulo);
  font-size: clamp(34px, 4.1vw, 49px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.step-heading p {
  max-width: 630px;
  margin: 0;
  color: var(--texto-suave);
  font-size: 13px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.service-option {
  position: relative;
  display: grid;
  min-height: 142px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 20px;
  cursor: pointer;
  border: 1px solid var(--borda);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--texto);
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.service-option:hover {
  border-color: var(--borda-forte);
  box-shadow: var(--sombra-suave);
  transform: translateY(-2px);
}

.service-option.is-selected {
  border-color: var(--verde-medio);
  background: #f1f7f3;
  box-shadow: 0 0 0 3px rgba(43, 103, 94, 0.1);
}

.service-number {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 15px;
  background: var(--coral-claro);
  color: #8c5b4e;
  font-family: var(--fonte-titulo);
  font-size: 20px;
  font-weight: 600;
}

.service-option:nth-child(3n + 2) .service-number {
  background: var(--salvia-clara);
  color: var(--verde-medio);
}

.service-option:nth-child(3n) .service-number {
  background: #f0e7cc;
  color: #7e693c;
}

.service-copy strong,
.service-copy span,
.service-copy small {
  display: block;
}

.service-copy strong {
  margin-bottom: 6px;
  font-family: var(--fonte-titulo);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.05;
}

.service-copy span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--texto-suave);
  font-size: 11px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-copy small {
  margin-top: 10px;
  color: var(--verde-medio);
  font-size: 10px;
  font-weight: 700;
}

.service-check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid #cad6d1;
  border-radius: 50%;
  color: transparent;
}

.service-check svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.6;
}

.service-option.is-selected .service-check {
  border-color: var(--verde-medio);
  background: var(--verde-medio);
  color: white;
}

.quick-dates {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 25px;
}

.date-option {
  min-height: 95px;
  padding: 12px 8px;
  cursor: pointer;
  border: 1px solid var(--borda);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.date-option:hover {
  border-color: var(--salvia);
  transform: translateY(-2px);
}

.date-option span,
.date-option strong,
.date-option small {
  display: block;
}

.date-option span {
  color: var(--texto-suave);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-option strong {
  margin: 4px 0 1px;
  font-family: var(--fonte-titulo);
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
}

.date-option small {
  color: var(--texto-suave);
  font-size: 10px;
}

.date-option.is-selected {
  border-color: var(--verde-medio);
  background: var(--verde-medio);
  color: white;
  box-shadow: 0 12px 24px rgba(43, 103, 94, 0.2);
}

.date-option.is-selected span,
.date-option.is-selected small {
  color: rgba(255, 255, 255, 0.76);
}

.date-field {
  display: grid;
  max-width: 370px;
  gap: 8px;
}

.date-field span,
.field > span:first-child {
  color: var(--verde-profundo);
  font-size: 11px;
  font-weight: 700;
}

.date-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--borda);
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--texto);
}

.field-message {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--texto-suave);
  font-size: 11px;
}

.field-message.is-error {
  color: var(--erro);
  font-weight: 700;
}

.availability-state {
  min-height: 0;
}

.availability-loading,
.inline-state,
.availability-empty,
.availability-error {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  padding: 24px;
  border: 1px dashed var(--borda-forte);
  border-radius: 20px;
  background: rgba(247, 242, 232, 0.48);
  color: var(--texto-suave);
  text-align: center;
}

.availability-loading .spinner {
  width: 27px;
  height: 27px;
}

.availability-empty strong,
.availability-error strong,
.inline-state strong {
  color: var(--verde);
  font-family: var(--fonte-titulo);
  font-size: 22px;
  font-weight: 600;
}

.availability-empty p,
.availability-error p,
.inline-state p {
  max-width: 480px;
  margin: 0;
  font-size: 12px;
}

.inline-action {
  padding: 9px 14px;
  cursor: pointer;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: var(--papel);
  color: var(--verde-medio);
  font-size: 11px;
  font-weight: 800;
}

.time-groups {
  display: grid;
  gap: 25px;
}

.time-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px;
  color: var(--verde);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.time-group h3::after {
  height: 1px;
  flex: 1;
  background: var(--borda);
  content: "";
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.time-option {
  min-height: 47px;
  cursor: pointer;
  border: 1px solid var(--borda);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--verde);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.time-option:hover {
  border-color: var(--salvia);
  transform: translateY(-1px);
}

.time-option.is-selected {
  border-color: var(--verde-medio);
  background: var(--verde-medio);
  color: white;
  box-shadow: 0 10px 22px rgba(43, 103, 94, 0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.campo-armadilha {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field b {
  color: var(--coral);
}

.field em {
  margin-left: 5px;
  color: #87938f;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

.field > small {
  color: #7b8884;
  font-size: 9px;
  line-height: 1.45;
}

.field > small.is-error {
  color: var(--erro);
  font-weight: 700;
}

.input-shell,
.textarea-shell {
  position: relative;
  display: flex;
  min-width: 0;
}

.input-shell > svg,
.textarea-shell > svg {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--salvia);
  pointer-events: none;
}

.input-shell input,
.textarea-shell textarea {
  width: 100%;
  outline: 0;
  border: 1px solid var(--borda);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--texto);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.input-shell input {
  min-height: 52px;
  padding: 0 14px 0 44px;
}

.textarea-shell textarea {
  min-height: 112px;
  padding: 15px 14px 15px 44px;
  line-height: 1.6;
  resize: vertical;
}

.input-shell input::placeholder,
.textarea-shell textarea::placeholder {
  color: #a1aaa7;
}

.input-shell input:focus,
.textarea-shell textarea:focus,
.date-field input:focus {
  border-color: var(--verde-medio);
  background: white;
  box-shadow: 0 0 0 4px rgba(43, 103, 94, 0.1);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--erro);
  box-shadow: 0 0 0 3px rgba(154, 73, 61, 0.09);
}

.character-count {
  justify-self: end;
}

.consent-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 25px;
  padding: 17px;
  cursor: pointer;
  border: 1px solid var(--borda);
  border-radius: 16px;
  background: rgba(247, 242, 232, 0.52);
}

.consent-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.custom-check {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 1px;
  border: 1px solid #bdcbc6;
  border-radius: 7px;
  background: white;
  color: transparent;
}

.custom-check svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.consent-card input:checked + .custom-check {
  border-color: var(--verde-medio);
  background: var(--verde-medio);
  color: white;
}

.consent-card input:focus-visible + .custom-check {
  box-shadow: 0 0 0 4px rgba(43, 103, 94, 0.16);
}

.consent-card > span:last-child strong,
.consent-card > span:last-child small {
  display: block;
}

.consent-card > span:last-child strong {
  color: var(--verde);
  font-size: 11px;
}

.consent-card > span:last-child small {
  margin-top: 5px;
  color: var(--texto-suave);
  font-size: 9px;
  line-height: 1.55;
}

.consent-card.is-invalid {
  border-color: var(--erro);
  background: var(--erro-fundo);
}

.privacy-note,
.request-note,
.success-next {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #edf4f0;
  color: #526b64;
  font-size: 10px;
}

.privacy-note svg,
.request-note svg,
.success-next > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--verde-medio);
}

.privacy-note strong,
.request-note strong,
.success-next strong {
  color: var(--verde);
}

.request-note p,
.success-next p {
  margin: 0;
}

.review-card {
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.58);
}

.review-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--borda);
}

.review-row:last-child {
  border-bottom: 0;
}

.review-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--salvia-clara);
  color: var(--verde-medio);
}

.review-icon svg {
  width: 19px;
  height: 19px;
}

.review-row small,
.review-row strong,
.review-row div > span {
  display: block;
}

.review-row small {
  color: #81908b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-row strong {
  margin-top: 3px;
  color: var(--verde);
  font-size: 13px;
}

.review-row div > span {
  margin-top: 2px;
  color: var(--texto-suave);
  font-size: 10px;
}

.review-row > button {
  min-height: 40px;
  padding: 0 9px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--verde-medio);
  font-size: 10px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--borda);
}

.step-actions-end {
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-primary {
  background: var(--verde);
  box-shadow: 0 12px 26px rgba(23, 63, 56, 0.18);
  color: white;
}

.button-primary:hover:not(:disabled) {
  background: var(--verde-medio);
  box-shadow: 0 15px 32px rgba(23, 63, 56, 0.24);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: var(--borda);
  background: rgba(255, 255, 255, 0.68);
  color: var(--verde);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--salvia);
  background: white;
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.42;
}

.button-submit.is-loading {
  pointer-events: none;
}

.button-submit.is-loading svg {
  animation: girar 700ms linear infinite;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--verde-medio);
  font-size: 11px;
  font-weight: 800;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.booking-summary {
  align-self: stretch;
  padding: 38px 30px;
  border-left: 1px solid var(--borda);
  background:
    radial-gradient(circle at 100% 0, rgba(216, 156, 136, 0.14), transparent 15rem),
    rgba(240, 235, 225, 0.56);
}

.summary-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--borda);
}

.summary-heading span {
  color: var(--dourado);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.summary-heading h2 {
  margin: 5px 0 0;
  font-family: var(--fonte-titulo);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.05;
}

.summary-heading > svg {
  width: 24px;
  height: 24px;
  color: var(--salvia);
}

.booking-summary dl,
.success-details {
  margin: 0;
}

.booking-summary dl > div {
  display: grid;
  gap: 3px;
  padding: 16px 0;
  border-bottom: 1px solid var(--borda);
}

.booking-summary dt,
.success-details dt {
  color: #85928e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-summary dd,
.success-details dd {
  margin: 0;
  color: var(--verde);
  font-size: 12px;
  font-weight: 700;
}

.summary-help {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  padding: 16px;
  border: 1px solid rgba(43, 103, 94, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.58);
}

.summary-help > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--verde-medio);
}

.summary-help strong {
  display: block;
  color: var(--verde);
  font-size: 10px;
}

.summary-help p {
  margin: 3px 0 8px;
  color: var(--texto-suave);
  font-size: 9px;
}

.summary-help a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--verde-medio);
  font-size: 9px;
  font-weight: 800;
}

.summary-help a svg {
  width: 13px;
  height: 13px;
}

.summary-security {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 0;
  color: #84908d;
  font-size: 8px;
}

.summary-security svg {
  width: 14px;
  height: 14px;
}

.success-screen {
  display: flex;
  min-height: 650px;
  align-items: center;
  flex-direction: column;
  padding: clamp(50px, 8vw, 90px) 24px;
  text-align: center;
}

.success-mark {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 26px;
  background: var(--verde-medio);
  box-shadow: 0 18px 34px rgba(43, 103, 94, 0.22);
  color: white;
}

.success-mark svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.4;
}

.success-mark span {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(43, 103, 94, 0.22);
  border-radius: 31px;
  animation: pulsar 2.2s ease infinite;
}

.success-code-card {
  position: relative;
  display: flex;
  width: min(100%, 620px);
  align-items: center;
  gap: 15px;
  padding: 19px 21px;
  border: 1px solid var(--borda);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.7);
  text-align: left;
}

.success-code-card > div {
  min-width: 0;
  flex: 1;
}

.success-code-card small,
.success-code-card strong {
  display: block;
}

.success-code-card small {
  color: #82908b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-code-card strong {
  margin-top: 4px;
  color: var(--verde);
  font-family: var(--fonte-titulo);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.success-code-card button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  cursor: pointer;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: white;
  color: var(--verde-medio);
  font-size: 9px;
  font-weight: 800;
}

.success-code-card button svg {
  width: 14px;
  height: 14px;
}

.status-pill {
  position: absolute;
  top: -11px;
  right: 17px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f0e7cc;
  color: #705c2d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-pill.is-confirmed {
  background: var(--salvia-clara);
  color: var(--sucesso);
}

.status-pill.is-cancelled {
  background: var(--coral-claro);
  color: var(--erro);
}

.success-details {
  display: grid;
  width: min(100%, 620px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: 18px;
  background: rgba(247, 242, 232, 0.54);
  text-align: left;
}

.success-details > div {
  padding: 14px 17px;
  border-right: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

.success-details > div:nth-child(2n) {
  border-right: 0;
}

.success-details > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.success-details dd {
  margin-top: 3px;
}

.success-next {
  width: min(100%, 620px);
  margin-top: 14px;
  text-align: left;
}

.success-next p {
  margin-top: 3px;
  color: var(--texto-suave);
  font-size: 10px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.noscript-message {
  margin: 0;
  padding: 20px;
  background: var(--erro-fundo);
  color: var(--erro);
  text-align: center;
}

.site-footer {
  display: grid;
  width: min(100% - 40px, 1240px);
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 0 auto;
  padding: 0 0 44px;
  color: var(--texto-suave);
  font-size: 9px;
}

.footer-brand .brand-logo {
  width: 48px;
  height: 48px;
}

.footer-brand .brand-copy strong {
  font-size: 17px;
}

.site-footer > p {
  margin: 0;
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(43, 103, 94, 0.35);
  outline-offset: 3px;
}

@keyframes girar {
  to { transform: rotate(360deg); }
}

@keyframes brilho {
  to { background-position: -220% 0; }
}

@keyframes pulsar {
  0%, 100% { opacity: 0.35; transform: scale(0.97); }
  50% { opacity: 0.8; transform: scale(1.04); }
}

@media (max-width: 1020px) {
  .intro-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
    gap: 0 28px;
    border-top: 1px solid var(--borda);
    border-left: 0;
  }

  .summary-heading,
  .booking-summary dl {
    grid-column: 1;
  }

  .summary-help,
  .summary-security {
    grid-column: 2;
  }

  .summary-help {
    grid-row: 1 / span 2;
    margin-top: 0;
    align-self: start;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .intro-section,
  .booking-card,
  .site-footer {
    width: min(100% - 26px, 1240px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .header-help span {
    display: none;
  }

  .header-help {
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .intro-section {
    padding-top: 45px;
  }

  .intro-copy h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .booking-card {
    border-radius: 27px;
  }

  .steps-nav {
    padding-inline: 14px;
  }

  .progress-track {
    right: 36px;
    left: 36px;
  }

  .steps-nav button {
    min-width: 56px;
  }

  .steps-nav button small {
    display: none;
  }

  .steps-nav button.is-active small {
    display: block;
    position: absolute;
    top: 38px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--papel-suave);
  }

  .booking-stage {
    padding: 34px 22px;
  }

  .service-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .quick-dates {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-summary {
    display: block;
    padding: 30px 22px;
  }

  .summary-help {
    margin-top: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .back-link {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .back-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .header-actions {
    gap: 4px;
  }

  .intro-assurances {
    display: grid;
  }

  .initial-loading {
    padding: 30px 22px;
  }

  .skeleton-grid {
    grid-template-columns: 1fr;
  }

  .skeleton-grid span:nth-child(n + 3) {
    display: none;
  }

  .step-heading h2 {
    font-size: 36px;
  }

  .service-option {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 17px 15px;
  }

  .service-number {
    width: 38px;
    height: 38px;
  }

  .quick-dates {
    display: flex;
    margin-right: -22px;
    padding-right: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .date-option {
    min-width: 94px;
    scroll-snap-align: start;
  }

  .time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .step-actions .button-primary {
    grid-row: 1;
  }

  .step-actions .button-secondary {
    grid-row: 2;
  }

  .review-row {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 16px;
  }

  .review-row > button {
    grid-column: 2;
    justify-self: start;
    min-height: 28px;
    padding: 0;
  }

  .success-code-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .success-code-card > div {
    flex-basis: calc(100% - 80px);
  }

  .status-pill {
    position: static;
    order: 3;
  }

  .success-details {
    grid-template-columns: 1fr;
  }

  .success-details > div,
  .success-details > div:nth-child(2n),
  .success-details > div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--borda);
  }

  .success-details > div:last-child {
    border-bottom: 0;
  }

  .success-actions {
    display: grid;
    width: 100%;
  }
}

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

@media print {
  body { background: white; }
  .site-header,
  .intro-section,
  .steps-nav,
  .site-footer,
  .success-actions,
  .success-screen > .text-link { display: none !important; }
  .booking-card { width: 100%; margin: 0; border: 0; box-shadow: none; }
}
