/* =========================================================
   AGÊNCIA AERIS — Cinematográfico (estilo EOSAI)
   ========================================================= */

:root {
  --bg:      #0B0D12;
  --bg-2:    #0E1119;
  --ink:     #F2EFEA;
  --mut:     rgba(242, 239, 234, 0.62);
  --mut-2:   rgba(242, 239, 234, 0.40);
  --line:    rgba(242, 239, 234, 0.13);
  --line-2:  rgba(242, 239, 234, 0.24);
  --gold:    #D6B27C;

  --container: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Poppins', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: normal; color: var(--gold); }
::selection { background: rgba(214, 178, 124, 0.28); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(22px, 5vw, 64px); }

.eyebrow, .kicker, .contact__label, .footer__label,
.nav__links, .row__tags, .hero__scroll, .footer__bottom, .circle-btn__label, .founder__idx {
  font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
}

.rule { width: 58px; height: 1px; background: var(--line-2); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 26px 0; transition: padding .4s var(--ease), background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 15px 0;
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__word { font-weight: 400; font-size: 19px; letter-spacing: .34em; }

.nav__links { display: flex; align-items: center; gap: 34px; font-size: 12px; }
.nav__links a { position: relative; color: var(--mut); transition: color .3s ease; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 6px; padding: 10px 2px; z-index: 110; }
.nav__toggle span { width: 26px; height: 1.4px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* =========================================================
   CIRCLE BUTTON
   ========================================================= */
.circle-btn { display: inline-flex; align-items: center; gap: 18px; color: var(--ink); }
.circle-btn__ring {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid var(--line-2); flex-shrink: 0;
  transition: border-color .4s ease, background .4s ease, transform .4s var(--ease);
}
.circle-btn__ring svg { width: 19px; height: 19px; transition: transform .4s var(--ease); }
.circle-btn__label { font-size: 12px; color: var(--mut); transition: color .3s ease; }
.circle-btn:hover .circle-btn__ring { border-color: var(--gold); background: rgba(214,178,124,.08); }
.circle-btn:hover .circle-btn__ring svg { transform: translateX(3px); color: var(--gold); }
.circle-btn:hover .circle-btn__label { color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; will-change: transform; }

/* barra de progresso de rolagem */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200; background: var(--gold); opacity: .85; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,10,16,.84) 0%, rgba(7,10,16,.48) 32%, rgba(7,10,16,.06) 58%, transparent 78%),
    linear-gradient(180deg, rgba(7,10,16,.5) 0%, transparent 20%, transparent 74%, rgba(7,10,16,.4) 100%),
    rgba(7,10,16,.10);
}
.hero__inner { width: 100%; }
.hero__content { max-width: 560px; padding-top: 60px; will-change: transform, opacity; }

.eyebrow { font-size: 12px; color: var(--gold); margin-bottom: 28px; }
.hero__title {
  font-weight: 200; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.06; letter-spacing: -.015em;
}
.hero__title em { font-weight: 300; }
.hero .rule { margin: 32px 0 26px; }
.hero__sub { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--mut); max-width: 400px; line-height: 1.75; }
.hero .circle-btn { margin-top: 40px; }

.hero__scroll {
  position: absolute; right: clamp(22px, 5vw, 64px); bottom: 32px; z-index: 1;
  display: flex; align-items: center;
}
.mouse {
  display: block; width: 25px; height: 40px; border: 1.6px solid var(--mut);
  border-radius: 14px; position: relative;
}
.mouse__wheel {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 3px;
  background: var(--ink); transform: translateX(-50%);
  animation: mouseWheel 1.8s var(--ease) infinite;
}
@keyframes mouseWheel {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  25%  { opacity: 1; }
  60%  { opacity: 1; transform: translate(-50%, 13px); }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}
.swipe { display: none; color: var(--mut); line-height: 0; }
.swipe svg { width: 27px; height: 40px; }
.swipe .finger { animation: handSwipe 1.9s var(--ease) infinite; }
@keyframes handSwipe {
  0%, 100% { transform: translateY(4px); }
  50%      { transform: translateY(-4px); }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding: clamp(90px, 13vh, 170px) 0; }
.section--alt { background: var(--bg-2); }

.sec-head { max-width: 760px; margin-bottom: clamp(50px, 7vh, 82px); }
.kicker { font-size: 12px; color: var(--gold); margin-bottom: 26px; }
.sec-title { font-weight: 200; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.12; letter-spacing: -.01em; }
.sec-lead { margin-top: 22px; color: var(--mut); font-size: 1.08rem; max-width: 520px; }

/* ---------- list (serviços / finanças) ---------- */
.list { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 54px minmax(0, 1.9fr) max-content 24px;
  gap: 34px; align-items: center;
  padding: 34px 8px; border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease), background .45s ease;
}
.row:hover { padding-left: 22px; padding-right: 22px; background: rgba(242,239,234,.02); }
.row__no { font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.row__title { font-weight: 300; font-size: clamp(1.5rem, 2.7vw, 2.3rem); letter-spacing: -.01em; line-height: 1.15; transition: color .3s ease; }
.row:hover .row__title { color: var(--gold); }
.row__desc { margin-top: 8px; color: var(--mut); font-size: 1rem; line-height: 1.6; max-width: 480px; }
.row__tags { font-size: 11px; color: var(--mut-2); white-space: nowrap; text-align: right; }
.row__arrow { justify-self: end; font-size: 1.3rem; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: opacity .4s ease, transform .4s var(--ease); }
.row:hover .row__arrow { opacity: 1; transform: none; }

/* ---------- founders ---------- */
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 6vw, 90px); }
.founder { border-top: 1px solid var(--line-2); padding-top: 30px; }
.founder__idx { display: block; font-size: 12px; color: var(--gold); margin-bottom: 24px; }
.founder__name { font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.01em; margin-bottom: 18px; }
.founder__bio { color: var(--mut); font-size: 1.05rem; line-height: 1.75; max-width: 440px; }
.founder__bio strong { color: var(--ink); font-weight: 400; }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(44px, 7vw, 110px); align-items: start; }
.contact__label { font-size: 11px; color: var(--mut-2); margin-bottom: 22px; }
.contact__line {
  display: block; font-weight: 200; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.01em;
  padding: 6px 0; width: fit-content; color: var(--ink);
  border-bottom: 1px solid transparent; transition: border-color .35s ease, color .35s ease;
}
.contact__line:hover { border-bottom-color: var(--gold); color: var(--gold); }

.contact__form { display: flex; flex-direction: column; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 12px; color: var(--mut); letter-spacing: .12em; text-transform: uppercase; }
.field label small { text-transform: none; letter-spacing: 0; color: var(--mut-2); }
.field input, .field textarea {
  width: 100%; padding: 12px 2px; border: none; border-bottom: 1px solid var(--line-2);
  background: transparent; color: var(--ink); font-family: var(--font); font-weight: 300; font-size: 1.05rem;
  resize: vertical; transition: border-color .35s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mut-2); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.circle-btn--submit { margin-top: 8px; }
.form__note { font-size: 13px; letter-spacing: .02em; min-height: 18px; color: var(--mut); }
.form__note.ok { color: var(--gold); } .form__note.err { color: #E9927A; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 8vh, 90px); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer__brand p { color: var(--mut); font-size: .96rem; line-height: 1.7; margin-top: 18px; }
.footer__label { font-size: 11px; color: var(--mut-2); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; }
.footer__col { display: flex; flex-direction: column; gap: 13px; }
.footer__col a { color: var(--mut); font-size: .98rem; width: fit-content; transition: color .3s ease; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 28px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--mut-2);
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(42px); filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }
.hero .reveal:nth-child(5) { transition-delay: .42s; }
.list .reveal:nth-child(2) { transition-delay: .1s; }
.list .reveal:nth-child(3) { transition-delay: .2s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .founders { grid-template-columns: 1fr; gap: 44px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 330px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px;
    padding: 40px; background: rgba(11,13,18,.97); backdrop-filter: blur(20px);
    border-left: 1px solid var(--line); font-size: 15px;
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__toggle { display: flex; }

  .row { grid-template-columns: 40px 1fr; gap: 4px 16px; }
  .row__tags { grid-column: 2; text-align: left; margin-top: 12px; color: var(--mut-2); }
  .row__arrow { display: none; }
  .row:hover { padding-left: 8px; padding-right: 8px; }
  .hero__content { padding-top: 40px; }
  .mouse { display: none; }
  .swipe { display: block; }
}

@media (max-width: 460px) {
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
