/* ============================================================
   JD Conceito — Landing
   Identidade: preto profundo + champanhe #DED2B8 (nunca dourado)
   Mobile-first
   ============================================================ */

:root {
  --black: #0b0b0c;
  --black-soft: #121214;
  --black-card: #1a1a1d;
  --champagne: #ded2b8;
  --champagne-deep: #c9b993;
  --white: #ffffff;
  --off-white: #f7f5f0;
  --ink: #1c1c1e;
  --ink-soft: #55555a;
  --line: rgba(222, 210, 184, 0.18);
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}
.eyebrow--center { text-align: center; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 16px;
  text-wrap: balance;
}
.section__title em {
  font-style: normal;
  color: var(--champagne);
}
.section__title--left { text-align: left; }

.section__sub {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 30px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.98); }

.btn--champagne {
  background-color: var(--champagne);
  background-image: linear-gradient(135deg, var(--champagne) 0%, var(--champagne-deep) 100%);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(222, 210, 184, 0.25);
}
.btn--champagne:hover {
  box-shadow: 0 10px 40px rgba(222, 210, 184, 0.4);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover { border-color: var(--champagne); color: var(--champagne); }

.btn--dark-ghost {
  color: var(--ink);
  border-color: rgba(28, 28, 30, 0.35);
}
.btn--dark-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--whats {
  background: #25d366;
  color: #06281c;
}
.btn--whats:hover { background: #3ddf78; transform: translateY(-2px); }
.btn--whats svg { width: 22px; height: 22px; }

.btn--full { width: 100%; }
.btn--nav { min-height: 44px; padding: 10px 22px; font-size: 0.85rem; }
.navbar__links a.btn--nav { color: var(--ink); }
.navbar__links a.btn--nav:hover { color: var(--ink); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.navbar.is-scrolled { border-bottom-color: var(--line); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.navbar__mark { height: 34px; width: auto; }
.navbar__wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.3;
}
.navbar__wordmark small {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--champagne);
}

.navbar__links {
  display: none;
}

.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
}
.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu open state */
.navbar__links.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 68px;
  inset-inline: 0;
  background: rgba(11, 11, 12, 0.98);
  padding: 24px 20px 32px;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.navbar__links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.navbar__links a:hover { color: var(--champagne); }
.navbar__links .btn--nav { margin-top: 12px; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-top: 120px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/amb-sala.webp") center 68% / cover no-repeat;
}

/* O topo funde em preto sólido: esconde o teto da foto e emenda com a navbar */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(11, 11, 12, 1) 0%,
      rgba(11, 11, 12, 1) 9%,
      rgba(11, 11, 12, 0.78) 22%,
      rgba(11, 11, 12, 0.42) 48%,
      rgba(11, 11, 12, 0.94) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  max-width: 760px;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--champagne);
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.hero__brandline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.hero__brandline strong { color: var(--champagne); font-weight: 600; }

.hero__stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  padding-block: 22px;
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--champagne);
}
.stat__label { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section--dark { background: var(--black-soft); }

/* ---------- Pilares ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 44px;
}

.pillar {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(222, 210, 184, 0.45); }

.pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(222, 210, 184, 0.1);
  color: var(--champagne);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.pillar__icon svg { width: 26px; height: 26px; }

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.pillar p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- Split (Conceito) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.split__media { position: relative; }
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}

.split__badge {
  position: absolute;
  bottom: -18px;
  right: 14px;
  background: var(--champagne);
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  max-width: 200px;
  font-size: 0.78rem;
  font-weight: 500;
}
.split__badge-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
}

.split__body p { color: rgba(255, 255, 255, 0.78); margin-bottom: 14px; }

.checklist {
  list-style: none;
  margin: 22px 0 30px;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(222, 210, 184, 0.15);
  border: 1px solid var(--champagne);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--champagne);
  border-bottom: 2px solid var(--champagne);
  transform: rotate(-45deg);
}

/* ---------- Ambientes ---------- */
.rooms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 44px;
}

.room {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  aspect-ratio: 4 / 3;
}
.room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.room:hover img { transform: scale(1.05); }

.room__label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 11, 12, 0.9) 100%);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.room__label h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.room__label span {
  font-size: 0.8rem;
  color: var(--champagne);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.room:hover .room__label span { opacity: 1; transform: translateX(0); }

/* Mobile: sempre mostra o CTA do card (não há hover no toque) */
@media (hover: none) {
  .room__label span { opacity: 1; transform: none; }
}

/* ---------- Etapas ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 44px;
  counter-reset: step;
}

.step {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(222, 210, 184, 0.22);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.step p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- Serviços ---------- */
.services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.services li {
  padding: 12px 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: var(--black-card);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.services li:hover { border-color: var(--champagne); color: var(--champagne); }

/* ---------- Grupo Primo's ---------- */
.section--group {
  background: var(--champagne);
  color: var(--ink);
}
.section--group .eyebrow { color: #5c5030; }
.section--group .section__title { color: var(--ink); }
.section--group .section__title em { color: #6b5d3a; }
.section--group p { color: var(--ink-soft); margin-bottom: 14px; }

.group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.group__media img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.group__body .btn { margin-top: 10px; }

/* ---------- Form ---------- */
.section--form { background: var(--black); }

.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.form-intro p { color: rgba(255, 255, 255, 0.78); }

.mini-steps {
  list-style: none;
  margin: 22px 0 28px;
  display: grid;
  gap: 10px;
}
.mini-steps li { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.mini-steps strong { color: var(--champagne); margin-right: 6px; }

.form-intro__alt {
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6) !important;
}

.lead-form {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: grid;
  gap: 18px;
}

.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--champagne);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--champagne);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ded2b8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: var(--black-card); color: var(--white); }

.lead-form__hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

/* ---------- Visita ---------- */
.visit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.visit__info { font-style: normal; margin-bottom: 24px; display: grid; gap: 14px; }
.visit__info p { color: rgba(255, 255, 255, 0.78); }
.visit__info a {
  color: var(--champagne);
  text-decoration: none;
  display: inline-block;
  padding-block: 6px;
}
.visit__info a:hover { text-decoration: underline; }
.visit__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* ---------- Footer ---------- */
.footer {
  background: #08080a;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer__brandrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer__logo { height: 44px; width: auto; }
.footer__wordmark {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer__brand p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.55); }

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding-block: 6px;
  font-size: 0.9rem;
}
.footer__col a:hover { color: var(--champagne); }
.footer__col p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); padding-block: 6px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  /* padding extra embaixo: o botão flutuante do WhatsApp não pode cobrir o crédito */
  padding-block: 20px 96px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}
.footer__bottom a {
  color: var(--champagne);
  text-decoration: none;
  display: inline-block;
  padding-block: 6px;
  margin-block: -6px;
}
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.footer__heart { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- WhatsApp float ---------- */
.whats-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #06281c;
  border-radius: 999px;
  padding: 14px;
  min-width: 56px;
  min-height: 56px;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}
.whats-float:hover { transform: scale(1.06); }
.whats-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.whats-float__label {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Reveal on scroll (progressive enhancement: visível por padrão) ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ============================================================
   Desktop (≥ 768px)
   ============================================================ */
@media (min-width: 768px) {
  .container { padding-inline: 32px; }

  .navbar__toggle { display: none; }
  .navbar__links {
    display: flex;
    align-items: center;
    gap: 26px;
  }
  .navbar__links a { padding: 8px 2px; }
  .navbar__mark { height: 38px; }

  .hero__ctas { flex-direction: row; }
  .hero__stats-inner { grid-template-columns: repeat(4, 1fr); }

  .pillars { grid-template-columns: repeat(2, 1fr); }
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }

  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .group { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .visit { grid-template-columns: 1fr 1fr; gap: 56px; }
  .form-wrap { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }

  .whats-float { right: 24px; bottom: 24px; padding: 14px 22px; }
  .whats-float__label { display: inline; }

  .section { padding-block: 96px; }
  .lead-form { padding: 36px 32px; }
}

@media (min-width: 1024px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .rooms { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}
