:root {
  --dom-forest: #0b140f;
  --dom-forest-card: #122119;
  --dom-bronze: #c49e72;
  --dom-bronze-light: #dfb78c;
  --dom-bronze-dark: #8c6b45;
  --dom-sand: #f8f6f0;
  --dom-mineral: #f8f6f0;
  --dom-muted: #8e9a92;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   DOBRA DA TORRE MONUMENTAL — COREOGRAFIA STILLFORM / PINNED STAGE
   DOM PARQUE BARUERI (134M DE ALTURA · 44 PAVIMENTOS)
   ========================================================================== */

    /* ==========================================================================
       STILLFORM 2ª DOBRA: SECTION PRINCIPAL ADAPTADA
       ========================================================================== */
    #o-empreendimento, #about {
      position: relative;
      z-index: 20;
      overflow-x: clip;
      overflow-y: visible;
      background-color: var(--dom-forest);
      color: var(--dom-sand);
      isolation: isolate;
    }

    /* 1. Camada de Fumaça / Nuvens de Entrada (Sobe da Dobra 5) */
    .about-clouds-wrapper {
      position: absolute;
      left: 0;
      top: -55vh;
      width: 100%;
      height: 140vh;
      pointer-events: none;
      z-index: 35;
      overflow: hidden;
    }

    .about-cloud {
      position: absolute;
      left: 0;
      width: 100%;
      min-width: 1100px;
      height: auto;
      max-width: none;
      pointer-events: none;
      opacity: 0;
      will-change: transform, opacity;
    }

    .about-cloud-1 {
      top: 15%;
    }

    .about-cloud-2 {
      top: 5%;
    }

    .about-bg-mask {
      position: absolute;
      inset: 0;
      top: -45vh;
      z-index: 34;
      pointer-events: none;
      background-color: var(--dom-forest);
      opacity: 0;
      -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 15%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.9) 45%, #000 60%);
      mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 15%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.9) 45%, #000 60%);
      will-change: opacity;
    }

    /* 2. Palco Pinned (Stage) */
    .about-stage {
      position: relative;
      z-index: 40;
      height: 100vh;
      height: 100svh;
      width: 100%;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Brilhos Cênicos Sutis */
    .stage-ambient-glow-1 {
      position: absolute;
      width: 800px;
      height: 800px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(20, 35, 27, 0.7) 0%, rgba(11, 20, 15, 0) 70%);
      filter: blur(140px);
      top: 10%;
      left: 5%;
      pointer-events: none;
      z-index: 1;
    }

    .stage-ambient-glow-2 {
      position: absolute;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(196, 158, 114, 0.16) 0%, rgba(11, 20, 15, 0) 70%);
      filter: blur(150px);
      bottom: 5%;
      right: 10%;
      pointer-events: none;
      z-index: 1;
    }

    /* SLOTS DE COORDENADAS REAIS COM PROPORÇÃO 16:9 PERFEITA (ZERO BORDAS PRETAS) */
    @media (min-width: 1024px) {
      .about-slot-center {
        position: absolute;
        left: 27%;
        top: 24%;
        width: 46%;
        height: calc(46vw * 9 / 16);
        max-height: 44vh;
        pointer-events: none;
        visibility: hidden;
      }
      .about-slot-maximized {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: min(92vw, calc(84vh * 16 / 9));
        height: min(84vh, calc(92vw * 9 / 16));
        pointer-events: none;
        visibility: hidden;
      }
    }

    /* ==========================================================================
       GALERIA DE TILES AO REDOR (StillForm about-gallery)
       ========================================================================== */
    .about-gallery {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 42;
    }

    .about-gallery-title {
      font-size: clamp(1.1rem, 2.2vw, 1.8rem);
      font-weight: 400;
      letter-spacing: -0.02em;
      color: #f8f6f0 !important;
      text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
      margin-bottom: 24px;
      line-height: 1.25;
      text-align: center;
      opacity: 0;
      will-change: transform, opacity;
    }

    .about-gallery-title em {
      font-style: italic;
      color: var(--dom-bronze);
    }

    @media (min-width: 1024px) {
      .about-gallery-title {
        left: 27%;
        top: 78px;
        width: 23%;
        text-align: left;
        font-size: clamp(1.35rem, 1.7vw, 2.1rem);
        line-height: 1.12;
        padding: 0;
      }
    }

    /* Os 6 Tiles Angulados Idênticos ao StillForm */
    .about-tile {
      position: absolute;
      overflow: hidden;
      border-radius: 14px;
      border: 1px solid rgba(196, 158, 114, 0.25);
      background: #080f0b;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
      opacity: 0;
      transition: border-color 0.4s ease, box-shadow 0.4s ease;
      pointer-events: auto;
      cursor: pointer;
      will-change: transform, opacity;
    }

    .about-tile:hover {
      border-color: var(--dom-bronze);
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(196, 158, 114, 0.3);
      z-index: 60 !important;
    }

    .about-tile img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    @media (min-width: 1024px) {
      .tile-1 { left: -1%; top: 14%; height: 40%; width: 24%; rotate: -4deg; }
      .tile-2 { left: 2%; top: 62%; height: 24%; width: 20%; rotate: 3deg; }
      .tile-3 { left: 25%; top: 72%; height: 24%; width: 21%; rotate: -2deg; }
      .tile-4 { left: 52%; top: 2%; height: 20%; width: 18%; rotate: -5deg; }
      .tile-5 { left: 75%; top: 14%; height: 28%; width: 25%; rotate: 7deg; }
      .tile-6 { left: 75%; top: 54%; height: 38%; width: 24%; rotate: -4deg; }
    }

    @media (max-width: 1023px) {
      .about-tile {
        display: none !important;
      }
    }

    /* ==========================================================================
       CARD PRINCIPAL DA TORRE (about-box) — PREENCHIMENTO TOTAL SEM BORDAS PRETAS
       ========================================================================== */
    .about-box {
      position: absolute;
      z-index: 50;
      overflow: hidden;
      border-radius: 20px;
      border: 1px solid rgba(196, 158, 114, 0.4);
      background: transparent;
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(196, 158, 114, 0.15);
      cursor: pointer;
      opacity: 0;
      will-change: left, top, width, height, border-radius, transform, opacity;
    }

    .about-slides-wrap {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    /* AQUI ESTÁ A CORREÇÃO CRÍTICA: object-fit: cover preenche 100% da caixa sem bordas pretas */
    .about-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      display: block;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
    }

    .about-slide.active {
      opacity: 1;
      z-index: 2;
    }

    .about-box-vignette {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 3;
      border-radius: inherit;
      box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
    }

    /* Selo Flutuante sobre a Torre */
    .about-tower-badge {
      position: absolute;
      top: 16px;
      left: 16px;
      z-index: 10;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(11, 20, 15, 0.85);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(196, 158, 114, 0.4);
      padding: 6px 14px;
      border-radius: 30px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--dom-sand);
      transition: opacity 0.3s ease;
    }

    .gold-dot-pulse {
      width: 6px;
      height: 6px;
      background: var(--dom-bronze);
      border-radius: 50%;
      box-shadow: 0 0 6px var(--dom-bronze);
      animation: pulseGlow 1.8s infinite;
    }

    @keyframes pulseGlow {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.3); opacity: 0.5; }
    }

    .about-tower-stat {
      position: absolute;
      bottom: 16px;
      right: 16px;
      z-index: 10;
      background: rgba(11, 20, 15, 0.88);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(196, 158, 114, 0.3);
      border-radius: 10px;
      padding: 8px 14px;
      text-align: right;
      transition: opacity 0.3s ease;
    }

    .about-tower-stat .stat-num {
      font-family: var(--font-serif);
      font-size: 1.5rem;
      color: var(--dom-bronze);
      line-height: 1;
      display: block;
    }

    .about-tower-stat .stat-lbl {
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--dom-muted);
    }

    .about-arrows {
      position: absolute;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 15;
      display: flex;
      gap: 10px;
      transition: opacity 0.3s ease;
    }

    .about-arrow-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(11, 20, 15, 0.85);
      border: 1px solid rgba(196, 158, 114, 0.4);
      color: var(--dom-sand);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.25s ease;
    }

    .about-arrow-btn:hover {
      background: var(--dom-bronze);
      color: #0b140f;
      transform: scale(1.08);
    }

    /* ==========================================================================
       3. CAMADA DE TEXTO EDITORIAL STILLFORM FIEL COM CARD INLINE & 61 UNIDADES
       ========================================================================== */
    .about-text-layer {
      position: absolute;
      inset: 0;
      z-index: 46;
      display: flex;
      align-items: center;
      padding: 0 6vw;
      pointer-events: none;
      opacity: 0;
    }

    .about-grid-wrap {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 20px;
      pointer-events: auto;
    }

    .about-col-label {
      grid-column: span 12;
    }

    @media (min-width: 1024px) {
      .about-col-label {
        grid-column: span 2;
      }
    }

    .about-label-badge {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--dom-bronze);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .about-col-content {
      grid-column: span 12;
    }

    @media (min-width: 1024px) {
      .about-col-content {
        grid-column: span 10;
      }
    }

    /* GRANDE FRASE EDITORIAL (Idêntica ao StillForm com Slot Inline) */
    .about-statement {
      font-family: var(--font-sans);
      font-size: clamp(1.8rem, 4.4vw, 4.2rem);
      line-height: 1.0;
      letter-spacing: -0.04em;
      color: #f8f6f0 !important;
      margin-bottom: 24px;
    }

    /* O SLOT ONDE A TORRE ENTRA COMO MINIATURA INLINE */
    .about-slot-inline {
      display: inline-block;
      width: 1.65em;
      height: 0.85em;
      margin-bottom: 0.08em;
      margin-right: 0.22em;
      vertical-align: bottom;
      pointer-events: none;
      visibility: hidden;
      border-radius: 6px;
    }

    .word-mask {
      display: inline-block;
      overflow: hidden;
      vertical-align: bottom;
      padding-top: 0.12em;
      padding-bottom: 0.16em;
      margin-right: 0.22em;
    }

    .about-word { color: #f8f6f0 !important; display: inline-block; }

    /* RÉGUA DIVISÓRIA (StillForm about-rule) */
    .about-rule {
      height: 1px;
      width: 100%;
      background: linear-gradient(90deg, var(--dom-bronze) 0%, rgba(196, 158, 114, 0.2) 100%);
      margin-bottom: 28px;
      transform: scaleX(0);
      transform-origin: left center;
    }

    /* ÁREA DA OFERTA FORTE EMOCIONAL — 61 UNIDADES RESTANTES */
    .about-offer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 32px;
      flex-wrap: wrap;
      opacity: 0;
      transform: translateY(20px);
    }

    .offer-copy-side {
      max-width: 560px;
    }

    .offer-badge-scarcity {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(196, 158, 114, 0.18);
      border: 1px solid var(--dom-bronze);
      color: var(--dom-bronze-light);
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .scarcity-ping {
      width: 7px;
      height: 7px;
      background: #e6a254;
      border-radius: 50%;
      box-shadow: 0 0 8px #e6a254;
      animation: pulseGlow 1.4s infinite;
    }

    .offer-desc {
      font-size: clamp(0.85rem, 1.1vw, 1rem);
      line-height: 1.5;
      color: rgba(248, 246, 240, 0.85);
    }

    .offer-desc strong {
      color: var(--dom-sand);
      font-weight: 700;
    }

    /* Botões de Conversão */
    .offer-action-side {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }

    .btn-cta-main {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: linear-gradient(135deg, #c49e72 0%, #dfb78c 50%, #b88d5e 100%);
      color: #0b140f;
      font-weight: 800;
      font-size: 0.88rem;
      padding: 14px 26px;
      border-radius: 30px;
      text-decoration: none;
      cursor: pointer;
      border: none;
      box-shadow: 0 10px 25px rgba(196, 158, 114, 0.35);
      transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .btn-cta-main::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
      transform: rotate(25deg);
      animation: shineLoop 4s infinite ease-in-out;
    }

    @keyframes shineLoop {
      0% { transform: translateX(-100%) rotate(25deg); }
      20%, 100% { transform: translateX(100%) rotate(25deg); }
    }

    .btn-cta-main:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 30px rgba(196, 158, 114, 0.5);
    }

    .btn-cta-sec {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: 1px solid var(--dom-bronze);
      color: var(--dom-bronze);
      font-size: 0.85rem;
      font-weight: 600;
      padding: 13px 22px;
      border-radius: 30px;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .btn-cta-sec:hover {
      background: var(--dom-bronze);
      color: #0b140f;
    }

    /* ==========================================================================
       MOBILE & TABLET VERTICAL (<= 1023px) — FLUXO NATURAL, IMERSIVO E SEM TRAVAS
       ========================================================================== */
    @media (max-width: 1023px) {
      .stillform-tower-section {
        padding: 48px 0 40px !important;
        min-height: auto !important;
        height: auto !important;
        background-color: var(--dom-forest) !important;
        overflow: visible !important;
        position: relative !important;
      }

      /* Nuvens e Fumaça contidas dentro da dobra, sem invadir ou escurecer Dobra 5 */
      .about-clouds-wrapper {
        top: -8vh !important;
        height: 30vh !important;
        max-width: 100vw !important;
        pointer-events: none !important;
        overflow: hidden !important;
      }

      .about-cloud {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        pointer-events: none !important;
      }

      .about-bg-mask {
        top: -5vh !important;
        pointer-events: none !important;
      }

      /* Palco destravado (sem pin / sem 100svh overflow-hidden) para rolagem natural */
      .about-stage {
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 16px !important;
        position: relative !important;
        overflow: visible !important;
      }

      /* Título da Galeria */
      .about-gallery {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
      }

      .about-gallery-title {
        opacity: 1 !important;
        transform: none !important;
        text-align: center !important;
        font-size: clamp(1.45rem, 5.8vw, 1.85rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
        color: var(--dom-sand) !important;
      }

      /* Tiles ao redor ocultados no mobile para focar 100% na torre monumental */
      .about-tile {
        display: none !important;
      }

      /* Card da Torre com proporção vertical imponente (440px de altura) */
      .about-box {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 358px !important;
        height: 440px !important;
        border-radius: 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(196, 158, 114, 0.18) !important;
        margin: 0 auto 32px !important;
        overflow: hidden !important;
      }

      .about-tower-badge,
      .about-tower-stat,
      .about-arrows {
        opacity: 1 !important;
        visibility: visible !important;
      }

      /* Camada Editorial de Texto e Oferta */
      .about-text-layer {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
      }

      .about-grid-wrap {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
      }

      .about-col-label {
        margin-bottom: -4px !important;
      }

      .about-col-content {
        width: 100% !important;
      }

      .about-statement {
        font-size: clamp(1.45rem, 5.8vw, 1.85rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        color: var(--dom-sand) !important;
      }

      .word-mask {
        display: inline !important;
        overflow: visible !important;
      }

      .about-word {
        transform: none !important;
        opacity: 1 !important;
        color: var(--dom-sand) !important;
      }

      /* Thumbnail Inline Stillform com miniatura da torre */
      .about-slot-inline {
        width: 36px !important;
        height: 22px !important;
        border-radius: 4px !important;
        display: inline-block !important;
        background-image: url('../assets/dom-fachada-completa.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        border: 1px solid rgba(196, 158, 114, 0.5) !important;
        visibility: visible !important;
        vertical-align: middle !important;
        margin-right: 6px !important;
        margin-bottom: 4px !important;
      }

      .about-rule {
        transform: scaleX(1) !important;
        margin-bottom: 24px !important;
        height: 1px !important;
        background: rgba(196, 158, 114, 0.3) !important;
      }

      /* Oferta Forte Emocional 61 Unidades */
      .about-offer-bottom {
        opacity: 1 !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
      }

      .offer-copy-side {
        max-width: 100% !important;
      }

      .offer-badge-scarcity {
        font-size: 0.72rem !important;
        padding: 6px 12px !important;
        margin-bottom: 12px !important;
      }

      .offer-desc {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
      }

      .offer-action-side {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
      }

      .btn-cta-main,
      .btn-cta-sec {
        width: 100% !important;
        justify-content: center !important;
        padding: 16px 22px !important;
        font-size: 0.9rem !important;
        border-radius: 999px !important;
      }
    }

    /* Modal de Zoom ao Clicar na Torre */
    .image-zoom-modal {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: rgba(6, 10, 8, 0.94);
      backdrop-filter: blur(16px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .image-zoom-modal.active {
      opacity: 1;
      pointer-events: auto;
    }

    .zoom-modal-img {
      max-width: 95vw;
      max-height: 90vh;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
      border: 1px solid rgba(196, 158, 114, 0.3);
    }

    .zoom-close-btn {
      position: absolute;
      top: 24px;
      right: 28px;
      background: rgba(11, 20, 15, 0.85);
      border: 1px solid var(--dom-bronze);
      color: var(--dom-sand);
      padding: 8px 16px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 0.8rem;
    }

