/* ============================================================================
   Site institucional IMOO — Home, Performance Sustentável, Por dentro da Imoo
   e Vamos Conversar. Identidade "Human Dynamics Intelligence™": marinho +
   laranja sobre creme, Montserrat em caixa alta para títulos e rótulos.
   Laranja puro (#F26A1B) só em texto ≥ 24px ou sobre o marinho; em texto
   pequeno sobre fundo claro usa-se --orange-text (contraste AA).
   ========================================================================== */
:root {
  --navy: #0f192a; /* mesma cor do fundo da arte do logo para o fundo escuro */
  --ink: #0e2140;
  --orange: #f26a1b;
  --orange-text: #c4500f;
  --orange-soft: #ffb485;
  --cream: #f8f6f2;
  --sand: #f4efe8;
  --paper: #fbfaf8;
  --white: #ffffff;
  --tan: #8a6f55;
  --muted: #4a5568;
  --on-dark: #e6ebf2;
  --on-dark-muted: #b9c3d3;
  --line: #ddd6cc;
  --wrap: 1240px;
}

* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-text); }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sec { position: relative; overflow: hidden; padding: 112px 0; }
.sec--tight { padding: 88px 0; }
.sec--dark { background: var(--navy); color: var(--white); }
.sec--white { background: var(--white); }
.sec--sand { background: var(--sand); }
.sec--paper { background: var(--paper); }
@media (max-width: 720px) { .sec { padding: 72px 0; } .sec--tight { padding: 56px 0; } }

/* ── Tipografia ─────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.32em; line-height: 1.7;
  text-transform: uppercase; color: var(--tan);
}
.sec--dark .eyebrow { color: var(--on-dark-muted); }
.h1 {
  font-weight: 800; line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase;
  font-size: clamp(40px, 5.2vw, 80px);
}
.h2 {
  font-weight: 800; line-height: 1.02; letter-spacing: -0.015em; text-transform: uppercase;
  font-size: clamp(30px, 3.6vw, 52px);
}
.h2-light {
  font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 44px);
}
.h2-light strong { font-weight: 800; }
.o { color: var(--orange); }
.o-text { color: var(--orange-text); }
.body { font-size: 17px; line-height: 1.65; color: var(--muted); }
.body--light { font-weight: 300; font-size: 19px; }
.sec--dark .body { color: var(--on-dark); font-size: 18px; }
.strong { font-weight: 700; color: var(--ink); }
.rule { width: 40px; height: 2px; background: var(--orange); border: 0; }
.caps-note {
  padding-left: 16px; border-left: 2px solid var(--orange);
  font-size: 13px; font-weight: 500; letter-spacing: 0.22em; line-height: 1.85; text-transform: uppercase;
}
.stack { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.row--top { align-items: flex-start; }

/* ── Cabeçalho ──────────────────────────────────────────────────────────── */
.site-header { position: relative; z-index: 3; padding: 22px 0 8px; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.brand { display: block; color: var(--ink); }
.brand img { display: block; width: 210px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.site-nav a.nav-link {
  position: relative; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 12px 2px;
}
.site-nav a.nav-link:hover { color: var(--orange-text); }
.site-nav a.nav-link[aria-current="page"] { color: var(--orange-text); font-weight: 600; }
.site-nav a.nav-link[aria-current="page"]::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 36px; height: 3px;
  margin-left: -18px; border-radius: 2px; background: var(--orange);
}
.nav-tools { display: flex; align-items: center; gap: 10px; }
.btn-enter {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.btn-enter:hover { background: var(--orange-text); color: var(--white); }
.site-header--dark .brand,
.site-header--dark .site-nav a.nav-link { color: var(--white); }
.site-header--dark .site-nav a.nav-link[aria-current="page"],
.site-header--dark .site-nav a.nav-link:hover { color: var(--orange); }
.site-header--dark .btn-enter { background: var(--white); color: var(--ink); }
.site-header--dark .btn-enter:hover { background: var(--orange); color: var(--white); }
@media (max-width: 720px) {
  .site-nav { gap: 0 18px; }
  .site-nav a.nav-link { font-size: 14px; }
}

/* ── Botões ─────────────────────────────────────────────────────────────── */
.btn-pill {
  display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 30px;
  border: 1.5px solid currentColor; border-radius: 999px; color: inherit; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  transition: background 150ms, color 150ms;
}
.btn-pill svg { color: var(--orange); }
.btn-pill:hover { background: var(--white); color: var(--ink); }
.btn-circle {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid currentColor;
  display: grid; place-items: center; color: var(--ink); transition: background 150ms, color 150ms;
}
.btn-circle:hover { background: var(--ink); color: var(--white); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 16px; min-height: 60px; padding: 0 40px;
  border: 0; border-radius: 999px; background: var(--orange-text); color: var(--white);
  font: inherit; font-size: 19px; font-weight: 600; cursor: pointer;
  box-shadow: 0 8px 24px rgb(242 106 27 / 0.3); transition: transform 150ms, filter 150ms;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; transform: none; }

/* ── Horizonte (arco do planeta nas seções escuras) ─────────────────────── */
.planet {
  position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  width: 1100px; height: 1100px; left: 60%; top: -220px;
  background: radial-gradient(circle at 35% 45%, #0f2747 0%, #050d1a 65%);
  box-shadow: -2px 0 0 1px rgb(255 150 70 / 0.95), -16px 0 46px 6px rgb(242 106 27 / 0.5),
              inset 22px 0 70px -12px rgb(242 106 27 / 0.5);
}
@media (max-width: 900px) { .planet { left: 72%; opacity: 0.55; } }

/* ── Rodapé ─────────────────────────────────────────────────────────────── */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 72px 0 0; }
/* Arte do eclipse (space-03) no fundo, com véu para os textos e links. */
/* deslocada para a direita: o eclipse fica na ponta, fora da coluna 'Vamos
   conversar?'; a borda esquerda esfuma no fundo para não marcar emenda */
.footer-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; pointer-events: none; transform: translateX(14%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(15 25 42 / 0.75) 0%, rgb(15 25 42 / 0.35) 55%, rgb(15 25 42 / 0.5) 100%); pointer-events: none; }
@media (max-width: 900px) { .site-footer::before { background: rgb(15 25 42 / 0.72); } .footer-bg { transform: none; -webkit-mask-image: none; mask-image: none; } }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 0; }
.footer-brand { flex: 1 1 300px; display: flex; flex-direction: column; gap: 28px; padding-right: 32px; }
.footer-brand img { width: 240px; height: auto; }
.footer-claim { font-size: 15px; font-weight: 500; letter-spacing: 0.26em; line-height: 1.7; }
.footer-claim strong { color: var(--orange); font-weight: 800; }
.footer-col {
  flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 14px;
  padding: 8px 32px; border-left: 1px solid rgb(255 255 255 / 0.18);
}
.footer-col--wide { flex-basis: 300px; }
.footer-col a:not(.btn-pill) { color: var(--on-dark); text-decoration: none; font-size: 15px; padding: 4px 0; }
.footer-col a:not(.btn-pill):hover { color: var(--orange); }
.footer-col p { font-size: 15px; line-height: 1.6; color: #dce3ec; }
.footer-col .eyebrow { color: var(--on-dark); }
.footer-col .btn-pill { align-self: flex-start; }
.footer-bottom {
  margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgb(255 255 255 / 0.18);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: var(--on-dark-muted);
}
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 720px) {
  .footer-col { border-left: 0; padding: 0; }
}

/* ── Entradas por scroll ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  transform: translateY(26px);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
