/* ===== MoovenFornax — Apresentação Comercial ===== */

@font-face{
  font-family: 'Marlin Geo';
  src: url('../fonts/marlin-geo/MarlinGeo-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Marlin Geo';
  src: url('../fonts/marlin-geo/MarlinGeo-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: 'Marlin Geo';
  src: url('../fonts/marlin-geo/MarlinGeo-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Marlin Geo';
  src: url('../fonts/marlin-geo/MarlinGeo-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Marlin Geo';
  src: url('../fonts/marlin-geo/MarlinGeo-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Marlin Geo';
  src: url('../fonts/marlin-geo/MarlinGeo-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Marlin Geo Black';
  src: url('../fonts/marlin-geo/MarlinGeo-Black.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Marlin Geo ExtraBlack';
  src: url('../fonts/marlin-geo/MarlinGeo-ExtraBlack.otf') format('opentype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root{
  --blue: #0057FF;
  --blue-dark: #003FC4;
  --navy: #0B1224;
  --green: #39E75F;
  --green-2: #7BEE4A;
  --lime: #D7FA3C;
  --ink: #14161A;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --line: #E5E7EB;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --radius: 14px;
  --maxw: 1440px;
  --ff: 'Marlin Geo', 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --ff-black: 'Marlin Geo Black', 'Marlin Geo', sans-serif;
  --ff-xblack: 'Marlin Geo ExtraBlack', 'Marlin Geo', sans-serif;
}

*{ box-sizing: border-box; }
html, body{
  height: 100%;
  overflow: hidden;
}
body{
  margin:0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ---------- Spatial room navigation ---------- */
/* Each section is a "room" placed on a 2D grid (--col / --row, in 100vw/100vh
   units). #stage is translated so the active room fills #viewport; wheel/key/
   touch input is handled in room-nav.js, which always reads as up/down but
   moves the stage in whichever direction the next room actually sits. */
#viewport{
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
}
#stage{
  position: relative;
  width: 500vw;
  height: 500vh;
  transition: transform 900ms cubic-bezier(.65,.05,.36,1);
  will-change: transform;
}

/* Each major block reproduces one slide: 16:9, one room on the grid */
.slide{
  position: absolute;
  left: calc(var(--col, 0) * 100vw);
  top: calc(var(--row, 0) * 100vh);
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scrollbar-width: none;
}
.slide::-webkit-scrollbar{ display:none; }
.slide > .wrap{
  width: 100%;
}

/* ---------- Room dot navigation ---------- */
#room-dots{
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 7px;
  background: rgba(11,18,36,.28);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
#room-dots button{
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
#room-dots button:hover{ background: rgba(255,255,255,.8); }
#room-dots button.active{ background: #fff; transform: scale(1.35); }
@media (max-width: 640px){
  #room-dots{ right: 10px; gap: 8px; padding: 10px 6px; }
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow{
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: clamp(.72rem, 1vw, .95rem);
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 28px;
}
section.on-blue .eyebrow, .on-blue .eyebrow{ color: rgba(255,255,255,.7); }
h1,h2,h3{
  font-family: var(--ff-black);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
/* Big display headlines (h1/h2) are set in caps in the source deck,
   with tight (~80% / 60%) PowerPoint line spacing. h3 subheads stay mixed-case. */
h1, h2{
  text-transform: uppercase;
  line-height: .92;
  white-space: nowrap;
}
.mark{
  position: relative;
  z-index: 1;
  background: var(--green);
  color: var(--ink);
  padding: 0 .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* Sits just above a following .mark line so tight leading never lets the
   highlight background paint over this line's descenders/accents. */
.line-top{
  position: relative;
  z-index: 2;
}
.text-accent{ color: var(--green); }
.lede{
  font-family: var(--ff);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.94vw, 2.1rem);
  line-height: 1.4;
  color: var(--gray);
  max-width: 60ch;
}
.on-blue .lede{ color: rgba(255,255,255,.82); }
.lede-caps{
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-dark{ background: var(--ink); color:#fff; }
.btn-dark:hover{ background:#000; }
.btn-light{ background: #fff; color: var(--ink); }

/* ---------- Brand lockup (appears on every room, top-right) ---------- */
.brand-lockup{
  position: absolute;
  top: 40px;
  right: 40px;
  display:flex;
  align-items:center;
  gap:16px;
  z-index: 20;
}
.brand-mooven{
  display:flex;
  align-items:center;
  gap:6px;
}
.brand-mooven img{ height: 30px; width:auto; }
.brand-sep{
  width:1px;
  height: 32px;
  background: rgba(255,255,255,.25);
}
.brand-lockup.on-light .brand-sep{ background: rgba(20,22,26,.18); }
.brand-fornax img{ height: 30px; width: auto; }

/* ---------- Hero ---------- */
.hero{
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color:#fff;
  padding: 96px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::after{
  content:"";
  position:absolute;
  right:-120px; top:-160px;
  width:520px; height:520px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 70%);
}
.hero .eyebrow{ color: rgba(255,255,255,.75); margin-bottom: 36px; }
.hero h1{
  font-family: var(--ff);
  font-weight: 700;
  font-size: clamp(2.5rem, 7.2vw, 8.6rem);
  white-space: nowrap;
  color:#fff;
}
.hero .lede{
  margin-top: 60px;
  max-width: 46ch;
}

/* ---------- Split section (Combinados / Propósito) ---------- */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
}
.slide.split .split-panel{
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.split-panel{ padding: 76px 56px; }
.split-panel.white{ background: var(--bg); }
.split-panel.blue{ background: var(--blue); color:#fff; }
.stat{
  display:flex;
  align-items:center;
  gap: 8px;
  margin: 26px 0 34px;
}
.stat .plus{
  font-family: var(--ff-xblack);
  font-size: clamp(2.4rem, 9vw, 10rem);
  color: var(--green);
  line-height:1;
}
.stat .num{
  font-family: var(--ff-xblack);
  font-size: clamp(5rem, 19.93vw, 18rem);
  line-height: .9;
  letter-spacing: -0.03em;
}
.split-panel.white h2{
  font-family: var(--ff);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.75vw, 4.5rem);
}
.split-panel.blue h2{
  font-size: clamp(1.9rem, 4.583vw, 5.5rem);
}
.split-panel p{ font-family: var(--ff); font-weight:300; font-size: clamp(1rem, 1.39vw, 1.667rem); line-height:1.5; margin-top: 22px; color: var(--gray); max-width: 46ch; }
.split-panel.blue p{ color: rgba(255,255,255,.85); }
.quote{
  font-family: var(--ff);
  font-size: clamp(1.15rem, 2.04vw, 2.45rem);
  font-weight: 400;
  font-style: italic;
  max-width: 30ch;
  margin: 18px 0 40px;
  color: #fff;
}

/* ---------- Section shell ---------- */
.section{ padding: 88px 0; }
.section-head{ margin-bottom: 44px; max-width: 62ch; }
.section-head h2{ font-size: clamp(2rem, 8vw, 9.583rem); margin-top: 30px; }
#servicos .section-head h2{ font-size: clamp(1.9rem, 6vw, 7rem); }
.section-head .lede{ margin-top: 34px; }
.section-blue{ background: var(--blue); color:#fff; }

/* ---------- Services list (Evoluir é construir) ---------- */
.services-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: 100%;
  border-top: 1px solid var(--line);
  padding: 32px 28px 0;
}
.services-grid .service-item{
  padding: 0 22px;
  border-left: 1px solid var(--line);
}
.services-grid .service-item:first-child{ border-left:none; padding-left:0; }
.service-item strong{ font-family: var(--ff); font-weight:700; display:block; margin-bottom: 4px; font-size: clamp(1.2rem, 1.7vw, 2.1rem); }
.service-item span{ font-family: var(--ff); font-weight:300; color: var(--gray); font-size: clamp(.9rem, 1.1vw, 1.3rem); }

/* ---------- Offerings table (Ofertas integradas) ---------- */
.offer-section.slide{ padding: 0; justify-content: flex-start; }
.offer-header{
  background: var(--blue);
  padding: 56px 28px;
  text-align: center;
}
@media (max-height: 820px){
  .offer-header{ padding: 34px 28px; }
}
.offer-header h2{
  font-size: clamp(1.6rem, 2.917vw, 3.5rem);
  line-height: 1.05;
  white-space: normal;
  color: #fff;
}
.offer-cols-wrap{ width: 100%; padding: 56px 28px; }
.offer-cols{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.offer-col{
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.offer-col:first-child{ border-left:none; padding-left:0; }
.offer-col h3{
  font-family: var(--ff);
  font-size: clamp(1.2rem, 1.7vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  min-height: 4.4em;
}
.offer-col .rule{
  height: 3px; width: 46px;
  background: var(--green);
  margin: 16px 0 22px;
}
.offer-col ul{
  list-style: none;
  padding:0; margin:0;
  display:flex; flex-direction:column;
  gap: 16px;
}
.offer-col li{
  font-family: var(--ff);
  font-weight: 300;
  font-size: clamp(.9rem, 1.1vw, 1.3rem);
  color: var(--gray);
  line-height:1.45;
}

/* ---------- How we do it (Clareza. Ação. Resultado.) ---------- */
#como-fazemos h2{ font-size: clamp(1.9rem, 6vw, 7rem); }
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 34px;
}
.step{
  padding: 0 30px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.step:first-child{ border-left:none; padding-left:0; }
.step .step-num{
  color: var(--green);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 10px;
}
.step h3{ font-family: var(--ff); font-weight:700; font-size: clamp(1.2rem, 1.7vw, 2.1rem); margin-bottom: 10px; }
.step p{ font-family: var(--ff); font-weight:300; color: rgba(255,255,255,.8); font-size: clamp(.9rem, 1.1vw, 1.3rem); margin:0; }

/* ---------- Differentials ---------- */
.diff-wrap{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
}
.diff-left{
  background: var(--blue);
  color:#fff;
  padding: 76px 56px;
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.diff-right{ grid-auto-rows: 1fr; }
.diff-card{ display:flex; flex-direction:column; justify-content:center; }
.diff-left h2{ font-size: clamp(1.8rem, 4.4vw, 5.2rem); margin-top: 30px; }
.diff-left h2 .mark{ background: var(--green); }
.diff-left p{ font-family: var(--ff); font-weight:300; font-size: clamp(1rem, 1.94vw, 2.333rem); line-height:1.2; margin-top: 34px; color: rgba(255,255,255,.85); max-width: 38ch; }
.diff-right{
  display:grid;
  grid-template-columns: 1fr 1fr;
}
.diff-card{
  padding: 40px 42px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.diff-right .diff-card:nth-child(odd){ border-left:none; }
.diff-right .diff-card:nth-child(-n+2){ border-top:none; }
.diff-card h3{ font-family: var(--ff); font-weight:700; font-size: clamp(1rem, 1.4vw, 1.8rem); margin-bottom: 10px; }
.diff-card p{ font-family: var(--ff); font-weight:300; color: var(--gray); font-size: clamp(.85rem, 1vw, 1.25rem); margin:0; }

/* ---------- Projects / cases ---------- */
#projetos .section-head h2{ font-size: clamp(2rem, 4.4vw, 5.4rem); }
.projects-grid{
  display:grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 64px;
  align-items:center;
}
.projects-grid .section-head{ margin-bottom:0; }
.projects-grid .eyebrow{ margin-bottom: 34px; }
.projects-grid .section-head h2{ margin-top: 0; }
.projects-grid .lede{ margin-top: 40px; }
.cases{
  list-style:none;
  margin: 0; padding:0;
  display:flex; flex-direction:column;
  border-top: 1px solid var(--line);
}
.cases li{
  display:flex;
  gap: 18px;
  align-items:center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff);
  font-weight: 300;
  font-size: clamp(.85rem, 1.1vw, 1.3rem);
}
.cases li .dot{
  width: 8px; height:8px;
  background: var(--blue);
  flex: none;
}

/* ---------- Partners / logos ---------- */
.partners-wrap{
  display:grid;
  grid-template-columns: 0.7fr 1.3fr;
}
.partners-left{
  background: var(--blue);
  color:#fff;
  padding: 76px 56px;
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.partners-left h2{ font-size: clamp(1.9rem, 4.6vw, 5.5rem); line-height: 1.05; margin-top:24px; }
.partners-left .lede{ margin-top: 28px; }
.partners-right{
  display:flex;
  align-items:center;
  padding: 40px;
}
.logo-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  width:100%;
}
.logo-cell{
  background:#fff;
  aspect-ratio: 16/9;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 22px 26px;
}
.logo-cell img{
  max-height: 42px;
  max-width: 100%;
  width:auto;
  object-fit: contain;
  filter: grayscale(0%);
}
.logo-cell.text-logo span{
  font-weight: 800;
  font-size: 1.05rem;
  color: #1a1f2b;
  letter-spacing: -.01em;
}

/* ---------- Final CTA ---------- */
.cta{
  background: var(--lime);
  color: var(--navy);
  padding: 100px 0 70px;
}
.cta .eyebrow{ color: rgba(11,18,36,.6); }
.cta h2{
  font-size: clamp(1.9rem, 6vw, 7rem);
  line-height: .92;
  margin-top: 30px;
  color: var(--navy);
}
.cta-bottom{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 30px;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid rgba(11,18,36,.25);
  flex-wrap: wrap;
}
.cta-bottom p{ font-family: var(--ff); font-weight:300; margin:0; max-width: 46ch; font-size: clamp(1rem, 2.222vw, 2.667rem); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) and (min-width: 981px){
  .diff-wrap{ grid-template-columns: 0.7fr 1.3fr; }
  .diff-right{ grid-template-columns: 1fr; }
  .diff-right .diff-card:nth-child(n){ border-left:none; border-top: 1px solid var(--line); }
  .diff-right .diff-card:first-child{ border-top:none; }
}
@media (max-width: 980px){
  .split{ grid-template-columns: 1fr; }
  .diff-wrap{ grid-template-columns: 1fr; }
  .diff-right{ grid-template-columns: 1fr 1fr; }
  .projects-grid{ grid-template-columns: 1fr; gap: 32px; }
  .partners-wrap{ grid-template-columns: 1fr; }
  .partners-left{ min-height: auto; }
  .slide.split .split-panel{ min-height: auto; padding-top: 48px; padding-bottom: 48px; }
  .diff-left{ min-height: auto; padding-top: 48px; padding-bottom: 48px; }
  .logo-grid{ grid-template-columns: repeat(2,1fr); }
  .services-grid{ grid-template-columns: repeat(2,1fr); row-gap: 26px; }
  .services-grid .service-item{ border-left:none !important; padding-left:0 !important; }
  .offer-cols{ grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .offer-col,
  .offer-col:first-child{
    border-left: none;
    padding: 22px 22px 26px;
    background: var(--bg-soft);
    border-radius: 14px;
  }
  .offer-col h3{ min-height: auto; }
  .steps{ grid-template-columns: 1fr; row-gap: 30px; }
  .step{ border-left:none !important; padding-left:0 !important; border-top: 1px solid rgba(255,255,255,.18); padding-top:26px; }
  .step:first-child{ border-top:none; padding-top:0; }
}
@media (max-width: 640px){
  .wrap{ padding: 0 20px; }
  .brand-lockup{ top: 24px; right: 20px; gap: 10px; }
  .brand-mooven img{ height: 20px; }
  .brand-fornax img{ height: 20px; }
  .brand-sep{ height: 22px; }
  .split-panel{ padding: 56px 26px; }
  .section{ padding: 64px 0; }
  .offer-cols{ grid-template-columns: 1fr; }
  .diff-right{ grid-template-columns: 1fr; }
  .diff-card{ border-left:none !important; }
  .diff-card:nth-child(n){ border-top: 1px solid var(--line); }
  .diff-card:first-child{ border-top:none; }
  .diff-left{ padding: 56px 26px; }
  .logo-grid{ grid-template-columns: repeat(2,1fr); }
  .cta-bottom{ flex-direction:column; align-items:flex-start; }
  .stat .num{ font-size: 4.4rem; }
}

/* ---------- Mobile: scroll vertical nativo (sem navegação 2D) ---------- */
/* Abaixo de 768px o palco espacial é desligado: as seções viram um documento
   comum, empilhado, com scroll direto. Tablet em diante mantém as "rooms". */
@media (max-width: 767px){
  html, body{
    height: auto;
    overflow: visible;
    overflow-x: hidden;
  }
  #viewport{
    position: static;
    inset: auto;
    overflow: visible;
  }
  #stage{
    position: static;
    width: 100%;
    height: auto;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
  .slide{
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding: 64px 0;
  }
  #room-dots{ display: none; }
  /* logos só na primeira seção; nas demais viram repetição desnecessária */
  .slide:not(#hero) .brand-lockup{ display: none; }
}
