:root {
  --bg: #07090f;
  --bg-alt: #111a33;
  --text: #f3f7ff;
  --muted: #c2c9d8;
  --primary: #9f34ff;
  --primary-dark: #3f46ff;
  --card: #121d39;
  --border: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

.led-page {
  background: #ffffff;
  color: #141726;
}

.led-page .topbar {
  background: #080a11;
}

.tech-page .topbar {
  background: #080a11;
}

.led-page .topbar.is-scrolled,
.tech-page .topbar.is-scrolled {
  background: rgba(8, 10, 17, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.02);
}

.led-page h2 {
  color: #141726;
}

.led-page .section-text {
  color: #5b6277;
}

.led-intro {
  padding-bottom: 1.5rem;
}

.led-scatter-section {
  background: #f4f6fa;
  overflow: hidden;
}

.led-scatter {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem 1rem;
  margin-top: 2rem;
  padding: 0.25rem 0 0.5rem;
  align-items: start;
}

.led-scatter-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(20, 23, 38, 0.07);
  box-shadow: 0 12px 32px rgba(9, 12, 22, 0.09);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.led-scatter-item:hover {
  box-shadow: 0 18px 44px rgba(9, 12, 22, 0.14);
  z-index: 2;
}

.led-scatter-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .led-scatter-item:nth-child(1) {
    grid-column: 1 / 5;
    transform: rotate(-2deg);
    align-self: end;
  }

  .led-scatter-item:nth-child(2) {
    grid-column: 5 / 9;
    transform: rotate(1.4deg);
    margin-top: 1.25rem;
  }

  .led-scatter-item:nth-child(3) {
    grid-column: 9 / 13;
    transform: rotate(-1deg);
  }

  .led-scatter-item:nth-child(4) {
    grid-column: 1 / 6;
    transform: rotate(1.8deg);
    margin-top: -0.35rem;
  }

  .led-scatter-item:nth-child(5) {
    grid-column: 6 / 13;
    transform: rotate(-1.3deg);
  }

  .led-scatter-item:nth-child(6) {
    grid-column: 1 / 5;
    transform: rotate(-1.6deg);
  }

  .led-scatter-item:nth-child(7) {
    grid-column: 5 / 9;
    transform: rotate(1.2deg);
    margin-top: 0.5rem;
  }

  .led-scatter-item:nth-child(8) {
    grid-column: 9 / 13;
    transform: rotate(-0.8deg);
  }

  .led-scatter-item:nth-child(9) {
    grid-column: 1 / 5;
    transform: rotate(1.5deg);
  }

  .led-scatter-item:nth-child(10) {
    grid-column: 5 / 9;
    transform: rotate(-1.1deg);
    margin-top: -0.5rem;
  }

  .led-scatter-item:nth-child(11) {
    grid-column: 9 / 13;
    transform: rotate(0.9deg);
  }

  .led-scatter-item:hover {
    transform: scale(1.02) rotate(0deg);
  }
}

@media (max-width: 767px) {
  .led-scatter {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .led-scatter-item:nth-child(n) {
    grid-column: auto;
    transform: none;
    margin-top: 0;
  }

  .led-scatter-item:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .led-scatter-item,
  .led-scatter-item:hover {
    transform: none;
    transition: none;
  }
}

.led-splits {
  padding-top: 1.5rem;
}

.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: center;
  padding: 2.4rem 0;
  border-top: 1px solid rgba(20, 23, 38, 0.08);
}

.split-row:first-child {
  border-top: none;
}

.split-reverse .split-content {
  order: 2;
}

.split-reverse .split-media {
  order: 1;
}

.split-content .kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  opacity: 0.7;
  margin-bottom: 0.6rem;
}

.split-content h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  margin-bottom: 0.65rem;
  color: #141726;
}

.split-content p {
  color: #5b6277;
  line-height: 1.65;
  max-width: 54ch;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1rem;
}

.text-link {
  color: #141726;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.75;
  transition: opacity 220ms ease, transform 220ms ease;
}

.text-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.split-media img {
  width: 100%;
  height: clamp(220px, 26vw, 360px);
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 14px 34px rgba(10, 14, 30, 0.12);
}

.media-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.media-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(130, 146, 185, 0.18);
  box-shadow: 0 14px 28px rgba(3, 6, 14, 0.26);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.media-grid img:hover {
  transform: translateY(-2px);
  border-color: rgba(130, 146, 185, 0.34);
  box-shadow: 0 18px 34px rgba(3, 6, 14, 0.34);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 10, 17, 0.78);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar.is-scrolled {
  background: rgba(8, 10, 17, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.02);
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo span {
  color: #ffffff;
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

@media (max-width: 940px) {
  .logo img {
    height: 30px;
  }
}

.menu {
  display: flex;
  gap: 1.25rem;
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 200ms ease, color 200ms ease;
}

.menu a:hover {
  opacity: 1;
  color: rgba(147, 197, 253, 0.95);
}

.hero {
  min-height: 100vh;
  padding: 6rem 0 7rem;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.78) 100%),
    url("https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-led {
  background-image: none;
  min-height: calc(100vh - 74px);
  padding: 0;
  display: flex;
  align-items: center;
}

.led-page .hero-led > .container {
  padding-left: clamp(2.25rem, 10vw, 8.5rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.hero-led .hero-grid,
.tech-page .hero .hero-grid,
.ativacoes-page .hero .hero-grid {
  width: 100%;
}

.hero-led .hero-grid {
  justify-content: start;
}

.hero-led .hero-single {
  grid-template-columns: minmax(320px, 860px);
}

.hero-led .reveal {
  text-align: left;
}

.hero-led .badge {
  font-size: clamp(0.82rem, 1.25vw, 1.05rem);
  color: #ffffff;
}

.hero-led h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: #ffffff;
}

.hero-led .hero-text {
  max-width: 620px;
  font-size: 1rem;
}

.hero-led .hero-pitch {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.hero-led .hero-actions {
  justify-content: flex-start;
}

.hero-led .hero-actions .btn {
  padding: 0.95rem 1.5rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

.hero-tech-bg {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.58) 46%, rgba(0, 0, 0, 0.85) 100%),
    url("./Fundo poligono tech.jpeg");
  background-size: cover;
  background-position: center;
}

.hero-tech-bg,
.hero-tech-bg h1,
.hero-tech-bg .badge,
.hero-tech-bg .hero-text {
  color: #ffffff;
}

.hero-tech-bg .hero-text {
  opacity: 0.92;
}

.hero-ativacoes-bg {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.5) 46%, rgba(0, 0, 0, 0.82) 100%),
    url("./Ativacao/k1.png");
  background-size: cover;
  background-position: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 46%, rgba(0, 0, 0, 0.82) 100%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-single {
  grid-template-columns: minmax(280px, 640px);
}

.badge {
  display: inline-flex;
  letter-spacing: 0.08em;
  color: #ffffff;
  opacity: 0.8;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

h1 span {
  color: #ffffff;
}

.hero-text {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-pitch {
  margin-top: 0.7rem;
  margin-bottom: 0;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.8rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease, border-color 260ms ease, background-color 260ms ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(93, 63, 255, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(93, 63, 255, 0.46);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.btn-full {
  width: 100%;
}

.numbers {
  margin-top: -2.7rem;
  position: relative;
  z-index: 3;
}

.numbers-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(5px);
  padding: 1.6rem 1rem 1.5rem;
}

.numbers-wrap h2 {
  text-align: center;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

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

.numbers-grid article {
  text-align: center;
  padding: 0.7rem 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.numbers-grid article:last-child {
  border-right: none;
}

.numbers-grid strong {
  display: block;
  font-size: 2rem;
  text-transform: uppercase;
}

.numbers-grid span {
  display: block;
  margin-top: 0.2rem;
  color: #d4d8e5;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 1.5rem;
  color: #141726;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.72;
  margin-bottom: 0.5rem;
}

.section-text {
  color: #596079;
  max-width: 760px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.segmentos {
  background: linear-gradient(140deg, #5c21a5 0%, #4d2aa8 35%, #6928af 100%);
}

.segmentos h2,
.segmentos .section-text,
.segmentos .eyebrow {
  color: #ffffff;
}

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

.feature-list,
.case-list,
.audience-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li,
.case-list li,
.audience-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

.feature-list li::before,
.case-list li::before,
.audience-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.feature-list li {
  color: #eef0ff;
}

.feature-list li::before {
  color: #ffffff;
}

.case-list {
  margin-top: 0.75rem;
}

.case-list li::before {
  content: "✔";
  color: #20a05a;
}

.audience-list li {
  color: #303852;
  font-weight: 600;
}

.audience-list li::before {
  color: #5622a4;
}

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

.flow-step {
  background: #ffffff;
  border: 1px solid #dde0ea;
  border-radius: 12px;
  padding: 1rem;
}

.flow-step h3 {
  color: #1a2135;
  margin-bottom: 0.45rem;
}

.flow-step p {
  color: #697188;
}

/* Gráfico de fluxo — Polígono Tech (COMO FUNCIONA) */
.process-graph {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 2rem;
  padding-top: 0.5rem;
}

.process-graph-step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 1.5rem 1rem 1.75rem;
  border-radius: 16px;
  border: 1px solid #dde0ea;
  background: linear-gradient(165deg, #f4f6ff 0%, #ffffff 52%, #ffffff 100%);
  box-shadow: 0 12px 36px rgba(9, 12, 22, 0.07);
}

.process-graph-node {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #ffffff;
  background: linear-gradient(145deg, #6b7dff, #7b44ff);
  box-shadow: 0 10px 28px rgba(107, 125, 255, 0.36);
}

.process-graph-step h3 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 0.5rem;
  color: #1a2135;
}

.process-graph-step p {
  color: #697188;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.process-graph-connector {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: #7b44ff;
  padding: 0 0.35rem;
}

.process-graph-arrow-h {
  display: block;
}

.process-graph-arrow-v {
  display: none;
}

.process-graph-line {
  stroke: currentColor;
}

.process-graph-head {
  fill: currentColor;
}

.benefit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.9rem 0 1.6rem;
}

.benefit-chips span {
  border: 1px solid rgba(130, 146, 185, 0.22);
  background: rgba(16, 22, 38, 0.6);
  color: #d6dcf0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

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

.include-and-details {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.include-and-details .case-list li {
  color: #d6dcf0;
}

.project-grid {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.project-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(130, 146, 185, 0.18);
  border-radius: 14px;
  background: rgba(16, 22, 38, 0.35);
}

.project-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #6b7dff, #7b44ff);
  color: #ffffff;
}

.project-item strong {
  display: block;
  color: #f3f5ff;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.project-item span {
  display: block;
  color: #b8bfd4;
  font-size: 0.9rem;
}

.diferencial-card {
  grid-column: 1 / -1;
}

.diferencial-card .segmento-content p {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2a3148;
  margin-bottom: 0;
}

.segmento-card {
  background: #f7f7fb;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.segmento-image {
  height: 190px;
  background-size: cover;
  background-position: center;
}

.image-supermercado {
  background-image: url("./Poligono/Oque fazemos/WhatsApp Image 2025-11-12 at 15.04.06.jpeg");
}

.image-imoveis {
  background-image: url("./Poligono/Oque fazemos/WhatsApp Image 2025-11-12 at 15.04.07.jpeg");
}

.image-posto {
  background-image: url("./Poligono/Oque fazemos/WhatsApp Image 2025-11-14 at 10.31.20.jpeg");
}

.segmento-content {
  padding: 1rem;
  color: #1a2135;
}

.segmento-content h3 {
  margin-bottom: 0.4rem;
}

.segmento-content p {
  color: #6c7287;
  line-height: 1.45;
  margin-bottom: 0.9rem;
}

.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 114px;
  text-decoration: none;
  color: #364062;
  border: 1px solid #98a1bd;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
}

.tecnologias {
  background: #f7f8fb;
}

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

.progress-slider {
  margin-top: 1.25rem;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.progress-slider::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, rgba(86, 34, 164, 0.22), rgba(63, 70, 255, 0.18));
  border-radius: 999px;
  pointer-events: none;
}

.progress-card {
  scroll-snap-align: start;
  border: 1px solid #dde0ea;
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 14px 32px rgba(9, 12, 22, 0.06);
}

.progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.progress-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 58px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(86, 34, 164, 0.12);
  border: 1px solid rgba(86, 34, 164, 0.18);
  color: #1a2135;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.progress-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  padding: 7px;
  box-sizing: border-box;
  background: linear-gradient(145deg, #4a1d8f, #5622a4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 16px rgba(86, 34, 164, 0.28);
}

.progress-card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

.progress-card h3 {
  color: #1a2135;
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.progress-card p {
  color: #6a7083;
  line-height: 1.55;
}

.progress-slider::-webkit-scrollbar {
  height: 10px;
}

.progress-slider::-webkit-scrollbar-track {
  background: rgba(152, 161, 189, 0.2);
  border-radius: 999px;
}

.progress-slider::-webkit-scrollbar-thumb {
  background: rgba(86, 34, 164, 0.32);
  border-radius: 999px;
}

.tech-card {
  border: 1px solid #dde0ea;
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.tech-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #5622a4;
  color: #ffffff;
  border-radius: 8px;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.tech-card h3 {
  color: #1a2135;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tech-card p {
  color: #6a7083;
  line-height: 1.5;
}

.excelencia {
  background: #ffffff;
}

.excelencia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.excelencia-media img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.cases {
  background: #f4f6fa;
}

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

.cases-grid img {
  width: 100%;
  height: 155px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

/* Pré-visualizações dos apps — seção em largura total da tela */
#preview-cases {
  width: 100%;
  box-sizing: border-box;
}

#preview-cases .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  padding-left: clamp(0.75rem, 3vw, 2rem);
  padding-right: clamp(0.75rem, 3vw, 2rem);
}

#preview-cases .eyebrow,
#preview-cases h2,
#preview-cases .section-text {
  text-align: center;
  width: 100%;
  max-width: 40rem;
}

#preview-cases .section-text {
  margin-left: 0;
  margin-right: 0;
}

.case-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
  width: 100%;
  max-width: none;
}

.case-preview-card {
  border: 1px solid #dde0ea;
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(9, 12, 22, 0.06);
}

.case-preview-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.case-preview-header h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #1a2135;
}

.case-preview-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20, 23, 38, 0.1);
  background: #0b0f1d;
  aspect-ratio: 16 / 9;
  min-height: 380px;
}

.case-preview-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.faq-clean {
  background: #f5f6f8;
}

.faq {
  max-width: 820px;
}

details {
  border: 1px solid #e2e5ef;
  border-radius: 4px;
  background: #ffffff;
  padding: 0.7rem 0.9rem;
}

details + details {
  margin-top: 0.65rem;
}

summary {
  cursor: pointer;
  font-weight: 500;
  color: #232a3d;
}

details p {
  margin-top: 0.5rem;
  color: #687089;
}

.faq-modern {
  --faq-border: rgba(20, 23, 38, 0.12);
  --faq-bg: #ffffff;
  --faq-title: #141726;
  --faq-text: #5b6277;
  --faq-muted: rgba(20, 23, 38, 0.55);
  --faq-accent: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.tech-page .faq-modern {
  --faq-border: rgba(130, 146, 185, 0.22);
  --faq-bg: #101626;
  --faq-title: #f3f5ff;
  --faq-text: #b8bfd4;
  --faq-muted: rgba(214, 220, 240, 0.7);
}

.faq-modern details {
  border: 1px solid var(--faq-border);
  border-radius: 14px;
  background: var(--faq-bg);
  padding: 0.95rem 1rem;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.faq-modern details:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(10, 14, 30, 0.08);
}

.faq-modern summary {
  list-style: none;
  color: var(--faq-title);
  font-weight: 650;
  letter-spacing: -0.01em;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.faq-modern summary::-webkit-details-marker {
  display: none;
}

.faq-modern summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--faq-border);
  color: var(--faq-muted);
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease;
}

.faq-modern details[open] summary::after {
  content: "–";
  transform: rotate(0deg);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--faq-accent);
}

.faq-modern details p {
  color: var(--faq-text);
  margin-top: 0.65rem;
  line-height: 1.65;
  max-width: 72ch;
  animation: faqFadeIn 240ms ease both;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  text-decoration: none;
  background: #25d366;
  color: #002a11;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float .wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0, 42, 17, 0.12);
}

.whatsapp-float .wa-icon svg {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.992);
  transition: opacity 380ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.segmentos-grid .reveal:nth-child(1),
.tecnologias-grid .reveal:nth-child(1),
.cases-grid .reveal:nth-child(1),
.numbers-grid .reveal:nth-child(1) {
  transition-delay: 30ms;
}

.segmentos-grid .reveal:nth-child(2),
.tecnologias-grid .reveal:nth-child(2),
.cases-grid .reveal:nth-child(2),
.numbers-grid .reveal:nth-child(2) {
  transition-delay: 90ms;
}

.segmentos-grid .reveal:nth-child(3),
.tecnologias-grid .reveal:nth-child(3),
.cases-grid .reveal:nth-child(3),
.numbers-grid .reveal:nth-child(3) {
  transition-delay: 140ms;
}

.tecnologias-grid .reveal:nth-child(4),
.numbers-grid .reveal:nth-child(4) {
  transition-delay: 190ms;
}

.numbers-grid .reveal:nth-child(5) {
  transition-delay: 240ms;
}

.tech-page {
  background: #ffffff;
  color: #141726;
}

.tech-page h2 {
  color: #141726;
}

.tech-page .hero {
  min-height: calc(100vh - 74px);
  padding: 0;
  display: flex;
  align-items: center;
}

.tech-page .hero > .container {
  padding-left: clamp(2.25rem, 10vw, 8.5rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.ativacoes-page .hero {
  min-height: calc(100vh - 74px);
  padding: 0;
  display: flex;
  align-items: center;
}

.ativacoes-page .hero > .container {
  padding-left: clamp(1.25rem, 4.5vw, 3.75rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.tech-page .tecnologias,
.tech-page .faq-clean,
.tech-page .cases,
.tech-page .segmentos {
  background: #ffffff;
}

.tech-page .section-text,
.tech-page .audience-list li,
.tech-page .flow-step p,
.tech-page .tech-card p,
.tech-page .segmento-content p {
  color: #596079;
}

.tech-page .tech-card,
.tech-page .flow-step,
.tech-page .segmento-card {
  background: #ffffff;
  border: 1px solid #dde0ea;
  border-radius: 14px;
}

.tech-page .tech-card h3,
.tech-page .flow-step h3,
.tech-page .segmento-content h3,
.tech-page .diferencial-card .segmento-content p {
  color: #1a2135;
}

.tech-page .feature-list li {
  color: #1a2135;
}

.tech-page .audience-list li::before {
  color: #5622a4;
}

.tech-page .tech-icon {
  background: linear-gradient(135deg, #6b7dff, #7b44ff);
}

.tech-page .segmento-card:hover,
.tech-page .tech-card:hover,
.tech-page .flow-step:hover {
  transform: translateY(-3px);
  border-color: rgba(130, 146, 185, 0.42);
  box-shadow: 0 14px 28px rgba(3, 6, 14, 0.42);
}

.tech-page details {
  background: #ffffff;
  border-color: #dde0ea;
}

.tech-page summary,
.tech-page details p {
  color: #1a2135;
}

.ativacoes-page {
  background: #080a11;
  color: #f3f5ff;
}

.ativacoes-page h2 {
  color: #f3f5ff;
}

.ativacoes-page .tecnologias,
.ativacoes-page .faq-clean,
.ativacoes-page .cases {
  background: #0c101b;
}

.ativacoes-page .section-text {
  color: #b8bfd4;
}

.ativacoes-page .tech-card,
.ativacoes-page .flow-step,
.ativacoes-page details {
  background: #101626;
  border-color: rgba(130, 146, 185, 0.22);
}

.ativacoes-page .tech-card h3,
.ativacoes-page .flow-step h3 {
  color: #f3f5ff;
}

.ativacoes-page .flow-step p,
.ativacoes-page .tech-card p,
.ativacoes-page summary,
.ativacoes-page details p {
  color: #d6dcf0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 940px) {
  .menu {
    display: none;
  }

  .case-preview-grid {
    grid-template-columns: 1fr;
  }

  .case-preview-frame {
    min-height: 320px;
  }

  .process-graph {
    flex-direction: column;
    align-items: stretch;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }

  .process-graph-connector {
    padding: 0.4rem 0;
    align-self: center;
  }

  .process-graph-arrow-h {
    display: none;
  }

  .process-graph-arrow-v {
    display: block;
  }

  .hero-grid,
  .segmentos-grid,
  .cases-grid,
  .excelencia-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
    padding: 5rem 0 4rem;
  }

  .numbers {
    margin-top: 0;
  }

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

  .numbers-grid article {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .numbers-grid article:last-child {
    border-bottom: none;
  }

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

  .split-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 2rem 0;
  }

  .split-reverse .split-content,
  .split-reverse .split-media {
    order: initial;
  }

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

  .media-grid img {
    height: 150px;
  }

  .flow-compact .flow-grid {
    grid-template-columns: 1fr;
  }

  .include-and-details {
    grid-template-columns: 1fr;
  }

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