/* Doha Exclusive Living: identidade local
   Mantém o esqueleto do styles.css (Scenario design system) e veste com a
   paleta OFICIAL do book do Doha (D1 Empreendimentos): off-white acinzentado
   #ECEDED (fundo de todas as páginas do folder e das plantas) + dourado sóbrio
   #A5916D (títulos do book) + grafite quente (edifício/rooftop dos renders) +
   a camada de interação do ÚNICCO: grain, marquee, molduras com hover-zoom.
   Tudo escopado em body.doha para não afetar outras páginas.
*/

body.doha {
  /* Paleta Doha: grafite quente + dourado sóbrio + off-white acinzentado */
  --navy:        #2A2822;
  --navy-2:      #3B382F;
  --navy-deep:   #1C1B16;
  --champagne:   #A5916D;
  --champagne-2: #C6B592;
  --champagne-deep: #86734F;
  --bg:          #ECEDED;
  --bg-deep:     #E2E1DC;
  --paper:       #F7F7F5;
  --ink:         var(--navy);
  --ink-2:       #4A473D;
  --muted:       #6E6A5E;
  --line:        rgba(42, 40, 34, 0.16);
  --line-2:      rgba(42, 40, 34, 0.08);

  background: var(--bg);
  color: var(--ink);
}

/* ============================================================
   GRAIN: textura sutil de ruído (do ÚNICCO) sobre seções escuras
   ============================================================ */
body.doha .grain { position: relative; overflow: hidden; }
body.doha .grain::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
body.doha .grain > .container,
body.doha .contato.grain .contato-inner,
body.doha footer.grain .row,
body.doha footer.grain .legal { position: relative; z-index: 2; }
body.doha .hero.grain .stack,
body.doha .hero.grain .top-meta,
body.doha .hero.grain .scroll-cue { position: relative; z-index: 2; }

/* ============================================================
   HERO (embasamento com fachada-jardim, paisagem 16:9)
   ============================================================ */
body.doha .hero.empreendimento { min-height: 92vh; min-height: 92svh; }
body.doha .hero.empreendimento .photo { background-position: center 42%; }
body.doha .hero.empreendimento .scrim {
  background: linear-gradient(to top,
    rgba(28,27,22,.84) 0%, rgba(28,27,22,.74) 14%, rgba(28,27,22,.56) 32%,
    rgba(28,27,22,.34) 50%, rgba(28,27,22,.12) 66%, rgba(28,27,22,0) 80%);
}
body.doha .hero h1 { text-shadow: 0 1px 2px rgba(14,13,10,.92), 0 2px 10px rgba(14,13,10,.6); text-wrap: balance; }
body.doha .hero h1 .roman { text-shadow: 0 1px 2px rgba(14,13,10,.94), 0 2px 10px rgba(14,13,10,.6), 0 2px 6px rgba(14,13,10,.7); }
body.doha .hero h1 em { font-style: italic; color: var(--champagne-2);
  text-shadow: 0 1px 2px rgba(14,13,10,.92), 0 2px 6px rgba(14,13,10,.72); }
body.doha .hero .tag { text-shadow: 0 1px 3px rgba(14,13,10,.85), 0 2px 10px rgba(14,13,10,.5); opacity: 1; }
body.doha .hero .stack .eyebrow { color: var(--champagne); }

/* ============================================================
   MARQUEE: faixa grafite com o padrão do book em dourado
   ============================================================ */
body.doha .doha-marquee {
  background: var(--navy-deep);
  color: var(--paper);
  border-top: 1px solid rgba(165,145,109,0.28);
  border-bottom: 1px solid rgba(165,145,109,0.28);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
body.doha .doha-marquee .track {
  display: inline-flex; align-items: center; gap: 26px;
  white-space: nowrap;
  will-change: transform;
  animation: doha-marquee 40s linear infinite;
}
body.doha .doha-marquee span {
  font-family: var(--sans); font-weight: 300;
  font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase;
}
body.doha .doha-marquee .dot { color: var(--champagne); opacity: 0.85; }
@keyframes doha-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  body.doha .doha-marquee .track { animation: none; }
}

/* ============================================================
   MOLDURAS COM HOVER-ZOOM
   ============================================================ */
/* Conceito: 3 fachadas em retrato 4:5, lado a lado */
body.doha .doha-figrow {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: clamp(32px, 4vw, 56px);
}
body.doha .frame {
  position: relative; overflow: hidden; margin: 0;
  background: var(--bg-deep);
  aspect-ratio: 4/5; cursor: zoom-in;
}
body.doha .frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
body.doha .frame:hover img { transform: scale(1.06); }
body.doha .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(28,27,22,0.74) 100%);
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
body.doha .frame:hover::after { opacity: 1; }
body.doha .frame figcaption {
  position: absolute; left: 20px; bottom: 16px; z-index: 2;
  display: flex; flex-direction: column; gap: 3px;
  color: var(--paper);
  transform: translateY(8px); opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
body.doha .frame:hover figcaption { transform: none; opacity: 1; }
body.doha .frame figcaption .s {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; opacity: 0.85; color: var(--champagne-2);
}
body.doha .frame figcaption .n {
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1;
}
/* PADRÃO (04/07): sombra no figcaption garante contraste sobre foto clara */
body.doha .frame figcaption .n,
body.doha .frame figcaption .s {
  text-shadow: 0 1px 3px rgba(14, 13, 10, 0.9), 0 2px 12px rgba(14, 13, 10, 0.6);
}
@media (max-width: 760px) {
  body.doha .doha-figrow { grid-template-columns: 1fr; }
  body.doha .frame figcaption { opacity: 1; transform: none; }
  body.doha .frame::after { opacity: 1; }
}

/* Interiores: 1 moldura larga (living pé-direito duplo) + 2 meia-largura */
body.doha .doha-figrow2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: clamp(32px, 4vw, 56px);
}
body.doha .doha-figrow2 .frame { aspect-ratio: 16/9; }
body.doha .doha-figrow2 .frame.wide { grid-column: 1 / -1; aspect-ratio: 21/9; }
@media (max-width: 760px) {
  body.doha .doha-figrow2 { grid-template-columns: 1fr; }
  body.doha .doha-figrow2 .frame.wide { aspect-ratio: 16/9; }
}

/* ============================================================
   BENTO / ROOFTOP CLUB: 6 células (spans padrão c1..c6 da base)
   ============================================================ */
body.doha .club-grid .cell {
  transition: transform .6s cubic-bezier(.2,.6,.2,1), filter .5s ease;
}
body.doha .club-grid .cell:hover { transform: scale(1.012); filter: brightness(1.04); }
body.doha .club-grid .cell .cap {
  transform: translateY(6px); opacity: 0.92;
  transition: transform .4s ease, opacity .4s ease;
}
body.doha .club-grid .cell:hover .cap { transform: none; opacity: 1; }

/* ============================================================
   TABELA / COMERCIALIZAÇÃO: CTA band
   ============================================================ */
body.doha .doha-cta-band {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 28px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
body.doha .doha-cta-band p {
  margin: 0; max-width: 58ch;
  font-size: 14px; line-height: 1.65; color: var(--ink-2);
}
@media (max-width: 760px) {
  body.doha .doha-cta-band { grid-template-columns: 1fr; }
}

/* ============================================================
   BRAND: selo com fundo grafite e aro dourado
   ============================================================ */
body.doha .top .brand .selo,
body.doha footer .brand-foot .selo {
  background: #1C1B16 url("../../assets/selo-cd.webp") center/84% no-repeat;
  border-radius: 50%; border: none; clip-path: none;
  box-shadow: 0 0 0 1px rgba(165,145,109,0.4);
}
body.doha .top .brand .selo::before,
body.doha footer .brand-foot .selo::before {
  content: none;
}

body.doha footer { background: var(--navy-deep); }
body.doha footer .brand-foot small { color: var(--champagne); }

/* ============================================================
   PLANTAS (switcher padrão dos verticais): as páginas do caderno já vêm
   com fundo #ECEDED (o off-white do book) = o MESMO --bg da seção; o palco
   acompanha o fundo do raster (padrão 04/07), com moldura fina.
   ============================================================ */
body.doha .plantas-stage,
body.doha .plantas-stage img { background: var(--bg); }
body.doha .plantas-stage { border: 1px solid var(--line); }
body.doha .plantas-info .pi-fam { color: var(--champagne-deep); }

/* localização sem mapa estático no material: o embed interativo ocupa a coluna,
   com moldura sutil enquanto o iframe não é carregado */
body.doha .loc-grid .map-embed {
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(236, 237, 237, 0.18);
  border-radius: 14px;
}
body.doha .loc-grid .map-embed iframe { height: 100%; min-height: 320px; border-radius: 13px; }

/* contato: rooftop ao anoitecer (render I015) */
body.doha .contato .bg {
  background: url("assets/rooftop.webp") center 55%/cover no-repeat;
  transform: scale(1.04);
}

/* CD-CONTATO-BG:start , gerado por scripts/build_contato_bg.py, nao edite a mao */
@media (max-width: 480px) and (max-resolution: 1.99dppx) { body.doha .contato .bg { background-image: url("assets/rooftop-480.webp"); } }
@media (max-width: 480px) and (min-resolution: 2dppx) { body.doha .contato .bg { background-image: url("assets/rooftop-960.webp"); } }
@media (min-width: 481px) and (max-width: 760px) { body.doha .contato .bg { background-image: url("assets/rooftop-960.webp"); } }
/* CD-CONTATO-BG:end */
