:root {
  --vc-green-dark: #2d6b5e;
  --vc-green: #519484;
  --vc-green-light: #3ca399;
  --vc-green-bg: #eef6f2;
  --vc-green-bg-alt: #ddf0e8;
  --vc-accent: #0e7c3a;
  --vc-white: #ffffff;
  --vc-text: #1a2e28;
  --vc-text-muted: #5d6b66;
  --vc-text-light: #8a9e96;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--vc-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

.deck-back-link {
  position: fixed;
  top: 14px;
  right: 20px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(45,107,94,0.2);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--vc-green-dark);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.deck-back-link:hover {
  background: #fff;
  color: var(--vc-green);
}

.slide {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.slide-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  z-index: 10;
}

.slide-footer img {
  height: 22px;
  opacity: 0.5;
}

.slide-footer .slide-number {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.4;
}

.slide-footer-light .slide-number,
.slide-footer-light img { filter: brightness(10); }

.container-slide {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.slide-capa {
  background: linear-gradient(135deg, #1a4a3e 0%, #2d6b5e 30%, #3ca399 70%, #519484 100%);
  color: #fff;
  justify-content: center;
  text-align: center;
}

.slide-capa .capa-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.slide-capa .logo-capa {
  height: 56px;
  margin-bottom: 8px;
  filter: brightness(10);
}

.slide-capa .tagline {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.75;
}

.slide-capa h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 800px;
}

.slide-capa .subtitulo {
  font-size: 20px;
  font-weight: 300;
  max-width: 600px;
  opacity: 0.85;
  line-height: 1.6;
}

.slide-capa .mockup-capa {
  margin-top: 16px;
  max-height: 280px;
  border-radius: 8px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
}

.slide-capa .capa-line {
  width: 60px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}

.slide-overview {
  background: var(--vc-white);
}

.slide-overview .overview-content {
  text-align: center;
  width: 100%;
}

.slide-overview .overview-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--vc-green);
  margin-bottom: 12px;
}

.slide-overview h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--vc-text);
  margin-bottom: 12px;
}

.slide-overview .overview-sub {
  font-size: 17px;
  color: var(--vc-text-muted);
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1150px;
  margin: 0 auto;
}

.modules-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1050px;
}

.modules-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}

.module-card-mini {
  background: var(--vc-green-bg);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: left;
  min-width: 0;
}

.module-card-mini .mod-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--vc-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.module-card-mini h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--vc-text);
  margin-bottom: 6px;
}

.module-card-mini p {
  font-size: 13px;
  color: var(--vc-text-muted);
  line-height: 1.5;
}

.slide-modulo .modulo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.slide-modulo .modulo-layout.reverse {
  direction: rtl;
}

.slide-modulo .modulo-layout.reverse > * {
  direction: ltr;
}

.modulo-text .mod-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--vc-green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modulo-text .mod-label .label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vc-green);
}

.modulo-text h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--vc-text);
}

.modulo-text .mod-desc {
  font-size: 15px;
  color: var(--vc-text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--vc-text);
}

.benefit-list li .b-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--vc-green-bg);
  color: var(--vc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 1px;
}

.benefit-list li strong {
  font-weight: 600;
}

.modulo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modulo-image img {
  max-width: 100%;
  max-height: 520px;
  border-radius: 12px;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.12));
}

.modulo-image .img-secondary {
  position: absolute;
  bottom: -20px;
  right: -20px;
  max-width: 45%;
  max-height: 240px;
  border-radius: 10px;
  border: 3px solid #fff;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.modulo-image .img-secondary.img-left {
  right: auto;
  left: -20px;
}

.modulo-image-triple {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modulo-image-triple .img-main {
  max-width: 88%;
  max-height: 640px;
  border-radius: 16px;
  filter: drop-shadow(0 24px 64px rgba(0,0,0,0.22)) drop-shadow(0 8px 24px rgba(0,0,0,0.12));
  border: 4px solid rgba(255,255,255,0.9);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
  z-index: 2;
}

.modulo-image-triple .img-float {
  position: absolute;
  max-width: 38%;
  max-height: 260px;
  border-radius: 10px;
  border: 4px solid #fff;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.18));
  z-index: 3;
}

.modulo-image-triple .img-float-top {
  top: 0;
  right: -2%;
}

.modulo-image-triple .img-float-bottom {
  bottom: 0;
  left: -2%;
}

.slide-bg-alt { background: var(--vc-green-bg); }
.slide-bg-verde-claro { background: #e8f5f0; }
.slide-bg-white { background: var(--vc-white); }

.img-icon-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 16px;
  background: rgba(200, 230, 218, 0.75);
  border-radius: 16px;
  z-index: 3;
}

.img-icon-floating img {
  display: block;
  max-width: 140px;
  max-height: 140px;
}

.slide-cta {
  background: linear-gradient(135deg, #1a4a3e 0%, #2d6b5e 40%, #3ca399 100%);
  color: #fff;
  justify-content: center;
  text-align: center;
}

.slide-cta .cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.slide-cta .logo-cta {
  height: 48px;
  filter: brightness(10);
}

.slide-cta h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 700px;
}

.slide-cta .cta-desc {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.8;
  max-width: 560px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover { transform: translateY(-2px); }

.btn-cta-primary {
  background: #fff;
  color: var(--vc-green-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-cta-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.cta-contacts {
  display: flex;
  gap: 40px;
  margin-top: 16px;
  opacity: 0.7;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-contacts span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-cta .cta-line {
  width: 60px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
}

.highlight-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.highlight-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
}

.highlight-item .hi-number {
  font-size: 28px;
  font-weight: 800;
  display: block;
}

.highlight-item .hi-label {
  font-size: 12px;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}

.func-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.func-tag {
  background: var(--vc-green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.func-tag-outline {
  background: transparent;
  color: var(--vc-green);
  border: 1.5px solid var(--vc-green);
}

@media (max-width: 768px) {
  .deck-back-link { top: 10px; right: 12px; font-size: 11px; padding: 6px 10px; }
  .container-slide { padding: 0 20px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .slide-footer { padding: 0 20px; padding-bottom: env(safe-area-inset-bottom); }
  .slide { overflow-y: auto; min-height: 100vh; height: auto; align-items: flex-start; padding: 24px 0 80px; }
  .slide-capa h1 { font-size: 28px; }
  .slide-capa .tagline { font-size: 12px; letter-spacing: 2px; }
  .slide-capa .subtitulo { font-size: 15px; }
  .slide-capa .mockup-capa { max-height: 160px; }
  .slide-capa .logo-capa { height: 40px; }
  .slide-overview h2 { font-size: 24px; }
  .slide-overview .overview-sub { font-size: 14px; margin-bottom: 28px; }
  .modules-grid, .modules-grid-3, .modules-grid-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .module-card-mini { padding: 16px 14px; }
  .module-card-mini h4 { font-size: 13px; }
  .module-card-mini p { font-size: 12px; }
  .module-card-mini .mod-icon { width: 36px; height: 36px; font-size: 16px; }
  .slide-modulo .modulo-layout { grid-template-columns: 1fr; gap: 28px; }
  .slide-modulo .modulo-layout.reverse { direction: ltr; }
  .modulo-text h2 { font-size: 24px; }
  .modulo-text .mod-desc { font-size: 14px; margin-bottom: 20px; }
  .benefit-list li { font-size: 13px; }
  .modulo-image img { max-height: 220px; }
  .modulo-image .img-secondary { position: relative; bottom: auto; right: auto; left: auto; max-height: 140px; margin-top: 12px; }
  .modulo-image-triple { min-height: auto; flex-direction: column; }
  .modulo-image-triple .img-main { max-height: 280px; max-width: 100%; }
  .modulo-image-triple .img-float { position: relative; max-width: 60%; max-height: 140px; margin: 8px auto 0; }
  .modulo-image-triple .img-float-top { top: auto; right: auto; }
  .modulo-image-triple .img-float-bottom { bottom: auto; left: auto; }
  .img-icon-floating { position: relative; bottom: auto; right: auto; margin-top: 12px; }
  .img-icon-floating img { max-width: 80px; max-height: 80px; }
  .slide-cta h2 { font-size: 24px; }
  .slide-cta .cta-desc { font-size: 15px; }
  .cta-buttons { flex-direction: column; gap: 12px; }
  .btn-cta { padding: 14px 24px; font-size: 15px; justify-content: center; }
  .cta-contacts { flex-direction: column; gap: 8px; font-size: 13px; }
  .highlight-box { grid-template-columns: 1fr; gap: 12px; }
  .highlight-item .hi-number { font-size: 22px; }
  .func-tags { gap: 6px; }
  .func-tag { font-size: 10px; padding: 5px 10px; }
}

@media (max-width: 480px) {
  .modules-grid, .modules-grid-3, .modules-grid-2 { grid-template-columns: 1fr; }
}

@media print {
  .deck-back-link { display: none; }
  .slide { page-break-after: always; height: 100vh; }
}
