﻿:root {
  --navy: #0b1c5a;
  --blue: #244ac8;
  --green: #2bb673;
  --yellow: #f6e21c;
  --bg: #f2f4f8;
  --text: #10162a;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(11, 28, 90, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 28, 90, 0.08);
  color: var(--navy);
}

.site-band {
  height: 26px;
  background: linear-gradient(140deg, #0b1c5a 0%, #10256f 60%, #1b3fb6 100%);
  border-bottom: 1px solid rgba(11, 28, 90, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  background: none;
  border: none;
  display: grid;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  display: block;
}

.header-cta {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "brand toggle cta";
    align-items: center;
    gap: 10px 12px;
    padding: 12px 0;
  }

  .brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .brand-logo {
    height: 60px;
    image-rendering: -webkit-optimize-contrast;
  }

  .menu-toggle {
    grid-area: toggle;
    justify-self: end;
  }

  .header-cta {
    grid-area: cta;
    width: 100%;
    justify-self: end;
    text-align: center;
  }

  .site-header .site-nav {
    inset: 72px 16px auto;
  }
}

.site-nav {
  position: fixed;
  inset: 72px 16px auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.site-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-nav.static-nav {
  position: static;
  background: none;
  padding: 0;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 600;
}

.site-nav a.active {
  background: rgba(11, 28, 90, 0.08);
  color: var(--navy);
  font-weight: 600;
}

.site-nav a:hover {
  background: rgba(11, 28, 90, 0.08);
}

.hero {
  position: relative;
  padding: 96px 0 64px;
  background: url("assets/Fundo.jpeg") center 15% / cover no-repeat;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 45, 0.82), rgba(11, 28, 90, 0.72));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(11, 28, 90, 0.65), rgba(36, 74, 200, 0.35));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  gap: 32px;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(246, 226, 28, 0.2);
  font-size: 14px;
  margin-bottom: 18px;
  color: #fff;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.lead {
  font-size: 18px;
  margin-bottom: 22px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn.primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.btn.ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.hero .btn.ghost {
  border-color: #fff;
  color: #fff;
}

.hero-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(420px, 90%);
  margin: 0 auto;
}

.hero-visual img {
  width: 100%;
}

.hero-logo {
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(11, 28, 90, 0.28);
  width: 100%;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.hero-card {
  width: 100%;
}
.hero-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: #fff;
}

#valores.section-alt {
  background: linear-gradient(160deg, #10256f 0%, #1c3fb1 60%, #244ac8 100%);
  color: #fff;
  padding-top: 88px;
}

#valores .section-head p,
#valores .note {
  color: rgba(255, 255, 255, 0.75);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0;
}

.availability-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.availability-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.availability-controls label {
  font-weight: 600;
  font-size: 14px;
}

.availability-controls input,
.availability-controls select {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(11, 28, 90, 0.2);
  font-family: inherit;
}

.availability-court-filter-label,
.availability-court-filter {
  display: none;
}

.availability-court-filter-wrap {
  display: none;
}

@media (max-width: 720px) {
  .availability-court-filter-wrap {
    display: flex;
    flex-basis: 100%;
    width: 100%;
    gap: 10px;
    align-items: center;
  }

  .availability-court-filter {
    display: inline-flex;
    min-width: 140px;
    width: 100%;
  }

  .availability-court-filter-label {
    display: inline-flex;
    white-space: nowrap;
  }
}

.availability-controls .btn.ghost {
  padding: 8px 12px;
}

.availability-controls .availability-today-btn {
  padding: 8px 12px;
}

.availability-controls .calendar-this-month-btn {
  padding: 8px 12px;
}

.availability-day-label {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 28, 90, 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.availability-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 10px 0 18px;
}

.availability-actions .note {
  margin: 0;
  color: rgba(16, 22, 42, 0.7);
}

.booking-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.booking-cta__btn {
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11, 28, 90, 0.14);
}

.booking-cta__btn.btn.primary {
  background: var(--green);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.12);
}

.booking-cta__btn.btn.primary:hover {
  background: #24a864;
}

.booking-cta__btn.btn.primary:active {
  background: #1f8d56;
}

.booking-cta__btn.btn.primary:focus-visible {
  outline: 3px solid rgba(246, 226, 28, 0.75);
  outline-offset: 4px;
}

.booking-cta__btn:hover {
  transform: translateY(-1px);
}

.booking-cta__btn:active {
  transform: translateY(0);
}

.booking-cta__note {
  max-width: 56ch;
}

@media (max-width: 520px) {
  .booking-cta {
    width: 100%;
    align-items: stretch;
  }

  .booking-cta__btn {
    width: 100%;
  }
}

.availability-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 12px;
}

.availability-matrix-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.availability-table.availability-matrix {
  min-width: 0;
  table-layout: fixed;
}

.availability-table.availability-matrix th,
.availability-table.availability-matrix td {
  padding: 8px 6px;
}

.availability-table.availability-matrix th {
  font-size: 12px;
  word-break: break-word;
  hyphens: auto;
}

.availability-table.availability-matrix .availability-time {
  font-size: 13px;
}

.availability-table.availability-matrix select {
  padding: 6px 8px;
  font-size: 13px;
  min-width: 0;
}

.availability-table.availability-matrix .availability-request {
  padding: 10px 10px;
  font-size: 13px;
  border-radius: 999px;
  line-height: 1.05;
  min-width: 0;
}

.availability-table.availability-matrix .availability-request.availability-request-compact {
  white-space: normal;
}

.availability-table th,
.availability-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(11, 28, 90, 0.08);
  text-align: left;
  vertical-align: top;
}

.availability-table th.cell-center,
.availability-table td.cell-center {
  text-align: center;
  vertical-align: middle;
}

.availability-table .availability-time {
  white-space: nowrap;
  font-weight: 700;
  color: var(--navy);
}

.availability-table th {
  background: rgba(11, 28, 90, 0.06);
  font-size: 14px;
  text-align: center;
}

.availability-table th:first-child {
  text-align: left;
}

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

.availability-table td[data-status="indisponivel"] {
  background: rgba(192, 57, 43, 0.08);
}

.availability-table td[data-status="mensal"] {
  background: rgba(243, 156, 18, 0.12);
}

.availability-table td[data-status="avulso"] {
  background: rgba(41, 128, 185, 0.12);
}

.court-block {
  margin-top: 18px;
}

.court-block h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.status-label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 8px;
}

.availability-table td[data-status]:not([data-status="livre"]) {
  text-align: center;
  vertical-align: middle;
}

.availability-table td[data-status]:not([data-status="livre"]) .status-label {
  margin-bottom: 0;
}

.availability-request {
  width: 100%;
}

.availability-request.availability-request-compact {
  white-space: nowrap;
}

.availability-table input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(11, 28, 90, 0.2);
  font-family: inherit;
}

.availability-table select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(11, 28, 90, 0.2);
  font-family: inherit;
  background: #fff;
}

.embedded .availability-table {
  font-size: 13px;
}

.embedded .availability-table input,
.embedded .availability-table select,
.embedded .availability-table textarea,
.embedded .availability-table button {
  font-size: 13px;
  font-family: inherit;
}

.availability-table input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.availability-table .btn-table-action {
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.availability-table .btn-danger {
  border-color: var(--red);
  color: var(--red);
}

.availability-table .btn-danger:hover {
  background: rgba(215, 32, 32, 0.08);
}

.availability-table td input:disabled {
  background: rgba(11, 28, 90, 0.05);
  color: rgba(11, 28, 90, 0.5);
}

/* Courts (admin) */
.courts-v2-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.courts-v2-table {
  min-width: 860px;
}

.courts-v2-field {
  display: grid;
  gap: 6px;
}

.courts-v2-field-label {
  display: none;
  font-size: 12px;
  font-weight: 800;
  color: rgba(11, 28, 90, 0.75);
  letter-spacing: 0.2px;
}

.courts-v2-table th:last-child,
.courts-v2-table td:last-child {
  width: 1%;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

@media (max-width: 680px) {
  .courts-v2-field-label {
    display: block;
  }

  .courts-v2-wrap {
    overflow: visible;
  }

  .courts-v2-table {
    min-width: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .courts-v2-table thead {
    display: none;
  }

  .courts-v2-table tbody,
  .courts-v2-table tr,
  .courts-v2-table td {
    display: block;
    width: 100%;
  }

  .courts-v2-table tr {
    margin: 12px 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(11, 28, 90, 0.1);
  }

  .courts-v2-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(11, 28, 90, 0.08);
  }

  .courts-v2-table td:last-child {
    border-bottom: none;
    text-align: right;
  }

  .courts-v2-table td:last-child .courts-v2-field {
    justify-items: end;
  }

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

.availability-table .btn-delete-x {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  border-color: rgba(215, 32, 32, 0.28);
  color: rgba(215, 32, 32, 0.9);
}

.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  min-width: 520px;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  width: 1%;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

/* Booking assistant (public) */
.no-scroll {
  overflow: hidden;
}

.booking-assistant-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(16, 22, 42, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  padding: 14px;
  display: grid;
  align-items: end;
}

.booking-assistant-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.booking-assistant-sheet {
  width: min(820px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(11, 28, 90, 0.12);
  max-height: min(86vh, 760px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.booking-assistant-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(11, 28, 90, 0.06), rgba(36, 74, 200, 0.08));
  border-bottom: 1px solid rgba(11, 28, 90, 0.1);
}

.booking-assistant-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.booking-assistant-title strong {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.booking-assistant-title span {
  font-size: 12px;
  color: rgba(16, 22, 42, 0.72);
}

.booking-assistant-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(11, 28, 90, 0.14);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: var(--navy);
}

.booking-assistant-body {
  padding: 16px;
  overflow: auto;
}

.booking-assistant-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid rgba(11, 28, 90, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.booking-footer-spacer {
  flex: 1;
}

.booking-field {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.booking-field label,
.booking-field-label {
  font-weight: 800;
  color: var(--navy);
  font-size: 13px;
}

.booking-field input[type="date"] {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 28, 90, 0.2);
  font-family: inherit;
  width: 100%;
}

.booking-turnos,
.booking-modalities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.booking-slots {
  display: grid;
  gap: 12px;
}

.booking-court-card {
  border: 1px solid rgba(11, 28, 90, 0.12);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.booking-court-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.booking-court-name {
  font-weight: 900;
  color: var(--navy);
}

.booking-court-meta {
  font-size: 12px;
  color: rgba(16, 22, 42, 0.72);
}

.booking-times {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.booking-chip {
  appearance: none;
  border: 1px solid rgba(11, 28, 90, 0.16);
  background: rgba(11, 28, 90, 0.04);
  color: var(--navy);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.16s ease;
}

.booking-chip:hover {
  background: rgba(11, 28, 90, 0.07);
}

.booking-chip.active {
  background: rgba(36, 74, 200, 0.12);
  border-color: rgba(36, 74, 200, 0.5);
}

.booking-confirm-card {
  border: 1px solid rgba(11, 28, 90, 0.12);
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 26px rgba(11, 28, 90, 0.12);
}

.booking-confirm-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
}

.booking-confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(11, 28, 90, 0.08);
}

.booking-confirm-row:last-of-type {
  border-bottom: none;
}

.booking-confirm-row span {
  color: rgba(16, 22, 42, 0.7);
}

.booking-confirm-row strong {
  color: var(--navy);
}

.booking-hint {
  margin: 0;
}

/* Admin shell (topbar + embedded pages) */
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: linear-gradient(140deg, #0b1c5a 0%, #10256f 60%, #1b3fb6 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
}

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

.admin-brand-mark {
  width: 84px;
  height: 56px;
  border-radius: 18px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  object-fit: contain;
}

.admin-brand-text {
  display: grid;
  line-height: 1.1;
}

.admin-brand-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.admin-brand-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
}

.admin-nav-toggle {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  display: none;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 800;
}

.admin-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.admin-nav-toggle-text {
  font-size: 13px;
  opacity: 0.92;
}

.admin-nav-toggle-current {
  font-size: 13px;
  white-space: nowrap;
}

.admin-nav-toggle-caret {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  margin-left: 4px;
}

.admin-nav-toggle-caret svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-nav-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
}

.admin-nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.admin-nav-btn.active {
  background: rgba(246, 226, 28, 0.18);
  border-color: rgba(246, 226, 28, 0.45);
}

.admin-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
}

.admin-nav-icon svg,
.admin-exit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-nav-label {
  font-size: 13px;
  white-space: nowrap;
}

.admin-exit {
  height: 46px;
  border-radius: 14px;
  min-width: 46px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--green);
}

.admin-exit-label {
  white-space: nowrap;
}

.admin-exit:hover {
  background: #24a864;
}

.admin-exit:active {
  background: #1f8d56;
}

.admin-exit:focus-visible {
  outline: 3px solid rgba(246, 226, 28, 0.75);
  outline-offset: 4px;
}

.admin-shell {
  padding: 18px 0 46px;
}

.admin-frame-wrap {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 28, 90, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#admin-frame {
  width: 100%;
  border: 0;
  display: block;
  height: calc(100vh - 132px);
  background: transparent;
}

.embedded body {
  background: transparent;
}

.embedded .site-header {
  display: none;
}

.embedded .site-band {
  display: none;
}

.embedded .section {
  padding: 28px 0 42px;
}

@media (max-width: 780px) {
  .admin-topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

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

  .admin-nav-toggle {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
  }

  .admin-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(7, 15, 48, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .admin-nav.is-open .admin-nav-menu {
    display: flex;
  }

  .admin-nav-menu .admin-nav-btn {
    width: 100%;
    justify-content: flex-start;
  }

  #admin-frame {
    height: calc(100vh - 206px);
  }

  .admin-exit {
    align-self: flex-end;
  }
}

.modalities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 12px;
}

.modalities-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.availability-table textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(11, 28, 90, 0.2);
  font-family: inherit;
  resize: vertical;
}

.pricing-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}
.home-carousel {
  padding: 16px 0 8px;
}

.home-carousel__viewport {
  overflow: hidden;
  border-radius: 26px;
  padding: 8px;
  background: rgba(11, 28, 90, 0.04);
}

.home-carousel__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 6px;
  animation: home-carousel-marquee 60s linear infinite;
}

.home-carousel__viewport:hover .home-carousel__track,
.home-carousel__viewport:focus-within .home-carousel__track {
  animation-play-state: paused;
}

.home-carousel__card {
  flex: 0 0 auto;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(11, 28, 90, 0.10);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.home-carousel__card img {
  width: 340px;
  height: 240px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 240ms ease;
}

.home-carousel__card:hover img {
  transform: scale(1.04);
}

.home-carousel__viewport:focus-visible {
  outline: 3px solid rgba(30, 143, 255, 0.55);
  outline-offset: 4px;
  border-radius: 18px;
}

@keyframes home-carousel-marquee {
  to { transform: translateX(calc(-50% - 9px)); }
}

@media (prefers-reduced-motion: reduce) {
  .home-carousel__track { animation: none; }
}

@media (min-width: 980px) {
  .home-carousel__card img {
    width: 420px;
    height: 260px;
  }
}
.availability-grid {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.availability-day {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 28, 90, 0.08);
}

.availability-day h3 {
  margin: 0 0 12px;
  color: var(--navy);
}

.slot {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(11, 28, 90, 0.08);
}

.slot:last-child {
  border-bottom: none;
}

.slot strong {
  font-size: 16px;
}

.slot .status {
  font-weight: 600;
  color: var(--green);
}

.slot[data-status="indisponivel"] .status {
  color: #c0392b;
}

.slot[data-status="mensal"] .status {
  color: #f39c12;
}

.admin-link {
  position: fixed;
  right: 20px;
  bottom: 90px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11, 28, 90, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 12px;
  cursor: pointer;
  z-index: 300;
}

.cards {
  display: grid;
  gap: 18px;
}

.structure-media {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.structure-media figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.structure-media img {
  width: 100%;
  height: auto;
  display: block;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  border-top: 4px solid rgba(36, 74, 200, 0.2);
}

.card h3 {
  margin: 0;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(246, 226, 28, 0.18);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
}


.pricing {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.pricing-weekdays,
.pricing-extras {
  display: grid;
  gap: 18px;
}

.pricing-extras-stack {
  display: grid;
  gap: 18px;
  align-content: start;
}

.pricing-day-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-day-filter-label {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.pricing-day-select {
  border: 1px solid rgba(11, 28, 90, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  min-height: 44px;
}

.pricing-day-select:focus-visible {
  outline: 3px solid rgba(250, 217, 23, 0.55);
  outline-offset: 2px;
}

.pricing-day-filter-buttons {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.pricing-day-filter-btn {
  border: 1px solid rgba(11, 28, 90, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  min-height: 44px;
  flex: 0 0 auto;
}

.pricing-day-filter-btn.is-active {
  background: var(--yellow);
  border-color: rgba(11, 28, 90, 0.22);
}

.pricing-day-filter-btn:focus-visible {
  outline: 3px solid rgba(250, 217, 23, 0.55);
  outline-offset: 2px;
}

.price-block {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(11, 28, 90, 0.1);
  display: grid;
  gap: 12px;
  color: var(--navy);
  box-shadow: 0 16px 30px rgba(11, 28, 90, 0.2);
  align-content: start;
}

.price-block h3 {
  margin: 0;
  color: var(--navy);
  background: var(--yellow);
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 14px;
  text-align: center;
  height: 44px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(11, 28, 90, 0.12);
  font-weight: 600;
}

.price-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-check {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(11, 28, 90, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: rgba(11, 28, 90, 0.03);
}

.price-check svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-cta {
  margin-top: 12px;
  width: 100%;
}

.pricing > .price-cta {
  grid-column: 1 / -1;
}

.price-row span {
  font-weight: 600;
  color: var(--navy);
}

.price-time {
  font-weight: 700;
}

.price-hour,
.price-month {
  font-weight: 600;
  color: #0b1c5a;
}

.price-row:last-child {
  border-bottom: none;
}

.note {
  font-size: 14px;
  color: rgba(16, 22, 42, 0.7);
  margin-top: 16px;
}

.choperia {
  display: grid;
  gap: 24px;
  align-items: center;
}

.choperia-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--yellow);
}

.choperia-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.gallery {
  display: grid;
  gap: 16px;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery img {
  width: 100%;
  height: auto;
}

.location-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.map {
  margin: 16px 0;
}

.map iframe {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}


.map-placeholder {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px dashed rgba(11, 28, 90, 0.3);
}


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

.form {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  border-top: 4px solid var(--yellow);
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.form input,
.form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(11, 28, 90, 0.2);
  font-family: inherit;
}

.socials {
  margin-top: 16px;
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 32px 0;
}

.footer-inner {
  display: grid;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-inner img {
  height: 36px;
  margin: 0 auto;
}

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-credit img {
  height: 48px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 300;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 90, 0.85);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 400;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: min(90vw, 900px);
  max-height: 90vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 28px;
  cursor: pointer;
}

@media (min-width: 860px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    background: none;
    padding: 0;
    box-shadow: none;
    display: flex;
    gap: 12px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .structure-media {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-weekdays {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .pricing-extras {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }

  .availability-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .choperia,
  .location,
  .contact {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-inner {
    grid-template-columns: auto 1fr;
    text-align: left;
  }

  .footer-credit {
    justify-content: flex-end;
  }
}

@media (max-width: 859px) {
  .hero-meta {
    flex-direction: column;
  }
}
