/* Direção final (editorial): assimetria, tipografia condensada, superfícies empilhadas.
   Última camada da cascata; contém também rodapé, diálogo de contato, página legal e camada de movimento. */

/* Cabeçalho */
html { scroll-padding-top: 105px; }
.container { width: min(1400px,calc(100% - 80px)); }
.header { position: fixed; max-width: none; height: 82px; padding-inline: max(40px, calc((100% - 1400px) / 2)); background: linear-gradient(#030303e8,#030303aa); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid #ffffff08; }
.brand-symbol { width: 48px; height: 48px; }
.header nav { width: 77%; justify-content: space-between; gap: 20px; font-family: var(--display); font-size: 17px; font-weight: 500; text-transform: uppercase; letter-spacing: .4px; }
.header nav>a:not(.nav-cta) { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: #b9b9bf; }
.header nav>a[aria-current] { color: var(--text); }
.nav-cta { display: flex; align-items: center; min-height: 44px; border-radius: 3px; border-color: #6b6b72; padding: 8px 20px; margin-left: 0; gap: 40px; font-size: 16px; transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.nav-cta > [aria-hidden="true"] { transition: transform var(--dur-2) var(--ease-out); }
.nav-cta:hover { background: var(--text); border-color: var(--text); color: #08080a; }
.nav-cta:hover > [aria-hidden="true"] { transform: translate(2px,-2px); }
@media (min-width: 761px) {
  .header nav>a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform var(--dur-3) var(--ease-out-expo); }
  .header nav>a:not(.nav-cta):hover::after, .header nav>a[aria-current]::after { transform: scaleX(1); transform-origin: left center; }
}

/* Hero: altura da janela, conteúdo e rodapé do hero no fluxo (nada sobreposto). */
.hero { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: 180px 0 24px; padding-top: clamp(124px, 19svh, 190px); text-align: left; }
.hero-inner { width: calc(100% - 80px); max-width: 1400px; margin-block: auto; text-align: left; position: relative; z-index: 2; }
.hero-intro { justify-content: flex-start; font-family: var(--font); font-size: 10px; letter-spacing: 2px; margin-bottom: 24px; }
.hero-orbit { top: -90px; left: 76%; width: 1030px; height: 1030px; transform: translate(calc(-50% + var(--orbit-x,0px)),var(--orbit-y,0px)); z-index: -2; }
.hero-space { background-size: 150% auto; opacity: 1; animation: orbital-flow 58s linear infinite,halo-breath 9s ease-in-out infinite; }
.hero-shade { z-index: -1; background: linear-gradient(90deg,#030303 0%,#030303e8 20%,#03030355 44%,transparent 65%),linear-gradient(0deg,#030303 0%,#030303cc 10%,transparent 30%,transparent 90%,#03030377); }
h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(88px,10.8vw,172px); font-size: clamp(88px, min(10.8vw, 16.5svh), 172px); letter-spacing: -.02em; line-height: .84; font-weight: 600; margin: 0 0 34px; max-width: 760px; }
h1 em { color: var(--accent); }
.h1-line { display: inline-block; animation: line-rise 1.2s var(--ease-out-expo) both; }
.h1-line:nth-of-type(2) { animation-delay: .08s; }
.h1-line:nth-of-type(3) { animation-delay: .16s; }
.hero-copy { margin: 0 0 32px; max-width: 470px; font-size: 17px; line-height: 1.7; color: #b7b7c1; }
.hero-actions { justify-content: flex-start; gap: 30px; }
.hero-actions .button { padding: 17px 22px; gap: 45px; box-shadow: 0 4px 0 #68686e; transform: rotate(-1deg); }
.hero-actions .button:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 7px 0 #4b4b51,0 16px 44px #ffffff14; }
.hero-actions .button:active { transform: rotate(0) translateY(1px); box-shadow: 0 2px 0 #68686e; }
.hero-actions .text-link { font-size: 14px; }
.hero-actions .text-link:hover > [aria-hidden="true"] { transform: translateY(3px); }
.hero-identity { position: absolute; right: max(40px, calc((100% - 1400px) / 2)); bottom: 132px; display: grid; grid-template-columns: 1fr auto; gap: 3px 42px; padding: 18px 20px 20px; border-top: 1px solid #73737b; width: 300px; z-index: 2; background: linear-gradient(180deg,#030303b8,#030303e6); box-shadow: 0 0 56px 24px #030303a6; animation: arrive 1.1s .6s var(--ease-out-expo) both; }
.hero-identity span:first-child { font-family: var(--display); font-size: 23px; font-weight: 500; letter-spacing: .4px; }
.hero-identity span:nth-child(2) { font-size: 12px; color: #a6a6b0; grid-column: 1; }
.hero-identity span:last-child { grid-column: 2; grid-row: 1/3; font-size: 30px; align-self: center; transition: transform var(--dur-2) var(--ease-out); }
.hero-identity:hover span:last-child { transform: translate(3px,-3px); }
.hero-bottom { position: relative; inset: auto; z-index: 2; margin-top: 48px; font-size: 11px; letter-spacing: 1.6px; animation: arrive 1.1s .7s var(--ease-out-expo) both; }

/* Faixa de competências e seções */
.expertise-strip { background: #060606; padding: 27px 0; }
.expertise-strip .container>div { font-family: var(--display); font-size: 21px; text-transform: uppercase; letter-spacing: .4px; }
.expertise-strip>.container>span { font-size: 12px; }
.expertise-strip i { font-size: 10px; }
.section { padding-block: 120px; }
.section-heading { align-items: flex-end; margin-bottom: 48px; }
h2 { font-family: var(--display); font-size: clamp(46px,5vw,72px); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; line-height: .97; }
.section-heading>p { max-width: 370px; font-size: 16px; margin-bottom: 2px; }
.eyebrow { font-family: var(--font); font-size: 11px; letter-spacing: 2px; }

/* Soluções: cartões empilhados (sticky) */
.solutions-grid { display: block; border: 0; border-radius: 0; overflow: visible; isolation: isolate; }
.solution { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto auto; gap: 10px 100px; position: sticky; top: 110px; padding: 32px 42px 30px; min-height: 360px; border: 1px solid #414147; border-radius: 5px; background: radial-gradient(650px circle at var(--pointer-x,70%) var(--pointer-y,0%),#ffffff05,transparent 70%),#101012; box-shadow: 0 -12px 30px #0008, inset 0 1px #ffffff0d; overflow: hidden; transition: border-color var(--dur-3) var(--ease-out), background-color var(--dur-3) var(--ease-out); }
.solution+.solution { border: 1px solid #414147; margin-top: 34px; }
.solution:nth-child(2) { top: 130px; background-color: #141417; }
.solution:nth-child(3) { top: 150px; background-color: #19191c; }
.solution:hover, .motion-ready .solution.visible:hover { border-color: #68686e; background: radial-gradient(650px circle at var(--pointer-x,70%) var(--pointer-y,0%),#ffffff0b,transparent 70%),#151518; box-shadow: 0 -12px 30px #0008, inset 0 1px #ffffff1a; }
.card-top { grid-column: 1/-1; margin-bottom: 11px; flex-direction: row-reverse; }
.card-top svg { width: 27px; height: 27px; stroke-width: 1.2; }
.card-top>span { font-family: var(--display); font-size: 23px; color: #aaaab5; font-variant-numeric: tabular-nums; }
.solution h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(44px,4.7vw,65px); font-weight: 500; line-height: .96; letter-spacing: -.01em; grid-column: 1; grid-row: 2/4; align-self: start; margin: 0; }
.solution p { grid-column: 2; grid-row: 2; margin: 0; font-size: 17px; line-height: 1.75; max-width: 490px; color: #b5b5bf; }
.tags { grid-column: 2; grid-row: 3; margin: 8px 0 5px; align-self: start; }
.tags span { font-size: 12px; }
.card-link { grid-row: 4; grid-column: 2; min-height: 52px; padding: 14px 0 0; margin-top: 12px; border-color: #3b3b43; font-size: 14px; font-weight: 500; color: #e4e4e8; transition: color var(--dur-2) var(--ease-out); }
.card-link:hover { color: #fff; }

/* Abordagem */
.method-section { padding: 120px 0; background: #050505; }
.method-layout { grid-template-columns: 1fr 1fr; gap: 120px; }
.method-title>p:not(.eyebrow) { max-width: 400px; margin: 28px 0; }
.steps li { gap: 40px; }
.steps li > * { transition: transform var(--dur-3) var(--ease-out-expo), color var(--dur-2) var(--ease-out); }
.steps h3 { font-family: var(--font); text-transform: none; font-size: 22px; line-height: 1.3; font-weight: 450; letter-spacing: -.6px; }
.step-no { flex: none; min-width: 1.4em; font-family: var(--display); font-size: 20px; padding-top: 0; font-variant-numeric: tabular-nums; }
.steps p { font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .steps li:hover > div { transform: translateX(8px); }
  .steps li:hover .step-no { color: var(--text); }
}

/* Sobre */
.about-layout { grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 145px; }
.portrait-wrap { border-radius: 3px; transform: rotate(-2deg); height: 660px; border: 1px solid #5e5e66; box-shadow: 12px 14px 0 #0b0b0d,13px 15px 0 #34343a; max-width: 510px; margin-inline: auto; }
.motion-ready .portrait-wrap.reveal { transform: translateY(28px) rotate(-3deg); }
.motion-ready .portrait-wrap.visible { transform: rotate(-2deg); }
.portrait-label span:first-child { font-family: var(--display); font-size: 26px; letter-spacing: .6px; }
.portrait-label span:last-child { font-size: 13px; }
.about-copy h2 { font-size: clamp(43px,4.2vw,60px); line-height: 1.04; margin-bottom: 28px; }
.about-copy>p:not(.eyebrow) { max-width: 62ch; }
.about-copy>p.about-lead { font-size: 19px; }
.about-details { border-color: #35353d; }

/* Contato */
.contact-section { padding: 120px 0 115px; background: radial-gradient(ellipse at 50% 140%,#24242b,transparent 65%),#050505; }
.contact-inner h2 { font-family: var(--display); font-size: clamp(56px,7.3vw,106px); font-weight: 600; text-transform: uppercase; line-height: .96; letter-spacing: -.01em; }
.contact-inner>p:not(.eyebrow) { margin-top: 30px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; margin-top: 6px; }
.contact-actions .button { min-width: 280px; max-width: 100%; min-height: 60px; margin: 0; padding-inline: 24px; justify-content: space-between; gap: 18px; font-size: 15px; }
.contact-section .contact-whatsapp { gap: 14px; }
.contact-whatsapp > span:not([aria-hidden]) { margin-right: auto; text-align: left; }
.button-outline .social-icon { transition: transform var(--dur-2) var(--ease-out); }

@media (min-width: 1700px) {
  .hero-inner { max-width: 1400px; }
  .hero-orbit { left: 72%; width: 1200px; height: 1200px; top: -130px; }
  .hero-shade { background: linear-gradient(90deg,#030303,#030303dc 22%,transparent 60%),linear-gradient(0deg,#030303,transparent 25%); }
  .hero-identity { bottom: 150px; }
}
@media (max-width: 1100px) {
  .container, .hero-inner { width: calc(100% - 64px); }
  .header { padding-inline: 32px; }
  .header nav { width: 80%; font-size: 16px; }
  .nav-cta { font-size: 15px; gap: 24px; }
  .hero-orbit { left: 82%; width: 1000px; height: 1000px; top: -100px; }
  h1 { font-size: clamp(84px,16.4vw,126px); font-size: clamp(84px, min(16.4vw, 16.5svh), 126px); }
  .hero-identity { display: none; }
  .hero-actions { gap: 23px; }
  .hero-actions .button { gap: 20px; }
  .solution { gap: 10px 50px; padding-inline: 33px; min-height: 360px; }
  .solution h3 { font-size: 55px; }
  .solution p { font-size: 16px; }
  .about-layout { gap: 64px; }
  .portrait-wrap { height: 630px; }
  .method-layout { gap: 70px; }
  .expertise-strip .container>div { font-size: 20px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 92px; }
  .container, .hero-inner { width: calc(100% - 40px); }
  .header { height: 76px; padding-inline: 20px; background: #030303dc; }
  .header nav { width: auto; font-family: var(--display); left: 20px; right: 20px; top: 68px; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity var(--dur-2) var(--ease-out), transform .45s var(--ease-out-expo), display .45s allow-discrete; }
  .header nav.open { opacity: 1; transform: none; }
  .header nav>a:not(.nav-cta) { font-size: 21px; padding-inline: 12px; }
  .nav-cta { font-size: 19px; padding: 12px; }
  .brand-symbol { width: 45px; height: 45px; }
  .hero { padding: 132px 0 16px; padding-top: clamp(112px, 17svh, 149px); }
  .hero-orbit { width: 740px; height: 740px; left: 96%; top: -50px; }
  .hero-shade { background: linear-gradient(90deg,#030303e8,#0303038a 55%,#03030322),linear-gradient(0deg,#030303 0%,#030303f0 27%,transparent 76%); }
  .hero-intro { font-size: 10px; letter-spacing: 1.5px; gap: 10px; margin-bottom: 27px; }
  h1 { font-size: clamp(56px,20.5vw,140px); font-size: clamp(56px, min(20.5vw, 21svh), 140px); line-height: .87; letter-spacing: -.022em; max-width: 530px; margin-bottom: 31px; }
  .hero-copy { font-size: 16px; line-height: 1.7; max-width: 360px; margin-bottom: 30px; }
  .desktop-break { display: none; }
  .hero-actions { align-items: flex-start; gap: 12px; flex-direction: column; }
  .hero-actions .button { font-size: 14px; gap: 42px; }
  .hero-actions .text-link { font-size: 14px; }
  .hero-bottom { margin-top: 40px; gap: 18px; }
  .hero-bottom>span:first-child { font-size: 10px; max-width: 190px; }
  .hero-bottom a { font-size: 12px; }
  .expertise-strip .container>div { font-size: 18px; gap: 7px 17px; }
  .expertise-strip i { font-size: 9px; }
  .section { padding-block: 81px; }
  .section-heading { margin-bottom: 36px; }
  h2 { font-size: clamp(38px,12.4vw,46px); line-height: 1; letter-spacing: -.01em; }
  .section-heading>p { font-size: 16px; max-width: 100%; }
  .eyebrow { font-size: 10px; }
  .solution { position: relative; top: auto!important; display: flex; gap: 0; padding: 26px 27px 0; min-height: 0; border-radius: 4px; }
  .solution+.solution { margin-top: 20px; }
  .card-top { margin-bottom: 29px; flex-direction: row-reverse; }
  .card-top>span { font-size: 21px; }
  .solution h3 { font-size: clamp(44px,13.6vw,51px); line-height: 1; margin-bottom: 22px; }
  .solution p { font-size: 16px; margin-bottom: 25px; }
  .tags { margin: 0 0 27px; }
  .tags span { font-size: 12px; }
  .card-link { min-height: 64px; padding: 20px 0; margin-top: 0; font-size: 14px; }
  .method-section { padding-block: 82px; }
  .method-layout { grid-template-columns: 1fr; gap: 44px; }
  .method-title h2 br { display: initial; }
  .method-title h2 span:before { content: none; }
  .steps li { gap: 25px; }
  .steps h3 { font-size: 21px; }
  .step-no { font-size: 20px; }
  .about-layout { grid-template-columns: 1fr; gap: 57px; padding-block: 90px; }
  .portrait-wrap { width: calc(100% - 16px); height: 530px; max-width: 420px; }
  .portrait-label span:first-child { font-size: 24px; }
  .about-copy h2 { font-size: clamp(38px,11.7vw,44px); line-height: 1.04; }
  .about-copy>p.about-lead { font-size: 19px; }
  .about-details strong { font-size: 13px; }
  .contact-section { padding: 85px 0; }
  .contact-inner h2 { font-size: clamp(44px,12.5vw,72px); line-height: 1; letter-spacing: -.01em; }
  .contact-inner>p:not(.eyebrow) { font-size: 16px; }
}
@media (max-width: 380px) {
  .hero-intro { letter-spacing: 1.2px; gap: 8px; }
  .hero-orbit { left: 108%; }
  .hero-copy { font-size: 15px; }
  .hero-actions .button { gap: 24px; }
  .portrait-wrap { height: 470px; }
  .contact-section .contact-actions .contact-whatsapp { padding-inline: 16px; font-size: .875rem; }
}
/* Celular deitado: a altura manda na escala do hero. */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-top: 104px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 24px; }
}

/* Rodapé: hierarquia clara, ícones monocromáticos, colunas responsivas. */
.site-footer { padding: 76px 0 24px; background: #080808; border-top: 1px solid #303030; }
.footer-top { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.6fr) minmax(0,1fr); gap: clamp(32px,5vw,80px); padding-bottom: 58px; }
.footer-profile .brand { width: fit-content; margin-bottom: 24px; }
.footer-profile .brand-symbol { width: 58px; height: 58px; mix-blend-mode: normal; }
.footer-name { font-family: var(--display); font-size: clamp(1.8rem,2.4vw,2.3rem); font-weight: 500; text-transform: uppercase; letter-spacing: .2px; line-height: 1.1; margin: 0 0 12px; }
.footer-position { font-size: 1rem; color: #e1e1e1; margin: 0 0 12px; }
.footer-description { font-size: 1rem; line-height: 1.7; color: #a8a8a8; margin: 0; max-width: 370px; }
.footer-location { font-size: .875rem; color: #a8a8a8; margin: 24px 0 0; }
.footer-label { font-family: var(--font); font-size: .875rem; font-weight: 500; letter-spacing: 1.5px; line-height: 1.5; text-transform: uppercase; color: #a8a8a8; margin: 0 0 28px; }
.footer-navigation { display: flex; flex-direction: column; align-items: flex-start; }
.footer-navigation a { display: flex; align-items: center; min-height: 44px; font-size: 1rem; color: #d1d1d1; text-decoration: underline 1px transparent; text-underline-offset: 5px; transition: color var(--dur-1) var(--ease-out), text-decoration-color var(--dur-2) var(--ease-out); }
.footer-navigation a:hover { color: #fff; text-decoration-color: currentColor; }
.footer-contact-title { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(1.7rem,2.5vw,2.25rem); line-height: 1.1; letter-spacing: 0; margin: 0 0 16px; }
.footer-contact-copy { font-size: 1rem; color: #a8a8a8; line-height: 1.65; margin: 0 0 24px; max-width: 320px; }
.footer-whatsapp { display: flex; width: fit-content; max-width: 100%; gap: 12px; padding: 16px 18px; font-size: .875rem; line-height: 1.5; }
.footer-whatsapp>span:last-child { margin-left: auto; }
.footer-phone { display: flex; width: fit-content; align-items: center; min-height: 44px; font-size: .875rem; letter-spacing: .3px; color: #bcbcbc; margin-top: 4px; text-decoration: underline 1px transparent; text-underline-offset: 4px; transition: color var(--dur-1) var(--ease-out), text-decoration-color var(--dur-2) var(--ease-out); }
.footer-phone:hover { color: #fff; text-decoration-color: currentColor; }
.footer-connect { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 0; border-top: 1px solid #303030; border-bottom: 1px solid #303030; }
.footer-connect-label { font-size: .875rem; line-height: 1.6; color: #a8a8a8; margin: 0; }
.footer-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-socials a { display: flex; align-items: center; justify-content: center; gap: 11px; min-width: 44px; min-height: 44px; font-size: .875rem; color: #e2e2e2; transition: color var(--dur-1) var(--ease-out); }
.social-icon { display: block; object-fit: contain; flex: 0 0 20px; width: 20px; height: 20px; filter: brightness(0) invert(1); }
.footer-socials a .social-arrow { font-size: 1.1rem; color: #a8a8a8; transition: transform var(--dur-2) var(--ease-out), color var(--dur-1) var(--ease-out); }
.footer-socials a:hover { color: #fff; }
.footer-socials a:hover .social-arrow { transform: translate(2px,-2px); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 20px; }
.footer-bottom small { font-size: .75rem; line-height: 1.7; color: #a8a8a8; }
.footer-bottom small a { padding-block: 14px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom small a:hover { color: var(--text); }
.footer-bottom>a { font-size: .875rem; display: flex; align-items: center; gap: 14px; min-height: 44px; color: #c8c8c8; flex-shrink: 0; transition: color var(--dur-1) var(--ease-out); }
.footer-bottom>a > [aria-hidden="true"] { transition: transform var(--dur-2) var(--ease-out); }
.footer-bottom>a:hover { color: #fff; }
.footer-bottom>a:hover > [aria-hidden="true"] { transform: translateY(-3px); }
.footer-form { max-width: 100%; margin-bottom: 12px; }
@media (max-width: 600px) {
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .button { width: 100%; min-width: 0; }
  .footer-form { width: 100%; justify-content: space-between; }
}
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; }
  .footer-profile { grid-row: 1/3; }
  .footer-navigation { grid-column: 2; }
  .footer-contact { grid-column: 2; }
  .footer-label { margin-bottom: 18px; }
  .footer-connect { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (max-width: 600px) {
  .site-footer { padding: 48px 0 20px; }
  .footer-top { grid-template-columns: minmax(0,1fr); gap: 36px; padding-bottom: 36px; }
  .footer-profile { grid-row: auto; }
  .footer-navigation, .footer-contact { grid-column: 1; }
  .footer-navigation { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 16px; }
  .footer-navigation .footer-label { grid-column: 1/-1; margin-bottom: 12px; }
  .footer-profile .brand { margin-bottom: 20px; }
  .footer-name { font-size: 2rem; }
  .footer-contact-title { font-size: 2rem; }
  .footer-whatsapp { width: 100%; justify-content: flex-start; }
  .footer-socials { width: 100%; gap: 8px 22px; }
  .footer-socials a { gap: 8px; }
  .footer-socials .social-arrow { display: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
  .footer-bottom small { max-width: 100%; }
  .footer-connect { padding-block: 22px; }
  .contact-section .contact-whatsapp { padding-inline: 18px; gap: 10px; font-size: .9375rem; }
}

/* Diálogo de contato: cabeçalho fixo (botão fechar) e conteúdo rolável. */
dialog { width: min(560px, calc(100% - 32px)); max-width: none; max-height: min(880px, calc(100dvh - 48px)); padding: 0; overflow: hidden; color: var(--text); background: linear-gradient(160deg,#19191c,#0c0c0e 60%); border: 1px solid #47474e; border-radius: 6px; box-shadow: 0 0 0 1px #ffffff06, 0 40px 120px #000000d9, 0 0 90px #ffffff08; }
dialog[open] { display: flex; flex-direction: column; animation: dialog-in .5s var(--ease-out-expo); }
dialog::backdrop { background: #000000c2; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
dialog[open]::backdrop { animation: backdrop-in .4s var(--ease-out); }
#form-view, #success-view { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 44px 40px 36px; scrollbar-width: thin; scrollbar-color: #3c3c43 transparent; }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff1f; border-radius: 50%; background: #121214e6; color: #d4d4da; font-size: 24px; line-height: 1; transition: color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out-expo); }
.dialog-close:hover { color: var(--text); border-color: #ffffff59; background: #1c1c1f; transform: rotate(90deg); }
dialog .eyebrow { margin-bottom: 14px; padding-right: 56px; }
dialog h2 { font-size: 45px; line-height: .96; text-transform: uppercase; margin-bottom: 14px; padding-right: 40px; }
.dialog-intro { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.privacy-notice { margin: 0 0 6px; padding: 14px 16px; border: 1px solid #ffffff17; border-radius: 4px; background: #ffffff05; color: #babac2; font-size: 13.5px; line-height: 1.6; }
.privacy-notice a { color: var(--text); text-decoration: underline; text-decoration-color: #ffffff66; text-underline-offset: 3px; transition: text-decoration-color var(--dur-2) var(--ease-out); }
.privacy-notice a:hover { text-decoration-color: currentColor; }
form { display: flex; flex-direction: column; }
form label { font-size: 14px; font-weight: 500; color: #dcdce1; margin: 18px 0 8px; }
.optional { font-weight: 400; color: var(--muted); }
input:not([type="checkbox"]), select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #404048; border-radius: 4px; background-color: #0a0a0b; color: var(--text); font-size: 16px; line-height: 1.4; transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out); }
input:not([type="checkbox"]):hover, select:hover, textarea:hover { border-color: #5b5b64; }
input:not([type="checkbox"]):focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid transparent; outline-offset: 0; border-color: #dadadf; background-color: #0e0e10; box-shadow: 0 0 0 3px #f4f4f326; }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #ff9d9d; }
textarea { min-height: 116px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #8b8b96; font-size: 15px; opacity: 1; }
select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c8c8ce' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
select:invalid { color: #8b8b96; }
select option { background: #131315; color: var(--text); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; font-weight: 400; line-height: 1.55; color: #d2d2d8; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #f4f4f3; cursor: pointer; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 18px 0 0; padding: 12px 14px; border: 1px solid #ff9d9d4d; border-radius: 4px; background: #ff6b6b12; color: #ffc4c4; font-size: 14px; line-height: 1.55; }
form .submit { width: 100%; min-height: 58px; margin-top: 24px; padding-inline: 24px; justify-content: space-between; font-size: 15px; }
form .submit:disabled > [aria-hidden="true"] { animation: pending 1s ease-in-out infinite; }
#success-view { text-align: center; padding-block: 60px 44px; }
#success-view p:not(.eyebrow) { color: var(--muted); margin-block: 22px 28px; }
.success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border: 1px solid #5a5a62; border-radius: 50%; font-family: var(--font); font-size: 26px; margin-bottom: 26px; }
.restart-form { display: flex; margin: 16px auto 0; }
@media (max-width: 600px) {
  dialog { width: 100%; max-width: 100%; margin: auto 0 0; max-height: calc(100dvh - 24px); border-width: 1px 0 0; border-radius: 14px 14px 0 0; }
  dialog[open] { animation-name: sheet-in; }
  #form-view, #success-view { padding: 34px 20px calc(24px + env(safe-area-inset-bottom)); }
  dialog h2 { font-size: 40px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  dialog { max-height: calc(100dvh - 16px); }
  #form-view, #success-view { padding: 26px 28px 22px; }
  dialog h2 { font-size: 34px; margin-bottom: 8px; }
  .dialog-intro { margin-bottom: 14px; }
  form label { margin-top: 14px; }
}

/* Página legal */
.legal-page { width: min(760px,calc(100% - 32px)); margin: 0 auto; padding: 64px 0 96px; line-height: 1.65; }
.legal-page h1 { font-size: clamp(1.9rem,4vw,2.8rem); line-height: 1.15; letter-spacing: -.5px; margin: .3em 0 .4em; max-width: none; }
.legal-page h2 { font-size: 1.25rem; margin: 2.2em 0 .5em; }
.legal-page ul { padding-left: 1.2em; }
.legal-page li { margin: .35em 0; }
.legal-page a { text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { color: var(--muted); }
.legal-back { display: inline-flex; min-height: 44px; align-items: center; }

/* Camada de movimento progressiva: só onde o navegador suporta e o usuário permite. */
/* Altura estimada do conteúdo (sem padding) enquanto a seção ainda não foi renderizada. */
.site-footer, .contact-section { content-visibility: auto; }
.site-footer { contain-intrinsic-size: auto 614px; }
.contact-section { contain-intrinsic-size: auto 497px; }
@media (max-width: 1000px) { .site-footer { contain-intrinsic-size: auto 876px; } }
@media (max-width: 760px) { .contact-section { contain-intrinsic-size: auto 538px; } }
@media (max-width: 600px) { .site-footer { contain-intrinsic-size: auto 1132px; } }
@supports (animation-timeline: scroll()) {
  .header { background: #030303d9; border-bottom-color: #ffffff0f; animation: header-settle linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
  .header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg,#ffffff00,#f4f4f3 35%,var(--accent)); opacity: .45; transform: scaleX(0); transform-origin: left center; animation: read-progress linear both; animation-timeline: scroll(root); }
  @media (max-width: 760px) { .header { background: #030303dc; } }
}
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* A linha do tempo é a da grade (não fixa): cartão fixo estica a própria linha do tempo.
       Faixas derivadas de altura H = (grade - 68px) / 3, topos fixos 110/130/150 e margem 34px. */
    .solutions-grid { view-timeline: --stack block; view-timeline-inset: 0px; }
    .solution { transform-origin: 50% 0; }
    .solution:not(:last-child) { animation: card-recede linear both; animation-timeline: --stack; }
    .solution:nth-child(1) { animation-range: exit-crossing -76px exit-crossing calc(33.333% - 118.67px); }
    .solution:nth-child(2) { animation-range: exit-crossing calc(33.333% - 84.67px) exit-crossing calc(66.667% - 127.33px); }
    .solution::after { content: ''; position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; }
    .solution:not(:last-child)::after { animation: card-dim linear both; animation-timeline: --stack; animation-range: inherit; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .portrait-wrap img { scale: 1.08; animation: portrait-pan linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes header-settle { from { background-color: #03030300; border-bottom-color: #ffffff00; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); } }
@keyframes read-progress { to { transform: scaleX(1); } }
@keyframes card-recede { to { scale: .94; } }
@keyframes card-dim { to { opacity: .55; } }
@keyframes portrait-pan { from { translate: 0 -3%; } to { translate: 0 3%; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes sheet-in { from { transform: translateY(48px); opacity: 0; } }
@keyframes backdrop-in { from { opacity: 0; } }
@keyframes pending { 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  .hero-orbit { transform: translateX(-50%)!important; }
  .hero-actions .button:hover, .hero-actions .button:active { transform: rotate(-1deg); }
  .portrait-wrap:hover img { transform: none; }
  .solution { position: relative; top: auto!important; }
  .footer-socials a:hover .social-arrow { transform: none; }
  .header nav { transform: none; }
}
