/* CSS final servido: /style.css (único arquivo referenciado em *.html)
   Cache busting: ativo (?v=20241222)
   .htaccess: regra aplicada (no-cache para style.css)
   DEPLOY_MARKER: 2024-12-22T22:15:00Z */
:root {
  --brand-green: #1D413A;
  --brand-dark: #16332E;
  --brand-cream: #F5F0E9;
  --brand-sand: #E6DED4;
  --brand-muted: #8A7766;
  --shadow-soft: 0 12px 24px rgba(29, 65, 58, 0.12);
}

* {
  box-sizing: border-box;
}

img, video {
  max-width: 100%;
  height: auto;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--brand-cream);
  color: var(--brand-green);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

/* Novo header inspirado em layout corporativo limpo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.site-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-logo img { height: 60px; width: auto; display: block; }
.site-nav {
  display: flex;
  gap: 22px;
  font-weight: 600;
  color: var(--brand-green);
}
.site-nav a {
  text-decoration: none;
  color: var(--brand-green);
}
.site-nav a:hover,
.site-nav a:focus {
  color: #0f261f;
}
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header-guest {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header-user {
  display: none;
  position: relative;
}
.site-header-user:not([hidden]) {
  display: flex;
}
.client-portal-page.client-authenticated .site-header-guest,
.anunciante-page.client-authenticated .site-header-guest {
  display: none;
}
.client-portal-page.client-authenticated .site-header-user,
.anunciante-page.client-authenticated .site-header-user {
  display: flex;
}
.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand-green);
  background: #fff;
  color: var(--brand-green);
  font-weight: 700;
  cursor: pointer;
}
.user-menu-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
}
.user-menu-trigger:hover {
  background: var(--brand-green);
  color: #fff;
}
.user-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 250;
}
.site-header-user:hover .user-menu-dropdown,
.site-header-user:focus-within .user-menu-dropdown,
.site-header-user.open .user-menu-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.user-menu-section {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.user-menu-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}
.user-menu-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.user-menu-pill {
  border: 1px solid var(--brand-green);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-green);
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
}
.user-menu-pill.active,
.user-menu-pill:hover {
  background: var(--brand-green);
  color: #fff;
}
.user-menu-item {
  width: 100%;
  border: none;
  background: none;
  padding: 10px 4px;
  text-align: left;
  font-size: 0.95rem;
  color: var(--brand-green);
  font-weight: 600;
  cursor: pointer;
}
.user-menu-item + .user-menu-item {
  border-top: 1px solid #f0f0f0;
}
.user-menu-item:hover {
  color: #0f261f;
}
.user-menu-danger {
  color: #c0392b;
}
.user-menu-danger:hover {
  color: #96281b;
}
.course-modal-body {
  padding: 24px;
  width: 100%;
}
.course-details-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.course-details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.course-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 20px;
  margin-top: 12px;
}
.course-cover {
  margin-bottom: 12px;
}
.course-cover img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  max-height: 260px;
  display: block;
}
.course-description {
  font-size: 0.95rem;
  color: #4b5563;
}
.course-summary {
  background: #f8faf9;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
}
.course-summary h4 {
  margin: 0 0 8px;
}
.course-summary ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.92rem;
}
.course-summary ul li {
  margin-bottom: 4px;
}
.course-summary .course-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  display: block;
  margin-bottom: 4px;
}
.course-voucher-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.course-voucher-row input {
  flex: 1;
}
.course-ticket {
  border-top: 1px solid #e5e7eb;
  margin-top: 16px;
  padding-top: 12px;
}
.course-ticket-qr {
  margin: 12px 0;
  display: flex;
  justify-content: center;
}
.course-ticket-qr img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}
@media (max-width: 900px) {
  .course-details-grid {
    grid-template-columns: 1fr;
  }
}
.site-link {
  color: var(--brand-green);
  font-weight: 600;
  text-decoration: none;
}
.btn.btn-outline {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand-green);
  color: var(--brand-green);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn.btn-outline:hover {
  background: var(--brand-green);
  color: #fff;
}

header.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 65, 58, 0.08);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 40px; width: auto; border-radius: 6px; display: block; }

.prelaunch-badge {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--brand-green);
  background: var(--brand-sand);
  vertical-align: middle;
}

nav a {
  margin-left: 24px;
  font-weight: 500;
  color: var(--brand-green);
  padding-bottom: 6px;
  position: relative;
}

nav a:first-child {
  margin-left: 0;
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-green);
}

main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 32px 56px;
}

.landing-hero {
  background: linear-gradient(135deg, rgba(29, 65, 58, 0.92), rgba(29, 65, 58, 0.72));
  border-radius: 24px;
  padding: 32px 24px;
  color: #F5F0E9;
  margin-bottom: 40px;
  box-shadow: 0 24px 48px rgba(29, 65, 58, 0.25);
}

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-template-areas: 'copy claims'; gap: 20px; align-items: center; }
.landing-hero-content { display: none; }
.hero-copy { grid-area: copy; display: grid; gap: 16px; align-content: center; justify-items: start; max-width: 420px; margin: 0 auto; }
.landing-hero-media { display: grid; place-items: center; }
/* hero-video removido */

/* Claims compactos no herói (lado direito) */
.hero-claims { grid-area: claims; display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; align-content: start; align-items: stretch; justify-items: stretch; width: 100%; max-width: 420px; margin: 0 auto; }
.landing-hero .hero-claims .card { padding: 10px 12px; min-height: 96px; height: 100%; }
.landing-hero .hero-claims .card h4 { margin: 0 0 4px; font-size: .95rem; color: #000; }
.landing-hero .hero-claims .card p { margin: 0; font-size: .88rem; line-height: 1.28; }

.landing-hero-content h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.landing-hero-content p {
  margin: 0;
  font-size: 1.1rem;
  color: rgba(245, 240, 233, 0.88);
}

/* Reserva – escolha de fluxo (datas vs salas) */
.booking-mode-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.booking-mode-label {
  font-size: .9rem;
  color: var(--brand-green);
}
.booking-mode-buttons {
  display: inline-flex;
  gap: 8px;
}
.mode-btn {
  border-radius: 999px;
  border: 1px solid rgba(245,240,233,.6);
  background: rgba(221, 231, 227, 0.85); /* light green for non selecionado */
  color: var(--brand-green);
  padding: 6px 14px;
  font-size: .85rem;
  cursor: default;
}
.mode-btn.active {
  background: #fff;
  color: var(--brand-green);
  border-color: var(--brand-green);
}
.mode-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.landing-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-video { height: 200px; }
}

.reservation-steps {
  background: #fff;
  border-radius: 26px;
  padding: 48px 40px;
  margin-bottom: 56px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(29, 65, 58, 0.08);
}

.reservation-steps .section-subtitle {
  margin-top: -8px;
  margin-bottom: 28px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.step-card {
  background: #F5F0E9;
  border-radius: 18px;
  padding: 20px 18px 22px;
  border: 1px solid rgba(29, 65, 58, 0.08);
  box-shadow: 0 12px 24px rgba(29, 65, 58, 0.08);
  display: grid;
  gap: 12px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(29, 65, 58, 0.12);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-card h4 {
  margin: 0;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brand-muted);
}

.landing-section {
  margin-bottom: 40px;
}

/* Home v2 */
.home-v2 main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 10px 32px;
}
.hero-spotlight {
  margin: 20px 0 28px;
}
.hero-spotlight-inner {
  background: linear-gradient(135deg, rgba(29, 65, 58, 0.82), rgba(22, 51, 46, 0.72)),
    url('img/cover.jpg') center/cover no-repeat;
  border-radius: 24px;
  padding: 64px 24px 72px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.18);
}
.hero-spotlight-content h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
}
.hero-spotlight-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}
.hero-search-bar {
  margin: 28px auto 0;
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(180px, 2fr) minmax(140px, 1fr) auto;
  gap: 16px;
  align-items: end;
  max-width: 980px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}
.hero-search-field {
  display: grid;
  gap: 6px;
  text-align: left;
}
.hero-search-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}
.hero-search-field input {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.95rem;
}
.hero-search-field input[readonly] {
  cursor: pointer;
}
.hero-search-bar .hero-submit {
  margin: 0;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
}
.home-results {
  margin: 24px 0 36px;
}
.home-results .section-heading {
  margin-bottom: 8px;
}
.home-rooms-grid,
.home-workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  overflow: visible;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
/* O #rooms-strip da home recebe TAMBÉM a classe .rooms-strip (flex + overflow-x:auto,
   definida mais abaixo), que sobrescrevia este grid e fazia o último card VAZAR pela
   borda direita. Aqui forçamos o grid (quebra linha, tudo dentro do container) só na
   home. O carrossel de salas.html usa .rooms-strip dentro de .rooms-carousel (com setas)
   e NÃO tem .home-rooms-grid, então segue como carrossel horizontal. */
.rooms-strip.home-rooms-grid,
.rooms-strip.home-workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  overflow-x: visible;
  scroll-snap-type: none;
  padding-left: 0;
  padding-right: 0;
}
.rooms-strip.home-rooms-grid .carousel-room-card,
.rooms-strip.home-workshops-grid .carousel-room-card {
  min-width: 0;
  max-width: none;
}
.home-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.content-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(29,65,58,0.12);
  box-shadow: 0 18px 30px rgba(17,24,39,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.content-card .content-media {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #f1ece4;
}
.content-card .content-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-card .content-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.content-card .content-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b5d50;
}
.content-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #1d413a;
}
.content-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-card .content-actions {
  margin-top: auto;
}
.promo-card {
  border-radius: 18px;
  border: 1px dashed rgba(29,65,58,0.4);
  background: linear-gradient(135deg, #fdfbf7, #f4ede3);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.home-rooms-grid > * {
  height: 100%;
}
.home-workshops-grid > *,
.home-content-grid > * {
  height: 100%;
}
.promo-room-card {
  border: 1px solid rgba(29, 65, 58, 0.08);
  background: #fff;
  padding: 0;
  gap: 0;
  box-shadow: var(--shadow-soft);
}
.promo-room-card .room-card-media {
  margin: 16px 16px 0;
}
.promo-room-card .room-photo {
  background: linear-gradient(135deg, rgba(29,65,58,0.7), rgba(138,119,102,0.7));
}
.promo-room-card .room-info {
  padding: 20px 22px 26px;
}
.promo-card h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #1d413a;
}
.promo-card p {
  margin: 0;
  color: #6b5d50;
  font-size: 0.95rem;
}
.promo-card .btn {
  align-self: flex-start;
}
.home-rooms-grid .room-card,
.home-workshops-grid .card {
  height: 100%;
}
.home-rooms-grid .room-card {
  display: flex;
  flex-direction: column;
}
.home-rooms-grid .room-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.home-rooms-grid .room-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.home-rooms-grid .card-share {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  min-height: 40px;
}
.home-rooms-grid .room-card-media {
  margin: 16px 16px 0;
}
.home-rooms-grid .room-photo {
  height: 200px;
}
.home-rooms-grid .room-description {
  min-height: 4.2em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-rooms-grid .room-header h4 {
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-rooms-grid .room-meta {
  min-height: 1.4em;
}
.home-rooms-grid .room-price {
  min-height: 1.6em;
}
.home-rooms-grid .room-actions .btn {
  width: 100%;
  justify-content: center;
}
.home-rooms-grid .card-share .btn {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
}
.hero-location-dialog.modal-small {
  max-width: 520px;
}
.hero-location-modal {
  width: 100%;
}
.hero-location-modal h2 {
  margin: 0 0 18px;
  font-size: 1.4rem;
  text-align: center;
}
.hero-location-fields {
  display: grid;
  gap: 12px;
}
.hero-location-fields label {
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-top: 2px;
}
.hero-location-fields select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 1rem;
  background: #fff;
}
.hero-location-fields select:disabled {
  background: #f8fafc;
  color: #9ca3af;
}
.hero-location-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .hero-search-bar {
    grid-template-columns: 1fr;
  }
  .hero-search-bar .hero-submit {
    width: 100%;
  }
}

/* Chips de destaque no estilo "pills" */
.cards-grid.pills .card {
  background: var(--brand-sand);
  border-color: rgba(29,65,58,.08);
}
.cards-grid.pills .card h4 { margin-bottom: 6px; }

/* Novo hero dividido em card de busca + bloco visual */
.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
  margin: 0 0 20px;
}
.hero-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 3px 8px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.08);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.hero-tabs {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-tab {
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #111827;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.hero-tab.active {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}
.hero-copy h1 {
  margin: 2px 0;
  font-size: 1.2rem;
  line-height: 1.18;
  color: #0f172a;
}
.hero-copy p {
  margin: 0 0 2px;
  color: #4b5563;
  font-size: 0.9rem;
}
.hero-form {
  display: grid;
  gap: 2px;
}
.hero-form .form-row {
  display: grid;
  gap: 4px;
}

.hero-form .form-row-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hero-form .form-row-inline .field {
  display: grid;
  gap: 3px;
}

@media (max-width: 720px) {
  .hero-form .form-row-inline {
    grid-template-columns: 1fr;
  }
}
.hero-form label {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.95rem;
}
.hero-form input, .hero-form select {
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.time-select-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.time-select-group select {
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
}
.time-select-sep {
  font-weight: 700;
}

.multi-dates-wrap {
  margin-top: 8px;
}
.multi-dates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 6px;
}
.multi-date-chip {
  border-radius: 999px;
  border: 1px solid var(--brand-green);
  background: var(--brand-sand);
  padding: 2px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}
.multi-date-chip:hover {
  background: #dbcdbf;
}
.per-day-times {
  margin-top: 10px;
}
.per-day-table {
  width: 100%;
  border-collapse: collapse;
}
.per-day-table th,
.per-day-table td {
  padding: 6px 4px;
  font-size: 0.85rem;
  text-align: left;
}
.hero-submit {
  margin-top: 2px;
  padding: 3px 12px;
  border-radius: 12px;
  background: var(--brand-green);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
}
.hero-submit:hover { background: var(--brand-dark); }
.hero-hint {
  margin: 2px 0 0;
  color: #475569;
  font-size: 0.9rem;
}
.hero-visual {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.hero-visual-block {
  width: 100%;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-dark));
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.hero-visual-block-secondary {
  min-height: 0;
}
.hero-news-title {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}
.hero-news-subtitle {
  margin: 0 0 6px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.8);
}
.hero-news-card {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0;
  background: rgba(15,23,42,0.08);
  display: flex;
  flex-direction: column;
  height: 320px;
  max-height: 320px;
  overflow: hidden;
}
.hero-news-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-news-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-news-image-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 190px;
}

.hero-news-overlay {
  margin-top: 8px;
  padding: 0 2px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-news-title-bar {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 12px;
  background: rgba(255,255,255,0.78);
  padding: 6px 10px;
  border-radius: 10px;
  text-align: center;
}

.hero-news-title-bar h4 {
  margin: 0;
  font-size: 0.9rem;
  color: #111827;
}

.hero-news-title-bar h4 a {
  color: inherit;
  text-decoration: none;
}

.hero-news-title-bar h4 a:hover {
  text-decoration: underline;
}

.hero-news-meta {
  margin: 0 0 2px;
  font-size: 0.78rem;
  color: rgba(226,232,240,0.85);
}

.hero-news-card p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(241,245,249,0.9);
  line-height: 1.4;
  /* limita o texto para evitar crescer demais o card */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-news-dots {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: auto;
}

.hero-news-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
}

.hero-news-dot.active {
  background: #fff;
}

.hero-visual-block-secondary {
  display: none;
}
.hidden { display: none !important; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .site-header-inner { gap: 16px; }
  .site-nav { display: none; }
}

/* Conteúdos / Novidades */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.news-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  height: 100%;
}
.news-card-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}
.news-card-cover.is-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a7766;
  font-size: 0.85rem;
  text-align: center;
  padding: 12px;
}
.news-card-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.news-tag {
  display: block;
  margin-top: 4px;
  color: #8a7766;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: none;
  padding: 0;
}
.news-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.4;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.news-card-share .btn {
  white-space: nowrap;
}
.card-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: flex-end;
}
.post-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-menu {
  position: relative;
}
.share-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 6px;
  min-width: 170px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 20;
}
.share-menu-panel button {
  border: 0;
  background: transparent;
  padding: 8px 10px;
  text-align: left;
  border-radius: 8px;
  color: #0f172a;
  font-size: 0.9rem;
  cursor: pointer;
}
.share-menu-panel button:hover {
  background: #f3f4f6;
}
.btn.btn-link {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: none;
}
.btn.btn-link:hover { text-decoration: underline; }
.cards-grid.pills .card p { color: var(--brand-green); opacity: .9; }

/* Página de conteúdo detalhado */
.post-body {
  max-width: 900px;
  margin: 0 auto 48px;
  font-size: 1rem;
  line-height: 1.7;
}
.post-cover {
  margin-bottom: 24px;
}
.post-cover.is-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 18px;
  background: #f3f4f6;
  color: #8a7766;
  font-size: 0.95rem;
  text-align: center;
  padding: 12px;
}
.post-cover img {
  width: 100%;
  max-height: 360px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0,0,0,0.16);
}
.post-content p {
  margin: 0 0 1em;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.section-heading h3 {
  margin: 0;
}

.section-heading p {
  margin: 0;
  color: var(--brand-muted);
}

/* Rodapé unificado em fundo branco */
.site-footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  margin-top: 20px;
}
.site-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 32px 8px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-column h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--brand-green);
}
.footer-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
}
.footer-links-grid h4 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}
.footer-links-grid a {
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links-grid a:hover {
  text-decoration: underline;
}
.footer-contact p {
  margin: 0 0 6px;
  font-size: 0.9rem;
}
.site-footer-bottom {
  border-top: 1px solid #f3f4f6;
  margin-top: 6px;
  padding: 6px 32px 10px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--brand-muted);
}
.footer-powered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--brand-muted);
  font-size: 0.9rem;
}
.footer-powered-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
}
.footer-powered-logos img {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: saturate(0.9);
}
.payment-card-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.payment-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 4px;
}
.payment-card-grid .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.payment-card-grid .field.wide {
  grid-column: span 2;
}
.payment-card-grid label {
  font-weight: 600;
  color: var(--brand-green);
}
.payment-card-grid input {
  width: 100%;
}
.expiry-inputs {
  display: flex;
  gap: 8px;
}
.expiry-inputs input {
  max-width: 72px;
  text-align: center;
}
.card-preview {
  width: 100%;
  background: linear-gradient(135deg, #0b4a3d, #12735e);
  color: #f1f5f9;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'SF Pro Display', 'Inter', system-ui, -apple-system, sans-serif;
}
.card-preview .card-chip {
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f6d365, #fda085);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.card-preview .card-number {
  letter-spacing: 1.4px;
  font-size: 1.05rem;
  font-weight: 600;
}
.card-preview .card-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
}
.card-preview .card-holder,
.card-preview .card-exp {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-preview span {
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(241,245,249,0.75);
}
.card-preview strong {
  font-size: 0.98rem;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .site-footer-inner {
    flex-direction: column;
    padding: 20px 16px 12px;
  }
  .site-footer-bottom {
    padding: 8px 16px 16px;
  }
}

/* Linha de passos compacta */
.steps-inline {
  margin: 24px 0 12px;
}
.steps-inline-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.steps-inline .step-pill {
  background: #fff;
  border: 1px solid rgba(29,65,58,.12);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--brand-green);
}
.steps-inline .step-pill span {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-cream);
  font-size: 12px; margin-right: 8px;
}
.steps-inline .step-sep {
  color: var(--brand-muted);
}

/* Filtros de salas na home */
.rooms-filters {
  background: #fff;
  border: 1px solid rgba(29,65,58,.08);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 12px 0 6px;
  box-shadow: var(--shadow-soft);
}
.rooms-filters .filters-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.rooms-filters input[type="text"],
.rooms-filters select {
  flex: 1 1 220px;
}
.advanced-filters-dialog.modal-small {
  max-width: 560px;
}
.advanced-filters-modal h2 {
  margin: 0 0 14px;
  text-align: center;
}
.advanced-filters-section {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.advanced-filters-section h4 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brand-dark);
}
.advanced-filters-section .checkbox-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.advanced-filters-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.landing-portal {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 1.2fr;
  gap: 32px;
  background: #fff;
  border-radius: 26px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(29, 65, 58, 0.08);
}

.portal-text {
  display: grid;
  gap: 16px;
}

.portal-text h3 {
  margin: 0;
  font-size: 1.8rem;
}

.portal-text p {
  margin: 0;
  color: var(--brand-muted);
}

.portal-highlights {
  display: grid;
  gap: 14px;
}

.portal-card {
  background: #F5F0E9;
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(29, 65, 58, 0.08);
  box-shadow: 0 12px 24px rgba(29, 65, 58, 0.08);
}

.portal-card strong {
  display: block;
  margin-bottom: 6px;
}

.landing-cta {
  text-align: center;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(29, 65, 58, 0.08);
  display: grid;
  gap: 20px;
}

.landing-cta p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Seção Ambiente Premium */
.premium-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}
.premium-copy h3 { margin-top: 0; }
.premium-copy .checklist {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 24px;
}
.premium-copy .checklist li {
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
}
.premium-copy .checklist li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0; color: var(--brand-green);
}
.premium-media img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
}

@media (max-width: 900px) {
  .premium-grid { grid-template-columns: 1fr; }
  .premium-copy .checklist { columns: 1; }
}

.hero {
  background: linear-gradient(135deg, rgba(29, 65, 58, 0.9), rgba(22, 51, 46, 0.9));
  color: #fff;
  padding: 56px;
  border-radius: 28px;
  margin-bottom: 56px;
  box-shadow: 0 24px 48px rgba(22, 51, 46, 0.25);
}

.hero h2 {
  font-size: 2.6rem;
  margin: 0 0 16px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 28px;
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  background: var(--brand-green);
  color: var(--brand-cream);
}

.btn:hover,
button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(29, 65, 58, 0.18);
}

.btn:disabled,
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn.disabled {
  opacity: 0.6;
  pointer-events: none;
  box-shadow: none;
}

.btn-secondary {
  background: #fff;
  color: var(--brand-green);
  border: 1px solid var(--brand-green);
}

.btn-secondary:hover {
  background: var(--brand-sand);
}

.btn-primary {
  background: var(--brand-green);
  color: var(--brand-cream);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #facc15;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
  display: inline-block;
}

/* Cookie banner */
#cookieBanner.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  background: #fff; border: 1px solid rgba(29,65,58,.12);
  border-radius: 14px; box-shadow: var(--shadow-soft);
}
.cookie-inner { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; }
.cookie-inner p { margin: 0; color: var(--brand-green); }
.cookie-actions { display: inline-flex; gap: 8px; }

section {
  margin-bottom: 56px;
}

section h3 {
  font-size: 1.7rem;
  margin-bottom: 24px;
}

.rooms-showcase .rooms-subtitle {
  margin-top: -16px;
  margin-bottom: 20px;
  color: var(--brand-muted);
}

.rooms-message {
  margin-bottom: 16px;
  color: var(--brand-muted);
}

.rooms-message-subtle {
  margin-top: -8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--brand-muted);
}

.rooms-showcase {
  background: linear-gradient(180deg, rgba(244, 238, 232, 0.5), rgba(255, 255, 255, 0));
  padding: 48px 0;
  border-radius: 32px;
}

.rooms-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

.rooms-strip {
  display: flex;
  gap: 22px;
  padding: 12px;
  padding-left: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  flex: 1;
}

.rooms-strip::-webkit-scrollbar {
  display: none;
}

.featured-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.featured-column h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.featured-subtitle {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--brand-muted);
}

/* Mapa na home */
.rooms-map {
  height: 380px;
  border-radius: 16px;
  border: 1px solid rgba(29,65,58,.18);
  box-shadow: 0 10px 24px rgba(29,65,58,.15);
  overflow: hidden;
}

.rooms-nav {
  background: #fff;
  border: 1px solid rgba(29, 65, 58, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--brand-green);
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.rooms-nav:hover:not(.disabled):not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(29, 65, 58, 0.18);
}

.rooms-nav.disabled,
.rooms-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.adv-rooms-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 8px 0 16px;
}

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

.rooms-grid.rooms-list .room-card {
  display: flex;
  gap: 18px;
}

.rooms-grid.rooms-list .room-photo {
  height: 160px;
  min-width: 220px;
}

.rooms-grid.rooms-list .room-info {
  padding: 16px 18px 18px;
  flex: 1;
}

.rooms-grid.rooms-list .room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.rooms-grid.small {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.room-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(29, 65, 58, 0.08);
  box-shadow: var(--shadow-soft);
}

.carousel-room-card {
  min-width: 280px;
  max-width: 320px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.carousel-room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(29, 65, 58, 0.15);
}

.carousel-room-card.unavailable {
  opacity: 0.75;
}

.room-card-media {
  position: relative;
  isolation: isolate;
  border-radius: 20px;
  overflow: hidden;
  margin: 16px 16px 0;
}

.room-photo {
  position: relative;
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(29,65,58,0.85), rgba(138,119,102,0.85));
  overflow: hidden;
  border-radius: 18px;
}

.room-photo.room-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-photo-placeholder {
  color: var(--brand-cream);
  font-size: 0.95rem;
  text-align: center;
  padding: 0 16px;
  line-height: 1.4;
}

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

.room-status-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(29, 65, 58, 0.82);
  backdrop-filter: blur(6px);
}

.room-status-pill.status-pendente {
  background: rgba(217, 122, 28, 0.85);
}

.room-status-pill.status-cancelada {
  background: rgba(181, 74, 58, 0.85);
}

.room-favorite {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-green);
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.room-favorite::before {
  content: '♡';
}

.room-favorite:hover {
  transform: scale(1.05);
  background: #fff;
}

.room-availability-note {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.room-availability-note.available {
  background: linear-gradient(180deg, rgba(47, 111, 85, 0) 0%, rgba(47, 111, 85, 0.8) 100%);
}

.room-info {
  padding: 20px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.room-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.room-header h4 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--brand-dark);
}

.room-header .status-badge {
  align-self: flex-start;
}

.room-description {
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.room-description.is-empty {
  visibility: hidden;
}

.room-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--brand-muted);
  font-size: 0.88rem;
}

.room-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.room-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--brand-green);
  font-size: 0.95rem;
}
.room-price.is-empty {
  visibility: hidden;
}

.room-price strong {
  font-size: 1.1rem;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.room-amenities span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(29, 65, 58, 0.08);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 600;
}
.room-amenities.is-empty {
  min-height: 28px;
  visibility: hidden;
}

.room-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.carousel-room-card .room-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 10px;
}

.carousel-room-card.unavailable .btn {
  filter: grayscale(0.35);
  cursor: not-allowed;
}

.cards,
.concept-columns,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card,
.concept-column {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(29, 65, 58, 0.1);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card.room-card .photo {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #1D413A 0%, #ABA198 100%);
  border-radius: 18px 18px 0 0;
  margin: -24px -24px 16px;
  overflow: hidden;
}

.card.room-card .photo.photo-empty {
  display: grid;
  place-items: center;
}

.card.room-card .photo .image-carousel,
.room-card .photo .image-carousel {
  height: 100%;
  border-radius: inherit;
}

.card.room-card .photo .image-carousel-slide img {
  border-radius: inherit;
}

/* Salas (carrossel): mídia com ALTURA FIXA para alinhar os cards entre si,
   mesmo quando a imagem está quebrada ou ausente (caso contrário o .photo
   colapsa na altura da imagem e desalinha título/preço/botões). Botões
   fixados no rodapé para alinhar cards com quantidades de texto diferentes. */
.rooms-strip .carousel-room-card .photo {
  height: 220px;
  background: linear-gradient(135deg, rgba(29, 65, 58, 0.85), rgba(138, 119, 102, 0.85));
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  margin: 0;
}
.rooms-strip .carousel-room-card .photo .image-carousel,
.rooms-strip .carousel-room-card .photo .image-carousel-slide,
.rooms-strip .carousel-room-card .photo img {
  width: 100%;
  height: 100%;
}
.rooms-strip .carousel-room-card .photo img {
  object-fit: cover;
  display: block;
}
.rooms-strip .carousel-room-card .photo.photo-empty {
  display: grid;
  place-items: center;
}
.rooms-strip .carousel-room-card .room-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.rooms-strip .carousel-room-card .room-actions {
  margin-top: auto;
}

.room-photo-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.card:hover,
.concept-column:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(29, 65, 58, 0.16);
}

.card .icon,
.concept-column .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.card h4,
.concept-column h4 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.card p,
.concept-column p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.96rem;
}

.client-area {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.client-area h3 {
  margin-top: 0;
}

.section-subtitle {
  margin: 0;
  color: var(--brand-muted);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.client-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--brand-cream);
  border: 1px solid rgba(29, 65, 58, 0.08);
  box-shadow: 0 10px 20px rgba(29, 65, 58, 0.08);
}

.client-card h4 {
  margin: 0 0 12px;
}

.client-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--brand-green);
}

.client-card li {
  margin-bottom: 8px;
}

.client-cta {
  margin-top: 24px;
  text-align: center;
}

.cta {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.cta p {
  margin: 0 0 20px;
  font-size: 1.05rem;
  color: var(--brand-green);
  font-weight: 500;
}

.cta .btn {
  margin: 0 8px;
}

footer {
  background: #fff;
  border-top: 1px solid rgba(29, 65, 58, 0.08);
  padding: 28px 48px;
  color: var(--brand-muted);
  text-align: center;
}

footer a {
  color: var(--brand-green);
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand-green);
  background: transparent;
  color: var(--brand-green);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--brand-green);
  color: var(--brand-cream);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-badge.status-ativo { background: #2F6F55; }
.status-badge.status-pendente { background: #D97A1C; }
.status-badge.status-confirmada { background: #1D413A; }
.status-badge.status-concluida { background: #4A8070; }
.status-badge.status-cancelada { background: #B54A3A; }
.status-badge.status-manutencao { background: #D97A1C; }

.price {
  font-weight: 600;
  margin: 12px 0;
  color: var(--brand-green);
}

/* --- Pré-reserva: opções de sala --- */
.room-option {
  background: #fff;
  border: 1px solid rgba(29, 65, 58, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.2s;
}

.room-option:hover {
  background: rgba(29, 65, 58, 0.04);
}

.room-option input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--brand-green);
}

.room-option strong{font-size:1rem;color:var(--brand-dark);margin-right:auto}
.room-option .meta{color:var(--brand-muted);font-size:.9rem;margin-left:6px}
.room-option .price{margin-left:auto;color:var(--brand-green);font-weight:600}

.room-option.disabled-room {
  opacity: 0.6;
  background: var(--brand-sand);
  cursor: not-allowed;
}

.room-option.disabled-room label {
  color: var(--brand-muted);
}

.room-option input[disabled] {
  cursor: not-allowed;
}

.room-option label::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  background: #ccc;
}

.room-option.status-ativo label::before { background: #2F6F55; }
.room-option.status-manutencao label::before { background: #D97A1C; }
.room-option.status-desativada label::before { background: #B54A3A; }

/* --- Botões confirmar/neg ar (admin) --- */
.btn-confirmar,
.btn-negar {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  margin-left: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  vertical-align: middle;
}

.btn-confirmar {
  background: #DCEEE0;
  border-color: #83C19A;
  color: var(--brand-green);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-confirmar:hover {
  background: #C7E5CC;
  border-color: #6CB986;
  transform: translateY(-1px);
}

.btn-negar {
  background: #F8D7DA;
  border-color: #E39AA2;
  color: #7A1C21;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-negar:hover {
  background: #F1AEB5;
  border-color: #DC3545;
  transform: translateY(-1px);
}

td.actions {
  white-space: nowrap;
}

.reservation-inline {
  display: inline-flex;
  gap: 6px;
  margin-left: 10px;
  vertical-align: middle;
}

.btn-micro {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  color: #fff;
}

.btn-micro.confirm { background: #2F6F55; }
.btn-micro.deny { background: #B54A3A; }
.btn-micro.cancel { background: #D97A1C; }

.btn-ghost {
  background: #fff;
  border: 1px solid var(--brand-green);
  color: var(--brand-green);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.18s ease;
}

.btn-ghost:hover {
  background: var(--brand-sand);
}

/* --- Company overview cards --- */
.company-panel { padding-top: 6px; }
.grid-cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stats-cards .stat-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid rgba(29,65,58,.12); border-radius: 12px;
  padding: 14px 16px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.stat-icon { width: 40px; height: 40px; border-radius: 10px; display:flex; align-items:center; justify-content:center; background:#E7EFEA; color:#1D413A; font-size:20px; }
.stat-text { display:flex; flex-direction:column; }
.stat-label { color: var(--brand-muted); font-size: .9rem; }
.stat-value { color: var(--brand-green); font-weight: 700; font-size: 1.4rem; }

.overview-split { display:grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-top: 16px; }
.overview-box { background:#fff; border:1px solid rgba(29,65,58,.12); border-radius:12px; padding:16px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.overview-box h4 { margin:0 0 10px; color: var(--brand-green); }
.list-next { display:flex; flex-direction:column; gap:8px; }
.list-next-item { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid rgba(29,65,58,.08); border-radius:10px; background:#FAFBFA; }
.list-next .date { font-weight:600; color:#1D413A; }
.list-next .room { color: var(--brand-dark); }
.chip { display:inline-block; font-size:.75rem; line-height:1; padding:6px 8px; border-radius:999px; background:#EDE7DF; color:#4b554f; }
.chip.success { background:#DCEEE0; color:#2F6F55; }
.chip.pending { background:#FFF3CD; color:#856404; }
.chip.warn { background:#FDE2D0; color:#9C3F32; }
.quick-actions { display:flex; flex-wrap:wrap; gap:8px; }

@media (max-width: 900px) {
  .grid-cards-3 { grid-template-columns: 1fr; }
  .overview-split { grid-template-columns: 1fr; }
}

/* --- Finance section --- */
.finance-filters { margin-bottom: 12px; background:#fff; border:1px solid rgba(29,65,58,.12); padding:12px; border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.finance-filters .preset-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.finance-summary { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; margin-bottom:10px; }
.finance-summary .stat-card { padding:10px 12px; }
.finance-table table { width:100%; border-collapse:collapse; background:#fff; border:1px solid rgba(29,65,58,.12); border-radius:12px; overflow:hidden; }
.finance-table thead { background:#EFE9E1; }
.finance-table th, .finance-table td { padding:12px 14px; border-bottom:1px solid rgba(29,65,58,.08); }
.finance-table tr:last-child td { border-bottom:none; }

/* Empresa > Membros reorganização */
.member-actions { background:#fff; border:1px solid rgba(29,65,58,.12); border-radius:12px; padding:12px; margin-bottom:12px; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.member-actions .field-row { display:grid; grid-template-columns: 1.1fr 1.3fr 0.6fr; gap:8px; margin-bottom:10px; }
.member-actions .btn-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.card-block { background:#fff; border:1px solid rgba(29,65,58,.12); border-radius:12px; padding:12px; margin-bottom:12px; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.card-block h4 { margin:0 0 8px; color: var(--brand-green); }

/* --- Formulários (pré-reserva / modal admin) --- */
form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}

form label {
  font-weight: 600;
  color: var(--brand-green);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(29, 65, 58, 0.18);
  font-size: 0.95rem;
  margin-top: 4px;
  background: #fff;
  color: var(--brand-green);
}

textarea {
  resize: vertical;
}

.error-message {
  color: #B54A3A;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* --- Responsive adjustments --- */
@media (max-width: 900px) {
  header.header {
    padding: 20px 24px;
  }

  .hero {
    padding: 40px 28px;
  }

  main {
    padding: 32px 20px 80px;
  }

  body.client-portal-page .client-portal {
    min-height: auto;
    padding: 48px 16px 72px;
  }

  body.client-portal-page.client-authenticated .client-portal {
    justify-items: stretch;
  }

  .login-card {
    padding: 40px 32px;
  }

  .portal-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portal-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 24px;
    gap: 16px;
  }

  .portal-nav-brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .portal-nav-brand img {
    width: 72px;
  }

  .portal-nav-links {
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .portal-nav-links button {
    flex: 1 1 140px;
    text-align: center;
  }

  .nav-logout {
    margin-top: 0;
  }

  .portal-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

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

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

  .booking-room-options {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .login-card.register-card {
    max-width: 560px;
    padding: 42px 36px;
  }

  .login-card form.auth-form-grid {
    column-gap: 18px;
  }

  .register-card .register-hero {
    gap: 20px;
  }
}

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

  .login-card.register-card {
    max-width: 100%;
    padding: 36px 24px;
  }

  .login-card form.auth-form-grid {
    row-gap: 14px;
  }

  .register-card .register-hero {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .login-card.register-card h2 {
    text-align: center;
  }

  .login-card.register-card img {
    width: 100px;
  }
}

@media (max-width: 560px) {
  .booking-stepper {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding: 56px 20px;
  }

  .landing-actions {
    width: 100%;
  }

  .reservation-steps {
    padding: 28px 20px;
  }

  .landing-portal {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }

  .portal-text {
    text-align: center;
  }

  .portal-highlights {
    grid-template-columns: 1fr;
  }

  .landing-cta {
    padding: 32px 20px;
  }

  .image-carousel-lightbox-content {
    flex-direction: column;
    padding: 16px;
  }
}

/* Ajustes extras para telas bem pequenas (mobile) */
@media (max-width: 560px) {
  .landing-hero {
    padding: 28px 16px 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      'copy'
      'claims';
    gap: 16px;
  }

  .hero-copy {
    max-width: 100%;
    justify-items: flex-start;
  }

  .landing-hero h2 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-claims {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .hero-claims .card {
    min-width: 240px;
    flex: 0 0 auto;
  }

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

  header.header nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  header.header nav a {
    margin-left: 0;
    margin-right: 0;
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }

  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
  }

  .portal-nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .portal-nav-links button,
  .portal-nav-links-btn {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
  }

  .portal-header {
    padding: 0 4px;
    align-items: flex-start;
  }

  main {
    padding: 24px 12px 64px;
  }

  .landing-hero {
    margin: 0 -4px 32px;
    border-radius: 0 0 24px 24px;
  }
}
.client-dashboard {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}

.client-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(29, 65, 58, 0.08);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-help {
  font-size: 0.86rem;
  color: var(--brand-muted);
}

.booking-mode-hint {
  margin: 4px 0 20px;
}

.booking-date-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 6px;
}
.booking-date-mode-label {
  font-size: 0.86rem;
  color: var(--brand-cream);
}
.booking-date-mode-buttons {
  display: inline-flex;
  gap: 6px;
}
.mode-btn-small {
  padding: 4px 10px;
  font-size: 0.8rem;
}

#multiDateSummary {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 600;
}

.booking-room-inline {
  margin-top: 18px;
  display: none; /* bloc inline desativado, usamos a etapa Salas */
}

.booking-room-inline h4 {
  margin: 0 0 4px;
}

.booking-summary {
  margin-top: 10px;
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
  border: 1px solid rgba(29,65,58,0.08);
  box-shadow: 0 8px 20px rgba(29,65,58,0.08);
  font-size: 0.9rem;
}
.booking-summary h5 {
  margin: 0 0 6px;
  font-size: 0.96rem;
}
.booking-summary ul {
  margin: 0 0 8px;
  padding-left: 18px;
}
.booking-summary li {
  margin: 2px 0;
}

.form-grid-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 16px;
  margin-bottom: 16px;
}

.fixed-schedule-note {
  margin: -8px 0 16px;
  font-size: 0.86rem;
  color: var(--brand-muted);
}

.client-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.visitors-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

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

.responsive-table {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(29, 65, 58, 0.08);
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.responsive-table table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(29, 65, 58, 0.08);
  text-align: left;
  font-size: 0.92rem;
  vertical-align: top;
}

.responsive-table th {
  background: var(--brand-cream);
  font-weight: 600;
}

.responsive-table tr:last-child td {
  border-bottom: none;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.table-actions button {
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.reservation-flow {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.reservation-flow__stage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(29, 65, 58, 0.08);
  color: var(--brand-muted);
  border: 1px solid rgba(29, 65, 58, 0.12);
}

.reservation-flow__stage.flow-success {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--brand-cream);
}

.reservation-flow__stage.flow-pending {
  background: rgba(217, 122, 28, 0.18);
  border-color: rgba(217, 122, 28, 0.35);
  color: #d97a1c;
}

.reservation-flow__stage.flow-upcoming {
  background: rgba(29, 65, 58, 0.05);
  border-color: rgba(29, 65, 58, 0.08);
  color: rgba(29, 65, 58, 0.55);
}

.reservation-flow__stage.flow-stopped {
  background: rgba(181, 74, 58, 0.16);
  border-color: rgba(181, 74, 58, 0.35);
  color: #b54a3a;
}

.table-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--brand-cream);
  border: 1px solid rgba(29, 65, 58, 0.12);
  font-size: 0.82rem;
  color: var(--brand-green);
  margin: 0 6px 6px 0;
}

.table-chip.muted {
  background: transparent;
  border-color: transparent;
  color: var(--brand-muted);
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#loginMessage {
  min-width: 200px;
}

body.client-portal-page {
  background: var(--brand-cream);
}

body.client-portal-page.client-logged-out {
  overflow-x: hidden;
  overflow-y: auto;
}

body.client-portal-page .client-portal {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 180px);
  padding: 64px 24px 96px;
  position: relative;
}

body.client-portal-page.client-logged-out .client-portal {
  min-height: 100vh;
  padding: 0;
}

body.client-portal-page.client-authenticated .client-portal {
  align-content: start;
  justify-items: stretch;
}

body.client-portal-page .client-portal > * {
  grid-row: 1;
  grid-column: 1;
}

body.client-portal-page .client-portal .auth-container {
  width: 100%;
}

body.client-portal-page .client-portal .client-summary {
  width: 100%;
  max-width: 1160px;
}

body.client-portal-page.client-logged-out .portal-shell {
  display: none !important;
}

.portal-shell {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.portal-nav {
  background: linear-gradient(180deg, #1D413A 0%, #16332E 100%);
  color: var(--brand-cream);
  border-radius: 22px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-soft);
  min-height: 520px;
}

.portal-nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.portal-nav-brand img {
  width: 120px;
  border-radius: 18px;
}

.portal-nav-brand h2 {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
}

.portal-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-nav-links button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--brand-cream);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
  text-align: left;
}

.portal-nav-links-btn {
  display: block;
  width: calc(100% - 48px);
  margin: 12px auto 8px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--brand-green);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  text-align: center;
}

.portal-nav-links button:hover,
.portal-nav-links button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(2px);
}

.portal-nav-links button.active {
  background: #fff;
  color: var(--brand-green);
  transform: translateX(4px);
  border-color: #fff;
}

.nav-logout {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.12);
  color: var(--brand-cream);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-logout:hover,
.nav-logout:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(2px);
}

.portal-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portal-header {
  background: #fff;
  border-radius: 22px;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(29, 65, 58, 0.08);
}

.portal-subtitle {
  color: var(--brand-muted);
}

.portal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.reservations-calendar-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(29, 65, 58, 0.08);
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}

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

.reservations-calendar-card .calendar-label {
  font-weight: 700;
  color: var(--brand-green);
}

.reservations-calendar-card .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.reservations-calendar-card .calendar-weekday {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-muted);
  text-align: center;
}

.reservations-calendar-card .calendar-day {
  background: var(--brand-cream);
  border: 1px solid rgba(29, 65, 58, 0.08);
  border-radius: 12px;
  padding: 10px 8px;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reservations-calendar-card .calendar-day.is-muted {
  opacity: 0.45;
}

.reservations-calendar-card .calendar-day.is-today {
  border-color: var(--brand-green);
  box-shadow: inset 0 0 0 1px rgba(29, 65, 58, 0.2);
}

.reservations-calendar-card .calendar-day-number {
  font-weight: 700;
  color: var(--brand-green);
  font-size: 0.95rem;
}

.reservations-calendar-card .calendar-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.reservations-calendar-card .calendar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(29, 65, 58, 0.4);
}

.reservations-calendar-card .calendar-dot.is-highlight {
  background: var(--brand-green);
}

.reservations-calendar-card .calendar-dot-text {
  font-size: 0.75rem;
  color: var(--brand-muted);
  margin-left: 2px;
}

.reservations-calendar-card .calendar-dot.is-company {
  background: var(--brand-green);
}

.reservations-calendar-card .calendar-dot.is-personal {
  background: #c7b6a5;
}

.reservations-calendar-card .calendar-dot.is-blocked {
  background: #b54a3a;
}

.reservations-calendar-card .calendar-day.is-selected {
  border-color: var(--brand-green);
  box-shadow: inset 0 0 0 2px rgba(29, 65, 58, 0.2);
}

.reservations-day-list {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(29, 65, 58, 0.08);
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}

.reservations-day-list .day-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.reservations-day-list .day-list-title {
  font-weight: 700;
  color: var(--brand-green);
}

.reservations-day-list .day-list-items {
  display: grid;
  gap: 10px;
}

.reservations-day-list .day-list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 12px;
  border: 1px solid rgba(29, 65, 58, 0.08);
  border-radius: 12px;
  background: var(--brand-cream);
}

.reservations-day-list .day-item-title {
  font-weight: 600;
}

.reservations-day-list .day-item-meta {
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.reservations-day-list .day-item-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

body.client-portal-page .portal-header {
  flex-wrap: wrap;
  align-items: center;
}

body.client-portal-page .portal-actions {
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px;
  align-items: center;
}

body.client-portal-page .portal-actions .btn,
body.client-portal-page .portal-actions .referral-slot-top {
  width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  body.client-portal-page .portal-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }
  body.client-portal-page .portal-header {
    align-items: flex-start;
  }
}

.referral-slot {
  background: var(--brand-sand);
  color: var(--brand-green);
  border: 1px solid rgba(29, 65, 58, 0.2);
  border-radius: 18px;
  padding: 12px 18px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.referral-slot:hover,
.referral-slot:focus-visible {
  border-color: var(--brand-green);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(29, 65, 58, 0.18);
}

.referral-slot-top {
  min-width: 160px;
  background: #fff;
}

.referral-slot-side {
  margin: 18px 0 8px;
  font-size: 14px;
  line-height: 1.3;
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-cream) 65%, var(--brand-sand) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  padding: 16px;
}

.referral-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-muted);
}

.referral-text {
  font-size: 14px;
  color: var(--brand-green);
  font-weight: 600;
}

.referral-pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--brand-green);
  background: #fff;
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
}

.referral-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.referral-form .form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brand-green);
}

.referral-form .form-field input,
.referral-form .form-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(29, 65, 58, 0.2);
  padding: 10px 12px;
  font-size: 14px;
}

.referral-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.referral-message {
  margin-top: 6px;
}

.referral-info-card {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(29, 65, 58, 0.12);
  box-shadow: var(--shadow-soft);
  color: var(--brand-green);
}

.referral-info-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.referral-info-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.35;
}

.referral-disclaimer {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--brand-muted);
}

.portal-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-embed {
  width: 100%;
  min-height: 80vh;
  border: none;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.booking-card {
  max-width: 880px;
}

.booking-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
}

.booking-stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 16px;
  border: 1px solid rgba(29, 65, 58, 0.1);
  background: #f6f2ec;
  color: var(--brand-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.booking-stepper-item span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(29, 65, 58, 0.12);
  color: var(--brand-green);
  font-weight: 600;
}

.booking-stepper-item strong {
  font-size: 0.9rem;
  color: inherit;
}

.booking-stepper-item.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--brand-cream);
  box-shadow: 0 14px 24px rgba(29, 65, 58, 0.18);
}

.booking-stepper-item.active span {
  background: rgba(255, 255, 255, 0.22);
  color: var(--brand-cream);
}

.booking-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-step[hidden] {
  display: none !important;
}

.booking-room-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.booking-room-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(29, 65, 58, 0.12);
  background: #f8f3eb;
}

.booking-room-filters {
  margin: 6px 0 4px;
}

.booking-room-view {
  display: flex;
  gap: 8px;
  align-items: center;
}

.booking-room-view .btn.active {
  background: var(--brand-green);
  color: var(--brand-cream);
  border-color: var(--brand-green);
}

.booking-room-view-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 4px 0 6px;
}

.booking-room-view-row .input-label {
  font-size: 0.85rem;
  color: var(--brand-muted);
  font-weight: 600;
}

.booking-room-options.is-list {
  display: flex;
  flex-direction: column;
}

.booking-room-options.is-list .room-option {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.booking-room-options.is-list .room-option strong {
  flex: 1;
}

.booking-room-options.is-list .room-option .meta {
  margin-left: 0;
}

.room-option .distance {
  font-size: 0.85rem;
  color: var(--brand-muted);
}

.booking-calendar {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(29, 65, 58, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--brand-green);
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--brand-green);
  cursor: pointer;
  padding: 4px 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day {
  height: 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--brand-green);
  background: rgba(29, 65, 58, 0.06);
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.calendar-day.disabled {
  background: transparent;
  color: rgba(29, 65, 58, 0.35);
  cursor: not-allowed;
}

.calendar-day.available:hover,
.calendar-day.partial:hover,
.calendar-day.available:focus-visible,
.calendar-day.partial:focus-visible {
  background: rgba(29, 65, 58, 0.14);
  transform: translateY(-2px);
}

.calendar-day.selected {
  background: var(--brand-green);
  color: var(--brand-cream);
  border-color: var(--brand-green);
  box-shadow: 0 12px 20px rgba(29, 65, 58, 0.18);
}

.calendar-day.partial {
  background: rgba(217, 122, 28, 0.18);
  color: #d97a1c;
}

.calendar-day.full {
  background: rgba(181, 74, 58, 0.16);
  color: #b54a3a;
  cursor: not-allowed;
}

.calendar-day.disabled,
.calendar-day.full {
  border-color: transparent;
}

.room-filters {
  background: #f8f3eb;
  border-radius: 18px;
  border: 1px solid rgba(29, 65, 58, 0.08);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.room-option {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(29, 65, 58, 0.12);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.room-option strong {
  font-size: 1rem;
  color: var(--brand-green);
}

.room-option span {
  color: var(--brand-muted);
  font-size: 0.88rem;
}

.room-option:hover,
.room-option:focus-visible {
  border-color: var(--brand-green);
  box-shadow: 0 10px 18px rgba(29, 65, 58, 0.16);
  transform: translateY(-2px);
}

.room-option.selected {
  border-color: var(--brand-green);
  background: rgba(29, 65, 58, 0.08);
  box-shadow: 0 16px 28px rgba(29, 65, 58, 0.18);
}

.booking-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

.booking-success-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.visitor-multiselect {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.visitor-multiselect-header {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.visitor-multiselect-header span {
  color: var(--brand-muted);
  font-weight: 500;
  font-size: 0.85rem;
}

.visitor-multiselect-help {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brand-muted);
}

.visitor-multiselect-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}

.res-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.res-filters label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

.res-filters select {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(29, 65, 58, 0.22);
  font-size: 0.9rem;
}

.visitor-multiselect-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(29, 65, 58, 0.12);
  border-radius: 12px;
  background: rgba(29, 65, 58, 0.05);
}

.visitor-multiselect-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

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

.visitor-actions label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
}

.portal-section[hidden] {
  display: none;
}
.client-summary {
  width: 100%;
  max-width: 1160px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
}

.client-summary-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(29, 65, 58, 0.08);
}

.client-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.portal-subtitle {
  color: var(--brand-muted);
  margin: 4px 0 0;
}

.summary-message {
  margin: 0 0 20px;
  color: var(--brand-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.summary-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.summary-actions .btn {
  min-width: 180px;
  justify-content: center;
}

.client-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #f1ece4;
}

.image-carousel.image-carousel-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.image-carousel-placeholder {
  padding: 24px;
}

.image-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.35s ease;
}

.image-carousel-slide {
  width: 100%;
  height: 100%;
  display: none;
  cursor: default;
}

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

.image-carousel-slide.image-carousel-active {
  display: block;
}

.image-carousel-interactive .image-carousel-slide {
  cursor: pointer;
}

.image-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
  font-size: 24px;
  line-height: 1;
}

.image-carousel-control.prev {
  left: 12px;
}

.image-carousel-control.next {
  right: 12px;
}

.image-carousel-control:hover,
.image-carousel-control:focus-visible {
  background: rgba(0, 0, 0, 0.65);
}

.image-carousel-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-gallery .image-carousel-thumbnails {
  justify-content: flex-start;
}

.image-carousel-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  background: none;
  cursor: pointer;
}

.image-carousel-thumb img {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.image-carousel-thumb.active {
  border-color: var(--brand-green);
}

.image-carousel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.image-carousel-lightbox.show {
  display: block;
}

.image-carousel-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.image-carousel-lightbox-content {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: #111;
  padding: 24px;
  border-radius: 16px;
  max-width: min(90vw, 780px);
  max-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.image-carousel-lightbox-track {
  flex: 1;
  min-height: clamp(240px, 60vh, 520px);
}

.image-carousel-lightbox-track .image-carousel-slide {
  display: none;
  height: 100%;
}

.image-carousel-lightbox-track .image-carousel-slide.image-carousel-active {
  display: block;
}

.image-carousel-lightbox-track img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-carousel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 30px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.image-carousel-no-scroll {
  overflow: hidden;
}











.profile-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-form input[readonly] {
  border: none;
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}



.profile-form.editing input:not([readonly]) {
  background: #fff;
  color: var(--brand-green);
  border-color: rgba(29, 65, 58, 0.35);
}



.card-payment-modal .stripe-card-wrapper {
  width: 100%;
  border: 2px solid #101010;
  border-radius: 14px;
  padding: 12px 18px;
  background: #f6f8fb;
  min-height: 72px;
  display: flex;
  align-items: center;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.18),
    inset 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: border-color .15s ease, box-shadow .15s ease;
  overflow: hidden;
}
.card-payment-modal .stripe-card-wrapper.is-focused {
  border-color: var(--brand-green);
  box-shadow:
    0 0 0 2px rgba(29, 65, 58, 0.16),
    inset 0 1px 2px rgba(0, 0, 0, 0.08);
}
.card-payment-modal .stripe-card-wrapper.is-invalid {
  border-color: #B54A3A;
  box-shadow:
    0 0 0 2px rgba(181, 74, 58, 0.15),
    inset 0 1px 2px rgba(0, 0, 0, 0.08);
}
.card-payment-modal .stripe-card-wrapper .StripeElement {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.card-payment-modal .billing-toggle-row {
  margin-top: 4px;
  margin-bottom: 4px;
}
.card-payment-modal .billing-toggle-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}
.card-payment-modal .billing-toggle-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-green);
}
.card-payment-modal .billing-fields {
  transition: opacity .15s ease;
}
.card-payment-modal .billing-fields.is-hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.card-payment-modal .input-readonly {
  background: #f7f5f1;
  color: var(--brand-muted);
}
.card-payment-modal .card-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(29, 65, 58, 0.08);
}
.card-payment-modal .card-list li:last-child {
  border-bottom: none;
}
.card-payment-modal .card-remove-btn {
  background: transparent;
  border: none;
  color: #b54a3a;
  cursor: pointer;
  font-weight: 600;
}
.card-payment-modal .card-remove-btn:hover {
  text-decoration: underline;
}

.profile-form .profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-form .profile-actions .btn {
  min-width: 160px;
}

.profile-form .rooms-message {
  margin-top: 8px;
}

.fade-in {
  animation: fadeIn 0.35s ease forwards;
}

.fade-out {
  animation: fadeOut 0.35s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-18px);
    pointer-events: none;
  }
}

body.client-portal-page.client-logged-out .auth-container {
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #f5f0e9 0%, #ede7df 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 48px;
  z-index: 1200;
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.client-portal-page.auth-loading .auth-container {
  display: none !important;
}

.auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.auth-container.is-hidden {
  display: none !important;
}

body.client-portal-page.client-authenticated .auth-container {
  display: none !important;
}

.auth-screen {
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-screen[hidden] {
  display: none !important;
}

.auth-message {
  text-align: center;
  max-width: 420px;
  color: var(--brand-muted);
  margin: 0 auto;
}

.auth-message:empty {
  display: none;
}

.auth-prompt {
  text-align: center;
  margin: 16px auto 12px;
  max-width: 420px;
  color: var(--brand-muted);
}

.login-card {
  width: 90%;
  max-width: 400px;
  background: #fff;
  border-radius: 18px;
  padding: 48px 56px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.login-card img {
  width: 140px;
  margin-bottom: 28px;
  border-radius: 18px;
  object-fit: cover;
}

.login-card h2 {
  font-weight: 600;
  color: var(--brand-green);
  margin: 0 0 28px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.login-card h2 span {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brand-muted);
  margin-top: 6px;
}

.login-card form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.login-card form input {
  width: 100%;
  padding: 10px 12px;
  margin: 6px 0 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #f9f9f8;
  color: var(--brand-green);
}

.login-card form input:focus {
  outline: 2px solid rgba(29, 65, 58, 0.2);
}

.login-card .btn.btn-primary {
  width: 100%;
  justify-content: center;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 0.98rem;
}

.login-card .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.login-card.register-card {
  max-width: 720px;
  padding: 48px 60px;
  text-align: left;
}

.register-card .register-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
}

.login-card.register-card img {
  width: 120px;
  margin: 0;
}

.login-card.register-card h2 {
  margin: 0;
  text-align: left;
}

.login-card form.auth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 18px;
}

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

.login-card form.auth-form-grid .form-field-duo {
  display: flex;
  flex-direction: column;
}

.login-card form.auth-form-grid .form-field-duo label {
  margin-bottom: 6px;
}

.login-card form.auth-form-grid input {
  margin: 0;
}

.login-card form.auth-form-grid .btn {
  width: 100%;
}

.password-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brand-muted);
}

.password-hint.invalid {
  color: #B54A3A;
}

.password-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.password-indicator {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(29, 65, 58, 0.08);
  color: var(--brand-dark);
  transition: background 0.2s ease, color 0.2s ease;
}

.password-indicator.state-neutral {
  background: rgba(29, 65, 58, 0.08);
  color: var(--brand-muted);
}

.password-indicator.state-warning {
  background: #FFE3B0;
  color: #7A4F00;
}

.password-indicator.state-error {
  background: #F8D7DA;
  color: #7A1C21;
}

.password-indicator.state-ok {
  background: #DCEEE0;
  color: #1D413A;
}

.input-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--brand-muted);
}

.input-hint.state-warning {
  color: #D97A1C;
}

.input-hint.state-error {
  color: #B54A3A;
}

.input-hint.state-ok {
  color: #1D413A;
}

.visitor-form-card {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.visitor-form-card.is-collapsed {
  transform: translateY(-12px);
  opacity: 0;
}

.visitor-form-card[hidden] {
  display: none !important;
}

.payments-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 48px 40px;
}

.payments-card .icon-placeholder {
  font-size: 3rem;
  line-height: 1;
}

.payments-card .rooms-message {
  max-width: 440px;
  text-align: center;
}

.login-card form.auth-form-grid input {
  margin: 0;
}

.login-card form.auth-form-grid .btn {
  width: 100%;
}

.dashboard-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.dashboard-header h2 {
  margin: 0;
}

.dashboard-meta {
  color: var(--brand-muted);
  margin-top: 4px;
}

.dashboard-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* Ícones de status simplificados */
.status-dot { display:inline-block; width:12px; height:12px; border-radius:50%; vertical-align:middle; }
.status-dot.status-ativo { background:#2F6F55; }
.status-dot.status-pendente { background:#D97A1C; }
.status-dot.status-cancelada { background:#B54A3A; }
.status-dot.status-confirmada { background:#2F6F55; }
.status-dot.status-concluida { background:#4A8070; }

/* Trilha de estágios (Pré, Reserva, Pagamento, Realizado) */
.stage-track { display:inline-flex; gap:10px; align-items:center; }
.stage-icon { width:12px; height:12px; border-radius:50%; background: rgba(29,65,58,.25); opacity:.35; }
.stage-icon.done { background:#4A8070; opacity:.9; }
.stage-icon.active { background:#2F6F55; opacity:1; }
.stage-icon.cancelled { background:#B54A3A; opacity:.75; }

/* Legenda de estágios */
.stage-legend { display:flex; align-items:center; gap:16px; margin:8px 0 12px; color: var(--brand-green); font-size: .9rem; }
.stage-legend-item { display:inline-flex; align-items:center; gap:8px; font-weight:600; }
.stage-icon-lg { width:14px; height:14px; }

/* Nova legenda em grid com rótulos sob os ícones */
.stage-legend-grid { display:grid; grid-template-columns: repeat(4, minmax(80px, 1fr)); gap:10px; margin:6px 0 12px; }
.stage-legend-grid .legend-cell { display:grid; justify-items:center; gap:6px; color: var(--brand-green); }
.stage-legend-grid .legend-icon { width:20px; height:20px; display:grid; place-items:center; }
.stage-legend-grid .legend-label { font-size:.8rem; font-weight:600; opacity:.9; }

/* Legenda inline com ícone + rótulo (alternativa compacta) */
.legend-inline { display:flex; gap:24px; align-items:center; margin:6px 0 12px; }
.legend-inline .legend-item { display:inline-flex; align-items:center; gap:10px; color: var(--brand-green); font-weight:700; }
.legend-inline .legend-item .legend-icon { width:20px; height:20px; display:grid; place-items:center; }
.legend-inline .legend-item.inactive { opacity:.35; font-weight:600; }

/* Cards de ação em estilo app */
#reservationActionsButtons.actions-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:14px; margin-top:16px; }
.action-card { background:#fff; border:1px solid rgba(29,65,58,.18); border-radius:14px; padding:16px; text-align:center; box-shadow: var(--shadow-soft); cursor:pointer; transition:.18s; color: var(--brand-green); font-weight:600; }
.action-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(29,65,58,.16); }
.action-card .icon { display:block; margin:0 auto 8px; width:22px; height:22px; }
.action-card.danger {
  border-color: #B54A3A;
  color: #B54A3A;
  background: #FDF1EF;
}
.actions-bottom { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:14px; margin-top:6px; }

/* Modal actions como “cards” (estilo app) */
#reservationActionsButtons.actions-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap:12px; margin-top:12px; }
.action-card { background:#fff; border:1px solid rgba(29,65,58,.18); border-radius:14px; padding:14px; text-align:center; box-shadow: var(--shadow-soft); cursor:pointer; transition:.18s; }
.action-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(29,65,58,.16); }
.action-card .icon { display:block; font-size:22px; margin-bottom:8px; }
.action-card .label { font-weight:600; color: var(--brand-green); }
.company-action-cards { display:grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap:10px; margin:8px 0 16px; }
.company-action-cards .action-card { padding: 12px; }
.company-action-cards .action-card .icon { font-size:18px; width:18px; height:18px; margin-bottom:6px; }
.company-action-cards .action-card .label { font-size:.95rem; }
@media (min-width: 980px) {
  .company-action-cards { grid-template-columns: repeat(4, minmax(140px, 1fr)); }
}
.member-actions h4 { margin:0 0 8px; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 2000;
}

/* Inbox convites */
.inbox-list { display:grid; gap:10px; }
.inbox-list .invite-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px solid rgba(29,65,58,.15); border-radius:10px; background:#fff; }
.invite-item .invite-meta { display:flex; flex-direction:column; gap:2px; }
.invite-item .invite-title { font-weight:600; color:#1D413A; }
.invite-item .invite-sub { font-size:.92rem; color:#7A6758; }
.invite-item .invite-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }

.company-pending-card { border:1px solid rgba(29,65,58,.12); border-radius:18px; padding:18px; background:#fff; box-shadow: var(--shadow-soft); margin-bottom:16px; }
.company-pending-card h4 { margin:0 0 6px; }

.modal-dialog.wide { max-width: 1040px; }

/* Manual members (Empresa) */
.manual-table-wrap { max-height: 360px; overflow: auto; }
.manual-members-table td input, .manual-members-table td select { width: 100%; }
.manual-members-table th:nth-child(1), .manual-members-table td:nth-child(1) { width: 32%; }
.manual-members-table th:nth-child(2), .manual-members-table td:nth-child(2) { width: 32%; }
.manual-members-table th:nth-child(3), .manual-members-table td:nth-child(3) { width: 20%; }
.manual-members-table th:nth-child(4), .manual-members-table td:nth-child(4) { width: 16%; }
.manual-members-table td select { min-width: 120px; font-size: .95rem; }

/* Chat drawer (cliente) */
.modal-overlay.chat-drawer { align-items: stretch; justify-content: flex-end; }
.modal-overlay.chat-drawer .modal-dialog { max-width: 780px; width: 100%; height: 100vh; border-radius: 0; border-left: 1px solid rgba(29,65,58,.08); display:flex; flex-direction: column; }
.modal-overlay.chat-drawer .modal-body { flex: 1; display:flex; flex-direction: column; padding: 16px; }
.chat-messages { flex: 1; overflow: auto; background:#fff; border:1px solid rgba(29,65,58,.12); border-radius:12px; padding:10px; display:flex; flex-direction: column; gap:8px; }
.chat-bubble { max-width: 78%; padding:10px 12px; border-radius:12px; background:#F5F0E9; color:#1D413A; box-shadow: var(--shadow-soft); }
.chat-bubble.me { align-self: flex-end; background:#DDE7E3; }
.chat-bubble .chat-time { font-size:.75rem; color:#8A7766; margin-top:4px; }
.chat-form { display:flex; gap:8px; margin-top:10px; }
.chat-form input { flex:1; }

/* Anunciante: chat maior (drawer mais largo/alto) */
body.anunciante-page .modal-overlay.chat-drawer .modal-dialog {
  max-width: 960px;
  width: 96vw;
  height: 85vh;
}
body.anunciante-page #advChatMessages.chat-messages {
  min-height: 420px;
}

.chat-layout {
  display: flex;
  gap: 16px;
}

.chat-sidebar {
  width: 220px;
  border-right: 1px solid rgba(29,65,58,.12);
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-sidebar-section h4 {
  font-size: 0.85rem;
  margin: 0 0 4px;
  color: var(--brand-muted);
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-header-line {
  margin-bottom: 4px;
}

.chat-thread-item {
  width: 100%;
  text-align: left;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 6px 10px;
  font-size: 0.85rem;
  background: rgba(221,231,227,.8);
  color: var(--brand-green);
  cursor: pointer;
  margin-bottom: 4px;
}

.chat-thread-item.active {
  background: #fff;
  border-color: rgba(29,65,58,.5);
}

.chat-thread-item.disabled {
  opacity: 0.45;
  cursor: default;
}

.chat-report-row {
  display: flex;
  justify-content: flex-end;
}

.modal-overlay.show {
  display: flex;
}

.modal-dialog {
  background: #fff;
  border-radius: 22px;
  max-width: 920px;
  width: 100%;
  max-height: 96vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(29, 65, 58, 0.22);
  border: 1px solid rgba(29, 65, 58, 0.08);
}

.modal-dialog.modal-small {
  max-width: 420px;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--brand-muted);
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 22px;
}

.modal-body {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 32px 20px;
  overflow-y: auto;
}

.entry-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.entry-choice-btn {
  min-width: 160px;
}

.modal-gallery {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-gallery .image-carousel {
  min-height: 320px;
  border-radius: 16px;
}

.modal-info {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-info h2 {
  margin: 0;
}

.modal-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.modal-details dt {
  font-weight: 600;
  color: var(--brand-muted);
  font-size: 0.85rem;
}

.modal-details dd {
  margin: 2px 0 0;
  font-size: 0.96rem;
}

.modal-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-amenities span {
  background: var(--brand-cream);
  border: 1px solid rgba(29, 65, 58, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

.room-photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.room-photos-preview .room-photo-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(29, 65, 58, 0.18);
  background: #fdfdfc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  position: relative;
}

.room-photos-preview .room-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-photos-preview .remove-photo-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.room-photos-preview .remove-photo-btn:hover {
  background: rgba(181, 74, 58, 0.9);
}

.field-error {
  border-color: #b54a3a !important;
  box-shadow: 0 0 0 1px rgba(181, 74, 58, 0.45) inset;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 32px 28px;
  border-top: 1px solid rgba(29, 65, 58, 0.08);
}

.pre-reserva-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}

.wizard {
  display: grid;
  gap: 24px;
}

.step-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 32px 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(29, 65, 58, 0.08);
}

.step-card h2 {
  margin-top: 0;
}

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

.calendar-header button {
  background: none;
  border: none;
  color: var(--brand-green);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px 10px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(42px, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(29, 65, 58, 0.12);
  min-height: 48px;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calendar-day:hover:not(.full):not(.disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(29, 65, 58, 0.15);
}

.calendar-day.full {
  background: rgba(181, 74, 58, 0.15);
  border-color: #B54A3A;
  color: #7A1C21;
  cursor: not-allowed;
}

.calendar-day.partial {
  background: rgba(217, 122, 28, 0.15);
  border-color: #D97A1C;
  color: #8A5411;
}

.calendar-day.available {
  background: rgba(47, 111, 85, 0.1);
  border-color: #2F6F55;
  color: #1D413A;
}

.calendar-day.selected {
  box-shadow: 0 0 0 2px #1D413A inset;
}

.calendar-day.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calendar-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--brand-muted);
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calendar-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(29, 65, 58, 0.06);
  border: 1px solid rgba(29, 65, 58, 0.12);
}
.calendar-dot.available { background: rgba(29, 65, 58, 0.12); }
.calendar-dot.partial { background: rgba(217, 122, 28, 0.35); }
.calendar-dot.full { background: rgba(181, 74, 58, 0.35); }
.calendar-dot.selected { background: var(--brand-green); }

.room-card.selected {
  box-shadow: 0 12px 24px rgba(29, 65, 58, 0.18);
  border: 2px solid var(--brand-green);
}

.auth-quick-actions {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.ghost-btn {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--brand-green);
  background: #fff;
  color: var(--brand-green);
  font-weight: 600;
  padding: 12px 18px;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover,
.ghost-btn:focus-visible,
.ghost-btn.active {
  background: var(--brand-green);
  color: var(--brand-cream);
  transform: translateY(-1px);
}

.login-card > .ghost-btn {
  margin-top: 20px;
}

.login-card > .ghost-btn {
  margin-top: 20px;
}

.auth-tabs {
  display: inline-flex;
  border: 1px solid rgba(29, 65, 58, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.auth-tabs button {
  border: none;
  background: transparent;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--brand-muted);
  cursor: pointer;
}

.auth-tabs button.active {
  background: var(--brand-green);
  color: var(--brand-cream);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  margin-bottom: 24px;
}

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

.form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.auth-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.card-select-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.card-select-row select {
  flex: 1 1 220px;
  min-width: 220px;
}

.policy-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(29, 65, 58, 0.12);
  background: #fff;
}

.policy-option {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: start;
  font-weight: 600;
  color: #1d413a;
  font-size: 0.9rem;
  white-space: normal;
}

.calculated-field {
  border: 1px solid rgba(29, 65, 58, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  background: #f7f4ef;
  color: #1d413a;
  font-weight: 600;
}

.policy-warning {
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff3cd;
  color: #8a6d3b;
  font-weight: 600;
  border: 1px solid rgba(138, 109, 59, 0.25);
  margin-bottom: 6px;
}

.policy-price-input {
  max-width: 200px;
}

.policy-mini-input {
  max-width: 90px;
}

.policy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.policy-main-row {
  align-items: center;
}

.policy-sub-row {
  display: grid;
  grid-template-columns: auto 90px auto 220px;
  column-gap: 8px;
  align-items: center;
}

.policy-sep {
  color: #8a7766;
  font-weight: 400;
}

@media (max-width: 900px) {
  .policy-option {
    grid-template-columns: 20px 1fr;
  }
  .policy-sub-row {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .policy-row {
    flex-wrap: wrap;
  }
}

.policy-grid {
  padding: 10px;
  border-radius: 10px;
  background: #f7f4ef;
  border: 1px dashed rgba(29, 65, 58, 0.2);
}

.policy-grid-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.policy-grid-list {
  display: grid;
  gap: 6px;
}

.policy-grid-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(29, 65, 58, 0.12);
}

.policy-select {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.policy-select .policy-select-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(29, 65, 58, 0.15);
  background: #fff;
}

.policy-select .policy-select-item input {
  margin-top: 2px;
}

.modal-policies {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

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

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

/* Ajustes específicos do modal de Workshop (anunciante) */
.auth-form.workshop-form {
  gap: 12px;
}

.auth-form.workshop-form .form-grid-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
}
.auth-form.workshop-form .field-span-2 {
  grid-column: span 2;
}
.auth-form.workshop-form .participants-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.auth-form.workshop-form .form-row {
  margin-top: 4px;
}

.modal-section-title {
  margin: 16px 0 6px;
  padding-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-green);
  border-top: 1px solid rgba(29, 65, 58, 0.12);
}

.modal-section-title:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.modal-section-title + .form-grid {
  margin-top: 6px;
}

.modal-intro {
  margin: 4px 0 14px;
  font-size: 0.85rem;
  color: var(--brand-muted);
}

.workshop-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 260px;
}
.workshop-card-cover {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 6px;
}
.workshop-card-cover img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.workshop-meta {
  font-size: 0.86rem;
  color: var(--brand-muted);
}
.workshop-price {
  font-size: 0.9rem;
  font-weight: 600;
}
.workshop-actions {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.workshops-grid,
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.course-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  margin-top: 6px;
}

.course-status strong {
  font-weight: 600;
  color: var(--brand-green);
}

.workshop-details-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.workshop-cta-box {
  background: var(--brand-sand);
  border-radius: 14px;
  padding: 10px 14px;
  max-width: 260px;
  box-shadow: 0 10px 24px rgba(29,65,58,0.12);
  font-size: 0.85rem;
}

.workshop-cta-box h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.workshop-cta-box p {
  margin: 0 0 8px;
  font-size: 0.8rem;
}

/* Editor simples (B I U A) para descrição de workshop */
.editor-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  padding: 4px 6px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: #F5F7FA;
  border: 1px solid rgba(29,65,58,.12);
}

.editor-btn {
  border: none;
  background: transparent;
  padding: 2px 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  border-radius: 4px;
}

.editor-btn:hover {
  background: rgba(29,65,58,.08);
}

.editor-btn span {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rich-editor {
  min-height: 120px;
  border-radius: 10px;
  border: 1px solid rgba(29,65,58,.35);
  padding: 10px 12px;
  font-size: 0.95rem;
  line-height: 1.25;
  background: #fff;
  outline: none;
  white-space: pre-wrap;
}

.rich-editor:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 1px rgba(29,65,58,.15);
}

/* Espaçamento entre parágrafos/linhas no editor e na visualização de workshops */
.rich-editor p,
.rich-editor div {
  margin: 0 0 0.18rem;
}
.rich-editor p:last-child,
.rich-editor div:last-child {
  margin-bottom: 0;
}
.rich-editor ul,
.rich-editor ol {
  margin: 0.15rem 0 0.2rem 1.15rem;
  padding: 0;
}
.rich-editor li {
  margin: 0.06rem 0;
}
.editor-toolbar .editor-select {
  width: auto !important;
  min-width: 122px;
  max-width: 170px;
  flex: 0 0 auto;
  display: inline-block;
  border: 1px solid rgba(29,65,58,.35) !important;
  border-radius: 6px;
  background: #fff;
  color: #1D413A;
  height: 30px !important;
  padding: 0 8px !important;
  font-size: .85rem !important;
  line-height: 1.2 !important;
  box-sizing: border-box;
  vertical-align: middle;
}

#workshopDetailsDescription p,
#workshopDetailsDescription div {
  margin: 0 0 0.18rem;
}
#workshopDetailsDescription p:last-child,
#workshopDetailsDescription div:last-child {
  margin-bottom: 0;
}
#workshopDetailsDescription ul,
#workshopDetailsDescription ol {
  margin: 0.15rem 0 0.2rem 1.15rem;
  padding: 0;
}
#workshopDetailsDescription li {
  margin: 0.06rem 0;
}

.login-card .auth-form button {
  width: 100%;
  justify-content: center;
}

.remember-line {
  display: flex;
  justify-content: flex-start;
  margin: -8px 0 16px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--brand-green);
}

.remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-green);
}

.remember span {
  cursor: pointer;
}

.summary-card {
  background: var(--brand-cream);
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(29, 65, 58, 0.12);
  margin-bottom: 18px;
}
.cards-grid.pills.claims {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

@media (max-width: 1000px) {
  .cards-grid.pills.claims { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 560px) {
  .cards-grid.pills.claims { grid-template-columns: 1fr; }
}
