/* ==========================================================================
   BLUE INC — PÁGINAS INTERNAS DE EMPREENDIMENTOS
   --------------------------------------------------------------------------
   Arquivo único compartilhado por todas as páginas geradas. Alterações de
   identidade, espaçamento, tipografia ou responsividade devem ser feitas aqui
   para refletirem em todo o portfólio.
   ========================================================================== */

:root{
  --navy:#2e3191;
  --navy-dark:#171849;
  --navy-deep:#0c102f;
  --cyan:#39c1d7;
  --cyan-light:#86e2ef;
  --paper:#f5f6fb;
  --white:#fff;
  --ink:#191b35;
  --muted:#626680;
  --line:#e4e6f1;
  --green:#12a45e;
  --blue:#56cbe0;
  --purple:#655bb6;
  --wrap:1240px;
  --header-h:70px;
  --ease:cubic-bezier(.22,1,.36,1);
  --shadow:0 28px 70px -34px rgba(23,24,73,.34);
  --texture-triangles:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%232E3191' stroke-opacity='.055' stroke-width='1'%3E%3Cpath d='M0 104 60 0l60 104z'/%3E%3Cpath d='M-60 104 0 0l60 104z'/%3E%3Cpath d='M60 104 120 0l60 104z'/%3E%3C/g%3E%3C/svg%3E");
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 64px)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:"Nunito Sans",system-ui,sans-serif;
  font-size:17px;line-height:1.65;overflow-x:hidden;
}
body.is-locked{overflow:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-weight:600;line-height:1.05;letter-spacing:-.035em}
p{font-weight:300}
.reg{font-size:.52em;vertical-align:super;line-height:0;font-weight:700;margin-left:.04em}
.project-wrap{width:min(calc(100% - 2.6rem),var(--wrap));margin-inline:auto}
.project-skip{position:fixed;left:-999px;top:.6rem;z-index:200;background:#fff;color:var(--navy);padding:.75rem 1rem}
.project-skip:focus{left:.6rem}
.project-eyebrow{
  display:flex;align-items:center;gap:.7rem;margin:0 0 .9rem;
  color:var(--navy);font-size:.73rem;font-weight:800;
  letter-spacing:.18em;text-transform:uppercase;
}
.project-eyebrow::before{content:"";width:27px;height:2px;background:currentColor}
.project-eyebrow--light{color:var(--cyan-light)}
.project-title{
  margin:0;font-size:clamp(2.2rem,5vw,4.6rem);
  background:linear-gradient(105deg,var(--navy-dark),var(--navy) 55%,#219fb4);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.project-section{padding:clamp(5rem,9vw,8rem) 0;position:relative}
.project-section--paper{background:var(--paper)}
.project-section--dark{background:#22246b;color:#fff;overflow:hidden;isolation:isolate}
.project-section--dark>.project-wrap{position:relative;z-index:1}
.project-section--texture{background:#fff;isolation:isolate}
.project-section--texture::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:var(--texture-triangles);background-size:190px 165px;
  -webkit-mask-image:radial-gradient(120% 90% at 12% 0%,#000 0%,transparent 68%);
  mask-image:radial-gradient(120% 90% at 12% 0%,#000 0%,transparent 68%)
}
.project-section--texture>.project-wrap{position:relative;z-index:1}
.project-section--soft-split{
  --soft-split-cut:clamp(36px,5vw,72px);
  padding-top:calc(clamp(5rem,9vw,8rem) + var(--soft-split-cut));
  background:#fff;overflow:hidden;isolation:isolate
}
.project-section--soft-split::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(120deg,#f5f6fb 0%,#eef1f8 100%);
  clip-path:polygon(0 var(--soft-split-cut),100% 0,100% 100%,0 100%)
}
.project-section--soft-split>.project-wrap{position:relative;z-index:1}

/* Transições diagonais compartilhadas, inspiradas nas camadas móveis da home. */
.project-section.project-section--diagonal{
  --diagonal-cut:clamp(30px,5vw,74px);
  margin-top:calc(-1 * var(--diagonal-cut));
  padding-top:calc(clamp(5rem,9vw,8rem) + var(--diagonal-cut));
  background:transparent;overflow:hidden;isolation:isolate
}
.project-section--diagonal>.project-wrap{position:relative;z-index:3}
.project-diagonal{position:absolute;inset:0;pointer-events:none}
.project-diagonal--accent{
  --diagonal-y:42px;--diagonal-scale:.94;
  z-index:0;background:linear-gradient(100deg,#219fb4,var(--cyan) 66%,var(--cyan-light));
  clip-path:polygon(0 calc(var(--diagonal-cut) - 14px),100% 0,100% 100%,0 100%);
  transform:translate3d(0,var(--diagonal-y),0) scaleY(var(--diagonal-scale));
  transform-origin:50% 100%;will-change:transform;transition:transform .12s linear
}
.project-diagonal--accent-soft{background:linear-gradient(100deg,#d9dceb,#e9ebf4 68%,#f1f2f8)}
.project-diagonal--surface{
  z-index:1;clip-path:polygon(0 var(--diagonal-cut),100% 0,100% 100%,0 100%)
}
.project-diagonal--surface-differentials{
  background:linear-gradient(120deg,var(--navy-dark) 0%,#22246b 58%,var(--navy) 100%)
}
.project-diagonal--surface-paper{background:var(--paper)}
.project-diagonal--surface-progress{
  background:
    linear-gradient(rgba(34,36,107,.22),rgba(34,36,107,.22)),
    url("../img/bg-poly-azul.svg") center/cover no-repeat
}
@media(prefers-reduced-motion:reduce){
  .project-diagonal--accent{--diagonal-y:0px;--diagonal-scale:1;transition:none}
}

/* Cabeçalho flutuante: transparente no hero e branco após a rolagem. */
.project-header{
  position:fixed;inset:0 0 auto;z-index:80;height:var(--header-h);
  color:#fff;transition:background .35s var(--ease),box-shadow .35s var(--ease),color .35s var(--ease);
}
.project-header.is-scrolled{
  color:var(--navy-dark);background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  backdrop-filter:blur(18px) saturate(150%);
  box-shadow:0 12px 36px -25px rgba(23,24,73,.55);
}
.project-header__in{height:100%;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.project-brand{position:relative;width:150px;height:47px;flex:none}
.project-brand img{position:absolute;inset:0;width:150px;height:auto;transition:opacity .3s var(--ease)}
.project-brand__color{opacity:0}
.project-header.is-scrolled .project-brand__white{opacity:0}
.project-header.is-scrolled .project-brand__color{opacity:1}
.project-menu{display:flex;align-items:center;gap:1.45rem}
.project-menu a{padding:.42rem 0;font-size:.76rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;position:relative}
.project-menu a::after{
  content:"";position:absolute;left:0;bottom:-.4rem;width:100%;height:2px;background:var(--cyan);
  transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease);
}
.project-menu a:hover::after,.project-menu a:focus-visible::after{transform:scaleX(1)}
.project-menu .project-sales{
  display:inline-flex;align-items:center;justify-content:center;gap:.58rem;
  min-height:40px;padding:.56rem 1.15rem;color:#fff;background:var(--navy);
  font-size:.84rem;font-weight:700;letter-spacing:0;text-transform:none;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%);
  transition:background .3s var(--ease),transform .3s var(--ease),box-shadow .3s var(--ease)
}
.project-menu .project-sales::after{display:none}
.project-menu .project-sales:hover,.project-menu .project-sales:focus-visible{
  color:#fff;background:var(--navy-dark);transform:translateY(-2px);
  box-shadow:0 12px 24px -13px rgba(23,24,73,.75)
}
.project-menu .project-sales:focus-visible{outline:3px solid rgba(127,218,232,.7);outline-offset:3px}
.project-sales__icon{position:relative;width:20px;height:17px;flex:none}
.project-sales__icon::before,.project-sales__icon::after{
  content:"";position:absolute;clip-path:polygon(0 0,100% 50%,0 100%);
  transition:transform .38s var(--ease),background .3s var(--ease)
}
.project-sales__icon::before{left:0;top:4px;width:13px;height:13px;background:#fff}
.project-sales__icon::after{right:0;top:0;width:12px;height:12px;background:var(--cyan)}
.project-sales:hover .project-sales__icon::before,.project-sales:focus-visible .project-sales__icon::before{transform:translateX(4px)}
.project-sales:hover .project-sales__icon::after,.project-sales:focus-visible .project-sales__icon::after{transform:translate(3px,-2px) rotate(5deg)}
.project-burger{display:none;border:0;background:transparent;color:currentColor;padding:.7rem;cursor:pointer}
.project-burger span{display:block;width:25px;height:2px;background:currentColor;margin:5px;transition:.3s var(--ease)}

/* Hero: fotografia real do projeto com painel editorial e indicadores. */
.project-hero{
  min-height:max(720px,92svh);position:relative;display:flex;align-items:flex-end;
  color:#fff;background:var(--navy-deep);isolation:isolate;overflow:hidden;
}
.project-hero__media,.project-hero__media img,.project-hero__veil{position:absolute;inset:0}
.project-hero__media{z-index:-3}
.project-hero__media img{width:100%;height:100%;object-fit:cover;transform:scale(1.015)}
.project-hero__veil{
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(8,12,43,.94) 0%,rgba(14,20,67,.78) 38%,rgba(14,20,67,.22) 72%,rgba(8,12,43,.28) 100%),
    linear-gradient(0deg,rgba(8,12,43,.92) 0%,transparent 48%);
}
.project-hero::before,.project-hero::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  background:linear-gradient(135deg,var(--cyan),#253dc7);
  clip-path:polygon(50% 0,100% 100%,0 100%);
}
.project-hero::before{width:210px;height:190px;right:-60px;top:11%;opacity:.9;transform:rotate(28deg)}
.project-hero::after{width:110px;height:100px;left:4%;bottom:24%;opacity:.16;transform:rotate(-16deg)}
.project-hero__content{padding:calc(var(--header-h) + 5rem) 0 2.5rem}
.project-breadcrumb{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:0 0 2rem;font-size:.76rem;color:rgba(255,255,255,.65)}
.project-breadcrumb a:hover{color:#fff}
.project-breadcrumb i{font-style:normal;color:var(--cyan)}
.project-phase{
  --phase-color:var(--blue);--phase-glow:rgba(86,203,224,.5);
  display:inline-flex;align-items:center;gap:.55rem;margin-bottom:1.15rem;padding:.5rem .75rem;
  border:1px solid rgba(255,255,255,.2);background:rgba(10,14,50,.28);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:var(--phase-color);font-size:.7rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;
  animation:projectPhaseBreathe 3.2s ease-in-out infinite
}
.project-phase::before{
  content:"";width:8px;height:8px;border-radius:50%;background:currentColor;
  box-shadow:0 0 0 5px color-mix(in srgb,var(--phase-color) 18%,transparent),0 0 13px var(--phase-glow)
}
.project-phase--comercializacao{--phase-color:#4cdf93;--phase-glow:rgba(76,223,147,.52)}
.project-phase--breve{--phase-color:var(--cyan);--phase-glow:rgba(57,193,215,.52)}
.project-phase--obras{--phase-color:var(--blue);--phase-glow:rgba(86,203,224,.52)}
.project-phase--entregue{--phase-color:#aaa7ff;--phase-glow:rgba(170,167,255,.5)}
@keyframes projectPhaseBreathe{
  0%,100%{opacity:.58;filter:brightness(.86);text-shadow:0 0 0 transparent}
  50%{opacity:1;filter:brightness(1.16);text-shadow:0 0 12px var(--phase-glow)}
}
@media(prefers-reduced-motion:reduce){.project-phase{animation:none}}
.project-hero h1{font-size:clamp(3.5rem,8.5vw,8rem);max-width:10ch;margin:0 0 .8rem;font-weight:500;line-height:.87;letter-spacing:-.065em}
.project-hero__tagline{max-width:29ch;margin:0 0 1.7rem;font-size:clamp(1.05rem,2vw,1.35rem);color:rgba(255,255,255,.82)}
.project-hero__meta{display:flex;flex-wrap:wrap;gap:1.25rem 2rem;font-weight:700;font-size:.86rem}
.project-hero__meta span{display:flex;align-items:center;gap:.55rem}
.project-hero__meta span::before{content:"";width:9px;height:10px;background:var(--cyan);clip-path:polygon(50% 0,100% 100%,0 100%)}
.project-kpis{
  margin-top:clamp(3rem,8vh,6rem);display:grid;grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(255,255,255,.16);border-left:1px solid rgba(255,255,255,.16);
  background:rgba(12,18,28,.12);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
}
.project-kpi{min-height:112px;padding:1.35rem;border-right:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16)}
.project-kpi b{display:block;font-size:clamp(1.35rem,2.2vw,2rem);font-weight:500;line-height:1.08}
.project-kpi span{display:block;margin-top:.35rem;color:rgba(255,255,255,.56);font-size:.74rem;text-transform:uppercase;letter-spacing:.08em}

/* Navegação local fixa entre as seções da página. */
.project-localnav{
  position:sticky;top:var(--header-h);z-index:50;background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.project-localnav__in{display:flex;align-items:center;gap:2rem;min-height:62px;overflow:auto;scrollbar-width:none}
.project-localnav__in::-webkit-scrollbar{display:none}
.project-localnav a{
  position:relative;display:inline-flex;align-items:center;gap:.55rem;min-height:62px;
  font-size:.72rem;font-weight:800;white-space:nowrap;color:var(--muted);letter-spacing:.09em;text-transform:uppercase
}
.project-localnav a+a::before{
  content:"";position:absolute;left:-1rem;top:50%;width:1px;height:20px;
  background:linear-gradient(180deg,transparent,var(--cyan),transparent);transform:translateY(-50%)
}
.project-localnav__icon{
  width:19px;height:19px;flex:none;fill:none;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .3s var(--ease)
}
.project-localnav__icon-main{stroke:currentColor}
.project-localnav__icon-accent{stroke:var(--cyan)}
.project-localnav a:hover,.project-localnav a.is-active{color:var(--navy)}
.project-localnav a:hover .project-localnav__icon{transform:translateY(-2px)}
.project-localnav a.is-active{box-shadow:0 2px var(--cyan);padding-block:1.25rem}

/* Apresentação e painel lateral de dados. */
.project-overview{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:clamp(3rem,7vw,7rem);align-items:start}
.project-copy{font-size:clamp(1.02rem,1.5vw,1.18rem);color:var(--muted)}
.project-title+.project-copy{margin-top:clamp(1.5rem,2.4vw,2.2rem)}
.project-copy p{margin:0 0 1.25rem}
.project-copy strong{color:var(--ink);font-weight:700}
.project-facts{position:relative;padding:2rem;background:var(--navy-deep);color:#fff;box-shadow:var(--shadow);overflow:hidden}
.project-facts::after{
  content:"";position:absolute;width:150px;height:140px;right:-45px;bottom:-35px;
  background:linear-gradient(135deg,var(--cyan),#3240cf);clip-path:polygon(50% 0,100% 100%,0 100%);opacity:.22;
}
.project-facts h3{font-size:1.25rem;margin:0 0 1.5rem}
.project-facts dl{margin:0;position:relative;z-index:1}
.project-facts div{display:grid;grid-template-columns:1fr auto;gap:1rem;padding:.95rem 0;border-top:1px solid rgba(255,255,255,.12)}
.project-facts dt{color:rgba(255,255,255,.58);font-size:.8rem}
.project-facts dd{margin:0;text-align:right;font-size:.85rem;font-weight:700}
/* Botões compartilhados nas páginas internas. */
.project-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:50px;padding:.85rem 1.35rem;
  border:0;background:var(--navy);color:#fff;font-weight:800;font-size:.86rem;cursor:pointer;
  clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%);
  transition:transform .3s var(--ease),background .3s var(--ease);
}
.project-btn:hover{transform:translateY(-3px);background:var(--navy-dark)}

/* Diferenciais reais: exibidos somente nos projetos que possuíam esta seção. */
.project-section--differentials{background:#354b68;color:#fff}
.project-differentials__head{text-align:center;margin-bottom:clamp(3rem,7vw,5.5rem)}
.project-differentials__head .project-eyebrow{justify-content:center;color:#e4c483}
.project-differentials__head h2{
  max-width:18ch;margin:0 auto;color:#fff;
  font-size:clamp(2.5rem,5vw,5rem);font-weight:400;letter-spacing:-.045em
}
.project-differentials-carousel{position:relative}
.project-differentials__nav{display:flex;justify-content:flex-end;gap:.7rem;margin:0 0 1.4rem}
.project-differentials__button{
  position:relative;width:52px;height:52px;padding:0;border:0;background:transparent;cursor:pointer;
  transition:transform .25s var(--ease),opacity .25s var(--ease)
}
.project-differentials__button::before{
  content:"";position:absolute;inset:0;background:#9da3b1;
  filter:drop-shadow(0 10px 12px rgba(8,15,30,.24));
  transition:background .3s var(--ease)
}
.project-differentials__button--prev::before{clip-path:polygon(100% 0,100% 100%,0 50%)}
.project-differentials__button--next::before{clip-path:polygon(0 0,0 100%,100% 50%)}
.project-differentials__button--next:not(:disabled)::before{background:var(--cyan)}
.project-differentials__button:hover:not(:disabled){transform:scale(1.08)}
.project-differentials__button:hover:not(:disabled)::before{background:var(--cyan-light)}
.project-differentials__button:focus-visible{outline:2px solid var(--cyan-light);outline-offset:5px}
.project-differentials__button:disabled{opacity:.25;cursor:default}
.project-differentials{
  display:flex;gap:clamp(1rem,2vw,1.6rem);overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  margin-right:calc(50% - 50vw);padding:8px max(1.3rem,calc((100vw - var(--wrap))/2)) 2.2rem 4px;
  scrollbar-width:none;overscroll-behavior-inline:contain
}
.project-differentials::-webkit-scrollbar{display:none}
.project-differentials:focus-visible{outline:2px solid rgba(134,226,239,.7);outline-offset:6px}
.project-differential{
  flex:0 0 clamp(190px,19vw,250px);min-height:250px;padding:2.2rem 1.3rem;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  scroll-snap-align:start;text-align:center;background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.1);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%);
  transition:transform .35s var(--ease),background .35s var(--ease),border-color .35s var(--ease)
}
.project-differential:hover{transform:translateY(-6px);background:rgba(255,255,255,.075);border-color:rgba(134,226,239,.34)}
.project-differential__icon{
  width:62px;height:62px;margin:0 auto 1.5rem;
  fill:none;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;
  transition:filter .35s var(--ease)
}
.project-differential__icon g>*{transform-box:fill-box;transform-origin:center}
.project-differential__tone-main{stop-color:#dfe5f1;transition:stop-color .3s var(--ease)}
.project-differential__tone-accent{stop-color:var(--cyan);transition:stop-color .3s var(--ease)}
.project-differential:hover .project-differential__icon{
  filter:drop-shadow(0 7px 9px rgba(57,193,215,.22))
}
.project-differential:hover .project-differential__tone-main{stop-color:#fff}
.project-differential:hover .project-differential__tone-accent{stop-color:var(--cyan-light)}

/* Microanimações sem mover o ícone inteiro: cada desenho reage pelo seu significado. */
.project-differential:hover .project-differential__icon--pool g>path:nth-child(1){animation:projectIconWave 1.15s ease-in-out infinite}
.project-differential:hover .project-differential__icon--pool g>path:nth-child(2){animation:projectIconWave 1.35s ease-in-out infinite reverse}
.project-differential:hover .project-differential__icon--security g>path:last-child,
.project-differential:hover .project-differential__icon--patrol g>path:last-child{animation:projectIconTrace 1.25s ease-in-out infinite}
.project-differential:hover .project-differential__icon--coworking g>path{animation:projectIconScreen 1s ease-in-out infinite alternate}
.project-differential:hover .project-differential__icon--party g>path:first-child{animation:projectIconLiquid 1.1s ease-in-out infinite}
.project-differential:hover .project-differential__icon--sport g>path{animation:projectIconSpin 1.8s linear infinite}
.project-differential:hover .project-differential__icon--users g>circle:first-child,
.project-differential:hover .project-differential__icon--pet g>circle:nth-child(odd){animation:projectIconPulse 1s ease-in-out infinite}
.project-differential:hover .project-differential__icon--users g>circle:nth-child(2),
.project-differential:hover .project-differential__icon--pet g>circle:nth-child(even){animation:projectIconPulse 1s .18s ease-in-out infinite}
.project-differential:hover .project-differential__icon--walking g>path{animation:projectIconWalk .85s ease-in-out infinite alternate}
.project-differential:hover .project-differential__icon--woman g>path{animation:projectIconWalk 1s ease-in-out infinite alternate}
.project-differential:hover .project-differential__icon--gym g>path{animation:projectIconWeight .9s ease-in-out infinite alternate}
.project-differential:hover .project-differential__icon--trees g>path{transform-origin:center bottom;animation:projectIconGrow 1.2s ease-in-out infinite alternate}
.project-differential:hover .project-differential__icon--money g>circle,
.project-differential:hover .project-differential__icon--homeHeart g>path:last-child,
.project-differential:hover .project-differential__icon--location g>circle{animation:projectIconPulse 1s ease-in-out infinite}
.project-differential:hover .project-differential__icon--infrastructure g>rect:nth-child(1){animation:projectIconBlock 1.2s ease-in-out infinite}
.project-differential:hover .project-differential__icon--infrastructure g>rect:nth-child(2){animation:projectIconBlock 1.2s .15s ease-in-out infinite}
.project-differential:hover .project-differential__icon--infrastructure g>rect:nth-child(3){animation:projectIconBlock 1.2s .3s ease-in-out infinite}
.project-differential:hover .project-differential__icon--playground g>path,
.project-differential:hover .project-differential__icon--gourmet g>path,
.project-differential:hover .project-differential__icon--house g>path,
.project-differential:hover .project-differential__icon--default g>path{animation:projectIconTrace 1.45s ease-in-out infinite}

@keyframes projectIconWave{0%,100%{transform:translateX(-.7px)}50%{transform:translateX(.7px)}}
@keyframes projectIconTrace{0%,100%{stroke-dasharray:28 4;stroke-dashoffset:0}50%{stroke-dasharray:20 4;stroke-dashoffset:-8}}
@keyframes projectIconScreen{from{transform:translateY(0)}to{transform:translateY(1px)}}
@keyframes projectIconLiquid{0%,100%{transform:translateY(0) scaleX(1)}50%{transform:translateY(.7px) scaleX(.94)}}
@keyframes projectIconSpin{to{transform:rotate(360deg)}}
@keyframes projectIconPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}
@keyframes projectIconWalk{from{transform:translateX(-.7px)}to{transform:translateX(.9px)}}
@keyframes projectIconWeight{from{transform:scaleX(1)}to{transform:scaleX(1.08)}}
@keyframes projectIconGrow{from{transform:scaleY(1)}to{transform:scaleY(1.06)}}
@keyframes projectIconBlock{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.2px)}}
@media(prefers-reduced-motion:reduce){
  .project-differential:hover .project-differential__icon g>*{animation:none!important;transform:none!important}
}
.project-differential h3{
  max-width:15ch;margin:0 auto;color:#fff;
  font-size:1rem;font-weight:400;line-height:1.55;letter-spacing:0
}

/* Localização: texto editorial e mapa incorporado sem chave de API. */
.project-location{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:0;background:#fff;box-shadow:var(--shadow)}
.project-location__copy{padding:clamp(2rem,5vw,4.5rem)}
.project-location__copy h2{font-size:clamp(2.2rem,4vw,3.8rem);margin:0 0 1.2rem;color:var(--navy)}
.project-location__copy p{color:var(--muted)}
.project-location__address{display:flex;gap:.85rem;align-items:flex-start;margin:2rem 0;font-style:normal;font-weight:700}
.project-location__pin{width:27px;height:33px;flex:none;background:linear-gradient(var(--cyan),var(--navy));clip-path:polygon(50% 0,94% 20%,100% 55%,50% 100%,0 55%,6% 20%)}
.project-map{min-height:520px;position:relative;background:#dfe4ef}
.project-map iframe{border:0;width:100%;height:100%;position:absolute;inset:0;filter:saturate(.72) contrast(1.04)}

/* Planta e galeria usam as imagens oficiais disponíveis. */
.project-plan{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(2rem,6vw,6rem);align-items:center}
.project-plan__copy p{color:var(--muted);max-width:48ch}
.project-plan__image{padding:1rem;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}
.project-plan__image button{position:relative;display:block;width:100%;border:0;padding:0;background:transparent;cursor:zoom-in;overflow:hidden}
.project-plan__image img{width:100%;height:auto;transition:transform .7s var(--ease),filter .7s var(--ease)}
.project-plan__zoom{
  position:absolute;right:1rem;bottom:1rem;width:58px;height:58px;
  background:linear-gradient(135deg,var(--navy) 0 68%,var(--cyan) 68% 100%);
  box-shadow:0 16px 34px -13px rgba(23,24,73,.65);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease)
}
.project-plan__zoom::before{
  content:"";position:absolute;left:17px;top:14px;width:17px;height:17px;
  border:2px solid #fff;border-radius:50%;box-sizing:border-box
}
.project-plan__zoom::after{
  content:"";position:absolute;left:33px;top:31px;width:12px;height:2px;
  background:#fff;border-radius:999px;transform:rotate(45deg);transform-origin:left center
}
.project-plan__image button:hover img{transform:scale(1.025);filter:saturate(1.05)}
.project-plan__image button:hover .project-plan__zoom{transform:scale(1.08) translate(-2px,-2px);box-shadow:0 20px 38px -12px rgba(23,24,73,.78)}
.project-plan__image button:focus-visible{outline:3px solid var(--cyan);outline-offset:5px}
.project-plan__image button:focus-visible .project-plan__zoom{transform:scale(1.08)}
.project-gallery{display:grid;grid-template-columns:1.35fr .8fr .8fr;grid-template-rows:260px 260px;grid-auto-rows:240px;gap:1rem;margin-top:3rem}
.project-gallery__item{border:0;padding:0;cursor:zoom-in;position:relative;overflow:hidden;background:var(--navy-deep)}
.project-gallery__item:first-child{grid-row:1/3}
.project-gallery__item:nth-child(4){grid-column:2/4}
.project-gallery__item:nth-child(n+5){grid-column:auto}
.project-gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease),filter .5s var(--ease)}
.project-gallery__item::after{
  content:"Ampliar";position:absolute;right:1rem;bottom:1rem;padding:.45rem .65rem;
  color:#fff;background:rgba(12,16,47,.7);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;
  opacity:0;transform:translateY(8px);transition:.3s var(--ease);
}
.project-gallery__item:hover img{transform:scale(1.045);filter:saturate(1.08)}
.project-gallery__item:hover::after{opacity:1;transform:none}
.project-gallery--single{grid-template-columns:1fr;grid-template-rows:min(62vw,600px)}
.project-gallery--single .project-gallery__item:first-child{grid-row:auto}
.project-gallery-note{margin:1rem 0 0;color:var(--muted);font-size:.78rem}

/* Acompanhamento visual da fase do empreendimento. */
.project-progress-heading{display:flex;align-items:center;flex-wrap:wrap;gap:1.4rem 2rem}
.project-progress-heading .project-title{
  flex:0 1 auto;
  background:linear-gradient(105deg,#fff,#86e2ef);
  -webkit-background-clip:text;background-clip:text
}
.project-progress-heading__value{
  position:relative;flex:none;width:clamp(112px,10vw,138px);aspect-ratio:1;
  display:grid;place-items:center;color:#fff
}
.project-progress-heading__chart{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.project-progress-heading__chart circle{fill:none;stroke-width:10}
.project-progress-heading__track{stroke:rgba(255,255,255,.16)}
.project-progress-heading__ring{
  stroke:var(--cyan);stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;
  filter:drop-shadow(0 0 6px rgba(86,203,224,.4));
  transition:stroke-dashoffset 1.65s var(--ease)
}
.project-progress-heading.is-visible .project-progress-heading__ring{stroke-dashoffset:calc(100 - var(--progress-value))}
.project-progress-heading__content{position:relative;display:grid;justify-items:center;gap:.2rem}
.project-progress-heading__value b{font-size:clamp(1.55rem,2.5vw,2.15rem);font-weight:500;line-height:1}
.project-progress-heading__value small{
  color:rgba(255,255,255,.55);font-size:.5rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase
}
.project-milestones{
  --milestone-progress:0%;
  position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(5,1fr);
  margin:clamp(3rem,6vw,5rem) 0 0;padding:0;list-style:none
}
.project-milestones::before,.project-milestones::after{
  content:"";position:absolute;z-index:-1;top:24px;left:10%;height:4px
}
.project-milestones::before{right:10%;background:rgba(255,255,255,.12)}
.project-milestones::after{
  width:var(--milestone-progress);
  background:linear-gradient(90deg,#3f54d7,var(--cyan));
  box-shadow:0 0 18px rgba(86,203,224,.3);
  transform:scaleX(0);transform-origin:left;transition:transform 1.2s var(--ease)
}
.project-milestones.is-visible::after{transform:scaleX(1)}
.project-milestone{display:grid;justify-items:center;gap:1.15rem;min-width:0;text-align:center}
.project-milestone__point{
  width:52px;height:52px;border:4px solid rgba(255,255,255,.14);border-radius:50%;
  display:grid;place-items:center;background:var(--navy-deep);
  transition:opacity .4s var(--ease),border-color .4s var(--ease),background .4s var(--ease),box-shadow .4s var(--ease),transform .4s var(--ease)
}
.project-milestone__point i{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.24);transition:background .4s var(--ease)}
.project-milestone.is-complete .project-milestone__point{
  border-color:#4054d0;background:#283682;box-shadow:0 0 0 6px rgba(63,84,215,.08)
}
.project-milestone.is-complete .project-milestone__point i{background:#91e7f1}
.project-milestone.is-current .project-milestone__point{
  border-color:var(--cyan);background:var(--cyan);box-shadow:0 0 0 8px rgba(86,203,224,.13),0 0 28px rgba(86,203,224,.32);
  transform:scale(1.08)
}
.project-milestone.is-current .project-milestone__point i{width:14px;height:14px;background:#fff}
.project-milestone__label{
  max-width:13ch;color:rgba(255,255,255,.38);font-size:.72rem;font-weight:800;
  line-height:1.35;letter-spacing:.11em;text-transform:uppercase
}
/* Rótulo com quebras manuais (<br>): honra só os <br>, sem auto-wrap. */
.project-milestone__label--wrap{max-width:none;white-space:nowrap}
.project-milestone.is-complete .project-milestone__label{color:rgba(255,255,255,.68)}
.project-milestone.is-current .project-milestone__label{color:#fff}
.project-progress-list{display:grid;gap:1.25rem;max-width:920px;margin:clamp(3rem,6vw,5rem) auto 0}
.project-progress-row{display:grid;grid-template-columns:160px 1fr 48px;gap:1rem;align-items:center}
.project-progress-row span{font-size:.85rem;color:rgba(255,255,255,.72)}
.project-progress-row b{text-align:right;font-size:.82rem}
.project-progress-track{height:6px;background:rgba(255,255,255,.1);overflow:hidden}
.project-progress-track i{
  display:block;width:var(--value);height:100%;background:linear-gradient(90deg,var(--navy),var(--cyan));
  transform:scaleX(0);transform-origin:left;
  transition:transform 1.15s var(--ease);transition-delay:calc(.2s + var(--row-index) * .1s)
}
.is-visible .project-progress-track i{transform:scaleX(1)}

/* Atalho flutuante para voltar ao início da página. */
.project-backtop{
  position:fixed;right:1.2rem;bottom:1.2rem;z-index:60;width:46px;height:46px;border:0;
  background:var(--navy);color:#fff;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:.3s var(--ease);
}
.project-backtop.is-visible{opacity:1;visibility:visible;transform:none}

/* Lightbox acessível para galeria e planta. */
.project-lightbox{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:4rem;background:rgba(5,8,29,.94);opacity:0;visibility:hidden;transition:.3s var(--ease)}
.project-lightbox.is-open{opacity:1;visibility:visible}
.project-lightbox img{max-width:min(1200px,90vw);max-height:82vh;object-fit:contain}
.project-lightbox__close,.project-lightbox__nav{
  position:absolute;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.08);color:#fff;cursor:pointer;
}
.project-lightbox__close{right:1.5rem;top:1.5rem;width:48px;height:48px;font-size:1.5rem}
.project-lightbox__nav{top:50%;width:50px;height:62px;transform:translateY(-50%);font-size:1.5rem}
.project-lightbox__prev{left:1.5rem}.project-lightbox__next{right:1.5rem}
.project-lightbox__caption{position:absolute;left:50%;bottom:1.2rem;transform:translateX(-50%);color:rgba(255,255,255,.72);font-size:.8rem;text-align:center}

/* Fade com blur ao rolar; o conteúdo permanece visível sem JavaScript. */
/* Texto: blur-fade esmaecido. */
.js .project-reveal{
  opacity:0;filter:blur(11px);
  will-change:opacity,filter;
  transition:opacity .9s var(--ease) .35s,filter .9s var(--ease) .35s   /* chega depois do título */
}
.js .project-reveal.is-visible{opacity:1;filter:blur(0)}
/* Fotos e cards: sobem, sem esmaecer ("translate" soma com o parallax). */
.js .project-reveal.project-reveal--sobe{
  opacity:1;filter:none;translate:0 90px;will-change:translate;transition:none
}
.reveal-pronto .js .project-reveal.project-reveal--sobe,
.js.reveal-pronto .project-reveal.project-reveal--sobe{transition:translate 1.05s var(--ease) var(--atraso,0s)}
.js .project-reveal.project-reveal--sobe.is-visible{translate:none}
/* H2: sobe de baixo para cima dentro de uma máscara com folga para acentos. */
.rh__mask{display:block;overflow:hidden;padding:.24em .06em .3em;margin:-.24em -.06em -.3em}
.rh__txt{display:block}
.reveal-pronto .rh__txt{transition:transform 1s var(--ease)}
.rh--grad{background:none!important}
.rh--grad .rh__txt{-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.js .rh .rh__txt{transform:translateY(118%)}
.js .rh.is-visible .rh__txt{transform:none}
.js .project-overview>.project-reveal:nth-child(2){transition-delay:.12s}
.js .project-gallery__item:nth-child(2){transition-delay:.07s}
.js .project-gallery__item:nth-child(3){transition-delay:.14s}
.js .project-gallery__item:nth-child(4){transition-delay:.21s}
.js .project-gallery__item:nth-child(5){transition-delay:.28s}
.js .project-milestone__point{opacity:0;transform:scale(.3)}
.js .project-milestones.is-visible .project-milestone__point{
  opacity:1;transform:scale(1);
  transition-delay:calc(.12s + var(--milestone-index) * .16s)
}
.js .project-milestones.is-visible .project-milestone.is-current .project-milestone__point{transform:scale(1.08)}

@media(prefers-reduced-motion:reduce){
  .js .project-reveal,.js .project-reveal.is-visible,.js .rh .rh__txt{
    opacity:1;filter:none;transform:none;translate:none;transition:none
  }
}

@media(max-width:980px){
  .project-menu{display:none;position:absolute;top:var(--header-h);left:1.3rem;right:1.3rem;padding:1.3rem;background:#fff;color:var(--navy-dark);box-shadow:var(--shadow);flex-direction:column;align-items:stretch}
  .project-menu.is-open{display:flex}
  .project-menu .project-sales{align-self:flex-start;margin-top:.3rem}
  .project-burger{display:block}
  .project-hero h1{font-size:clamp(3.6rem,12vw,7rem)}
  .project-kpis{grid-template-columns:repeat(2,1fr)}
  .project-overview,.project-location,.project-plan{grid-template-columns:1fr}
  .project-map{min-height:430px}
  .project-plan__image{order:-1}
}

@media(max-width:700px){
  body{font-size:16px}
  .project-wrap{width:min(calc(100% - 1.6rem),var(--wrap))}
  .project-header{height:62px;--header-h:62px}
  .project-brand{width:130px;height:41px;margin-top:.4rem}
  .project-brand img{width:130px}
  .project-hero{min-height:760px}
  .project-hero__content{padding-top:7.7rem}
  .project-hero h1{font-size:clamp(2.8rem,13.5vw,4.6rem);max-width:9.5ch;line-height:.91}
  .project-hero__tagline{font-size:clamp(.96rem,4.5vw,1.08rem);line-height:1.5}
  .project-hero__meta{gap:.8rem 1.2rem;font-size:.78rem}
  .project-kpis{margin-top:3rem}
  .project-kpi{min-width:0;min-height:92px;padding:.85rem}
  .project-kpi b{
    max-width:100%;font-size:clamp(.88rem,4vw,1rem);line-height:1.12;
    letter-spacing:-.02em;overflow-wrap:anywhere
  }
  .project-kpi span{font-size:.64rem;line-height:1.35;letter-spacing:.055em}
  .project-localnav{top:62px}
  .project-localnav__in{gap:1.3rem}
  .project-localnav a+a::before{left:-.65rem}
  .project-differentials__head{margin-bottom:2.5rem}
  .project-differentials__nav{margin-bottom:1rem}
  .project-differentials__button{width:44px;height:44px}
  .project-differentials{gap:1rem;margin-right:calc(50% - 50vw);padding-right:1.3rem}
  .project-differential{flex-basis:170px;min-height:220px;padding:1.7rem 1rem}
  .project-differential__icon{width:52px;height:52px}
  .project-gallery{grid-template-columns:1fr 1fr;grid-template-rows:300px 190px 190px}
  .project-gallery__item:first-child{grid-column:1/3;grid-row:auto}
  .project-gallery__item:nth-child(4){grid-column:auto}
  .project-milestones{margin:3rem 0 0}
  .project-milestones::before,.project-milestones::after{top:18px}
  .project-milestone{gap:.85rem}
  .project-milestone__point{width:40px;height:40px;border-width:3px}
  .project-milestone.is-current .project-milestone__point{transform:scale(1.06);box-shadow:0 0 0 5px rgba(86,203,224,.12),0 0 20px rgba(86,203,224,.25)}
  .js .project-milestones.is-visible .project-milestone.is-current .project-milestone__point{transform:scale(1.06)}
  .project-milestone__label{max-width:10ch;font-size:.56rem;letter-spacing:.06em}
  .project-progress-heading{display:grid;grid-template-columns:1fr;align-items:center;gap:1.2rem;width:100%}
  .project-progress-heading .project-title{width:100%;flex:none}
  .project-progress-heading__value{width:104px;justify-self:center;margin-inline:auto}
  .project-progress-row{grid-template-columns:1fr 42px}
  .project-progress-track{grid-column:1/3;grid-row:2}
  .project-lightbox{padding:1rem}
  .project-lightbox__nav{top:auto;bottom:1rem;transform:none}
  .project-lightbox__caption{bottom:5.2rem;width:70%}
}
