/* ============================================================
   MARCHI MAR · CSS Principal
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0a1628;
  --teal: #0e7490;
  --teal-lt: #22d3ee;
  --sand: #f5efe6;
  --sand-dk: #e8ddd0;
  --gold: #c8a45a;
  --gold-lt: #e8c27a;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --grad-hero: linear-gradient(160deg, #0a1628 0%, #0c2a45 50%, #0e3a5c 100%);
  --grad-teal: linear-gradient(135deg, var(--teal) 0%, #0891b2 100%);
  --grad-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .14);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .22);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.text-center {
  text-align: center;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--grad-gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(200, 164, 90, .45);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 164, 90, .6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, .5);
  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--white);
}

.btn-large {
  padding: 17px 44px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ---------- NAV ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  background: rgba(10, 22, 40, 0.55);
}

@media (max-width: 768px) {
  #navbar {
    background: rgba(10, 22, 40, 0.82);
  }
}

#navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform var(--transition);
}

.logo:hover .logo-img {
  transform: rotate(-8deg) scale(1.08);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 0px;
  line-height: 1;
}

.logo-text-nav {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.logo-tagline {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  opacity: .9;
  white-space: nowrap;
}

/* Mobile: tagline "— Temporadas —" fica abaixo do nome, levemente menor */
@media (max-width: 768px) {
  .logo-tagline {
    font-size: 0.52rem;
    letter-spacing: .18em;
    opacity: .85;
  }
}

.logo-accent {
  color: var(--gold-lt);
}

/* Hero logo */
.hero-logo-wrap {
  margin-bottom: 24px;
  animation: fadeUp .8s .05s both;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(200, 164, 90, .45));
  transition: transform .4s ease;
}

.hero-logo:hover {
  transform: scale(1.06) rotate(3deg);
}

/* Footer logo */
.footer-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 10px;
  opacity: .92;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 255, 255, .8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-lt);
  transition: width .25s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: #25d366;
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 50px;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

/* Animated wave patterns */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(14, 116, 144, .35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(200, 164, 90, .12) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,64L60,69.3C120,75,240,85,360,80C480,75,600,53,720,48C840,43,960,53,1080,64C1200,75,1320,85,1380,90.7L1440,96L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z'/%3E%3C/svg%3E") no-repeat bottom/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 22, 40, .1) 0%, rgba(10, 22, 40, .5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
  animation: fadeUp .8s .1s both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp .8s .2s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeUp .8s .35s both;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp .8s .5s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 140px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .6;
  animation: fadeIn 1s 1s both;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--white);
  animation: scrollPulse 2s infinite;
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--white);
  writing-mode: vertical-rl;
}

/* ---------- SOBRE ---------- */
.section-sobre {
  padding: 100px 0;
  background: var(--white);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-text h2 {
  margin-bottom: 20px;
}

.sobre-text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.sobre-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.badge {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
  border: 1px solid var(--sand-dk);
}

.badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.badge-icon {
  font-size: 2rem;
}

.badge strong {
  font-size: 0.95rem;
  color: var(--navy);
}

.badge small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- APARTAMENTOS CARDS ---------- */
.section-apts {
  padding: 100px 0 120px;
  background: var(--sand);
}

.section-apts h2 {
  margin-top: 12px;
  margin-bottom: 56px;
}

.apt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.apt-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, .06);
}

/* Suporte a div.apt-card (sem link envolvendo tudo) */
div.apt-card {
  cursor: default;
}

.apt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  /* cards com alturas diferentes ficam alinhados ao topo */
}

.apt-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Botão outline teal ("Ver fotos") dentro do card */
.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 50px;
  border: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
}

.apt-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.apt-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.apt-card:hover .apt-card-img img {
  transform: scale(1.07);
}

.apt-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, .75) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.apt-card:hover .apt-card-overlay {
  opacity: 1;
}

.apt-card-overlay span {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 50px;
}

.apt-card-body {
  padding: 28px;
}

.apt-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.apt-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  /* reduzido: o endereço vem logo abaixo */
}

/* Endereço como subtítulo do nome (logo abaixo do h3) */
.apt-card-body h3+.apt-address {
  margin-top: 0;
  margin-bottom: 14px;
  border-bottom: none;
  font-size: 0.78rem;
  color: var(--muted);
}

.apt-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.apt-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.apt-features li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- DETALHES (GALERIA) ---------- */
.section-detalhe {
  padding: 100px 0;
}

.bv-theme {
  background: var(--sand);
}

.vm-theme {
  background: var(--white);
}

.detalhe-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.detalhe-desc {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Gallery */
.gallery {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 22, 40, .65);
  backdrop-filter: blur(6px);
  color: var(--white);
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-btn.prev {
  left: 16px;
}

.gallery-btn.next {
  right: 16px;
}

.gallery-btn:hover {
  background: var(--teal);
}

.gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 18px;
  background: rgba(10, 22, 40, .65);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ── Swiper strip de thumbnails ── */
.gallery-swiper {
  position: relative;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow: hidden;
  /* oculta o scroll nativo */
  scroll-behavior: smooth;
  /* máscara fade nas bordas para indicar que há mais */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.thumb {
  flex-shrink: 0;
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: .5;
  transition: opacity .2s, border-color .2s, box-shadow .2s;
  border: 3px solid transparent;
}

.thumb:hover {
  opacity: .82;
}

.thumb.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

/* Setas do swiper de thumbnails */
.swiper-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 22, 40, .55);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}

.swiper-arrow:hover {
  background: var(--teal);
}

.swiper-arrow:disabled {
  opacity: .25;
  cursor: default;
}

/* Transição da foto principal */
.gallery-main img.gallery-fade-out {
  opacity: 0;
  transition: opacity .2s ease;
}

.gallery-main img {
  transition: opacity .2s ease;
}

/* Endereço no card */
.apt-address {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  border: none;
  border-bottom: 1px dashed var(--teal);
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color .2s, border-color .2s;
  line-height: 1.4;
}

.apt-address:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* Endereço na seção de detalhe */
.detalhe-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid var(--teal);
  border-radius: 50px;
  transition: background .2s, color .2s;
}

.detalhe-address:hover {
  background: var(--teal);
  color: var(--white);
}

/* Capacidade do apartamento */
.apt-capacity {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
  text-align: left;
}

.apt-capacity span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--sand);
  border: 1px solid var(--sand-dk);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

/* Lista de comodidades */
.apt-amenities {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 0 0 24px;
  text-align: left;
}

.apt-amenities li {
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.5;
}

/* Botões de reserva */
.apt-booking-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

.btn-booking-blue {
  background: #003580;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0, 53, 128, .35);
}

.btn-booking-blue:hover {
  background: #00266b;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 53, 128, .5);
}

.btn-booking-red {
  background: #ff5a5f;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(255, 90, 95, .35);
}

.btn-booking-red:hover {
  background: #e0484d;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 90, 95, .5);
}

.detalhe-cta {
  text-align: center;
  margin-top: 48px;
}


/* ---------- STATS ---------- */
.section-stats {
  background: var(--grad-hero);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  transition: background .3s;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(255, 255, 255, .06);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}

.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-lt);
}

.stat-item p {
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: .04em;
}

/* ---------- DEPOIMENTOS ---------- */
.section-depoimentos {
  padding: 100px 0;
  background: var(--sand);
}

.section-depoimentos h2 {
  margin-top: 12px;
  margin-bottom: 56px;
}

/* Swiper de depoimentos */
.depo-swiper {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.depo-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.depo-track {
  display: flex;
  gap: 24px;
  /* Transição suave via JS com transform */
}

.depo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
  flex-shrink: 0;
  /* largura será definida pelo JS conforme viewport */
}

.depo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Setas do carousel */
.depo-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: transparent;
  color: var(--teal);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  z-index: 2;
}

.depo-arrow:hover {
  background: var(--teal);
  color: var(--white);
}

.depo-arrow:disabled {
  opacity: .25;
  cursor: default;
}

/* Dots de paginação */
.depo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.depo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand-dk);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}

.depo-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}

.depo-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.depo-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.depo-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.depo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-teal);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.depo-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.depo-author small {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  padding: 14px 22px 14px 18px;
  box-shadow: 0 6px 28px rgba(37, 211, 102, .5);
  transition: transform .25s ease, box-shadow .25s ease, padding .25s ease;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.whatsapp-float-label {
  max-width: 130px;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .35s ease, opacity .35s ease;
  opacity: 1;
}

@media (max-width: 768px) {
  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
    right: 20px;
    bottom: 20px;
  }

  .whatsapp-float-label {
    display: none;
  }
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 36px rgba(37, 211, 102, .65);
}

/* Pulsa suavemente para chamar atenção */
@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 6px 28px rgba(37, 211, 102, .5);
  }

  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, .8);
  }
}

.whatsapp-float {
  animation: waPulse 2.8s ease-in-out infinite;
}

.whatsapp-float:hover {
  animation: none;
}

/* ---------- CHECK-IN / CHECK-OUT DIFERENCIAL ---------- */
.section-checkin {
  padding: 100px 0;
  background: var(--white);
}

.section-checkin h2 {
  margin-top: 12px;
  margin-bottom: 12px;
}

.checkin-subtitle {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.75;
}

.checkin-subtitle strong {
  color: var(--navy);
  font-weight: 700;
}

.checkin-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.checkin-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
  border: 2px solid var(--sand-dk);
  transition: var(--transition);
  min-width: 220px;
  flex: 1;
  max-width: 280px;
}

.checkin-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.checkin-in {
  border-top: 4px solid var(--teal);
}

.checkin-out {
  border-top: 4px solid var(--gold);
}

.checkin-icon {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.checkin-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.checkin-time {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}

.checkin-in .checkin-time {
  color: var(--teal);
}

.checkin-out .checkin-time {
  color: var(--gold);
}

.checkin-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Badge central com as 28 horas */
.checkin-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--grad-hero);
  box-shadow: 0 8px 32px rgba(10, 22, 40, .3);
  flex-shrink: 0;
  position: relative;
}

.checkin-badge::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  opacity: .5;
  animation: rotateDash 12s linear infinite;
}

.checkin-hours {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}

.checkin-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
}

@keyframes rotateDash {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .checkin-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .checkin-card {
    max-width: 100%;
    min-width: unset;
    flex: unset;
    padding: 28px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  .checkin-card .checkin-icon {
    font-size: 2.8rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .checkin-card-content {
    flex: 1;
  }

  .checkin-time {
    font-size: 2.6rem;
    margin-bottom: 4px;
  }

  .checkin-label {
    margin-bottom: 4px;
  }

  .checkin-badge {
    order: -1;
    align-self: center;
    width: 100px;
    height: 100px;
  }

  .checkin-hours {
    font-size: 2.2rem;
  }
}

/* ---------- POR QUE NÓS ---------- */

.section-why {
  padding: 100px 0;
  background: var(--navy);
}

.section-why .eyebrow {
  color: var(--gold-lt);
}

.section-why h2 {
  color: var(--white);
  margin-bottom: 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-item:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-4px);
  border-color: rgba(200, 164, 90, .4);
}

.why-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.why-item h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-item p {
  color: rgba(255, 255, 255, .6);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ---------- CONTATO ---------- */
.section-contato {
  padding: 100px 0;
  background: var(--white);
}

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contato-text h2 {
  margin-bottom: 16px;
}

.contato-text p {
  color: var(--muted);
  margin-bottom: 32px;
}

.btn-whatsapp-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #25d366;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
}

.btn-whatsapp-big:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .5);
}

/* Form */
.contato-form-wrap {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 40px;
}

.contato-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--sand-dk);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea {
  resize: vertical;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  padding: 60px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand .logo-wave {
  font-size: 1.3rem;
  color: var(--teal-lt);
}

.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand .logo-accent {
  color: var(--gold-lt);
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, .6);
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--gold-lt);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .4);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .15);
  border: none;
  color: var(--white);
  font-size: 2.8rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

.lightbox-nav:hover {
  background: var(--teal);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: .6;
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(.5);
    opacity: .3;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .nav-links,
  #nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #navbar.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, .97);
    padding: 20px 24px 28px;
    gap: 18px;
  }

  #navbar.mobile-open #nav-cta {
    display: inline-flex;
    margin: 0 24px 24px;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sobre-badges {
    grid-template-columns: 1fr 1fr;
  }

  .apt-cards {
    grid-template-columns: 1fr;
  }

  .contato-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-scroll-hint {
    display: none;
  }

  .contato-form-wrap {
    padding: 28px 20px;
  }

  .thumb {
    width: 74px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .sobre-badges {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .apt-features {
    grid-template-columns: 1fr;
  }
}