/* Ajustes do layout aprovado: conteúdo mais largo, fundo contínuo e portfólio. */
@media(max-width:560px){
  .hero .hero-art picture,.hero .hero-art::after{transform:translateY(70px)}
  .hero .hero-content{min-height:530px;padding-block:31px 28px}
  .hero h1.eyebrow{margin-bottom:18px}
  .hero .hero-title{font-size:14.4vw;letter-spacing:-.025em}
  .hero .hero-description{margin-top:18px}
  .hero .button-row{flex-wrap:nowrap;align-items:center;gap:10px;margin-top:22px}
  .hero .button-row>.button{min-height:44px;padding:12px 11px;font-size:clamp(10px,2.65vw,11px);gap:6px;white-space:nowrap;flex-shrink:0}
  .hero .button-row>.button svg{width:17px;height:17px}
  .hero .button-row>.text-link{min-height:44px;font-size:clamp(9.5px,2.45vw,10.5px);gap:5px;flex-shrink:0}
  .hero .button-row>.text-link svg{width:13px;height:13px}
  .hero .hero-art img{filter:brightness(1.16) saturate(1.05)}
  .hero .hero-art::before{background:linear-gradient(180deg,#080c13 0%,rgba(8,12,19,.98) 32%,rgba(8,12,19,.82) 52%,rgba(8,12,19,.28) 65%,transparent 80%,#080c13 100%)}
  .contact-section .contact-links{flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:10px;padding-right:0}
  .contact-section .contact-links a{gap:5px;font-size:clamp(9.4px,2.75vw,11px);white-space:nowrap}
  .contact-section .contact-links svg{width:13px;height:13px}
  .site-footer .footer-inner{padding-bottom:24px}
  .site-footer .copyright{width:100%;text-align:center}
}
.faq-contact svg{fill:currentColor;width:21px;height:21px}
@media(max-width:359px){.hero .button-row{flex-wrap:wrap;gap:12px}}
@media(min-width:851px){.faq-intro{align-self:center}}
.site-header{position:sticky;top:0;z-index:40;background:#080c13ed;backdrop-filter:blur(16px);border-bottom:1px solid transparent;transition:border-color .2s,box-shadow .2s}
.header-inner{transition:height .25s}
.site-header .brand{transition:width .25s}
.site-header.is-scrolled{border-color:#233449;box-shadow:0 6px 25px #0003}
.site-header.is-scrolled .header-inner{height:70px}
.site-header.is-scrolled .brand{width:140px}
.button-whatsapp{background:linear-gradient(120deg,#102b56,#123761);border:1px solid #386ba1;box-shadow:inset 0 1px 0 #ffffff12}
.button-whatsapp:hover{background:linear-gradient(120deg,#142f54,#194978);border-color:#5d93ca}
.button-whatsapp svg{fill:currentColor;width:20px;height:20px}
.nav-dropdown{position:relative}
.dropdown-toggle{display:flex;align-items:center;gap:6px;background:none;border:0;padding:8px 0;color:inherit;font-size:inherit}
.dropdown-toggle .nav-dot{margin-right:2px}
.dropdown-toggle>svg{width:14px;height:14px;transition:transform .2s}
.dropdown-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}
.nav-submenu{position:absolute;top:calc(100% + 13px);left:-18px;width:285px;padding:9px;background:#0d1a2c;border:1px solid #29425f;border-radius:10px;box-shadow:0 15px 40px #0008}
.nav-submenu:not([hidden]){display:flex;flex-direction:column}
.nav-submenu a{padding:12px 13px;border-radius:5px;font-size:12px;line-height:1.5}
.nav-submenu a:hover,.nav-submenu a:focus-visible{background:#193455;color:white}
@media(max-width:850px){.site-header.is-scrolled .header-inner{height:64px}.site-header.is-scrolled .brand{width:125px}.site-header.is-scrolled .mobile-nav{top:64px}.mobile-nav .dropdown-toggle{font-size:15px;padding:13px 0;width:100%}.mobile-nav .nav-submenu{position:static;width:100%;box-shadow:none;margin-bottom:10px}.mobile-nav .nav-dropdown{border-bottom:1px solid #233449}.mobile-nav{max-height:calc(100dvh - 85px);overflow:auto}}
.container{width:min(1360px,calc(100% - 80px))}
.site-header .brand{width:166px}
.hero{display:block;width:100%;min-height:0;padding:0;margin:0;overflow:hidden;isolation:isolate}
.hero-content{position:relative;z-index:2;min-height:610px;display:flex;align-items:center;padding-block:55px 70px}
.hero-copy{width:810px}
.hero-art{position:absolute;inset:0;width:100%;height:100%;z-index:0;opacity:1;mask-image:none;pointer-events:none;overflow:hidden}
.hero-art picture{position:absolute;inset:0;display:block}
.hero-art img{width:100%;height:100%;object-fit:cover;object-position:center;mix-blend-mode:normal}
.hero-art::before{content:'';position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(8,12,19,.64),rgba(8,12,19,.14) 42%,transparent 68%),linear-gradient(0deg,#080c13 0%,transparent 13%,transparent 93%,rgba(8,12,19,.35))}
/* Uma cópia iluminada da arte mantém o reflexo alinhado à ilustração. */
.hero-art::after{content:'';position:absolute;inset:0;z-index:1;background:url('./hero-corrected.webp') center / cover no-repeat;filter:brightness(2.1) saturate(.65);mix-blend-mode:screen;mask-image:linear-gradient(105deg,transparent 42%,#0009 48%,#fff 50%,#0009 52%,transparent 58%);mask-size:300% 100%;mask-repeat:no-repeat;mask-position:100% 50%;opacity:0;animation:arrow-gleam 7s ease-in-out infinite;pointer-events:none;will-change:mask-position,opacity}
@keyframes arrow-gleam{0%,12%{mask-position:100% 50%;opacity:0}18%{opacity:.6}47%{mask-position:0% 50%;opacity:.6}55%,100%{mask-position:0% 50%;opacity:0}}
.hero-note{right:0;bottom:55px}
.portfolio-grid{gap:36px 28px}
.project-preview{display:block;position:relative;width:100%;aspect-ratio:1738/905;padding:0;border:1px solid #2d435d;border-radius:10px;overflow:hidden;background:#0c1725;cursor:zoom-in;isolation:isolate}
.project-preview img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.project-preview:hover img,.project-preview:focus-visible img{transform:scale(1.035)}
.project-preview:focus-visible{outline:3px solid #83b0ff;outline-offset:6px}
.project-open{position:absolute;right:18px;bottom:17px;display:flex;align-items:center;gap:10px;background:#091524e8;border:1px solid #42658b;border-radius:30px;padding:8px 14px;font-size:11px;color:#fff;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s;pointer-events:none}
.project-open svg{width:15px;height:15px}
.project-preview:hover .project-open,.project-preview:focus-visible .project-open{opacity:1;transform:translateY(0)}
.project--featured{grid-column:1/-1}
.project--featured .project-preview{aspect-ratio:1983/793}
.project-caption h3{font-size:17px;font-weight:600}
.project-caption p{font-size:12px}
.project-kind{color:#b3cfff}
.project-dialog{width:min(1280px,calc(100% - 48px));max-width:1280px;max-height:calc(100dvh - 48px);margin:auto;padding:20px;border:1px solid #345177;border-radius:14px;color:var(--text);background:#0b1421;box-shadow:0 30px 100px #0008;overflow:auto}
.project-dialog::backdrop{background:#03070fe8;backdrop-filter:blur(8px)}
.project-dialog-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:0 0 18px}
.project-dialog-toolbar .eyebrow{font-size:8px;margin-bottom:7px}
.project-dialog-toolbar h2{font-size:23px;letter-spacing:-.035em}
#project-dialog-category{font-size:12px;color:var(--muted);margin-top:5px}
.dialog-close{width:42px;height:42px;border:1px solid #365477;border-radius:50%;background:#112238;display:flex;justify-content:center;align-items:center;color:white}
.dialog-close:hover{background:#193857}
.project-dialog-image{display:block;width:100%;height:auto;border-radius:7px;max-height:calc(100dvh - 220px);object-fit:contain;background:#080c13}
.project-dialog-navigation{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px}
.project-dialog-navigation button{min-height:40px;border:1px solid #355477;background:transparent;color:#d3e4ff;border-radius:30px;padding:7px 16px;font-size:12px}
.project-dialog-navigation button:hover{background:#142a46}
.project-dialog-navigation span{font-size:12px;color:#98afca}
body:has(.project-dialog[open]){overflow:hidden}
@media(min-width:1600px){.hero-content{min-height:650px}.hero-art{inset:0;width:100%;height:100%}}
@media(max-width:1150px){.container{width:calc(100% - 60px)}.site-header .brand{width:152px}.hero-content{min-height:570px}.hero-copy{width:76%}.hero-art{inset:0;width:100%;height:100%}.hero-title{font-size:10.8vw}}
@media(max-width:850px){.site-header .brand{width:145px}.hero-content{min-height:550px;padding-block:45px 60px}.hero-copy{width:100%}.hero-art{inset:0;width:100%;height:100%;opacity:1;mask-image:none}.hero-art img{object-position:65% center}.hero-art::after{background-position:65% center}.hero-art::before{background:linear-gradient(90deg,rgba(8,12,19,.95),rgba(8,12,19,.76) 42%,rgba(8,12,19,.08)),linear-gradient(0deg,#080c13,transparent 30%)}.hero-title{font-size:12.1vw}.project-dialog{width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:16px}}
@media(max-width:560px){.container{width:calc(100% - 40px)}.site-header .brand{width:137px}.hero-content{display:block;min-height:650px;padding-block:37px 35px}.hero-title{font-size:14.4vw}.hero-art{inset:0;width:100%;height:100%;opacity:1;mask-image:none}.hero-art img{object-position:100% bottom}.hero-art::after{background-image:url('./hero-mobile-smaller-arrows.webp');background-position:100% bottom}.hero-art::before{background:linear-gradient(180deg,#080c13 0%,rgba(8,12,19,.98) 35%,rgba(8,12,19,.75) 52%,rgba(8,12,19,.05) 77%,#080c13 100%)}.hero-copy{width:100%}.portfolio-grid{gap:28px}.project-caption h3{font-size:16px}.project-caption p{font-size:11px}.project-number{min-width:32px;height:32px}.project-preview{border-radius:7px}.project--featured{grid-column:auto}.project-open{right:10px;bottom:10px;font-size:9px;padding:5px 9px;opacity:1;transform:none}.project-open svg{width:12px;height:12px}.project-dialog{width:calc(100% - 20px);padding:13px;max-height:calc(100dvh - 20px);border-radius:10px}.project-dialog-toolbar h2{font-size:19px}.project-dialog-toolbar .eyebrow{font-size:7px}.project-dialog-image{max-height:calc(100dvh - 220px)}.project-dialog-navigation button{font-size:11px;padding:6px 12px}.project-dialog-navigation span{font-size:10px}.dialog-close{width:37px;height:37px}}
@media(prefers-reduced-motion:reduce){.hero-art::after{display:none;animation:none}.project-preview img,.project-open{transition:none}.project-preview:hover img,.project-preview:focus-visible img{transform:none}}

/* Reserve the longest final word without changing the Hero typography. */
.hero-title .hero-word{display:inline-grid;position:relative;vertical-align:baseline;white-space:nowrap}
.hero-title .hero-word-space,.hero-title .hero-word-typed{display:block;grid-area:1/1;text-align:left}
.hero-title .hero-word-space{visibility:hidden;pointer-events:none}
.hero-title .hero-word-typed{width:max-content;position:relative}
.hero-word-typed::after{content:"";position:absolute;left:calc(100% + .035em);top:.12em;height:.72em;width:2px;background:#FFFFFF;pointer-events:none;animation:hero-caret .6s ease-in-out infinite}
@keyframes hero-caret{0%,100%{opacity:1}50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.hero-word-typed::after{animation:none;opacity:0}}

/* Shared closing CTA: compact desktop composition and comfortable mobile flow. */
.contact-section .cta-banner{background:linear-gradient(115deg,#0967F5 0%,#102F9E 100%);border:1px solid #ffffff16;border-radius:14px;padding:32px 40px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:32px;box-shadow:0 10px 36px #0967f514,inset 0 1px 0 #ffffff0d}
.cta-banner .cta-copy{min-width:0;max-width:720px}
.contact-section .cta-banner .cta-eyebrow{margin:0 0 10px;color:#fff;font-size:10px;font-weight:700;line-height:1.4;letter-spacing:.2em}
.contact-section .cta-banner h2{max-width:700px;font-size:clamp(26px,2.35vw,34px);font-weight:800;line-height:1.16;letter-spacing:-.035em;white-space:normal;text-wrap:balance;overflow-wrap:normal;word-break:normal}
.contact-section .cta-banner .cta-copy>p:not(.cta-eyebrow){font-size:14px;line-height:1.6;margin:12px 0 0;color:#ebf1ff}
.contact-section .cta-banner .button{flex-shrink:0;min-height:48px;padding:14px 24px;background:#fff;color:#102344;border:1px solid #fff;font-size:13px;gap:16px;box-shadow:0 4px 16px #06154116}
.contact-section .cta-banner .button svg{width:19px;height:19px;flex-shrink:0}
.contact-section .cta-banner .button:hover{background:#edf3ff;border-color:#edf3ff;transform:translateY(-2px)}
.contact-section .cta-banner .button:focus-visible{outline:3px solid #fff;outline-offset:5px}
@media(max-width:850px){
 .contact-section .cta-banner{flex-direction:column;align-items:flex-start;padding:28px;gap:24px}
 .contact-section .cta-banner h2{font-size:30px;max-width:590px}
 .contact-section .cta-banner .button{width:100%;justify-content:space-between}
}
@media(max-width:560px){
 .contact-section .cta-banner{padding:24px;gap:22px;border-radius:12px}
 .contact-section .cta-banner .cta-eyebrow{font-size:9px;margin-bottom:12px;letter-spacing:.18em}
 .contact-section .cta-banner h2{font-size:clamp(25px,6.5vw,28px);line-height:1.17;text-wrap:pretty}
 .contact-section .cta-banner .cta-copy>p:not(.cta-eyebrow){font-size:13px;line-height:1.55;margin-top:12px}
 .contact-section .cta-banner .button{min-height:48px;font-size:12px;padding:13px 18px}
}

/* Entrance effects run once only after intersection; base content stays visible. */
.entrance-once{--entrance-distance:28px;animation:webliza-enter-up 900ms cubic-bezier(.22,1,.36,1) var(--entrance-delay,0ms) both}
.entrance-once[data-entrance="fade"]{animation-name:webliza-enter-fade;animation-duration:1000ms}
.entrance-once[data-entrance="hero"]{--entrance-distance:8px;animation-name:webliza-enter-hero;animation-duration:900ms}
@keyframes webliza-enter-up{from{opacity:.15;transform:translateY(var(--entrance-distance))}to{opacity:1;transform:translateY(0)}}
@keyframes webliza-enter-fade{from{opacity:.2}to{opacity:1}}
/* Hero remains fully painted from the start, including during stagger delays. */
@keyframes webliza-enter-hero{from{opacity:1;transform:translateY(var(--entrance-distance))}to{opacity:1;transform:translateY(0)}}
@media(max-width:560px){.entrance-once{--entrance-distance:18px;animation-duration:900ms}.entrance-once[data-entrance="hero"]{--entrance-distance:5px;animation-duration:900ms}}
@media(prefers-reduced-motion:reduce){.entrance-once{animation:none!important;opacity:1;transform:none}}
