/* ===========================================================
   Realeza Home & Life — Landing Page
   Sistema visual editorial · paleta off-white + taupe + dourado
   =========================================================== */

:root {
  /* Paleta da marca */
  --off-white: #F7F4F1;
  --bege:      #E8DDD2;
  --areia:     #D6C2AE;
  --taupe:     #A58C74;
  --cafe:      #6B513D;
  --cafe-deep: #4E3A2B;
  --nude:      #CBB39D;
  --oliva:     #8A9278;
  --dourado:   #B79A72;

  /* Tipografia */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Ritmo */
  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 88px);
  --section-y: clamp(72px, 11vw, 168px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--cafe);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

::selection { background: var(--dourado); color: var(--off-white); }

/* ---------- Tipografia utilitária ---------- */
.kicker {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--taupe);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--dourado);
  display: inline-block;
}
.kicker.center { justify-content: center; }
.kicker.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--dourado);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--cafe-deep);
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0.005em;
}

.display {
  font-size: clamp(46px, 8vw, 116px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.section-title {
  font-size: clamp(34px, 5.2vw, 68px);
}

.lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.85;
  color: var(--cafe);
}

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
}

/* ---------- Botões ---------- */
.btn {
  --bg: var(--cafe-deep);
  --fg: var(--off-white);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 17px 32px;
  border: 1px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  position: relative;
}
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover { background: transparent; color: var(--cafe-deep); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--cafe-deep);
  border-color: var(--taupe);
}
.btn--ghost:hover { background: var(--cafe-deep); color: var(--off-white); border-color: var(--cafe-deep); }

.btn--light {
  --bg: var(--off-white);
  --fg: var(--cafe-deep);
}
.btn--light:hover { background: transparent; color: var(--off-white); border-color: var(--off-white); }

/* ---------- Image slots / imagens ---------- */
image-slot {
  --slot-bg: linear-gradient(135deg, var(--bege) 0%, var(--areia) 100%);
  background: var(--slot-bg);
}
img { background: linear-gradient(135deg, var(--bege), var(--areia)); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gut);
  transition: background .6s var(--ease), padding .6s var(--ease), box-shadow .6s var(--ease);
}
/* scrim sutil atrás do header sobre a hero — some quando o header fica sólido */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(46,34,25,0.68) 0%, rgba(46,34,25,0.38) 50%, rgba(46,34,25,0) 100%);
  opacity: 1;
  transition: opacity .6s var(--ease);
}
.site-header.scrolled::before { opacity: 0; }
.site-header.scrolled {
  background: rgba(247, 244, 241, 0.92);
  backdrop-filter: blur(12px);
  padding-block: 14px;
  box-shadow: 0 1px 0 rgba(107, 81, 61, 0.10);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--cafe-deep);
  transition: color .5s var(--ease);
}
.brand .brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.16em;
}
.brand .brand-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--taupe);
}
/* over hero, before scroll */
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav a { color: var(--off-white); text-shadow: 0 1px 16px rgba(46,34,25,0.85), 0 0 3px rgba(46,34,25,0.5); }
.site-header:not(.scrolled) .brand .brand-sub { color: rgba(247,244,241,0.88); }
.site-header:not(.scrolled) .nav a::after { background: var(--off-white); }
.site-header:not(.scrolled) .menu-toggle span { background: var(--off-white); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 44px);
}
.nav a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  position: relative;
  padding-block: 4px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--cafe-deep);
  transition: width .4s var(--ease);
}
.nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--cafe-deep);
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .5s var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cafe-deep);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__media image-slot,
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(46,34,25,0.74) 0%, rgba(46,34,25,0.46) 32%, rgba(46,34,25,0.08) 58%, rgba(46,34,25,0) 78%),
    linear-gradient(to top, rgba(46,34,25,0.50) 0%, rgba(46,34,25,0) 34%);
}
.hero__panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: calc(var(--maxw) + var(--gut) * 2);
  margin: 0 auto;
  padding: clamp(120px, 14vw, 168px) var(--gut) clamp(96px, 12vw, 132px);
  color: var(--off-white);
}
.hero__panel .kicker { color: var(--off-white); text-shadow: 0 1px 18px rgba(46,34,25,0.55); }
.hero__panel .kicker::before { background: var(--dourado); }

.hero h1 {
  color: var(--off-white);
  margin: 26px 0 0;
  max-width: 14ch;
  text-shadow: 0 2px 40px rgba(46,34,25,0.35);
}
.hero__sub {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.3vw, 31px);
  line-height: 1.4;
  color: var(--off-white);
  margin: 28px 0 0;
  max-width: 26ch;
  text-shadow: 0 2px 30px rgba(46,34,25,0.4);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(34px, 5vw, 52px);
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: calc(var(--maxw) + var(--gut) * 2);
  padding-inline: var(--gut);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247,244,241,0.78);
}
.hero__scroll .line {
  width: 46px; height: 1px; background: var(--dourado);
  transform-origin: left;
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine { 0%,100%{transform:scaleX(.4);opacity:.5} 50%{transform:scaleX(1);opacity:1} }

/* ============================================================
   BEM-VINDO À REALEZA
   ============================================================ */
.bemvindo {
  padding-block: var(--section-y);
  background: var(--off-white);
}
.bemvindo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.bemvindo__copy h2 {
  margin-top: 22px;
  font-size: clamp(30px, 3.1vw, 43px);
}
.bemvindo__copy .lede { margin-top: 30px; max-width: 44ch; }
.bemvindo__copy .lede + .lede { margin-top: 18px; }
.bemvindo__media { position: relative; }
.bemvindo__media__frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.bemvindo__media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Link de texto sublinhado */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 42px);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cafe-deep);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--dourado);
  transition: gap .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.text-link .arrow { transition: transform .4s var(--ease); }
.text-link:hover { gap: 18px; color: var(--taupe); border-color: var(--taupe); }
.text-link:hover .arrow { transform: translateX(5px); }

/* ============================================================
   SOBRE A REALEZA (bloco de texto)
   ============================================================ */
.sobre {
  padding-block: var(--section-y);
  background: var(--bege);
}
.sobre__card { max-width: 720px; }
.sobre__card h2 { margin-top: 20px; }
.sobre__card-body {
  margin-top: 30px;
  display: grid;
  gap: 18px;
  max-width: 60ch;
}

/* ============================================================
   COLEÇÕES (carrossel)
   ============================================================ */
.colecoes {
  padding-block: var(--section-y);
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.colecoes__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.colecoes__head h2 { margin-top: 18px; }

.carousel {
  position: relative;
  padding-inline: clamp(48px, 7vw, 96px);
}
.carousel__viewport {
  overflow: hidden;
}
.carousel__track {
  display: flex;
  gap: clamp(16px, 1.8vw, 26px);
  transition: transform .6s var(--ease);
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
}
.carousel__track.dragging { cursor: grabbing; transition: none; }

.col-card {
  flex: 0 0 auto;
  width: clamp(214px, 23vw, 268px);
  cursor: pointer;
  background: transparent;
  user-select: none;
}
.col-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bege);
}
.col-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  -webkit-user-drag: none;
}
.col-card:hover .col-card__img,
.col-card:focus-visible .col-card__img { transform: scale(1.05); }

.col-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 14px 8px;
}
.col-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: none;
  margin-bottom: 14px;
}
.col-card__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cafe-deep);
  line-height: 1.1;
}
.col-card__tag {
  font-size: 13px;
  line-height: 1.62;
  color: var(--taupe);
  margin-top: 12px;
  max-width: 24ch;
  text-wrap: pretty;
}

.carousel__btn {
  position: absolute;
  top: clamp(120px, 16vw, 190px);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--areia);
  background: rgba(247, 244, 241, 0.9);
  backdrop-filter: blur(6px);
  color: var(--cafe-deep);
  font-size: 19px;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), opacity .4s var(--ease);
}
.carousel__btn:hover { background: var(--cafe-deep); color: var(--off-white); border-color: var(--cafe-deep); }
.carousel__btn--prev { left: clamp(6px, 1.5vw, 24px); }
.carousel__btn--next { right: clamp(6px, 1.5vw, 24px); }
.carousel__btn.is-disabled { opacity: 0.32; pointer-events: none; }

.carousel__hint {
  text-align: center;
  margin: 28px 0 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato {
  padding-block: var(--section-y);
  background: var(--cafe-deep);
  color: var(--off-white);
}
.contato .kicker { color: var(--areia); }
.contato .kicker::before { background: var(--dourado); }
.contato__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}
.contato h2 { color: var(--off-white); margin-top: 22px; }
.contato__lede {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.85;
  color: var(--areia);
  margin-top: 26px;
  max-width: 46ch;
}
.contato__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}
.contato__details {
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(214,194,174,0.28);
}
.detail {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(214,194,174,0.28);
  align-items: baseline;
}
.detail dt {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--areia);
}
.detail dd {
  margin: 0;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--off-white);
}
.detail dd a { transition: color .3s var(--ease); }
.detail dd a:hover { color: var(--dourado); }

/* Mapa / localização */
.contato__maprow {
  margin-top: clamp(52px, 6vw, 88px);
  position: relative;
}
.contato__maphead { max-width: 60ch; }
.contato__mapttl {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--off-white);
  line-height: 1.1;
}
.contato__mapsub {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--areia);
}
.contato__maplink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-white);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--dourado);
  transition: gap .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.contato__maplink .arrow { transition: transform .4s var(--ease); }
.contato__maplink:hover { gap: 16px; color: var(--areia); border-color: var(--areia); }
.contato__map {
  position: relative;
  margin-top: 24px;
  height: clamp(320px, 42vw, 460px);
  overflow: hidden;
  border: 1px solid rgba(214, 194, 174, 0.30);
  background: var(--bege);
}
.contato__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.78) contrast(1.02);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--cafe-deep);
  color: var(--areia);
  padding: 44px var(--gut);
  border-top: 1px solid rgba(214,194,174,0.20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}
.site-footer .f-brand {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 19px;
  color: var(--off-white);
}
.site-footer .f-meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--taupe);
}
.site-footer .f-social { display: flex; gap: 22px; }
.site-footer .f-social a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color .3s var(--ease);
}
.site-footer .f-social a:hover { color: var(--off-white); }

/* ============================================================
   GALERIA (overlay)
   ============================================================ */
.gallery {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--off-white);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gallery.open { opacity: 1; pointer-events: auto; transform: none; }

.gallery__bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(247, 244, 241, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 81, 61, 0.12);
}
.gallery__id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.gallery__icon { width: 56px; height: 56px; flex: none; object-fit: contain; }
.gallery__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--cafe-deep);
  line-height: 1;
}
.gallery__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--taupe);
  margin: 6px 0 0;
  max-width: 64ch;
}
.gallery__bar-right { display: flex; align-items: center; gap: 22px; flex: none; }
.gallery__count {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
  white-space: nowrap;
}
.gallery__close, .lightbox__close {
  position: relative;
  width: 46px; height: 46px;
  border: 1px solid var(--areia);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  flex: none;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.gallery__close span, .lightbox__close span {
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 1.5px;
  background: var(--cafe-deep);
  transition: background .4s var(--ease);
}
.gallery__close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.gallery__close span:last-child  { transform: translate(-50%,-50%) rotate(-45deg); }
.gallery__close:hover { background: var(--cafe-deep); border-color: var(--cafe-deep); }
.gallery__close:hover span { background: var(--off-white); }

.gallery__grid {
  --gap: clamp(14px, 1.6vw, 24px);
  --cols: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
  padding: clamp(26px, 4vw, 52px) clamp(20px, 5vw, 72px) clamp(60px, 8vw, 110px);
}
.gal-item {
  width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols) - 0.5px);
  margin: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  animation: galIn .6s var(--ease) forwards;
  animation-delay: calc(var(--i) * 40ms);
}
@keyframes galIn { to { opacity: 1; transform: none; } }
.gal-item__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bege);
}
.gal-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
}
.gal-item:hover .gal-item__media img { transform: scale(1.06); }
.gal-item figcaption {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
  padding: 12px 2px 2px;
  transition: color .3s var(--ease);
}
.gal-item:hover figcaption { color: var(--cafe-deep); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 40px);
  padding: clamp(16px, 4vw, 56px);
  background: rgba(46, 34, 25, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__fig {
  margin: 0;
  max-width: min(82vw, 1100px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox__fig img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: var(--off-white);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.lightbox__fig figcaption {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--off-white);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
}
.lightbox__count {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--areia);
}
.lightbox__close {
  position: absolute;
  top: clamp(16px, 3vw, 34px);
  right: clamp(16px, 3vw, 34px);
  border-color: rgba(247,244,241,0.45);
}
.lightbox__close span { background: var(--off-white); }
.lightbox__close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.lightbox__close span:last-child  { transform: translate(-50%,-50%) rotate(-45deg); }
.lightbox__close:hover { background: var(--off-white); border-color: var(--off-white); }
.lightbox__close:hover span { background: var(--cafe-deep); }
.lightbox__nav {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(247,244,241,0.4);
  background: transparent;
  color: var(--off-white);
  font-size: 22px;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.lightbox__nav:hover { background: var(--off-white); color: var(--cafe-deep); border-color: var(--off-white); }

@media (max-width: 900px) {
  .gallery__grid { --cols: 3; }
}
@media (max-width: 600px) {
  .gallery__grid { --cols: 2; }
  .lightbox__nav {
    position: absolute;
    bottom: 22px;
    width: 50px; height: 50px;
  }
  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
  .gallery__icon { width: 44px; height: 44px; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    will-change: opacity, transform;
  }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: .08s; }
  .reveal[data-d="2"] { transition-delay: .16s; }
  .reveal[data-d="3"] { transition-delay: .24s; }
  .reveal[data-d="4"] { transition-delay: .32s; }
}

/* ============================================================
   MOBILE NAV PANEL
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cafe-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--off-white);
  letter-spacing: 0.03em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .carousel { padding-inline: clamp(40px, 6vw, 72px); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .hero__panel { padding-block: clamp(120px,22vw,150px) clamp(80px,16vw,110px); }
  .bemvindo__grid, .contato__grid { grid-template-columns: 1fr; }
  .bemvindo__media__frame { aspect-ratio: 16 / 11; max-width: 560px; }
  .bemvindo__copy { order: 1; }
  .bemvindo__media { order: 2; }
  .detail { grid-template-columns: 130px 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .carousel { padding-inline: 20px; }
  .col-card { width: 76vw; }
  .carousel__btn { display: none; }
  .detail { grid-template-columns: 1fr; gap: 4px; }
  .hero__cta .btn, .contato__cta .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.wa-float {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42), 0 4px 12px rgba(0,0,0,0.16);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  animation: waFloatIn .7s var(--ease) .4s both;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: waPulse 2.4s var(--ease) infinite;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  background: #1ebe5a;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0,0,0,0.20);
}
.wa-float__icon { width: 32px; height: 32px; display: block; }
.wa-float__tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--cafe-deep);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 16px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow: 0 6px 18px rgba(46,34,25,0.25);
}
.wa-float__tip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--cafe-deep);
}
.wa-float:hover .wa-float__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes waFloatIn {
  from { opacity: 0; transform: translateY(20px) scale(.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; }
  .wa-float__icon { width: 28px; height: 28px; }
  .wa-float__tip { display: none; }
}
