:root{
  --navy-950:#040812;
  --navy-900:#0A1428;
  --navy-800:#102040;
  --navy-700:#1A3060;
  --navy-600:#224080;
  --navy-500:#2A4A88;
  --gold-300:#DCC186;
  --gold-400:#C9A864;
  --gold-500:#B8924E;
  --gold-600:#8F6E33;
  --gold-700:#6B5325;
  --ivory:#F6F1E7;
  --bone:#EDE5D2;
  --mist:#D9D4C5;
  --white:#FFFFFF;
  --ink:#0A1428;
  --line:rgba(201,168,100,.22);
  --line-strong:rgba(201,168,100,.5);
  --line-ink:rgba(10,20,40,.12);

  --ease-out:cubic-bezier(.2,.8,.2,1);
  --ease-in-out:cubic-bezier(.65,0,.35,1);
  --ease-expo:cubic-bezier(.16,1,.3,1);
  --ease-bounce:cubic-bezier(.34,1.56,.64,1);

  --container:1380px;
  --pad-x:64px;

  --gradient-navy:linear-gradient(135deg, #040812 0%, #0A1428 30%, #102040 65%, #1A3060 100%);
  --gradient-gold:linear-gradient(135deg, #B8924E 0%, #C9A864 50%, #DCC186 100%);
  --gradient-gold-horizontal:linear-gradient(90deg, #8F6E33 0%, #C9A864 50%, #DCC186 100%);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',sans-serif;
  font-weight:300;
  background:var(--gradient-navy);
  background-attachment:fixed;
  color:var(--ivory);
  overflow-x:hidden;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
body.is-loading{overflow:hidden;height:100vh}

img{display:block;max-width:100%;user-select:none;-webkit-user-drag:none}
button{font-family:inherit}
a{color:inherit;text-decoration:none}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--pad-x);
  width:100%;
}

/* ============================================================
   LOADER
   ============================================================ */
.loader{
  position:fixed;inset:0;z-index:10000;
  background:var(--navy-950);
  display:flex;align-items:center;justify-content:center;
  transition:opacity .4s var(--ease-in-out) 1.2s;
}
.loader.done{opacity:0;pointer-events:none}
.loader-curtain{
  position:absolute;left:0;right:0;height:50%;
  background:var(--navy-950);
  transition:transform 1.4s var(--ease-expo) .4s;
  z-index:1;
}
.loader-curtain-1{top:0;transform-origin:top}
.loader-curtain-2{bottom:0;transform-origin:bottom}
.loader.done .loader-curtain-1{transform:translateY(-100%)}
.loader.done .loader-curtain-2{transform:translateY(100%)}

.loader-inner{
  position:relative;z-index:2;
  width:min(460px, 85vw);
  display:flex;flex-direction:column;gap:28px;align-items:center;
  transition:opacity .6s, transform .8s var(--ease-expo);
}
.loader.done .loader-inner{opacity:0;transform:translateY(-20px)}
.loader-marker{
  font-size:10px;letter-spacing:.5em;text-transform:uppercase;
  color:var(--gold-400);
  opacity:0;
  animation:fadeIn .8s var(--ease-out) .1s forwards;
}
.loader-logo{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:80px;
}
.loader-logo-img{
  max-width:260px;
  max-height:80px;
  width:auto;height:auto;
  filter:brightness(0) invert(1);
  opacity:0;
  transform:translateY(20px) scale(.96);
  animation:loaderLogo 1.2s var(--ease-expo) .2s forwards, loaderPulse 2.4s ease-in-out 1.4s infinite;
}
@keyframes loaderLogo{
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes loaderPulse{
  0%,100%{filter:brightness(0) invert(1) drop-shadow(0 0 0 rgba(201,168,100,0))}
  50%{filter:brightness(0) invert(1) drop-shadow(0 0 24px rgba(201,168,100,.45))}
}
@keyframes fadeIn{ to{opacity:1} }
.loader-bar-wrap{
  width:100%;height:1px;
  background:rgba(246,241,231,.08);
  overflow:hidden;position:relative;
  opacity:0;
  animation:fadeIn .6s var(--ease-out) 1.1s forwards;
}
.loader-bar{
  height:100%;width:0;
  background:var(--gradient-gold-horizontal);
  transition:width .3s var(--ease-out);
}
.loader-meta{
  display:flex;justify-content:space-between;
  width:100%;
  font-size:10px;letter-spacing:.3em;text-transform:uppercase;
  color:rgba(246,241,231,.4);
  opacity:0;
  animation:fadeIn .6s var(--ease-out) 1.1s forwards;
}
.loader-pct{color:var(--gold-400)}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress{
  position:fixed;top:0;left:0;right:0;height:1px;
  background:rgba(201,168,100,.08);
  z-index:200;
}
.scroll-progress::after{
  content:'';display:block;height:100%;width:var(--p,0%);
  background:var(--gradient-gold-horizontal);
  transition:width .1s linear;
}

/* ============================================================
   NAV
   ============================================================ */
nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:24px 0;
  transition:padding .5s var(--ease-out), background .5s, backdrop-filter .5s, border .5s;
  transform:translateY(-100%);
  animation:navDrop 1.2s var(--ease-expo) 2s forwards;
}
@keyframes navDrop{ to{transform:translateY(0)} }
nav.scrolled{
  padding:12px 0;
  background:rgba(4,8,18,.85);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex;justify-content:space-between;align-items:center;
}
.logo{
  display:inline-flex;align-items:center;
  color:var(--ivory);
  position:relative;
}
.logo-img{
  height:44px;width:auto;
  transition:height .4s var(--ease-out);
}
nav.scrolled .logo-img{height:36px}
.logo-fallback,.footer-logo-fallback{
  font-family:'Cormorant Garamond',serif;
  font-weight:500;
  font-size:24px;
  letter-spacing:.32em;
  align-items:center;
}
.logo-text{color:var(--ivory)}
.logo-dot{color:var(--gold-400)}

.nav-links{
  display:flex;gap:4px;list-style:none;align-items:center;
}
.nav-links a{
  padding:10px 18px;
  color:var(--ivory);
  font-size:11px;
  font-weight:400;
  letter-spacing:.28em;
  text-transform:uppercase;
  position:relative;
  transition:color .3s;
}
.nav-links a::before{
  content:'';position:absolute;inset:auto 12px 4px;height:1px;
  background:var(--gold-400);
  transform:scaleX(0);transform-origin:right;
  transition:transform .5s var(--ease-expo);
}
.nav-links a:hover::before{transform:scaleX(1);transform-origin:left}
.nav-links a:hover{color:var(--gold-400)}

.burger{
  display:none;background:none;border:none;cursor:pointer;
  padding:8px;width:40px;height:40px;
  flex-direction:column;justify-content:center;gap:5px;align-items:flex-end;
}
.burger span{
  display:block;width:22px;height:1px;background:var(--ivory);
  transition:transform .4s var(--ease-expo), width .4s var(--ease-expo);
}
.burger span:last-child{width:14px}
.burger.open span:first-child{transform:translateY(3px) rotate(45deg);width:22px}
.burger.open span:last-child{transform:translateY(-3px) rotate(-45deg);width:22px}

.mobile-menu{
  position:fixed;inset:0;background:var(--navy-950);z-index:99;
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;transition:opacity .5s var(--ease-out);
}
.mobile-menu.open{opacity:1;pointer-events:all}
.mobile-menu ul{
  list-style:none;text-align:center;
  display:flex;flex-direction:column;gap:28px;
}
.mobile-menu a{
  color:var(--ivory);
  font-family:'Cormorant Garamond',serif;font-size:38px;letter-spacing:.02em;
  transform:translateY(30px);opacity:0;
  transition:all .7s var(--ease-expo);
}
.mobile-menu.open a{transform:translateY(0);opacity:1}
.mobile-menu.open li:nth-child(1) a{transition-delay:.1s}
.mobile-menu.open li:nth-child(2) a{transition-delay:.18s}
.mobile-menu.open li:nth-child(3) a{transition-delay:.26s}
.mobile-menu.open li:nth-child(4) a{transition-delay:.34s}
.mobile-menu.open li:nth-child(5) a{transition-delay:.42s}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  height:100vh;min-height:780px;
  position:relative;overflow:hidden;
  display:flex;align-items:center;
}
.hero-bg{
  position:absolute;inset:-10% 0;
  background-image:url('img/hero/hero1.jpg');
  background-size:cover;background-position:center;
  background-color:var(--navy-950);
  will-change:transform;
  transform:scale(1.12);
  filter:brightness(.55) contrast(1.05);
  animation:heroBreath 24s var(--ease-in-out) infinite alternate;
}
@keyframes heroBreath{
  from{transform:scale(1.08) translate(0,0)}
  to{transform:scale(1.16) translate(-2%,-1%)}
}
.hero-vignette{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse at center, rgba(4,8,18,.5) 0%, rgba(4,8,18,.8) 70%, rgba(4,8,18,.98) 100%),
    linear-gradient(180deg, rgba(4,8,18,.4) 0%, rgba(4,8,18,.25) 30%, rgba(4,8,18,.35) 70%, rgba(4,8,18,.98) 100%);
}
.hero-grain{
  position:absolute;inset:0;
  background-image:
    radial-gradient(rgba(201,168,100,.05) 1px, transparent 1px);
  background-size:3px 3px;
  opacity:.6;pointer-events:none;
}

.hero-layout{
  position:relative;z-index:3;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:48px;
  padding-top:120px;padding-bottom:80px;
  min-height:100vh;
  text-align:center;
}
.hero-title{
  font-family:'Cormorant Garamond',serif;
  font-weight:300;
  font-size:clamp(56px,8.5vw,140px);
  line-height:.95;letter-spacing:-.025em;
  padding:0;
  text-shadow:0 4px 40px rgba(0,0,0,.7), 0 2px 12px rgba(0,0,0,.5);
}
.hero-title em{
  font-style:italic;font-weight:500;
  color:var(--gold-300);
  display:inline-block;
}
.hero-title .line{display:block;overflow:hidden;padding:2px 0}
.hero-title .line-inner{
  display:block;
  transform:translateY(110%);
  transition:transform 1.4s var(--ease-expo);
}
body:not(.is-loading) .hero-title .line:nth-child(1) .line-inner{transition-delay:1.2s;transform:translateY(0)}
body:not(.is-loading) .hero-title .line:nth-child(2) .line-inner{transition-delay:1.35s;transform:translateY(0)}
body:not(.is-loading) .hero-title .line:nth-child(3) .line-inner{transition-delay:1.5s;transform:translateY(0)}

.hero-bottom{
  display:flex;flex-direction:column;align-items:center;gap:32px;
  opacity:0;animation:fadeIn 1.2s var(--ease-out) 2.2s forwards;
  max-width:640px;
}
.hero-desc{
  font-size:16px;letter-spacing:.01em;text-align:center;
  color:rgba(246,241,231,.82);line-height:1.75;
  text-shadow:0 2px 12px rgba(0,0,0,.6);
}
.hero-ctas{
  display:flex;gap:16px;justify-content:center;flex-wrap:wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  position:relative;
  display:inline-flex;align-items:center;gap:12px;
  padding:18px 34px;font-size:11px;letter-spacing:.3em;text-transform:uppercase;
  border:1px solid transparent;
  transition:all .5s var(--ease-out);
  cursor:pointer;font-weight:500;
  background:transparent;
  overflow:hidden;isolation:isolate;
}
.btn span{position:relative;z-index:2;display:inline-block;transition:transform .5s var(--ease-out)}
.btn svg{width:14px;height:14px;transition:transform .4s var(--ease-out);position:relative;z-index:2}
.btn:hover svg{transform:translateX(6px)}
.btn::before{
  content:'';position:absolute;inset:0;z-index:1;
  transition:transform .6s var(--ease-expo);
}
.btn-primary{
  background:var(--gradient-gold);
  color:var(--navy-950);
}
.btn-primary::before{
  background:linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
  transform:translateY(100%);
}
.btn-primary:hover::before{transform:translateY(0)}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 40px -15px rgba(201,168,100,.5);
}
.btn-primary:disabled{cursor:wait;opacity:.85;transform:none}
.btn-spinner{
  display:none;
  width:14px;height:14px;border-radius:50%;
  border:1.5px solid rgba(10,20,40,.2);
  border-top-color:var(--navy-950);
  position:relative;z-index:2;
  vertical-align:middle;
}
.btn.loading .btn-label{opacity:.4}
.btn.loading .btn-spinner{
  display:inline-block;
  animation:spin .7s linear infinite;
}
.btn.loading svg{display:none}
@keyframes spin{ to{transform:rotate(360deg)} }

.scroll-hint{
  position:absolute;bottom:40px;left:50%;transform:translateX(-50%);
  color:rgba(246,241,231,.5);font-size:10px;letter-spacing:.4em;text-transform:uppercase;
  display:flex;flex-direction:column;align-items:center;gap:14px;
  opacity:0;animation:fadeIn 1.2s 2.6s forwards;z-index:4;
}
.scroll-line{
  width:1px;height:50px;background:linear-gradient(var(--gold-400),transparent);
  animation:scrollLine 2.4s ease-in-out infinite;
  transform-origin:top;
}
@keyframes scrollLine{
  0%{transform:scaleY(0);transform-origin:top}
  50%{transform:scaleY(1);transform-origin:top}
  51%{transform-origin:bottom}
  100%{transform:scaleY(0);transform-origin:bottom}
}

/* ============================================================
   SECTIONS BASE
   ============================================================ */
section{padding:160px 0;position:relative}
.section-title{
  font-family:'Cormorant Garamond',serif;
  font-weight:300;
  font-size:clamp(44px,5.8vw,88px);
  line-height:1.02;letter-spacing:-.02em;
  margin-bottom:36px;
}
.section-title em{
  font-style:italic;font-weight:500;
  color:var(--gold-400);
}
.section-title em .word-inner,
.hero-title em .word-inner,
.engineer-hero-name em .word-inner{
  color:inherit;
}
.reveal-word em .word{overflow:visible}
.reveal-word em .word-inner{padding:0 .05em}

.reveal{
  opacity:0;transform:translateY(60px);
  transition:opacity 1.2s var(--ease-expo), transform 1.2s var(--ease-expo);
}
.reveal.in{opacity:1;transform:translateY(0)}

.reveal-word .word{
  display:inline-block;overflow:hidden;vertical-align:bottom;
}
.reveal-word .word-inner{
  display:inline-block;transform:translateY(100%);
  transition:transform 1s var(--ease-expo);
}
.reveal-word.in .word-inner,
.reveal-word.force-visible .word-inner{transform:translateY(0)}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto{
  background:linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  position:relative;overflow:hidden;
  padding:180px 0 160px;
}
.manifesto-inner{
  display:grid;grid-template-columns:1.15fr 1fr;
  gap:110px;align-items:start;
}
.manifesto-body{max-width:none;margin:0}
.manifesto-lead{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(26px,2.4vw,34px);
  line-height:1.3;font-weight:300;font-style:italic;
  color:var(--ivory);margin-bottom:56px;letter-spacing:-.01em;
}
.manifesto-body-grid{
  display:grid;grid-template-columns:1fr;gap:28px;
  margin-bottom:80px;
}
.manifesto-body-grid p{
  font-size:15.5px;line-height:1.85;color:rgba(246,241,231,.72);
}
.manifesto-facts{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:28px;padding-top:44px;border-top:1px solid var(--line);
}
.fact-num{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(48px,5vw,72px);line-height:1;font-weight:300;
  color:var(--gold-400);margin-bottom:12px;letter-spacing:-.02em;
}
.fact-label{
  font-size:10px;letter-spacing:.3em;text-transform:uppercase;
  color:rgba(246,241,231,.6);line-height:1.4;
}

.manifesto-visual{
  position:sticky;top:120px;
  aspect-ratio:4/5;
  overflow:hidden;
}
.manifesto-visual-img{
  position:absolute;inset:0;overflow:hidden;
}
.manifesto-visual-img img{
  width:100%;height:100%;object-fit:cover;
  filter:grayscale(.15) contrast(1.05);
  transition:transform 1.6s var(--ease-expo), filter 1s;
}
.manifesto-visual:hover .manifesto-visual-img img{
  transform:scale(1.05);filter:grayscale(0) contrast(1.08);
}
.manifesto-visual-frame{
  position:absolute;inset:0;
  border:1px solid rgba(201,168,100,.25);
  pointer-events:none;
  transition:inset .8s var(--ease-out) .3s;
}
.manifesto-visual.in .manifesto-visual-frame{inset:14px}

/* ============================================================
   PARTNERS — FUNDO NAVY, título centralizado, logos claros
   ============================================================ */
.partners{
  background:var(--navy-950);
  color:var(--ivory);
  padding:140px 0;
  border-top:1px solid rgba(201,168,100,.08);
  border-bottom:1px solid rgba(201,168,100,.08);
}
.partners-head{
  text-align:center;margin-bottom:70px;
}
.partners-title{
  font-family:'Cormorant Garamond',serif;
  font-weight:300;
  font-size:clamp(32px,4vw,56px);
  line-height:1.1;letter-spacing:-.015em;
  color:var(--ivory);
  max-width:840px;margin:0 auto;
}
.partners-title em{
  font-style:italic;font-weight:500;
  color:var(--gold-400);
}
.partners-grid{
  display:flex;justify-content:center;align-items:center;
  flex-wrap:wrap;gap:32px 56px;
  max-width:1200px;margin:0 auto;
}
.partner-logo{
  font-family:'Cormorant Garamond',serif;font-weight:400;font-style:italic;
  font-size:28px;color:rgba(246,241,231,.55);letter-spacing:.02em;
  transition:color .4s, transform .4s;
  cursor:default;white-space:nowrap;
}
.partner-logo:hover{color:var(--gold-400);transform:translateY(-3px)}

/* ============================================================
   PROJECTS — fundo ivory, cards com fotos escuras mantêm-se
   ============================================================ */
.projects{
  background:var(--ivory);
  color:var(--ink);
  padding:180px 0;
  overflow:hidden;
}
.projects-head{margin-bottom:80px}
.projects-head-inner{max-width:820px}
.projects .section-title{color:var(--ink)}
.projects .section-title em{color:var(--gold-600)}
.projects-head-inner .section-title{margin-bottom:24px}
.projects-head-inner p{
  color:rgba(10,20,40,.65);font-size:16px;max-width:540px;
}

.projects-scroll-wrap{position:relative}
.projects-scroll-track{
  display:flex;gap:28px;
  padding:0 var(--pad-x);
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
  scroll-behavior:smooth;
  margin-bottom:60px;
  cursor:grab;
  user-select:none;
}
.projects-scroll-track.dragging{
  cursor:grabbing;
  scroll-behavior:auto;
  scroll-snap-type:none;
}
.projects-scroll-track.dragging .project-card-inner{pointer-events:none}
.projects-scroll-track::-webkit-scrollbar{display:none}

.project-card{
  flex:0 0 clamp(320px, 28vw, 440px);
  scroll-snap-align:start;
  cursor:pointer;
  position:relative;
}
.project-card-inner{
  position:relative;
  aspect-ratio:3/4;
  overflow:hidden;
  background:var(--navy-800);
}
.project-card-img{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  transition:transform 1.4s var(--ease-expo), filter 1s;
  filter:grayscale(.2) brightness(.8);
  will-change:transform;
}
.project-card:hover .project-card-img{
  transform:scale(1.08);filter:grayscale(0) brightness(1);
}
.project-card-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(4,8,18,.2) 0%, rgba(4,8,18,.35) 40%, rgba(4,8,18,.95) 100%);
  transition:opacity .5s;
}
.project-card-label{
  position:absolute;top:24px;left:24px;z-index:3;
  font-size:10px;letter-spacing:.35em;text-transform:uppercase;
  color:var(--gold-400);
  padding:8px 14px;
  border:1px solid var(--line-strong);
  background:rgba(4,8,18,.5);
  backdrop-filter:blur(8px);
}
.project-card-content{
  position:absolute;bottom:0;left:0;right:0;padding:36px 32px;
  color:var(--ivory);z-index:2;
}
.project-card-title{
  font-family:'Cormorant Garamond',serif;font-weight:400;
  font-size:clamp(36px,3.2vw,48px);line-height:.95;letter-spacing:-.015em;
  margin-bottom:20px;
  transition:transform .6s var(--ease-expo);
}
.project-card:hover .project-card-title{transform:translateY(-6px)}
.project-card-cta{
  display:inline-flex;align-items:center;gap:10px;
  font-size:10px;letter-spacing:.35em;text-transform:uppercase;
  color:var(--gold-400);
  padding-top:12px;
  border-top:1px solid rgba(201,168,100,.3);
  transform:translateY(20px);opacity:0;
  transition:all .6s var(--ease-expo);
}
.project-card:hover .project-card-cta{transform:translateY(0);opacity:1}
.project-card-cta svg{width:12px;height:12px;transition:transform .4s}
.project-card:hover .project-card-cta svg{transform:translateX(4px)}

.projects-scroll-nav{position:relative;z-index:2}
.ps-nav-inner{
  display:flex;align-items:center;justify-content:space-between;gap:32px;
  max-width:600px;margin:0 auto;
}
.ps-prev,.ps-next{
  background:none;border:1px solid var(--line-ink);
  color:var(--ink);width:64px;height:64px;border-radius:50%;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:all .4s var(--ease-out);flex-shrink:0;
}
.ps-prev:hover,.ps-next:hover{
  border-color:var(--gold-600);color:var(--gold-600);
  background:rgba(143,110,51,.06);
  transform:scale(1.05);
}
.ps-prev:disabled,.ps-next:disabled{opacity:.25;cursor:not-allowed;transform:none}
.ps-prev:disabled:hover,.ps-next:disabled:hover{border-color:var(--line-ink);color:var(--ink);background:none;transform:none}
.ps-prev svg,.ps-next svg{width:20px;height:20px}
.ps-hint{
  font-size:10px;letter-spacing:.3em;text-transform:uppercase;
  color:rgba(10,20,40,.6);
  font-weight: 900;
  display:flex;align-items:center;gap:10px;
  margin-top:20px;text-align:center;justify-content:center;
}
.ps-hint svg{width:14px;height:14px;opacity:.6}

/* ============================================================
   PROCESS — números GRANDES visíveis
   ============================================================ */
.process{
  background:var(--navy-900);
  position:relative;overflow:hidden;
  padding:180px 0;
}
.process::before{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(201,168,100,.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(42,74,136,.25) 0%, transparent 50%);
  pointer-events:none;
}
.process .container{position:relative;z-index:2}
.process-head{
  text-align:center;margin-bottom:120px;max-width:720px;margin-left:auto;margin-right:auto;
}
.process-head p{
  color:rgba(246,241,231,.7);font-size:16px;line-height:1.75;
  max-width:540px;margin:0 auto;
}

.process-timeline{
  position:relative;
  max-width:880px;margin:0 auto;
  padding-left:100px;
}
.process-timeline-line{
  position:absolute;top:30px;bottom:30px;left:0;
  width:1px;background:rgba(201,168,100,.15);
  overflow:hidden;
}
.process-timeline-fill{
  position:absolute;top:0;left:0;right:0;
  background:var(--gradient-gold);
  height:0;
  transition:height .8s var(--ease-out);
}
.process-step{
  position:relative;
  padding:32px 0 72px 0;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:40px;
  align-items:start;
}
.process-step:last-child{padding-bottom:0}
.process-step-dot{
  position:absolute;left:-5px;top:48px;
  width:11px;height:11px;border-radius:50%;
  background:var(--navy-900);
  border:1px solid var(--gold-400);
  z-index:2;
  transition:all .5s var(--ease-bounce);
}
.process-step.in .process-step-dot{
  background:var(--gold-400);
  box-shadow:0 0 0 6px rgba(201,168,100,.15);
}
.process-step-num{
  font-family:'Cormorant Garamond',serif;font-weight:400;font-style:italic;
  font-size:clamp(80px,8vw,120px);
  line-height:.9;letter-spacing:-.03em;
  color:var(--gold-400);
  min-width:140px;
  opacity:.9;
}
.process-step-body h4{
  font-family:'Cormorant Garamond',serif;font-weight:400;
  font-size:clamp(30px,2.8vw,40px);letter-spacing:-.015em;
  margin-bottom:16px;line-height:1.1;
  color:var(--ivory);
  padding-top:16px;
}
.process-step-body p{
  font-size:15px;color:rgba(246,241,231,.7);line-height:1.8;
  max-width:560px;
}

/* ============================================================
   ENGINEERS — info embaixo da foto, pai ao lado direito
   ============================================================ */
.engineers{
  background:var(--ivory);color:var(--ink);
  padding:180px 0;position:relative;
}
.engineers .container{position:relative;z-index:2}
.engineers .section-title{color:var(--ink)}
.engineers .section-title em{color:var(--gold-600)}

.engineers-head{margin-bottom:100px;max-width:800px}

.engineers-main{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:80px;
  align-items:stretch;
}

.engineer-hero{
  display:flex;flex-direction:column;gap:40px;
}
.engineer-hero-img{
  position:relative;
  aspect-ratio:4/5;
  background:var(--mist);
}
.engineer-hero-img img{
  width:100%;height:100%;object-fit:cover;
  transition:filter 1s, transform 1.4s var(--ease-expo);
}
.engineer-hero:hover .engineer-hero-img img{
  filter:grayscale(0) contrast(1.05);
  transform:scale(1.04);
}
.engineer-hero-frame{
  position:absolute;inset:0;
  border:1px solid transparent;
  transition:border-color .8s var(--ease-out) .3s, inset .8s var(--ease-out) .3s;
  pointer-events:none;
}
.engineer-hero.in .engineer-hero-frame{
  border-color:rgba(143,110,51,.4);
  inset:12px;
}

.engineer-hero-info{padding:0}
.engineer-hero-role{
  display:flex;align-items:center;gap:14px;
  font-size:10px;letter-spacing:.4em;text-transform:uppercase;
  color:var(--gold-600);margin-bottom:24px;
}
.role-line{width:40px;height:1px;background:var(--gold-600);flex-shrink:0}
.engineer-hero-name{
  font-family:'Cormorant Garamond',serif;font-weight:300;
  font-size:clamp(40px,4.2vw,60px);
  line-height:1;letter-spacing:-.02em;
  margin-bottom:18px;
  color:var(--ink);
}
.engineer-hero-name em{
  font-style:italic;font-weight:500;
  color:var(--gold-600);
}
.engineer-hero-crea{
  display:inline-block;
  font-size:11px;letter-spacing:.3em;text-transform:uppercase;
  color:rgba(10,20,40,.55);
  padding:7px 15px;
  border:1px solid var(--line-ink);
  margin-bottom:28px;
}
.engineer-hero-bio{
  font-size:15px;line-height:1.85;color:rgba(10,20,40,.72);
  max-width:560px;
}

/* PAI — coluna direita */
.engineer-aside{
  align-self:center;
  padding-left:40px;
  border-left:1px solid var(--line-ink);
  display:flex;flex-direction:column;gap:24px;
}
.engineer-aside-img{
  width:100%;
  max-width:360px;
  overflow:hidden;
  background:var(--mist);
}
.engineer-aside-img img{
  width:100%;height:100%;object-fit:cover;
  transition:filter .8s, transform 1.2s;
}
.engineer-aside:hover .engineer-aside-img img{
  filter:grayscale(0);transform:scale(1.04);
}
.engineer-aside-info{padding:0}
.engineer-aside-label{
  font-size:10px;letter-spacing:.35em;text-transform:uppercase;
  color:var(--gold-600);margin-bottom:10px;
}
.engineer-aside-name{
  font-family:'Cormorant Garamond',serif;font-weight:400;
  font-size:28px;letter-spacing:-.01em;margin-bottom:14px;
  color:var(--ink);
  line-height:1.1;
}
.engineer-aside-role-inline{
  font-style:italic;color:rgba(10,20,40,.55);font-weight:300;
  font-size:.85em;
}
.engineer-aside-bio{
  font-size:13.5px;line-height:1.75;color:rgba(10,20,40,.65);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials{
  background:linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
  padding:180px 0;position:relative;overflow:hidden;
}
.testimonials-head{
  text-align:center;margin-bottom:80px;
}
.testimonial-slider{
  position:relative;max-width:960px;margin:0 auto;
}
.testimonial-track{
  position:relative;
  min-height:380px;
}
.testimonial-slide{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:0 40px;
  opacity:0;
  transform:translateX(60px);
  transition:opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
  pointer-events:none;
}
.testimonial-slide.active{
  opacity:1;transform:translateX(0);
  pointer-events:auto;
  transition-delay:.1s;
}
.testimonial-slide.leaving{
  opacity:0;transform:translateX(-60px);
  transition-duration:.5s;
}
.testimonial-mark{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;font-weight:300;
  font-size:160px;line-height:.5;height:70px;
  color:var(--gold-400);opacity:.4;
  margin-bottom:20px;
}
.testimonial-text{
  font-family:'Cormorant Garamond',serif;
  font-weight:300;font-style:italic;
  font-size:clamp(22px,2.6vw,34px);line-height:1.45;letter-spacing:-.005em;
  color:var(--ivory);margin-bottom:48px;
  max-width:820px;
}
.testimonial-author{display:flex;flex-direction:column;gap:6px}
.testimonial-name{
  font-size:11px;letter-spacing:.35em;text-transform:uppercase;
  color:var(--gold-400);font-weight:500;
}
.testimonial-role{
  font-family:'Cormorant Garamond',serif;font-style:italic;
  font-size:15px;color:rgba(246,241,231,.6);
}
.testimonial-controls{
  display:flex;align-items:center;justify-content:center;gap:40px;
  margin-top:72px;
}
.testimonial-prev,.testimonial-next{
  background:none;border:1px solid var(--line);
  color:var(--ivory);width:52px;height:52px;border-radius:50%;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:all .4s var(--ease-out);
}
.testimonial-prev:hover,.testimonial-next:hover{
  border-color:var(--gold-400);color:var(--gold-400);
  background:rgba(201,168,100,.05);
  transform:scale(1.08);
}
.testimonial-prev svg,.testimonial-next svg{width:18px;height:18px}
.testimonial-counter{
  font-family:'Cormorant Garamond',serif;
  color:rgba(246,241,231,.55);letter-spacing:.2em;
  display:flex;align-items:center;gap:10px;font-size:14px;
}
.testimonial-counter em{color:var(--gold-400);font-style:italic;font-size:22px}

/* ============================================================
   CONTACT
   ============================================================ */
.contact{
  position:relative;overflow:hidden;
  padding:180px 0 140px;
}
.contact-bg{
  position:absolute;inset:-10% 0;
  background-image:url('img/contato/hero3.jpg');
  background-size:cover;background-position:center;
  background-color:var(--navy-900);
  will-change:transform;filter:brightness(.4);
}
.contact-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(4,8,18,.88) 0%, rgba(10,20,40,.92) 50%, rgba(4,8,18,.95) 100%);
}
.contact .container{position:relative;z-index:2}
.contact-head{text-align:center;max-width:760px;margin:0 auto 90px}
.contact-head p{
  color:rgba(246,241,231,.75);font-size:16px;max-width:580px;margin:0 auto;line-height:1.8;
}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:80px;
  align-items:stretch;
}
.contact-info{
  display:flex;flex-direction:column;
  padding-right:20px;
}
.contact-items{display:flex;flex-direction:column;gap:0;flex:1}
.contact-item{
  display:flex;align-items:center;gap:24px;
  flex:1;
  min-height:100px;
  border-bottom:1px solid var(--line);
  color:var(--ivory);transition:padding-left .5s var(--ease-out);
  position:relative;
}
.contact-item::before{
  content:'';position:absolute;bottom:-1px;left:0;width:0;height:1px;
  background:var(--gold-400);transition:width .6s var(--ease-expo);
}
.contact-item:hover::before{width:100%}
.contact-item:not(.static):hover{padding-left:12px}
.contact-item:last-child{border:none}
.contact-icon{
  width:48px;height:48px;border-radius:50%;
  border:1px solid var(--line-strong);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold-400);flex-shrink:0;
  transition:all .4s var(--ease-expo);
}
.contact-item:hover .contact-icon{
  background:rgba(201,168,100,.1);
  border-color:var(--gold-400);
  transform:rotate(-8deg);
}
.contact-icon svg{width:18px;height:18px}
.contact-item-body{flex:1}
.contact-label{
  font-size:10px;letter-spacing:.3em;text-transform:uppercase;
  color:rgba(246,241,231,.55);margin-bottom:6px;
}
.contact-value{
  font-family:'Cormorant Garamond',serif;font-size:22px;color:var(--ivory);
  transition:color .3s;
}
.contact-item:hover .contact-value{color:var(--gold-400)}
.contact-arrow{
  width:40px;height:40px;color:var(--gold-400);
  display:flex;align-items:center;justify-content:center;
  opacity:0;transform:translateX(-10px);transition:all .4s var(--ease-expo);
}
.contact-item:hover .contact-arrow{opacity:1;transform:translateX(0)}
.contact-arrow svg{width:16px;height:16px}

.form-wrap{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  padding:56px 48px;
  backdrop-filter:blur(8px);
}
.form-wrap h3{
  font-family:'Cormorant Garamond',serif;font-weight:400;
  font-size:34px;margin-bottom:10px;letter-spacing:-.01em;
}
.form-wrap h3 em{font-style:italic;color:var(--gold-400)}
.form-wrap > p{
  font-size:13px;color:rgba(246,241,231,.6);margin-bottom:36px;
}
form{display:flex;flex-direction:column;gap:28px}
.form-group{position:relative}
.form-group label{
  position:absolute;top:14px;left:0;
  font-size:12px;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(246,241,231,.55);pointer-events:none;
  transition:all .4s var(--ease-expo);
}
.form-group input,.form-group textarea{
  width:100%;background:transparent;border:none;
  padding:14px 0 10px;font-family:inherit;font-size:15px;color:var(--ivory);
  outline:none;border-bottom:1px solid var(--line);
}
.form-underline{
  position:absolute;bottom:0;left:0;height:1px;
  background:var(--gold-400);width:0;transition:width .5s var(--ease-expo);
}
.form-group input:focus ~ .form-underline,
.form-group textarea:focus ~ .form-underline{width:100%}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label{
  top:-14px;font-size:9px;color:var(--gold-400);letter-spacing:.3em;
}
.form-group textarea{resize:vertical;min-height:100px}
form button{align-self:flex-start;margin-top:12px}

.form-consent{
  display:flex;align-items:flex-start;gap:10px;
  font-size:12px;line-height:1.5;
  color:rgba(246,241,231,.6);
  letter-spacing:.01em;
  cursor:pointer;
  margin-top:4px;
}
.form-consent input[type="checkbox"]{
  appearance:none;-webkit-appearance:none;
  width:16px;height:16px;flex:none;
  border:1px solid rgba(201,168,100,.4);
  background:transparent;
  border-radius:2px;
  cursor:pointer;position:relative;top:2px;
  transition:all .2s;
}
.form-consent input[type="checkbox"]:checked{
  background:var(--gold-400);border-color:var(--gold-400);
}
.form-consent input[type="checkbox"]:checked::after{
  content:"";position:absolute;left:4px;top:0px;
  width:5px;height:10px;
  border:solid var(--navy-950);
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.form-consent input[type="checkbox"]:focus-visible{
  outline:2px solid var(--gold-400);outline-offset:2px;
}

.form-status{
  font-size:13px;margin-top:4px;
  min-height:20px;letter-spacing:.02em;
  line-height:1.5;
}
.form-status.success{color:#9BC79B}
.form-status.error{color:#E38C8C}
.btn.sent{
  background:rgba(155,199,155,.15)!important;
  border-color:rgba(155,199,155,.4);
  color:#9BC79B;
  cursor:default;
  pointer-events:none;
}
.btn.sent::before{display:none}
.btn.sent .btn-label{opacity:1;color:#9BC79B}

/* ============================================================
   FOOTER — limpo, logo pequena acima do texto
   ============================================================ */
footer{
  background:#020510;
  padding:100px 0 40px;
  border-top:1px solid var(--line);
  position:relative;overflow:hidden;
}
.footer-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr;gap:80px;margin-bottom:60px;
}
.footer-about{display:flex;flex-direction:column;gap:20px}
.footer-logo{
  height:115px;width:auto;align-self:flex-start;
}
.footer-about p{
  font-size:14px;color:rgba(246,241,231,.55);line-height:1.75;
  max-width:400px;
}
.footer-col h5{
  font-size:10px;letter-spacing:.3em;text-transform:uppercase;
  color:var(--gold-400);margin-bottom:20px;font-weight:400;
}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:12px}
.footer-col a,.footer-col span{
  color:rgba(246,241,231,.6);font-size:14px;transition:color .3s;
}
.footer-col a:hover{color:var(--gold-400)}
.footer-bottom{
  padding-top:32px;
  border-top:1px solid rgba(201,168,100,.15);
  display:flex;justify-content:space-between;align-items:center;
  font-size:11px;color:rgba(246,241,231,.35);letter-spacing:.15em;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal{
  position:fixed;inset:0;z-index:1000;
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;
  transition:opacity .5s var(--ease-out), visibility .5s;
}
.modal-bg{
  position:absolute;inset:0;
  background:rgba(4,8,18,.97);
  backdrop-filter:blur(28px);
  opacity:0;transition:opacity .6s var(--ease-out);
}
.modal.open{opacity:1;visibility:visible}
.modal.open .modal-bg{opacity:1}
.modal-close{
  position:absolute;top:28px;right:40px;z-index:10;
  background:none;border:1px solid var(--line-strong);
  color:var(--ivory);width:52px;height:52px;border-radius:50%;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:all .4s var(--ease-expo);
  transform:scale(0) rotate(-90deg);
}
.modal.open .modal-close{transform:scale(1) rotate(0);transition-delay:.6s}
.modal-close:hover{border-color:var(--gold-400);color:var(--gold-400);transform:rotate(90deg) scale(1.1)}
.modal-close svg{width:18px;height:18px}
.modal-header{
  position:absolute;top:40px;left:56px;z-index:10;
  opacity:0;transform:translateY(-20px);
  transition:all .6s var(--ease-expo);
}
.modal.open .modal-header{opacity:1;transform:translateY(0);transition-delay:.7s}
.modal-header .eyebrow{
  font-size:10px;letter-spacing:.4em;text-transform:uppercase;color:var(--gold-400);margin-bottom:6px;
}
.modal-header h3{
  font-family:'Cormorant Garamond',serif;font-weight:400;
  font-size:40px;color:var(--ivory);letter-spacing:-.01em;
}
.modal-body{
  position:relative;z-index:5;
  width:100%;max-width:1400px;padding:0 80px;
  display:flex;align-items:center;gap:28px;
  opacity:0;transform:scale(.94);
  transition:all .8s var(--ease-expo);
}
.modal.open .modal-body{opacity:1;transform:scale(1);transition-delay:.5s}
.modal-prev,.modal-next{
  background:none;border:1px solid var(--line-strong);
  color:var(--ivory);width:58px;height:58px;border-radius:50%;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  flex-shrink:0;transition:all .4s var(--ease-expo);
}
.modal-prev:hover,.modal-next:hover{
  border-color:var(--gold-400);color:var(--gold-400);
  background:rgba(201,168,100,.08);transform:scale(1.08);
}
.modal-prev svg,.modal-next svg{width:20px;height:20px}
.modal-track-wrap{flex:1;overflow:hidden;position:relative}
.modal-track{
  display:flex;gap:20px;
  transition:transform .9s var(--ease-expo);
  will-change:transform;
}
.modal-track.no-transition{transition:none}
.modal-slide{
  flex:0 0 calc((100% - 40px) / 3);
  aspect-ratio:3/4;overflow:hidden;position:relative;
  background:var(--navy-800);
}
.modal-slide img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 1.5s var(--ease-expo), opacity .8s;
  opacity:0;
}
.modal-slide img.loaded{opacity:1}
.modal-slide:hover img{transform:scale(1.08)}
.modal-footer{
  position:absolute;bottom:40px;left:50%;transform:translateX(-50%);
  z-index:10;opacity:0;
  transition:opacity .5s var(--ease-out);
}
.modal.open .modal-footer{opacity:1;transition-delay:.9s}
.modal-counter{
  font-family:'Cormorant Garamond',serif;font-size:15px;
  color:rgba(246,241,231,.6);letter-spacing:.15em;
  display:flex;align-items:center;gap:10px;
}
.modal-counter em{color:var(--gold-400);font-style:italic;font-size:22px}
.modal-counter span{color:rgba(246,241,231,.4)}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px){
  :root{ --pad-x:40px }
  .manifesto-inner{grid-template-columns:1fr;gap:60px}
  .manifesto-visual{position:relative;top:auto;max-width:520px;margin:0 auto;width:100%}
  .engineers-main{grid-template-columns:1fr;gap:60px}
  .engineer-aside{border-left:none;padding-left:0;border-top:1px solid var(--line-ink);padding-top:60px;align-self:start}
  .engineer-aside-img{max-width:280px}
}
@media (max-width: 900px){
  .manifesto-body-grid{grid-template-columns:1fr;gap:28px;margin-bottom:60px}
  .manifesto-facts{grid-template-columns:1fr;gap:32px}
  .contact-grid{grid-template-columns:1fr;gap:56px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:48px}
  .partners-grid{justify-content:center;gap:28px 40px}
  .process-timeline{padding-left:60px}
  .process-step{grid-template-columns:1fr;gap:8px}
  .process-step-num{min-width:auto;padding-left:24px}
  .process-step-body h4{padding-top:0;padding-left:24px}
  .process-step-body p{padding-left:24px}
  .process-step-dot{top:60px}
}
@media (max-width: 768px){
  :root{ --pad-x:24px }
  section{padding:100px 0}
  nav{padding:16px 0}
  nav.scrolled{padding:10px 0}
  .nav-links{display:none}
  .burger{display:flex}
  .logo-img{height:38px}

  .hero{min-height:720px;padding:0}
  .hero-layout{padding-top:100px;padding-bottom:60px;gap:32px}
  .hero-desc{font-size:14px}
  .hero-ctas{width:100%;padding:0 8px;justify-content:center}
  .btn{justify-content:center;padding:16px 28px}

  .section-title{font-size:clamp(36px,9vw,52px)}
  .manifesto{padding:120px 0 100px}
  .manifesto-lead{font-size:22px;margin-bottom:40px}
  .fact-num{font-size:48px}

  .partners{padding:90px 0}
  .partners-title{font-size:28px}
  .partners-grid{gap:24px 32px}
  .partner-logo{font-size:22px}

  .projects{padding:120px 0}
  .projects-head{margin-bottom:56px}
  .project-card{flex:0 0 80vw}
  .projects-scroll-track{gap:16px}

  .process{padding:120px 0}
  .process-head{margin-bottom:80px}
  .process-timeline{padding-left:30px}
  .process-step-num{font-size:52px;padding-left:18px}
  .process-step-body h4{padding-left:18px}
  .process-step-body p{padding-left:18px}
  .process-step-dot{top:36px}

  .engineers{padding:120px 0}
  .engineers-head{margin-bottom:60px}
  .engineer-hero-name{font-size:36px}
  .engineer-aside-img{max-width:220px;margin:0 auto}
  .engineer-aside-name{font-size:22px;text-align:center}
  .engineer-aside-label{text-align:center}
  .engineer-aside-bio{text-align:center}

  .testimonials{padding:120px 0}
  .testimonial-text{font-size:20px}
  .testimonial-mark{font-size:120px}
  .testimonial-track{min-height:440px}
  .testimonial-controls{gap:20px;margin-top:48px}

  .contact{padding:120px 0 80px}
  .contact-head{margin-bottom:60px}
  .form-wrap{padding:36px 28px}
  .contact-value{font-size:18px}

  .footer-grid{grid-template-columns:1fr;gap:40px;margin-bottom:40px}
  .footer-bottom{flex-direction:column;gap:16px;text-align:center}

  .modal-body{padding:0 16px;gap:10px}
  .modal-prev,.modal-next{width:44px;height:44px}
  .modal-slide{flex:0 0 100%}
  .modal-header{top:72px;left:24px;right:80px}
  .modal-header h3{font-size:24px}
  .modal-close{top:20px;right:20px;width:44px;height:44px}
  .modal-footer{bottom:28px}
}
