/* ====================================
   RIOS AP TEMPORADA — Custom Styles
   rios-ap-temporada.com.br
   ==================================== */

/* ====================================
   CUSTOM PROPERTIES
   ==================================== */
:root {
  --navy:       #0D1B2A;
  --navy-dark:  #08111C;
  --sand:       #E9D8A6;
  --gold:       #C8A96A;
  --gold-light: #D4BA85;
  --white:      #FFFFFF;
  --gray:       #F8F9FA;
  --text:       #2B2B2B;
  --text-light: #666666;

  --transition: all 0.35s ease;
  --shadow:     0 12px 40px rgba(13, 27, 42, 0.14);
  --shadow-gold:0 10px 35px rgba(200, 169, 106, 0.28);
  --radius:     4px;
}

/* ====================================
   RESET & BASE
   ==================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ====================================
   UTILITIES
   ==================================== */
.text-center { text-align: center; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.85;
  max-width: 620px;
}

.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--sand));
  border-radius: 2px;
  margin: 1.25rem 0;
}

.divider.centered { margin-left: auto; margin-right: auto; }

/* ====================================
   NAVIGATION
   ==================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.5rem 0;
  background-color: #FAF4EA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='160'%3E%3Cpath d='M0 45 C150 25 300 65 450 45 C600 25 750 65 900 45' fill='none' stroke='%23C8A96A' stroke-width='1.5' opacity='0.07'/%3E%3Cpath d='M0 72 C150 52 300 92 450 72 C600 52 750 92 900 72' fill='none' stroke='%23C8A96A' stroke-width='1' opacity='0.05'/%3E%3Cpath d='M0 99 C150 79 300 119 450 99 C600 79 750 119 900 99' fill='none' stroke='%23C8A96A' stroke-width='1.5' opacity='0.06'/%3E%3Cpath d='M0 124 C150 104 300 144 450 124 C600 104 750 144 900 124' fill='none' stroke='%23C8A96A' stroke-width='1' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 900px 100%;
  border-bottom: 2px solid rgba(200, 169, 106, 0.35);
  box-shadow: 0 4px 24px rgba(13, 27, 42, 0.10);
  transition: var(--transition);
}

#header.scrolled {
  padding: 0.25rem 0;
  box-shadow:
    0 4px 24px rgba(13, 27, 42, 0.12),
    0 1px 0 rgba(200, 169, 106, 0.15);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 165px;
  width: auto;
  display: block;
  transition: height 0.35s ease, opacity 0.3s ease;
}


#header.scrolled .logo-img {
  height: 120px;
}

.footer-brand .logo {
  display: inline-flex;
  margin-bottom: 1.25rem;
}

.logo-img--footer {
  height: 130px;
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links a:hover { color: #8B6914; }

.nav-cta {
  background: #FF385C !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: #E31C5F !important;
  transform: translateY(-1px);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

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

/* Botão reservar sobre fundo areia */
.nav-cta {
  background: #FF385C !important;
  color: var(--white) !important;
}

.nav-cta:hover {
  background: #E31C5F !important;
  color: var(--white) !important;
}

/* ====================================
   MOBILE MENU
   ==================================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(310px, 85vw);
  height: 100vh;
  background: var(--navy);
  z-index: 960;
  padding: 5rem 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.open { right: 0; }

.mobile-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-close:hover { background: var(--gold); color: var(--navy); }

.mobile-nav ul { list-style: none; }

.mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.08); }

.mobile-nav ul li a {
  display: block;
  padding: 0.95rem 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav ul li a:hover {
  color: var(--gold);
  padding-left: 0.8rem;
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
  background: #FF385C;
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: var(--transition);
}

.mobile-cta-btn:hover {
  background: #E31C5F;
  transform: translateY(-2px);
}

/* ====================================
   HERO
   ==================================== */
#home {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Faixa escura no topo para o nav respirar */
    linear-gradient(to bottom, rgba(13, 27, 42, 0.75) 0%, rgba(13, 27, 42, 0) 22%),
    /* Gradiente principal de cima p/ baixo */
    linear-gradient(to bottom, rgba(13, 27, 42, 0.15) 0%, rgba(13, 27, 42, 0.60) 55%, rgba(13, 27, 42, 0.90) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 27, 42, 0.65);
  border: 1px solid rgba(200, 169, 106, 0.8);
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

#home h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #FF385C;
  color: var(--white);
  padding: 1rem 2.4rem;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.02em;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(255, 56, 92, 0.42);
}

.btn-hero:hover {
  background: #E31C5F;
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(255, 56, 92, 0.52);
}

/* Hero stats strip */
.hero-stats {
  position: absolute;
  bottom: 3.5rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.stat-item { text-align: center; }

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.3rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: lineDown 2.2s ease-in-out infinite;
}

@keyframes lineDown {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  80%  { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; }
}

/* Hero arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(13, 27, 42, 0.45);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}
.hero-arrow:hover { background: rgba(200,169,106,0.7); border-color: var(--gold); }
.hero-arrow--prev { left: 1.5rem; }
.hero-arrow--next { right: 1.5rem; }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.55rem;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.hero-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
.hero-dot:hover { background: rgba(255,255,255,0.8); }

/* ====================================
   SOBRE O APARTAMENTO
   ==================================== */
#apartamento { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper { position: relative; }

.about-main-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-accent-img {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 240px;
  height: 190px;
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.about-float-badge {
  position: absolute;
  top: 2rem;
  left: -1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 1.2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-float-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
}

.about-float-badge span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-text { padding-right: 1rem; }

.about-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 2rem;
}

.spec-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--gray);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: default;
}

.spec-card:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.spec-card:hover .spec-icon { color: var(--gold); }
.spec-card:hover .spec-label { color: rgba(255,255,255,0.6); }
.spec-card:hover .spec-value { color: var(--white); }

.spec-icon {
  font-size: 1.4rem;
  color: var(--navy);
  flex-shrink: 0;
  transition: color 0.3s;
}

.spec-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}

.spec-label {
  display: block;
  font-size: 0.76rem;
  color: #999;
  transition: color 0.3s;
}

/* ====================================
   GALERIA
   ==================================== */
#galeria { background: var(--gray); }

/* Gallery Filters */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 2rem;
}

.gallery-filter {
  background: transparent;
  border: 1.5px solid rgba(200,169,106,0.35);
  color: var(--navy);
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy);
  border-radius: var(--radius);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.hidden,
.gallery-item.gallery-more {
  display: none;
}

.gallery-load-more-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-load-more:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-load-more .more-count {
  font-size: 0.8rem;
  opacity: 0.75;
}

.gallery-item:first-child {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.8;
}

/* Caption sempre visível */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.55rem 0.75rem 0.6rem;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.gallery-caption strong {
  display: block;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.gallery-caption span {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.64rem;
  line-height: 1.3;
  margin-top: 0.1rem;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 27, 42, 0.38);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
  font-size: 1.8rem;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ====================================
   COMODIDADES
   ==================================== */
#comodidades { background: var(--white); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.amenity-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border: 1px solid #EBEBEB;
  border-radius: var(--radius);
  transition: var(--transition);
}

.amenity-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-5px);
}

.amenity-icon {
  display: block;
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.amenity-name {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text);
}

/* ====================================
   DIFERENCIAIS (GLASSMORPHISM)
   ==================================== */
#diferenciais {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#diferenciais::before,
#diferenciais::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(200, 169, 106, 0.05);
  pointer-events: none;
}

#diferenciais::before {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
}

#diferenciais::after {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}

.diff-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 169, 106, 0.18);
  padding: 2.4rem 2rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.diff-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.diff-icon {
  display: block;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.diff-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.diff-card p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

/* ====================================
   QUARTOS
   ==================================== */
#quartos { background: var(--gray); }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  transition: var(--transition);
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.room-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-img { transform: scale(1.04); }

.room-info { padding: 1.5rem; }

.room-info h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.room-info p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.7;
}

.room-beds {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 600;
}

/* ====================================
   LOCALIZAÇÃO
   ==================================== */
#localizacao { background: var(--white); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.location-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.location-info p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.82;
  margin-bottom: 1.75rem;
}

.location-list { list-style: none; }

.location-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #EFEFEF;
  font-size: 0.88rem;
  color: var(--text);
}

.location-list li i {
  color: var(--gold);
  width: 18px;
  flex-shrink: 0;
}

.map-wrap {
  position: relative;
  height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(200, 169, 106, 0.25);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* PIN personalizado */
.map-custom-pin {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 6px 18px rgba(13, 27, 42, 0.35));
  pointer-events: none;
}

.map-pin-card {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 230px;
  max-width: 260px;
}

.map-pin-logo {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.map-pin-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.map-pin-info strong {
  font-family: 'Playfair Display', serif;
  font-size: 0.82rem;
  color: var(--navy);
  line-height: 1.2;
}

.map-pin-info span {
  font-size: 0.72rem;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
}

.map-pin-arrow {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid var(--gold);
  margin-top: -1px;
}

/* Botão Como chegar */
.map-directions-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.35);
  transition: var(--transition);
  pointer-events: all;
}

.map-directions-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ====================================
   AVALIAÇÕES
   ==================================== */
#avaliacoes { background: var(--gray); }

.reviews-header { margin-bottom: 3rem; }

.rating-block {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.rating-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.rating-meta { text-align: left; }

.stars {
  display: flex;
  gap: 0.15rem;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.rating-sub {
  font-size: 0.84rem;
  color: var(--text-light);
}

/* --- Carrossel de avaliações --- */
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.reviews-track-wrap {
  overflow: hidden;
  flex: 1;
}

.reviews-track {
  display: flex;
  gap: 1.8rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.reviews-track .review-card {
  flex-shrink: 0;
}

.reviews-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--white);
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-arrow:hover {
  background: var(--gold);
  color: var(--white);
}

.reviews-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}

.reviews-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}

.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  position: relative;
}

.review-quote {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  color: var(--gold);
  opacity: 0.22;
  line-height: 0.9;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 1.8rem;
  position: relative;
  z-index: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--navy);
}

.reviewer-stars {
  display: flex;
  gap: 0.1rem;
  color: var(--gold);
  font-size: 0.68rem;
  margin-top: 0.2rem;
}

/* ====================================
   BLOG
   ==================================== */
#blog { background: var(--white); }

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-blog-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-blog-all:hover {
  color: var(--gold);
  gap: 0.8rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(13, 27, 42, 0.07);
  border: 1px solid rgba(200, 169, 106, 0.15);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 169, 106, 0.35);
}

.blog-card-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.blog-meta span {
  font-size: 0.75rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-meta i { color: var(--gold); }

.blog-card-body h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: inherit;
  transition: color 0.25s;
}

.blog-card-body h3 a:hover { color: var(--gold); }

.blog-card-body p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
  transition: var(--transition);
}

.blog-read-more:hover {
  color: var(--gold);
  gap: 0.7rem;
}

/* ====================================
   BLOG PAGE (blog.html)
   ==================================== */
.blog-page-hero {
  background-color: #FAF4EA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='160'%3E%3Cpath d='M0 45 C150 25 300 65 450 45 C600 25 750 65 900 45' fill='none' stroke='%23C8A96A' stroke-width='1.5' opacity='0.07'/%3E%3Cpath d='M0 72 C150 52 300 92 450 72 C600 52 750 92 900 72' fill='none' stroke='%23C8A96A' stroke-width='1' opacity='0.05'/%3E%3Cpath d='M0 99 C150 79 300 119 450 99 C600 79 750 119 900 99' fill='none' stroke='%23C8A96A' stroke-width='1.5' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  padding: 12rem 0 4rem;
  text-align: center;
  border-bottom: 2px solid rgba(200, 169, 106, 0.25);
}

.blog-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.blog-page-hero p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  padding: 4rem 0;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 2rem; }

.sidebar-widget {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(200, 169, 106, 0.15);
}

.sidebar-widget h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.sidebar-search {
  display: flex;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 50px;
  overflow: hidden;
}

.sidebar-search input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  outline: none;
  background: var(--white);
}

.sidebar-search button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.sidebar-search button:hover { background: var(--gold); color: var(--navy); }

.sidebar-categories { list-style: none; }

.sidebar-categories li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.86rem;
}

.sidebar-categories li:last-child { border-bottom: none; }

.sidebar-categories a {
  color: var(--text);
  transition: color 0.25s;
}

.sidebar-categories a:hover { color: var(--gold); }

.sidebar-categories .cat-count {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}

.sidebar-recent { list-style: none; display: flex; flex-direction: column; gap: 1rem; }

.sidebar-recent li { display: flex; gap: 0.75rem; align-items: flex-start; }

.sidebar-recent img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.sidebar-recent a {
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.25s;
}

.sidebar-recent a:hover { color: var(--gold); }

.sidebar-recent span {
  display: block;
  font-size: 0.72rem;
  color: #999;
  margin-top: 0.25rem;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--navy);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.page-btn:hover, .page-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ====================================
   SINGLE POST (post.html)
   ==================================== */
.post-hero {
  padding: 9rem 0 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.post-hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  opacity: 0.6;
  position: absolute;
  inset: 0;
}

.post-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 4rem;
}

.post-hero-content .blog-tag { position: static; margin-bottom: 1rem; display: inline-block; }

.post-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  max-width: 780px;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.post-hero-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.post-hero-meta span {
  color: rgba(255,255,255,0.7);
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.post-hero-meta i { color: var(--gold); }

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  padding: 4rem 0;
}

.post-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
}

.post-content h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.post-content h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.post-content p { margin-bottom: 1.25rem; }

.post-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gray);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 1.05rem;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}

.post-share span {
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--navy);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.share-btn.whatsapp { background: #25D366; color: var(--white); }
.share-btn.facebook { background: #1877F2; color: var(--white); }
.share-btn.copy     { background: var(--gray); color: var(--navy); border: 1px solid #ddd; }
.share-btn:hover    { transform: translateY(-2px); opacity: 0.9; }

.post-related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid rgba(200,169,106,0.2);
}

.post-related h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Blog responsive */
@media (max-width: 1024px) {
  .blog-layout,
  .post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-posts-grid { grid-template-columns: 1fr; }
  .blog-header { flex-direction: column; align-items: flex-start; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .post-hero-img { height: 100%; }
}

/* ====================================
   RESERVA / CTA
   ==================================== */
#reserva {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#reserva::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.reserva-inner {
  position: relative;
  z-index: 1;
}

.reserva-inner h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.reserva-inner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #FF385C;
  color: var(--white);
  padding: 1.05rem 2.4rem;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(255, 56, 92, 0.4);
}

.btn-whatsapp:hover {
  background: #E31C5F;
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(255, 56, 92, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  color: var(--white);
  padding: 1.05rem 2.4rem;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  border: 2px solid rgba(255,255,255,0.28);
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* ====================================
   FOOTER
   ==================================== */
footer {
  background-color: #FAF4EA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='160'%3E%3Cpath d='M0 45 C150 25 300 65 450 45 C600 25 750 65 900 45' fill='none' stroke='%23C8A96A' stroke-width='1.5' opacity='0.07'/%3E%3Cpath d='M0 72 C150 52 300 92 450 72 C600 52 750 92 900 72' fill='none' stroke='%23C8A96A' stroke-width='1' opacity='0.05'/%3E%3Cpath d='M0 99 C150 79 300 119 450 99 C600 79 750 119 900 99' fill='none' stroke='%23C8A96A' stroke-width='1.5' opacity='0.06'/%3E%3Cpath d='M0 124 C150 104 300 144 450 124 C600 104 750 144 900 124' fill='none' stroke='%23C8A96A' stroke-width='1' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 900px 100%;
  border-top: 2px solid rgba(200, 169, 106, 0.35);
  padding: 3.5rem 0 1.5rem;
  color: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text-legacy {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.82;
  color: rgba(13, 27, 42, 0.65);
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.7rem; }

.footer-col ul li a {
  font-size: 0.84rem;
  color: rgba(13, 27, 42, 0.55);
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-col ul li a:hover { color: #8B6914; }

.footer-bottom {
  border-top: 1px solid rgba(200, 169, 106, 0.3);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(13, 27, 42, 0.5);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(13, 27, 42, 0.45);
  transition: color 0.25s;
}

.footer-legal a:hover { color: #8B6914; }

/* ====================================
   FLOATING WHATSAPP BUTTON
   ==================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 800;
  width: 58px;
  height: 58px;
  background: #FF385C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(255, 56, 92, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  animation: none;
  box-shadow: 0 10px 30px rgba(255, 56, 92, 0.6);
}

.whatsapp-float i { font-size: 1.7rem; color: var(--white); }

@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 56, 92, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(255, 56, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 56, 92, 0); }
}

/* ====================================
   AI CHAT WIDGET
   ==================================== */
.ai-chat-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 850;
}

.ai-toggle-btn {
  width: 58px;
  height: 58px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 22px rgba(13, 27, 42, 0.45);
  animation: aiPulse 3s ease-in-out infinite;
  position: relative;
}

.ai-toggle-btn i { font-size: 1.4rem; color: var(--gold); transition: all 0.25s; }
.ai-toggle-btn:hover { transform: scale(1.1); animation: none; }

@keyframes aiPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,169,106,0.45); }
  60%       { box-shadow: 0 0 0 14px rgba(200,169,106,0); }
}

.ai-panel {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 320px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(13,27,42,0.22);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: aiSlideUp 0.28s ease;
}

.ai-panel.open { display: flex; }

@keyframes aiSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ai-header {
  background: var(--navy);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-avatar-wrap { position: relative; flex-shrink: 0; }

.ai-avatar {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-avatar i { color: var(--navy); font-size: 1.15rem; }

.ai-online-dot {
  width: 11px;
  height: 11px;
  background: #2ecc71;
  border: 2px solid var(--navy);
  border-radius: 50%;
  position: absolute;
  bottom: 1px;
  right: 1px;
}

.ai-name { color: var(--white); font-size: 0.9rem; font-weight: 600; margin: 0; line-height: 1.3; }
.ai-status { color: var(--gold); font-size: 0.68rem; margin: 0; }

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 180px;
  max-height: 270px;
  scroll-behavior: smooth;
}

.ai-msg {
  max-width: 88%;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ai-msg.bot {
  background: #f0f2f5;
  color: var(--text);
  border-radius: 4px 12px 12px 12px;
  align-self: flex-start;
  white-space: pre-line;
}

.ai-msg.user {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px 4px 12px 12px;
  align-self: flex-end;
}

.ai-msg a.ai-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FF385C;
  color: var(--white);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.ai-msg a.ai-action-btn:hover { background: #E31C5F; }

.ai-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.6rem 0.85rem;
  background: #f0f2f5;
  border-radius: 4px 12px 12px 12px;
  width: fit-content;
  align-self: flex-start;
}

.ai-typing span {
  width: 6px;
  height: 6px;
  background: #aaa;
  border-radius: 50%;
  animation: aiDot 1.2s infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

.ai-chips {
  padding: 0.55rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  border-top: 1px solid #eee;
}

.ai-chip {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.28rem 0.65rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}

.ai-chip:hover { background: var(--gold); color: var(--navy); }

.ai-input-wrap {
  display: flex;
  border-top: 1px solid #eee;
  padding: 0.6rem 0.75rem;
  gap: 0.45rem;
  align-items: center;
}

.ai-input-wrap input {
  flex: 1;
  min-width: 0;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 0.48rem 0.95rem;
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  color: var(--text);
}

.ai-input-wrap input:focus { border-color: var(--gold); }

.ai-send-btn {
  width: 34px;
  height: 34px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.ai-send-btn:hover { background: var(--gold); color: var(--navy); }

@media (max-width: 480px) {
  .ai-chat-widget { bottom: 1.25rem; left: 1rem; }
  .ai-panel { width: calc(100vw - 2rem); max-height: 80vh; }
}

/* ====================================
   BACK TO TOP
   ==================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid rgba(200, 169, 106, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.back-to-top i { font-size: 0.95rem; }

/* ====================================
   LIGHTBOX
   ==================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 28, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  transition: opacity 0.2s ease;
  display: block;
}

.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.lb-close:hover { background: var(--gold); border-color: var(--gold); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}

.lb-nav:hover { background: var(--gold); border-color: var(--gold); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }

.lb-counter {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.lb-wrapper {
  position: relative;
  display: inline-flex;
  max-width: 90vw;
}

.lb-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(13,27,42,0.88) 0%, transparent 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  pointer-events: none;
}
.lb-caption strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.lb-caption span {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ====================================
   COOKIE BANNER (LGPD)
   ==================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--navy-dark);
  border-top: 2px solid var(--gold);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.75);
  flex: 1;
  line-height: 1.6;
}

.cookie-banner a { color: var(--gold); }

.btn-accept {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-accept:hover { background: var(--sand); }

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 3rem; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  /* Sections */
  .section { padding: 4rem 0; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-accent-img,
  .about-float-badge { display: none; }
  .about-main-img { height: 340px; }
  .about-text { padding-right: 0; }
  .about-specs { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 1; }

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

  /* Diff */
  .diff-grid { grid-template-columns: 1fr; }

  /* Rooms */
  .rooms-grid { grid-template-columns: 1fr; }

  /* Location */
  .location-grid { grid-template-columns: 1fr; }

  /* Reviews carousel */
  .reviews-arrow { width: 36px; height: 36px; font-size: 0.85rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Hero */
  .hero-content { padding: 0 1.25rem; }
  .hero-badge { font-size: 0.62rem; letter-spacing: 0.07em; padding: 0.45rem 1rem; }
  #home h1 { font-size: 2.2rem; margin-bottom: 1rem; }
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 2rem; }
  .btn-hero { font-size: 0.9rem; padding: 0.85rem 1.8rem; }
  .hero-stats { gap: 1.2rem; flex-wrap: nowrap; bottom: 4.5rem; }
  .stat-number { font-size: 2.6rem; white-space: nowrap; }
  .hero-scroll { display: none; }

  /* CTA */
  .cta-group { flex-direction: column; align-items: center; }

  /* Footer bottom */
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    text-align: center;
  }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ====================================
   AMENITIES BY CATEGORY
   ==================================== */
.amenities-by-category {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.amenity-cat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
}

.amenity-cat:hover { border-top-color: var(--gold); }

.amenity-cat--wide { grid-column: span 2; }

.amenity-cat-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(200,169,106,0.25);
}

.amenity-cat-title i { color: var(--gold); width: 18px; text-align: center; }

.amenity-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.amenity-cat-list--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1.5rem;
}

.amenity-cat-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.4;
}

.amenity-cat-list li i {
  color: var(--gold);
  width: 15px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.75rem;
}

.amenity-note {
  display: block;
  font-size: 0.72rem;
  color: #bbb;
  margin-top: 0.2rem;
  font-style: italic;
  line-height: 1.3;
}

.amenities-unavailable {
  margin-top: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}

.amenity-cat-title--unavailable { color: #aaa; border-color: #eee; }
.amenity-cat-title--unavailable i { color: #ccc; }

.amenity-cat-list--unavailable {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.amenity-cat-list--unavailable li {
  color: #bbb;
  text-decoration: line-through;
  font-size: 0.83rem;
}

.amenity-cat-list--unavailable li i { color: #ddd; }

@media (max-width: 1024px) {
  .amenities-by-category { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .amenities-by-category { grid-template-columns: 1fr; }
  .amenity-cat--wide { grid-column: span 1; }
  .amenity-cat-list--2col { grid-template-columns: 1fr; }
  .amenity-cat-list--unavailable { flex-direction: column; }
}
