:root{
  --navy:#0c1b35;
  --navy2:#142a4d;
  --blue:#6869d0;
  --blue-light:#b5b7ff;
  --cream:#f7f7f5;
  --ink:#17243a;
  --muted:#697587;
  --line:#e5e8ec;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:'DM Sans',sans-serif;color:var(--ink);background:#fff;overflow-x:hidden}
a{text-decoration:none;color:inherit}
button{font:inherit}
img,svg,video{display:block;max-width:100%}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;color:#6669cb}

/* Header */
.header{
  position:absolute;z-index:10;top:0;left:0;width:100%;color:#fff;
  border-bottom:1px solid rgba(255,255,255,.16);
  background:linear-gradient(180deg,rgba(5,15,31,.78) 0%,rgba(5,15,31,.42) 58%,rgba(5,15,31,0) 100%);
}
.nav{height:92px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:flex;align-items:center;gap:13px}
.brand-icon{height:41px;width:41px;border:1px solid #a9b5d0;transform:rotate(45deg);display:grid;place-items:center}
.brand-icon:before{content:'';width:19px;height:19px;border:2px solid #fff;display:block}
.brand-word{font-family:Manrope,sans-serif;font-size:20px;font-weight:800;letter-spacing:.22em}
.brand-small{display:block;font-size:8px;letter-spacing:.3em;margin-top:3px;color:#cdd5e5}
.navlinks{display:flex;align-items:center;gap:30px;font-size:12px;font-weight:600}
.navlinks a{text-shadow:0 1px 10px rgba(0,0,0,.28)}
.navlinks a:hover{color:#b8b9ff}
.nav-cta{border:1px solid rgba(255,255,255,.5);padding:13px 20px;border-radius:3px;background:rgba(12,27,53,.18);backdrop-filter:blur(2px)}
.menu{display:none;background:none;border:0;color:#fff;font-size:25px}

/* Hero */
.hero{
  min-height:680px;height:82vh;max-height:840px;position:relative;color:#fff;display:flex;align-items:center;
  background:
    linear-gradient(90deg,rgba(5,15,31,.97) 0%,rgba(8,21,43,.90) 30%,rgba(8,21,43,.62) 52%,rgba(10,21,38,.14) 78%,rgba(10,21,38,.04) 100%),
    url('pranches-hero-piso-polido.webp') center/cover no-repeat;
}
.hero:after{content:'';position:absolute;inset:auto 0 0;height:90px;background:linear-gradient(transparent,rgba(11,24,48,.22));pointer-events:none}
.hero-content{position:relative;z-index:2;display:flex;align-items:flex-start;padding-top:148px;min-height:100%}
.hero-copy{width:min(620px,52vw)}
.hero .eyebrow{color:#b1b4ff;margin-bottom:22px}
.hero h1{font:800 clamp(46px,4.6vw,68px)/1.06 Manrope,sans-serif;letter-spacing:-.055em;max-width:620px;margin:0 0 24px}
.hero h1 em{font-style:normal;color:var(--blue-light)}
.hero p{max-width:560px;margin:0;color:#d8dfeb;font-size:15.5px;line-height:1.72}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:13px;padding:17px 25px;border-radius:3px;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;transition:transform .2s,background .2s;cursor:pointer;border:0}
.btn:hover{transform:translateY(-3px)}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:#7779e1}
.btn-outline{border:1px solid rgba(255,255,255,.46);color:#fff;background:transparent}

/* Sections */
.section{padding:82px 0}
.section-heading{max-width:730px;margin-bottom:50px}
.section h2{font:800 clamp(32px,3.5vw,48px)/1.22 Manrope,sans-serif;letter-spacing:-.045em;margin:16px 0 20px}
.section-heading p,.lead{font-size:16px;line-height:1.85;color:var(--muted)}

/* About */
#sobre.section{padding-top:54px;padding-bottom:68px}
.intro-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:72px;align-items:center}
.intro-image{
  min-height:500px;
  position:relative;
  background-image:linear-gradient(rgba(19,38,66,.08),rgba(19,38,66,.08)),url('pranches-restauracao-taco-madeira-antes-depois.png');
  background-repeat:no-repeat;
  background-size:200% auto;
  background-position:right center;
}
.image-tag{position:absolute;bottom:25px;right:-25px;background:var(--navy);color:#fff;padding:24px 30px}
.image-tag strong{font:800 35px Manrope,sans-serif}
.image-tag span{display:block;color:#c8d2e1;font-size:12px}
.intro-copy p{line-height:1.95;color:var(--muted)}
.mini-rule{height:2px;width:45px;background:#6669cb;margin:26px 0}

/* Numbers */
.numbers-section{padding:56px 0;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.numbers-heading{text-align:center;max-width:760px;margin:0 auto 44px}
.numbers-heading h2{font:800 clamp(30px,3.3vw,44px)/1.2 Manrope,sans-serif;margin:14px 0 0;letter-spacing:-.04em;color:var(--ink)}
.numbers-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;align-items:start}
.number-card{text-align:center;padding:12px 10px}
.number-icon{width:70px;height:70px;margin:0 auto 20px;color:var(--navy2);will-change:transform}
.number-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.number-card strong{display:block;font:800 clamp(28px,2.8vw,40px)/1 Manrope,sans-serif;color:var(--ink);letter-spacing:-.045em}
.number-card span{display:block;margin-top:10px;color:var(--muted);font-size:13px;line-height:1.5}
.number-card:nth-child(1) .number-icon{animation:float-soft 3.2s ease-in-out infinite}
.number-card:nth-child(1) .number-icon svg{animation:gear-breathe 4.6s ease-in-out infinite}
.number-card:nth-child(2) .number-icon{animation:pin-bounce 2.8s ease-in-out infinite}
.number-card:nth-child(3) .number-icon{animation:area-drift 3.6s ease-in-out infinite}
.number-card:nth-child(3) .number-icon svg path{animation:line-glow 3.1s ease-in-out infinite}
.number-card:nth-child(4) .number-icon{animation:clock-float 3.4s ease-in-out infinite}
.number-card:nth-child(4) .number-icon svg path{transform-origin:32px 32px;animation:clock-hand 4s ease-in-out infinite}
.number-card:nth-child(5) .number-icon{animation:church-float 3.8s ease-in-out infinite}
.number-card:nth-child(5) .number-icon svg{animation:church-breathe 4.4s ease-in-out infinite}
@keyframes float-soft{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(2deg)}}
@keyframes gear-breathe{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(5deg) scale(1.04)}}
@keyframes pin-bounce{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-8px) scale(1.04)}}
@keyframes area-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes line-glow{0%,100%{opacity:.72}50%{opacity:1}}
@keyframes clock-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes clock-hand{0%,100%{transform:rotate(0)}50%{transform:rotate(10deg)}}
@keyframes church-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes church-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}

/* Services */
.services{background:var(--cream)}
.section-services-tight{padding-top:56px;padding-bottom:66px}
.section-services-tight .section-heading{max-width:100%;margin-bottom:42px}
.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.service-card{background:#fff;border:1px solid var(--line);transition:transform .2s,box-shadow .2s}
.service-card:hover{transform:translateY(-5px);box-shadow:0 20px 50px rgba(16,35,65,.07)}
.service-card--visual{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:100%}
.service-media{position:relative;height:210px;overflow:hidden;background:#dfe4eb}
.service-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.service-card--visual:hover .service-media img{transform:scale(1.035)}
.service-media:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,27,53,.03),rgba(12,27,53,.30))}
.service-badge{position:absolute;left:18px;top:18px;z-index:1;background:rgba(12,27,53,.9);color:#fff;padding:8px 10px;border-radius:999px;font:800 9px Manrope,sans-serif;letter-spacing:.16em}
.service-body{padding:26px 28px 28px;display:flex;flex-direction:column;flex:1}
.service-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.service-no{color:#7779cf;font:800 12px Manrope,sans-serif}
.service-icon-svg{font-size:0;width:44px;height:44px;color:var(--navy2);display:grid;place-items:center;border:1px solid #dfe4eb;border-radius:50%;background:#f8f9fb}
.service-icon-svg svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.service-card h3{font:800 21px Manrope,sans-serif;letter-spacing:-.04em;margin:17px 0 9px}
.service-card p{color:var(--muted);font-size:14px;line-height:1.75;margin:0}
.service-ideal{margin:18px 0 0;padding:13px 14px;border-left:3px solid var(--blue);background:#f7f7fb}
.service-ideal strong{display:block;font:800 10px Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);margin-bottom:5px}
.service-ideal span{font-size:13px;line-height:1.5;color:#566276}
.service-card ul{margin:16px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.service-card li{font-size:12px;color:#445268;background:#f4f5f8;border:1px solid #e6e8ee;border-radius:999px;padding:8px 11px}
.service-link{margin-top:auto;padding-top:20px;font:800 10px Manrope,sans-serif;letter-spacing:.1em;color:#5e62c8;text-transform:uppercase}
.service-link:hover{color:var(--navy)}
.services-cta{margin-top:28px;padding:28px 30px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:34px}
.services-cta h3{font:800 25px/1.25 Manrope,sans-serif;margin:8px 0;letter-spacing:-.03em}
.services-cta p{margin:0;color:#c2ccdc;max-width:700px;line-height:1.65;font-size:14px}
.services-cta .eyebrow{color:var(--blue-light)}
.services-cta .btn{flex:0 0 auto}
@media(min-width:1050px){
  .section-services-tight .section-heading{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);column-gap:72px;align-items:end}
  .section-services-tight .section-heading .eyebrow{grid-column:1/-1;margin-bottom:8px}
  .section-services-tight .section-heading h2{grid-column:1;margin:0;max-width:760px}
  .section-services-tight .section-heading p{grid-column:2;margin:0 0 4px;max-width:430px}
}

/* Portfolio */
.section-projects-tight{padding-top:64px;padding-bottom:68px}
.section-projects-tight .section-heading{margin-bottom:34px}
.work-grid{display:grid;grid-template-columns:1.15fr .85fr;grid-template-rows:260px 260px;gap:18px}
.work{position:relative;overflow:hidden;background:#223}
.work:first-child{grid-row:span 2}
.work img{height:100%;width:100%;object-fit:cover;transition:transform .4s}
.work:hover img{transform:scale(1.04)}
.work:after{content:'';position:absolute;inset:58% 0 0;background:linear-gradient(transparent,rgba(7,21,45,.84));transition:inset .35s ease,background .35s ease}
.work:hover:after,.work:focus:after{inset:28% 0 0;background:linear-gradient(transparent,rgba(7,21,45,.92))}
.work-label{position:absolute;bottom:25px;left:28px;z-index:1;color:#fff}
.work-label--detail{max-width:88%;padding-right:18px}
.work-label span{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#c2c5ff}
.work-label h3{font:800 21px Manrope,sans-serif;margin:8px 0}
.work-label--detail p{opacity:0;max-height:0;overflow:hidden;transform:translateY(8px);margin:0;max-width:560px;color:#e4e9f2;font-size:13px;line-height:1.6;transition:opacity .28s,transform .28s,max-height .35s,margin-top .28s}
.work:hover .work-label--detail p,.work:focus .work-label--detail p{opacity:1;max-height:120px;transform:none;margin-top:10px}
.work:focus{outline:none}
.portfolio-compact{position:relative}
.portfolio-float-next{
  position:absolute;top:50%;right:-26px;transform:translateY(-50%);z-index:5;width:50px;height:50px;border-radius:50%;
  border:1px solid #d8ddea;background:#fff;color:var(--navy);box-shadow:0 12px 30px rgba(16,35,65,.14);font-size:34px;line-height:1;
  display:grid;place-items:center;cursor:pointer;transition:background .2s,color .2s,transform .2s,border-color .2s;
}
.portfolio-float-next:hover{background:var(--navy);color:#fff;border-color:var(--navy);transform:translateY(-50%) scale(1.06)}
.portfolio-compact .work{transition:opacity .22s ease,transform .22s ease}
.portfolio-compact.is-switching .work{opacity:.35;transform:scale(.985)}
.portfolio-count{
  position:absolute;right:18px;bottom:16px;z-index:6;
  display:flex;align-items:center;gap:5px;padding:7px 10px;border-radius:999px;
  background:rgba(8,20,38,.78);backdrop-filter:blur(5px);color:#fff;
  font:700 11px Manrope,sans-serif;letter-spacing:.08em;
}
.portfolio-count strong{color:#c2c5ff}

/* Contact */
.band{background:var(--navy);color:#fff}
.band-contact{padding:56px 0}
.band-contact .band-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:center;gap:72px}
.band h2{font:800 clamp(34px,3.2vw,50px)/1.08 Manrope,sans-serif;letter-spacing:-.04em;margin:10px 0 14px;max-width:620px}
.band p{color:#b9c5d7;line-height:1.7;max-width:650px;margin:0;font-size:15px}
.band-contact .band-inner>div:last-child{display:flex!important;flex-direction:column;align-items:flex-start;gap:12px!important}
.band-contact .band-inner>div:last-child .btn{width:100%;max-width:390px;min-height:54px}

/* Footer */
.footer{background:#081426;color:#d1d9e6}
.footer-refined{padding:50px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.35fr .8fr .9fr;gap:64px;align-items:start}
.footer p{color:#9eacc1;font-size:13px;line-height:1.9}
.footer-refined .footer-grid>div:first-child p{max-width:430px;margin-top:18px}
.footer h4{font-size:12px;color:#fff;letter-spacing:.1em;text-transform:uppercase;margin:4px 0 18px}
.footer a{display:block;color:#b9c5d7;font-size:13px;margin:11px 0}
.footer a:hover{color:#fff}
.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:42px;padding-top:18px;font-size:11px;color:#8695ac;display:flex;justify-content:space-between;align-items:center;gap:20px}
.copyright span:last-child{text-align:right}

/* Floating WhatsApp */
.floating{position:fixed;bottom:25px;left:25px;z-index:20;background:#25d366;color:#fff;border-radius:100px;padding:15px 20px;box-shadow:0 10px 35px rgba(0,0,0,.2);font-weight:800;font-size:12px;display:inline-flex;align-items:center;gap:9px}
.floating:hover{background:#1fb85a}
.floating-whatsapp-icon{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* Reveal */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .65s,transform .65s}
.reveal.visible{opacity:1;transform:none}

/* Responsive */
@media(min-width:1180px){.hero-content{transform:translateX(-28px)}}
@media(max-width:900px){
  .container{width:min(100% - 28px,760px)}
  .nav{height:76px;gap:14px}
  .brand-word{font-size:16px}.brand-icon{height:31px;width:31px}
  .menu{display:block}
  .navlinks{display:none;position:absolute;top:76px;left:0;right:0;background:#0c1b35;padding:24px;flex-direction:column;align-items:stretch;gap:18px}
  .navlinks.open{display:flex}
  .hero{min-height:640px;height:auto;padding:104px 0 54px;background-position:62% center}
  .hero-content{min-height:auto;padding-top:0;transform:none}
  .hero-copy{width:min(600px,76vw)}
  #sobre.section{padding-top:46px;padding-bottom:54px}
  .intro-grid{grid-template-columns:1fr;gap:34px}
  .intro-image{min-height:380px;background-size:200% auto}
  .image-tag{right:0}
  .numbers-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:36px}
  .service-grid{grid-template-columns:1fr}
  .section-services-tight{padding-top:46px;padding-bottom:54px}
  .section-services-tight .section-heading{display:block;margin-bottom:36px}
  .section-services-tight .section-heading h2{margin:16px 0 18px}
  .section-services-tight .section-heading p{max-width:700px}
  .services-cta{align-items:flex-start;flex-direction:column;padding:26px 24px}
  .work-grid{grid-template-columns:1fr;grid-template-rows:330px 240px 240px}
  .work:first-child{grid-row:span 1}
  .portfolio-float-next{right:-8px;width:44px;height:44px;font-size:30px}
  .band-contact .band-inner{grid-template-columns:1fr;gap:30px}
  .band-contact .band-inner>div:last-child{width:100%}
  .band-contact .band-inner>div:last-child .btn{max-width:none}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px 48px}
  .footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:680px){
  .container{width:calc(100% - 24px)}
  .hero{min-height:610px;padding:96px 0 46px;background-position:67% center}
  .hero-copy{width:100%}
  .hero h1{font-size:clamp(39px,11vw,54px);max-width:100%}
  .hero p{max-width:100%;font-size:15px}
  .actions{flex-direction:column;align-items:stretch}
  .actions .btn{width:100%}
  #sobre.section{padding-top:40px;padding-bottom:48px}
  .intro-image{min-height:320px}
  .numbers-section{padding:44px 0}
  .numbers-heading{margin-bottom:34px}
  .numbers-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px}
  .number-card:last-child{grid-column:1/-1}
  .number-icon{width:60px;height:60px}
  .number-card span{font-size:12px}
  .section{padding:58px 0}
  .section h2{font-size:32px}
  .service-media{height:185px}
  .service-body{padding:23px 21px 25px}
  .section-projects-tight{padding-top:52px;padding-bottom:56px}
  .work-label--detail{left:20px;right:20px;bottom:20px;max-width:none}
  .work-label--detail p{font-size:12px;line-height:1.5}
  .work:hover .work-label--detail p{opacity:0;max-height:0;margin-top:0;transform:translateY(8px)}
  .work:focus .work-label--detail p{opacity:1;max-height:140px;margin-top:9px;transform:none}
  .band-contact{padding:48px 0}
  .footer-refined{padding:44px 0 20px}
  .footer-grid{grid-template-columns:1fr;gap:28px}
  .footer-grid>div:first-child{grid-column:auto}
  .copyright{margin-top:30px;flex-direction:column;align-items:flex-start}
  .copyright span:last-child{text-align:left}
  .floating{bottom:14px;left:14px;padding:13px 16px}
}
@media(max-width:420px){
  .container{width:calc(100% - 20px)}
  .hero h1{font-size:38px}
  .eyebrow{font-size:10px;letter-spacing:.16em}
  .portfolio-count{right:12px;bottom:12px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .number-icon,.number-icon svg,.number-icon svg path{animation:none!important}
}


/* Refinamento visual — cabeçalho da seção Serviços */
.section-services-tight{
  padding-top:40px;
}
.section-services-tight .section-heading{
  max-width:1080px;
  margin:0 auto 28px;
}
@media(min-width:1050px){
  .section-services-tight .section-heading{
    display:grid;
    grid-template-columns:minmax(0,1.22fr) minmax(300px,.78fr);
    column-gap:42px;
    row-gap:0;
    align-items:end;
  }
  .section-services-tight .section-heading .eyebrow{
    grid-column:1/-1;
    margin-bottom:10px;
  }
  .section-services-tight .section-heading h2{
    grid-column:1;
    max-width:690px;
    margin:0;
  }
  .section-services-tight .section-heading p{
    grid-column:2;
    max-width:380px;
    margin:0 0 4px;
    line-height:1.7;
  }
}
@media(max-width:1049px){
  .section-services-tight .section-heading{
    max-width:760px;
  }
  .section-services-tight .section-heading p{
    max-width:680px;
  }
}


/* Nova composição — Serviços com cabeçalho editorial centralizado */
.section-services-tight{
  padding-top:48px;
}
.section-services-tight .section-heading{
  display:block!important;
  max-width:860px!important;
  margin:0 auto 34px!important;
  text-align:center;
}
.section-services-tight .section-heading .eyebrow{
  margin-bottom:12px!important;
}
.section-services-tight .section-heading h2{
  max-width:760px!important;
  margin:0 auto 16px!important;
  line-height:1.12;
}
.section-services-tight .section-heading p{
  max-width:680px!important;
  margin:0 auto!important;
  line-height:1.75;
}
@media(max-width:800px){
  .section-services-tight{
    padding-top:42px;
  }
  .section-services-tight .section-heading{
    margin-bottom:28px!important;
    text-align:left;
  }
  .section-services-tight .section-heading h2,
  .section-services-tight .section-heading p{
    margin-left:0!important;
    margin-right:0!important;
  }
}


/* Nova identidade PRANCHES — aplicação web vetorial */
.brand-new{
  gap:11px;
  align-items:center;
}
.brand-new .brand-copy{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.brand-new .brand-word{
  font-family:Georgia,'Times New Roman',serif;
  font-size:24px;
  font-weight:700;
  letter-spacing:.14em;
}
.brand-new .brand-rest{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:5px;
  font:800 8px Manrope,sans-serif;
  letter-spacing:.34em;
}
.brand-new .brand-rest:before,
.brand-new .brand-rest:after{
  content:'';
  width:22px;
  height:2px;
  background:#b59ad6;
  opacity:.95;
}
.brand-new .brand-small{
  margin-top:5px;
  font-size:7px;
  letter-spacing:.34em;
  color:#d7deea;
  text-align:center;
}
.brand-divider{
  width:1px;
  height:44px;
  background:#b59ad6;
  opacity:.9;
}
.brand-mark{
  position:relative;
  width:44px;
  height:44px;
  flex:0 0 44px;
  transform:rotate(45deg);
}
.brand-mark i{
  position:absolute;
  display:block;
  border-top:4px solid currentColor;
  border-left:4px solid currentColor;
}
.brand-mark i:nth-child(1){
  width:38px;height:38px;left:3px;top:3px;
}
.brand-mark i:nth-child(2){
  width:28px;height:28px;left:8px;top:8px;
}
.brand-mark i:nth-child(3){
  width:18px;height:18px;left:13px;top:13px;
  border-color:#b59ad6;
}
.header .brand-new{color:#fff}
.footer .brand-new{color:#fff}
.footer .brand-new .brand-word{font-size:26px}
.footer .brand-new .brand-small{color:#aab6c8}
@media(max-width:680px){
  .brand-new .brand-word{font-size:18px;letter-spacing:.11em}
  .brand-new .brand-rest{font-size:6.5px;letter-spacing:.24em}
  .brand-new .brand-rest:before,
  .brand-new .brand-rest:after{width:14px}
  .brand-new .brand-small{font-size:6px;letter-spacing:.25em}
  .brand-divider{height:36px}
  .brand-mark{width:36px;height:36px;flex-basis:36px}
  .brand-mark i:nth-child(1){width:31px;height:31px;left:2px;top:2px}
  .brand-mark i:nth-child(2){width:23px;height:23px;left:6px;top:6px}
  .brand-mark i:nth-child(3){width:15px;height:15px;left:10px;top:10px}
}


/* Correção de encaixe da nova logo no header */
.header .brand-new{
  padding-top:4px;
  padding-bottom:4px;
}
.header .nav{
  min-height:92px;
  overflow:visible;
}
.header .brand-mark{
  width:40px;
  height:40px;
  flex-basis:40px;
}
.header .brand-mark i:nth-child(1){width:34px;height:34px;left:3px;top:3px}
.header .brand-mark i:nth-child(2){width:25px;height:25px;left:7px;top:7px}
.header .brand-mark i:nth-child(3){width:16px;height:16px;left:12px;top:12px}
.header .brand-divider{
  height:40px;
}
.header .brand-new .brand-word{
  font-size:22px;
  line-height:.95;
}
.header .brand-new .brand-rest{
  margin-top:4px;
}
.header .brand-new .brand-small{
  margin-top:4px;
}
@media(max-width:680px){
  .header .brand-new{
    padding-top:2px;
    padding-bottom:2px;
  }
  .header .brand-mark{
    width:32px;
    height:32px;
    flex-basis:32px;
  }
  .header .brand-mark i:nth-child(1){width:28px;height:28px;left:2px;top:2px}
  .header .brand-mark i:nth-child(2){width:21px;height:21px;left:5px;top:5px}
  .header .brand-mark i:nth-child(3){width:13px;height:13px;left:9px;top:9px}
  .header .brand-divider{height:32px}
}


/* Logo oficial em imagem — header e footer */
.brand-image{
  display:flex;
  align-items:center;
  min-width:0;
}
.brand-logo-img{
  display:block;
  width:auto;
  height:auto;
  object-fit:contain;
}
.brand-logo-img--header{
  width:250px;
  max-height:58px;
  filter:brightness(0) invert(1);
}
.brand-logo-img--footer{
  width:300px;
  max-width:100%;
  max-height:96px;
  filter:brightness(0) invert(1);
}
@media(max-width:900px){
  .brand-logo-img--header{
    width:210px;
    max-height:50px;
  }
}
@media(max-width:680px){
  .brand-logo-img--header{
    width:180px;
    max-height:44px;
  }
}


/* Aplicação final da logo enviada manualmente */
.header .brand-image{
  display:flex;
  align-items:center;
  height:92px;
}
.header .brand-logo-img--header{
  width:auto;
  height:56px;
  max-width:290px;
  object-fit:contain;
  filter:none;
}
.footer .brand-logo-img--footer{
  width:auto;
  height:78px;
  max-width:340px;
  object-fit:contain;
  filter:none;
}
@media(max-width:900px){
  .header .brand-image{height:76px}
  .header .brand-logo-img--header{height:48px;max-width:235px}
}
@media(max-width:680px){
  .header .brand-logo-img--header{height:42px;max-width:205px}
  .footer .brand-logo-img--footer{height:66px;max-width:280px}
}


/* Correção assertiva — logo com mais presença e contraste */
.header{
  background:
    linear-gradient(180deg,rgba(5,15,31,.92) 0%,rgba(5,15,31,.68) 58%,rgba(5,15,31,.18) 100%);
}
.header .brand-image{
  height:92px;
  display:flex;
  align-items:center;
}
.header .brand-logo-img--header{
  height:70px;
  width:auto;
  max-width:360px;
  object-fit:contain;
  opacity:1;
  filter:none!important;
  mix-blend-mode:normal!important;
}
.footer .brand-logo-img--footer{
  height:92px;
  width:auto;
  max-width:390px;
  object-fit:contain;
  opacity:1;
  filter:none!important;
  mix-blend-mode:normal!important;
}
@media(max-width:900px){
  .header .brand-logo-img--header{
    height:58px;
    max-width:300px;
  }
}
@media(max-width:680px){
  .header .brand-logo-img--header{
    height:50px;
    max-width:250px;
  }
  .footer .brand-logo-img--footer{
    height:76px;
    max-width:320px;
  }
}


/* Aplicação harmonizada da logo branca no cabeçalho */
.header .brand-image{
  display:flex;
  align-items:center;
  height:92px;
  overflow:visible;
}
.header .brand-logo-img--header{
  display:block;
  width:auto;
  height:64px;
  max-width:340px;
  object-fit:contain;
  opacity:1;
  filter:none!important;
  transform:none!important;
  margin:0;
}
.header .nav{
  align-items:center;
}
@media(max-width:900px){
  .header .brand-image{height:76px}
  .header .brand-logo-img--header{
    height:54px;
    max-width:285px;
  }
}
@media(max-width:680px){
  .header .brand-logo-img--header{
    height:46px;
    max-width:235px;
  }
}


/* Rodapé — logo branca com melhor presença */
.footer .brand-image{
  display:flex;
  align-items:center;
}
.footer .brand-logo-img--footer{
  width:auto;
  height:86px;
  max-width:360px;
  object-fit:contain;
  opacity:1;
  filter:none!important;
  margin:0 0 6px;
}
@media(max-width:680px){
  .footer .brand-logo-img--footer{
    height:72px;
    max-width:300px;
  }
}


/* Portfólio mobile — cards com tamanho uniforme */
@media(max-width:680px){
  .section-projects-tight .work-grid{
    display:grid;
    grid-template-columns:1fr;
    grid-auto-rows:320px;
    grid-template-rows:none;
    gap:16px;
  }
  .section-projects-tight .work,
  .section-projects-tight .work:first-child{
    grid-row:auto;
    height:320px;
    min-height:320px;
  }
  .section-projects-tight .work img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .section-projects-tight .work-label{
    left:24px;
    right:24px;
    bottom:24px;
  }
  .section-projects-tight .work-label h3{
    font-size:26px;
    line-height:1.18;
    margin:8px 0 0;
  }
  .section-projects-tight .portfolio-float-next{
    top:50%;
    right:10px;
    transform:translateY(-50%);
  }
}
@media(max-width:420px){
  .section-projects-tight .work-grid{
    grid-auto-rows:290px;
  }
  .section-projects-tight .work,
  .section-projects-tight .work:first-child{
    height:290px;
    min-height:290px;
  }
  .section-projects-tight .work-label h3{
    font-size:23px;
  }
}


/* Portfólio robusto — comportamento final mobile/desktop */
.portfolio-float-next:disabled{
  opacity:.55;
  cursor:wait;
  transform:translateY(-50%) scale(.96);
}
.portfolio-load-error .portfolio-float-next{
  animation:portfolio-shake .28s ease 2;
}
@keyframes portfolio-shake{
  0%,100%{translate:0}
  50%{translate:-4px}
}
@media(max-width:680px){
  .section-projects-tight .portfolio-compact{
    overflow:visible;
  }
  .section-projects-tight .work-grid.is-mobile-carousel{
    display:block;
  }
  .section-projects-tight .work-grid.is-mobile-carousel .work{
    width:100%;
    height:310px;
    min-height:310px;
    margin:0;
  }
  .section-projects-tight .work-grid.is-mobile-carousel .work[hidden]{
    display:none!important;
  }
  .section-projects-tight .portfolio-float-next{
    right:12px;
    top:50%;
    width:46px;
    height:46px;
    background:rgba(12,27,53,.95);
    color:#fff;
    border-color:rgba(255,255,255,.25);
    box-shadow:0 10px 28px rgba(6,18,36,.24);
  }
  .section-projects-tight .portfolio-count{
    right:16px;
    bottom:14px;
  }
  .section-projects-tight .work-label{
    left:22px;
    right:70px;
    bottom:22px;
  }
  .section-projects-tight .work-label h3{
    font-size:22px;
    line-height:1.18;
  }
  .section-projects-tight .work-label--detail p{
    display:none!important;
  }
}


/* Performance final — evita pintura/transferência desnecessária */
.section-projects-tight .work img{
  background:#e8ebf0;
}
.section-projects-tight .work img[src^="data:image"]{
  opacity:.18;
}
.section-projects-tight .work img:not([src^="data:image"]){
  opacity:1;
  transition:opacity .22s ease,transform .4s ease;
}
.service-card,
.work{
  content-visibility:auto;
  contain-intrinsic-size:420px;
}


/* Mobile — toque no projeto revela a legenda */
@media(max-width:680px){
  .section-projects-tight .work{
    cursor:pointer;
  }
  .section-projects-tight .work-label--detail p{
    display:block!important;
    opacity:0!important;
    max-height:0!important;
    margin-top:0!important;
    transform:translateY(8px)!important;
    pointer-events:none;
    overflow:hidden;
    transition:opacity .25s ease,transform .25s ease,max-height .3s ease,margin-top .25s ease!important;
  }
  .section-projects-tight .work.is-expanded:after{
    inset:24% 0 0;
    background:linear-gradient(transparent,rgba(7,21,45,.94));
  }
  .section-projects-tight .work.is-expanded .work-label--detail p{
    opacity:1!important;
    max-height:150px!important;
    margin-top:9px!important;
    transform:none!important;
  }
  .section-projects-tight .work.is-expanded .work-label{
    bottom:20px;
  }
}


/* Mobile — título principal todo branco */
@media(max-width:680px){
  .hero h1 em{
    color:#fff;
  }
}
