:root {
  --tm-primary: #0b6fbd;
  --tm-primary-dark: #085693;
  --tm-secondary: #1f8ad6;
  --tm-accent: #ebf5ff;
  --tm-bg: #f4f8fc;
  --tm-bg-soft: #f8fbff;
  --tm-text: #102c43;
  --tm-muted: #5d7185;
  --tm-line: #d9e5f0;
  --tm-success: #1c9960;
  --tm-shadow-sm: 0 10px 24px rgba(12, 40, 67, 0.08);
  --tm-shadow-md: 0 20px 44px rgba(10, 40, 67, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 85% -10%, rgba(11, 111, 189, 0.1), transparent 38%),
              radial-gradient(circle at 0% 20%, rgba(31, 138, 214, 0.08), transparent 30%),
              var(--tm-bg);
  color: var(--tm-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--tm-primary);
  text-decoration: none;
}

a:hover {
  color: var(--tm-primary-dark);
}

.text-primary {
  color: var(--tm-primary) !important;
}

.btn {
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--tm-primary), var(--tm-secondary));
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(11, 111, 189, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--tm-primary-dark), var(--tm-primary));
  box-shadow: 0 12px 24px rgba(8, 86, 147, 0.26);
}

.btn-outline-primary {
  border-color: rgba(11, 111, 189, 0.45);
  color: var(--tm-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--tm-primary);
  border-color: var(--tm-primary);
  color: #fff;
}

.navbar {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(217, 229, 240, 0.85);
  box-shadow: 0 10px 28px rgba(12, 42, 66, 0.08);
  backdrop-filter: blur(10px);
}

.navbar .container {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.navbar-brand i {
  color: var(--tm-primary);
}

.navbar .nav-link {
  color: #294863;
  font-weight: 600;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--tm-primary-dark);
  background: #eff7ff;
}

.navbar .btn-sm {
  border-radius: 10px;
  padding: 0.46rem 0.9rem;
}

main > section.container {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

main > section.container:first-child {
  padding-top: 2rem !important;
}

main.home-landing > section.container {
  padding-top: 2.8rem !important;
  padding-bottom: 2.8rem !important;
}

main.home-landing > section.container:first-child {
  padding-top: 1.6rem !important;
}

.hero-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 111, 189, 0.16);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.75rem);
  background: linear-gradient(145deg, #ffffff 0%, #f5faff 62%, #edf4ff 100%);
  box-shadow: var(--tm-shadow-md);
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  top: -170px;
  right: -120px;
  background: radial-gradient(circle, rgba(31, 138, 214, 0.24), rgba(31, 138, 214, 0));
  z-index: -1;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  bottom: -110px;
  left: -80px;
  background: radial-gradient(circle, rgba(11, 111, 189, 0.14), rgba(11, 111, 189, 0));
  z-index: -1;
}

.hero-section h1 {
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.hero-section .lead {
  color: var(--tm-muted) !important;
  font-size: 1.08rem;
  max-width: 57ch;
}

.hero-section .btn-lg {
  padding: 0.75rem 1.22rem;
  font-size: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #edf7ff;
  color: var(--tm-primary-dark);
  border: 1px solid rgba(11, 111, 189, 0.18);
  border-radius: 999px;
  font-size: 0.81rem;
  padding: 0.42rem 0.86rem;
  font-weight: 700;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  background: #0e304d;
  color: #fff;
  border-radius: 13px;
  padding: 0.58rem 1rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 26px rgba(14, 48, 77, 0.26);
}

.secure-pill {
  background: #ecfff5;
  color: #156d46;
  border: 1px solid rgba(28, 153, 96, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.84rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.card-soft {
  border: 1px solid #e6edf4;
  border-radius: 18px;
  box-shadow: var(--tm-shadow-sm);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.card-soft .card-body {
  padding: 1.35rem;
}

.hero-section .card-soft {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border: 1px solid rgba(11, 111, 189, 0.18);
}

.hero-section .card-soft .card-body {
  padding: 1.5rem;
}

.hero-section .list-unstyled li {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  color: #3f586f;
}

.hero-section .list-unstyled i {
  margin-top: 0.1rem;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

#como-funciona .card-soft,
#beneficios .card-soft,
#agenda-section .card-soft,
#faq .faq-item,
#contato .card-soft,
.testimonial {
  border-radius: 18px;
}

#como-funciona .card-soft:hover,
#beneficios .card-soft:hover,
main > section.container.py-5 .card-soft:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(9, 42, 74, 0.11);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #edf7ff, #dff0ff);
  color: var(--tm-primary);
  font-size: 1.36rem;
  box-shadow: inset 0 0 0 1px rgba(11, 111, 189, 0.14);
}

#como-funciona h6,
#beneficios h5,
#agenda-section h5,
#contato h5,
#contato h2,
#faq h2 {
  color: #173b58;
}

#beneficios .text-muted,
#como-funciona .text-muted,
#contato .text-muted,
#agenda-section .text-muted,
#faq .accordion-body,
.testimonial p {
  color: var(--tm-muted) !important;
}

main > section.container.py-5:not([id]) .card-soft {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

main > section.container.py-5:not([id]) .card-soft .fs-3 {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  background: #eaf5ff;
  border-radius: 14px;
}

.agenda-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-radius: 24px;
  border: 1px solid #dce8f2;
  padding: 1.25rem;
  box-shadow: 0 16px 34px rgba(12, 45, 72, 0.1);
}

.agenda-wrapper [data-role="date-label"] {
  font-weight: 800;
  color: #173d5d;
  letter-spacing: -0.01em;
}

.agenda-wrapper [data-role="prev-day"],
.agenda-wrapper [data-role="next-day"] {
  border-color: rgba(11, 111, 189, 0.35);
  color: var(--tm-primary);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-grid;
  place-items: center;
}

.agenda-wrapper [data-role="prev-day"]:hover,
.agenda-wrapper [data-role="next-day"]:hover {
  background: #edf7ff;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.slot-btn {
  border: 1px solid rgba(11, 111, 189, 0.27);
  background: #f7fcff;
  color: var(--tm-primary-dark);
  border-radius: 11px;
  padding: 0.62rem;
  font-weight: 700;
  font-size: 0.93rem;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.slot-btn:hover,
.slot-btn:focus-visible {
  border-color: var(--tm-primary);
  background: #eaf5ff;
  box-shadow: 0 8px 16px rgba(11, 111, 189, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.slot-btn:disabled {
  opacity: 0.6;
}

#agenda-section .col-lg-4 .card-soft {
  background: linear-gradient(145deg, #0c4e82 0%, #0e639f 50%, #1574b9 100%);
  border: 0;
  box-shadow: 0 24px 38px rgba(8, 63, 105, 0.3);
}

#agenda-section .col-lg-4 .card-soft h5,
#agenda-section .col-lg-4 .card-soft .text-muted,
#agenda-section .col-lg-4 .card-soft .small,
#agenda-section .col-lg-4 .card-soft li {
  color: rgba(255, 255, 255, 0.94) !important;
}

#agenda-section .col-lg-4 .card-soft ul {
  padding-left: 1.05rem !important;
}

#agenda-section .col-lg-4 .card-soft .btn-primary {
  background: #fff;
  color: #0c4e82;
  box-shadow: 0 12px 24px rgba(3, 33, 56, 0.28);
}

#agenda-section .col-lg-4 .card-soft .btn-primary:hover,
#agenda-section .col-lg-4 .card-soft .btn-primary:focus {
  background: #eaf5ff;
  color: #0c4e82;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e1ebf4;
  box-shadow: 0 8px 18px rgba(8, 42, 71, 0.06);
}

#faqAccordion {
  max-width: 860px;
  margin: 0 auto;
}

#faq .accordion-button {
  font-weight: 700;
  color: #173b58;
  background: #fff;
  padding: 1rem 1.15rem;
}

#faq .accordion-button:not(.collapsed) {
  color: var(--tm-primary-dark);
  background: #f0f8ff;
  box-shadow: none;
}

#faq .accordion-button:focus {
  box-shadow: none;
}

#faq .accordion-body {
  background: #fff;
  padding-top: 0.2rem;
}

.testimonial {
  position: relative;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e3edf5;
  box-shadow: 0 12px 24px rgba(11, 39, 66, 0.07);
  padding: 1.5rem 1.25rem 1.2rem;
  height: 100%;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: 12px;
  color: rgba(11, 111, 189, 0.16);
  font-size: 2.6rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial strong {
  color: #184765;
  font-size: 0.95rem;
}

#contato form.card-soft {
  border: 1px solid #dce8f2;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(11, 39, 63, 0.1);
  background: #fff;
}

#contato .form-label {
  font-weight: 600;
  color: #27435b;
  margin-bottom: 0.42rem;
}

#contato .form-control {
  border-radius: 12px;
  border: 1px solid #d5e2ec;
  color: #17384f;
  padding: 0.66rem 0.78rem;
  background: #fcfeff;
}

#contato .form-control:focus {
  border-color: rgba(11, 111, 189, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(11, 111, 189, 0.16);
  background: #fff;
}

#contato textarea.form-control {
  min-height: 128px;
}

#contato .col-lg-6:last-child .card-soft {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border: 1px solid #dce8f2;
}

#contato .col-lg-6:last-child ul {
  padding-left: 1.05rem !important;
}

#authPromptModal .modal-content,
#bookSlotModal .modal-content,
#appointmentSaveModal .modal-content {
  border: 1px solid #dbe7f2;
  border-radius: 18px;
  box-shadow: 0 26px 42px rgba(8, 35, 59, 0.24);
}

#authPromptModal .modal-header,
#bookSlotModal .modal-header,
#appointmentSaveModal .modal-header {
  border-bottom-color: #e6eef5;
  padding-bottom: 0.8rem;
}

#authPromptModal .modal-footer,
#bookSlotModal .modal-footer,
#appointmentSaveModal .modal-footer {
  border-top-color: #e6eef5;
}

#authPromptModal .modal-title,
#bookSlotModal .modal-title,
#appointmentSaveModal .modal-title {
  color: #153a58;
  font-weight: 700;
}

#bookSlotModal .form-check {
  border: 1px solid #dbe6ef;
  border-radius: 12px;
  padding: 0.7rem 0.9rem 0.7rem 2rem;
  background: #fbfdff;
}

#bookSlotModal .form-check + .form-check {
  margin-top: 0.55rem;
}

#bookSlotModal .form-check-input {
  margin-left: -1.2rem;
  margin-top: 0.35rem;
}

#bookSlotModal .form-check-input:checked {
  background-color: var(--tm-primary);
  border-color: var(--tm-primary);
}

#bookSlotModal .form-check-label {
  color: #274a64;
  font-weight: 600;
}

#bookSlotModal .form-check-input:checked + .form-check-label {
  color: var(--tm-primary-dark);
}

#appointmentSaveModal .modal-body {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.appointment-save-progress {
  height: 0.95rem;
  background: #eaf2f8;
  border-radius: 999px;
  overflow: hidden;
}

.appointment-save-progress .progress-bar {
  background: linear-gradient(90deg, #0f5c95 0%, #1280c9 100%);
  font-weight: 700;
}

.appointment-save-spinner,
.appointment-save-success-icon,
.appointment-save-error-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.appointment-save-spinner {
  color: #0f5c95;
  background: linear-gradient(180deg, #eaf5ff 0%, #f7fbff 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 92, 149, 0.12);
}

.appointment-save-success-icon {
  color: #fff;
  background: linear-gradient(180deg, #17a564 0%, #148e56 100%);
  box-shadow: 0 18px 28px rgba(20, 142, 86, 0.18);
}

.appointment-save-error-icon {
  color: #fff;
  background: linear-gradient(180deg, #d9485f 0%, #c9364d 100%);
  box-shadow: 0 18px 28px rgba(201, 54, 77, 0.18);
}

.site-footer {
  background: linear-gradient(180deg, #0f2940 0%, #102f48 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #d6e4f0;
}

.site-footer h5,
.site-footer h6 {
  color: #fff;
}

.site-footer .text-muted,
.site-footer .small,
.site-footer span,
.site-footer p {
  color: #c2d4e3 !important;
}

.site-footer a {
  color: #e6f2fd;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer hr {
  border-color: rgba(194, 212, 227, 0.26);
}

.dashboard-shell {
  min-height: 100vh;
}

.dashboard-main {
  width: 100%;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-right: 1px solid #e7eef5;
  min-height: calc(100vh - 56px);
  box-shadow: inset -1px 0 0 rgba(231, 238, 245, 0.9);
}

.dashboard-sidebar-brand {
  padding: 1.35rem 1.2rem 1.15rem;
  border-bottom: 1px solid #e7eef5;
}

.dashboard-sidebar-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: #edf7ff;
  border: 1px solid rgba(11, 111, 189, 0.12);
  color: var(--tm-primary-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-sidebar-brand h5 {
  color: #163b58;
  font-weight: 800;
}

.dashboard-sidebar-brand p,
.dashboard-sidebar-footer span {
  color: var(--tm-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.dashboard-sidebar-nav {
  padding: 1rem;
  gap: 0.35rem !important;
}

.dashboard-sidebar-footer {
  margin-top: auto;
  padding: 1rem 1.2rem 1.25rem;
  border-top: 1px solid #e7eef5;
  display: grid;
  gap: 0.45rem;
}

.dashboard-sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #31485f;
  border-radius: 14px;
  font-weight: 600;
  padding: 0.85rem 0.95rem;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-sidebar .nav-link i {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: #f3f8fc;
  color: var(--tm-primary-dark);
  transition: background 0.18s ease, color 0.18s ease;
}

.dashboard-sidebar .nav-link.active,
.dashboard-sidebar .nav-link:hover {
  background: #ebf6ff;
  color: var(--tm-primary-dark);
  box-shadow: 0 10px 20px rgba(11, 111, 189, 0.08);
}

.dashboard-sidebar .nav-link.active {
  transform: translateX(2px);
}

.dashboard-sidebar .nav-link.active i,
.dashboard-sidebar .nav-link:hover i {
  background: linear-gradient(145deg, #0f6eb5 0%, #0e8ad8 100%);
  color: #fff;
}

.dashboard-page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(11, 111, 189, 0.12);
  box-shadow: var(--tm-shadow-md);
}

.dashboard-page-hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 111, 189, 0.12), rgba(11, 111, 189, 0));
  pointer-events: none;
}

.dashboard-page-hero-patient {
  background: linear-gradient(145deg, #ffffff 0%, #f5faff 62%, #eaf4ff 100%);
}

.dashboard-page-hero-admin {
  background: linear-gradient(145deg, #ffffff 0%, #f6fbff 58%, #edf6ff 100%);
}

.dashboard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: #edf7ff;
  border: 1px solid rgba(11, 111, 189, 0.14);
  color: var(--tm-primary-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-page-title {
  margin: 0 0 0.8rem;
  color: #163b58;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.dashboard-page-text {
  margin: 0;
  max-width: 62ch;
  color: var(--tm-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.dashboard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 111, 189, 0.12);
  color: #2d4e68;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(14, 44, 73, 0.04);
}

.dashboard-highlight-card {
  border-radius: 22px;
  padding: 1.25rem;
  background: linear-gradient(145deg, #0d3554 0%, #11659d 100%);
  color: #fff;
  box-shadow: 0 24px 38px rgba(8, 63, 105, 0.26);
}

.dashboard-highlight-label {
  display: inline-flex;
  margin-bottom: 0.9rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.dashboard-highlight-value {
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dashboard-highlight-note {
  margin: 0.75rem 0 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.dashboard-highlight-meta {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.dashboard-panel,
.dashboard-quick-card {
  border-radius: 24px;
}

.dashboard-panel .card-body,
.dashboard-quick-card .card-body {
  padding: 1.5rem;
}

.dashboard-panel-header,
.dashboard-table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard-section-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: #edf7ff;
  border: 1px solid rgba(11, 111, 189, 0.12);
  color: var(--tm-primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-panel-title {
  margin: 0;
  color: #173b58;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dashboard-panel-subtitle {
  margin-top: 0.35rem;
  color: var(--tm-muted);
  line-height: 1.6;
}

.dashboard-badge-inline {
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
}

.dashboard-agenda-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.dashboard-agenda-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  background: #edf7ff;
  color: #215274;
  border: 1px solid rgba(11, 111, 189, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-quick-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.dashboard-quick-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.dashboard-quick-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #2f4f68;
}

.dashboard-quick-list i {
  margin-top: 0.08rem;
  color: var(--tm-primary);
}

.dashboard-quick-note,
.dashboard-mini-card {
  padding: 1rem;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid rgba(11, 111, 189, 0.12);
}

.dashboard-quick-note strong,
.dashboard-mini-label {
  display: block;
  margin-bottom: 0.3rem;
  color: #163b58;
}

.dashboard-quick-note span,
.dashboard-mini-card p {
  color: var(--tm-muted);
  line-height: 1.58;
}

.dashboard-upcoming-card {
  padding: 1.2rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e4edf5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.dashboard-upcoming-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 0.9rem;
  color: #37556f;
  font-size: 0.92rem;
  font-weight: 600;
}

.dashboard-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.dashboard-notification-list {
  display: grid;
  gap: 0.9rem;
}

.dashboard-notification-item {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid #e4edf5;
  background: #fbfdff;
}

.dashboard-notification-item.is-unread {
  border-color: rgba(11, 111, 189, 0.18);
  box-shadow: 0 12px 24px rgba(11, 111, 189, 0.06);
}

.dashboard-notification-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.45rem;
}

.dashboard-notification-item strong {
  color: #163b58;
}

.dashboard-notification-item p {
  margin: 0 0 0.4rem;
  color: var(--tm-muted);
  line-height: 1.6;
}

.dashboard-notification-item small {
  color: #7a90a4;
}

.dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0f6eb5 0%, #0e8ad8 100%);
  box-shadow: 0 0 0 5px rgba(11, 111, 189, 0.1);
}

.stat-card {
  border: 1px solid #e4edf5;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(20, 46, 75, 0.08);
}

.dashboard-stat-card .card-body {
  padding: 1.2rem;
}

.dashboard-stat-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.dashboard-stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf7ff, #dff0ff);
  color: var(--tm-primary);
  box-shadow: inset 0 0 0 1px rgba(11, 111, 189, 0.12);
}

.dashboard-stat-icon.warning {
  background: linear-gradient(145deg, #fff8e8, #ffefd0);
  color: #b37b0d;
  box-shadow: inset 0 0 0 1px rgba(179, 123, 13, 0.12);
}

.dashboard-stat-icon.success {
  background: linear-gradient(145deg, #edfdf5, #daf7e7);
  color: #198754;
  box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.12);
}

.dashboard-stat-icon.primary {
  background: linear-gradient(145deg, #eef5ff, #dde9ff);
  color: #2b63ce;
  box-shadow: inset 0 0 0 1px rgba(43, 99, 206, 0.12);
}

.stat-number {
  font-size: 1.35rem;
  font-weight: 800;
}

.dashboard-stat-note {
  margin-top: 0.55rem;
  color: var(--tm-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.dashboard-table-card .card-body {
  padding: 0;
}

.dashboard-table-toolbar {
  padding: 1.3rem 1.4rem 1rem;
  margin-bottom: 0;
  border-bottom: 1px solid #e7eef5;
}

.dashboard-table-shell thead th {
  background: #f6fbff;
  color: #4d657b;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom-width: 1px;
}

.dashboard-table-shell tbody tr td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.dashboard-status-text {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-status-text.success {
  background: #ecfff5;
  color: #157347;
}

.dashboard-status-text.muted {
  background: #f4f8fc;
  color: #597084;
}

.empty-state {
  border: 1px dashed #bfd2e3;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  color: var(--tm-muted);
  background: #f8fbff;
}

.timeline {
  border-left: 3px solid #d4e7f1;
  padding-left: 16px;
}

.timeline-item {
  position: relative;
  margin-bottom: 18px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tm-primary);
}

.loader-skeleton {
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e8f1f6 25%, #f7fbfe 50%, #e8f1f6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Landing CRO: reforço visual da primeira dobra, credibilidade e clareza do caminho */
.home-landing .hero-redesign {
  padding: clamp(2rem, 4.8vw, 4rem);
}

.home-landing .hero-chip-row,
.home-landing .hero-inline-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-landing .hero-chip,
.home-landing .hero-inline-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  border-radius: 999px;
}

.home-landing .hero-chip {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 111, 189, 0.14);
  color: #234764;
  padding: 0.56rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(14, 44, 73, 0.05);
}

.home-landing .hero-inline-trust span {
  background: rgba(242, 248, 255, 0.9);
  border: 1px solid rgba(11, 111, 189, 0.1);
  color: #3b566f;
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.home-landing .hero-identity-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  color: #4b667d;
  font-size: 0.86rem;
}

.home-landing .hero-identity-note span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-landing .hero-identity-note a {
  color: var(--tm-primary-dark);
  font-weight: 700;
}

.home-landing .hero-side-stack {
  display: grid;
  gap: 1rem;
}

.home-landing .hero-side-card {
  border-radius: 24px;
}

.home-landing .hero-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.home-landing .hero-card-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #53708c;
}

.home-landing .hero-card-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: #ebfff4;
  color: #167d4b;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-landing .hero-card-flow {
  display: grid;
  gap: 0.95rem;
}

.home-landing .hero-flow-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.home-landing .hero-flow-item strong,
.home-landing .hero-card-highlight strong {
  color: #163b58;
}

.home-landing .hero-flow-item p,
.home-landing .hero-card-highlight span {
  color: var(--tm-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.home-landing .hero-flow-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #0f6eb5 0%, #0e8ad8 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(11, 111, 189, 0.22);
}

.home-landing .hero-card-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #0e3554 0%, #124f7e 100%);
  color: #fff;
}

.home-landing .hero-card-highlight strong,
.home-landing .hero-card-highlight span {
  color: rgba(255, 255, 255, 0.96);
  display: block;
}

.home-landing .hero-card-price {
  flex-shrink: 0;
  min-width: 112px;
  text-align: center;
  padding: 0.7rem 0.9rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-landing .hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.home-landing .mini-proof-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(11, 111, 189, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(9, 40, 67, 0.06);
}

.home-landing .mini-proof-card i {
  font-size: 1.2rem;
  color: var(--tm-primary);
}

.home-landing .mini-proof-card strong,
.home-landing .trust-ribbon-item strong,
.home-landing .agenda-side-card strong,
.home-landing .contact-side-list span {
  display: block;
  color: #163b58;
}

.home-landing .mini-proof-card span,
.home-landing .trust-ribbon-item span,
.home-landing .agenda-side-note,
.home-landing .contact-side-list div,
.home-landing .final-cta-meta {
  color: var(--tm-muted);
  font-size: 0.9rem;
}

.home-landing .trust-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-landing .trust-ribbon-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 111, 189, 0.12);
  box-shadow: 0 12px 24px rgba(8, 42, 71, 0.05);
}

.home-landing .trust-ribbon-item i,
.home-landing .benefit-icon,
.home-landing .agenda-status-badge i,
.home-landing .contact-side-list i,
.home-landing .compliance-note i {
  flex-shrink: 0;
  color: var(--tm-primary);
}

.home-landing .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: #edf7ff;
  border: 1px solid rgba(11, 111, 189, 0.14);
  color: var(--tm-primary-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-landing .section-subtitle {
  max-width: 62ch;
  margin: 0.2rem auto 0;
}

.home-landing .process-card,
.home-landing .benefit-card,
.home-landing .document-card,
.home-landing .social-card,
.home-landing .contact-side-card,
.home-landing .agenda-side-card,
.home-landing .compliance-card {
  border-radius: 22px;
}

.home-landing .process-card .card-body,
.home-landing .benefit-card .card-body,
.home-landing .document-card .card-body,
.home-landing .contact-side-card .card-body,
.home-landing .agenda-side-card .card-body,
.home-landing .compliance-card .card-body {
  padding: 1.55rem;
}

.home-landing .process-step,
.home-landing .benefit-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(145deg, #edf7ff, #dff0ff);
  color: var(--tm-primary);
  box-shadow: inset 0 0 0 1px rgba(11, 111, 189, 0.12);
}

.home-landing .process-card h5,
.home-landing .benefit-card h5,
.home-landing .document-card h5 {
  margin-bottom: 0.55rem;
  color: #163b58;
}

.home-landing .agenda-shell {
  align-items: stretch !important;
}

.home-landing .agenda-wrapper {
  height: 100%;
}

.home-landing .agenda-wrapper-header {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 1rem;
}

.home-landing .agenda-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #edf7ff;
  color: #215274;
  border: 1px solid rgba(11, 111, 189, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-landing .agenda-nav-row {
  gap: 1rem;
}

.home-landing .agenda-side-card {
  background: linear-gradient(160deg, #0d4470 0%, #11659d 100%) !important;
  border: 0 !important;
  box-shadow: 0 24px 38px rgba(8, 63, 105, 0.28);
}

.home-landing .agenda-side-card h5,
.home-landing .agenda-side-card .small,
.home-landing .agenda-side-card .agenda-side-note,
.home-landing .agenda-side-card strong,
.home-landing .agenda-side-card li {
  color: rgba(255, 255, 255, 0.96) !important;
}

.home-landing .agenda-side-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.home-landing .agenda-side-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.home-landing .agenda-side-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.home-landing .agenda-side-list i {
  margin-top: 0.1rem;
}

.home-landing .agenda-side-note {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-landing .compliance-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home-landing .compliance-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #f6fbff;
  border: 1px solid rgba(11, 111, 189, 0.12);
  color: #34526b;
}

.home-landing .document-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.home-landing .document-card .card-body {
  position: relative;
}

.home-landing .document-card .card-body::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 0.95rem;
  background: linear-gradient(90deg, var(--tm-primary), #54b5ea);
}

.home-landing .social-card {
  padding: 1.75rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.home-landing .social-card p {
  font-size: 0.98rem;
  line-height: 1.7;
}

.testimonial-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: #edf7ff;
  color: var(--tm-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.testimonial-meta i {
  color: #f2a93b;
}

.home-landing .social-card strong {
  margin-top: auto;
}

.home-landing .final-cta-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f9ff 62%, #eaf4ff 100%);
  border: 1px solid rgba(11, 111, 189, 0.13);
  box-shadow: var(--tm-shadow-md);
}

.home-landing .final-cta-meta {
  text-align: center;
  font-weight: 600;
}

.home-landing .contact-side-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home-landing .contact-side-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.2rem;
}

.home-landing .contact-side-list div {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 0.95rem;
  border-radius: 15px;
  background: #fbfdff;
  border: 1px solid #e4edf5;
}

.home-landing .contact-side-list i {
  margin-top: 0.1rem;
  font-size: 1.1rem;
}

.auth-shell {
  max-width: 1120px;
}

.auth-page-intro {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.auth-page-title {
  margin: 0 0 0.8rem;
  color: #163b58;
  font-size: clamp(1.95rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.auth-page-subtitle {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--tm-muted);
  font-size: 1.02rem;
}

.auth-page-intro.text-lg-start .auth-page-subtitle {
  margin-left: 0;
}

.auth-page-intro.text-lg-start .auth-benefit-row {
  justify-content: flex-start;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: #edf7ff;
  border: 1px solid rgba(11, 111, 189, 0.14);
  color: var(--tm-primary-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.52rem 0.86rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 111, 189, 0.12);
  color: #2d4e68;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(12, 40, 67, 0.04);
}

.auth-form-card,
.auth-side-card {
  border-radius: 24px;
}

.auth-side-card {
  position: sticky;
  top: 92px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.auth-side-list {
  display: grid;
  gap: 0.95rem;
}

.auth-side-list div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.auth-side-list span,
.auth-section-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #0f6eb5 0%, #0e8ad8 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(11, 111, 189, 0.18);
}

.auth-side-list p {
  margin: 0;
  color: var(--tm-muted);
  line-height: 1.6;
}

.auth-helper {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: #f6fbff;
  border: 1px solid rgba(11, 111, 189, 0.12);
}

.auth-helper strong {
  color: #163b58;
}

.auth-helper span {
  color: var(--tm-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.auth-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid #e7eef5;
}

.auth-progress-step {
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  background: #f4f8fc;
  border: 1px solid #e0ebf4;
  color: #5a7186;
  font-size: 0.82rem;
  font-weight: 700;
}

.auth-progress-step.active {
  background: #edf7ff;
  border-color: rgba(11, 111, 189, 0.16);
  color: var(--tm-primary-dark);
}

.auth-section + .auth-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef3f7;
}

.auth-section-header {
  display: flex;
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 1rem;
}

.auth-section-header h2 {
  margin: 0 0 0.2rem;
  color: #163b58;
  font-size: 1.08rem;
  font-weight: 800;
}

.auth-section-header p {
  margin: 0;
  color: var(--tm-muted);
  font-size: 0.92rem;
}

.auth-form-card .form-label {
  color: #26455d;
  font-weight: 700;
  margin-bottom: 0.42rem;
}

.auth-form-card .form-control,
.auth-form-card .form-select {
  border-radius: 13px;
  border: 1px solid #d5e2ec;
  color: #17384f;
  padding: 0.72rem 0.8rem;
  background: #fcfeff;
}

.auth-form-card .form-control:focus,
.auth-form-card .form-select:focus {
  border-color: rgba(11, 111, 189, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(11, 111, 189, 0.16);
  background: #fff;
}

.auth-form-card .form-check-label {
  color: #466076;
}

.auth-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.auth-time-note {
  color: var(--tm-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.auth-link-row a {
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.7rem;
    background: #fff;
    border: 1px solid #dce8f2;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(11, 39, 63, 0.1);
    padding: 0.65rem;
  }

  .navbar .nav-link {
    padding: 0.65rem 0.8rem;
  }

  .navbar-collapse.collapsing {
    transition: height 0.24s linear !important;
    will-change: height;
  }

  .navbar-collapse .nav-item .btn {
    display: block;
    margin: 0.4rem 0.8rem 0;
  }

  main > section.container {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  main.home-landing > section.container {
    padding-top: 2.2rem !important;
    padding-bottom: 2.2rem !important;
  }

  .hero-section {
    padding: 2rem 1.25rem;
    border-radius: 22px;
  }

  .hero-section .d-flex.gap-2 {
    width: 100%;
  }

  .hero-section .d-flex.gap-2 .btn {
    flex: 1 1 220px;
  }

  .price-tag {
    font-size: 1.06rem;
  }

  .home-landing .trust-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-landing .hero-card-highlight {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-landing .hero-card-price {
    min-width: 0;
  }

  .auth-side-card {
    position: static;
  }

  .auth-page-intro.text-lg-start .auth-page-subtitle {
    margin-left: 0;
  }

  #agenda-section .col-lg-4 {
    margin-top: 1rem;
  }

  .dashboard-sidebar {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #e7eef5;
    box-shadow: none;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    max-width: none;
  }

  .hero-badge {
    font-size: 0.76rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .home-landing .hero-proof-grid,
  .home-landing .trust-ribbon {
    grid-template-columns: 1fr;
  }

  .home-landing .hero-inline-trust span,
  .home-landing .hero-chip {
    width: 100%;
    justify-content: center;
  }

  .home-landing .hero-identity-note {
    justify-content: center;
    text-align: center;
  }

  .auth-page-intro {
    text-align: left;
  }

  .auth-page-subtitle {
    margin-left: 0;
  }

  .auth-link-row {
    justify-content: flex-start;
  }

  .slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  }

  .testimonial {
    padding-top: 1.35rem;
  }

  #contato form.card-soft {
    padding: 1rem !important;
  }

  #bookSlotModal .modal-body,
  #authPromptModal .modal-body {
    padding-top: 0.9rem;
  }

  .dashboard-page-title {
    max-width: none;
  }

  .dashboard-panel-header,
  .dashboard-table-toolbar {
    flex-direction: column;
  }

  .dashboard-chip-row {
    gap: 0.55rem;
  }

  .dashboard-chip,
  .dashboard-agenda-pill {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  main > section.container:first-child {
    padding-top: 1.15rem !important;
  }

  main.home-landing > section.container:first-child {
    padding-top: 0.95rem !important;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section .btn-lg {
    width: 100%;
  }

  .home-landing .hero-card-topline {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-landing .agenda-nav-row {
    justify-content: center !important;
  }

  .home-landing .hero-flow-item {
    grid-template-columns: 1fr;
  }

  .home-landing .hero-flow-number {
    margin-bottom: 0.2rem;
  }

  .home-landing .hero-card-highlight {
    text-align: center;
    align-items: center;
  }

  .auth-submit-row .btn {
    width: 100%;
  }

  .home-landing .process-card .card-body,
  .home-landing .benefit-card .card-body,
  .home-landing .document-card .card-body,
  .home-landing .contact-side-card .card-body,
  .home-landing .agenda-side-card .card-body,
  .home-landing .compliance-card .card-body {
    padding: 1.2rem;
  }

  .price-tag,
  .secure-pill {
    width: 100%;
    justify-content: center;
  }

  .auth-side-list div,
  .auth-section-header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .dashboard-page-hero,
  .dashboard-highlight-card,
  .dashboard-panel .card-body,
  .dashboard-quick-card .card-body {
    padding: 1.1rem;
  }

  .dashboard-sidebar-brand,
  .dashboard-sidebar-footer,
  .dashboard-sidebar-nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .dashboard-upcoming-meta,
  .dashboard-action-row,
  .dashboard-highlight-meta {
    display: grid;
  }

  .agenda-wrapper {
    padding: 1rem;
    border-radius: 18px;
  }

  .slot-btn {
    padding: 0.54rem;
    font-size: 0.9rem;
  }

  #agenda-section .col-lg-4 .card-soft .card-body,
  .card-soft .card-body {
    padding: 1rem;
  }
}

body.public-page {
  --psy-bg: #071714;
  --psy-bg-soft: #0c221e;
  --psy-surface: rgba(10, 27, 24, 0.84);
  --psy-surface-strong: rgba(15, 43, 38, 0.92);
  --psy-card: rgba(13, 34, 30, 0.8);
  --psy-card-light: rgba(255, 255, 255, 0.06);
  --psy-text: #eff8f4;
  --psy-muted: #9eb8b0;
  --psy-line: rgba(127, 190, 175, 0.16);
  --psy-brand: #0d7b72;
  --psy-brand-strong: #18a294;
  --psy-blue: #276ef1;
  --psy-glow: 0 24px 60px rgba(8, 26, 24, 0.34);
  background:
    radial-gradient(circle at top left, rgba(24, 162, 148, 0.18), transparent 22%),
    radial-gradient(circle at top right, rgba(39, 110, 241, 0.18), transparent 20%),
    linear-gradient(180deg, #071714 0%, #061210 100%);
  color: var(--psy-text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body.public-page::before,
body.public-page::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 38vw;
  height: 38vw;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(42px);
  opacity: 0.18;
  z-index: -1;
}

body.public-page::before {
  top: -8vw;
  left: -8vw;
  background: rgba(24, 162, 148, 0.42);
}

body.public-page::after {
  right: -10vw;
  bottom: 8vh;
  background: rgba(39, 110, 241, 0.32);
}

body.public-page a {
  color: #8be9df;
}

body.public-page a:hover {
  color: #d5fffa;
}

body.public-page .text-muted,
body.public-page .section-subtitle,
body.public-page .lead,
body.public-page .auth-page-subtitle,
body.public-page .auth-helper span,
body.public-page .auth-section-header p,
body.public-page .auth-time-note,
body.public-page .small,
body.public-page p {
  color: var(--psy-muted) !important;
}

body.public-page .navbar {
  background: rgba(6, 18, 16, 0.82) !important;
  border-bottom: 1px solid rgba(127, 190, 175, 0.12);
  box-shadow: 0 18px 40px rgba(2, 10, 9, 0.28);
  backdrop-filter: blur(18px);
}

body.public-page .navbar-brand,
body.public-page .navbar .nav-link {
  color: var(--psy-text) !important;
}

body.public-page .navbar .nav-link:hover,
body.public-page .navbar .nav-link:focus {
  color: #dffff8 !important;
  background: rgba(255, 255, 255, 0.06);
}

body.public-page .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.16);
}

body.public-page .navbar-toggler-icon {
  filter: invert(1);
}

body.public-page .btn {
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.public-page .btn-primary {
  background: linear-gradient(135deg, var(--psy-brand) 0%, var(--psy-brand-strong) 55%, #2aa8ff 100%);
  border: 0;
  box-shadow: 0 18px 32px rgba(13, 123, 114, 0.24);
}

body.public-page .btn-primary:hover,
body.public-page .btn-primary:focus {
  background: linear-gradient(135deg, #0f8a7f 0%, #20b7a6 52%, #5597ff 100%);
  box-shadow: 0 22px 38px rgba(13, 123, 114, 0.3);
}

body.public-page .btn-outline-primary {
  color: #d7fffb;
  border-color: rgba(148, 228, 215, 0.26);
  background: rgba(255, 255, 255, 0.02);
}

body.public-page .btn-outline-primary:hover,
body.public-page .btn-outline-primary:focus {
  color: var(--psy-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 228, 215, 0.4);
}

body.public-page main > section.container {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

body.public-page main.home-landing > section.container:first-child {
  padding-top: 1.45rem !important;
}

body.public-page .hero-section.hero-psychiatry,
body.public-page .card-soft,
body.public-page .final-cta-card,
body.public-page .trust-command,
body.public-page .emotional-copy-card,
body.public-page .booking-fab a,
body.public-page .mobile-sticky-cta {
  border: 1px solid var(--psy-line);
  box-shadow: var(--psy-glow);
}

body.public-page .hero-section.hero-psychiatry {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 4.5vw, 3.4rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 82% 8%, rgba(39, 110, 241, 0.22), transparent 24%),
    linear-gradient(155deg, rgba(6, 22, 19, 0.95) 0%, rgba(11, 37, 33, 0.94) 52%, rgba(14, 60, 55, 0.9) 100%);
}

body.public-page .hero-section.hero-psychiatry::before {
  content: "";
  position: absolute;
  inset: auto auto -8% -2%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 162, 148, 0.2), rgba(24, 162, 148, 0));
}

body.public-page .hero-section.hero-psychiatry h1 {
  max-width: 14ch;
  color: var(--psy-text);
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  letter-spacing: -0.05em;
}

body.public-page .hero-badge,
body.public-page .section-eyebrow,
body.public-page .agenda-side-label,
body.public-page .authority-kicker,
body.public-page .auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.46rem 0.86rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(159, 235, 221, 0.16);
  color: #9ef3e7;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.public-page .hero-chip-row,
body.public-page .hero-inline-trust,
body.public-page .hero-identity-note,
body.public-page .auth-benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

body.public-page .hero-chip,
body.public-page .hero-inline-trust span,
body.public-page .auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8f7f0;
  font-size: 0.92rem;
  font-weight: 600;
}

body.public-page .hero-identity-note span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbe4dd;
  font-size: 0.92rem;
}

body.public-page .hero-visual-card,
body.public-page .trust-command-panel,
body.public-page .authority-card,
body.public-page .agenda-side-card,
body.public-page .contact-side-card,
body.public-page .auth-side-card,
body.public-page .auth-form-card,
body.public-page .site-footer {
  background: var(--psy-surface);
  border: 1px solid var(--psy-line);
  border-radius: 28px;
  backdrop-filter: blur(16px);
}

body.public-page .hero-visual-card {
  padding: 1.5rem;
}

body.public-page .hero-orbit {
  position: relative;
  height: 250px;
  margin-bottom: 1.25rem;
  display: grid;
  place-items: center;
}

body.public-page .hero-orbit::before,
body.public-page .hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(167, 238, 226, 0.14);
}

body.public-page .hero-orbit::before {
  width: 220px;
  height: 220px;
}

body.public-page .hero-orbit::after {
  width: 150px;
  height: 150px;
}

body.public-page .hero-orbit-core {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(13, 123, 114, 0.92), rgba(39, 110, 241, 0.88));
  color: white;
  font-size: 2rem;
  box-shadow: 0 20px 40px rgba(13, 123, 114, 0.28);
}

body.public-page .hero-orbit-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8faf6;
  font-size: 0.84rem;
  font-weight: 700;
}

body.public-page .hero-orbit-tag-top { top: 12px; }
body.public-page .hero-orbit-tag-left { left: 0; }
body.public-page .hero-orbit-tag-right { right: 0; }
body.public-page .hero-orbit-tag-bottom { bottom: 12px; }

body.public-page .hero-visual-grid,
body.public-page .seal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

body.public-page .hero-insight-card,
body.public-page .seal-card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.public-page .hero-insight-card i,
body.public-page .seal-card i,
body.public-page .complaint-icon,
body.public-page .process-step {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 123, 114, 0.9), rgba(39, 110, 241, 0.85));
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 14px 26px rgba(13, 123, 114, 0.22);
}

body.public-page .hero-insight-card strong,
body.public-page .complaint-card h3,
body.public-page .process-card h3,
body.public-page .authority-card h3,
body.public-page .agenda-side-card h3 {
  color: #f7fffd;
  margin: 0;
  font-size: 1.08rem;
}

body.public-page .section-title {
  color: var(--psy-text);
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}

body.public-page .card-soft,
body.public-page .complaint-card,
body.public-page .process-card,
body.public-page .contact-side-card,
body.public-page .agenda-side-card,
body.public-page .auth-form-card,
body.public-page .auth-side-card {
  background: var(--psy-card);
  border: 1px solid var(--psy-line);
  border-radius: 26px;
  color: var(--psy-text);
}

body.public-page .complaint-card,
body.public-page .process-card {
  height: 100%;
}

body.public-page .complaint-card .card-body,
body.public-page .process-card .card-body,
body.public-page .contact-side-card .card-body,
body.public-page .agenda-side-card .card-body {
  padding: 1.45rem;
}

body.public-page .complaint-card p,
body.public-page .process-card p {
  margin-top: 0.8rem;
}

body.public-page .trust-command,
body.public-page .final-cta-card {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(39, 110, 241, 0.16), transparent 24%),
    linear-gradient(160deg, rgba(9, 27, 23, 0.96), rgba(11, 34, 30, 0.92));
}

body.public-page .trust-command-panel {
  padding: 1.5rem;
  height: 100%;
}

body.public-page .trust-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

body.public-page .trust-points div,
body.public-page .contact-side-list div,
body.public-page .agenda-side-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

body.public-page .trust-points i,
body.public-page .contact-side-list i,
body.public-page .agenda-side-list i {
  color: #91f5e8;
  margin-top: 0.1rem;
}

body.public-page .authority-stack {
  display: grid;
  gap: 1rem;
}

body.public-page .authority-card {
  padding: 1.35rem;
}

body.public-page .seal-card {
  place-items: center;
  text-align: center;
  min-height: 140px;
}

body.public-page .seal-card span {
  color: #e8faf6;
  font-weight: 700;
}

body.public-page .emotional-copy-card {
  display: grid;
  gap: 0.8rem;
  height: 100%;
  padding: 1.35rem 1.4rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 40, 35, 0.88), rgba(10, 26, 23, 0.94));
}

body.public-page .emotional-copy-card strong {
  color: #fbfffe;
  font-size: 1.18rem;
}

body.public-page .clinical-disclaimer {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 196, 85, 0.08);
  border: 1px solid rgba(255, 196, 85, 0.18);
  color: #ffe8a8;
}

body.public-page .clinical-disclaimer span {
  color: #ffe8a8;
  font-weight: 600;
}

body.public-page .process-step {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

body.public-page .agenda-wrapper {
  background: rgba(9, 24, 22, 0.9);
  border: 1px solid rgba(134, 220, 204, 0.14);
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: var(--psy-glow);
}

body.public-page .agenda-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #bdfbf2;
  font-size: 0.84rem;
  font-weight: 700;
}

body.public-page .agenda-wrapper [data-role="date-label"] {
  color: var(--psy-text);
}

body.public-page .agenda-wrapper [data-role="prev-day"],
body.public-page .agenda-wrapper [data-role="next-day"] {
  border-color: rgba(147, 232, 217, 0.2);
  color: #cbfff8;
  background: rgba(255, 255, 255, 0.03);
}

body.public-page .agenda-wrapper [data-role="prev-day"]:hover,
body.public-page .agenda-wrapper [data-role="next-day"]:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.public-page .slot-btn {
  border: 1px solid rgba(148, 228, 215, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--psy-text);
  border-radius: 14px;
}

body.public-page .slot-btn:hover,
body.public-page .slot-btn:focus-visible {
  border-color: rgba(148, 228, 215, 0.34);
  background: rgba(24, 162, 148, 0.16);
  box-shadow: 0 12px 24px rgba(13, 123, 114, 0.16);
}

body.public-page .agenda-side-card {
  background:
    radial-gradient(circle at top right, rgba(39, 110, 241, 0.18), transparent 26%),
    linear-gradient(160deg, rgba(11, 35, 31, 0.95), rgba(12, 55, 49, 0.92));
}

body.public-page .agenda-side-list {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

body.public-page .agenda-side-note,
body.public-page .auth-helper {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.public-page .faq-item {
  border: 1px solid var(--psy-line);
  background: rgba(11, 29, 25, 0.86);
  box-shadow: var(--psy-glow);
}

body.public-page #faq .accordion-button,
body.public-page #faqPageAccordion .accordion-button {
  color: var(--psy-text);
  background: transparent;
}

body.public-page #faq .accordion-button:not(.collapsed),
body.public-page #faqPageAccordion .accordion-button:not(.collapsed) {
  color: #a8fff4;
  background: rgba(255, 255, 255, 0.04);
}

body.public-page #faq .accordion-body,
body.public-page #faqPageAccordion .accordion-body {
  background: transparent;
  color: var(--psy-muted);
}

body.public-page .final-cta-card {
  position: relative;
  overflow: hidden;
}

body.public-page .final-cta-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 162, 148, 0.22), rgba(24, 162, 148, 0));
}

body.public-page .final-cta-meta {
  color: #bfe8df;
  text-align: center;
  font-size: 0.9rem;
}

body.public-page .contact-side-list {
  display: grid;
  gap: 0.9rem;
}

body.public-page form.card-soft {
  background: rgba(11, 28, 25, 0.82) !important;
}

body.public-page .form-label,
body.public-page .auth-section-header h2,
body.public-page .auth-page-title,
body.public-page .auth-progress-step.active {
  color: var(--psy-text);
}

body.public-page .form-control,
body.public-page .form-select {
  border-radius: 14px;
  border: 1px solid rgba(151, 228, 214, 0.14);
  color: var(--psy-text);
  background: rgba(255, 255, 255, 0.05);
}

body.public-page .form-control::placeholder {
  color: #8fa8a1;
}

body.public-page .form-control:focus,
body.public-page .form-select:focus {
  border-color: rgba(151, 228, 214, 0.3);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 0.2rem rgba(24, 162, 148, 0.14);
}

body.public-page .auth-shell {
  position: relative;
}

body.public-page .auth-page-intro,
body.public-page .auth-form-card .card-body,
body.public-page .auth-side-card .card-body {
  color: var(--psy-text);
}

body.public-page .auth-progress {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.public-page .auth-progress-step {
  color: #9fc6bd;
}

body.public-page .auth-progress-step.active {
  background: linear-gradient(135deg, rgba(13, 123, 114, 0.28), rgba(39, 110, 241, 0.22));
  border-color: rgba(151, 228, 214, 0.2);
}

body.public-page .auth-section-index {
  background: linear-gradient(135deg, var(--psy-brand), var(--psy-blue));
  color: #fff;
}

body.public-page .auth-link-row a {
  color: #b6fff5;
}

body.public-page .empty-state {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--psy-muted);
}

body.public-page .loader-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

body.public-page #authPromptModal .modal-content,
body.public-page #bookSlotModal .modal-content,
body.public-page #appointmentSaveModal .modal-content {
  background: rgba(9, 24, 21, 0.96);
  border: 1px solid rgba(153, 232, 218, 0.16);
}

body.public-page #authPromptModal .modal-title,
body.public-page #bookSlotModal .modal-title,
body.public-page #appointmentSaveModal .modal-title,
body.public-page .modal-body strong {
  color: var(--psy-text);
}

body.public-page .site-footer {
  background: rgba(5, 16, 14, 0.94);
}

body.public-page .booking-fab {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1040;
  transition: opacity 180ms ease, transform 180ms ease;
}

body.public-page .booking-fab a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: rgba(8, 24, 21, 0.92);
  color: #fff;
  font-weight: 800;
}

body.public-page .mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1040;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(6, 20, 18, 0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

body.public-page .mobile-sticky-cta small,
body.public-page .mobile-sticky-cta strong {
  display: block;
  color: var(--psy-text);
}

body.public-page .mobile-sticky-cta.is-hidden,
body.public-page .booking-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

@media (max-width: 991.98px) {
  body.public-page .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.7rem;
    background: rgba(7, 20, 18, 0.98);
    border: 1px solid rgba(127, 190, 175, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(3, 10, 9, 0.28);
  }

  body.public-page .hero-section.hero-psychiatry h1 {
    max-width: none;
  }

  body.public-page .trust-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  body.public-page {
    padding-bottom: 92px;
  }

  body.public-page .hero-visual-grid,
  body.public-page .seal-grid {
    grid-template-columns: 1fr;
  }

  body.public-page .hero-inline-trust span,
  body.public-page .hero-chip,
  body.public-page .auth-chip {
    width: 100%;
    justify-content: center;
  }

  body.public-page .booking-fab {
    display: none;
  }
}

@media (max-width: 575.98px) {
  body.public-page main > section.container {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  body.public-page .hero-section.hero-psychiatry {
    border-radius: 28px;
    padding: 1.4rem 1.1rem;
  }

  body.public-page .hero-section.hero-psychiatry h1 {
    font-size: 1.95rem;
  }

  body.public-page .mobile-sticky-cta {
    flex-direction: column;
    align-items: stretch;
  }

  body.public-page .mobile-sticky-cta .btn {
    width: 100%;
  }
}

/* Clinical refresh 20260407c: lighter green premium system for public pages and dashboards */
:root {
  --tm-primary: #2b7a66;
  --tm-primary-dark: #1f5d4d;
  --tm-secondary: #5ba58a;
  --tm-accent: #edf6f0;
  --tm-bg: #f3f7f4;
  --tm-bg-soft: #fbfdfc;
  --tm-text: #1b342d;
  --tm-muted: #66796f;
  --tm-line: #d7e2db;
  --tm-success: #2f8d65;
  --tm-shadow-sm: 0 18px 34px rgba(17, 53, 42, 0.08);
  --tm-shadow-md: 0 28px 60px rgba(17, 53, 42, 0.12);
  --tm-font-body: "Manrope", "Segoe UI", sans-serif;
  --tm-font-display: "Cormorant Garamond", Georgia, serif;
}

body {
  background:
    radial-gradient(circle at 0% 12%, rgba(91, 165, 138, 0.12), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(43, 122, 102, 0.12), transparent 24%),
    linear-gradient(180deg, #fafcfb 0%, var(--tm-bg) 100%);
  color: var(--tm-text);
  font-family: var(--tm-font-body);
  letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--tm-text);
}

.navbar {
  background: rgba(251, 253, 252, 0.88) !important;
  border-bottom: 1px solid rgba(43, 122, 102, 0.08);
  box-shadow: 0 16px 34px rgba(14, 41, 34, 0.06);
}

.navbar .nav-link {
  color: #2f4d43;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--tm-primary-dark);
  background: #eef6f1;
}

.navbar-brand {
  font-family: var(--tm-font-body);
  color: var(--tm-primary-dark) !important;
}

.btn {
  border-radius: 16px;
  font-family: var(--tm-font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--tm-primary-dark) 0%, var(--tm-primary) 52%, var(--tm-secondary) 100%);
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(43, 122, 102, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #1b5445 0%, #2d816c 52%, #67af95 100%);
  box-shadow: 0 18px 30px rgba(43, 122, 102, 0.22);
}

.btn-outline-primary {
  border-color: rgba(43, 122, 102, 0.28);
  color: var(--tm-primary-dark);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: #eef6f1;
  border-color: rgba(43, 122, 102, 0.36);
  color: var(--tm-primary-dark);
}

.form-control,
.form-select {
  border-radius: 16px;
  border-color: #d7e2db;
  background: rgba(255, 255, 255, 0.96);
  color: var(--tm-text);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(43, 122, 102, 0.42);
  box-shadow: 0 0 0 0.22rem rgba(43, 122, 102, 0.12);
}

.card-soft,
.stat-card {
  border-color: var(--tm-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--tm-shadow-sm);
}

.empty-state {
  border-color: rgba(43, 122, 102, 0.18);
  background: #f8fbf9;
  color: var(--tm-muted);
}

.loader-skeleton {
  background: linear-gradient(90deg, #edf4ef 25%, #f9fcfa 50%, #edf4ef 75%);
}

.section-title,
.auth-page-title,
.dashboard-page-title,
.final-cta-card .section-title {
  font-family: var(--tm-font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-eyebrow,
.auth-eyebrow,
.dashboard-eyebrow,
.dashboard-section-tag {
  background: #eef6f1;
  border-color: rgba(43, 122, 102, 0.12);
  color: var(--tm-primary-dark);
}

body.public-page {
  --psy-bg: #f3f7f4;
  --psy-bg-soft: #eef6f1;
  --psy-surface: rgba(255, 255, 255, 0.92);
  --psy-surface-strong: rgba(245, 250, 247, 0.98);
  --psy-card: rgba(255, 255, 255, 0.96);
  --psy-card-light: rgba(43, 122, 102, 0.05);
  --psy-text: var(--tm-text);
  --psy-muted: var(--tm-muted);
  --psy-line: rgba(43, 122, 102, 0.12);
  --psy-brand: var(--tm-primary);
  --psy-brand-strong: var(--tm-secondary);
  --psy-blue: #87b9a5;
  --psy-glow: 0 28px 56px rgba(17, 53, 42, 0.1);
  background:
    radial-gradient(circle at top left, rgba(91, 165, 138, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(43, 122, 102, 0.12), transparent 20%),
    linear-gradient(180deg, #fafcfb 0%, #f3f7f4 100%);
  color: var(--psy-text);
}

body.public-page::before,
body.public-page::after {
  opacity: 0.12;
  filter: blur(52px);
}

body.public-page::before {
  background: rgba(91, 165, 138, 0.36);
}

body.public-page::after {
  background: rgba(43, 122, 102, 0.28);
}

body.public-page .text-muted,
body.public-page .section-subtitle,
body.public-page .lead,
body.public-page .auth-page-subtitle,
body.public-page .auth-helper span,
body.public-page .auth-section-header p,
body.public-page .auth-time-note,
body.public-page .small,
body.public-page p {
  color: var(--psy-muted) !important;
}

body.public-page .navbar {
  background: rgba(251, 253, 252, 0.9) !important;
  border-bottom: 1px solid rgba(43, 122, 102, 0.08);
  box-shadow: 0 16px 32px rgba(17, 53, 42, 0.06);
}

body.public-page .navbar .nav-link,
body.public-page .navbar-brand {
  color: var(--tm-text) !important;
}

body.public-page .hero-section.hero-psychiatry,
body.public-page .card-soft,
body.public-page .final-cta-card,
body.public-page .trust-command,
body.public-page .emotional-copy-card,
body.public-page .booking-fab a,
body.public-page .mobile-sticky-cta {
  border: 1px solid var(--psy-line);
  box-shadow: var(--psy-glow);
}

body.public-page .hero-section.hero-psychiatry {
  background:
    radial-gradient(circle at 100% 0%, rgba(91, 165, 138, 0.18), transparent 24%),
    radial-gradient(circle at 0% 100%, rgba(43, 122, 102, 0.1), transparent 26%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 241, 0.96));
}

body.public-page .hero-section.hero-psychiatry::before {
  background: radial-gradient(circle, rgba(91, 165, 138, 0.22), rgba(91, 165, 138, 0));
}

body.public-page .hero-section.hero-psychiatry h1 {
  color: var(--psy-text);
  font-family: var(--tm-font-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: none;
  max-width: 15ch;
}

body.public-page .hero-badge,
body.public-page .hero-chip,
body.public-page .hero-inline-trust span,
body.public-page .hero-orbit-tag,
body.public-page .agenda-status-badge,
body.public-page .dashboard-agenda-pill {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(43, 122, 102, 0.14);
  color: var(--tm-primary-dark);
  box-shadow: 0 10px 22px rgba(17, 53, 42, 0.05);
}

body.public-page .hero-inline-trust span {
  color: #41655a;
}

body.public-page .hero-identity-note,
body.public-page .hero-identity-note a {
  color: #48675d;
}

body.public-page .hero-visual-card,
body.public-page .trust-command,
body.public-page .trust-command-panel,
body.public-page .authority-card,
body.public-page .emotional-copy-card,
body.public-page .agenda-wrapper,
body.public-page .faq-item,
body.public-page form.card-soft,
body.public-page .auth-form-card,
body.public-page .auth-side-card,
body.public-page .contact-side-card {
  background: rgba(255, 255, 255, 0.94) !important;
}

body.public-page .hero-visual-card {
  padding: 1.3rem;
  border-radius: 28px;
}

body.public-page .hero-orbit-core,
body.public-page .process-step,
body.public-page .benefit-icon,
body.public-page .complaint-icon,
body.public-page .auth-side-list span,
body.public-page .auth-section-index {
  background: linear-gradient(145deg, #2a715e 0%, #5ca78b 100%);
  color: #fff;
  box-shadow: 0 14px 26px rgba(43, 122, 102, 0.18);
}

body.public-page .hero-insight-card,
body.public-page .complaint-card,
body.public-page .seal-card,
body.public-page .mini-proof-card,
body.public-page .agenda-side-note,
body.public-page .auth-helper,
body.public-page .contact-side-list div {
  background: #f8fbf9;
  border: 1px solid rgba(43, 122, 102, 0.1);
  box-shadow: none;
}

body.public-page .complaint-card,
body.public-page .emotional-copy-card,
body.public-page .seal-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.public-page .complaint-card:hover,
body.public-page .emotional-copy-card:hover,
body.public-page .seal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 122, 102, 0.18);
  box-shadow: 0 16px 28px rgba(17, 53, 42, 0.08);
}

body.public-page .complaint-card h3,
body.public-page .hero-insight-card strong,
body.public-page .authority-card h3,
body.public-page .seal-card span,
body.public-page .final-cta-card .section-title,
body.public-page .auth-form-card .form-label,
body.public-page .contact-side-list span,
body.public-page .agenda-side-card h3 {
  color: var(--tm-text);
}

body.public-page .trust-points div,
body.public-page .agenda-side-list li,
body.public-page .hero-insight-card span,
body.public-page .emotional-copy-card p,
body.public-page .clinical-disclaimer span {
  color: #48675d;
}

body.public-page .trust-points i,
body.public-page .agenda-side-list i,
body.public-page .seal-card i,
body.public-page .hero-insight-card i,
body.public-page .clinical-disclaimer i {
  color: var(--tm-primary);
}

body.public-page .authority-card,
body.public-page .final-cta-card,
body.public-page .contact-side-card,
body.public-page .auth-side-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 243, 0.96)) !important;
}

body.public-page .agenda-wrapper {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 28px;
}

body.public-page .slot-btn {
  border: 1px solid rgba(43, 122, 102, 0.14);
  background: #f8fbf9;
  color: var(--tm-primary-dark);
}

body.public-page .slot-btn:hover,
body.public-page .slot-btn:focus-visible {
  border-color: rgba(43, 122, 102, 0.28);
  background: #eef6f1;
  box-shadow: 0 12px 20px rgba(43, 122, 102, 0.1);
}

body.public-page .agenda-side-card {
  background: linear-gradient(165deg, #2b6b59 0%, #3f8b73 100%) !important;
  box-shadow: 0 24px 40px rgba(29, 77, 63, 0.18);
}

body.public-page .agenda-side-card h3,
body.public-page .agenda-side-card .small,
body.public-page .agenda-side-card .agenda-side-label,
body.public-page .agenda-side-card .agenda-side-note,
body.public-page .agenda-side-card li,
body.public-page .agenda-side-card strong {
  color: rgba(255, 255, 255, 0.96) !important;
}

body.public-page .agenda-side-card .btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #e9f4ee 100%);
  color: var(--tm-primary-dark);
  box-shadow: none;
}

body.public-page .faq-item {
  border-radius: 20px;
}

body.public-page #faq .accordion-button,
body.public-page #faqPageAccordion .accordion-button {
  color: var(--tm-text);
  background: transparent;
  font-weight: 700;
}

body.public-page #faq .accordion-button:not(.collapsed),
body.public-page #faqPageAccordion .accordion-button:not(.collapsed) {
  color: var(--tm-primary-dark);
  background: #f3f8f5;
}

body.public-page .clinical-disclaimer {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #f7faf8;
  border: 1px solid rgba(43, 122, 102, 0.12);
}

body.public-page .booking-fab a,
body.public-page .mobile-sticky-cta {
  background: rgba(255, 255, 255, 0.96);
}

body.public-page .mobile-sticky-cta small,
body.public-page .mobile-sticky-cta strong {
  color: var(--tm-text);
}

body.public-page .site-footer {
  background: rgba(247, 251, 248, 0.94);
  border-top: 1px solid rgba(43, 122, 102, 0.08);
}

body.dashboard-page {
  background:
    radial-gradient(circle at top left, rgba(91, 165, 138, 0.13), transparent 24%),
    radial-gradient(circle at top right, rgba(43, 122, 102, 0.1), transparent 22%),
    linear-gradient(180deg, #f7faf8 0%, #f1f6f3 100%);
}

body.dashboard-page .navbar {
  background: rgba(251, 253, 252, 0.92) !important;
}

body.dashboard-page .dashboard-shell {
  min-height: calc(100vh - 74px);
}

body.dashboard-page .dashboard-main,
body.dashboard-page .dashboard-shell > .row > [class*="col-lg-10"],
body.dashboard-page .dashboard-shell > .row > [class*="col-xl-10"] {
  min-height: calc(100vh - 74px);
}

body.dashboard-page .dashboard-sidebar {
  min-height: calc(100vh - 74px);
  background: linear-gradient(180deg, #274f43 0%, #2f6658 58%, #337360 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 22px 0 34px rgba(17, 53, 42, 0.08);
}

body.dashboard-page .dashboard-sidebar-brand {
  margin: 1.15rem;
  padding: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dashboard-page .dashboard-sidebar-kicker {
  color: rgba(255, 255, 255, 0.72);
}

body.dashboard-page .dashboard-sidebar-brand h5 {
  font-family: var(--tm-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
}

body.dashboard-page .dashboard-sidebar-brand p,
body.dashboard-page .dashboard-sidebar-footer span {
  color: rgba(240, 248, 244, 0.76);
}

body.dashboard-page .dashboard-sidebar-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.dashboard-page .dashboard-sidebar .nav-link {
  color: rgba(248, 252, 250, 0.88);
}

body.dashboard-page .dashboard-sidebar .nav-link i {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.dashboard-page .dashboard-sidebar .nav-link.active,
body.dashboard-page .dashboard-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

body.dashboard-page .dashboard-sidebar .nav-link.active i,
body.dashboard-page .dashboard-sidebar .nav-link:hover i {
  background: rgba(255, 255, 255, 0.92);
  color: var(--tm-primary-dark);
}

body.dashboard-page .dashboard-page-hero,
body.dashboard-page .dashboard-panel,
body.dashboard-page .dashboard-quick-card,
body.dashboard-page .dashboard-table-card,
body.dashboard-page .dashboard-highlight-card,
body.dashboard-page .card-soft,
body.dashboard-page .stat-card {
  border: 1px solid rgba(43, 122, 102, 0.1);
  box-shadow: 0 24px 46px rgba(17, 53, 42, 0.08);
}

body.dashboard-page .dashboard-page-hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(91, 165, 138, 0.18), transparent 22%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 241, 0.96));
}

body.dashboard-page .dashboard-page-hero::before {
  background: radial-gradient(circle, rgba(91, 165, 138, 0.18), rgba(91, 165, 138, 0));
}

body.dashboard-page .dashboard-page-title {
  color: var(--tm-text);
  max-width: 18ch;
}

body.dashboard-page .dashboard-page-text,
body.dashboard-page .dashboard-panel-subtitle,
body.dashboard-page .dashboard-stat-note,
body.dashboard-page .dashboard-highlight-note,
body.dashboard-page .dashboard-quick-note span,
body.dashboard-page .dashboard-mini-card p,
body.dashboard-page .dashboard-notification-item p,
body.dashboard-page .small.text-muted,
body.dashboard-page .text-muted {
  color: var(--tm-muted) !important;
}

body.dashboard-page .dashboard-chip {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(43, 122, 102, 0.12);
  color: #38584d;
}

body.dashboard-page .dashboard-highlight-card {
  background: linear-gradient(150deg, #255c4b 0%, #367963 55%, #4c957a 100%);
  color: #fff;
}

body.dashboard-page .dashboard-highlight-note,
body.dashboard-page .dashboard-highlight-meta,
body.dashboard-page .dashboard-highlight-label {
  color: rgba(255, 255, 255, 0.84) !important;
}

body.dashboard-page .dashboard-stat-icon {
  background: linear-gradient(145deg, #eef6f1, #e2f0e9);
  color: var(--tm-primary-dark);
  box-shadow: inset 0 0 0 1px rgba(43, 122, 102, 0.1);
}

body.dashboard-page .dashboard-stat-icon.warning {
  background: linear-gradient(145deg, #fff7ea, #feefd2);
}

body.dashboard-page .dashboard-stat-icon.success {
  background: linear-gradient(145deg, #eef9f3, #e0f4e9);
}

body.dashboard-page .dashboard-stat-icon.primary {
  background: linear-gradient(145deg, #edf5f1, #ddece5);
  color: #2e6d59;
}

body.dashboard-page .dashboard-panel,
body.dashboard-page .dashboard-quick-card,
body.dashboard-page .dashboard-table-card,
body.dashboard-page .card-soft,
body.dashboard-page .stat-card {
  background: rgba(255, 255, 255, 0.96);
}

body.dashboard-page .dashboard-quick-note,
body.dashboard-page .dashboard-mini-card,
body.dashboard-page .dashboard-upcoming-card,
body.dashboard-page .dashboard-notification-item {
  background: #f8fbf9;
  border: 1px solid rgba(43, 122, 102, 0.1);
}

body.dashboard-page .dashboard-notification-item.is-unread {
  border-color: rgba(43, 122, 102, 0.16);
  box-shadow: 0 16px 28px rgba(17, 53, 42, 0.06);
}

body.dashboard-page .dashboard-dot {
  background: linear-gradient(145deg, #2b7a66 0%, #5ca78b 100%);
  box-shadow: 0 0 0 5px rgba(43, 122, 102, 0.1);
}

body.dashboard-page .dashboard-table-toolbar,
body.dashboard-page .dashboard-shell .table-responsive,
body.dashboard-page .dashboard-table-shell thead th,
body.dashboard-page .table-light th {
  border-color: rgba(43, 122, 102, 0.08);
}

body.dashboard-page .dashboard-table-shell thead th,
body.dashboard-page .table-light th {
  background: #f4f8f5;
  color: #4d665c;
}

body.dashboard-page .table {
  color: var(--tm-text);
}

body.dashboard-page .table tbody td {
  border-color: rgba(43, 122, 102, 0.08);
}

body.dashboard-page .page-link {
  border-color: rgba(43, 122, 102, 0.14);
  color: var(--tm-primary-dark);
  background: rgba(255, 255, 255, 0.96);
}

body.dashboard-page .page-item.active .page-link {
  background: linear-gradient(135deg, var(--tm-primary-dark), var(--tm-primary));
  border-color: transparent;
}

body.dashboard-page .site-footer {
  background: rgba(246, 250, 247, 0.94);
  border-top: 1px solid rgba(43, 122, 102, 0.08);
}

@media (max-width: 991.98px) {
  body.dashboard-page .dashboard-sidebar {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(43, 122, 102, 0.08);
    box-shadow: none;
  }

  body.dashboard-page .dashboard-sidebar-brand {
    margin-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  body.public-page .hero-section.hero-psychiatry h1 {
    max-width: none;
  }

  body.dashboard-page .dashboard-sidebar-brand h5 {
    font-size: 1.7rem;
  }
}

body.dashboard-page .dashboard-shell h1.h4 {
  font-family: var(--tm-font-display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--tm-text);
}

body.dashboard-page .dashboard-shell .btn-link {
  color: var(--tm-primary-dark);
  font-weight: 700;
  text-decoration: none;
}

body.dashboard-page .dashboard-shell .btn-link:hover,
body.dashboard-page .dashboard-shell .btn-link:focus {
  color: var(--tm-primary);
}

body.dashboard-page .dashboard-shell .list-group-item {
  background: #f8fbf9;
  border-color: rgba(43, 122, 102, 0.1);
}

body.dashboard-page .dashboard-shell .badge {
  border-radius: 999px;
  font-weight: 700;
}

body.dashboard-page .dashboard-shell .card.card-soft,
body.dashboard-page .dashboard-shell form.card-soft {
  border-radius: 24px;
}
