body {
  font-family: 'Nunito', sans-serif;
  background: #ffffff;
  margin: 0;
  padding: 20px 20px 0;
  color: var(--cmm-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

:root {
  --cmm-pink: #FFA9B8;
  --cmm-turq: #2CDBDE;
  --cmm-text: #4a4a4a;
  --cmm-soft: #ffe5ed;
  --cmm-shadow: 0 18px 38px rgba(44, 219, 222, 0.18);
}

.hero {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  width: 100%;
  background-image: url('../../img/fundonuvem.png');
  background-repeat: repeat-x;
  background-position: 0 50%;
  background-size: auto 100%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-repeat: repeat-x;
  background-position: 0 50%;
  background-size: auto 100%;
  animation: cloud-drift 40s linear infinite;
}

.hero__logo {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(74, 74, 74, 0.25));
}

@keyframes cloud-drift {
  from {
    background-position: 0 50%;
  }
  to {
    background-position: -1200px 50%;
  }
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 46px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  max-width: 1080px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-padding: 14px;
  padding: 8px 0 16px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card-wrapper {
  display: flex;
  gap: 16px;
  padding: 0 6px;
}

.card-wrapper > .card {
  scroll-snap-align: start;
  width: 260px;
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  height: 480px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: var(--cmm-shadow);
}

.card-wrapper > .card > img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  background-color: #ffffff;
}

.info {
  background: linear-gradient(180deg, #ffb6c4 0%, #ffd1dc 100%);
  padding: 14px;
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.info h2 {
  margin: 6px 0 2px 0;
  font-size: 22px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.1;
}

.info p {
  margin: 0 0 6px 0;
  font-size: 13px;
}

.datas-label {
  display: block;
  font-size: 11px;
  margin-bottom: 6px;
  white-space: normal;
}

.datas {
  width: 100%;
  margin-top: 8px;
}

.datas > .mb-1 {
  display: none;
}

.datas-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.datas-row::-webkit-scrollbar {
  display: none;
}

.datas .btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
}

.btn-agendar {
  background-color: #2CDBDE;
  color: white;
  border-radius: 0 0 20px 20px;
  font-size: 16px;
  padding: 10px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-agendar:hover {
  background-color: #27c2c4;
}

.btn.btn-agendar {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.form-select {
  font-size: 12px;
  border-radius: 15px;
  background-color: #ffe5ed;
  text-align: left;
  border: none;
}

.info .form-select {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

h2,
p {
  color: #4a4a4a;
}

button.nav-btn {
  background: linear-gradient(140deg, rgba(44, 219, 222, 0.95), rgba(125, 239, 240, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: white;
  padding: 0;
  font-size: 18px;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  box-shadow: 0 14px 28px rgba(44, 219, 222, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button.nav-btn:hover {
  background: linear-gradient(140deg, rgba(39, 194, 196, 0.98), rgba(108, 233, 234, 0.98));
  box-shadow: 0 18px 34px rgba(44, 219, 222, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.05);
}

button.nav-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.carousel-container > .nav-btn:first-of-type {
  left: 8px;
}

.carousel-container > .nav-btn:last-of-type {
  right: 8px;
}

.filters {
  max-width: 1080px;
  margin: 0 auto 14px auto;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgb(255 255 255 / 16%);
  box-shadow: 0 16px 32px rgb(255 169 184 / 0%);
  backdrop-filter: blur(8px);
}

.filters form {
  margin: 0;
}

.filter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
  color: #4a4a4a;
  margin-bottom: 6px;
}

.filter-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--cmm-turq);
  box-shadow: 0 8px 16px rgba(44, 219, 222, 0.25);
  font-size: 13px;
}

.filter-text {
  line-height: 1;
}

@media (max-width: 768px) {
  body {
    padding: 14px 12px 0;
  }

  .hero {
    height: clamp(190px, 42vw, 260px);
    border-radius: 20px;
    margin-bottom: 14px;
  }

  .hero__logo {
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 100%;
  }

  .carousel-container {
    padding: 0;
  }

  .carousel {
    padding: 6px 0 14px;
    scroll-padding: 12px;
  }

  .card-wrapper {
    gap: 12px;
    padding: 0 12px;
  }

  .card-wrapper > .card {
    width: min(calc(100vw - 24px), 420px);
    flex-basis: min(calc(100vw - 24px), 420px);
    height: auto;
    border-radius: 18px;
  }

  .card-wrapper > .card > img {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .info {
    padding: 14px 12px 10px;
    gap: 6px;
  }

  .info h2 {
    font-size: 20px;
  }

  .btn-agendar {
    height: 48px;
    font-size: 17px;
  }

  .card-wrapper > .card {
    scroll-snap-align: center;
  }

  button.nav-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
    opacity: 0.85;
  }

  .filters {
    padding: 10px 10px 12px;
  }

  .filters form.row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
    margin: 0;
  }

  .filters form.row > [class*="col-"] {
    width: auto;
    padding: 0;
  }

  .filter-label {
    justify-content: center;
    margin-bottom: 4px;
  }

  .filter-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .filters .form-select {
    font-size: 11px;
    padding: 6px 28px 6px 10px;
    border-radius: 12px;
  }
}

.site-footer {
  margin-top: 5%;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 26px 0 28px;
  background: linear-gradient(135deg, rgba(255, 229, 237, 0.75), rgba(214, 248, 248, 0.6) 55%, rgba(101, 183, 215, 0.15));
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 169, 184, 0.45), rgba(255, 169, 184, 0));
  top: -140px;
  left: -120px;
}

.site-footer::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 219, 222, 0.35), rgba(44, 219, 222, 0));
  bottom: -200px;
  right: -140px;
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 28px;
  align-items: start;
}

.site-footer__map {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__map .card {
  width: 100%;
  max-width: 420px;
}

.site-footer__map-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--cmm-text);
  letter-spacing: 0.3px;
}

.site-footer__map-card {
  border: 1px solid rgba(44, 219, 222, 0.22);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 32px rgba(255, 169, 184, 0.2);
}

.site-footer__map-card .card-body {
  padding: 0;
}

.site-footer__map-card iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: 0;
}

.site-footer__map-card .card-footer {
  background: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 700;
  color: var(--cmm-text);
  border-top: 1px solid rgba(44, 219, 222, 0.15);
}

.site-footer__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.site-footer__title {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  color: var(--cmm-text);
}

.site-footer__subtitle {
  font-size: 12px;
  color: rgba(74, 74, 74, 0.7);
  max-width: 360px;
}

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

.site-footer__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(44, 219, 222, 0.16);
  box-shadow: 0 10px 22px rgba(255, 169, 184, 0.12);
}

.site-footer__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cmm-text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.site-footer__label i {
  color: var(--cmm-turq);
  font-size: 12px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(44, 219, 222, 0.18);
}

.site-footer__value {
  font-size: 12px;
  color: rgba(74, 74, 74, 0.9);
  word-break: break-word;
}

.site-footer__value a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__value a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-footer__inner {
    padding: 0 12px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__map {
    align-items: center;
  }

  .site-footer__info {
    grid-template-columns: 1fr;
  }
}

.site-footer-legal {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(44, 219, 222, 0.2);
}

.site-footer-legal__inner {
  width: 100%;
  padding: 6px 18px;
  min-height: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-footer-legal__text {
  font-size: 10.5px;
  color: rgba(74, 74, 74, 0.85);
  text-align: center;
  letter-spacing: 0.2px;
  justify-self: center;
  align-self: center;
}

.site-footer-legal__brand {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer-legal__brand-text {
  font-size: 10.5px;
  font-weight: 700;
  color: rgb(149 149 149);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.site-footer-legal__logo {
  height: 30px;
  width: auto;
}

@media (max-width: 768px) {
  .site-footer-legal__inner {
    padding: 6px 12px;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer-legal__brand {
    justify-self: center;
  }

  .site-footer-legal__logo {
    height: 26px;
  }
}

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

/* Modal (agendamento) */
.cmm-modal .modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.cmm-modal .modal-header {
  border: 0;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgb(169 255 255 / 54%), rgba(255, 229, 237, 0.95));
}

.cmm-modal .modal-title {
  color: var(--cmm-text);
  font-weight: 800;
  letter-spacing: -0.2px;
}

.cmm-modal .modal-subtitle {
  font-size: 12px;
  color: rgba(74, 74, 74, 0.85);
  margin-top: 2px;
}

.cmm-modal .modal-body {
  padding: 16px 18px;
  background: #fff;
}

.cmm-modal__section {
  margin-bottom: 14px;
}

.cmm-modal__card {
  border: 1px solid rgba(74, 74, 74, 0.12);
  background: rgba(255, 229, 237, 0.35);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
}

.cmm-modal__card-title {
  font-weight: 800;
  font-size: 13px;
  color: var(--cmm-text);
  margin-bottom: 10px;
}

.cmm-modal__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: start;
  padding: 6px 0;
}

.cmm-modal__row--highlight {
  background: rgba(44, 219, 222, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
}

.cmm-modal__label {
  font-size: 12px;
  color: rgba(74, 74, 74, 0.85);
  font-weight: 700;
}

.cmm-modal__value {
  font-size: 13px;
  color: var(--cmm-text);
  font-weight: 700;
  word-break: break-word;
}

.cmm-modal__value--highlight {
  font-weight: 800;
  background: #fff;
  border: 1px solid rgba(74, 74, 74, 0.12);
  border-radius: 999px;
  padding: 2px 10px;
  display: inline-block;
}

.cmm-modal__note {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(74, 74, 74, 0.9);
  background: rgba(255, 229, 237, 0.6);
  border-radius: 12px;
  padding: 8px 10px;
  border: 1px dashed rgba(74, 74, 74, 0.15);
}

.cmm-modal .form-control,
.cmm-modal .form-select {
  border-radius: 14px;
  border: 1px solid rgba(74, 74, 74, 0.15);
  background: #fff;
}

.cmm-modal .input-group-lg > .form-control,
.cmm-modal .input-group-lg > .btn {
  border-radius: 14px;
}

.cmm-modal .btn-primary {
  background: var(--cmm-turq);
  border-color: var(--cmm-turq);
  color: #fff;
  font-weight: 800;
}

.cmm-modal .btn-primary:hover {
  background: #27c2c4;
  border-color: #27c2c4;
}

.cmm-modal .btn-outline-primary {
  border-color: var(--cmm-turq);
  color: #1b9fa1;
  font-weight: 800;
}

.cmm-modal .btn-outline-primary:hover {
  background: rgba(44, 219, 222, 0.12);
  color: #148d8f;
}

.cmm-modal .modal-footer {
  border-top: 1px solid rgba(74, 74, 74, 0.08);
  padding: 12px 18px 16px;
  gap: 10px;
  background: #fff;
}

.cmm-modal .modal-footer .btn,
.cmm-modal .modal-footer a.btn {
  border-radius: 14px;
  padding: 10px 14px;
}

@media (max-width: 576px) {
  .cmm-modal .modal-body {
    padding: 14px 14px 10px;
  }

  .cmm-modal .modal-footer {
    padding: 10px 14px 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .cmm-modal .modal-footer .btn,
  .cmm-modal .modal-footer a.btn {
    width: 100%;
  }

  .cmm-modal__row {
    grid-template-columns: 90px 1fr;
  }

  .modal-fullscreen-sm-down .modal-content {
    border-radius: 0;
  }
}

/* Seção institucional (Missão, Visão e Valores) */
.cmm-institutional {
  position: relative;
  max-width: 1080px;
  margin: 28px auto 0;
  padding: 24px 20px;
}

.cmm-institutional__inner {
  width: 100%;
  position: relative;
  z-index: 1;
}

.cmm-institutional::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 169, 184, 0.28), rgba(44, 219, 222, 0.2));
}

.cmm-institutional::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 169, 184, 0.18) 0 6px, transparent 7px),
    radial-gradient(circle at 80% 24%, rgba(44, 219, 222, 0.18) 0 6px, transparent 7px),
    radial-gradient(circle at 32% 78%, rgba(44, 219, 222, 0.12) 0 7px, transparent 8px),
    radial-gradient(circle at 78% 76%, rgba(255, 169, 184, 0.14) 0 6px, transparent 7px);
  pointer-events: none;
}

.cmm-institutional__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.cmm-institutional__card {
  --accent: var(--cmm-pink);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(44, 219, 222, 0.2);
  box-shadow: 0 16px 30px rgba(255, 169, 184, 0.18), 0 8px 18px rgba(44, 219, 222, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cmm-institutional__card::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  top: -40px;
  right: -30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.85) 0 40%, transparent 42%), var(--accent);
  opacity: 0.28;
}

.cmm-institutional__card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  left: 16px;
  top: 16px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
}

.cmm-institutional__card:nth-child(2) {
  --accent: var(--cmm-turq);
}

.cmm-institutional__card:nth-child(3) {
  --accent: rgba(255, 169, 184, 0.7);
}

.cmm-institutional__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 34px rgba(255, 169, 184, 0.22), 0 12px 24px rgba(44, 219, 222, 0.16);
}

.cmm-institutional__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--cmm-text);
  letter-spacing: 0.4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(44, 219, 222, 0.18);
  box-shadow: 0 10px 18px rgba(44, 219, 222, 0.08);
}

.cmm-institutional__title i {
  color: var(--accent);
  font-size: 13px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(44, 219, 222, 0.12);
}

.cmm-institutional__text {
  margin: 0;
  font-size: 13px;
  color: rgba(74, 74, 74, 0.92);
  line-height: 1.55;
}

.cmm-institutional__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  font-size: 12.5px;
  color: rgba(74, 74, 74, 0.92);
  line-height: 1.5;
}

.cmm-institutional__list li {
  position: relative;
  padding-left: 16px;
}

.cmm-institutional__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cmm-turq);
}

.cmm-institutional__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .cmm-institutional__card:nth-child(2),
  .cmm-institutional__card:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 768px) {
  .cmm-institutional {
    padding: 20px 14px;
  }

  .cmm-institutional__grid {
    grid-template-columns: 1fr;
  }

  .cmm-institutional__list {
    grid-template-columns: 1fr;
  }
}
