/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --evolu-dark: #2b2f3a;
  --evolu-gray: #3a3e4a;
  --accent: #1e7de0;
  --accent-light: #3a95f5;
  --accent-glow: rgba(30, 125, 224, .25);
  --green: #22c55e;
  --bg-light: #f5f7fb;
  --text-muted-c: #6b7280;
  --card-bg: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(30, 125, 224, .10);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Base ──────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #1a202c;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

.py-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ─── Brand name ────────────────────────────────────────────── */
.brand-evolu {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -1px;
}

.brand-ti {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: -1px;
}

/* ─── Navbar ────────────────────────────────────────────────── */
#mainNav {
  background: rgba(30, 35, 50, 0);
  backdrop-filter: blur(0);
  transition: background var(--transition), backdrop-filter var(--transition);
  padding: .8rem 0;
}

#mainNav.scrolled {
  background: rgba(27, 32, 46, .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, .85) !important;
  font-weight: 500;
  font-size: .93rem;
  transition: color var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--accent-light) !important;
}

.btn-accent {
  background: var(--accent);
  color: #fff !important;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f1624 0%, #1a2540 50%, #0d1f3c 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg-anim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 20% 50%, rgba(30, 125, 224, .15) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(30, 125, 224, .10) 0%, transparent 50%);
  animation: pulse-bg 8s ease-in-out infinite alternate;
}

@keyframes pulse-bg {
  from {
    opacity: .6;
  }

  to {
    opacity: 1;
  }
}

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

.badge-pill-accent {
  background: var(--accent-glow);
  color: var(--accent-light);
  border: 1px solid rgba(30, 125, 224, .4);
  padding: .45rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  letter-spacing: .3px;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

/* ─── Power BI iframe wrapper ───────────────────────────────── */
.pbi-wrapper {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.pbi-header {
  background: rgba(255, 255, 255, .07);
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pbi-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.pbi-dot.red {
  background: #ff5f57;
}

.pbi-dot.yellow {
  background: #febc2e;
}

.pbi-dot.green {
  background: #28c840;
}

.pbi-iframe-container {
  min-height: 420px;
  position: relative;
  width: 100%;
  padding-bottom: 62%;
  /* ~4:3 – altura maior */
  height: 0;
}

.pbi-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Placeholder quando powerbi_url está vazia */
.pbi-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
}

.pbi-ph-icon {
  font-size: 3rem;
  color: var(--accent);
  opacity: .6;
  margin-bottom: .8rem;
}

.pbi-ph-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .8);
  margin-bottom: .4rem;
}

.pbi-ph-desc {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.6;
}

.pbi-ph-desc code {
  background: rgba(255, 255, 255, .1);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-size: .8rem;
}

/* ─── Scroll cue ────────────────────────────────────────────── */
.scroll-down-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .5);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ─── Stats ─────────────────────────────────────────────────── */
.stats-section {
  background: var(--evolu-dark);
}

.stat-card {
  padding: 1.5rem;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  display: inline;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  display: inline;
}

.stat-label {
  color: rgba(255, 255, 255, .65);
  font-size: .88rem;
  margin-top: .3rem;
}

/* ─── Section typography ────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted-c);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 620px;
}

.section-text {
  color: #374151;
  line-height: 1.8;
}

.check-item {
  color: #374151;
  font-size: .95rem;
  margin-bottom: .4rem;
}

.text-accent {
  color: var(--accent);
}

/* ─── About visual ──────────────────────────────────────────── */
.about-visual {
  display: flex;
  justify-content: center;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 90px);
  gap: 12px;
  position: relative;
}

.aig-item {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--bg-light);
  color: var(--text-muted-c);
  transition: transform .3s;
}

.aig-item:hover {
  transform: translateY(-4px);
}

.aig-item.primary {
  background: var(--evolu-dark);
  color: #fff;
}

.aig-item.accent {
  background: var(--accent);
  color: #fff;
  grid-column: span 1;
}

.aig-item.large {
  width: 90px;
  height: 90px;
  font-size: 2rem;
}

/* ─── Features ──────────────────────────────────────────────── */
.product-section {
  background: var(--bg-light);
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid #e5e7eb;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-weight: 700;
  font-size: 1rem;
  color: #1a202c;
}

.feature-desc {
  color: var(--text-muted-c);
  font-size: .9rem;
  line-height: 1.6;
}

/* ─── Indicators ────────────────────────────────────────────── */
.indicator-card {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: #fff;
  border-radius: 10px;
  padding: .8rem 1rem;
  border-left: 4px solid var(--accent);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
  transition: transform var(--transition);
}

.indicator-card:hover {
  transform: translateX(4px);
}

.indicator-blue {
  border-left-color: #3b82f6;
}

.indicator-pink {
  border-left-color: #ec4899;
}

.indicator-green {
  border-left-color: #22c55e;
}

.indicator-orange {
  border-left-color: #f97316;
}

.indicator-red {
  border-left-color: #ef4444;
}

.indicator-purple {
  border-left-color: #a855f7;
}

.indicator-teal {
  border-left-color: #14b8a6;
}

.indicator-indigo {
  border-left-color: #6366f1;
}

.ind-code {
  font-size: .75rem;
  font-weight: 800;
  background: var(--bg-light);
  border-radius: 6px;
  padding: .3rem .5rem;
  min-width: 34px;
  text-align: center;
  color: var(--evolu-gray);
}

.ind-info {
  flex: 1;
}

.ind-name {
  font-weight: 600;
  font-size: .88rem;
  color: #1a202c;
}

.ind-area {
  font-size: .75rem;
  color: var(--text-muted-c);
}

.ind-bar {
  width: 50px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
}

.ind-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}

/* ─── How it works ──────────────────────────────────────────── */
.how-section {
  background: var(--bg-light);
}

.step-wrap {
  padding: 1rem;
  position: relative;
}

.step-number {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .5rem;
}

.step-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin: 0 auto;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.step-title {
  font-weight: 700;
  font-size: .95rem;
  color: #1a202c;
}

.step-desc {
  font-size: .82rem;
  color: var(--text-muted-c);
}

.step-arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted-c);
  font-size: 1.2rem;
  z-index: 1;
}

/* ─── Tech ──────────────────────────────────────────────────── */
.tech-section {
  background: var(--evolu-dark);
}

.tech-section .section-title {
  color: #fff;
}

.tech-section .section-eyebrow {
  color: var(--accent-light);
}

.tech-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  transition: background var(--transition), transform var(--transition);
}

.tech-card:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-4px);
}

.tech-icon {
  font-size: 2.2rem;
  color: var(--accent-light);
  margin-bottom: .6rem;
}

.tech-name {
  font-weight: 700;
  color: #fff;
  font-size: .95rem;
}

.tech-desc {
  font-size: .75rem;
  color: rgba(255, 255, 255, .5);
  margin-top: .2rem;
}

/* ─── Contact ───────────────────────────────────────────────── */
.contact-section {
  background: var(--bg-light);
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 40px rgba(30, 125, 224, .1);
}

.form-control {
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-info-row {
  color: var(--text-muted-c);
  font-size: .9rem;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: #0f1624;
}

.footer-link {
  color: rgba(255, 255, 255, .5);
  font-size: 1.1rem;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--accent-light);
}

/* ─── Responsiveness ────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-icon-grid {
    grid-template-columns: repeat(3, 70px);
  }

  .aig-item {
    width: 70px;
    height: 70px;
    font-size: 1.3rem;
  }

  .contact-card {
    padding: 2rem 1.2rem;
  }
}

/* ─── Indicator group labels ────────────────────────────────── */
.ind-group-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid #e5e7eb;
}

.ind-group-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}

.ind-group-icon.aps {
  background: linear-gradient(135deg, #3b82f6, #1e7de0);
}

.ind-group-icon.bucal {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

/* ─── Clients carousel ──────────────────────────────────────── */
.clients-section {
  background: #fff;
  overflow: hidden;
}

.clients-section .section-title {
  font-size: 1.6rem;
}

.clients-track-wrapper {
  position: relative;
  overflow: hidden;
  /* fade nas bordas */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scroll-clients 30s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-clients {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* SUBSTITUA todo o bloco .client-item e .client-item img e .client-name por isto: */

.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.client-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 80px;
  padding: 1rem 1.4rem;
  background: #686868;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.client-item:hover .client-logo-box {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(30, 125, 224, .15);
  border-color: #1e7de0;
}

.client-logo-box img {
  max-width: 120px;
  max-height: 52px;
  object-fit: contain;
}

.client-name {
  font-size: .78rem;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  white-space: nowrap;
}


.client-name {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted-c);
  text-align: center;
  white-space: nowrap;
}