:root {
  --rosa-assinatura: #e947a0;
  --blush: #f3c7d8;
  --rose-queimado: #c97a96;
  --nude-bolsa: #d5b18d;
  --off-white: #fbf5f1;
  --grafite: #2f2b2d;
  --vinho-suave: #6b4652;
  --verde-oliva: #7c8062;
  --paper: #fff9f5;

  --white-soft: rgba(255, 249, 245, 0.88);
  --white-strong: rgba(255, 255, 255, 0.72);
  --border-soft: rgba(107, 70, 82, 0.12);

  --shadow: 0 18px 45px rgba(47, 43, 45, 0.1);
  --shadow-soft: 0 10px 28px rgba(47, 43, 45, 0.07);

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top left,
      rgba(233, 71, 160, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(213, 177, 141, 0.2),
      transparent 24%
    ),
    var(--off-white);
  color: var(--grafite);
  font-family: "Lato", Arial, sans-serif;
  line-height: 1.55;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

/* HEADER */

.app-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--white-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.app-header::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -95px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--blush);
  opacity: 0.42;
  pointer-events: none;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border-radius: 50%;
  background: var(--rosa-assinatura);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(233, 71, 160, 0.22);
  overflow: hidden;
}

.brand-logo img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand-logo span {
  display: none;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.04em;
}

.brand-logo.logo-fallback span {
  display: block;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--rosa-assinatura);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
  margin: 0;
  color: var(--vinho-suave);
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.025em;
}

.header-subtitle {
  margin: 12px 0 0;
  max-width: 560px;
  color: rgba(47, 43, 45, 0.76);
  font-size: 16px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 6px 0;
  position: relative;
  z-index: 1;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 6px 12px;
  color: var(--vinho-suave);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: var(--grafite);
}

.main-nav a.active {
  color: var(--grafite);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 999px;
  background: var(--rosa-assinatura);
}

.nav-link {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(107, 70, 82, 0.12);
  background: rgba(255, 255, 255, 0.55);
  color: var(--vinho-suave);
  font-size: 13px;
  font-weight: 900;
  transition: 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--rosa-assinatura);
  color: white;
  border-color: transparent;
}

/* SECTIONS */

.summary-section,
.showcase-section {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-note {
  max-width: 450px;
  margin: 0;
  color: rgba(47, 43, 45, 0.68);
  font-size: 15px;
}

/* SUMMARY */

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.summary-card {
  background: var(--white-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.summary-card::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--blush);
  opacity: 0.48;
}

.summary-card:nth-child(2)::before {
  background: var(--nude-bolsa);
}

.summary-card:nth-child(3)::before {
  background: var(--verde-oliva);
  opacity: 0.32;
}

.summary-label {
  display: block;
  color: rgba(47, 43, 45, 0.66);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}

.summary-card strong {
  display: block;
  margin-top: 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 0.9;
  color: var(--vinho-suave);
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

.summary-card small {
  display: block;
  margin-top: 12px;
  color: rgba(47, 43, 45, 0.64);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* QUICK ACTIONS */

.quick-actions {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 22px 0;
  pointer-events: none;
}

.quick-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px rgba(47, 43, 45, 0.14);
  font-weight: 900;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  pointer-events: auto;
}

.quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(47, 43, 45, 0.18);
}

.quick-btn.primary {
  background: var(--rosa-assinatura);
  color: white;
}

.quick-btn.secondary {
  background: var(--grafite);
  color: var(--off-white);
}

.quick-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

/* VITRINE */

.showcase-section {
  background: rgba(255, 249, 245, 0.52);
  border: 1px solid rgba(107, 70, 82, 0.1);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 10px 32px rgba(47, 43, 45, 0.05);
}

.showcase-heading {
  align-items: center;
}

.view-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(107, 70, 82, 0.12);
}

.view-btn {
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--vinho-suave);
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 900;
}

.view-btn.active {
  background: var(--vinho-suave);
  color: white;
}

.filter-bar {
  display: grid;
  gap: 14px;
  margin: 18px 0 20px;
}

.filter-row {
  display: grid;
  grid-template-columns: 220px 220px minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.search-field,
.select-field {
  display: grid;
  gap: 6px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.search-row input {
  width: 100%;
}

.search-row button {
  min-width: 50px;
}

.search-field span,
.select-field span {
  color: rgba(47, 43, 45, 0.66);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(107, 70, 82, 0.14);
  background: rgba(255, 255, 255, 0.76);
  border-radius: 14px;
  padding: 10px 14px;
  color: var(--grafite);
  outline: none;
}

.search-field input:focus,
.select-field select:focus {
  border-color: rgba(233, 71, 160, 0.55);
  box-shadow: 0 0 0 4px rgba(233, 71, 160, 0.12);
}

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

.loading-state {
  margin: 0 0 14px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(107, 70, 82, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(47, 43, 45, 0.7);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loading-state[hidden] {
  display: none;
}

.product-grid.list-view {
  grid-template-columns: 1fr;
}

.product-card {
  background: rgba(255, 249, 245, 0.92);
  border: 1px solid rgba(107, 70, 82, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(47, 43, 45, 0.07);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(47, 43, 45, 0.1);
}

.product-image {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(
      135deg,
      rgba(213, 177, 141, 0.72),
      rgba(243, 199, 216, 0.68)
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.3) 0 2px,
      transparent 2px 10px
    );
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-status {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(47, 43, 45, 0.82);
  color: white;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-body {
  padding: 15px;
}

.product-sku {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--rosa-assinatura);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.product-name {
  margin: 0;
  color: var(--vinho-suave);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.05;
}

.product-meta {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(47, 43, 45, 0.72);
  font-size: 13px;
}

.meta-row strong {
  color: var(--grafite);
}

.product-price {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-price strong {
  color: var(--rosa-assinatura);
  font-size: 20px;
  font-weight: 900;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 900;
  background: rgba(124, 128, 98, 0.14);
  color: var(--verde-oliva);
}

.location-badge.casa {
  background: rgba(201, 122, 150, 0.16);
  color: var(--rose-queimado);
}

/* LIST VIEW */

.product-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  min-height: 132px;
}

.product-grid.list-view .product-image {
  aspect-ratio: auto;
  height: 100%;
}

.product-grid.list-view .product-body {
  display: grid;
  align-content: center;
}

.product-grid.list-view .product-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid.list-view .product-price {
  justify-content: flex-start;
}

/* EMPTY */

.empty-state {
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(107, 70, 82, 0.22);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  color: rgba(47, 43, 45, 0.72);
}

.empty-state strong {
  display: block;
  color: var(--vinho-suave);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
}

.empty-state p {
  margin: 8px 0 0;
}

/* FOOTER */

.app-footer {
  margin-top: 34px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--grafite);
  color: var(--off-white);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.app-footer strong {
  color: white;
  display: block;
}

.app-footer span {
  color: rgba(255, 249, 245, 0.68);
}

.footer-note {
  font-weight: 700;
}

/* RESPONSIVO */

@media (max-width: 980px) {
  .app-header {
    grid-template-columns: 1fr;
  }

  .top-nav {
    justify-content: flex-start;
  }

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

  .filter-row {
    grid-template-columns: 1fr 1fr 1fr auto;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 14px;
  }

  .app-header {
    padding: 18px;
  }

  .brand-area {
    align-items: flex-start;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .brand-logo img {
    width: 64px;
    height: 64px;
  }

  h1 {
    font-size: 34px;
  }

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

  .section-heading,
  .showcase-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .quick-actions {
    justify-content: stretch;
    bottom: 12px;
    top: auto;
    position: sticky;
  }

  .quick-btn {
    flex: 1;
    padding-inline: 12px;
  }

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

  .product-grid.list-view .product-card {
    grid-template-columns: 104px 1fr;
  }

  .product-grid.list-view .product-meta {
    grid-template-columns: 1fr;
  }

  .showcase-section {
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 14px;
  }

  .app-header {
    padding: 18px;
  }

  .brand-area {
    align-items: flex-start;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .brand-logo img {
    width: 64px;
    height: 64px;
  }

  h1 {
    font-size: 34px;
  }

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

  .section-heading,
  .showcase-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    justify-content: stretch;
    bottom: 12px;
    top: auto;
    position: sticky;
  }

  .quick-btn {
    flex: 1;
    padding-inline: 12px;
  }

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

  .product-grid.list-view .product-card {
    grid-template-columns: 104px 1fr;
  }

  .product-grid.list-view .product-meta {
    grid-template-columns: 1fr;
  }

  .showcase-section {
    padding: 18px;
  }
}

@media (max-width: 460px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-grid.list-view .product-card {
    grid-template-columns: 94px 1fr;
  }

  .product-name {
    font-size: 20px;
  }

  .top-nav {
    display: none;
  }
}

/* AUTH */

.auth-page {
  min-height: 100vh;
  width: min(100% - 32px, 520px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.auth-card {
  width: 100%;
  background: rgba(255, 249, 245, 0.9);
  border: 1px solid rgba(107, 70, 82, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.auth-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--blush);
  opacity: 0.46;
  pointer-events: none;
}

.auth-logo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--rosa-assinatura);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(233, 71, 160, 0.22);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.auth-logo img {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  object-fit: cover;
}

/* Formulário de peça */
.form-card {
  background: var(--white-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px;
  margin-top: 24px;
  position: relative;
  transition: opacity 0.2s ease;
}

.form-card.loading {
  opacity: 0.55;
  pointer-events: none;
}

.form-loading-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: inherit;
  z-index: 5;
}

.form-loading-overlay.visible {
  display: grid;
}

.form-loading-content {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--vinho-suave);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(118, 61, 92, 0.2);
  border-top-color: var(--vinho-suave);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.form-header .form-note {
  margin-top: 8px;
  color: rgba(47, 43, 45, 0.68);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

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

.form-meta {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  align-items: center;
  color: rgba(47, 43, 45, 0.75);
  font-weight: 700;
}

.form-message {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  display: none;
}

.form-message--info,
.form-message--success {
  display: block;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-soft);
  color: var(--vinho-suave);
}

.form-message--error {
  display: block;
  background: rgba(233, 71, 160, 0.08);
  border: 1px solid rgba(233, 71, 160, 0.18);
  color: var(--vinho-suave);
}

.form-actions {
  margin-top: 18px;
}

.reservation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
  gap: 18px;
  margin-top: 18px;
}

.reservation-panel,
.sacola-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.sacola-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.sacola-card h2 {
  font-size: clamp(24px, 2vw, 32px);
}

.bag-items {
  display: grid;
  gap: 10px;
  min-height: 120px;
  padding: 8px 0;
}

.bag-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(107, 70, 82, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--grafite);
}

.bag-item__meta {
  display: grid;
  gap: 2px;
  font-size: 13px;
}

.bag-item__meta strong {
  color: var(--vinho-suave);
}

.input-button-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.form-field-group {
  display: block;
}

.cliente-novo-aviso {
  display: none;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(233, 71, 160, 0.18);
  background: rgba(233, 71, 160, 0.08);
  color: var(--vinho-suave);
  font-size: 13px;
  font-weight: 800;
}

.piece-search-panel {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
}

.piece-search-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.piece-search-header h2 {
  font-size: clamp(22px, 2vw, 28px);
}

.piece-search-header span {
  color: rgba(47, 43, 45, 0.68);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.piece-search-row {
  margin-bottom: 12px;
}

.search-status {
  min-height: 20px;
  margin-bottom: 12px;
  color: rgba(47, 43, 45, 0.7);
  font-size: 13px;
}

.reservation-search-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reservation-search-grid .product-card {
  background: rgba(255, 255, 255, 0.76);
}

.reservation-search-grid .product-body {
  padding: 12px;
}

.btn-secondary {
  min-height: 46px;
  border: 1px solid rgba(107, 70, 82, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.65);
  color: var(--vinho-suave);
  font-weight: 900;
  padding: 12px 18px;
}

@media (max-width: 720px) {
  .reservation-layout {
    grid-template-columns: 1fr;
  }

  .input-button-group {
    grid-template-columns: 1fr;
  }

  .reservation-search-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.auth-logo span {
  display: none;
  font-family: "Playfair Display", Georgia, serif;
  color: white;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.auth-logo.logo-fallback span {
  display: block;
}

.auth-heading {
  position: relative;

  /* input com prefixo R$ */
  .input-with-prefix {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .input-with-prefix .input-prefix {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(107, 70, 82, 0.14);
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--vinho-suave);
    font-weight: 900;
  }

  .input-with-prefix input {
    flex: 1 1 auto;
    min-height: 48px;
    padding-left: 12px;
  }
  z-index: 1;
}

.auth-heading h1 {
  font-size: clamp(38px, 7vw, 58px);
}

.auth-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: rgba(47, 43, 45, 0.72);
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field span {
  color: rgba(47, 43, 45, 0.66);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(107, 70, 82, 0.14);
  background: rgba(255, 255, 255, 0.76);
  border-radius: 14px;
  padding: 11px 14px;
  color: var(--grafite);
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(233, 71, 160, 0.55);
  box-shadow: 0 0 0 4px rgba(233, 71, 160, 0.12);
}

.btn-main {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--rosa-assinatura);
  color: white;
  font-weight: 900;
  padding: 13px 18px;
  box-shadow: 0 12px 28px rgba(233, 71, 160, 0.2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(233, 71, 160, 0.26);
}

.btn-main.full {
  width: 100%;
}

.alert-error {
  margin-top: 22px;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(233, 71, 160, 0.1);
  border: 1px solid rgba(233, 71, 160, 0.22);
  color: var(--vinho-suave);
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.auth-note {
  margin: 18px 0 0;
  color: rgba(47, 43, 45, 0.6);
  font-size: 13px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* HEADER USER */

.header-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
  position: relative;
  z-index: 1;
}

.user-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(107, 70, 82, 0.12);
  border-radius: var(--radius-pill);
  padding: 7px 7px 7px 13px;
}

.user-menu span {
  color: var(--vinho-suave);
  font-weight: 900;
  font-size: 13px;
}

.user-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: var(--grafite);
  color: var(--off-white);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .header-actions {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .auth-card {
    padding: 26px 20px;
  }

  .auth-logo {
    width: 92px;
    height: 92px;
  }

  .auth-logo img {
    width: 82px;
    height: 82px;
  }

  .user-menu {
    width: 100%;
    justify-content: space-between;
  }
}
