/* conecte.ai — Cases de Sucesso | Design System extraído de conecte.ai/abrint2026 */
:root {
  --purple-deep: #22093a;
  --purple-dark: #3b195d;
  --purple-mid: #532384;
  --purple-ink: #2a1245;
  --cyan: #45bbd8;
  --cyan-light: #50d9fb;
  --cyan-glow: rgba(69, 187, 216, .25);
  --green-ok: #29c287;
  --bg-light: #f0f3f5;
  --bg-card: rgba(255, 255, 255, .06);
  --text-soft: #a3bac6;
  --text-muted: #8a9bab;
  --white: #ffffff;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--purple-deep);
  color: var(--white);
  min-width: 320px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-light); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(34, 9, 58, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo span {
  font-family: var(--font-head); font-weight: 800; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan-light);
  border-left: 1px solid rgba(255,255,255,.18); padding-left: 12px;
}
.nav-cta {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--purple-deep); text-decoration: none;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
  padding: 11px 22px; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(69,187,216,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(69,187,216,.5); }

/* ---------- HERO ---------- */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 140px 40px 80px;
  position: relative; overflow: hidden;
  background: var(--purple-deep);
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(83,35,132,.5) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -50%; left: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(69,187,216,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; width: 100%; }
.badge-event {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(69,187,216,.12); border: 1px solid rgba(69,187,216,.3);
  color: var(--cyan-light); font-size: 13px; font-weight: 600;
  padding: 7px 18px; border-radius: 100px;
  font-family: var(--font-head); letter-spacing: .6px; text-transform: uppercase;
}
.badge-event::before {
  content: ''; width: 6px; height: 6px; background: var(--cyan);
  border-radius: 50%; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.06; letter-spacing: -1.5px;
  margin: 26px 0 22px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2vw, 21px); line-height: 1.65;
  color: var(--text-soft); max-width: 720px;
}
.hero p.lead strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 16px 32px; border-radius: 12px; border: none; cursor: pointer;
  text-decoration: none; transition: all .3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
  color: var(--purple-deep); box-shadow: 0 4px 24px rgba(69,187,216,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(69,187,216,.5); }
.btn-secondary { background: transparent; color: var(--cyan-light); border: 1.5px solid rgba(69,187,216,.4); }
.btn-secondary:hover { border-color: var(--cyan-light); background: rgba(69,187,216,.08); }

/* ---------- STATS BAR ---------- */
.stats-bar {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 70px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px;
}
.stat {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 26px 22px; text-align: left;
}
.stat .num {
  font-family: var(--font-head); font-weight: 900; font-size: 34px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: var(--text-muted); font-size: 13.5px; margin-top: 6px; line-height: 1.45; }

/* ---------- SECTIONS ---------- */
.section { padding: 90px 40px; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--purple-ink) 0%, var(--purple-deep) 100%); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.kicker {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan);
  display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section h2 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -1px;
  margin: 16px 0 14px; line-height: 1.12;
}
.section .sub { color: var(--text-soft); font-size: 17px; line-height: 1.65; max-width: 720px; }

/* ---------- CASE CARDS ---------- */
.cases-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px; margin-top: 48px;
}
.case-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  text-decoration: none; color: inherit;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(69,187,216,.35);
  box-shadow: 0 18px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(69,187,216,.12);
}
.case-thumb { position: relative; height: 190px; overflow: hidden; background: var(--purple-dark); }
.thumb-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(400px 200px at 80% 0%, rgba(83,35,132,.8), transparent 70%),
    radial-gradient(300px 180px at 10% 100%, rgba(69,187,216,.18), transparent 70%),
    var(--purple-dark);
}
.thumb-fallback span {
  font-family: var(--font-head); font-weight: 900; font-size: 64px;
  color: rgba(255,255,255,.14); letter-spacing: -2px;
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.case-card:hover .case-thumb img { transform: scale(1.04); }
.case-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(34,9,58,.92) 100%);
}
.case-thumb .metric-hero {
  position: absolute; left: 18px; bottom: 14px; z-index: 2;
  font-family: var(--font-head); font-weight: 900; font-size: 30px; color: var(--white);
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.case-thumb .metric-hero small {
  display: block; font-size: 12px; font-weight: 600; color: var(--cyan-light);
  letter-spacing: .4px; text-transform: uppercase; margin-top: 2px;
}
.case-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  background: rgba(69,187,216,.12); color: var(--cyan-light);
  border: 1px solid rgba(69,187,216,.25);
}
.tag.green { background: rgba(41,194,135,.12); color: #4fe0a8; border-color: rgba(41,194,135,.3); }
.case-body h3 { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.3px; }
.case-body .segment { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.case-body .desc { color: var(--text-soft); font-size: 14.5px; line-height: 1.6; margin-top: 12px; flex: 1; }
.case-metrics { display: flex; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.case-metrics .m .v { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--cyan-light); }
.case-metrics .m .k { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; line-height: 1.3; }
.case-link {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--cyan-light);
}
.case-link::after { content: '→'; transition: transform .25s ease; }
.case-card:hover .case-link::after { transform: translateX(5px); }

/* ---------- WHY / ABOUT STRIP ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 44px; }
.why-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 28px 24px;
}
.why-card .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
  background: rgba(69,187,216,.12); border: 1px solid rgba(69,187,216,.22);
}
.why-card h4 { font-family: var(--font-head); font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.why-card p { color: var(--text-soft); font-size: 14.5px; line-height: 1.6; }

/* ---------- CTA FINAL ---------- */
.cta-final {
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(83,35,132,.55), transparent 70%),
    radial-gradient(600px 340px at 10% 90%, rgba(69,187,216,.12), transparent 70%),
    var(--purple-ink);
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.cta-final h2 { margin-left: auto; margin-right: auto; max-width: 760px; }
.cta-final .sub { margin: 0 auto; }
.cta-final .hero-actions { justify-content: center; }

/* ---------- FOOTER ---------- */
footer {
  padding: 44px 40px; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
footer img { height: 26px; opacity: .9; }
footer p { color: var(--text-muted); font-size: 13px; }
footer a { color: var(--text-soft); text-decoration: none; font-size: 13.5px; }
footer a:hover { color: var(--cyan-light); }

/* ============================================================
   CASE PAGE — padrão de slides
   ============================================================ */
.deck { position: relative; }
.slide {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 40px 90px;
  position: relative; overflow: hidden;
}
.slide-inner { max-width: 1080px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.slide-num {
  font-family: var(--font-head); font-weight: 900; font-size: 13px;
  letter-spacing: 3px; color: var(--cyan); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.slide-num::before { content: ''; width: 26px; height: 2px; background: var(--cyan); }

/* capa do case */
.slide-cover { background: var(--purple-deep); text-align: left; }
.slide-cover::before {
  content: ''; position: absolute; top: -35%; right: -18%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(83,35,132,.55) 0%, transparent 70%);
}
.slide-cover::after {
  content: ''; position: absolute; bottom: -45%; left: -12%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(69,187,216,.13) 0%, transparent 70%);
}
.cover-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.cover-isp {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(40px, 6vw, 74px); letter-spacing: -2px; line-height: 1.02;
  margin: 20px 0 10px;
}
.cover-module { color: var(--cyan-light); font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.cover-summary { color: var(--text-soft); font-size: 17.5px; line-height: 1.65; margin-top: 20px; max-width: 560px; }
.cover-metric {
  background: var(--bg-card); border: 1px solid rgba(69,187,216,.22);
  border-radius: 24px; padding: 40px 34px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.4), inset 0 0 60px rgba(69,187,216,.05);
}
.cover-metric .big {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(52px, 6vw, 84px);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.cover-metric .cap { color: var(--text-soft); font-size: 15px; margin-top: 14px; line-height: 1.5; }

/* slides de conteúdo */
.slide.s2 { background: linear-gradient(180deg, var(--purple-ink) 0%, var(--purple-deep) 100%); }
.slide.s3 { background: var(--purple-deep); }
.slide.s4 { background: linear-gradient(180deg, var(--purple-deep) 0%, var(--purple-ink) 100%); }
.slide.s5 { background: var(--purple-ink); }
.slide.s6 { background: var(--purple-deep); }

.slide h2.slide-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(30px, 4vw, 48px); letter-spacing: -1.2px; line-height: 1.1;
  margin-bottom: 24px; max-width: 800px;
}
.slide p.body-copy { color: var(--text-soft); font-size: 17.5px; line-height: 1.7; max-width: 760px; }
.slide p.body-copy + p.body-copy { margin-top: 16px; }
.slide p.body-copy strong { color: var(--white); }

.check-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; max-width: 760px; }
.check-list li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--text-soft); font-size: 16px; line-height: 1.55;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.07);
  padding: 16px 18px; border-radius: 14px;
}
.check-list li::before {
  content: '✓'; flex: 0 0 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(41,194,135,.15); color: #4fe0a8; font-weight: 800; font-size: 14px;
}
.check-list li strong { color: var(--white); }

/* métricas */
.metrics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px; margin-top: 40px;
}
.metric-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px; padding: 30px 24px;
  transition: border-color .3s, transform .3s;
}
.metric-card:hover { border-color: rgba(69,187,216,.35); transform: translateY(-4px); }
.metric-card .v {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(30px, 3.4vw, 44px);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.05;
}
.metric-card .k { color: var(--text-soft); font-size: 14px; margin-top: 10px; line-height: 1.5; }

/* depoimento */
.quote-wrap { max-width: 860px; margin: 0 auto; }
.quote-mark {
  font-family: var(--font-head); font-size: 120px; font-weight: 900; line-height: .6;
  color: var(--cyan); opacity: .35; margin-bottom: 26px;
}
.quote-text {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.45; letter-spacing: -.4px;
}
.quote-text .hl { color: var(--cyan-light); }
.quote-author { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.quote-author .avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff;
}
.quote-author .who { font-weight: 700; font-family: var(--font-head); font-size: 16px; }
.quote-author .role { color: var(--text-muted); font-size: 13.5px; margin-top: 2px; }

/* galeria de prints */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 36px; }
.shot {
  border-radius: 16px; overflow: hidden; cursor: zoom-in;
  border: 1px solid rgba(255,255,255,.1); background: var(--purple-dark);
  transition: transform .3s, border-color .3s;
  position: relative;
}
.shot:hover { transform: translateY(-4px); border-color: rgba(69,187,216,.4); }
.shot img { width: 100%; height: 210px; object-fit: cover; object-position: top center; }
.shot .cap {
  padding: 12px 16px; font-size: 13px; color: var(--text-soft);
  border-top: 1px solid rgba(255,255,255,.07); background: rgba(34,9,58,.6);
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(15,4,28,.94); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox .lb-close {
  position: absolute; top: 26px; right: 34px; font-size: 34px; color: #fff;
  cursor: pointer; background: none; border: none; line-height: 1;
}
.lightbox .lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--text-soft); font-size: 14px; }

/* navegação do deck */
.deck-nav {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 120; display: flex; align-items: center; gap: 14px;
  background: rgba(34,9,58,.85); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px); padding: 10px 16px; border-radius: 100px;
}
.deck-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(69,187,216,.35);
  background: transparent; color: var(--cyan-light); font-size: 17px; cursor: pointer;
  transition: all .25s;
}
.deck-nav button:hover { background: rgba(69,187,216,.15); }
.deck-dots { display: flex; gap: 8px; }
.deck-dots .dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18);
  cursor: pointer; transition: all .25s; border: none; padding: 0;
}
.deck-dots .dot.active { background: var(--cyan-light); transform: scale(1.3); }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-soft); text-decoration: none; font-size: 14px; font-weight: 600;
  font-family: var(--font-head); transition: color .25s;
}
.back-link:hover { color: var(--cyan-light); }

/* outros cases no fim do deck */
.more-cases { padding: 80px 40px 130px; background: var(--purple-ink); }
.more-cases .section-inner { max-width: 1180px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 30px; }
.mini-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  padding: 20px; text-decoration: none; color: inherit; transition: all .3s;
}
.mini-card:hover { border-color: rgba(69,187,216,.35); transform: translateY(-3px); }
.mini-card h5 { font-family: var(--font-head); font-weight: 800; font-size: 15.5px; }
.mini-card .mm { color: var(--cyan-light); font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-top: 8px; }
.mini-card .mk { color: var(--text-muted); font-size: 12px; margin-top: 2px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav-cta { display: none; }
  .hero, .section, .slide { padding-left: 22px; padding-right: 22px; }
  .cover-grid { grid-template-columns: 1fr; gap: 34px; }
  .cover-metric { padding: 30px 24px; }
  footer { justify-content: center; text-align: center; }
  .deck-nav { bottom: 16px; padding: 8px 12px; gap: 10px; }
  .shot img { height: 180px; }
}
