/* ===========================================================================
   GAMA — Sistema de design
   Paleta vermelho Gama · Parkinsans (display) + DM Sans (texto)
   =========================================================================== */

:root {
  /* Cores primárias */
  --red:        #de0048;
  --red-hover:  #c20040;
  --red-dim:    rgba(222, 0, 72, 0.07);
  --red-glow:   rgba(222, 0, 72, 0.18);
  --red-light:  #ff6b94;

  /* Neutros */
  --dark:       #111111;
  --mid:        #444444;
  --white:      #ffffff;
  --light:      #f6f6f6;
  --bg:         #f6f6f6;
  --bg2:        #efefef;
  --surface:    #ffffff;

  /* Bordas e texto sobre fundo claro */
  --border:     rgba(17, 17, 17, 0.08);
  --text-main:  #111111;
  --text-sub:   rgba(17, 17, 17, 0.5);
  --text-faint: rgba(17, 17, 17, 0.3);

  /* Texto sobre fundo escuro */
  --on-dark:        rgba(255, 255, 255, 0.65);
  --on-dark-sub:    rgba(255, 255, 255, 0.55);
  --on-dark-faint:  rgba(255, 255, 255, 0.45);
  --on-dark-border: rgba(255, 255, 255, 0.10);

  /* Tipografia */
  --font-display: 'Parkinsans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius:    18px;
  --radius-sm: 12px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);

  /* Skin (fundos das seções) — padrão claro */
  --skin-bg:      #ffffff;  /* fundo predominante (branco) */
  --skin-bg-soft: #f1f1f3;  /* faixa secundária (cinza claro) */
}

/* Skin alternativo: rosa pastel (branco -> rosa, cinza -> rosa clarinho) */
.skin-rosa {
  --skin-bg:      #ffb3c9;
  --skin-bg-soft: #ffe1ec;
}
/* Título desta página */
.skin-rosa .gtm-hero__title { font-size: clamp(36px, 4.85vw, 62px); }

/* Painel da virada acompanha a altura da coluna de texto e distribui o conteúdo */
.skin-rosa .gtm-hero__inner { align-items: stretch; }
.skin-rosa .gtm-hero__viz { display: flex; }
.skin-rosa .roi-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.skin-rosa .turn { flex: 1; justify-content: center; }

/* Larguras de texto ajustadas nesta página */
.skin-rosa .hiw__outro { max-width: 1060px; }
.skin-rosa .crono__head { max-width: 880px; }
.skin-rosa .cta-final__inner { max-width: 900px; }
.skin-rosa .cta-final__lead { max-width: 660px; }
/* "O que muda na prática" usa o mesmo rosa claro das etapas */
.skin-rosa .cases { background: var(--skin-bg-soft); }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Ícones Material */
.mat-icon {
  font-family: 'Material Icons Round';
  font-weight: normal;
  font-style: normal;
  font-size: 1.25em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  vertical-align: middle;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------------------
   Tipografia
   --------------------------------------------------------------------------- */
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 8vw, 96px);
  letter-spacing: -3px;
  line-height: 1;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-faint);
}

.text-red { color: var(--red); }
strong, b { font-weight: 600; }

/* ---------------------------------------------------------------------------
   Layout
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--alt  { background: var(--bg2); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .label { margin-bottom: 18px; display: inline-block; }
.section-head p { color: var(--text-sub); margin-top: 18px; font-size: 17px; }

/* ---------------------------------------------------------------------------
   Botões
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 100px;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn .mat-icon { font-size: 18px; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-hover); }

.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: #000; }

.btn--ghost { border: 1px solid var(--border); color: var(--text-main); }
.btn--ghost:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* Tag em pílula */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-dim);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}
.pill .mat-icon { font-size: 16px; }

/* ---------------------------------------------------------------------------
   Header
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -1px;
  color: var(--text-main);
}
.logo span { color: var(--red); }
.logo--light { color: var(--white); }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color .2s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text-main); }

.nav-toggle { display: none; font-size: 26px; color: var(--text-main); }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.hero { padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 8vw, 96px); }
.hero__inner { max-width: 880px; }
.hero .pill { margin-bottom: 28px; }
.hero-title em { color: var(--red); font-style: normal; }
.hero__lead {
  margin-top: 28px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--mid);
  max-width: 560px;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------------------
   Cards
   --------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(17,17,17,.18); }

.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--red-dim);
  color: var(--red);
  border-radius: 14px;
  margin-bottom: 22px;
}
.card__icon .mat-icon { font-size: 24px; }
.card p { color: var(--text-sub); margin-top: 12px; }

/* Card escuro com glow */
.card--dark {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  border-color: var(--on-dark-border);
}
.card--dark::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}
.card--dark .card__icon { background: rgba(255,255,255,.08); color: var(--red-light); }
.card--dark p { color: var(--on-dark-sub); }
.card--dark .card-title { color: var(--white); }

/* ---------------------------------------------------------------------------
   CTA
   --------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--red-glow), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 560px; margin: 0 auto; }
.cta p { color: var(--on-dark-sub); margin: 16px 0 32px; }

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding-top: 72px; }
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--on-dark-border);
}
.site-footer__tagline { color: var(--on-dark-faint); margin-top: 16px; max-width: 400px; }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; }
.site-footer__links .label { color: var(--on-dark-faint); margin-bottom: 6px; }

/* Navegação em duas colunas (largura pelo conteúdo, sem quebrar linha) */
.site-footer__links--cols {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 40px;
  row-gap: 12px;
  align-content: start;
}
.site-footer__links--cols .label { grid-column: 1 / -1; }
.site-footer__links--cols a { white-space: nowrap; }
.site-footer__links a { color: var(--on-dark-sub); font-size: 14px; transition: color .2s var(--ease); }
.site-footer__links a:hover { color: var(--white); }

/* Redes sociais */
.site-footer__social { display: flex; gap: 10px; margin-top: 8px; }
.site-footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--on-dark-border);
  color: var(--on-dark-sub);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.site-footer__social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.site-footer__social svg { width: 16px; height: 16px; fill: currentColor; }

/* Barra final centralizada */
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 28px 0;
  font-size: 13px;
  text-align: center;
  color: var(--on-dark-faint);
}
.site-footer__motto {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.4px;
  color: var(--white);
}
.site-footer__motto span { color: var(--red-light); }

/* ---------------------------------------------------------------------------
   Responsivo
   --------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .nav, .nav__cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .nav.is-open .nav__link { padding: 14px clamp(20px, 5vw, 48px); }
}

/* ---------------------------------------------------------------------------
   Animação de entrada
   --------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ===========================================================================
   GTM — Hero (fundo branco, duas colunas)
   =========================================================================== */
.gtm { background: var(--skin-bg); }
.gtm-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(110% 80% at 82% 0%, rgba(255, 107, 148, .07), transparent 55%),
    var(--skin-bg);
}
/* Dot grid sutil que some nas bordas */
.gtm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 17, 17, .11) 1px, transparent 1.6px);
  background-size: 24px 24px;
  background-position: -12px -12px;
  -webkit-mask-image: radial-gradient(ellipse 78% 82% at 48% 34%, #000 28%, transparent 76%);
          mask-image: radial-gradient(ellipse 78% 82% at 48% 34%, #000 28%, transparent 76%);
}
.gtm-hero__inner { position: relative; z-index: 1; }
.gtm-hero__inner {
  max-width: 1340px;
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  align-items: center;
  gap: clamp(72px, 9.4vw, 140px);
}

.gtm-hero__slug { margin-bottom: 30px; font-size: 14px; padding: 7px 16px; }

.gtm-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -1.9px;
  line-height: 1.1;
  color: var(--text-main);
}
.gtm-hero__title em { color: var(--red); font-style: normal; }
.gtm-hero__bad {
  font-weight: 400;
  font-size: 0.90625em; /* ~58px quando o título está em 64px */
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-color: rgba(17, 17, 17, .22);
  text-decoration-thickness: 1.5px;
}

.gtm-hero__lead {
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--mid);
  max-width: 52ch;
}
.gtm-hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Painel de ROI (coluna direita) ------------------------------------- */
.roi-panel {
  position: relative;
  isolation: isolate;
  background: var(--dark);
  border: 1px solid var(--on-dark-border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  color: var(--white);
  box-shadow: 0 40px 80px -40px rgba(17, 17, 17, .45);
  overflow: hidden;
}
.roi-panel__glow {
  position: absolute;
  top: -45%; right: -25%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: roiGlow 6s ease-in-out infinite;
}
.roi-panel__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 70% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 0%, #000, transparent 75%);
  pointer-events: none;
}

.roi-panel__head {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}
.roi-panel__head > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}
.roi-panel__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .2px;
  color: var(--white);
}
.roi-panel__sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .3px;
  color: var(--on-dark-faint);
}
.roi-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-light);
  background: rgba(255, 107, 148, .12);
  border: 1px solid rgba(255, 107, 148, .22);
  padding: 5px 11px;
  border-radius: 100px;
}
.roi-panel__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 0 0 0 rgba(255, 107, 148, .6);
  animation: roiPulse 2s var(--ease) infinite;
}

.roi-panel__metric {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0 22px;
}
.roi-panel__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 7vw, 68px);
  letter-spacing: -3px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.roi-panel__x {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--red-light);
  letter-spacing: -1px;
}
.roi-panel__delta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-dark-sub);
}
.roi-panel__delta .mat-icon { font-size: 17px; color: var(--red-light); }

/* ---- Gráfico ------------------------------------------------------------- */
.roi-chart { position: relative; }
.roi-chart svg { display: block; width: 100%; height: auto; overflow: visible; }

.roi-chart__grid line {
  stroke: rgba(255, 255, 255, .06);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

/* Linha "marketing infinito": gasto suave, sem crescimento */
.roi-chart__noise {
  fill: none;
  stroke: rgba(255, 255, 255, .42);
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: roiDraw 2s ease-out .3s forwards;
}

/* Pulso de luz percorrendo a curva */
.roi-chart__pulse {
  fill: #fff;
  opacity: 0;
  filter: drop-shadow(0 0 5px var(--red-light)) drop-shadow(0 0 9px var(--red));
  animation: roiPulseTravel 2.6s linear 3s infinite;
}

.roi-chart__band {
  fill: rgba(255, 107, 148, .08);
  opacity: 0;
  animation: roiFade .9s var(--ease) .6s forwards;
}
.roi-chart__area {
  opacity: 0;
  animation: roiFade 1.1s var(--ease) 1.7s forwards;
}
.roi-chart__line {
  fill: none;
  stroke: url(#roiLine);
  stroke-width: 6.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: roiDraw 2.4s var(--ease) .5s forwards;
  filter: drop-shadow(0 6px 16px rgba(222, 0, 72, .55));
}
.roi-chart__proj {
  fill: none;
  stroke: var(--red-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: .04 .06;
  stroke-dashoffset: 1;
  opacity: .7;
  animation: roiDraw 1s var(--ease) 2.7s forwards;
}

.roi-chart__dot {
  fill: var(--dark);
  stroke: var(--red-light);
  stroke-width: 2.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: roiPop .5s var(--ease) var(--d, 1s) forwards;
}
.roi-chart__live { opacity: 0; animation: roiFade .4s var(--ease) var(--d, 2.9s) forwards; }
.roi-chart__dot--live {
  fill: var(--red-light);
  stroke: #fff;
  stroke-width: 2;
}
.roi-chart__halo {
  fill: none;
  stroke: var(--red-light);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: roiHalo 2.2s var(--ease) infinite;
}

/* Tag flutuante */
.roi-chart__tag {
  position: absolute;
  top: 4%;
  right: 2%;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -.3px;
  color: #fff;
  background: var(--red);
  padding: 5px 11px;
  border-radius: 100px;
  box-shadow: 0 10px 24px -8px rgba(222, 0, 72, .8);
  opacity: 0;
  transform: translateY(6px);
  animation: roiTag .5s var(--ease) 2.9s forwards, roiFloat 3.5s ease-in-out 3.4s infinite;
}

/* ---- Legenda ------------------------------------------------------------- */
.roi-legend {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}
.roi-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--on-dark-sub);
}
.roi-legend__item i {
  width: 20px; height: 0;
  border-top: 3px solid currentColor;
  border-radius: 2px;
}
.roi-legend__item--noise { color: var(--on-dark-faint); }
.roi-legend__item--roi { color: var(--white); }
.roi-legend__item--roi i { border-top-color: var(--red-light); width: 22px; }

/* ---- Rodapé do painel ---------------------------------------------------- */
.roi-panel__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--on-dark-border);
}
.roi-stat { display: flex; flex-direction: column; gap: 2px; }
.roi-stat__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.roi-stat__v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.roi-stat--out .roi-stat__v { color: var(--red-light); }
.roi-panel__arrow { color: var(--text-faint); font-size: 22px; }
.roi-panel__foot .roi-stat--out { margin-left: auto; text-align: right; }
.roi-stat--out { align-items: flex-end; }

/* ---- Keyframes ----------------------------------------------------------- */
@keyframes roiDraw { to { stroke-dashoffset: 0; } }
@keyframes roiFade { to { opacity: 1; } }
@keyframes roiPop  { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes roiTag  { to { opacity: 1; transform: translateY(0); } }
@keyframes roiPulseTravel { 0% { opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; } }
@keyframes roiFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes roiGlow {
  0%,100% { opacity: .8; transform: scale(1); }
  50%     { opacity: 1;  transform: scale(1.08); }
}
@keyframes heroBlob {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%     { transform: translate(40px, 30px) scale(1.12); }
  66%     { transform: translate(-30px, 20px) scale(.95); }
}
@keyframes roiHalo {
  0%   { transform: scale(.5); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes roiPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 107, 148, .6); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 107, 148, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 148, 0); }
}

@media (max-width: 860px) {
  .gtm-hero { padding-top: 56px; }
  .gtm-hero__inner { grid-template-columns: 1fr; }
  .gtm-hero__title { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .roi-chart__line, .roi-chart__proj, .roi-chart__noise { stroke-dashoffset: 0; }
  .roi-chart__band, .roi-chart__area, .roi-chart__dot,
  .roi-chart__live, .roi-chart__tag { opacity: 1; transform: none; }
  .roi-chart__pulse, .roi-panel__glow, .roi-chart__halo { animation: none; }
}

/* ===========================================================================
   GTM — Como funciona
   =========================================================================== */
.hiw {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 24px;
}
/* Dot grid sutil no escuro */
.hiw::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 26%, #000, transparent 78%);
          mask-image: radial-gradient(ellipse 72% 62% at 50% 26%, #000, transparent 78%);
}
/* Brilho vermelho difuso ao fundo */
.hiw::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -8%; left: 50%;
  width: min(960px, 110%); height: 560px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, var(--red-glow), transparent 68%);
}

.hiw__head {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hiw .section-title { color: var(--white); }
.hiw .section-title em { color: var(--red-light); font-style: normal; }
.hiw__head p {
  color: var(--on-dark-sub);
  font-size: clamp(17px, 1.8vw, 21px);
}
.hiw__head p strong { color: var(--white); font-weight: 600; }

/* ---- Fluxo de etapas ----------------------------------------------------- */
.hiw__flow {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-top: clamp(40px, 6vw, 72px);
}

.hiw-step {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--on-dark-border);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.hiw-step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 107, 148, .4);
}
/* Barra de acento no topo (cresce ao revelar / hover) */
.hiw-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.hiw-step.is-visible::before,
.hiw-step:hover::before { transform: scaleX(1); }

.hiw-step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -2px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .18);
}
.hiw-step__icon {
  position: relative;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin: 20px 0 22px;
  border-radius: 16px;
  background: rgba(255, 107, 148, .12);
  color: var(--red-light);
}
.hiw-step__icon .mat-icon { font-size: 27px; }
.hiw-step__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 148, .45);
  animation: hiwRing 2.8s var(--ease) infinite;
}
.hiw__flow article:nth-of-type(2) .hiw-step__icon::after { animation-delay: .5s; }
.hiw__flow article:nth-of-type(3) .hiw-step__icon::after { animation-delay: 1s; }

.hiw-step .card-title { color: var(--white); }
.hiw-step p { color: var(--on-dark-sub); margin-top: 10px; }

/* Stagger de entrada */
.hiw__flow article:nth-of-type(2) { transition-delay: .1s; }
.hiw__flow article:nth-of-type(3) { transition-delay: .2s; }

/* ---- Setas de fluxo ------------------------------------------------------ */
.hiw-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(30px, 4vw, 56px);
  color: var(--on-dark-faint);
}
.hiw-flow__arrow .mat-icon {
  font-size: clamp(22px, 2.6vw, 30px);
  animation: hiwFlow 1.9s var(--ease) infinite;
}
.hiw__flow .hiw-flow__arrow:nth-of-type(4) .mat-icon { animation-delay: .35s; }

/* ---- Fecho --------------------------------------------------------------- */
.hiw__outro {
  text-align: center;
  max-width: 780px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--on-dark-faint);
}
.hiw__outro span { display: inline-block; }
.hiw__outro span { color: var(--on-dark-sub); }
.hiw__outro strong { color: var(--white); font-weight: 600; }

/* ---- Keyframes ----------------------------------------------------------- */
@keyframes hiwRing {
  0%   { transform: scale(1);    opacity: .8; }
  70%  { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}
@keyframes hiwFlow {
  0%   { opacity: .25; transform: translateX(-5px); color: var(--on-dark-faint); }
  50%  { opacity: 1;   transform: translateX(5px);  color: var(--red-light); }
  100% { opacity: .25; transform: translateX(-5px); color: var(--on-dark-faint); }
}
@keyframes hiwFlowDown {
  0%   { opacity: .25; transform: rotate(90deg) translateX(-5px); color: var(--on-dark-faint); }
  50%  { opacity: 1;   transform: rotate(90deg) translateX(5px);  color: var(--red-light); }
  100% { opacity: .25; transform: rotate(90deg) translateX(-5px); color: var(--on-dark-faint); }
}

@media (max-width: 860px) {
  .hiw__head { text-align: left; }
  .hiw__outro { text-align: left; }
  .hiw__flow { flex-direction: column; }
  .hiw-flow__arrow { width: 100%; padding: 4px 0; }
  .hiw-flow__arrow .mat-icon { transform: rotate(90deg); animation-name: hiwFlowDown; }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-step__icon::after, .hiw-flow__arrow .mat-icon { animation: none; }
}

/* ===========================================================================
   GTM — Etapas detalhadas (fundo cinza claro)
   =========================================================================== */
.etapas {
  position: relative;
  background: var(--skin-bg-soft);
}
/* Dot grid bem sutil, pra dar textura sem poluir */
.etapas::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 17, 17, .055) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
          mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.etapas .container { position: relative; z-index: 1; }

.etapa {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
/* Divisor entre etapas */
.etapa + .etapa {
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--border);
}

/* ---- Cabeçalho da etapa (sticky) ---------------------------------------- */
.etapa__aside {
  position: sticky;
  top: 40px;
  align-self: start;
}
.etapa__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 8vw, 118px);
  line-height: .9;
  letter-spacing: -3px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(17, 17, 17, .13);
  margin-bottom: 18px;
}
.etapa__tag { margin-bottom: 18px; }
.etapa__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -1.2px;
  line-height: 1.05;
  color: var(--text-main);
}
.etapa__intro {
  margin-top: 18px;
  font-size: clamp(15px, 1.3vw, 16.5px);
  line-height: 1.7;
  color: var(--text-sub);
  max-width: 42ch;
}

/* ---- Cards de entregáveis ------------------------------------------------ */
.etapa__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.etapa-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.etapa-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(17, 17, 17, .22);
  border-color: rgba(222, 0, 72, .25);
}
.etapa-card__icon {
  grid-row: span 2;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--red-dim);
  color: var(--red);
  border-radius: 12px;
}
.etapa-card__icon .mat-icon { font-size: 24px; }
.etapa-card__title {
  align-self: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.3px;
  line-height: 1.2;
  color: var(--text-main);
}
.etapa-card p {
  grid-column: 2;
  margin-top: 5px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-sub);
}

/* ---- Resultado da etapa -------------------------------------------------- */
.etapa__result {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
}
.etapa__result-icon {
  color: var(--red);
  font-size: 26px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.etapa__result .label { color: var(--red); display: block; margin-bottom: 8px; }
.etapa__result p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
  color: var(--text-sub);
}
.etapa__result strong { color: var(--text-main); font-weight: 600; }

@media (max-width: 860px) {
  .etapa { grid-template-columns: 1fr; gap: 28px; }
  .etapa__aside { position: static; }
  .etapa__num { font-size: 72px; margin-bottom: 12px; }
  .etapa__intro { max-width: none; }
  .etapa__grid { grid-template-columns: 1fr; }

  /* Card: ícone em cima, texto abaixo (melhor leitura no mobile) */
  .etapa-card { grid-template-columns: 1fr; }
  .etapa-card__icon { grid-row: auto; margin-bottom: 16px; }
  .etapa-card__title { align-self: start; }
  .etapa-card p { grid-column: 1; }
}

/* ===========================================================================
   GTM — Cronograma (fundo vibrante, evolução até o resultado)
   =========================================================================== */
.crono {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(120% 130% at 0% 0%, #ff5c8a 0%, transparent 50%),
    linear-gradient(135deg, #e10050 0%, #c10043 55%, #97003a 100%);
}
.crono__glow {
  position: absolute;
  z-index: -1;
  bottom: -30%; right: -10%;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%);
  pointer-events: none;
}
/* Textura de grade sutil */
.crono::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000, transparent 80%);
}

.crono__head { max-width: 680px; }
.crono__label { color: rgba(255, 255, 255, .7); }
.crono__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 60px);
  letter-spacing: -2px;
  line-height: 1.04;
  margin-top: 18px;
}
.crono__title em { font-style: normal; position: relative; white-space: nowrap; }
.crono__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(255, 255, 255, .28);
  z-index: -1;
  border-radius: 4px;
}
.crono__big {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  padding: 0 14px;
  border-radius: 12px;
  transform: rotate(-1.5deg);
}
.crono__lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  max-width: 520px;
}

/* ---- Trilha de evolução -------------------------------------------------- */
.crono__track { margin-top: clamp(48px, 7vw, 88px); }
.crono__phases { display: flex; gap: 0; }

.crono-phase {
  position: relative;
  flex-grow: var(--g, 1);
  flex-basis: 0;
  padding-right: 4px;
}
.crono-phase__bar {
  position: relative;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.crono-phase__bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  border-radius: 6px;
  background: var(--white);
  transition: width 1s var(--ease);
}
.crono-phase__node {
  position: absolute;
  top: -4px; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .18);
  z-index: 2;
}
.crono-phase__flag {
  position: absolute;
  top: 3px; right: 0;
  transform: translate(50%, -50%);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .35);
  opacity: 0;
  z-index: 3;
}
.crono-phase__flag .mat-icon { font-size: 22px; }
.crono-phase__tag {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.crono-phase__name {
  display: block;
  margin-top: 8px;
  padding-right: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: -.3px;
  line-height: 1.15;
  color: var(--white);
}

/* Preenchimento progressivo (evolução) ao revelar */
.crono__track.is-visible .crono-phase:nth-child(1) .crono-phase__bar::after { width: 100%; transition-delay: .15s; }
.crono__track.is-visible .crono-phase:nth-child(2) .crono-phase__bar::after { width: 100%; transition-delay: 1.1s; }
.crono__track.is-visible .crono-phase:nth-child(3) .crono-phase__bar::after { width: 100%; transition-delay: 2s; transition-duration: 1.5s; }
.crono__track.is-visible .crono-phase__flag { animation: cronoFlag .5s var(--ease) 3.4s forwards; }

/* ---- Resultado final ----------------------------------------------------- */
.crono__result {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: 16px 26px 16px 18px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.crono__result .mat-icon {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-size: 20px;
}
.crono__result p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 21px);
  letter-spacing: -.4px;
}
.crono__result strong { font-weight: 800; }

@keyframes cronoFlag {
  from { opacity: 0; transform: translate(50%, -50%) scale(.4); }
  to   { opacity: 1; transform: translate(50%, -50%) scale(1); }
}

@media (max-width: 760px) {
  .crono__phases { flex-direction: column; gap: 26px; }
  .crono-phase { padding-right: 0; }
  .crono-phase__flag { right: auto; left: 0; top: 3px; transform: translate(-50%, -50%); }
  .crono__title br { display: none; }
  .crono__result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 24px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crono-phase__bar::after { width: 100% !important; transition: none; }
  .crono-phase__flag { opacity: 1 !important; animation: none; }
}

/* ===========================================================================
   GTM — Cases (fundo claro)
   =========================================================================== */
.cases { background: var(--skin-bg); }
.cases__head { max-width: 840px; }
.cases__head .section-title em { color: var(--red); font-style: normal; white-space: nowrap; }
.cases__head p { color: var(--text-sub); max-width: 620px; }

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.case-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -28px rgba(17, 17, 17, .26);
  border-color: rgba(222, 0, 72, .25);
}
.case-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -1px;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(222, 0, 72, .4);
  margin-bottom: 18px;
}
.case-card__title { color: var(--text-main); }
.case-card p { margin-top: 12px; color: var(--text-sub); font-size: 14.5px; line-height: 1.6; }
.case-card__arrow {
  margin-top: 22px;
  color: var(--red);
  font-size: 22px;
  transition: transform .3s var(--ease);
}
.case-card:hover .case-card__arrow { transform: translate(4px, -4px); }

/* ---- Case em destaque ---------------------------------------------------- */
.case-feature {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: clamp(28px, 4vw, 56px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 52px);
}
.case-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--red-light));
}
.case-feature__aside .pill { margin-bottom: 22px; }
.case-feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-main);
}
.case-feature__body { display: flex; flex-direction: column; gap: 16px; }
.case-feature__body p { color: var(--text-sub); font-size: clamp(15px, 1.4vw, 16.5px); line-height: 1.65; }
.case-feature__body strong { color: var(--text-main); font-weight: 600; }

@media (max-width: 860px) {
  .cases__grid { grid-template-columns: 1fr; }
  .case-feature { grid-template-columns: 1fr; }
  .cases__head .section-title em { white-space: normal; }
}

/* ===========================================================================
   GTM — CTA final (fundo escuro)
   =========================================================================== */
.cta-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background: var(--dark);
  color: var(--white);
}
.cta-final__glow {
  position: absolute;
  z-index: -1;
  top: 40%; left: 50%;
  width: min(900px, 120%); height: 700px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, var(--red-glow), transparent 62%);
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%);
}
.cta-final__inner { max-width: 720px; margin: 0 auto; }
.cta-final__label { color: var(--red-light); }
.cta-final__title { color: var(--white); margin-top: 18px; }
.cta-final__title em { color: var(--red-light); font-style: normal; }
.cta-final__lead {
  margin: 22px auto 36px;
  max-width: 520px;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.6;
  color: var(--on-dark-sub);
}
.cta-final__btn { font-size: 15px; padding: 15px 28px; }

@media (max-width: 860px) {
  .cta-final { text-align: left; }
  .cta-final__inner { margin: 0; }
  .cta-final__lead { margin-left: 0; margin-right: 0; }
}

/* ===========================================================================
   GTM — Rodapé minimalista
   =========================================================================== */
.gtm-foot {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
}
/* Linha rosa no topo */
.gtm-foot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
}
.gtm-foot .container { padding-top: 40px; padding-bottom: 40px; }
.gtm-foot__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.gtm-foot__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.5px;
  color: var(--white);
}
.gtm-foot__brand span { color: var(--red-light); }
.gtm-foot__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark-sub);
  transition: color .2s var(--ease);
}
.gtm-foot__back:hover { color: var(--white); }
.gtm-foot__back .mat-icon { font-size: 18px; }
.gtm-foot__copy {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--on-dark-border);
  text-align: center;
  font-size: 13px;
  color: var(--on-dark-faint);
}

@media (max-width: 860px) {
  .gtm-foot__bar { align-items: flex-start; }
  .gtm-foot__copy { text-align: left; }
}

/* ===========================================================================
   HOME — Institucional Gama
   =========================================================================== */
/* Hero da home compartilha o gtm-hero; título um pouco mais compacto */
.home .gtm-hero__title { font-size: clamp(36px, 4.85vw, 62px); }
.home .gtm-hero { padding-top: clamp(48px, 7vw, 96px); }

/* CTA final da home: texto mais largo, menos linhas */
.home .cta-final__inner { max-width: 880px; }
.home .cta-final__lead { max-width: 760px; }

/* ---- Painel do hero: processo em execução --------------------------------- */
.proc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 2px;
  counter-reset: proc;
}
.proc-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--on-dark-border);
  opacity: 0;
  transform: translateY(12px);
  animation: procIn .55s var(--ease) var(--d, .3s) forwards;
}
.proc-step--live {
  border-color: rgba(255, 107, 148, .38);
  background: rgba(255, 107, 148, .07);
}
.proc-step__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 107, 148, .12);
  color: var(--red-light);
}
.proc-step__icon .mat-icon { font-size: 22px; }
.proc-step__info { min-width: 0; }
.proc-step__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.3px;
  color: var(--white);
}
.proc-step__desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--on-dark-faint);
}
.proc-step__check {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 107, 148, .16);
  border: 1px solid rgba(255, 107, 148, .35);
  color: var(--red-light);
  opacity: 0;
  transform: scale(0);
  animation: procCheck .45s var(--ease) var(--dc, 1.2s) forwards;
}
.proc-step__check .mat-icon { font-size: 15px; }
.proc-step__live {
  position: relative;
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.proc-step__live::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 0 8px rgba(255, 107, 148, .8);
}
.proc-step__halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--red-light);
  animation: roiHalo 2s var(--ease) 2.6s infinite;
  opacity: 0;
}
.roi-stat--roi .roi-stat__v { color: var(--red-light); }
.roi-stat--roi { align-items: center; text-align: center; }
.home .roi-panel__foot { justify-content: space-between; }
.home .roi-panel__foot .roi-stat--out { margin-left: 0; }

@keyframes procIn {
  to { opacity: 1; transform: none; }
}
@keyframes procCheck {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .proc-step, .proc-step__check { opacity: 1; transform: none; animation: none; }
  .proc-step__halo { animation: none; }
}

/* ---- Dúvidas (seção escura) ---------------------------------------------- */
.duvidas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 6vw, 64px);
}
.duvida-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--on-dark-border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.duvida-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 107, 148, .4);
}
.duvida-card__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 107, 148, .12);
  color: var(--red-light);
  font-size: 21px;
}
.duvida-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--on-dark-sub);
}

/* ---- Método (Como fazemos) ------------------------------------------------ */
.metodo { background: var(--skin-bg); }
.metodo__head { max-width: 760px; }
.metodo__head .section-title em { color: var(--red); font-style: normal; }

.metodo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.metodo-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.metodo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -28px rgba(17, 17, 17, .26);
  border-color: rgba(222, 0, 72, .25);
}
/* Barra de acento no topo */
.metodo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.metodo-card.is-visible::before,
.metodo-card:hover::before { transform: scaleX(1); }

.metodo-card__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -2px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(222, 0, 72, .35);
}
.metodo-card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin: 18px 0 20px;
  border-radius: 14px;
  background: var(--red-dim);
  color: var(--red);
}
.metodo-card__icon .mat-icon { font-size: 25px; }
.metodo-card .card-title { color: var(--text-main); }
.metodo-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--text-sub); }

/* ---- Frentes de atuação --------------------------------------------------- */
.frentes {
  position: relative;
  background: var(--skin-bg-soft);
}
.frentes::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 17, 17, .055) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
          mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.frentes .container { position: relative; z-index: 1; }
.frentes__head { max-width: 760px; }
.frentes__head .section-title em { color: var(--red); font-style: normal; }

.frentes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.frente-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.frente-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(17, 17, 17, .22);
  border-color: rgba(222, 0, 72, .25);
}
.frente-card__icon {
  grid-row: span 3;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--red-dim);
  color: var(--red);
  border-radius: 12px;
}
.frente-card__icon .mat-icon { font-size: 24px; }
.frente-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.3px;
  line-height: 1.2;
  color: var(--text-main);
}
.frente-card__quando {
  grid-column: 2;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-faint);
}
.frente-card__como {
  grid-column: 2;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-sub);
  font-weight: 500;
}

/* Nota "nem toda empresa precisa de tudo" */
.frentes__note {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
}
.frentes__note-icon {
  color: var(--red);
  font-size: 26px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.frentes__note .label { color: var(--red); display: block; margin-bottom: 8px; }
.frentes__note p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
  color: var(--text-sub);
}
.frentes__note strong { color: var(--text-main); font-weight: 600; }

/* ---- Manifesto (compromisso, fundo vibrante) ------------------------------ */
.manifesto {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(120% 130% at 0% 0%, #ff5c8a 0%, transparent 50%),
    linear-gradient(135deg, #e10050 0%, #c10043 55%, #97003a 100%);
}
.manifesto__glow {
  position: absolute;
  z-index: -1;
  bottom: -30%; right: -10%;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%);
  pointer-events: none;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000, transparent 80%);
}
.manifesto__head { max-width: 720px; }
.manifesto__label { color: rgba(255, 255, 255, .7); }
.manifesto__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 60px);
  letter-spacing: -2px;
  line-height: 1.04;
  margin-top: 18px;
}
.manifesto__title em {
  font-style: normal;
  display: inline-block;
  background: var(--white);
  color: var(--red);
  padding: 0 14px;
  border-radius: 12px;
  transform: rotate(-1.5deg);
}
.manifesto__lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
}
.manifesto__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
}
.manifesto__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  backdrop-filter: blur(4px);
}
.manifesto__list .mat-icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-size: 16px;
}
.manifesto__result {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
  padding: 16px 26px 16px 18px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.manifesto__result .mat-icon {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-size: 20px;
}
.manifesto__result p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.7vw, 20px);
  letter-spacing: -.4px;
}
.manifesto__result strong { font-weight: 800; }

/* ---- Cases da home (problema -> ação -> resultado) ------------------------ */
.hcase { gap: 0; }
.hcase__block { margin-bottom: 18px; }
.hcase__block .label { display: block; margin-bottom: 6px; }
.hcase__block p { margin-top: 0; }
.hcase__result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 16px 18px;
  background: var(--red-dim);
  border-radius: var(--radius-sm);
}
.hcase__result .mat-icon {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 20px;
  margin-top: 3px;
}
.hcase__result p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.2px;
  line-height: 1.45;
  color: var(--text-main);
}

/* ---- Conteúdos (posts do blog) --------------------------------------------- */
.conteudos { background: var(--skin-bg); }
.conteudos__head { max-width: 720px; }
.conteudos__head .section-title em { color: var(--red); font-style: normal; }

.posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -28px rgba(17, 17, 17, .26);
  border-color: rgba(222, 0, 72, .25);
}
.post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card__cover {
  position: relative;
  display: grid;
  place-items: center;
  height: 160px;
  background:
    radial-gradient(circle at 75% 10%, var(--red-glow), transparent 60%),
    var(--dark);
}
.post-card__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000, transparent 80%);
}
.post-card__cover .mat-icon {
  position: relative;
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 18px;
  background: rgba(255, 107, 148, .14);
  border: 1px solid rgba(255, 107, 148, .3);
  color: var(--red-light);
  font-size: 30px;
  transition: transform .3s var(--ease);
}
.post-card:hover .post-card__cover .mat-icon { transform: scale(1.08); }

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}
.post-card__tag { align-self: flex-start; margin-bottom: 16px; }
.post-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.4px;
  line-height: 1.3;
  color: var(--text-main);
}
.post-card__body > p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-sub);
}
.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-faint);
}
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 13px;
  color: var(--red);
  transition: gap .25s var(--ease);
}
.post-card__more .mat-icon { font-size: 16px; }
.post-card:hover .post-card__more { gap: 9px; }

.conteudos__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}

/* ---- FAQ ------------------------------------------------------------------ */
.faq { background: var(--skin-bg-soft); }
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq__head {
  position: sticky;
  top: 96px;
  margin-bottom: 0;
}
.faq__head .section-title em { color: var(--red); font-style: normal; }

.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item[open] {
  border-color: rgba(222, 0, 72, .25);
  box-shadow: 0 18px 36px -26px rgba(17, 17, 17, .25);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.3px;
  line-height: 1.3;
  color: var(--text-main);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__toggle {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red-dim);
  color: var(--red);
  font-size: 20px;
  transition: transform .3s var(--ease);
}
.faq-item[open] .faq-item__toggle { transform: rotate(180deg); }
.faq-item__a {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-sub);
  max-width: 60ch;
}

/* ---- Responsivo da home ---------------------------------------------------- */
@media (max-width: 1060px) {
  .duvidas__grid { grid-template-columns: repeat(2, 1fr); }
  .metodo__grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .duvidas__grid { grid-template-columns: 1fr; }
  .metodo__grid { grid-template-columns: 1fr; }
  .frentes__grid { grid-template-columns: 1fr; }
  .manifesto__list { grid-template-columns: 1fr; }
  .manifesto__title br { display: none; }
  .manifesto__result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 24px;
    border-radius: 20px;
  }
  .posts__grid { grid-template-columns: 1fr; }
  .faq__inner { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* ===========================================================================
   Painel "A virada" (hero da página de Estruturação Comercial)
   =========================================================================== */
.turn {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 6px;
}
.turn__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--on-dark-border);
}
.turn__from {
  font-size: 13.5px;
  color: var(--on-dark-faint);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, .28);
}
.turn__to {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.3px;
  color: var(--white);
  text-align: right;
}
.turn__arrow {
  color: var(--red-light);
  font-size: 20px;
  animation: hiwFlow 1.9s var(--ease) infinite;
}
.turn__row:nth-child(2) .turn__arrow { animation-delay: .4s; }
.turn__row:nth-child(3) .turn__arrow { animation-delay: .8s; }

@media (max-width: 480px) {
  .turn__row { grid-template-columns: 1fr; gap: 6px; text-align: left; }
  .turn__to { text-align: left; }
  .turn__arrow { transform: rotate(90deg); animation-name: hiwFlowDown; justify-self: start; }
}
