/* ══════════════════════════════════════════════
   Móveis Maringá — style.css
   Tema: Luxo escuro com acentos âmbar/cobre
   Fontes: Cormorant (display) + Outfit (body)
══════════════════════════════════════════════ */

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

:root {
  --bg:      #0c0b09;
  --bg2:     #131210;
  --bg3:     #1a1915;
  --amber:   #c49a4a;
  --amber-l: #dbb96a;
  --amber-d: #7a5e28;
  --sand:    #e8dfd0;
  --muted:   #8a8070;
  --border:  rgba(196,154,74,.15);
  --fd: 'Cormorant', Georgia, serif;
  --fb: 'Outfit', sans-serif;
  --ease: cubic-bezier(.25,.46,.45,.94);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--sand);
  font-family: var(--fb);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none !important; }
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s;
  mix-blend-mode: screen;
}
.cursor.big {
  width: 56px; height: 56px;
  background: rgba(196,154,74,.3);
  border: 1px solid var(--amber);
  mix-blend-mode: normal;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 400;
  padding: 22px clamp(20px,5vw,72px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s, padding .4s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(12,11,9,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--border);
  padding: 14px clamp(20px,5vw,72px);
}

.brand {
  font-family: var(--fd);
  font-size: 1.5rem; font-weight: 400;
  letter-spacing: .15em;
  color: var(--amber-l);
}

.nav-links { display: flex; align-items: center; gap: 32px; }

.nl {
  font-size: .72rem; font-weight: 300;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(232,223,208,.55);
  position: relative; transition: color .3s;
}
.nl::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--amber);
  transition: width .35s var(--ease);
}
.nl:hover { color: var(--sand); }
.nl:hover::after { width: 100%; }

.nl-cta {
  color: var(--amber-l) !important;
  border: 1px solid rgba(196,154,74,.4);
  padding: 7px 18px; border-radius: 1px;
}
.nl-cta:hover { background: rgba(196,154,74,.1) !important; }
.nl-cta::after { display: none; }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 7px;
  background: none; border: none; cursor: none; padding: 4px;
}
.burger span {
  display: block; width: 24px; height: 1px;
  background: var(--sand);
  transition: transform .35s var(--ease), opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }

/* Mobile menu */
.mob-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 390;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .4s;
}
.mob-menu.open { opacity: 1; pointer-events: all; }
.mm-link {
  font-family: var(--fd);
  font-size: clamp(2rem,7vw,3.5rem);
  font-weight: 300; font-style: italic;
  color: var(--muted);
  padding: 10px 0; transition: color .3s;
}
.mm-link:hover { color: var(--amber-l); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

/* ── IMAGEM / VÍDEO DE FUNDO ── */
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}
/* Se não tiver hero.jpg ainda, mostra gradiente elegante */
.hero-bg:not([style]) {
  background-color: #1a1510;
  background-image:
    url('images/hero.jpg'),
    radial-gradient(ellipse 85% 65% at 65% 35%, rgba(130,90,30,.5) 0%, transparent 65%),
    linear-gradient(170deg, #0d0b08 0%, #1e1810 40%, #2c2012 60%, #0b0908 100%);
}

@keyframes kenBurns {
  from { transform: scale(1)    translate(0, 0); }
  to   { transform: scale(1.07) translate(-1%, -1%); }
}

/* Vídeo de fundo (quando usar) */
video.hero-bg {
  object-fit: cover;
  animation: none;
  background-image: none;
}

/* Overlay */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(12,11,9,.95) 0%, rgba(12,11,9,.35) 45%, transparent 100%),
    linear-gradient(to right, rgba(12,11,9,.2) 0%, transparent 55%);
}

/* ── MARQUEE ── */
.marquee-wrap {
  position: absolute; top: 50%; transform: translateY(-52%);
  left: 0; right: 0; z-index: 2;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  opacity: 0;
  animation: fadeIn .8s var(--ease) .4s forwards;
}

.marquee-track {
  display: inline-flex; align-items: baseline;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  will-change: transform;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.mw {
  font-family: var(--fd);
  font-size: clamp(4.5rem, 13vw, 12rem);
  font-weight: 300; line-height: 1;
  color: var(--sand);
  padding: 0 .15em;
}
.mw.mi {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,223,208,.35);
}
.ms {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 6vw, 6rem);
  color: var(--amber); opacity: .7;
  padding: 0 .2em; line-height: 1;
}

/* ── Centro hero ── */
.hero-center {
  position: absolute; bottom: clamp(110px,17vh,170px);
  left: 50%; transform: translateX(-50%);
  z-index: 3; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  opacity: 0; animation: fadeUp .9s var(--ease) 1s forwards;
}
.hero-sub {
  font-size: clamp(.72rem,1.2vw,.85rem);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--amber-l);
}
.hero-btn {
  display: inline-flex; flex-direction: column;
  align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(232,223,208,.45); transition: color .3s;
}
.hero-btn i { font-size: 1.3rem; animation: bounce 2.2s ease-in-out infinite; }
.hero-btn:hover { color: var(--sand); }
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* Badge */
.hero-badge {
  position: absolute; bottom: clamp(90px,13vh,130px);
  right: clamp(24px,5vw,72px); z-index: 3;
  text-align: center;
  border: 1px solid var(--border);
  padding: 14px 18px; border-radius: 2px;
  backdrop-filter: blur(8px);
  opacity: 0; animation: fadeUpNoX .9s var(--ease) 1.3s forwards;
}
.hero-badge span {
  display: block; font-size: .6rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber-d);
}
.hero-badge strong {
  display: block; font-family: var(--fd);
  font-size: 1.8rem; font-weight: 300;
  color: var(--amber-l); line-height: 1.1;
}

@keyframes fadeIn   { to { opacity: 1; } }
@keyframes fadeUp   { from { opacity:0; transform: translateY(20px) translateX(-50%); } to { opacity:1; transform: translateY(0) translateX(-50%); } }
@keyframes fadeUpNoX{ from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: none; } }

/* ══════════════════════════════════════════════
   GALERIA
   
   Para adicionar fotos: basta adicionar mais
   <article> no index.html — o grid se ajusta
   automaticamente.
   
   gi-tall = alto (2 linhas)
   gi-wide = largo (2 colunas)
   gi      = quadrado normal
══════════════════════════════════════════════ */
.galeria {
  background: var(--bg2);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 3px;
}

/* Variações de tamanho */
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }

.gi {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.gi-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s var(--ease);
  display: block;
}
.gi:hover .gi-img { transform: scale(1.06); }

/* Overlay lupa */
.gi-over {
  position: absolute; inset: 0;
  background: rgba(12,11,9,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .35s;
  backdrop-filter: blur(3px); z-index: 1;
}
.gi:hover .gi-over { opacity: 1; }
.gi-over i {
  font-size: 1.8rem; color: var(--sand);
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(232,223,208,.5);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--spring);
}
.gi:hover .gi-over i { transform: scale(1.1); }

/* ══════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(8,7,5,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lb-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: none;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.lb-close span {
  position: absolute; width: 22px; height: 1px;
  background: rgba(232,223,208,.6); transition: background .3s;
}
.lb-close span:nth-child(1) { transform: rotate(45deg); }
.lb-close span:nth-child(2) { transform: rotate(-45deg); }
.lb-close:hover span { background: var(--sand); }

.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(232,223,208,.06);
  border: 1px solid rgba(232,223,208,.12);
  border-radius: 50%; color: var(--sand); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: background .3s; z-index: 2;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-arrow:hover { background: rgba(232,223,208,.15); }

.lb-stage {
  width: min(90vw, 1100px);
  height: min(85vh, 760px);
  display: flex; align-items: center; justify-content: center;
}

.lb-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 2px;
  transition: transform .4s var(--spring), opacity .3s;
  transform: scale(.97); opacity: 0;
}
.lightbox.open .lb-img { transform: scale(1); opacity: 1; }

.lb-counter {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(232,223,208,.3); z-index: 2;
}

/* ══════════════════════════════════════════════
   INSTAGRAM
══════════════════════════════════════════════ */
.instagram {
  background: var(--bg);
  padding: clamp(70px,10vw,120px) 0;
}
.insta-header {
  text-align: center;
  margin-bottom: clamp(32px,5vw,56px);
  padding: 0 clamp(20px,5vw,60px);
}
.insta-handle {
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); display: block; margin-bottom: 10px;
}
.insta-title {
  font-family: var(--fd);
  font-size: clamp(2rem,5vw,3.8rem); font-weight: 300;
  color: var(--sand);
}
.insta-title em { font-style: italic; color: var(--amber-l); }

/* ── Grid manual 6 fotos ── */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  margin-bottom: 40px;
}

.ig-post {
  display: block;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.ig-post img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.ig-post:hover img { transform: scale(1.06); }

.ig-over {
  position: absolute; inset: 0;
  background: rgba(12,11,9,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
  backdrop-filter: blur(3px);
}
.ig-post:hover .ig-over { opacity: 1; }
.ig-over i { font-size: 1.8rem; color: #fff; }

.insta-footer { text-align: center; }
.btn-insta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fb); font-size: .76rem; font-weight: 300;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 14px 32px; border-radius: 1px; cursor: none;
  transition: transform .3s var(--spring), box-shadow .3s;
}
.btn-insta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(188,24,136,.35);
}

/* ══════════════════════════════════════════════
   LOCALIZAÇÃO — Mapa Full Width
══════════════════════════════════════════════ */
.localizacao {
  position: relative; width: 100%; height: 580px;
}
.map-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
  filter: grayscale(100%) contrast(1.1) brightness(.75);
  transition: filter .5s;
}
.localizacao:hover .map-frame {
  filter: grayscale(50%) contrast(1.05) brightness(.9);
}

/* Card endereço */
.map-card {
  position: absolute; top: 50%;
  left: clamp(20px,5vw,72px); transform: translateY(-50%);
  background: rgba(12,11,9,.93);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 32px 28px; max-width: 320px; z-index: 2;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.mc-logo {
  font-family: var(--fd); font-size: 1.2rem;
  letter-spacing: .2em; color: var(--amber-l);
  margin-bottom: 20px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.mc-body { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.mc-row { display: flex; align-items: flex-start; gap: 12px; }
.mc-row i { font-size: 1rem; color: var(--amber); margin-top: 2px; flex-shrink: 0; }
.mc-row div { display: flex; flex-direction: column; gap: 2px; }
.mc-row strong { font-size: .85rem; font-weight: 400; color: var(--sand); }
.mc-row span   { font-size: .78rem; color: var(--muted); }
.mc-row a { font-size: .85rem; color: var(--sand); transition: color .3s; }
.mc-row a:hover { color: var(--amber-l); }
.mc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-l);
  border: 1px solid rgba(196,154,74,.3);
  padding: 9px 18px; border-radius: 1px; cursor: none;
  transition: background .3s, border-color .3s;
}
.mc-btn:hover { background: rgba(196,154,74,.1); border-color: var(--amber); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: clamp(56px,7vw,90px) 0 0;
}
.footer-inner {
  max-width: min(1280px,92vw); margin: 0 auto;
  padding: 0 clamp(20px,4vw,60px) clamp(48px,6vw,72px);
  display: grid; grid-template-columns: 1.8fr 1fr 1.3fr 1fr;
  gap: 48px;
}
.fc h4 {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.ft-logo {
  font-family: var(--fd); font-size: 1.8rem;
  letter-spacing: .15em; font-weight: 300;
  color: var(--amber-l); margin-bottom: 14px;
}
.ft-desc { font-size: .84rem; color: var(--muted); line-height: 1.8; }

.fc:nth-child(2) { display: flex; flex-direction: column; gap: 10px; }
.fc:nth-child(2) a { font-size: .84rem; color: var(--muted); transition: color .3s; }
.fc:nth-child(2) a:hover { color: var(--sand); }

.fc:nth-child(3) { display: flex; flex-direction: column; gap: 10px; }
.fc:nth-child(3) a, .fc:nth-child(3) p {
  font-size: .82rem; color: var(--muted);
  display: flex; align-items: flex-start; gap: 8px;
  transition: color .3s; line-height: 1.6;
}
.fc:nth-child(3) a:hover { color: var(--sand); }
.fc:nth-child(3) i { color: var(--amber); flex-shrink: 0; margin-top: 2px; }

.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 1px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--muted); cursor: none;
  transition: all .3s;
}
.social-row a:hover {
  color: var(--amber-l);
  border-color: var(--amber-d);
  background: rgba(196,154,74,.08);
}

.footer-bottom {
  max-width: min(1280px,92vw); margin: 0 auto;
  padding: 18px clamp(20px,4vw,60px);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .72rem; color: rgba(138,128,112,.45);
}

/* ══════════════════════════════════════════════
   RESPONSIVO
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .galeria-grid { grid-template-columns: repeat(3,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .galeria-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 220px; }
  .gi-wide { grid-column: span 2; }
  .gi-tall { grid-row: span 1; }
  .localizacao { height: 500px; }
  .map-card { top: auto; bottom: 0; left: 0; right: 0; transform: none; max-width: 100%; border-radius: 0; }
}

@media (max-width: 768px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 540px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .galeria-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }

  }

/* ── Botão flutuante WhatsApp ── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform .3s var(--spring), box-shadow .3s;
  animation: wppPulse 2.5s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37,211,102,.6);
}
@keyframes wppPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 6px 36px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.1); }
}

@media (max-width: 540px) {
  .whatsapp-btn { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.5rem; }
}

/* ── Faixa antes do mapa ── */
.pre-mapa {
  background: var(--bg);
  padding: clamp(48px,7vw,90px) clamp(20px,5vw,60px);
  text-align: center;
}
.pre-mapa p {
  font-family: var(--fd);
  font-size: clamp(1.4rem,3vw,2.4rem);
  font-weight: 300;
  font-style: normal;
  color: var(--sand-dim);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5;
}
.pre-mapa p em {
  font-style: italic !important;
  color: #dbb96a !important;
  font-weight: 400 !important;
}