/* ==========================================================================
   metanoIA — site institucional
   --------------------------------------------------------------------------
   CSS próprio do site (não minificado, pronto para edição).
   A folha css/metanoia.css é usada apenas pelos layouts do sistema.
   ========================================================================== */

:root {
  --ink: #22272F;
  --ink-soft: #4D5560;
  --muted: #7C838C;
  --faint: #A8A199;

  --line: #F2ECE5;
  --line-strong: #EDE3D7;

  --cream: #FFFDF9;
  --cream-2: #FFF8F1;
  --cream-3: #FFFBF6;
  --peach: #FFF1E2;
  --peach-2: #FFF4E9;

  --brand-300: #F7B183;
  --brand-500: #F17F36;
  --brand-600: #D95A18;
  --brand-700: #A8420F;

  --moss-100: #E4F1DE;
  --moss-400: #63BC4F;
  --moss-700: #0D7346;

  --shadow-card: 0 8px 24px rgba(65, 45, 30, .05), 0 2px 6px rgba(65, 45, 30, .04);
  --shadow-card-hover: 0 14px 34px rgba(65, 45, 30, .09), 0 4px 10px rgba(65, 45, 30, .05);
  --shadow-float: 0 26px 70px rgba(54, 37, 25, .16), 0 8px 22px rgba(54, 37, 25, .08);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* --------------------------------------------------------------- reset -- */

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Flexo', 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.center { text-align: center; }

/* --------------------------------------------------------------- marca -- */

.brand { display: flex; align-items: center; gap: 12px; }

.brand__logo {
  height: 34px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex: none;
  display: block;
}
.brand--sm .brand__logo { height: 27px; }

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--brand-300);
  border-radius: 999px;
  background: var(--peach-2);
  color: var(--brand-600);
  font-size: 18px;
  font-weight: 700;
}

.brand__name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
}
.brand__name span { color: var(--brand-500); }

.brand--sm .brand__mark { width: 34px; height: 34px; font-size: 15px; }
.brand--sm .brand__name { font-size: 20px; }

/* --------------------------------------------------------------- botões -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease), filter .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn--lg { padding: 16px 26px; font-size: 15px; }

.btn--solid {
  background: linear-gradient(135deg, #E95016 0%, #F27222 45%, #E76318 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(233, 80, 22, .24);
}
.btn--solid:hover { color: #fff; filter: brightness(1.06); }

.btn--outline {
  border-color: #F2D6BB;
  background: #fff;
  color: var(--brand-600);
}
.btn--outline:hover { background: var(--peach-2); color: var(--brand-700); }

.btn--ghost { color: var(--brand-600); border-color: #F2D6BB; background: #fff; }
.btn--ghost:hover { background: var(--peach-2); }

.btn--onbrand { background: #fff; color: var(--brand-600); }
.btn--onbrand:hover { color: var(--brand-700); filter: brightness(1); }

.btn--onbrand-outline { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--onbrand-outline:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

/* ------------------------------------------------------------ topo/nav -- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 249, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(65, 45, 30, .04);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}

.mainnav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
}
.mainnav a {
  font-size: 14px;
  white-space: nowrap;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.mainnav a:hover, .mainnav a.is-active { color: var(--brand-600); }

.topbar__actions { display: flex; align-items: center; gap: 12px; }

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

/* ------------------------------------------------------- blocos comuns -- */

.band { padding: 84px 0; }
.band--soft { background: var(--cream-3); }

.band--leaf {
  position: relative;
  background: var(--cream-2);
  overflow: hidden;
}
.band--leaf::before,
.band--leaf::after {
  content: "";
  position: absolute;
  top: -110px;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  pointer-events: none;
  opacity: .55;
  background: repeating-radial-gradient(circle at 50% 50%,
    rgba(241, 127, 54, 0) 0 26px,
    rgba(241, 127, 54, .22) 26px 27px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 78%);
}
.band--leaf::before { left: -190px; }
.band--leaf::after { right: -190px; top: auto; bottom: -150px; }

.eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow--left { text-align: left; }

.section-title {
  margin-top: 14px;
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.section-sub {
  max-width: 620px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.footnote {
  margin-top: 26px;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
}

.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }

.grid { display: grid; gap: 20px; margin-top: 44px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* placeholders de imagem (substituir por fotos reais) */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 22px;
  background: repeating-linear-gradient(135deg, var(--ph-a, #F5F1EC) 0 12px, var(--ph-b, #EBE4DB) 12px 24px);
  overflow: hidden;
}
.ph span {
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 11px;
  color: #8A7A69;
}

/* fotos (Unsplash) */
.shot {
  overflow: hidden;
  border-radius: 22px;
  background: var(--cream-2);
  box-shadow: var(--shadow-card);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
/* linhas laranjas concêntricas ao fundo do hero */
.hero::before {
  content: "";
  position: absolute;
  right: -220px;
  top: -260px;
  width: 760px;
  height: 760px;
  border-radius: 999px;
  pointer-events: none;
  opacity: .5;
  background: repeating-radial-gradient(circle at 50% 50%,
    rgba(241, 127, 54, 0) 0 34px,
    rgba(241, 127, 54, .20) 34px 35px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 76%);
}
.hero > .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.hero__copy h1 {
  font-size: 54px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: pretty;
}
.hero__copy h1 em { font-style: normal; color: var(--brand-500); }

.lead {
  margin-top: 22px;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.lead--sm { font-size: 15px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted);
}

.hero__art {
  position: relative;
  height: 470px;
}

/* arcos laranjas atrás da composição de fotos */
.hero__rings {
  position: absolute;
  left: -40px;
  top: -30px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  pointer-events: none;
  opacity: .8;
  background: repeating-radial-gradient(circle at 50% 50%,
    rgba(241, 127, 54, 0) 0 22px,
    rgba(241, 127, 54, .26) 22px 23px);
  -webkit-mask-image: linear-gradient(200deg, #000 15%, transparent 62%);
  mask-image: linear-gradient(200deg, #000 15%, transparent 62%);
}

.hero__art .shot--mid {
  position: absolute;
  left: 0;
  bottom: 96px;
  width: 186px;
  height: 236px;
  z-index: 2;
}
.hero__art .shot--tall {
  position: absolute;
  left: 118px;
  top: 6px;
  width: 232px;
  height: 320px;
  z-index: 3;
}
.hero__art .shot--wide {
  position: absolute;
  right: 0;
  top: 0;
  width: 312px;
  height: 208px;
  z-index: 2;
}
.hero__shot { z-index: 4; }
.hero__phone { z-index: 5; }
.hero__pills { z-index: 6; }

.hero__shot {
  position: absolute;
  right: 30px;
  bottom: 24px;
  width: 74%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  background: #fff;
}

.hero__phone {
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 116px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-float);
  background: #fff;
}

.hero__pills {
  position: absolute;
  left: 92px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__pills li { display: flex; align-items: center; gap: 8px; }
.hero__pills li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-500);
}

/* ----------------------------------------------------------- filosofia -- */

.pillars { position: relative; z-index: 1; }

.pillar { display: flex; align-items: flex-start; gap: 18px; padding: 26px; }

.pillar__icon {
  width: 76px;
  height: 76px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.pillar__icon--peach { background: var(--peach); }
.pillar__icon--moss { background: var(--moss-100); }

.pillar__body h3 { font-size: 18px; font-weight: 600; color: var(--brand-600); }
.pillar__icon--moss + .pillar__body h3 { color: var(--moss-700); }

.pillar__kicker { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.pillar__body p { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.pillar__body .pillar__kicker { margin-top: 6px; color: var(--ink); font-size: 14px; }

/* ---------------------------------------------------------- resultados -- */

.stat { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; }

.stat__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}
.stat__icon--peach { background: var(--peach); color: var(--brand-600); }
.stat__icon--moss { background: var(--moss-100); color: var(--moss-700); }

.stat__value {
  margin-top: 6px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--brand-600);
}
.stat__value--moss { color: var(--moss-700); }

.stat__label { font-size: 14px; font-weight: 600; }
.stat p { font-size: 13px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* -------------------------------------------------------- como funciona -- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.step { position: relative; padding: 30px 24px 26px; }

.step + .step::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 20px;
  border-top: 2px dashed #F3D6BC;
}

.step__num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-500);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(233, 80, 22, .26);
}
.step__num--moss { background: var(--moss-400); box-shadow: 0 6px 14px rgba(143, 168, 107, .3); }

.step__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--peach-2);
}

.step h3 { margin-top: 16px; font-size: 16px; font-weight: 600; }
.step p { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* --------------------------------------------------------------- cases -- */

.case { display: flex; gap: 0; overflow: hidden; }

.case__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.case__quote {
  font-size: 34px;
  font-weight: 700;
  line-height: .8;
  color: var(--brand-300);
}
.case__text > p { margin-top: 10px; font-size: 13px; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }

.case__company {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}
.case__company strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.case__company small { font-size: 11px; color: var(--muted); }

.case__logo {
  width: 32px;
  height: 32px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--peach-2);
}

.case__person { margin-top: 14px; }
.case__person strong { display: block; font-size: 13px; font-weight: 600; }
.case__person small { font-size: 12px; color: var(--muted); }

.case__photo { width: 40%; flex: none; overflow: hidden; }
.case__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------- plataforma -- */

.platform {
  padding: 76px 0 0;
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
}

.platform__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 44px;
}

.platform__copy h2 {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}
.checklist svg {
  flex: none;
  padding: 5px;
  border-radius: 999px;
  background: var(--moss-100);
  box-sizing: content-box;
}

.platform__art { position: relative; padding: 20px 0 40px; }

.platform__screen {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-float);
}

.platform__phone {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 132px;
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid #fff;
  background: #fff;
  box-shadow: var(--shadow-float);
}

/* ----------------------------------------------------------------- cta -- */

.cta { padding: 56px 0; }

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 52px 56px;
  border-radius: 28px;
  background: linear-gradient(120deg, #E95016 0%, #F27222 55%, #D95A18 100%);
  box-shadow: 0 24px 60px rgba(233, 80, 22, .22);
  color: #fff;
}

.cta h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.cta__side p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .94); text-wrap: pretty; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* --------------------------------------------------------------- logos -- */

.logos { padding: 26px 0 60px; }

.logos__title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.logos__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
}
.logos__row li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--faint);
  transition: color .2s var(--ease);
}
.logos__row li:hover { color: var(--ink-soft); }

/* -------------------------------------------------------------- rodapé -- */

.foot { border-top: 1px solid var(--line); background: var(--cream-3); }

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.foot__nav { display: flex; flex-wrap: wrap; gap: 22px; margin: 0 auto; }
.foot__nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.foot__nav a:hover { color: var(--brand-600); }

.foot small { font-size: 13px; color: var(--faint); }

/* ------------------------------------------------------------ responsivo -- */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { height: 420px; }
  .platform__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step + .step::before { display: none; }
  .cta__inner { grid-template-columns: 1fr; padding: 40px; }
  .grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

  /* Abaixo de 1080px o hero deixa de ser composição absoluta e passa a fluir
     em grade — assim nenhum elemento pode se sobrepor a outro. */
  .hero__art {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
      "shot  photo"
      "shot  phone"
      "pills phone";
    align-items: stretch;
    gap: 16px;
  }
  .hero__art > * { position: static; inset: auto; width: auto; }

  .hero__shot  { grid-area: shot; align-self: center; }
  .hero__art .shot--wide {
    position: static;
    inset: auto;
    width: auto;
    grid-area: photo;
    height: 130px;
  }
  .hero__phone { grid-area: phone; width: 116px; justify-self: end; align-self: end; }
  .hero__art .shot--tall { position: static; inset: auto; display: none; }
  .hero__art .shot--mid { position: static; inset: auto; display: none; }
  .hero__rings { display: none; }
  .hero__pills {
    grid-area: pills;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-self: start;
    padding: 14px 18px;
  }
}

@media (max-width: 1080px) {
  .mainnav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-float);
    display: none;
  }
  .mainnav.is-open { display: flex; }
  .mainnav a { width: 100%; padding: 10px 8px; border-radius: 12px; }
  .mainnav a:hover { background: var(--peach-2); }
  .navtoggle { display: flex; }
  .topbar__actions .btn--ghost { display: none; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .hero__copy h1 { font-size: 40px; }
  .section-title { font-size: 28px; }
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .case { flex-direction: column-reverse; }
  .case__photo { width: 100%; height: 190px; }
  .cta h2 { font-size: 32px; }
  .cta h2 br { display: none; }
  .band { padding: 60px 0; }
}

@media (max-width: 620px) {
  .hero__art { height: 360px; }
  .hero__art .shot--tall { width: 150px; height: 190px; }
  .hero__art .shot--mid { width: 132px; height: 168px; }
  .hero__art .shot--wide { width: 210px; height: 140px; }
  .hero__pills { left: 12px; bottom: 24px; padding: 12px 16px; font-size: 12px; }
  .hero__phone { width: 92px; }
  .logos__row { justify-content: center; gap: 18px 26px; }
}
