:root {
  --ink: #101a31;
  --ink-2: #111722;
  --ink-3: #171f2c;
  --paper: #f7f8fa;
  --white: #ffffff;
  --text: #17202d;
  --muted: #657080;
  --line: rgba(23, 32, 45, .12);
  --red: #d71920;
  --red-2: #a90910;
  --red-soft: rgba(215, 25, 32, .12);
  --cyan: #70e0f0;
  --blue: #2b5c9d;
  --gold: #c8a27e;
  --success: #51d5a3;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --header-h: 5.7rem;
  --radius: 1.5rem;
  --shadow: 0 30px 80px rgba(6, 10, 18, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::selection,
::selection {
  background: var(--red);
  color: white;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

/* =========================================================
   SKIP LINK
========================================================= */

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 20000;
  padding: .75rem 1rem;
  background: var(--red);
  color: white;
  text-decoration: none;
  border-radius: .5rem;
}

.skip-link:focus {
  top: 1rem;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: white;
  border-bottom: 1px solid transparent;
  transition:
    background .35s ease,
    color .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 16, .66);
  backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, .09);
}

.site-header.is-static {
  background: rgba(255, 255, 255, .93);
  color: var(--text);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: .85rem;
  background: white;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .35rem;
}

.brand__copy {
  display: grid;
  line-height: 1.05;
}

.brand__copy strong {
  font-size: .83rem;
  letter-spacing: .04em;
}

.brand__copy small {
  margin-top: .3rem;
  font-size: .57rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .66;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.5rem);
}

.site-nav a {
  position: relative;
  padding: .5rem 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .64rem;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .25rem;
  height: 2px;
  background: var(--red);
  transition: right .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.nav-cta {
  padding: .65rem .9rem !important;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  font-weight: 700;
}

/* =========================================================
   IMMERSIVE / HERO
========================================================= */

.page-shell {
  position: relative;
  background: var(--ink);
}

.video-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 75% 24%,
      rgba(43, 92, 157, .34),
      transparent 28%
    ),
    radial-gradient(
      circle at 24% 70%,
      rgba(215, 25, 32, .18),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #06090f 0%,
      #101722 55%,
      #090d14 100%
    );
}

.video-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .22;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, .035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .035) 1px,
      transparent 1px
    );
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .7s ease;
}

.video-stage.is-ready .background-video {
  opacity: .78;
}

.video-stage.has-error .background-video {
  display: none;
}

.video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 13, .78),
      rgba(5, 8, 13, .2) 50%,
      rgba(5, 8, 13, .45)
    ),
    linear-gradient(
      180deg,
      rgba(5, 8, 13, .22),
      transparent 40%,
      rgba(5, 8, 13, .58)
    );
}

.video-stage.is-past {
  visibility: hidden;
}

.immersive-sections {
  position: relative;
  z-index: 2;
}

.panel {
  min-height: 100vh;
  padding:
    calc(var(--header-h) + 3rem)
    var(--gutter)
    4rem;
  display: grid;
  align-items: center;
  color: white;
  position: relative;
}

.panel::before {
  content: attr(data-section);
  position: absolute;
  right: var(--gutter);
  bottom: 2.2rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  opacity: .5;
}

.panel__content {
  width: min(100%, 48rem);
}

.panel--center {
  justify-items: center;
  text-align: center;
}

.panel--center .panel__content {
  width: min(100%, 75rem);
}

.panel--right {
  justify-items: end;
}

.panel--right .panel__content {
  text-align: right;
}

.eyebrow {
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .65rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 2.8rem;
  height: 2px;
  background: var(--red);
}

.panel h1,
.panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .95;
  text-wrap: balance;
}

.panel h1 {
  font-size: clamp(4rem, 9vw, 9.2rem);
}

.panel h2 {
  font-size: clamp(3.1rem, 7vw, 7rem);
}

.panel p:not(.eyebrow) {
  max-width: 45rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.panel--center p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.panel--right p:not(.eyebrow) {
  margin-left: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2.2rem;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .67rem;
  font-weight: 700;
}

.text-link span {
  color: var(--red);
  font-size: 1rem;
}

.hero-kpis {
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

.hero-kpis span {
  padding: .58rem .8rem;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .15);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.scroll-progress {
  position: fixed;
  z-index: 80;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  color: white;
  transition: opacity .3s ease;
  pointer-events: none;
}

.scroll-progress.is-hidden {
  opacity: 0;
}

.scroll-progress__label,
.scroll-progress__number {
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}

.scroll-progress__track {
  height: 2px;
  background: rgba(255, 255, 255, .16);
}

.scroll-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--red),
    #ff7b80
  );
}

/* =========================================================
   CONTENT
========================================================= */

main > section:not(.immersive-sections) {
  position: relative;
  z-index: 5;
}

.light-section {
  background: var(--paper);
  color: var(--text);
}

.dark-section {
  background: var(--ink);
  color: white;
}

.section {
  padding:
    clamp(5.5rem, 10vw, 9rem)
    var(--gutter);
}

.section--tight {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns:
    minmax(0, .85fr)
    minmax(0, 1.5fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.dark-section .section-heading p:last-child {
  color: rgba(255, 255, 255, .62);
}

.kicker {
  margin: 0 0 .8rem;
  color: var(--red);
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 800;
}

/* =========================================================
   PROOF
========================================================= */

.proof-strip {
  background: white;
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof {
  padding: 2.1rem 1.5rem;
  border-right: 1px solid var(--line);
}

.proof:last-child {
  border-right: 0;
}

.proof strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  font-weight: 600;
  color: var(--ink);
}

.proof span {
  display: block;
  margin-top: .55rem;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.4;
}

/* =========================================================
   PROBLEM
========================================================= */

.problem-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.problem-copy h2 {
  margin: 0;
  font:
    500
    clamp(3.3rem, 6vw, 6.6rem) / .95
    var(--serif);
  letter-spacing: -.045em;
}

.problem-copy p {
  color: var(--muted);
  max-width: 43rem;
}

.signal-list {
  display: grid;
  gap: .85rem;
}

.signal {
  padding: 1.15rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(8, 12, 18, .04);
}

.signal__icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: .6rem;
  background: var(--red-soft);
  color: var(--red);
  font-family: var(--mono);
  font-weight: 800;
}

.signal strong {
  display: block;
  font-size: .9rem;
}

.signal p {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

/* =========================================================
   FEATURE CARDS
   CORREÇÃO PRINCIPAL DAS IMAGENS
========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.feature-card {
  position: relative;
  min-height: 25rem;
  padding: 1.55rem;
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  background: var(--ink-2);
  box-shadow: var(--shadow);
  isolation: isolate;
}

/*
  CORREÇÃO:
  anteriormente a imagem estava em z-index negativo.
  Agora ela fica em z-index 0.
*/
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
opacity: 0.25;
  background-image:
    linear-gradient(
      180deg,
      rgba(6, 9, 15, .05) 0%,
      rgba(6, 9, 15, .22) 48%,
      rgba(6, 9, 15, .92) 100%
    ),
    var(
      --card-image,
      linear-gradient(
        135deg,
        #171f2c,
        #090c12
      )
    );

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition:
    transform .7s
    cubic-bezier(.2, .8, .2, 1);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 85% 0%,
      rgba(215, 25, 32, .2),
      transparent 32%
    );
}

.feature-card:hover::before {
  transform: scale(1.045);
}

.feature-card--wide {
  grid-column: span 7;
}

.feature-card--medium {
  grid-column: span 5;
}

.feature-card--third {
  grid-column: span 4;
  min-height: 22rem;
}

.feature-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.feature-card__num {
  font-family: var(--mono);
  font-size: .66rem;
  opacity: .6;
}

.feature-card__tag {
  padding: .45rem .62rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(0, 0, 0, .18);
  backdrop-filter: blur(8px);
  font-size: .57rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.feature-card__content {
  position: absolute;
  z-index: 2;
  left: 1.55rem;
  right: 1.55rem;
  bottom: 1.55rem;
}

.feature-card h3 {
  margin: 0;
  max-width: 32rem;
  font:
    500
    clamp(2.1rem, 4vw, 4rem) / .98
    var(--serif);
  letter-spacing: -.035em;
}

.feature-card p {
  margin: .8rem 0 0;
  max-width: 39rem;
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
}

/* =========================================================
   MAPEAMENTO DIRETO DAS IMAGENS

   IMPORTANTE:
   este arquivo styles.css está dentro de /assets.

   Por isso:
   CERTO  -> url('classificacao-fiscal.jpg')
   ERRADO -> url('assets/classificacao-fiscal.jpg')
========================================================= */

.feature-grid .feature-card:nth-child(1)::before {
  background-image:
    linear-gradient(
      180deg,
      rgba(6, 9, 15, .05) 0%,
      rgba(6, 9, 15, .22) 48%,
      rgba(6, 9, 15, .92) 100%
    ),
    url('classificacao-fiscal.jpg');
}

.feature-grid .feature-card:nth-child(2)::before {
  background-image:
    linear-gradient(
      180deg,
      rgba(6, 9, 15, .05) 0%,
      rgba(6, 9, 15, .22) 48%,
      rgba(6, 9, 15, .92) 100%
    ),
    url('tributos-importacao.jpg');
}

.feature-grid .feature-card:nth-child(3)::before {
  background-image:
    linear-gradient(
      180deg,
      rgba(6, 9, 15, .05) 0%,
      rgba(6, 9, 15, .22) 48%,
      rgba(6, 9, 15, .92) 100%
    ),
    url('tratamento-administrativo.png');
}

.feature-grid .feature-card:nth-child(4)::before {
  background-image:
    linear-gradient(
      180deg,
      rgba(6, 9, 15, .05) 0%,
      rgba(6, 9, 15, .22) 48%,
      rgba(6, 9, 15, .92) 100%
    ),
    url('planilha-importacao.png');
}

.feature-grid .feature-card:nth-child(5)::before {
  background-image:
    linear-gradient(
      180deg,
      rgba(6, 9, 15, .05) 0%,
      rgba(6, 9, 15, .22) 48%,
      rgba(6, 9, 15, .92) 100%
    ),
    url('tec-alert.jpg');
}

.feature-grid .feature-card:nth-child(6)::before {
  background-image:
    linear-gradient(
      180deg,
      rgba(6, 9, 15, .05) 0%,
      rgba(6, 9, 15, .22) 48%,
      rgba(6, 9, 15, .92) 100%
    ),
    url('legislacao-aduaneira.jpg');
}

.feature-grid .feature-card:nth-child(7)::before {
  background-image:
    linear-gradient(
      180deg,
      rgba(6, 9, 15, .05) 0%,
      rgba(6, 9, 15, .22) 48%,
      rgba(6, 9, 15, .92) 100%
    ),
    url('di-alert.jpg');
}

/* =========================================================
   SPOTLIGHT
========================================================= */

.spotlight {
  overflow: hidden;
}

.spotlight-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);
  min-height: 42rem;
}

.spotlight-copy {
  padding:
    clamp(4rem, 8vw, 8rem)
    var(--gutter);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-copy h2 {
  margin: 0;
  font:
    500
    clamp(3.2rem, 6vw, 6.3rem) / .95
    var(--serif);
  letter-spacing: -.045em;
}

.spotlight-copy > p {
  color: rgba(255, 255, 255, .66);
  max-width: 39rem;
}

.spotlight-visual {
  min-height: 32rem;
  position: relative;

  background-image:
    linear-gradient(
      90deg,
      rgba(9, 12, 18, .85),
      rgba(9, 12, 18, .12)
    ),
    var(--spotlight-image),
    radial-gradient(
      circle at 70% 30%,
      rgba(43, 92, 157, .65),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #121a27,
      #080b11
    );

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Catálogo de Produtos */

#catalogo .spotlight-visual {
  background-image:
    linear-gradient(
      90deg,
      rgba(9, 12, 18, .85),
      rgba(9, 12, 18, .12)
    ),
    url('catalogo-produtos.jpg'),
    radial-gradient(
      circle at 70% 30%,
      rgba(43, 92, 157, .65),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #121a27,
      #080b11
    );
}

/* Reforma Tributária */

#reforma .spotlight-visual {
  background-image:
    linear-gradient(
      90deg,
      rgba(9, 12, 18, .85),
      rgba(9, 12, 18, .12)
    ),
    url('cclasstrib-reforma.jpg'),
    radial-gradient(
      circle at 70% 30%,
      rgba(43, 92, 157, .65),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #121a27,
      #080b11
    );
}

.spotlight-visual::after {
  content: attr(data-asset);
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: .5rem .65rem;
  border-radius: .5rem;
  background: rgba(0, 0, 0, .6);
  color: rgba(255, 255, 255, .58);
  font:
    500
    .57rem / 1.3
    var(--mono);
  letter-spacing: .04em;
}

.check-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .8rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: .75rem;
  align-items: start;
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
}

.check-list li::before {
  content: "✓";
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(81, 213, 163, .12);
  color: var(--success);
  font-size: .72rem;
  font-weight: 800;
}

/* =========================================================
   WORKFLOW
========================================================= */

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.workflow-step {
  min-height: 19rem;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.workflow-step span {
  color: var(--red);
  font-family: var(--mono);
  font-size: .65rem;
}

.workflow-step h3 {
  margin: 4rem 0 .6rem;
  font:
    500
    2.1rem / 1
    var(--serif);
  letter-spacing: -.03em;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

/* =========================================================
   DEMO
========================================================= */

.demo-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .035);
}

.demo-console {
  padding: 1.4rem;
  border-radius: 1rem;
  background: #212b42;
  border: 1px solid rgba(112, 224, 240, .14);
  font-family: var(--mono);
}

.demo-console__bar {
  display: flex;
  gap: .35rem;
  margin-bottom: 1.2rem;
}

.demo-console__bar i {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.demo-console label {
  display: block;
  color: rgba(255, 255, 255, .5);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.demo-form {
  display: flex;
  margin-top: .55rem;
}

.demo-form input {
  min-width: 0;
  flex: 1;
  padding: .8rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-right: 0;
  border-radius: .6rem 0 0 .6rem;
  background: rgba(255, 255, 255, .04);
  color: white;
  outline: none;
}

.demo-form button {
  padding: .8rem 1rem;
  border: 0;
  border-radius: 0 .6rem .6rem 0;
  background: var(--red);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.demo-result {
  margin: 1rem 0 0;
  min-height: 5.5rem;
  color: rgba(255, 255, 255, .67);
  font-size: .72rem;
  line-height: 1.55;
}

.demo-note {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demo-note h3 {
  margin: 0;
  font:
    500
    2.6rem / 1
    var(--serif);
}

.demo-note p {
  color: rgba(255, 255, 255, .6);
  font-size: .82rem;
}

/* =========================================================
   AUDIENCE
========================================================= */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.audience-card {
  padding: 2rem;
  min-height: 17rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: white;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(8, 12, 18, .08);
}

.audience-card span {
  color: var(--red);
  font:
    600
    .62rem
    var(--mono);
}

.audience-card h3 {
  margin: 4.5rem 0 .6rem;
  font:
    500
    2.1rem / 1
    var(--serif);
}

.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

/* =========================================================
   FAQ
========================================================= */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__button {
  width: 100%;
  padding: 1.45rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-item__button span:first-child {
  color: var(--red);
  font:
    600
    .62rem
    var(--mono);
}

.faq-item__button strong {
  font-size: 1rem;
}

.faq-item__button i {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  transition: transform .25s ease;
}

.faq-item.is-open .faq-item__button i {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.faq-item__answer > div {
  overflow: hidden;
}

.faq-item__answer p {
  max-width: 50rem;
  margin: 0 0 1.5rem 3.35rem;
  color: var(--muted);
  font-size: .87rem;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

/* =========================================================
   CTA
========================================================= */

.cta-section {
  position: relative;
  overflow: hidden;
  background: #070a10;
  color: white;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;

  /*
    styles.css fica dentro de assets,
    portanto tecwin-cta.jpg também é chamado diretamente.
  */
  background-image:
    linear-gradient(
      90deg,
      rgba(26, 46, 86, .92),
      rgba(26, 46, 86, .35)
    ),
    url('tecwin-cta.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .75;
}

.cta-inner {
  position: relative;
  z-index: 1;
  padding:
    clamp(6rem, 11vw, 10rem)
    0;
}

.cta-inner h2 {
  margin: 0;
  max-width: 58rem;
  font:
    500
    clamp(3.8rem, 7vw, 7rem) / .92
    var(--serif);
  letter-spacing: -.05em;
}

.cta-inner p {
  max-width: 42rem;
  color: rgba(255, 255, 255, .66);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  min-height: 3.1rem;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .63rem;
  font-weight: 800;
}

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

.btn:hover {
  transform: translateY(-1px);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding: 2.5rem var(--gutter);
  background: #1a2e56;
  color: rgba(255, 255, 255, .55);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.footer-brand {
  display: flex;
  gap: .9rem;
  align-items: center;
}

.footer-brand img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
  border-radius: .5rem;
  background: white;
  padding: .3rem;
}

.footer-brand strong {
  display: block;
  color: white;
  font-size: .78rem;
}

.footer-brand span {
  display: block;
  margin-top: .2rem;
  font-size: .64rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .7rem 1.2rem;
}

.footer-links a,
.privacy-settings-link {
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: .68rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-note {
  width: min(1180px, 100%);
  margin: 1.3rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .62rem;
  line-height: 1.6;
}

/* =========================================================
   REVEALS
========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   PRE CHAT
========================================================= */

#bifulco-prechat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 11000;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: white;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  cursor: pointer;
  font-size: 1.35rem;
}

#bifulco-prechat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 11100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
}

#bifulco-prechat-backdrop.is-open {
  display: grid;
}

#bifulco-prechat-card {
  width: min(440px, 100%);
  overflow: hidden;
  border-radius: 22px;
  background: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .45);
}

.bifulco-prechat-header {
  position: relative;
  padding: 28px 28px 22px;
  background:
    linear-gradient(
      135deg,
      #070a10,
      #1c2634
    );
  color: white;
}

.bifulco-prechat-header small {
  color: #ff7d82;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .62rem;
  font-weight: 800;
}

.bifulco-prechat-header h3 {
  margin: .35rem 0;
  font:
    500
    2.25rem / 1
    var(--serif);
}

.bifulco-prechat-header p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .78rem;
}

#bifulco-prechat-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: white;
  cursor: pointer;
  font-size: 1.3rem;
}

#bifulco-prechat-form {
  padding: 24px 28px 28px;
}

.bifulco-field {
  display: grid;
  gap: .35rem;
  margin-bottom: 1rem;
}

.bifulco-field label {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bifulco-field input {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  outline: none;
}

.bifulco-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.bifulco-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
  margin: .5rem 0 1rem;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.5;
}

#bifulco-prechat-submit {
  width: 100%;
  min-height: 3rem;
  border: 0;
  border-radius: .7rem;
  background: var(--red);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

#bifulco-prechat-submit:disabled {
  opacity: .65;
  cursor: wait;
}

#bifulco-prechat-error {
  display: none;
  margin-bottom: 1rem;
  padding: .75rem;
  border-radius: .6rem;
  background: #fff0f0;
  color: #8d1217;
  font-size: .73rem;
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 1020px) {

  .section-heading,
  .problem-grid,
  .spotlight-grid,
  .demo-box {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof:nth-child(2) {
    border-right: 0;
  }

  .proof:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .feature-card--wide,
  .feature-card--medium {
    grid-column: span 12;
  }

  .feature-card--third {
    grid-column: span 6;
  }

  .workflow {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotlight-grid .spotlight-visual {
    order: -1;
  }
}

@media (max-width: 820px) {

  :root {
    --header-h: 4.8rem;
  }

  .site-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand__copy small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 1.4rem;
    background: rgba(7, 10, 16, .97);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: .7rem 0;
  }

  .site-header.is-static .site-nav {
    background: white;
    color: var(--text);
    border-color: var(--line);
  }

  .panel {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .panel h1 {
    font-size: clamp(3.5rem, 16vw, 6rem);
  }

  .panel h2 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .panel--right {
    justify-items: start;
  }

  .panel--right .panel__content,
  .panel--right p:not(.eyebrow) {
    text-align: left;
    margin-left: 0;
  }

  .scroll-progress {
    left: 1rem;
    right: 1rem;
  }

  .scroll-progress__label {
    display: none;
  }

  .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .feature-card--third {
    grid-column: span 12;
  }

  .workflow,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof:last-child {
    border-bottom: 0;
  }

  .feature-card {
    min-height: 24rem;
  }

  .spotlight-copy {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-kpis {
    display: none;
  }

  .demo-form {
    display: grid;
    gap: .55rem;
  }

  .demo-form input,
  .demo-form button {
    border-radius: .6rem;
    border: 1px solid rgba(255, 255, 255, .12);
  }

  .faq-item__answer p {
    margin-left: 0;
  }

  #bifulco-prechat-toggle {
    right: 16px;
    bottom: 16px;
  }
}

/* =========================================================
   ACESSIBILIDADE / REDUÇÃO DE MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}