/* Estilo das paginas internas (/preco, /bairro, /documentacao, /tour).
   Mesmos tokens da home; sem o que so existe la (hero, galeria swiper, mosaico). */

:root {
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  --text-main: #111111;
  --text-muted: #666666;
  --accent: #25D366;
  --border: #d4d4d4;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ── MENU ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: auto;
}

.nav a:not(.nav-brand) {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav a:not(.nav-brand):hover,
.nav a[aria-current="page"] {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

/* ── TIPOGRAFIA ── */
.label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.subheading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.body-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text-muted);
}

.body-text + .body-text {
  margin-top: 1.2rem;
}

.body-text a {
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
}

.body-text a:hover {
  border-bottom-color: var(--text-main);
}

.body-text strong {
  color: var(--text-main);
  font-weight: 500;
}

.divider {
  width: 2rem;
  height: 2px;
  background: var(--text-main);
  margin: 1.5rem 0;
}

/* ── SECOES ── */
.section {
  padding: 5rem 2rem;
  background: var(--bg-white);
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--text-main);
  color: #fff;
}

.section-dark .heading,
.section-dark .body-text,
.section-dark .label,
.section-dark .subheading {
  color: #fff;
}

.section-dark .label {
  opacity: 0.6;
}

.section-dark .divider {
  background: #fff;
}

.section-dark .body-text a {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.section-dark .body-text a:hover {
  border-bottom-color: #fff;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1200px;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text-main);
  max-width: 60ch;
  margin-top: 1.5rem;
}

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

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ── LISTAS ── */
.lista {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.lista li {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}

.lista li strong {
  color: var(--text-main);
  font-weight: 500;
}

.section-dark .lista li {
  border-top-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .lista li strong {
  color: #fff;
}

/* ── PASSOS ── */
.passos {
  counter-reset: passo;
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

.passos li {
  counter-increment: passo;
  padding-left: 4rem;
  position: relative;
}

.passos li::before {
  content: counter(passo, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -0.3rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
}

.passos h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

/* ── TABELAS ── */
.ficha {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
}

.ficha th,
.ficha td {
  text-align: left;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.ficha th {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 38%;
}

.ficha td {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
}

.tabela-wrap {
  overflow-x: auto;
  margin-top: 2.5rem;
}

.compara {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.compara th,
.compara td {
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.5;
  vertical-align: top;
}

.compara thead th {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--text-main);
}

.compara tbody th {
  font-weight: 500;
  color: var(--text-main);
  width: 28%;
}

/* ── SIMULADOR ── */
.sim {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.sim-campos {
  display: grid;
  gap: 1.5rem;
}

.sim-campo label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.sim-campo input:not([type="range"]),
.sim-campo select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-main);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.sim-campo select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 18px;
  padding-right: 2.4rem;
}

.sim-campo input:not([type="range"]):focus,
.sim-campo select:focus {
  outline: 2px solid var(--text-main);
  outline-offset: -2px;
}

.sim-campo .dica {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
}

.sim-range {
  width: 100%;
  margin: 0.4rem 0;
  accent-color: var(--text-main);
}

.sim-saida {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.sim-box {
  background: #fff;
  padding: 1.5rem;
}

.sim-box .label {
  display: block;
  margin-bottom: 0.6rem;
}

.sim-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}

.sim-obs {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
}

.sim-aviso {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 70ch;
}

/* ── GALERIA ESTATICA ── */
.grade-fotos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 4px 4px;
  margin-top: 3rem;
}

.grade-fotos figure {
  margin: 0;
  background: var(--bg-light);
}

.grade-fotos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.grade-fotos figcaption {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  padding: 0.7rem 0.2rem 1.2rem;
  line-height: 1.5;
}

/* ── VIDEO / MAPA ── */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  margin-top: 3rem;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-espera {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.75);
}

.map-wrap {
  width: 100%;
  height: 50vh;
  margin-top: 3rem;
  filter: grayscale(100%) contrast(1.2);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── FAQ ── */
.faq {
  margin-top: 2.5rem;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  padding: 1.2rem 0;
  font-weight: 500;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--text-muted);
}

.faq details[open] summary::after {
  content: '\2013';
}

.faq details p {
  padding-bottom: 1.2rem;
}

/* ── CTA ── */
.cta-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.price {
  font-family: var(--font-display);
  font-size: 3rem;
  margin: 1.5rem 0;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.3s, transform 0.3s;
}

.btn-wa:hover {
  background: #20ba59;
  transform: translateY(-2px);
}

/* -- REDES SOCIAIS E WHATSAPP FLUTUANTE -- */
.social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.social a {
  display: inline-flex;
  color: var(--text-muted);
  transition: color 0.3s;
}

.social a:hover {
  color: var(--text-main);
}

.social svg {
  width: 22px;
  height: 22px;
  display: block;
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: background 0.3s, transform 0.3s;
}

.wa-float:hover {
  background: #20ba59;
  transform: scale(1.06);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  display: block;
}

/* ── RODAPE ── */
footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  background: #fff;
}

.rodape-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.rodape-links a:hover {
  color: var(--text-main);
}

.aviso-lgpd {
  text-transform: none;
  letter-spacing: 0;
  max-width: 62ch;
  margin: 1.2rem auto 0;
  line-height: 1.7;
}

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  .section {
    padding: 3.5rem 1.25rem;
  }

  .about-grid,
  .sim {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav {
    padding: 0.9rem 1.25rem;
    gap: 0.75rem 1.25rem;
  }

  .nav-brand {
    width: 100%;
    margin-right: 0;
  }

  .map-wrap {
    height: 60vh;
  }
}
