 :root {
  --pf-primary: #B76A8A;
  --pf-primary-dark: #8F4F6B;
  --pf-primary-soft: #F8EEF3;
  --pf-accent: #D4A373;
  --pf-bg: #FCFAFB;
  --pf-surface: #FFFFFF;
  --pf-surface-muted: #F8F3F6;
  --pf-text: #4F3A44;
  --pf-muted: #8A7480;
  --pf-border: #EADFE5;
  --pf-success: #7E9D7A;
  --pf-warning: #C89B5A;
  --pf-danger: #B85A5A;
  --pf-radius: 18px;
  --pf-shadow: 0 16px 40px rgba(143, 79, 107, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 8%, rgba(183, 106, 138, 0.10), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, var(--pf-bg) 52%, #ffffff 100%);
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--pf-border);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--pf-primary-dark);
}

.brand::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(143, 79, 107, 0.95), rgba(212, 163, 115, 0.90)),
    var(--pf-primary);
  box-shadow: 0 8px 20px rgba(143, 79, 107, 0.16);
}

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

.menu a:not(.btn) {
  padding: 10px 12px;
  border-radius: 999px;
  color: #6F5A65;
  font-size: 0.94rem;
  font-weight: 700;
}

.menu a:not(.btn):hover {
  background: var(--pf-primary-soft);
  color: var(--pf-primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: var(--pf-primary);
  box-shadow: 0 10px 22px rgba(143, 79, 107, 0.16);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--pf-primary-dark);
  box-shadow: 0 14px 28px rgba(143, 79, 107, 0.20);
}

.btn.secondary {
  color: var(--pf-primary-dark);
  background: #ffffff;
  border-color: var(--pf-border);
  box-shadow: none;
}

.btn.secondary:hover {
  background: var(--pf-primary-soft);
}

.btn.outline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(143, 79, 107, 0.94), rgba(183, 106, 138, 0.88)),
    radial-gradient(circle at 80% 18%, rgba(212, 163, 115, 0.22), transparent 34%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -160px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 44px;
  align-items: center;
}

.hero h1 {
  max-width: 780px;
  margin: 18px 0 18px;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.09rem;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(72, 41, 56, 0.20);
  backdrop-filter: blur(16px);
}

.hero-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.hero-stat div,
.stat-card {
  min-height: 104px;
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  padding: 18px;
  color: var(--pf-text);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--pf-shadow);
}

.hero-stat b,
.stat-card b {
  display: block;
  margin-bottom: 4px;
  color: var(--pf-primary-dark);
  font-size: 1.85rem;
  line-height: 1;
}

section {
  padding: 70px 0;
}

section:nth-of-type(even):not(.hero) {
  background: rgba(255, 255, 255, 0.62);
}

.section-title {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--pf-primary-dark);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.muted {
  color: var(--pf-muted);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.card,
.form-card {
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  background: var(--pf-surface);
  box-shadow: var(--pf-shadow);
}

.card {
  padding: 26px;
}

.card h3,
.form-card h3 {
  margin-top: 0;
  color: var(--pf-primary-dark);
  letter-spacing: -0.02em;
}

.card p:last-child,
.form-card p:last-child {
  margin-bottom: 0;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--pf-primary-dark);
  background: var(--pf-primary-soft);
  font-size: 1.3rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.photo {
  position: relative;
  min-height: 178px;
  display: grid;
  place-items: end start;
  overflow: hidden;
  border: 1px solid var(--pf-border);
  border-radius: 22px;
  padding: 18px;
  color: var(--pf-primary-dark);
  font-weight: 850;
  background:
    linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.9)),
    linear-gradient(135deg, #F8EEF3, #EADFE5);
}

.photo::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(183, 106, 138, 0.12);
}

.form-card {
  padding: 28px;
}

label {
  display: block;
  color: #5B4651;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-control,
.form-select,
input,
select,
textarea {
  width: 100%;
  margin: 7px 0 15px;
  border: 1px solid var(--pf-border);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--pf-text);
  background: #ffffff;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(183, 106, 138, 0.55);
  box-shadow: 0 0 0 4px rgba(183, 106, 138, 0.10);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.alert {
  margin: 10px 0;
  border: 1px solid var(--pf-border);
  border-radius: 14px;
  padding: 12px 14px;
}

.alert.success {
  color: #5A7C58;
  border-color: #DDEBD8;
  background: #F3FAF1;
}

.alert.error {
  color: #8A3F3F;
  border-color: #EBCACA;
  background: #FFF4F4;
}

.footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.86);
  background: var(--pf-primary-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}

.footer h3,
.footer h4 {
  color: #ffffff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 850;
}

.page-hero {
  padding: 66px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(143, 79, 107, 0.94), rgba(183, 106, 138, 0.88)),
    radial-gradient(circle at 86% 16%, rgba(212, 163, 115, 0.22), transparent 34%);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

.map-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px solid var(--pf-border);
  border-radius: 24px;
  padding: 24px;
  color: var(--pf-primary-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(237, 243, 239, 0.95)),
    radial-gradient(circle at 20% 20%, rgba(212, 163, 115, 0.16), transparent 28%);
  font-weight: 850;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    padding: 60px 0;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .menu {
    display: none;
  }

  .form-row,
  .hero-stat {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  section {
    padding: 52px 0;
  }

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

  .card,
  .form-card {
    padding: 22px;
  }
}

/* Layout institucional: fachada, logos e modais */
.brand-with-logo::before {
  display: none;
}

.brand-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(183, 106, 138, 0.16);
  border-radius: 14px;
  background: #ffffff;
}

.brand-logo {
  width: 52px;
  height: 52px;
  padding: 7px;
  box-shadow: 0 10px 22px rgba(183, 106, 138, 0.10);
}

.brand-logo img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  white-space: nowrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  padding: 8px;
}

.footer-brand h3 {
  margin: 0;
}

.hero-fachada {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(40, 24, 27, 0.82), rgba(95, 63, 77, 0.7)),
    url("/assets/images/fachada.jpg") center/cover no-repeat,
    linear-gradient(135deg, rgba(63, 38, 50, 0.94), rgba(95, 63, 72, 0.88));
}

.hero-fachada::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 18, 24, 0.68) 0%, rgba(31, 18, 23, 0.42) 48%, rgba(68, 38, 52, 0.16) 100%);
  pointer-events: none;
}

.hero-fachada .hero-grid {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--pf-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.suite-cards {
  align-items: stretch;
}

.suite-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.suite-card:hover,
.suite-card:focus {
  transform: translateY(-3px);
  border-color: rgba(95, 63, 71, 0.32);
  box-shadow: 0 22px 46px rgba(63, 38, 46, 0.12);
  outline: none;
}

.suite-card .modal-trigger {
  width: fit-content;
  margin-top: auto;
}

.card-media {
  min-height: 180px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(63, 38, 43, 0.16)),
    var(--pf-primary-soft);
  background-position: center;
  background-size: cover;
}

.card-media-individual {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(63, 38, 43, 0.16)),
    url("/assets/images/galeria/suites/suite-individual-01.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.card-media-compartilhada {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(63, 38, 47, 0.16)),
    url("/assets/images/galeria/suites/suite-dupla-02.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.feature-list {
  margin: 2px 0 18px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 24px;
  color: var(--pf-muted);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pf-success);
  font-weight: 900;
}

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

.gallery-card {
  min-height: 210px;
  border: 1px solid var(--pf-border);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.gallery-card:hover,
.gallery-card:focus {
  transform: translateY(-3px);
  border-color: rgba(95, 63, 72, 0.32);
  box-shadow: 0 22px 46px rgba(63, 38, 46, 0.12);
  outline: none;
}

.gallery-card[data-gallery-modal="fachada"] {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.92)),
    url("/assets/images/galeria/fachada-01.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-card[data-gallery-modal="suites"] {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.92)),
    url("/assets/images/galeria/suites/suite-dupla-01.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-card[data-gallery-modal="salaestudos"] {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.92)),
    url("/assets/images/galeria/sala-estudos.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-card[data-gallery-modal="cozinha"] {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.92)),
    url("/assets/images/galeria/cozinha-bloco1-01.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-card[data-gallery-modal="lavanderia"] {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.92)),
    url("/assets/images/galeria/lavanderia-01.svg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-card[data-gallery-modal="areas-comuns"] {
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.92)),
    url("/assets/images/galeria/sala-bloco2.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.site-modal.is-open {
  display: flex;
}

.site-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 18, 21, 0.72);
  backdrop-filter: blur(6px);
}

.site-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 840px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.258);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(26, 12, 13, 0.32);
}

.site-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--pf-border);
  padding: 24px 26px 18px;
}

.site-modal__header h2 {
  margin: 0;
  color: var(--pf-primary-dark);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.035em;
}

.site-modal__body {
  padding: 24px 26px 28px;
}

.site-modal__close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--pf-border);
  border-radius: 50%;
  color: var(--pf-primary-dark);
  background: var(--pf-primary-soft);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.modal-cover {
  overflow: hidden;
  border-radius: 22px;
  background: var(--pf-primary-soft);
}

.modal-cover img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
}

.modal-info p {
  color: var(--pf-muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.modal-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--pf-border);
  border-radius: 18px;
  background: var(--pf-surface-muted);
}

.modal-gallery img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.modal-gallery figcaption {
  padding: 10px 12px;
  color: var(--pf-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

body.modal-open {
  overflow: hidden;
}

.video-institucional {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--pf-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--pf-shadow);
}

.video-institucional iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.localizacao-estrategia {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--pf-border);
  border-radius: 24px;
  background: var(--pf-surface);
  box-shadow: var(--pf-shadow);
}

.localizacao-estrategia p {
  position: relative;
  margin: 14px 0;
  padding-left: 30px;
  color: var(--pf-text);
  font-size: 1.05rem;
  font-weight: 600;
}

.localizacao-estrategia p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pf-primary);
  font-weight: 900;
}

@media (max-width: 900px) {
  .gallery-modal-grid,
  .modal-layout,
  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .hero-fachada {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .brand-text {
    max-width: 150px;
    white-space: normal;
    line-height: 1.15;
  }

  .site-modal {
    padding: 14px;
  }

  .site-modal__header,
  .site-modal__body {
    padding-inline: 18px;
  }
}

