/* ===========================
   NIES MÓVEIS — STYLESHEET
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --gold:       #C8A96E;
  --gold-light: #DFC08A;
  --dark:       #1A1A1A;
  --dark-2:     #2D2D2D;
  --mid:        #6B6B6B;
  --bg:         #F5F0EA;
  --bg-2:       #EDE7DE;
  --white:      #FFFFFF;
  --radius:     12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--dark-2);
  overflow-x: hidden;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden !important;
  height: 100vh !important;
}

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

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

/* ── Section headers ── */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.03em;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* =============================
   NAVBAR
   ============================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(20,20,20,0.98);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* Backdrop filter only on desktop to avoid mobile clipping bugs */
@media (min-width: 769px) {
  #navbar.scrolled {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

#navbar.scrolled .nav-logo { color: var(--white); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--gold-light); }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================
   HERO
   ============================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero.png');
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.75) 0%,
    rgba(26,26,26,0.45) 60%,
    rgba(26,26,26,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,169,110,0.2);
  border: 1px solid rgba(200,169,110,0.5);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg { opacity: 0.6; }

/* =============================
   SOBRE / HISTÓRIA
   ============================= */
#sobre {
  padding: 7rem 0;
  background: var(--white);
}

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

.sobre-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 32px 64px rgba(0,0,0,0.15);
}

.sobre-img-wrap img { height: 100%; }

.sobre-img-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Playfair Display', serif;
  box-shadow: 0 8px 24px rgba(200,169,110,0.5);
  text-align: center;
}

.sobre-img-badge strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}

.sobre-img-badge span {
  font-size: 0.78rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

.sobre-text .section-subtitle { margin-bottom: 2.5rem; }

.sobre-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 3px solid var(--gold);
}

.value-card h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.value-card p {
  font-size: 0.82rem;
  color: var(--mid);
  line-height: 1.5;
}

/* =============================
   SERVIÇOS
   ============================= */
#servicos {
  padding: 7rem 0;
  background: var(--bg);
}

.servicos-header {
  text-align: center;
  margin-bottom: 4rem;
}
.servicos-header .section-subtitle { margin: 0 auto; }

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

.servico-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}

.servico-card img {
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.servico-card:hover img { transform: scale(1.06); }

.servico-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.servico-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.servico-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.servico-overlay p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.servico-card:hover .servico-overlay p {
  max-height: 80px;
  opacity: 1;
}

/* =============================
   DEPOIMENTOS
   ============================= */
#depoimentos {
  padding: 7rem 0;
  background: var(--dark);
  overflow: hidden;
}

.depo-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.depo-header .section-subtitle {
  color: rgba(255,255,255,0.55);
  margin: 0 auto;
}

.depo-carousel {
  position: relative;
}

.depo-track-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.depo-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.depo-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0.25rem;
}

.depo-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.depo-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(200,169,110,0.3);
  transform: translateY(-4px);
}

.depo-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.depo-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.depo-text::before { content: '\201C'; color: var(--gold); font-size: 1.4rem; line-height: 0; vertical-align: -0.4rem; margin-right: 3px; }
.depo-text::after  { content: '\201D'; color: var(--gold); font-size: 1.4rem; line-height: 0; vertical-align: -0.4rem; margin-left: 3px; }

.depo-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.depo-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.depo-author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.depo-author-info span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.depo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.depo-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.depo-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

.depo-dots {
  display: flex;
  gap: 8px;
}

.depo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.depo-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* =============================
   CONTATO / WHATSAPP
   ============================= */
#contato {
  padding: 7rem 0;
  background: var(--bg-2);
  text-align: center;
}

.contato-inner {
  max-width: 680px;
  margin: 0 auto;
}

.contato-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.5rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  animation: pulse-green 2s infinite;
}

.contato-inner .section-subtitle { margin: 0 auto 2.5rem; }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.45);
}

/* ── Floating WhatsApp button ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  animation: pulse-green 2.5s infinite;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.12);
  animation: none;
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--dark);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand .nav-logo { font-size: 1.4rem; margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-copy p { margin-bottom: 2px; }
.cnpj {
  font-size: 0.72rem;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* =============================
   ANIMATIONS
   ============================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 6px 40px rgba(37,211,102,0.8); }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================
   INSTAGRAM / BEHOLD WIDGET
   ============================= */
#instagram {
  padding: 7rem 0;
  background: var(--bg);
}

.insta-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.insta-header .section-subtitle { margin: 0 auto; }

/* Behold widget wrapper */
.insta-behold-wrap {
  width: 100%;
  margin-bottom: 0;
}

.insta-behold-wrap behold-widget {
  display: block;
  width: 100%;
}

.insta-cta {
  text-align: center;
  margin-top: 3rem;
}

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

@media (max-width: 768px) {
  /* ── Mobile nav ── */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111;
    padding: 7rem 2rem;
    z-index: 2000; /* Higher than navbar */
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: 1.5rem 0;
    font-size: 1.4rem;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    margin-top: 1.5rem;
    display: block;
    text-align: center;
    padding: 0.9rem 1.4rem;
    border-radius: 50px;
  }
  .nav-toggle { display: flex; z-index: 2001; position: relative; }

  /* ── Layout ── */
  .sobre-grid    { grid-template-columns: 1fr; }
  .sobre-img-badge { right: 1rem; }
  .sobre-values  { grid-template-columns: 1fr; }
  .servicos-grid { grid-template-columns: 1fr; }
  .depo-slide    { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

