/* =========================================================
   InovaApps — sistema visual
   Paleta e tom derivados da proposta comercial (preto / dourado)
   ========================================================= */

:root {
  /* superfícies escuras */
  --ink:        #0D0D0D;
  --ink-2:      #141414;
  --ink-3:      #1B1B1B;
  --line-dark:  rgba(255, 255, 255, .10);
  --line-dark-2:rgba(255, 255, 255, .18);

  /* superfícies claras */
  --paper:      #FFFFFF;
  --paper-2:    #F5F4F1;
  --line:       rgba(13, 13, 13, .10);
  --line-2:     rgba(13, 13, 13, .18);

  /* marca */
  --gold:       #C7A15A;
  --gold-soft:  #E0C48C;
  --gold-dim:   rgba(199, 161, 90, .14);

  /* texto */
  --fg:         #0D0D0D;
  --fg-muted:   #565553;
  --fg-on-dark: #FFFFFF;
  --fg-on-dark-muted: rgba(255, 255, 255, .64);

  /* métrica */
  --maxw:       1180px;
  --gutter:     clamp(20px, 5vw, 56px);
  --radius:     4px;
  --nav-h:      72px;

  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---------- utilitários de layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(72px, 11vw, 132px);
  scroll-margin-top: var(--nav-h);
}
.section--paper2 { background: var(--paper-2); }
.section--dark {
  background: var(--ink);
  color: var(--fg-on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--fg-on-dark); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- tipografia de apoio ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}
.h-display {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  letter-spacing: -.035em;
  line-height: 1.03;
}
.h-section {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -.03em;
}
.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--fg-muted);
  max-width: 62ch;
}
.section--dark .lede { color: var(--fg-on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }

/* ---------- botões ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }

.btn--gold  { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: #17130A; }
.btn--gold:hover { --btn-bg: var(--gold-soft); --btn-bd: var(--gold-soft); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bd: var(--fg); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: var(--line-dark-2); }
.btn--ghost-light:hover { --btn-bd: #fff; }

.btn--sm { min-height: 40px; padding: 0 18px; font-size: .86rem; }

/* link com seta */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--gold);
}
.arrow-link span { transition: transform .25s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, .72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  transition: background-color .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(13, 13, 13, .94); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--nav-h);
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand svg { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .74);
  border-radius: 999px;
  transition: color .2s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: var(--gold);
}
.header-cta { margin-left: 8px; }
/* o CTA dentro do <nav> só existe no menu mobile */
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-dark-2);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    padding: 28px var(--gutter) 40px;
    background: var(--ink);
    overflow-y: auto;
  }
  .nav.is-open a {
    padding: 16px 0;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -.02em;
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
  }
  .nav.is-open a.is-active::after { display: none; }
  .nav.is-open .nav__cta {
    display: inline-flex;
    margin-top: 26px;
    align-self: flex-start;
    font-size: .95rem;
    border-bottom: none;
    padding: 0 26px;
    min-height: 48px;
  }
  body.nav-open { overflow: hidden; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(80px, 13vw, 150px) clamp(72px, 10vw, 120px);
}
.hero__glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(48% 42% at 22% 18%, rgba(199, 161, 90, .20), transparent 62%),
    radial-gradient(42% 40% at 82% 8%,  rgba(120, 150, 200, .14), transparent 60%);
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: min(25vw, 200px) 100%;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  pointer-events: none;
}
.hero__mark {
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: min(46vw, 520px);
  opacity: .07;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero__sub {
  margin-top: 26px;
  max-width: 56ch;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--fg-on-dark-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}
.tag {
  padding: 7px 14px;
  border: 1px solid var(--line-dark-2);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .78);
}

/* =========================================================
   DUAS FRENTES
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  position: relative;
  padding: clamp(30px, 4vw, 46px);
  background: var(--paper);
  transition: background-color .3s var(--ease);
}
.pillar:hover { background: var(--paper-2); }
.pillar__num {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold);
}
.pillar h3 {
  margin: 18px 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}
.pillar p { color: var(--fg-muted); font-size: .98rem; }
.pillar ul { margin-top: 24px; display: grid; gap: 11px; }
.pillar li {
  position: relative;
  padding-left: 22px;
  font-size: .93rem;
  color: var(--fg-muted);
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--gold);
}

.combo {
  margin-top: 28px;
  padding: clamp(24px, 3.4vw, 34px);
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.section--paper2 .combo { background: var(--paper); }
.combo strong { font-weight: 700; }
.combo p { color: var(--fg-muted); }
.combo p + p { margin-top: 12px; }

/* =========================================================
   PRODUTOS
   ========================================================= */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.product {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.2vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 18px 40px -28px rgba(13, 13, 13, .5);
}
.product__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gold-dim);
  color: var(--gold);
  margin-bottom: 22px;
}
.product__badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.product h3 { font-size: 1.32rem; }
.product__tagline {
  margin-top: 10px;
  font-size: .97rem;
  color: var(--fg-muted);
}
.product__list {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.product__list li {
  position: relative;
  padding-left: 20px;
  font-size: .9rem;
  color: var(--fg-muted);
}
.product__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.product__foot { margin-top: auto; padding-top: 26px; }

/* =========================================================
   CUIDAR+ / PLANOS
   ========================================================= */
.spotlight {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}
@media (max-width: 880px) { .spotlight { grid-template-columns: 1fr; } }

.spotlight__facts {
  margin-top: 32px;
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact { padding: 20px 24px; background: var(--ink-2); }
.fact dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.fact dd {
  margin: 8px 0 0;
  font-size: .95rem;
  color: var(--fg-on-dark-muted);
}

.plans { display: grid; gap: 14px; }
.plan {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.plan:hover { border-color: rgba(199, 161, 90, .5); background: var(--ink-3); }
.plan__name {
  font-size: 1.06rem;
  font-weight: 700;
  color: #fff;
}
.plan__desc {
  margin-top: 4px;
  font-size: .88rem;
  color: var(--fg-on-dark-muted);
}
.plan__price {
  margin-left: auto;
  flex: none;
  text-align: right;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.plans-note {
  margin-top: 18px;
  font-size: .86rem;
  color: rgba(255, 255, 255, .5);
}

/* =========================================================
   MARKETING — escopo
   ========================================================= */
.scope {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.scope__item { padding: clamp(26px, 3.2vw, 38px); background: var(--paper); }
.section--paper2 .scope { background: var(--line); }
.section--paper2 .scope__item { background: var(--paper-2); }
.scope__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--line-2);
  letter-spacing: -.04em;
}
.scope__item h3 { margin: 14px 0 10px; font-size: 1.1rem; }
.scope__item p { font-size: .92rem; color: var(--fg-muted); }

/* =========================================================
   PROCESSO
   ========================================================= */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__idx {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold);
  padding-top: 4px;
}
.step h3 { font-size: 1.12rem; }
.step p { margin-top: 8px; font-size: .95rem; color: var(--fg-muted); max-width: 70ch; }
@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
}

/* =========================================================
   EQUIPE
   ========================================================= */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.member { text-align: left; }
.member__photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
}
.member__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter .45s var(--ease), transform .45s var(--ease);
}
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.04); }
.member h3 { margin-top: 16px; font-size: 1rem; font-weight: 600; }
.member p {
  margin-top: 3px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* =========================================================
   CONTATO
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

.contact__info { display: grid; gap: 26px; }
.info-item dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}
.info-item dd { margin: 0; font-size: .98rem; color: var(--fg-muted); }
.info-item a:hover { color: var(--fg); text-decoration: underline; }

.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: .96rem;
  color: var(--fg);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .84rem;
  color: var(--fg-muted);
  line-height: 1.5;
}
.consent input {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}
.consent a { text-decoration: underline; }
.form__note { font-size: .8rem; color: var(--fg-muted); }
.form__error {
  display: none;
  font-size: .85rem;
  color: #B4231F;
}
.form__error.is-visible { display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--fg-on-dark-muted);
  padding-block: 56px 34px;
  font-size: .88rem;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer__brand svg { height: 32px; width: auto; }
.site-footer__tagline { margin-top: 14px; max-width: 34ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-nav a:hover { color: #fff; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .44);
}
.site-footer__bottom a:hover { color: #fff; }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* fallback: sem JS, tudo visível */
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   PÁGINA DE CONTEÚDO (privacidade)
   ========================================================= */
.doc { padding-block: clamp(56px, 8vw, 96px); }
.doc__body { max-width: 72ch; }
.doc__body h2 {
  margin-top: 42px;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}
.doc__body h2:first-of-type { margin-top: 32px; }
.doc__body p, .doc__body li {
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: .98rem;
}
.doc__body ul { margin-top: 8px; display: grid; gap: 6px; }
.doc__body li { position: relative; padding-left: 20px; }
.doc__body li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--gold);
}
.doc__body a { color: var(--fg); text-decoration: underline; }
.doc__meta { font-size: .82rem; color: var(--fg-muted); }
