/* =========================================================
   WILLIAN SELAU — "Linha Vermelha"
   Direção: editorial de arquitetura. O vermelho Ferrari funciona
   como laje/placa estrutural que atravessa fotografia e texto.
   Mobile-first. Sem frameworks.
   ========================================================= */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }

:root {
  --red: #C8102E;            /* substituído pelo painel (Configurações) */
  --red-deep: #8F0B21;
  --red-soft: #FAE7EA;
  --ink: #171717;
  --ink-2: #262626;
  --sand: #F5F2ED;
  --sand-2: #EAE3D8;
  --grey: #737373;
  --line: rgba(23, 23, 23, .14);
  --white: #FFFFFF;

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gut: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1440px;
  --top-h: 60px;
  --dock-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sect: clamp(4.5rem, 10vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--ink);
  background: var(--white); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: .5rem; left: .5rem; background: var(--ink); color: #fff; padding: .7rem 1rem; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.is-placeholder { background: var(--sand-2); }

/* ---------- Tipografia editorial ---------- */
.display {
  font-size: clamp(1.95rem, 4.6vw, 4rem); line-height: 1.02; font-weight: 760;
  letter-spacing: -.038em; text-wrap: balance;
}
.display em, .hero__title em, .bigcta__title em, .extra__title em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--red);
}
.display--light { color: var(--white); }
.display--light em { color: inherit; }
.display-sm { font-size: 1.6rem; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.eyebrow {
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1.25rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--grey);
}
.eyebrow__line { width: 2.5rem; height: 3px; background: var(--red); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white); --bd: var(--bg);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.35rem; border: 1.5px solid var(--bd); border-radius: 2px;
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 700; font-size: .95rem;
  letter-spacing: -.005em; line-height: 1.15; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--red-deep));
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .86rem; }
.btn--red { --bg: var(--red); --hover: var(--red-deep); }
.btn--dark { --bg: var(--ink); --hover: #000; }
.btn--white { --bg: var(--white); --fg: var(--ink); --hover: var(--ink); }
.btn--white:hover { color: var(--white); }
.btn--outline-white { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.65); --hover: var(--white); }
.btn--outline-white:hover { color: var(--ink); border-color: var(--white); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); --hover: var(--ink); }
.btn--line:hover { color: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); --hover: var(--sand-2); }
.btn--icon span { font-size: .86rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem;
  text-decoration: none; padding-block: .4rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow .ic { transition: transform .35s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

.badge {
  display: inline-flex; align-items: center; padding: .38rem .6rem; font-size: .66rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1;
}
.badge--red { background: var(--red); color: var(--white); }
.badge--light { background: var(--white); color: var(--ink); }
.badge--demo { background: #FFD43B; color: var(--ink); }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.top {
  position: sticky; top: 0; z-index: 40; height: var(--top-h);
  display: flex; align-items: center; gap: 1rem; padding: 0 var(--gut);
  background: var(--ink); color: var(--white);
}
.top__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; }
.top__mono {
  display: grid; place-items: center; width: 36px; height: 36px; background: var(--red);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; letter-spacing: -.02em;
}
.top__id { display: grid; line-height: 1.1; }
.top__id strong { font-size: .95rem; font-weight: 750; letter-spacing: -.01em; }
.top__id small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.top__seal { display: none; }
.top__phone { display: none; }
.top__menu {
  margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 2px;
}
.top__menu .ic { width: 22px; height: 22px; }

.menu {
  position: fixed; inset: var(--top-h) 0 0; z-index: 39; background: var(--red); color: var(--white);
  padding: 2rem var(--gut) calc(2rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.22);
  font-size: clamp(1.8rem, 8vw, 3rem); font-weight: 760; letter-spacing: -.04em; text-decoration: none; line-height: 1.05;
}
.menu nav a span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1rem; opacity: .7; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-top: 2rem; }
.menu__foot a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero { position: relative; display: grid; background: var(--sand); overflow: clip; }
.hero__photo { position: relative; height: clamp(170px, 24vh, 300px); overflow: hidden; background: var(--sand-2); }
.hero__photo img, .hero__photo picture { width: 100%; height: 100%; object-fit: cover; }
.hero__place {
  position: absolute; left: var(--gut); top: 1rem; color: var(--white); font-family: var(--serif); font-style: italic;
  font-size: 1.25rem; line-height: 1; text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
.hero__place span { display: block; margin-top: .3rem; font-family: var(--sans); font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero__photo .is-placeholder ~ .hero__place { color: var(--ink); text-shadow: none; }

.hero__slab {
  position: relative; z-index: 2; margin: -2.25rem var(--gut) 0 0; padding: 1.6rem var(--gut) 1.6rem;
  background: var(--red); color: var(--white);
}
.hero__slab::after { /* linha estrutural que "atravessa" para fora da placa */
  content: ""; position: absolute; right: calc(-1 * var(--gut)); bottom: 2.4rem; width: var(--gut); height: 3px; background: var(--red);
}
.hero__kicker { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .8; margin-bottom: .7rem; }
.hero__title {
  font-size: clamp(1.85rem, 8.3vw, 2.6rem); line-height: 1.02; font-weight: 790; letter-spacing: -.042em; text-wrap: balance;
}
.hero__title em { color: inherit; font-size: 1.12em; }
.hero__sub { margin-top: .75rem; font-size: .9rem; line-height: 1.5; opacity: .92; max-width: 36rem; }
.hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.3rem; }
.hero__ctas .btn { padding-inline: .7rem; font-size: .88rem; }
.lbl-long { display: none; }
.hero__ctas .link-arrow { grid-column: 1 / -1; justify-self: start; margin-top: .2rem; }

.hero__facts {
  display: grid; grid-template-columns: 1fr 1fr; margin: 0 var(--gut); border-left: 1px solid var(--line);
}
.hero__facts li { padding: .85rem .9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .8rem; line-height: 1.3; color: var(--ink-2); }
.hero__facts strong { display: block; font-size: .95rem; font-weight: 780; letter-spacing: -.02em; color: var(--ink); }
.hero__facts li:first-child strong { color: var(--red); }
.hero__sign {
  display: flex; flex-wrap: wrap; gap: .25rem .9rem; padding: .9rem var(--gut) 1.4rem; font-size: .72rem; color: var(--grey);
  letter-spacing: .02em;
}
.hero__sign-name { font-weight: 800; color: var(--ink); }
.hero__sign-seal { font-weight: 700; color: var(--red); }

/* Faixa sazonal */
.ribbon {
  display: flex; align-items: center; gap: .8rem; padding: .95rem var(--gut); background: var(--ink); color: var(--white);
  text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.ribbon span:nth-child(2) { flex: 1; }
.ribbon__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,16,46,.7); } 70% { box-shadow: 0 0 0 10px rgba(200,16,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); } }

/* =========================================================
   2. VITRINE
   ========================================================= */
.showcase { padding: clamp(2.75rem, 7vw, 7rem) var(--gut) var(--sect); max-width: var(--max); margin: 0 auto; }
.showcase__head { margin-bottom: clamp(2rem, 5vw, 4.5rem); }
.showcase__lead { margin-top: 1rem; color: var(--ink-2); max-width: 34rem; }
.filters {
  display: flex; gap: .5rem; margin: 1.6rem calc(-1 * var(--gut)) 0; padding: 0 var(--gut) .25rem;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .4rem 1rem;
  border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; font-size: .85rem; font-weight: 700;
  transition: background .25s, color .25s, border-color .25s;
}
.chip span { font-size: .72rem; opacity: .6; }
.chip.is-on { background: var(--ink); color: var(--white); }
.chip--red { border-color: var(--red); color: var(--red); }
.chip--red.is-on { background: var(--red); color: var(--white); }
.filters__empty { padding: 2rem 0; color: var(--grey); }
.demo-note { margin-bottom: 2rem; padding: .9rem 1rem; background: #FFF6CC; border-left: 4px solid #E0B400; font-size: .85rem; }

.showcase__grid { display: grid; gap: 3.25rem; }

/* Card padrão */
.pcard { position: relative; display: grid; min-width: 0; }
.pcard[hidden] { display: none; }
.pcard__media {
  position: relative; display: block; margin: 0 calc(-1 * var(--gut)); aspect-ratio: 4 / 4.3; overflow: hidden; background: var(--sand-2);
}
.pcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard__media:hover .pcard__img { transform: scale(1.045); }
.pcard__num {
  position: absolute; left: var(--gut); bottom: .2rem; font-size: clamp(4.5rem, 20vw, 7.5rem); font-weight: 800; line-height: .8;
  letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.95); pointer-events: none;
}
.pcard__media:has(.is-placeholder) .pcard__num { -webkit-text-stroke-color: rgba(23,23,23,.35); }
.pcard__badges { position: absolute; left: var(--gut); top: 1rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.pcard__count {
  position: absolute; right: var(--gut); bottom: 1rem; display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .6rem; background: rgba(23,23,23,.78); color: var(--white); font-size: .72rem; font-weight: 700;
}
.pcard__body { padding-top: 1.25rem; }
.pcard__meta { display: flex; gap: 1rem; justify-content: space-between; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.pcard__meta span:first-child { color: var(--red); }
.pcard__title { margin-top: .5rem; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.12; font-weight: 750; letter-spacing: -.03em; }
.pcard__title a { text-decoration: none; }
.pcard__specs { display: grid; grid-template-columns: 1fr 1fr; margin-top: .9rem; border-top: 1px solid var(--line); }
.pcard__specs li { padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); }
.pcard__specs li:nth-child(even) { padding-left: .9rem; border-left: 1px solid var(--line); }
.pcard__specs strong { font-size: 1rem; color: var(--ink); font-weight: 800; }
.pcard__desc { margin-top: .9rem; color: var(--ink-2); font-size: .93rem; }
.pcard__price { margin-top: 1rem; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pcard__price small { display: block; margin-bottom: .35rem; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.pcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin-top: 1.2rem; }
.pcard__actions .link-arrow { margin-left: auto; }

/* Card destaque: placa vermelha sobre a fotografia */
.pcard--feature .pcard__media { aspect-ratio: 4 / 4.6; }
.pcard--feature .pcard__num { bottom: auto; top: 3rem; }
.pcard--feature .pcard__body {
  position: relative; z-index: 2; margin: -3.5rem 0 0 0; padding: 1.5rem 1.4rem 1.6rem; background: var(--red); color: var(--white);
}
.pcard--feature .pcard__meta, .pcard--feature .pcard__meta span:first-child, .pcard--feature .pcard__price small { color: rgba(255,255,255,.75); }
.pcard--feature .pcard__specs { border-color: rgba(255,255,255,.28); }
.pcard--feature .pcard__specs li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.28); }
.pcard--feature .pcard__specs strong, .pcard--feature .pcard__desc { color: var(--white); }
.pcard--feature .pcard__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.pcard--feature .pcard__price { font-size: clamp(2rem, 4vw, 3rem); }
.pcard--feature .btn--red { --bg: var(--white); --fg: var(--ink); --hover: var(--ink); }
.pcard--feature .btn--red:hover { color: var(--white); }
.pcard--feature .btn--line { --fg: var(--white); --bd: rgba(255,255,255,.6); --hover: var(--white); }
.pcard--feature .btn--line:hover { color: var(--ink); }
.pcard--feature .link-arrow { color: var(--white); }
.pcard--feature .badge--red { background: var(--ink); }

.empty { padding: 2.5rem; background: var(--sand); display: grid; gap: 1rem; justify-items: start; }

/* =========================================================
   3. VERÃO
   ========================================================= */
.summer { position: relative; display: grid; background: var(--sand); }
.summer__photo { height: clamp(260px, 52vh, 560px); overflow: hidden; }
.summer__photo img { width: 100%; height: 100%; object-fit: cover; }
.summer__slab {
  position: relative; z-index: 2; margin: -4rem 0 0 var(--gut); padding: 2rem var(--gut) 2.4rem 1.6rem;
  background: var(--red); color: var(--white); overflow: hidden;
}
.summer__word {
  position: absolute; right: -.08em; top: -.28em; font-family: var(--serif); font-style: italic; font-size: clamp(7rem, 34vw, 17rem);
  line-height: 1; color: rgba(255,255,255,.1); pointer-events: none;
}
.summer__text { position: relative; margin-top: 1.1rem; max-width: 34rem; opacity: .93; }
.summer__ctas { position: relative; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }

/* =========================================================
   4. BENEFÍCIOS
   ========================================================= */
.benefits { padding: var(--sect) var(--gut); background: var(--sand); display: grid; gap: 2.5rem; }
.benefits__list li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .2rem 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.benefits__list li:last-child { border-bottom: 1px solid var(--line); }
.benefits__n { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: .9; color: var(--red); }
.benefits__list h3 { font-size: 1.2rem; font-weight: 760; letter-spacing: -.025em; line-height: 1.2; }
.benefits__list p { color: var(--ink-2); font-size: .95rem; }

/* =========================================================
   5. BAIRROS
   ========================================================= */
.hoods { padding: var(--sect) var(--gut); max-width: var(--max); margin: 0 auto; }
.hoods__list { margin-top: clamp(2rem, 5vw, 4rem); border-top: 1.5px solid var(--ink); }
.hood { position: relative; padding: 1.6rem 0 1.8rem; border-bottom: 1px solid var(--line); display: grid; gap: .6rem; }
.hood__name {
  position: relative; justify-self: start; font-size: clamp(2.5rem, 12vw, 7.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .92;
}
.hood__name::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .09em; background: var(--red);
  transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease);
}
.hood:hover .hood__name::after, .hood.is-in .hood__name::after { transform: scaleX(1); }
.hood--3 .hood__name { font-size: clamp(2rem, 8vw, 4.6rem); color: var(--ink-2); }
.hood p { color: var(--ink-2); max-width: 30rem; }
.hood .link-arrow { justify-self: start; }
.hood__n { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .35rem; background: var(--red); color: var(--white); font-size: .75rem; border-radius: 999px; }

/* =========================================================
   6. À DISTÂNCIA
   ========================================================= */
.remote { background: var(--ink); color: var(--white); padding: var(--sect) var(--gut); }
.remote__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 2.2rem; }
.remote .display em { color: #FF5A6E; color: color-mix(in srgb, var(--red) 55%, white); }
.remote__body { display: grid; gap: 1rem; color: rgba(255,255,255,.82); }
.remote__steps { display: grid; margin: .8rem 0 1.2rem; border-top: 1px solid rgba(255,255,255,.18); }
.remote__steps li { display: flex; align-items: center; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.18); color: var(--white); font-weight: 650; }
.remote__steps span { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--red); font-weight: 800; font-size: .85rem; flex: none; }
.remote .btn { justify-self: start; }

/* =========================================================
   7. SOBRE
   ========================================================= */
.about { padding: var(--sect) var(--gut); max-width: var(--max); margin: 0 auto; display: grid; gap: 3rem; }
.about__photo { position: relative; margin-right: 1.25rem; }
.about__photo::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; background: var(--red); z-index: -1; }
.about__photo img, .about__mono { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.about__mono { display: grid; place-items: center; background: var(--ink); color: var(--white); }
.about__mono span { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 30vw, 14rem); line-height: 1; letter-spacing: -.04em; }
.about__photo figcaption { position: absolute; left: 0; bottom: 0; padding: .8rem 1rem; background: var(--white); font-weight: 800; font-size: .9rem; }
.about__photo figcaption span { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .14em; color: var(--grey); }
.about__body { display: grid; gap: 1.2rem; align-content: start; }
.about__body > p { color: var(--ink-2); }
.about__big { display: flex; align-items: flex-end; gap: 1rem; }
.about__big strong { font-size: clamp(5rem, 22vw, 10rem); font-weight: 800; letter-spacing: -.07em; line-height: .78; color: var(--red); }
.about__big span { max-width: 12rem; font-size: .82rem; font-weight: 700; line-height: 1.3; padding-bottom: .3rem; }
.about__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.about__list li { position: relative; padding: .8rem 0 .8rem 1.6rem; border-bottom: 1px solid var(--line); font-weight: 650; }
.about__list li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: .9rem; height: 3px; background: var(--red); }
.about__foot { font-size: .85rem; color: var(--grey); }

/* =========================================================
   8. DEPOIMENTOS
   ========================================================= */
.quotes { padding: var(--sect) var(--gut); background: var(--sand); }
.quotes__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 1rem; margin: 2.5rem calc(-1 * var(--gut)) 0; padding: 0 var(--gut);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.quote { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem; padding: 1.8rem; background: var(--white); border-top: 4px solid var(--red); }
.quote blockquote p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; }
.quote blockquote p::before { content: "“"; color: var(--red); }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption small { display: block; color: var(--grey); font-size: .8rem; }

/* =========================================================
   9. CTA COMERCIAL
   ========================================================= */
.bigcta {
  position: relative; padding: var(--sect) var(--gut); background: var(--red); color: var(--white); display: grid; gap: 2rem; overflow: hidden;
}
.bigcta::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--sect) * .45); height: 1px; background: rgba(255,255,255,.3); }
.bigcta__title { font-size: clamp(2.4rem, 9vw, 7rem); font-weight: 800; line-height: .95; letter-spacing: -.055em; text-wrap: balance; }
.bigcta__title em { color: inherit; }
.bigcta__side { display: grid; gap: 1.4rem; align-content: end; }
.bigcta__side p { opacity: .92; max-width: 26rem; }
.bigcta__btns { display: grid; gap: .6rem; }

/* =========================================================
   10. PROPRIETÁRIOS
   ========================================================= */
.owners { position: relative; padding: var(--sect) var(--gut); background: var(--sand-2); overflow: hidden; }
.owners__mark {
  position: absolute; left: -.06em; bottom: -.32em; font-family: var(--serif); font-style: italic; font-size: clamp(8rem, 40vw, 24rem);
  line-height: 1; color: var(--red); opacity: .11; pointer-events: none;
}
.owners__body { position: relative; display: grid; gap: 1.2rem; max-width: 46rem; }
.owners__body > p { color: var(--ink-2); }
.owners .btn { justify-self: start; }

/* =========================================================
   11 + 12. EXTRAS
   ========================================================= */
.extras { display: grid; padding: 0 var(--gut); max-width: var(--max); margin: 0 auto; }
.extra { display: grid; gap: .9rem; padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.extra p { color: var(--ink-2); max-width: 36rem; }
.extra .link-arrow { justify-self: start; }
.extra__title { font-size: clamp(1.45rem, 3vw, 2.3rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.08; }
.extra--inv .extra__title { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.extra--inv { color: var(--ink-2); }

/* =========================================================
   13. FINAL
   ========================================================= */
.final { padding: var(--sect) var(--gut); max-width: var(--max); margin: 0 auto; display: grid; gap: 1.2rem; }
.final__text { color: var(--ink-2); max-width: 36rem; }
.final__phone {
  justify-self: start; margin-top: .6rem; font-size: clamp(2.3rem, 11vw, 8rem); font-weight: 800; letter-spacing: -.055em; line-height: 1;
  color: var(--red); text-decoration: none; white-space: nowrap;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 .06em no-repeat; transition: background-size .6s var(--ease);
}
.final__phone:hover { background-size: 100% .06em; }
.final__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; max-width: 30rem; }
.final__hours { font-size: .85rem; color: var(--grey); }

/* =========================================================
   14. RODAPÉ
   ========================================================= */
.foot { background: var(--ink); color: rgba(255,255,255,.75); border-top: 6px solid var(--red); padding: 3.5rem var(--gut) 2.5rem; display: grid; gap: 2.4rem; font-size: .9rem; }
.foot__brand { display: grid; gap: .2rem; }
.foot__name { color: var(--white); font-size: 1.8rem; font-weight: 800; letter-spacing: -.04em; }
.foot__info { display: grid; gap: 1rem; }
.foot__info span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.foot__info a { color: var(--white); text-decoration: none; font-weight: 700; }
.foot__legal { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.foot__legal a, .foot__legal button { color: rgba(255,255,255,.75); }

/* =========================================================
   BARRA FIXA (mobile) e WhatsApp flutuante (desktop)
   ========================================================= */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1.35fr 1fr; gap: 6px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--ink);
  transform: translateY(0); transition: transform .35s var(--ease);
}
.dock a {
  display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 54px; text-decoration: none;
  font-weight: 800; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px;
}
.dock__call { background: var(--red); color: var(--white); }
.dock__wa { background: var(--ink-2); color: var(--white); border: 1px solid rgba(255,255,255,.18); }
body.sheet-open .dock { transform: translateY(110%); }
.float-wa { display: none; }

/* =========================================================
   FICHA DO IMÓVEL (dialog)
   ========================================================= */
.sheet {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0;
  background: var(--white); color: var(--ink); overflow: hidden;
}
.sheet[open] { animation: sheetIn .45s var(--ease); }
.sheet::backdrop { background: rgba(23,23,23,.72); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.sheet__close {
  position: absolute; top: calc(.75rem + env(safe-area-inset-top)); right: .75rem; z-index: 5; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.sheet__close .ic { width: 22px; height: 22px; }
.sheet__content { height: 100%; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.sheet__gallery { position: relative; flex: none; height: min(58vh, 520px); background: var(--ink); }
.gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.gal__img { width: 100%; height: 100%; object-fit: contain; }
.gal__img.is-placeholder { object-fit: cover; }
.gal__nav {
  position: absolute; top: 50%; translate: 0 -50%; display: none; place-items: center; width: 52px; height: 52px; border: 0;
  background: var(--white); color: var(--ink); border-radius: 50%;
}
.gal__nav--prev { left: 1rem; } .gal__nav--next { right: 1rem; }
.gal__count { position: absolute; left: 1rem; bottom: 1rem; padding: .3rem .65rem; background: rgba(23,23,23,.8); color: var(--white); font-size: .78rem; font-weight: 700; }
.gal__thumbs { display: none; }
.sheet__info { flex: 1 0 auto; padding: 1.6rem var(--gut) 2rem; display: grid; gap: .9rem; align-content: start; }
.sheet__meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.sheet__meta span { color: var(--grey); }
.sheet__title { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 780; letter-spacing: -.035em; line-height: 1.08; }
.sheet__badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.sheet__badges:empty { display: none; }
.sheet__badges .badge--light { border: 1px solid var(--ink); }
.sheet__price { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.sheet__specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sheet__specs div { padding: .8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; }
.sheet__specs dt { font-size: .74rem; color: var(--grey); }
.sheet__specs dd { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.sheet__lead { font-weight: 650; }
.sheet__text { color: var(--ink-2); font-size: .95rem; }
.sheet__h { margin-top: .6rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.sheet__feats { display: grid; gap: .1rem; }
.sheet__feats li { position: relative; padding: .45rem 0 .45rem 1.3rem; border-bottom: 1px solid var(--line); font-size: .93rem; }
.sheet__feats li::before { content: ""; position: absolute; left: 0; top: 1rem; width: .7rem; height: 2px; background: var(--red); }
.sheet__note { font-size: .76rem; color: var(--grey); }
.sheet__cta {
  position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
}
.sheet__cta .btn { padding-inline: .7rem; font-size: .86rem; }
.sheet__cta .btn--icon span { display: none; }

/* =========================================================
   CONSENTIMENTO
   ========================================================= */
.consent {
  position: fixed; left: .6rem; right: .6rem; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + .6rem); z-index: 60;
  padding: 1.1rem; background: var(--white); border: 1.5px solid var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.12); font-size: .86rem;
}
.consent[hidden] { display: none; }
.consent__prefs { display: grid; gap: .45rem; margin-top: .8rem; }
.consent__prefs[hidden] { display: none; }
.consent__prefs label { display: flex; gap: .55rem; align-items: center; }
.consent__prefs input { width: 18px; height: 18px; accent-color: var(--red); }
.consent__btns { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.consent__btns .btn { flex: 1; }

/* Página legal */
.legal { max-width: 52rem; margin: 0 auto; padding: 4rem var(--gut) 6rem; }
.legal__text { margin: 2rem 0 3rem; display: grid; gap: 1rem; color: var(--ink-2); }
.legal__text h2 { margin-top: 1rem; font-size: 1.2rem; color: var(--ink); }
.legal__warn { padding: .8rem 1rem; background: #FFF6CC; border-left: 4px solid #E0B400; }

/* =========================================================
   MOVIMENTO
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   ≥ 600px
   ========================================================= */
@media (min-width: 600px) {
  .hero__facts { grid-template-columns: repeat(4, 1fr); }
  .hero__ctas { grid-template-columns: auto auto; justify-content: start; }
  .lbl-long { display: inline; } .lbl-short { display: none; }
  .hero__ctas .link-arrow { grid-column: auto; align-self: center; margin: 0 0 0 .6rem; }
  .bigcta__btns { grid-template-columns: auto auto; justify-content: start; }
  .quotes__track { grid-auto-columns: 60%; }
  .consent { left: auto; right: 1rem; max-width: 440px; }
}

/* =========================================================
   ≥ 1024px — desktop editorial
   ========================================================= */
@media (min-width: 1024px) {
  :root { --top-h: 76px; --dock-h: 0px; }
  body { padding-bottom: 0; }
  .dock { display: none; }

  .top { gap: 2rem; }
  .top__mono { width: 44px; height: 44px; font-size: 1.4rem; }
  .top__seal { display: grid; margin-left: auto; text-align: right; line-height: 1.15; padding-right: 2rem; border-right: 1px solid rgba(255,255,255,.18); }
  .top__seal img { height: 28px; width: auto; margin-left: auto; }
  .top__ferrari { font-weight: 800; letter-spacing: .02em; }
  .top__seal small { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); filter: brightness(1.5); }
  .top__phone { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 750; }
  .top__phone .ic { color: var(--red); filter: brightness(1.4); }
  .top__menu { margin-left: 0; }

  /* HERO: placa vermelha sobreposta à fotografia, grid de 12 colunas */
  .hero {
    grid-template-columns: var(--gut) repeat(12, minmax(0, 1fr)) var(--gut);
    grid-template-rows: 1fr auto;
    min-height: min(calc(100vh - var(--top-h)), 900px);
  }
  .hero__photo { grid-column: 6 / -1; grid-row: 1 / 3; height: auto; }
  .hero__place {
    left: auto; right: 1.6rem; top: 2rem; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.7rem;
  }
  .hero__place span { display: inline; margin: 0 0 0 .8rem; }
  .hero__slab {
    grid-column: 1 / 10; grid-row: 1; align-self: start; margin: clamp(2.5rem, 5vh, 4.5rem) 0 0 0;
    padding: clamp(2.5rem, 4vw, 4.5rem) clamp(2.5rem, 5vw, 5.5rem) clamp(2.5rem, 4vw, 4rem) var(--gut);
  }
  .hero__slab::after { right: -40vw; width: 40vw; bottom: auto; top: 3.2rem; height: 4px; opacity: .9; }
  .hero__title { font-size: clamp(2.8rem, 4.5vw, 5.1rem); max-width: 15ch; }
  .hero__sub { font-size: 1.08rem; margin-top: 1.4rem; }
  .hero__ctas { margin-top: 2.2rem; }
  .hero__cta-call { order: 2; } /* desktop: WhatsApp em primeiro plano */
  .hero__cta-wa { order: 1; --bg: var(--white); --fg: var(--ink); --bd: var(--white); --hover: var(--ink); }
  .hero__cta-wa:hover { color: var(--white); }
  .hero__cta-call { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.65); --hover: var(--white); }
  .hero__cta-call:hover { color: var(--ink); }
  .hero__ctas .link-arrow { order: 3; }
  .hero__facts {
    grid-column: 8 / -2; grid-row: 2; z-index: 2; margin: 0; background: var(--white); border: 0;
  }
  .hero__facts li { padding: 1.3rem 1.2rem; border: 0; border-right: 1px solid var(--line); }
  .hero__facts li:last-child { border-right: 0; }
  .hero__sign { grid-column: 2 / 8; grid-row: 2; align-self: end; padding: 1.6rem 0; flex-direction: column; gap: .15rem; font-size: .8rem; }
  .hero__sign-name { font-size: 1.05rem; }

  .ribbon { justify-content: center; }
  .ribbon span:nth-child(2) { flex: none; }

  /* VITRINE */
  .showcase__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: end; }
  .showcase__head .eyebrow { grid-column: 1 / -1; }
  .showcase__head .display { grid-column: 1 / 9; }
  .showcase__lead { grid-column: 9 / -1; margin: 0; }
  .filters { grid-column: 1 / -1; margin: 2.4rem 0 0; padding: 0; flex-wrap: wrap; overflow: visible; }

  .showcase__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: 5rem; align-items: start; }
  .pcard__media { margin: 0; }
  .pcard__specs { grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: none; }
  .pcard__specs li:nth-child(even) { padding-left: 0; border-left: 0; }
  .pcard__specs li + li { padding-left: .9rem; border-left: 1px solid var(--line); }
  .pcard--feature .pcard__num { top: auto; bottom: .2rem; }
  .pcard__num, .pcard__badges { left: 1.4rem; }
  .pcard__count { right: 1.2rem; }

  .pcard--feature { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .pcard--feature .pcard__media { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 16 / 11; }
  .pcard--feature .pcard__body { grid-column: 8 / -1; grid-row: 1; margin: 0 0 -3rem; padding: 2.4rem 2.4rem 2.6rem; }
  .pcard--feature .pcard__num { font-size: 10rem; }

  .pcard--standard.is-left  { grid-column: 1 / 7; }
  .pcard--standard.is-right { grid-column: 8 / -1; margin-top: 9rem; }
  .pcard--standard.is-left .pcard__media { aspect-ratio: 4 / 4.4; }
  .pcard--standard.is-right .pcard__media { aspect-ratio: 4 / 4.8; }
  .pcard--standard.is-solo { grid-column: 3 / 11; }
  .pcard--standard.is-solo .pcard__media { aspect-ratio: 16 / 10; }

  /* VERÃO */
  .summer { grid-template-columns: repeat(12, 1fr); }
  .summer__photo { grid-column: 1 / 10; grid-row: 1; height: min(84vh, 760px); }
  .summer__slab { grid-column: 7 / -1; grid-row: 1; align-self: end; margin: 0 0 -4rem; padding: 3.5rem var(--gut) 3.5rem 3.5rem; }
  .summer + .benefits { padding-top: calc(var(--sect) + 4rem); }

  /* BENEFÍCIOS */
  .benefits { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .benefits__title { grid-column: 1 / 6; align-self: start; position: sticky; top: calc(var(--top-h) + 2rem); }
  .benefits__list { grid-column: 7 / -1; }
  .benefits__list li { grid-template-columns: 6rem 1fr; padding: 2.4rem 0; }
  .benefits__n { font-size: 4.2rem; }
  .benefits__list h3 { font-size: 1.55rem; }

  /* BAIRROS */
  .hoods > .display { max-width: 16ch; }
  .hood { grid-template-columns: repeat(12, 1fr); align-items: end; column-gap: 2rem; padding: 2.4rem 0; }
  .hood__name { grid-column: 1 / 9; grid-row: 1 / 3; }
  .hood p { grid-column: 9 / -1; }
  .hood .link-arrow { grid-column: 9 / -1; }

  /* À DISTÂNCIA */
  .remote__inner { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .remote .display { grid-column: 1 / 8; }
  .remote__body { grid-column: 9 / -1; align-self: end; }

  /* SOBRE */
  .about { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: start; }
  .about__photo { grid-column: 1 / 6; position: sticky; top: calc(var(--top-h) + 2rem); }
  .about__body { grid-column: 7 / -1; }
  .about__list { grid-template-columns: 1fr 1fr; column-gap: 2rem; }

  /* DEPOIMENTOS */
  .quotes__track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 3rem 0 0; padding: 0; overflow: visible; }
  .quote:nth-child(3n+2) { margin-top: 3rem; }

  /* CTA */
  .bigcta { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .bigcta__title { grid-column: 1 / 9; }
  .bigcta__side { grid-column: 9 / -1; }
  .bigcta__btns { grid-template-columns: 1fr; }

  /* PROPRIETÁRIOS */
  .owners__body { margin-left: 41.66%; }
  .owners__mark { bottom: -.25em; }

  /* EXTRAS */
  .extras { grid-template-columns: 7fr 5fr; column-gap: 0; }
  .extra { padding-right: 3rem; border-bottom: 0; }
  .extra--inv { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem) 3rem; border-left: 1px solid var(--line); }

  /* FINAL */
  .final { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .final > * { grid-column: 1 / -1; }
  .final .display { grid-column: 1 / 9; }
  .final__btns { grid-template-columns: auto auto; justify-content: start; }

  /* RODAPÉ */
  .foot { grid-template-columns: 5fr 7fr; }
  .foot__info { grid-template-columns: 1fr 1fr; }
  .foot__legal { grid-column: 1 / -1; }

  /* WhatsApp em destaque no desktop */
  .float-wa {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 45; display: inline-flex; align-items: center; gap: .6rem;
    padding: .95rem 1.3rem; background: var(--red); color: var(--white); text-decoration: none; font-weight: 800; font-size: .9rem;
    box-shadow: 0 10px 30px rgba(200,16,46,.3); transition: transform .35s var(--ease), background .3s;
  }
  .float-wa:hover { background: var(--red-deep); transform: translateY(-2px); }
  .consent { bottom: 5.5rem; }

  /* FICHA */
  .sheet { width: min(1320px, 94vw); height: min(880px, 92vh); max-height: 92vh; margin: auto; }
  .sheet__content { display: grid; grid-template-columns: 62% 38%; grid-template-rows: 1fr auto; overflow: hidden; }
  .sheet__gallery { grid-row: 1 / 3; height: auto; }
  .sheet__info { overflow-y: auto; padding: 4.2rem 2.4rem 2rem; }
  .sheet__cta { position: static; grid-template-columns: 1fr 1fr; padding: 12px; }
  .sheet__cta .btn--icon { grid-column: 1 / -1; }
  .sheet__cta .btn--icon span { display: inline; }
  .sheet__close { top: 1rem; right: 1rem; }
  .gal__nav { display: grid; }
  .gal__thumbs { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: center; gap: 6px; }
  .gal__thumbs button { width: 64px; height: 44px; padding: 0; border: 2px solid transparent; background: none; opacity: .6; transition: opacity .25s; }
  .gal__thumbs button.is-on { border-color: var(--white); opacity: 1; }
  .gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .gal__count { bottom: auto; top: 1rem; }
}

@media (min-width: 1440px) {
  .hero__facts li { padding: 1.5rem 1.6rem; }
}

/* Telas muito pequenas (≤ 360px) */
@media (max-width: 360px) {
  .hero__ctas { grid-template-columns: 1fr; }
  .pcard__actions .link-arrow { margin-left: 0; }
  .final__btns { grid-template-columns: 1fr; }
  .dock a { font-size: .8rem; letter-spacing: .04em; }
}
