/* ==========================================================================
   Casa Linda — Móveis Planejados
   ========================================================================== */

:root {
  --dark: #231f20;
  --dark-2: #2f2a2b;
  --dark-3: #3a3435;

  --pink-light: #f5a6c8;
  --pink-mid: #ee4a80;
  --pink-deep: #ed125f;

  --cream: #faf6f4;
  --cream-2: #f3ece9;

  --text-dark: #2b2626;
  --text-muted: #6f6667;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #c9c2c3;

  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px -20px rgba(35, 31, 32, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(35, 31, 32, 0.18);

  --container-w: 1160px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; color: var(--text-dark); }
p { line-height: 1.7; margin: 0; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(120deg, var(--pink-light), var(--pink-deep));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(237, 18, 95, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 36px -8px rgba(237, 18, 95, 0.65); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: var(--dark-2); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-nav { padding: 10px 20px; font-size: 0.85rem; }

.icon-wpp { width: 20px; height: 20px; flex-shrink: 0; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-img { height: 34px; width: auto; }

.nav-desktop {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 24px;
}
.nav-desktop a {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-desktop a:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 12px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 24px;
}
.nav-mobile a {
  color: var(--text-on-dark-muted);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}
.nav-mobile .btn { margin-top: 16px; justify-content: center; }
.nav-mobile.is-open { display: flex; }

@media (max-width: 860px) {
  .nav-desktop, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--dark);
  padding: 100px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
  background:
    radial-gradient(50% 50% at 80% 10%, rgba(237, 18, 95, 0.35), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(245, 166, 200, 0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: glow-drift 14s ease-in-out infinite;
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 2%) scale(1.06); }
}
.hero-inner { text-align: center; max-width: 780px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--pink-deep); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--pink-light), var(--pink-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-on-dark-muted);
  font-size: 0.88rem;
}
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-stars { color: #fff; font-weight: 500; }
.trust-stars:hover { color: var(--pink-light); }
.stars { color: #ffc93c; letter-spacing: 1px; }
.trust-sep { opacity: 0.4; }

@media (max-width: 600px) {
  .trust-sep { display: none; }
  .hero-trust { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   FAIXA EM MOVIMENTO (marquee)
   ========================================================================== */
.marquee {
  background: linear-gradient(100deg, var(--pink-deep), var(--pink-mid), var(--pink-light));
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 12px;
  white-space: nowrap;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-track span {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.marquee-dot { opacity: 0.7; font-size: 0.8rem; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-glow { animation: none; }
}

/* ==========================================================================
   GENERIC SECTION
   ========================================================================== */
.section { padding: 96px 0; }
.section-alt { background: var(--cream-2); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-top: 10px;
}
.section-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Diferenciais ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card-feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink-light), var(--pink-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }

.card-feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card-feature p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Sobre ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .sobre-grid { grid-template-columns: 1fr; gap: 40px; } }

.sobre-img img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }

.sobre-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 20px; }
.sobre-text > p { color: var(--text-muted); margin-bottom: 24px; }

.check-list { margin-bottom: 30px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-light), var(--pink-deep));
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.gallery-img { aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-card:hover .gallery-img img { transform: scale(1.06); }

.gallery-info { padding: 24px 26px 28px; }
.gallery-info h3 { font-size: 1.25rem; margin-bottom: 8px; }
.gallery-info p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 14px; }
.gallery-info a { color: var(--pink-deep); font-weight: 600; font-size: 0.9rem; }
.gallery-info a:hover { text-decoration: underline; }

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--pink-light);
  font-weight: 700;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Avaliações ---------- */
.google-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 48px;
  padding: 14px 26px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.google-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 16px;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 auto;
  width: 340px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 480px) { .review-card { width: 82vw; } }

.review-stars { color: #ffc93c; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 18px; font-style: italic; min-height: 4.8em; }
.review-author { font-weight: 600; font-size: 0.88rem; color: var(--text-muted); }

.carousel-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--dark);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover { background: var(--pink-deep); color: #fff; transform: scale(1.06); }
@media (max-width: 700px) { .carousel-arrow { display: none; } }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(43, 38, 38, 0.15);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots button.is-active {
  background: var(--pink-deep);
  transform: scale(1.3);
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final {
  position: relative;
  background: var(--dark);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-glow {
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(45% 60% at 50% 50%, rgba(237, 18, 95, 0.3), transparent 70%);
  z-index: -1;
}
.cta-final h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.cta-final p { color: var(--text-on-dark-muted); font-size: 1.05rem; margin-bottom: 32px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #1a1717; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

.footer-brand .logo-img { margin-bottom: 16px; }
.footer-brand p { color: var(--text-on-dark-muted); font-size: 0.9rem; max-width: 280px; margin-bottom: 20px; }

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease;
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover { background: var(--pink-deep); }

.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { color: var(--text-on-dark-muted); font-size: 0.92rem; line-height: 1.5; }
.footer-col a:hover { color: #fff; }

.map-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 500;
  width: fit-content;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.map-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.map-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); color: #fff; }

.footer-bottom {
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6);
  z-index: 90;
  animation: float-pulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }

@keyframes float-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
