:root {
  --brand-bg: #07070a;
  --brand-surface: #101014;
  --brand-surface-2: #17171c;
  --brand-ink: #f8f6f2;
  --brand-muted: #aaa7b2;
  --brand-line: rgba(255, 255, 255, .12);
  --brand-purple: #cb99ff;
  --brand-purple-2: #9d62e8;
  --brand-mint: #78e4bb;
  --brand-coral: #ff947d;
}

body.brand-experience {
  margin: 0;
  overflow-x: hidden;
  background: var(--brand-bg);
  color: var(--brand-ink);
  font-family: Poppins, sans-serif;
}

.brand-experience * { box-sizing: border-box; }

.brand-experience::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.brand-experience header.fixed {
  min-height: 72px;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background .3s ease, border-color .3s ease;
}

.brand-experience header.fixed.brand-header-scrolled {
  border-color: var(--brand-line) !important;
  background: rgba(7, 7, 10, .88) !important;
  backdrop-filter: blur(18px);
}

.brand-experience header.fixed > div {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin-inline: auto;
  padding: 0 !important;
}

.brand-experience header svg,
.brand-experience header img {
  display: block;
  width: 154px;
  max-width: none;
  height: auto;
  overflow: visible;
}

.brand-experience header a[aria-label*="Diagonal"] {
  flex: 0 0 auto;
  display: block;
  padding: 4px 2px;
  overflow: visible;
}

.brand-experience header .gap-4 { gap: 26px !important; }
.brand-experience header a { letter-spacing: 0; }

.brand-experience header .gap-4 > a:not([href^="/aplicacao"]):not([href^="/diagnostico"]):not([href="https://crm.dgnl.com.br"]) {
  min-height: auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #d8d5dd !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
}

.brand-experience header .gap-4 > a:not([href^="/aplicacao"]):not([href^="/diagnostico"]):not([href="https://crm.dgnl.com.br"]):hover {
  color: #fff !important;
}

.brand-experience header a[href="https://crm.dgnl.com.br"] {
  min-height: 40px !important;
  padding: 0 15px !important;
  border: 1px solid rgba(203, 153, 255, .42) !important;
  border-radius: 6px !important;
  background: rgba(203, 153, 255, .1) !important;
  box-shadow: 0 8px 24px rgba(157, 98, 232, .1) !important;
}

.brand-experience header a[href^="/aplicacao"],
.brand-experience header a[href^="/diagnostico-comercial"] {
  min-height: 46px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 20px !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: var(--brand-purple) !important;
  box-shadow: none !important;
  color: #0b080f !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.brand-experience header a[href^="/aplicacao"]:hover,
.brand-experience header a[href^="/diagnostico-comercial"]:hover {
  transform: translateY(-2px);
  background: #d8b2ff !important;
  box-shadow: 0 12px 38px rgba(203, 153, 255, .22) !important;
}

.brand-experience main { position: relative; }

.brand-experience main > section {
  position: relative;
  overflow: clip;
  border-top-color: var(--brand-line) !important;
}

.brand-experience main > section.brand-hero {
  min-height: min(900px, calc(100svh - 28px));
  padding-top: 124px !important;
  padding-bottom: 56px !important;
}

.brand-experience main > section.brand-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 58%, var(--brand-bg));
}

.brand-experience h1,
.brand-experience h2,
.brand-experience h3 {
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.brand-experience main > section.brand-hero h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(3rem, 6.5vw, 6rem) !important;
  line-height: .98 !important;
}

.brand-experience main > section.brand-hero p {
  max-width: 760px;
  line-height: 1.65;
}

.brand-experience .text-gradient,
.brand-experience [class*="bg-clip-text"] {
  background: none !important;
  color: var(--brand-purple) !important;
  -webkit-text-fill-color: currentColor !important;
}

.brand-experience main a[class*="from-accent"],
.brand-experience main a[class*="from-[#CB99FF]"],
.brand-experience main button[class*="from-accent"],
.brand-experience main button[class*="from-[#CB99FF]"] {
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: var(--brand-purple) !important;
  box-shadow: none !important;
  color: #0b080f !important;
}

.brand-experience main a[class*="from-accent"]:hover,
.brand-experience main a[class*="from-[#CB99FF]"]:hover,
.brand-experience main button[class*="from-accent"]:hover,
.brand-experience main button[class*="from-[#CB99FF]"]:hover {
  transform: translateY(-2px);
  background: #d8b2ff !important;
  box-shadow: 0 14px 44px rgba(203, 153, 255, .2) !important;
}

.brand-experience main .rounded-2xl,
.brand-experience main .rounded-3xl,
.brand-experience main article,
.brand-experience main a.group {
  border-radius: 8px !important;
}

.brand-experience main article,
.brand-experience main a.group {
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.brand-experience main article:hover,
.brand-experience main a.group:hover {
  border-color: rgba(203, 153, 255, .42) !important;
}

.brand-experience .brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-purple);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-experience .brand-kicker::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}


.brand-experience footer {
  border-top: 1px solid var(--brand-line) !important;
  background: #08080b !important;
}

.brand-experience footer > div {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.brand-experience footer a {
  text-decoration: none;
  transition: color .2s ease;
}

.brand-experience footer a:hover { color: #fff !important; }

.brand-experience .brand-motion-media {
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #0e0e12;
}

.brand-experience .brand-motion-media img,
.brand-experience .brand-motion-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) and (max-height: 800px) {
  .brand-experience main > section.brand-hero {
    min-height: calc(100svh - 28px);
    padding-top: 92px !important;
    padding-bottom: 32px !important;
  }

  .brand-experience main > section.brand-hero h1 {
    font-size: clamp(3.75rem, 5.6vw, 4.8rem) !important;
  }

  .brand-experience main > section.brand-hero p {
    max-width: 860px;
  }

  .brand-experience.brand-hero-longcopy main > section.brand-hero h1 {
    max-width: 1100px;
  }

  .brand-experience.brand-hero-longcopy main > section.brand-hero p {
    max-width: 960px;
  }

  .brand-experience.brand-hero-longcopy main > section.brand-hero h1 br {
    display: none;
  }

  .brand-experience main > section.brand-hero .mb-8 {
    margin-bottom: 18px !important;
  }

  .brand-experience main > section.brand-hero .mt-6 {
    margin-top: 16px !important;
  }

  .brand-experience main > section.brand-hero .mt-10,
  .brand-experience main > section.brand-hero .mt-12 {
    margin-top: 24px !important;
  }
}

@media (max-width: 1023px) {
  .brand-experience header .gap-4 { gap: 14px !important; }
  .brand-experience main > section.brand-hero h1 {
    font-size: clamp(2.7rem, 8vw, 4.8rem) !important;
  }
}

@media (max-width: 767px) {
  .brand-experience header.fixed > div {
    width: min(100% - 24px, 1180px);
  }

  .brand-experience header svg,
  .brand-experience header img { width: 126px; }

  .brand-experience header .gap-4 { gap: 9px !important; }

  .brand-experience header a[href="https://crm.dgnl.com.br"] {
    min-height: 38px !important;
    padding: 0 11px !important;
  }

  .brand-experience header a[href^="/aplicacao"],
  .brand-experience header a[href^="/diagnostico-comercial"] {
    min-height: 38px;
    padding: 0 12px !important;
    font-size: .72rem !important;
  }

  .brand-experience main > section.brand-hero {
    min-height: 820px;
    padding-top: 124px !important;
  }

  .brand-experience main > section.brand-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.3rem) !important;
  }


  .brand-experience footer > div {
    width: min(100% - 28px, 1180px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-experience *,
  .brand-experience *::before,
  .brand-experience *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}



/* Explicit section system shared by the non-CRM landing pages. */
:root {
  --brand-light-bg: #f1efeb;
  --brand-light-surface: #fbfaf8;
  --brand-light-ink: #18151b;
  --brand-light-muted: #5f5963;
  --brand-purple-on-light: #6f35b5;
}

body.brand-experience main:not(.av-page) > .brand-section {
  position: relative;
  overflow: clip;
}

body.brand-experience main:not(.av-page) > .brand-section:not(.brand-hero) {
  padding-top: 104px !important;
  padding-bottom: 104px !important;
  border-top: 1px solid var(--brand-line) !important;
}

body.brand-experience main:not(.av-page) > .brand-section > .container {
  width: calc(100% - 40px);
  margin-inline: auto;
  padding-inline: 0 !important;
}

body.brand-experience main:not(.av-page) > .brand-section h2 {
  line-height: 1.08 !important;
}

body.brand-experience main:not(.av-page) > .brand-section .grid > article,
body.brand-experience main:not(.av-page) > .brand-section .grid > a.group,
body.brand-experience main:not(.av-page) > .brand-section .grid > .rounded-2xl,
body.brand-experience main:not(.av-page) > .brand-section .grid > .rounded-3xl {
  height: 100%;
}

body.brand-experience main:not(.av-page) > .brand-section--dark {
  background: var(--brand-bg) !important;
  color: var(--brand-ink);
}

body.brand-experience main:not(.av-page) > .brand-section--dark h2,
body.brand-experience main:not(.av-page) > .brand-section--dark h3,
body.brand-experience main:not(.av-page) > .brand-section--dark h4,
body.brand-experience main:not(.av-page) > .brand-section--dark .text-white {
  color: var(--brand-ink) !important;
}

body.brand-experience main:not(.av-page) > .brand-section--dark p,
body.brand-experience main:not(.av-page) > .brand-section--dark .text-gray-300,
body.brand-experience main:not(.av-page) > .brand-section--dark .text-gray-400 {
  color: #aaa7b2 !important;
}

body.brand-experience main:not(.av-page) > .brand-section--dark .text-gray-500,
body.brand-experience main:not(.av-page) > .brand-section--dark .text-gray-600 {
  color: #918d99 !important;
}

body.brand-experience main:not(.av-page) > .brand-section--dark article,
body.brand-experience main:not(.av-page) > .brand-section--dark a.group,
body.brand-experience main:not(.av-page) > .brand-section--dark .rounded-2xl,
body.brand-experience main:not(.av-page) > .brand-section--dark .rounded-3xl {
  border-color: rgba(255, 255, 255, .12) !important;
  background-color: #101014 !important;
  box-shadow: none !important;
}

body.brand-experience main:not(.av-page) > .brand-section--light {
  border-top-color: rgba(24, 21, 27, .12) !important;
  background: var(--brand-light-bg) !important;
  color: var(--brand-light-ink);
}

body.brand-experience main:not(.av-page) > .brand-section--light h2,
body.brand-experience main:not(.av-page) > .brand-section--light h3,
body.brand-experience main:not(.av-page) > .brand-section--light h4,
body.brand-experience main:not(.av-page) > .brand-section--light strong,
body.brand-experience main:not(.av-page) > .brand-section--light .text-white {
  color: var(--brand-light-ink) !important;
}

body.brand-experience main:not(.av-page) > .brand-section--light p,
body.brand-experience main:not(.av-page) > .brand-section--light .text-gray-300,
body.brand-experience main:not(.av-page) > .brand-section--light .text-gray-400,
body.brand-experience main:not(.av-page) > .brand-section--light .text-gray-500,
body.brand-experience main:not(.av-page) > .brand-section--light .text-gray-600 {
  color: var(--brand-light-muted) !important;
}

body.brand-experience main:not(.av-page) > .brand-section--light .text-gradient,
body.brand-experience main:not(.av-page) > .brand-section--light .text-accent1,
body.brand-experience main:not(.av-page) > .brand-section--light [class*="text-accent"] {
  color: var(--brand-purple-on-light) !important;
  -webkit-text-fill-color: currentColor !important;
}

body.brand-experience main:not(.av-page) > .brand-section--light article,
body.brand-experience main:not(.av-page) > .brand-section--light a.group,
body.brand-experience main:not(.av-page) > .brand-section--light .rounded-2xl,
body.brand-experience main:not(.av-page) > .brand-section--light .rounded-3xl {
  border-color: rgba(24, 21, 27, .14) !important;
  background-color: var(--brand-light-surface) !important;
  box-shadow: none !important;
}

body.brand-experience main:not(.av-page) > .brand-section--light [class*="border-white"] {
  border-color: rgba(24, 21, 27, .14) !important;
}

body.brand-experience main:not(.av-page) > .brand-section--light [class*="bg-black/20"] {
  background-color: #e5e1e7 !important;
}

body.brand-experience main:not(.av-page) > .brand-section a[class*="bg-gradient-to-r"],
body.brand-experience main:not(.av-page) > .brand-section a[class*="bg-white/10"] {
  border-color: transparent !important;
  background: var(--brand-purple) !important;
  color: #0b080f !important;
  box-shadow: none !important;
}

body.brand-experience main:not(.av-page) > .brand-section a[class*="bg-gradient-to-r"]:hover,
body.brand-experience main:not(.av-page) > .brand-section a[class*="bg-white/10"]:hover {
  transform: translateY(-2px);
  background: #d8b2ff !important;
  box-shadow: 0 14px 38px rgba(157, 98, 232, .2) !important;
}

body.brand-experience main:not(.av-page) > .brand-section--cta > .container {
  max-width: 56rem;
}

body.brand-experience main:not(.av-page) > .brand-section--cta .rounded-3xl {
  padding: clamp(32px, 5vw, 56px) !important;
}

.brand-status-dot,
.bi-circle-fill.text-xs {
  color: #ff6f61;
  font-size: .62rem;
}

/* Static client proof wall. */
.brand-client-proof {
  padding: 88px 0;
  border-top: 1px solid var(--brand-line);
  background: #0a0a0e !important;
}

.brand-client-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.brand-client-head {
  max-width: 660px;
  margin-bottom: 38px;
}

.brand-client-head h2 {
  margin: 13px 0 12px;
  color: #f8f6f2 !important;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
}

.brand-client-head p {
  margin: 0;
  color: #aaa7b2 !important;
  font-size: .92rem;
  line-height: 1.65;
}

.brand-client-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.brand-client-logo {
  min-width: 0;
  min-height: 104px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: transparent !important;
}

.brand-client-logo img {
  display: block;
  max-width: 112px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  opacity: .48;
  filter: grayscale(1) brightness(1.35) contrast(.86);
  transition: opacity .25s ease, filter .25s ease;
}

.brand-client-logo:hover {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(203, 153, 255, .035) !important;
}

.brand-client-logo:hover img {
  opacity: .7;
  filter: grayscale(1) brightness(1.55) contrast(.9);
}

.brand-experience footer .text-gray-500,
.brand-experience footer p,
.brand-experience footer span {
  color: #918d99;
}

@media (max-width: 1120px) and (min-width: 768px) {
  .brand-experience header .gap-4 > a:not([href^="/aplicacao"]):not([href^="/diagnostico"]):not([href="https://crm.dgnl.com.br"]) {
    display: none !important;
  }
}

@media (min-width: 901px) {
  .brand-client-grid,
  .crm-client-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .brand-client-logo,
  .crm-client-logo {
    grid-column: span 2;
  }

  .brand-client-logo:nth-child(7),
  .crm-client-logo:nth-child(7) {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 900px) {
  .brand-client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body.brand-experience main:not(.av-page) > .brand-section:not(.brand-hero) {
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }

  body.brand-experience main:not(.av-page) > .brand-section > .container {
    width: calc(100% - 28px);
  }

  body.brand-experience main:not(.av-page) > .brand-section--cta .rounded-3xl {
    padding: 28px 18px !important;
  }

  .brand-client-proof { padding: 68px 0; }
  .brand-client-shell { width: min(100% - 28px, 1180px); }
}

@media (max-width: 560px) {
  .brand-client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-client-logo { min-height: 92px; padding: 16px 12px; }
  .brand-client-logo img { max-width: 96px; max-height: 42px; }
}


/* Page-specific components that retain their own utility classes. */
body.brand-experience main:not(.av-page) > .brand-section--light .faq-item {
  border-color: rgba(24, 21, 27, .14) !important;
  background: var(--brand-light-surface) !important;
}

body.brand-experience main:not(.av-page) > .brand-section--light .faq-item:hover,
body.brand-experience main:not(.av-page) > .brand-section--light .faq-item:focus-within {
  border-color: rgba(111, 53, 181, .42) !important;
  background: #fff !important;
}

body.brand-experience main:not(.av-page) > .brand-section--light .faq-icon {
  color: var(--brand-purple-on-light) !important;
}


/* Mobile hero sizing keeps long offers readable without clipping the CTA. */
@media (max-width: 767px) {
  body.brand-experience main:not(.av-page) > .brand-hero h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 11.6vw, 3rem) !important;
    line-height: 1.02 !important;
    overflow-wrap: anywhere;
  }

  body.brand-experience main:not(.av-page) > .brand-hero h1 + p {
    font-size: 1rem !important;
    line-height: 1.58 !important;
  }

  body.brand-experience main:not(.av-page) > .brand-hero a[class*="bg-gradient-to-r"] {
    padding: 16px 14px !important;
    font-size: .95rem !important;
    line-height: 1.25;
  }
}


/* Secondary copy remains readable on dark utility and form pages. */
body.brand-experience main .text-gray-500 {
  color: #918d99 !important;
}


body.brand-experience main [class*="blur-[80px]"],
body.brand-experience main [class*="blur-[100px]"],
body.brand-experience main [class*="blur-[120px]"] {
  display: none !important;
}


/* Methodology FAQ: keyboard clarity and stable height animation. */
.brand-experience .faq-content {
    box-sizing: border-box;
}

.brand-experience .faq-trigger:focus-visible {
    outline: 2px solid #cb99ff;
    outline-offset: -4px;
}
