/* ============================================
   CLIKAEDUCA · MAIN.CSS
   Tema light/dark · paleta validada
   ============================================ */

:root {
  /* ---- Marca ---- */
  --brand-50:  #EFF5FB;
  --brand-100: #DDE9F4;
  --brand-300: #6FB3E2;
  --brand-500: #1E84D0;
  --brand-600: #1668AB;
  --brand-700: #114F86;
  --brand-800: #0D3D69;

  /* ---- Acentos ---- */
  --success: #4CAF50;
  --warning: #E8743C;
  --danger:  #D64545;

  /* ---- Light (default) ---- */
  --bg:          #FAFCFE;
  --bg-elev:     #FFFFFF;
  --bg-muted:    #F1F5F9;
  --surface:     #FFFFFF;
  --surface-2:   var(--brand-50);
  --border:      #E3EAF2;
  --border-soft: #EEF2F7;
  --text:        #0E2238;
  --text-muted:  #5A6B80;
  --text-soft:   #8595A8;
  --primary:     var(--brand-500);
  --primary-hov: var(--brand-600);
  --primary-bg:  var(--brand-100);
  --on-primary:  #FFFFFF;
  --shadow-sm:   0 2px 8px rgba(17, 79, 134, .06);
  --shadow:      0 6px 20px rgba(17, 79, 134, .08);
  --shadow-lg:   0 14px 40px rgba(17, 79, 134, .12);

  /* ---- Tokens estruturais ---- */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1180px;
  --header-h:  72px;
  --transition: .25s ease;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Arial, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, ui-monospace, monospace;
}

[data-theme="dark"] {
  --bg:          #0A0F18;
  --bg-elev:     #121821;
  --bg-muted:    #161D27;
  --surface:     #141B26;
  --surface-2:   #1A2330;
  --border:      #243042;
  --border-soft: #1B2532;
  --text:        #E7EEF7;
  --text-muted:  #A8B6C8;
  --text-soft:   #6F7E92;
  --primary:     #3FA0E5;
  --primary-hov: #6FB8EE;
  --primary-bg:  #15324F;
  --on-primary:  #06121F;
  --brand-100:   #15324F;
  --brand-50:    #102A44;
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, .25);
  --shadow:      0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg:   0 20px 50px rgba(0, 0, 0, .55);
}

/* ============================================
   RESET + BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hov); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--text-muted); }
ul, ol { padding-left: 1.4em; color: var(--text-muted); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ============================================
   HEADER + NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo img {
  height: 48px;
  width: auto;
  max-width: 200px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 720px) {
  .brand-logo img { height: 42px; }
}
.brand-logo .brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  letter-spacing: -.5px;
}
[data-theme="dark"] .brand-logo img { filter: brightness(1.1); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav a:hover { color: var(--primary); background: var(--bg-muted); }
.nav a.active { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text);
  font-size: .82rem;
  font-family: inherit;
  transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  padding: 6px 10px;
}

@media (max-width: 880px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    gap: 4px;
  }
  .nav.open a { padding: 12px 14px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: none;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hov); transform: translateY(-1px); box-shadow: var(--shadow); color: var(--on-primary); }
.btn-ghost   { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-ghost:hover { background: var(--primary-bg); }
.btn-soft    { background: var(--bg-muted); color: var(--text); }
.btn-soft:hover { background: var(--surface-2); color: var(--primary); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 18px;
}
.hero-title .accent { color: var(--primary); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  text-align: center;
}
.hero-image img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(17, 79, 134, .15));
}
[data-theme="dark"] .hero-image img {
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6));
}

@media (max-width: 880px) {
  .hero { padding: 50px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}
.section-tight { padding: 50px 0; }
.section-alt { background: var(--bg-muted); }

.section-head {
  text-align: center;
  margin-bottom: 50px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.cards-grid--3cols {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 880px) {
  .cards-grid--3cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards-grid--3cols { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-bg);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card p {
  font-size: .94rem;
  margin: 0;
}

/* ============================================
   ECA SECTION (selo de conformidade)
   ============================================ */
.eca-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--brand-50), var(--surface));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.eca-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow);
}
.eca-shield {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--primary);
  color: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
}
.eca-text h3 { margin-bottom: 6px; }
.eca-text p  { margin: 0; font-size: .96rem; }

@media (max-width: 760px) {
  .eca-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }
  .eca-shield { margin: 0 auto; }
}

/* ============================================
   CTA
   ============================================ */
.cta-block {
  text-align: center;
  padding: 80px 0;
  background: var(--surface-2);
}
.cta-block h2 { margin-bottom: 14px; }
.cta-block p  { max-width: 520px; margin: 0 auto 28px; font-size: 1.05rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  color: var(--text-muted);
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-brand .brand-logo { margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; margin: 0; max-width: 320px; }
.footer-col h4 { font-size: .9rem; color: var(--text); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col a {
  display: block;
  color: var(--text-muted);
  padding: 4px 0;
  font-size: .9rem;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: .82rem;
  color: var(--text-soft);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================
   ÁREA RESTRITA — Dashboard
   ============================================ */
.area-header {
  padding: 50px 0 30px;
  background: linear-gradient(180deg, var(--surface-2), var(--bg));
}
.area-header h1 { margin-bottom: 8px; }
.area-header p  { font-size: 1.05rem; max-width: 640px; }

.area-cards {
  padding: 30px 0 80px;
}
.area-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
  color: inherit;
}
.area-card .card-icon { margin: 0; }
.area-card h3 { color: var(--text); margin: 0; font-size: 1.1rem; }
.area-card p  { margin: 0; font-size: .92rem; }
.area-card .card-arrow {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   PÁGINAS DE CONTEÚDO (apresentações + ECA)
   ============================================ */
.content-page {
  padding: 50px 0 80px;
}
.content-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.content-wrap h1 { margin-bottom: 8px; }
.content-wrap .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.content-wrap h2 {
  margin-top: 48px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}
.content-wrap h3 {
  margin-top: 32px;
  color: var(--primary);
  font-size: 1.1rem;
}
.content-wrap blockquote {
  border-left: 4px solid var(--primary);
  margin: 24px 0;
  padding: 12px 20px;
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-style: italic;
}
.content-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .94rem;
}
.content-wrap th, .content-wrap td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.content-wrap th {
  background: var(--bg-muted);
  font-weight: 600;
  color: var(--text);
}

.print-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}

/* ============================================
   LOGIN
   ============================================ */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--brand-50), var(--surface));
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
}
.login-head { text-align: center; margin-bottom: 28px; }
.login-head img { height: 44px; margin: 0 auto 14px; }
.login-head h1 { font-size: 1.4rem; margin-bottom: 4px; }
.login-head p  { color: var(--text-muted); font-size: .92rem; margin: 0; }
.login-field { margin-bottom: 18px; }
.login-field label {
  display: block;
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.login-field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--transition);
}
.login-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: .88rem;
  color: var(--text-muted);
  cursor: pointer;
}
.login-error {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
  color: var(--danger);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .88rem;
  margin-bottom: 18px;
  text-align: center;
}
.login-foot {
  text-align: center;
  margin-top: 22px;
  font-size: .82rem;
  color: var(--text-soft);
}
.login-foot a { color: var(--text-muted); }

/* ============================================
   FX · NEON GLOW
   ============================================ */
:root {
  --neon-glow:    0 0 20px rgba(30,132,208,.55), 0 0 40px rgba(30,132,208,.30);
  --neon-glow-lg: 0 0 28px rgba(30,132,208,.65), 0 0 60px rgba(30,132,208,.40);
}
[data-theme="dark"] {
  --neon-glow:    0 0 24px rgba(63,160,229,.65), 0 0 48px rgba(63,160,229,.35);
  --neon-glow-lg: 0 0 36px rgba(63,160,229,.75), 0 0 72px rgba(63,160,229,.45);
}

.glow {
  color: var(--primary);
  text-shadow:
    0 0 10px rgba(30,132,208,.55),
    0 0 24px rgba(30,132,208,.35),
    0 0 44px rgba(30,132,208,.20);
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(30,132,208,.45), 0 0 32px rgba(30,132,208,.25); }
  50%      { box-shadow: 0 0 28px rgba(30,132,208,.70), 0 0 56px rgba(30,132,208,.45); }
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--on-primary);
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  box-shadow: var(--neon-glow);
  animation: neonPulse 2.4s ease-in-out infinite;
  transition: transform .2s ease;
}
.btn-neon:hover { transform: translateY(-2px); color: var(--on-primary); }

.shield-neon {
  width: 92px; height: 92px;
  border-radius: 24px;
  background: var(--primary);
  color: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  box-shadow: var(--neon-glow-lg);
  animation: neonPulse 2.6s ease-in-out infinite;
}

/* ============================================
   FX · MARQUEE (loop infinito horizontal)
   ============================================ */
.marquee {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow: hidden;
  user-select: none;
  gap: 18px;
  padding: 14px 0;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 18px;
  flex-shrink: 0;
  animation: marqueeScroll 22s linear infinite;
  will-change: transform;
}
.marquee-track--reverse { animation-direction: reverse; animation-duration: 28s; }
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  to { transform: translateX(calc(-100% - 18px)); }
}

.marquee-phone {
  flex-shrink: 0;
  width: 110px;
  height: 220px;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.marquee-phone img { width: 100%; height: 100%; object-fit: cover; }

.marquee-phrase {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee-phrase .sep { color: var(--text-soft); font-size: .9em; }

/* ============================================
   FX · TILT CARDS (3D no hover via vanilla-tilt)
   ============================================ */
.tilt-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transform-style: preserve-3d;
  transition: box-shadow .3s ease, border-color .3s ease;
  cursor: default;
}
.tilt-card:hover {
  border-color: var(--primary);
  box-shadow:
    0 14px 40px rgba(17,79,134,.15),
    0 0 24px rgba(30,132,208,.30),
    0 0 48px rgba(30,132,208,.18);
}
[data-theme="dark"] .tilt-card:hover {
  box-shadow:
    0 18px 50px rgba(0,0,0,.45),
    0 0 28px rgba(63,160,229,.45),
    0 0 56px rgba(63,160,229,.25);
}
.tilt-card .tilt-icon  {
  font-size: 2.4rem;
  margin-bottom: 14px;
  color: var(--primary);
  transform: translateZ(40px);
  text-shadow: 0 0 12px rgba(30,132,208,.25);
}
[data-theme="dark"] .tilt-card .tilt-icon {
  text-shadow: 0 0 16px rgba(63,160,229,.40);
}
.tilt-card h3          { transform: translateZ(30px); color: var(--text); margin-bottom: 8px; }
.tilt-card p           { transform: translateZ(20px); margin-bottom: 0; font-size: .94rem; }

/* ============================================
   HERO REDESENHADO
   ============================================ */
/* ============================================
   INTRO MARQUEE · faixa de telas após o hero
   ============================================ */
.intro-marquee-section {
  padding: 30px 0 50px;
  background: var(--bg);
  overflow: hidden;
}
.intro-marquee {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 100px, #000 calc(100% - 100px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 100px, #000 calc(100% - 100px), transparent 100%);
}
.intro-marquee-track {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  animation: introMarqueeScroll 35s linear infinite;
  will-change: transform;
}
.intro-marquee:hover .intro-marquee-track { animation-play-state: paused; }
@keyframes introMarqueeScroll {
  to { transform: translateX(calc(-100% - 20px)); }
}
.intro-phone {
  flex: 0 0 140px;
  width: 140px;
  height: 280px;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.intro-phone:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.intro-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.hero-phone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.hero-phone img {
  max-width: 380px;
  max-height: 720px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(17,79,134,.25));
  animation: phoneFloat 5.5s ease-in-out infinite;
}
[data-theme="dark"] .hero-phone img {
  filter: drop-shadow(0 30px 80px rgba(0,0,0,.65)) drop-shadow(0 0 30px rgba(63,160,229,.18));
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotateZ(0deg); }
  50%      { transform: translateY(-14px) rotateZ(.4deg); }
}

/* ============================================
   SHOWCASE · Swiper das telas
   ============================================ */
.showcase {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%);
}
.showcase-swiper { padding: 30px 0 60px !important; }
.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 520px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.swiper-slide-active .showcase-card {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.showcase-card-img {
  width: 100%;
  height: 380px;
  background: var(--bg-muted);
  overflow: hidden;
}
.showcase-card-img img { width: 100%; height: 100%; object-fit: cover; }
.showcase-card-body { padding: 18px 22px; }
.showcase-card-body h4 { margin: 0 0 6px; font-size: 1rem; color: var(--text); }
.showcase-card-body p  { margin: 0; font-size: .86rem; color: var(--text-muted); }

.swiper-pagination-bullet { background: var(--primary) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--primary) !important; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1.4rem !important; }

/* ============================================
   NÚMEROS DO MERCADO
   ============================================ */
.metrics {
  padding: 80px 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--primary), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
}
.metric-card:hover::before { opacity: .8; }
.metric-num {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow:
    0 0 18px rgba(30,132,208,.25),
    0 0 36px rgba(30,132,208,.15);
}
.metric-label {
  font-size: .9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================
   ECA · selo neon mais forte
   ============================================ */
.eca-section .eca-shield {
  width: 92px; height: 92px;
  font-size: 2.4rem;
  box-shadow: var(--neon-glow-lg);
  animation: neonPulse 2.6s ease-in-out infinite;
}

/* ============================================
   FOOTER · brand pattern marquee
   ============================================ */
.brand-marquee {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 18px 0;
  background: var(--bg-elev);
  margin-bottom: 30px;
}

@media (max-width: 880px) {
  .hero-phone img { max-width: 320px; }
}

/* ============================================
   MANIFESTO · fechamento textual
   ============================================ */
.manifesto {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.manifesto .eyebrow { margin-bottom: 18px; }
.manifesto h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 36px;
  color: var(--text);
}
.manifesto p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.manifesto-end {
  margin-top: 38px !important;
  margin-bottom: 0 !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  letter-spacing: -.005em;
}

/* AOS — sobe o easing */
[data-aos] { transition-timing-function: cubic-bezier(.25,.6,.25,1); }

/* ============================================
   PRESENTATION DECK · slides estilo PowerPoint
   ============================================ */
.presentation-wrap { padding: 40px 0 80px; }
.presentation-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}
.presentation-head h1 { margin: 0 0 6px; }
.presentation-head .lead { margin: 0; color: var(--text-muted); }
.presentation-head kbd {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .8em;
  font-family: var(--mono);
}
.presentation-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.deck {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.deck-swiper { padding: 8px 8px 60px !important; overflow: hidden; }
.deck-counter {
  position: absolute;
  bottom: 22px;
  right: 28px;
  font-size: .85rem;
  color: var(--text-muted);
  font-family: var(--mono);
  background: var(--bg-muted);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* ====== SLIDE BASE ====== */
.slide {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  height: 620px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.swiper-slide-active .slide {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.slide--reverse { direction: rtl; }
.slide--reverse > * { direction: ltr; }
.slide--full { grid-template-columns: 1fr; }
.slide--cover { grid-template-columns: 1fr 1fr; }

.slide-content {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.slide-content--center { align-items: center; text-align: center; }
.slide-content--cover { justify-content: center; }
.slide-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 22px;
}
.slide-content--center .slide-tag { align-self: center; }
.slide-title {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0 0 22px;
  color: var(--text);
}
.slide-title-xl {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  color: var(--text);
}
.slide-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 520px;
}
.slide-content > p { color: var(--text-muted); font-size: 1rem; margin: 0 0 18px; }

.slide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.slide-list li {
  font-size: .98rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.slide-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}
.slide-list li em {
  color: var(--text-soft);
  font-style: normal;
  font-size: .85em;
  margin-left: 6px;
}
.slide-list--check li::before { content: "✓"; }

.slide-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slide-steps li {
  counter-increment: step;
  padding: 14px 16px 14px 56px;
  background: var(--bg-muted);
  border-radius: var(--radius);
  position: relative;
  font-size: .94rem;
  color: var(--text);
  border-left: 3px solid var(--primary);
}
.slide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}

.slide-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.slide-pill {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.slide-pill strong { color: var(--text); display: block; margin-bottom: 4px; font-size: .94rem; }

.slide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
  font-size: .9rem;
  color: var(--text-muted);
}
.slide-grid strong { color: var(--text); }

.slide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  margin: 18px 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.slide-table th, .slide-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.slide-table th {
  background: var(--bg-muted);
  color: var(--text);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.slide-table td:nth-child(2) { color: var(--success); font-weight: 700; text-align: center; }
.slide-table td:nth-child(3) { color: var(--text-soft); text-align: center; }

.slide-roadmap {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.slide-roadmap li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-muted);
  border-radius: var(--radius);
  padding: 16px;
  font-size: .9rem;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
}
.slide-roadmap .step-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.slide-roadmap strong { color: var(--text); }

.slide-kicker {
  margin-top: 18px !important;
  padding: 14px 18px;
  background: var(--primary-bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text) !important;
  font-weight: 600;
  font-style: italic;
}

.slide-cta { margin-top: 24px; }

/* ====== MEDIA / IMAGEM DO SLIDE ====== */
.slide-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-muted);
}
.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-media--contain {
  background:
    radial-gradient(ellipse at center, color-mix(in srgb, var(--primary) 8%, var(--surface)) 0%, var(--surface) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.slide-media--contain img { object-fit: contain; }

.slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, var(--bg-muted)) 0%, var(--bg-muted) 100%),
    repeating-linear-gradient(45deg, transparent 0 20px, color-mix(in srgb, var(--primary) 4%, transparent) 20px 21px);
  border: 2px dashed color-mix(in srgb, var(--primary) 35%, transparent);
  color: var(--text-muted);
  gap: 8px;
}
.slide-placeholder .ph-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--primary);
  text-transform: uppercase;
  padding: 4px 12px;
  background: var(--primary-bg);
  border-radius: 999px;
  margin-bottom: 12px;
}
.slide-placeholder .ph-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}
.slide-placeholder .ph-brief {
  font-size: .92rem;
  max-width: 320px;
}
.slide-placeholder .ph-file {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--primary);
  background: var(--surface);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ====== SWIPER navegação custom ====== */
.deck-swiper .swiper-button-next,
.deck-swiper .swiper-button-prev {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary) !important;
  box-shadow: var(--shadow);
  transition: all .2s ease;
}
.deck-swiper .swiper-button-next:hover,
.deck-swiper .swiper-button-prev:hover {
  border-color: var(--primary);
  box-shadow: var(--neon-glow);
}
.deck-swiper .swiper-button-next::after,
.deck-swiper .swiper-button-prev::after { font-size: 1.1rem !important; font-weight: 800; }
.deck-swiper .swiper-pagination-bullet { background: var(--primary) !important; }

/* ====== FULLSCREEN ====== */
.deck.is-fullscreen {
  background: #000;
  border: 0;
  border-radius: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.deck.is-fullscreen .deck-swiper {
  width: 100%;
  height: 100%;
  padding: 0 !important;
}
.deck.is-fullscreen .swiper-wrapper { height: 100%; }
.deck.is-fullscreen .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 6vw;
}
.deck.is-fullscreen .slide {
  height: 100%;
  width: 100%;
  max-width: 1400px;
  max-height: 800px;
  border: 0;
}
.deck.is-fullscreen .slide-content { padding: 6vh 5vw; }
.deck.is-fullscreen .deck-counter {
  bottom: 24px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border-color: rgba(255,255,255,.15);
}

/* ====== Componentes da Apresentação Completa ====== */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 14px 0 18px;
}
.screens-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
.screen-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 9 / 16;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.screen-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--neon-glow);
}
.screen-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slide-screens-caption {
  margin-top: 8px !important;
  font-size: .82rem;
  color: var(--text-muted);
  text-align: center;
}
.slide-screens-caption strong { color: var(--text); font-weight: 600; }

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 24px 0 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.metric-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
}
.metric-block strong {
  display: block;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 0 18px rgba(30,132,208,.25);
}
.metric-block span {
  display: block;
  margin-top: 6px;
  font-size: .82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.goals-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.goal-pill {
  background: var(--primary-bg);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  font-size: .92rem;
}
.goal-pill strong { color: var(--primary); margin-right: 8px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  text-align: center;
  transition: all .25s ease;
}
.team-card:hover { border-color: var(--primary); box-shadow: var(--neon-glow); transform: translateY(-3px); }
.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--primary-bg);
}
.team-card h4 { margin: 0 0 4px; font-size: 1rem; color: var(--text); }
.team-card .team-role {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.team-card p { font-size: .82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.eca-shield-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.eca-shield-block strong { font-size: 1.4rem; color: var(--text); }
.eca-shield-block em { font-style: normal; color: var(--text-muted); font-size: .92rem; }

/* ====== RESPONSIVO ====== */
@media (max-width: 1100px) {
  .screens-grid { grid-template-columns: repeat(3, 1fr); }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .slide {
    grid-template-columns: 1fr !important;
    height: auto;
    min-height: 540px;
  }
  .slide--reverse { direction: ltr; }
  .slide-media { min-height: 220px; max-height: 280px; }
  .slide-content { padding: 32px 26px; }
  .slide-pills, .slide-grid { grid-template-columns: 1fr; }
  .screens-grid, .screens-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .deck { padding: 12px; }
  .deck-counter { right: 16px; bottom: 14px; }
}

/* ============================================
   PERFORMANCE · containment + reduce motion
   ============================================ */
.section,
.showcase,
.metrics,
.cta-block,
.brand-marquee,
.intro-marquee-section {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}
.hero { content-visibility: visible; } /* hero precisa ficar pintado de cara */

/* Pausa animações de marquee quando o usuário pediu reduce motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .intro-marquee-track,
  .hero-phone img,
  .btn-neon,
  .shield-neon { animation: none !important; }
}

/* O brand-marquee (rodapé) é puro texto — desliga will-change pra liberar GPU */
.brand-marquee .marquee-track { will-change: auto; }

/* ============================================
   PRINT
   ============================================ */
@media print {
  .site-header,
  .site-footer,
  .theme-toggle,
  .menu-toggle,
  .print-bar,
  .nav,
  .hero-cta,
  .cta-block { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .content-wrap { max-width: 100%; }
  .content-wrap h2 { border-bottom: 1px solid #ccc; }
  .content-wrap blockquote { background: #f5f5f5; }
  .content-wrap table th { background: #eee; color: #000; }
  a { color: #000 !important; text-decoration: underline; }
  .card, .eca-card { box-shadow: none !important; border: 1px solid #ddd !important; }
}
