:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #142033;
  --muted: #5a6475;
  --primary: #0d4aa0;
  --primary-dark: #0b3b80;
  --accent: #25d366;
  --accent-dark: #1fb857;
  --border: #dce3ef;
  --radius: 16px;
  --shadow: 0 14px 35px rgba(10, 20, 40, 0.1);
  --space-1: 0.5rem;
  --space-2: 0.9rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3.8rem;
}

* { box-sizing: border-box; }

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

body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  background: #08162b;
  color: #d3def0;
  font-size: 0.88rem;
}

.topbar a { color: #f5f8ff; }

.topbar .container {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #d7e1ef;
  box-shadow: 0 6px 22px rgba(13, 22, 39, 0.09);
  backdrop-filter: blur(4px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 1.5rem;
  min-height: 112px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
}

.brand img {
  display: block;
  height: 72px;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}

.menu {
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 30px rgba(12, 24, 43, 0.12);
  padding: 0.9rem 1rem 1rem;
}

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

.menu a:not(.btn) {
  font-weight: 700;
  padding: 0.2rem 0;
}

.menu .active { color: var(--primary); }

.nav-toggle {
  border: 1px solid var(--border);
  background: #fff;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.2rem;
}

.hero {
  background-image:
    linear-gradient(rgba(5, 15, 35, 0.58), rgba(5, 15, 35, 0.68)),
    url("../images/content/fachada-unihotel.jpg");
  background-size: cover;
  background-position: center 38%;
  color: #fff;
  padding: 7rem 0 6.3rem;
}

.hero-content {
  max-width: 620px;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 1.1rem 0 0;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  max-width: 560px;
}

.price-tag {
  display: inline-block;
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.35rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #06230f;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

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


.btn-strong {
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2), 0 10px 24px rgba(37, 211, 102, 0.42);
}

.whatsapp-btn { gap: 0.45rem; }
.whatsapp-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: #b6c9ea;
  box-shadow: 0 8px 22px rgba(10, 20, 40, 0.08);
}

.section {
  padding: 4.5rem 0;
}
.section.alt {
  background: #eef3fb;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
}

.section-intro {
  margin-top: 0.95rem;
  color: var(--muted);
  max-width: 760px;
  font-size: 1.04rem;
}

.grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

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

.value-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(10, 20, 40, 0.16);
}

.value-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.03);
  transition: transform 0.35s ease;
}

.value-card:hover img { transform: scale(1.05); }

.value-card .card-content {
  padding: 1.25rem 1.25rem 1.4rem;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.32rem;
  line-height: 1.15;
}

.photo-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.photo-card { padding: 0.65rem; }
.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}

.accommodation-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1.35rem;
}

.room-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #fff;
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(10, 20, 40, 0.15);
}

.room-image-btn {
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  cursor: zoom-in;
  background: #000;
  overflow: hidden;
}

.room-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.room-image-btn:hover img { transform: scale(1.05); }

.room-card-content {
  padding: 1.35rem;
}

.room-card-content h2 {
  font-size: 1.7rem;
  margin-bottom: 0.45rem;
}

.room-card-content p {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.room-features {
  margin: 0 0 0.95rem;
  padding-left: 1.1rem;
}

.room-features li { margin-bottom: 0.25rem; }

.room-pricing {
  border: 1px solid #cbdbf5;
  border-radius: 12px;
  padding: 0 0.9rem;
  background: linear-gradient(180deg, #eff5ff, #f7faff);
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #c5d5ee;
}

.price-line:last-child { border-bottom: 0; }
.price-line strong {
  color: var(--primary);
  font-size: 1.1rem;
}

.room-cta {
  margin-top: 0.9rem;
  width: 100%;
}

.notice {
  border-left: 4px solid var(--primary);
  background: #f1f5fd;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  margin-top: 1.2rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-item { padding: 1.2rem; }
.contact-item h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.contact-item small { color: var(--primary-dark); font-weight: 700; }

.map-wrap iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 12px;
}

footer {
  background: #08162b;
  color: #c7d4ea;
  padding: 2rem 0;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

footer h3 {
  margin: 0 0 0.45rem;
  color: #f3f7ff;
  font-size: 1.05rem;
}

footer p { margin: 0; }
footer a { color: #eff5ff; }

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  color: white;
  animation: pulse-whatsapp 2.6s ease-in-out infinite;
}

.whatsapp-float svg { width: 31px; height: 31px; }

@keyframes pulse-whatsapp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 13, 24, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.lightbox-dialog {
  position: relative;
  max-width: min(980px, 95vw);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}

.lightbox.is-open .lightbox-dialog { transform: translateY(0) scale(1); }

.lightbox img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #09152a;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

@media (min-width: 760px) {
  .topbar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .nav-toggle {
    display: none;
  }

  .menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    gap: 1.1rem;
  }

  .brand img {
    height: 96px;
    width: auto !important;
    max-width: none !important;
  }

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

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

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

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

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

@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 759px) {
  .topbar {
    font-size: 0.8rem;
  }

  .topbar .container {
    gap: 0.15rem;
    padding: 0.45rem 0;
  }

  .nav-wrap {
    min-height: 88px;
    padding: 0.8rem 0;
  }

  .brand img {
    height: 54px;
    width: auto !important;
    max-width: calc(100vw - 140px) !important;
  }

  .hero {
    padding: 5rem 0 4.6rem;
    background-position: center 42%;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    gap: 0.75rem;
  }

  .room-card img,
  .value-card img,
  .photo-card img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid #d7e1ef;
  box-shadow: 0 8px 28px rgba(13, 22, 39, 0.1);
  backdrop-filter: blur(6px);
}

.menu a:not(.btn) {
  font-weight: 800;
  padding: 0.2rem 0;
}

.menu .btn {
  white-space: nowrap;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
}

/* ============================= */
/* 🔥 FIX DEFINITIVO HEADER + LOGO */
/* ============================= */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid #e3eaf5;
  box-shadow: 0 8px 25px rgba(10, 20, 40, 0.08);
}

/* container do header */
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  min-height: 110px;
}

/* logo container */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* 🔥 LOGO DEFINITIVO */
.brand img {
  height: 90px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* menu */
.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* links */
.menu a {
  font-weight: 600;
  color: #1e3a5f;
  text-decoration: none;
}

/* botão whatsapp */
.menu .btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
}

/* botão verde */
.btn-primary {
  background: #25d366;
  color: #06230f;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* hover */
.btn-primary:hover {
  transform: translateY(-2px);
}

/* ============================= */
/* 📱 MOBILE FIX */
/* ============================= */

@media (max-width: 768px) {

  .nav-wrap {
    padding: 12px 0;
    min-height: 80px;
  }

  .brand img {
    height: 60px !important;
  }

  .menu {
    gap: 10px;
  }

  .menu .btn {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* ============================= */
/* 💻 DESKTOP FIX */
/* ============================= */

@media (min-width: 1024px) {

  .brand img {
    height: 100px !important;
  }

  .nav-wrap {
    min-height: 120px;
  }
}


/* ============================= */
/* FIX FINAL HEADER + LOGO */
/* cole no final do site.css */
/* ============================= */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid #dfe7f2;
  box-shadow: 0 8px 28px rgba(13, 22, 39, 0.08);
  backdrop-filter: blur(6px);
}

.topbar {
  background: #08162b;
  color: #d3def0;
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem 0;
}

.topbar a {
  color: #f5f8ff;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  min-height: 112px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
}

.brand img {
  display: block !important;
  height: 88px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
}

.nav-toggle {
  border: 1px solid #dce3ef;
  background: #fff;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.2rem;
}

.menu {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid #dce3ef;
  box-shadow: 0 16px 30px rgba(12, 24, 43, 0.12);
  padding: 0.9rem 1rem 1rem;
}

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

.menu a:not(.btn) {
  font-weight: 800;
  padding: 0.2rem 0;
  color: #1e3a5f;
}

.menu .active {
  color: #0d4aa0;
}

.menu .btn {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.35rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #25d366;
  color: #06230f;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.btn-primary:hover {
  background: #1fb857;
}

.whatsapp-btn {
  gap: 0.45rem;
}

.whatsapp-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

@media (min-width: 760px) {
  .topbar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .nav-toggle {
    display: none;
  }

  .menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    gap: 1.1rem;
  }

  .brand img {
    height: 100px !important;
  }

  .nav-wrap {
    min-height: 122px;
    padding: 1rem 0;
  }
}

@media (max-width: 759px) {
  .topbar {
    font-size: 0.78rem;
  }

  .topbar .container {
    gap: 0.15rem;
    padding: 0.42rem 0;
  }

  .nav-wrap {
    min-height: 86px;
    padding: 0.75rem 0;
  }

  .brand img {
    height: 58px !important;
    width: auto !important;
    max-width: calc(100vw - 170px) !important;
  }

  .menu .btn {
    width: 100%;
  }
}


/* ===== FIX DEFINITIVO DO LOGO ===== */

.brand {
  display: block !important;
  width: 500px !important;   /* AQUI FAZ O LOGO FICAR GRANDE */
  height: 180px !important;  /* AQUI FAZ O LOGO FICAR GRANDE */
  flex: 0 0 auto !important;

  background-image: url("../images/logo_unihotel_transparente_cortado.png") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;

  text-indent: -9999px;
  overflow: hidden;
}

.brand img {
  display: none !important;
}

.nav-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  min-height: 118px !important;
  padding: 16px 0 !important;
}

.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  background: #fff !important;
  border-bottom: 1px solid #dfe7f2 !important;
  box-shadow: 0 8px 28px rgba(13, 22, 39, 0.08) !important;
}

@media (max-width: 768px) {
  .brand {
    width: 240px !important;
    height: 80px !important;
  }
}

  .nav-wrap {
    min-height: 126px !important;
    padding: 16px 0 !important;
  }
}

@media (min-width: 1200px) {
  .brand {
    width: 500px !important;
    height: 180px !important;
  }
}

  .nav-wrap {
    min-height: 84px !important;
    padding: 10px 0 !important;
  }
}