:root {
  --silk-ivory: #FAF6F2;
  --petal-rose: #F3E7E3;
  --blush-tint: #F8F0ED;
  --antique-rose: #C99A9E;
  --badge-rose: #CDA1A3;
  --deep-rose: #8F5B63;
  --deep-rose-hover: #74464D;
  --espresso: #2B2123;
  --mauve-slate: #6E5A5E;
  --hairline: rgba(143, 91, 99, 0.22);
  --hairline-strong: rgba(143, 91, 99, 0.4);
  --paper-white: #FFFFFF;
  --success: #2F684A;
  --success-bg: #EEF6F1;
  --danger: #9B363C;
  --danger-bg: #FDF1F2;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--silk-ivory);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--deep-rose);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--deep-rose-hover);
}

:focus-visible {
  outline: 2px solid var(--deep-rose);
  outline-offset: 3px;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: rgba(250, 246, 242, 0.94);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--espresso);
}

.brand-lockup img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-location {
  font-size: 12.5px;
  color: var(--mauve-slate);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.header-nav a {
  text-decoration: none;
  color: var(--mauve-slate);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--deep-rose);
  border-bottom-color: var(--deep-rose);
}

/* Cover / Index */
.cover-main {
  padding: 56px 0 80px;
}

.cover-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.cover-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-bottom: 24px;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--espresso);
}

.display-subtitle {
  font-size: 16.5px;
  color: var(--mauve-slate);
  max-width: 52ch;
  margin: 0 0 28px;
}

.signature-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
  color: var(--mauve-slate);
}

.invitation-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.invitation-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--paper-white);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--antique-rose);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.invitation-link:hover {
  border-color: var(--deep-rose);
  background: #FFFCFA;
}

.invitation-link--highlight {
  background: var(--petal-rose);
  border-left-color: var(--deep-rose);
}

.invitation-link h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--espresso);
}

.invitation-link p {
  margin: 0 0 16px;
  color: var(--mauve-slate);
  font-size: 14.5px;
}

.invitation-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--deep-rose);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Split editorial + form layout */
.page-main {
  padding: 40px 0 80px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 44px;
  align-items: start;
}

.editorial-aside {
  position: sticky;
  top: 96px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 14px;
}

.page-lead {
  color: var(--mauve-slate);
  font-size: 15.5px;
  margin: 0 0 24px;
}

.notice-panel {
  background: var(--petal-rose);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 20px;
}

.notice-panel h2,
.notice-panel h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--espresso);
}

.notice-list {
  margin: 0;
  padding-left: 18px;
  color: var(--espresso);
  font-size: 14px;
}

.notice-list li + li {
  margin-top: 9px;
}

.availability-bar {
  background: var(--paper-white);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.availability-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.availability-count {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--deep-rose);
}

.availability-track {
  height: 6px;
  background: var(--petal-rose);
  border-radius: 999px;
  overflow: hidden;
}

.availability-fill {
  height: 100%;
  background: var(--deep-rose);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.privacy-note {
  font-size: 13px;
  color: var(--mauve-slate);
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
}

/* Form Sheet */
.form-sheet {
  background: var(--paper-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-section + .form-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
}

.section-step {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--antique-rose);
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  margin: 0;
  color: var(--espresso);
}

.section-desc {
  margin: -10px 0 18px;
  font-size: 13.5px;
  color: var(--mauve-slate);
}

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

.field-span-2 {
  grid-column: span 2;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--espresso);
}

.field-hint {
  font-size: 12.5px;
  color: var(--mauve-slate);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--espresso);
  background: #FFFEFC;
  border: 1px solid rgba(110, 90, 94, 0.34);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--deep-rose);
  box-shadow: 0 0 0 3px rgba(143, 91, 99, 0.14);
}

.is-invalid {
  border-color: var(--danger) !important;
}

.companion-card {
  background: var(--blush-tint);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 12px;
}

.companion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.companion-header strong {
  font-size: 14px;
  color: var(--espresso);
}

.btn-text-danger {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--deep-rose);
  color: #FFFFFF;
}

.btn-primary:hover:not(:disabled) {
  background: var(--deep-rose-hover);
  color: #FFFFFF;
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--deep-rose);
}

.btn-secondary:hover {
  background: var(--petal-rose);
}

.btn-full {
  width: 100%;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--espresso);
  cursor: pointer;
  margin-bottom: 12px;
}

.check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--deep-rose);
  flex-shrink: 0;
}

.checkout-summary {
  background: var(--petal-rose);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.checkout-price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--deep-rose);
  white-space: nowrap;
}

.alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
  display: none;
}

.alert.visible {
  display: block;
}

.alert-error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(155, 54, 60, 0.3);
}

.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(47, 104, 74, 0.3);
}

.confirmation-box {
  background: var(--paper-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.confirmation-box h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 12px;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Staff Painel */
.panel-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.panel-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mauve-slate);
  cursor: pointer;
}

.panel-tab.active {
  color: var(--deep-rose);
  border-bottom-color: var(--deep-rose);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.metric-item {
  background: var(--paper-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.metric-label {
  font-size: 12.5px;
  color: var(--mauve-slate);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--espresso);
}

.table-wrap {
  background: var(--paper-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

th {
  font-weight: 600;
  color: var(--mauve-slate);
  background: var(--blush-tint);
}

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.status-paid {
  background: var(--success-bg);
  color: var(--success);
}

.status-pending {
  background: var(--petal-rose);
  color: var(--deep-rose);
}

.status-cancelled {
  background: var(--danger-bg);
  color: var(--danger);
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0;
  font-size: 13px;
  color: var(--mauve-slate);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 920px) {
  .cover-grid,
  .split-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-aside {
    position: static;
  }

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

@media (max-width: 600px) {
  .form-sheet,
  .confirmation-box {
    padding: 22px 18px;
  }

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

  .field-span-2 {
    grid-column: span 1;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }
}
