/* ===========================================================
   Bueno Cruz Imóveis — proposta visual da Home
   Paleta: pedra quente + telha de barro + verde Cantareira
   Tipografia: Zilla Slab (títulos) + Work Sans (texto/UI)
   =========================================================== */

:root {
  --paper: #f2ebdd;
  --paper-deep: #e8dcc4;
  --ink: #26211c;
  --ink-soft: #5c5248;
  --line: #d8c9a8;
  --terracota: #a6472e;
  --terracota-deep: #8a3a25;
  --verde: #2e4733;
  --verde-soft: #44614a;
  --dourado: #b88a2e;
  --branco: #fffdf8;

  --font-display: "Zilla Slab", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --radius-img: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 3px;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--terracota);
  color: var(--branco);
}
.btn-primary:hover {
  background: var(--terracota-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--branco);
}

.btn-ghost {
  background: transparent;
  color: var(--verde);
  padding: 13px 6px;
  font-weight: 600;
}
.btn-ghost svg {
  transition: transform 0.15s ease;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(18, 15, 12, 0.38);
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
  transition: background 0.2s ease;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 2;
  cursor: pointer;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--branco);
  left: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-label span {
  top: 11px;
}
.nav-toggle-label span::before {
  top: -8px;
}
.nav-toggle-label span::after {
  top: 8px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-group .main-nav {
  order: 1;
}
.nav-group .header-actions {
  order: 2;
}
.nav-group .nav-toggle-label {
  order: 3;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a:not(.btn) {
  font-size: 0.97rem;
  color: var(--branco);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:not(.btn):hover {
  border-color: var(--dourado);
  color: var(--dourado);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  font-size: 0.92rem;
  color: rgba(255, 253, 248, 0.78);
}
.header-phone strong {
  color: var(--branco);
  font-weight: 600;
}

/* ---------- hero (vídeo tela cheia + layout distribuído) ---------- */

.hero {
  position: relative;
  padding: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media img {
  z-index: -1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-media video {
    display: none;
  }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.62) 0%, rgba(12, 10, 8, 0.22) 26%, rgba(12, 10, 8, 0.38) 64%, rgba(12, 10, 8, 0.86) 100%),
    linear-gradient(100deg, rgba(12, 10, 8, 0.6) 0%, rgba(12, 10, 8, 0.18) 46%, rgba(12, 10, 8, 0.4) 100%);
}

.hero-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding-top: 116px;
  padding-bottom: 40px;
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: rise-in 0.8s ease both;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dourado);
  font-size: 0.92rem;
  font-weight: 600;
}
.hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--dourado);
}

/* selo com o número da carteira (imagem própria) — no desktop fica
   ancorado à direita e centralizado verticalmente no banner inteiro;
   em telas menores vira um bloco normal, acima do título (ver responsivo) */
.hero-badge {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 84px;
  width: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.hero-middle {
  animation: rise-in 0.85s ease 0.08s both;
}

.hero-headline {
  max-width: 620px;
}
.hero-headline h1 {
  color: var(--branco);
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.05;
  font-weight: 700;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 14px;
  max-width: 42ch;
  font-size: 1.08rem;
  color: rgba(255, 253, 248, 0.88);
}
.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .btn-outline {
  border-color: rgba(255, 253, 248, 0.6);
  color: var(--branco);
}
.hero .btn-outline:hover {
  background: var(--branco);
  color: var(--ink);
}

.hero-bottom {
  animation: rise-in 0.85s ease 0.16s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* busca — cartão flutuante em vidro sobre o vídeo */

.search-box {
  width: 100%;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  padding: 20px 24px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
}
.search-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.search-tabs button {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  background: none;
  border: none;
  padding: 6px 4px;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.search-tabs button[aria-selected="true"] {
  color: var(--terracota-deep);
  border-color: var(--terracota);
}
.search-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) auto;
  gap: 10px;
}
.search-fields select,
.search-fields input {
  width: 100%;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--branco);
  color: var(--ink);
}
.search-fields button {
  white-space: nowrap;
}

.search-fields-compact {
  display: none;
  gap: 8px;
}
.search-fields-compact input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--branco);
  color: var(--ink);
}

/* ---------- seção genérica ---------- */

section {
  padding: 88px 0;
}
.section-head {
  max-width: 62ch;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.15;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.04rem;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- destaques (mosaico) ---------- */

.destaques {
  background: radial-gradient(ellipse at 16% 0%, rgba(184, 138, 46, 0.2), transparent 38%), #191613;
  color: var(--branco);
  border-top: 1px solid rgba(184, 138, 46, 0.35);
  border-bottom: 1px solid rgba(184, 138, 46, 0.35);
}
.destaques .section-head {
  max-width: none;
  text-align: center;
  margin: 0 auto 34px;
}
.destaques-kicker {
  display: block;
  color: var(--branco);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.destaques .section-head h2 {
  color: #d6a64e;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 0.98;
}
.destaques .section-head p {
  margin: 12px auto 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
}

.listing-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  grid-template-rows: repeat(3, 190px);
  grid-template-areas:
    "a b"
    "a c"
    "a d";
  gap: 14px 18px;
  align-items: stretch;
}

.listing {
  position: relative;
  border: 1px solid rgba(214, 166, 78, 0.72);
  border-radius: 14px;
  background: rgba(35, 29, 23, 0.92);
  color: var(--branco);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  min-width: 0;
}
.listing-media {
  position: relative;
  aspect-ratio: 1.4 / 1;
  flex: 1 1 auto;
  overflow: hidden;
}
.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--branco);
  color: var(--verde);
}
.listing-flag.locacao {
  color: var(--terracota-deep);
}
.featured-flag {
  top: 18px;
  left: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e9b957;
  color: #211a11;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.listing-body {
  padding: 16px 18px 18px;
  flex: 1 1 auto;
}
.listing-place {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fffdf8;
  padding-left: 12px;
  position: relative;
}
.listing-place::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 6px;
  background: #e9b957;
  border-radius: 50%;
}
.listing-place small {
  display: block;
  margin: 4px 0 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.8rem;
  font-weight: 400;
}
.listing-place small::before { content: none; }
.listing-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-top: 6px;
  font-weight: 600;
}
.listing-meta {
  margin-top: 8px;
  font-size: 0.84rem;
  color: rgba(255, 253, 248, 0.72);
}
.listing-price {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #e9b957;
}
.listing-price small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 253, 248, 0.7);
  font-weight: 400;
}

.listing-a {
  grid-area: a;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  grid-row: 1 / span 3;
  height: 100%;
}
.listing-a .listing-media {
  aspect-ratio: auto;
  flex: 1 1 auto;
  min-height: 0;
}
.listing-a .listing-body { padding: 20px 24px 22px; }
.listing-a .listing-title { font-size: 1.55rem; color: var(--branco); }
.listing-a .listing-price { font-size: 1.45rem; }
.featured-mainline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.featured-details {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(214, 166, 78, 0.28);
  color: rgba(255, 253, 248, 0.9);
  font-size: 0.9rem;
}
.featured-details > span { padding: 0 16px; border-right: 1px solid rgba(214, 166, 78, 0.55); }
.featured-details > span:first-child { padding-left: 0; }
.featured-details svg {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  fill: none;
  stroke: #e9b957;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.featured-detail-btn {
  margin-left: auto;
  padding: 9px 16px;
  border-radius: 8px;
  background: #d6a64e;
  color: #191613;
  font-weight: 600;
  white-space: nowrap;
}
.featured-detail-btn b { padding-left: 12px; font-size: 1.2rem; }
.side-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 253, 248, 0.8);
  border-radius: 8px;
  color: var(--branco);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}
.side-detail-btn b { font-size: 1.15rem; line-height: 1; }
.side-detail-btn:hover { background: #d6a64e; border-color: #d6a64e; color: #191613; }
.listing:not(.listing-a) { height: 100%; }
.listing:not(.listing-a) .listing-media { width: 44%; flex: 0 0 44%; aspect-ratio: auto; }
.listing:not(.listing-a) .listing-body { align-self: stretch; padding: 9px 14px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.listing:not(.listing-a) .listing-place { line-height: 1.15; font-size: 1rem; }
.listing:not(.listing-a) .listing-place small { margin-top: 2px; font-size: 0.78rem; }
.listing:not(.listing-a) .listing-meta { margin-top: 20px; line-height: 1.2; }
.listing:not(.listing-a) .listing-price { margin-top: 4px; line-height: 1.2; }
.listing-b {
  grid-area: b;
}
.listing-c {
  grid-area: c;
}
.listing-d {
  grid-area: d;
}
.listing-e {
  grid-area: e;
}

.destaques-foot {
  margin-top: 36px;
  text-align: center;
}
.destaques-foot .btn-outline { color: var(--branco); border-color: #d6a64e; }
.destaques-foot .btn-outline:hover { background: #d6a64e; color: #191613; }

/* ---------- soluções completas ---------- */

.solucoes {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 82px;
  background: #171512;
}
.solucoes-backdrop {
  position: absolute;
  inset: -12px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.66), rgba(18, 17, 15, 0.76)), url("hero-poster.jpg") center 48% / cover;
  filter: blur(3px);
  transform: scale(1.02);
}
.solucoes-head {
  margin: 0 auto 38px;
  text-align: center;
}
.solucoes-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--branco);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.solucoes-kicker i {
  display: block;
  width: 54px;
  height: 3px;
  border-radius: 5px;
  background: #e8ad35;
}
.solucoes-head h2 {
  margin-top: 14px;
  color: var(--branco);
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 400;
  letter-spacing: 0;
}
.solucoes-head h2 strong { color: #e5aa35; font-weight: 700; }
.solucoes-head p {
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
}
.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.solucao-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(232, 173, 53, 0.9);
  border-radius: 18px;
  background: #231c13;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}
.solucao-card > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.solucao-card:hover > img { transform: scale(1.035); }
.solucao-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.03) 12%, rgba(17, 14, 10, 0.5) 43%, rgba(17, 14, 10, 0.97) 72%);
}
.solucao-card-content {
  padding: 24px 22px 22px;
  text-align: center;
}
.solucao-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 64px;
}
.solucao-icon {
  display: flex;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #d99a10, #875700);
  color: white;
}
.solucao-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.solucao-title-row h3 {
  color: white;
  font-family: var(--font-body);
  font-size: clamp(1.12rem, 1.5vw, 1.45rem);
  font-weight: 700;
  text-align: left;
}
.solucao-card-content p {
  min-height: 58px;
  margin: 15px auto 18px;
  color: rgba(255, 253, 248, 0.93);
  font-size: 0.98rem;
  line-height: 1.45;
}
.solucao-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 11px 18px 11px 22px;
  border: 1px solid #e8ad35;
  border-radius: 12px;
  background: linear-gradient(100deg, #b67a08, #35220a);
  color: white;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(224, 162, 38, 0.16);
}
.solucao-btn b { font-size: 1.5rem; line-height: 1; font-weight: 400; }
.solucao-btn:hover { background: #d69b25; color: #191613; }

/* ---------- barra de números ---------- */

.stats-bar {
  background: var(--ink);
  padding: 76px 0;
}
.stats-head {
  text-align: center;
  margin: 0 auto 48px;
}
.stats-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #f0d39b;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.2;
  white-space: nowrap;
}
.stats-rule {
  flex: none;
  display: inline-block;
  width: 100px;
  height: 2px;
  background: #e6c78f;
}
.stats-sub {
  margin-top: 14px;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  color: #e4dfd7;
  max-width: none;
  line-height: 1.4;
  margin-left: auto;
  margin-right: auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  mix-blend-mode: screen;
}

/* ---------- faixa atmosférica (Serra da Cantareira) ---------- */

.cantareira-banner {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 90px 0;
}
.cantareira-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cantareira-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cantareira-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 22, 17, 0.9) 0%, rgba(16, 22, 17, 0.62) 55%, rgba(16, 22, 17, 0.75) 100%);
}
.cantareira-banner .wrap {
  position: relative;
  z-index: 1;
}
.cantareira-banner blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--branco);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.22;
  max-width: 18ch;
}
.cantareira-banner cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--dourado);
}

/* ---------- avalie seu imóvel ---------- */

.avaliacao .wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.avaliacao-form {
  background: var(--branco);
  border: 1px solid var(--line);
  padding: 32px;
}
.avaliacao-form .field {
  margin-bottom: 16px;
}
.avaliacao-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.avaliacao-form input,
.avaliacao-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
}
.avaliacao-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.avaliacao-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.avaliacao-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.avaliacao-copy .section-head {
  margin-bottom: 28px;
}
.avaliacao-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.avaliacao-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.avaliacao-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--terracota);
}

/* ---------- perguntas frequentes ---------- */

.faq-list {
  max-width: 760px;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  position: relative;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 20px;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--terracota);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 36px 26px 0;
  font-size: 0.97rem;
  max-width: 62ch;
}

/* ---------- diferenciais ---------- */

.diferenciais .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.dif-list {
  display: flex;
  flex-direction: column;
}
.dif-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.dif-item:last-child {
  border-bottom: 1px solid var(--line);
}
.dif-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde);
}
.dif-item h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.dif-item p {
  font-size: 0.96rem;
}

/* ---------- sob encomenda / etapas ---------- */

.encomenda {
  background: var(--verde);
  color: var(--branco);
}
.encomenda .section-head h2,
.encomenda .section-head p {
  color: var(--branco);
}
.encomenda .section-head p {
  color: rgba(255, 253, 248, 0.78);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  border-left: 1px solid rgba(255, 253, 248, 0.3);
  padding-left: 22px;
}
.step-n {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--dourado);
  line-height: 1;
}
.step h3 {
  color: var(--branco);
  margin-top: 14px;
  font-size: 1.08rem;
}
.step p {
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.95rem;
}

.encomenda-foot {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.encomenda .btn-outline {
  border-color: var(--branco);
  color: var(--branco);
}
.encomenda .btn-outline:hover {
  background: var(--branco);
  color: var(--verde);
}
.encomenda .btn-ghost {
  color: var(--dourado);
}
.encomenda .btn-ghost:hover {
  color: var(--branco);
}

/* ---------- regiões ---------- */

.regioes-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin: 0 -32px;
  padding-left: 32px;
  padding-right: 32px;
  scrollbar-width: thin;
}
.regiao-card {
  border: 1px solid var(--line);
  background: var(--branco);
  padding: 24px;
}
.regiao-card h3 {
  font-size: 1.08rem;
}
.regiao-card p {
  margin-top: 10px;
  font-size: 0.92rem;
}
.regiao-card .regiao-cidade {
  display: block;
  font-size: 0.74rem;
  color: var(--terracota-deep);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---------- depoimentos ---------- */

.depoimentos {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.depo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.depo {
  background: var(--branco);
  border: 1px solid var(--line);
  padding: 30px;
}
.depo p.quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.4;
}
.depo-autor {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.depo-autor strong {
  color: var(--ink);
}

/* ---------- cta final ---------- */

.cta-final {
  text-align: left;
}
.cta-final .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  border: 1px solid var(--line);
  padding: 48px;
  background: var(--branco);
}
.cta-final h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  max-width: 20ch;
}
.cta-final-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  color: var(--branco);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}
.footer-logo img {
  height: 64px;
  width: auto;
}
.footer-about {
  margin-top: 14px;
  font-size: 0.88rem;
  max-width: 34ch;
  color: rgba(255, 253, 248, 0.6);
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 253, 248, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer-social a:hover {
  border-color: var(--dourado);
  color: var(--dourado);
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* whatsapp flutuante */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(46, 71, 51, 0.55);
  z-index: 60;
  transition: background 0.15s ease;
}
.whatsapp-float:hover {
  background: var(--verde-soft);
}

/* ---------- responsivo ---------- */

@media (max-width: 980px) {
  .hero-frame {
    padding-top: 104px;
  }
  .hero-headline {
    max-width: 100%;
  }
  /* abaixo do desktop a badge sai do canto e vira um bloco normal,
     maior, logo acima do título */
  .hero-badge {
    position: static;
    transform: none;
    height: 110px;
    margin: 0 0 22px 0;
  }
  /* reserva espaço pro botão flutuante do WhatsApp não cobrir o botão Buscar */
  .search-box {
    padding-right: 104px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stats-rule {
    width: 64px;
  }
  .avaliacao .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .avaliacao-copy {
    order: 2;
  }
  .cantareira-banner {
    min-height: 50vh;
  }
  .diferenciais .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .listing-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }
  .listing-a {
    align-self: start;
    grid-row: auto;
    height: auto;
  }
  .listing-a .listing-media {
    flex: none;
    aspect-ratio: 16 / 10;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .solucoes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solucao-card:last-child { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
  .depo-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* menu hambúrguer entra mais cedo: o menu completo não cabe em tablets */
@media (max-width: 920px) {
  .header-phone {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 22px;
    width: 100%;
  }
  .main-nav ul a {
    font-size: 1.1rem;
  }
  .nav-toggle-label {
    display: block;
  }
  .nav-toggle:checked ~ .main-nav {
    transform: translateX(0);
  }
  .nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }
  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }
  .site-header .wrap {
    min-height: 64px;
  }
  .logo img {
    height: 40px;
  }
  .hero-frame {
    padding-top: 76px;
    padding-bottom: 16px;
  }
  .hero-headline h1 {
    font-size: 1.86rem;
  }
  .hero-kicker {
    font-size: 0.78rem;
  }
  .hero-badge {
    height: 84px;
    margin: 0 0 16px 0;
  }
  .hero-sub {
    margin-top: 12px;
    font-size: 0.95rem;
  }
  .hero-cta {
    margin-top: 16px;
  }
  .search-box {
    padding: 12px 88px 12px 14px;
    width: 100%;
    min-width: 0;
  }
  .search-tabs {
    margin-bottom: 8px;
  }
  .search-fields-full {
    display: none;
  }
  .search-fields-compact {
    display: flex;
    min-width: 0;
  }
  .search-fields-compact input {
    width: 100%;
  }
  .listing-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }
  .destaques-kicker { letter-spacing: 0.28em; }
  .listing:not(.listing-a) { flex-direction: column; height: auto; }
  .listing:not(.listing-a) .listing-media { width: 100%; flex: none; aspect-ratio: 16 / 9; }
  .listing:not(.listing-a) .listing-body { align-self: auto; }
  .featured-mainline { align-items: start; flex-direction: column; gap: 4px; }
  .featured-details { flex-wrap: wrap; row-gap: 12px; }
  .featured-details > span { padding: 0 10px; }
  .featured-details > span:first-child { padding-left: 0; }
  .featured-detail-btn { margin-left: auto; }
  .stats-bar {
    padding: 56px 0;
  }
  .solucoes { padding: 56px 0; }
  .solucoes-kicker { gap: 10px; letter-spacing: 0.25em; font-size: 0.74rem; }
  .solucoes-kicker i { width: 28px; }
  .solucoes-grid { grid-template-columns: 1fr; gap: 16px; }
  .solucao-card, .solucao-card:last-child { grid-column: auto; width: 100%; min-height: 390px; }
  .stats-head {
    margin-bottom: 40px;
  }
  .stats-title {
    gap: 10px;
    white-space: normal;
    letter-spacing: 0.08em;
    font-size: 1.1rem;
  }
  .stats-rule {
    width: 22px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .avaliacao-form .field-row {
    grid-template-columns: 1fr;
  }
  .regioes-scroll {
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .cta-final .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
  }
}
