/* ==========================================================================
   DeVence TI — Vitrine / Store Design System v2
   ========================================================================== */

:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #192524;
  background: #f3f8f7;
  line-height: 1.5;
  --teal: #075b55;
  --teal-dark: #064943;
  --teal-light: #0d8378;
  --gray: #6b7c79;
  --text-body: #3f4f4c;
  --text-muted: #6b7c79;
  --line: #dbe7e4;
  --soft: #eef7f5;
  --soft-border: #86b8ae;
  --surface: #ffffff;
  --bg: #f3f8f7;
  --shadow: 0 4px 20px -2px rgba(7,91,85,.06), 0 2px 6px -1px rgba(0,0,0,.03);
  --shadow-hover: 0 12px 28px rgba(25,65,60,.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 88% -10%, rgba(12,123,113,.07), transparent 28rem), var(--bg);
  color: #192524;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Header / Topbar (sticky glassmorphism — idêntico aos apps)
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem max(1.25rem, calc((100% - 1120px) / 2));
  min-height: 56px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(7,91,85,.03);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.site-header a {
  color: var(--text-body);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  transition: color .15s ease;
}

.site-header a:hover { color: var(--teal); }

.site-header a.outline {
  border: 1.5px solid var(--teal);
  border-radius: 8px;
  padding: .48rem .85rem;
  color: var(--teal) !important;
  font-weight: 700;
  transition: all .18s ease;
}

.site-header a.outline:hover {
  background: var(--soft);
  border-color: var(--teal-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  max-width: 1120px;
  margin: auto;
  padding: 5.5rem 1.25rem 4.5rem;
}

.eyebrow {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .72rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  max-width: 760px;
  margin: .85rem 0;
  color: #192524;
}

.hero p:not(.eyebrow) {
  max-width: 600px;
  color: var(--text-body);
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 10px;
  padding: .78rem 1.15rem;
  text-decoration: none;
  font-weight: 750;
  font-size: .95rem;
  transition: all .18s ease;
}

.primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px rgba(7,91,85,.2);
}

.primary:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  box-shadow: 0 9px 20px rgba(7,91,85,.28);
  transform: translateY(-1px);
  color: #fff;
}

.secondary {
  background: var(--surface);
  border: 1px solid #b9ccc7;
  color: var(--teal);
}

.secondary:hover {
  background: var(--soft);
  border-color: var(--soft-border);
  transform: translateY(-1px);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  max-width: 1120px;
  margin: auto;
  padding: 3rem 1.25rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 850;
  letter-spacing: -.04em;
  color: #192524;
  margin: .5rem 0;
}

/* ==========================================================================
   Product Cards — SaaS Modern Style (sem topo escuro)
   ========================================================================== */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s cubic-bezier(.16,1,.3,1), border-color .2s ease;
  cursor: default;
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--soft-border);
}



.product-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product h3 {
  margin: 0 0 .35rem;
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.product p {
  color: var(--text-body);
  font-size: .9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.product .tag {
  display: inline-block;
  background: var(--soft);
  color: var(--teal-dark);
  padding: .2rem .55rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 750;
  border: 1px solid var(--soft-border);
}

.product-coming { min-height: 220px; display: flex; flex-direction: column; }
.coming-soon { margin-top: auto; padding-top: 1rem; color: var(--gray); font-weight: 700; }

/* ==========================================================================
   How It Works Steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
}

.steps article {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  box-shadow: 0 4px 10px rgba(7,91,85,.18);
}

.steps h3 { margin: .1rem 0 .5rem; color: #192524; font-size: .95rem; font-weight: 750; }
.steps p { margin: 0; color: var(--text-body); font-size: .86rem; }

/* ==========================================================================
   Privacy/Local Note Box
   ========================================================================== */
.local-note {
  max-width: 1120px;
  margin: 2rem auto 4rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #f0faf7 0%, #ffffff 100%);
  border: 1px solid #84ccba;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.local-note strong {
  color: var(--teal-dark);
  font-size: 1rem;
  display: block;
  margin-bottom: .3rem;
}

.local-note p { margin: 0; color: var(--text-body); font-size: .9rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: auto;
  padding: 1.5rem 1.25rem;
  color: var(--gray);
  font-size: .875rem;
  border-top: 1px solid var(--line);
}

footer a { color: var(--teal); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .site-header nav a:not(.outline) { display: none; }
}

@media (max-width: 650px) {
  .hero { padding-top: 3.5rem; }
  .hero-actions { flex-direction: column; }
  .brand img { height: 28px; }
  footer { flex-direction: column; gap: .5rem; text-align: center; }
}
:root{--contact-bg:#fff}.contact-hero{padding-bottom:2rem}.contact-layout{max-width:1120px;margin:auto;padding:0 1rem 4rem;display:grid;grid-template-columns:.8fr 1.2fr;gap:2rem;align-items:start}.contact-intro{padding:1rem 0}.contact-intro h2{font-size:2rem;color:#263033}.contact-intro p{color:#647174;font-size:1.05rem}.contact-topics{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}.contact-topics span{padding:.5rem .75rem;border-radius:99px;background:#e6eceb;color:var(--teal-dark);font-size:.85rem;font-weight:700}.contact-card{margin:0}.contact-card textarea{width:100%;resize:vertical;border:1px solid #c0ccca;border-radius:8px;padding:.7rem;font:inherit}.optional{font-weight:400;color:#647174;font-size:.85rem}.terms-check{display:flex;grid-template-columns:none;align-items:flex-start;gap:.5rem;font-weight:400}.terms-check input{width:auto;margin-top:.3rem}.terms-check a{color:var(--teal)}.honeypot{position:absolute;left:-10000px;width:1px!important;height:1px!important}.terms-card{max-width:760px;margin:0 auto 4rem}.terms-card h2{color:var(--teal);margin-top:1.75rem}.terms-card h2:first-child{margin-top:0}.terms-card a{color:var(--teal)}footer div{display:flex;gap:1rem}@media(max-width:800px){.contact-layout{grid-template-columns:1fr}.contact-hero{padding-bottom:2rem}}@media(max-width:650px){footer div{display:flex;flex-direction:column;gap:.3rem}}
:root{--contact-bg:#fff}.contact-hero{padding-bottom:2rem}.contact-layout{max-width:1120px;margin:auto;padding:0 1rem 4rem;display:grid;grid-template-columns:.8fr 1.2fr;gap:2rem;align-items:start}.contact-intro{padding:1rem 0}.contact-intro h2{font-size:2rem;color:#263033}.contact-intro p{color:#647174;font-size:1.05rem}.contact-topics{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}.contact-topics span{padding:.5rem .75rem;border-radius:99px;background:#e6eceb;color:var(--teal-dark);font-size:.85rem;font-weight:700}.contact-card{margin:0}.contact-card label{display:grid;gap:.35rem;margin:.8rem 0;font-weight:600}.contact-card textarea{width:100%;resize:vertical;border:1px solid #c0ccca;border-radius:8px;padding:.7rem;font:inherit}.optional{font-weight:400;color:#647174;font-size:.85rem}.terms-check{display:flex!important;align-items:flex-start;gap:.5rem;font-weight:400!important}.terms-check input{width:auto;margin-top:.3rem}.terms-check a{color:var(--teal)}.honeypot{position:absolute;left:-10000px;width:1px!important;height:1px!important}.terms-card{max-width:760px;margin:0 auto 4rem}.terms-card h2{color:var(--teal);margin-top:1.75rem}.terms-card h2:first-child{margin-top:0}.terms-card a{color:var(--teal)}footer div{display:flex;gap:1rem}@media(max-width:800px){.contact-layout{grid-template-columns:1fr}}@media(max-width:650px){footer div{display:flex;flex-direction:column;gap:.3rem}}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.5rem;box-shadow:0 6px 22px #2630330a}
.product .tag-available{background:#d7f0ea;color:#075b55;font-weight:750}
.product-features{list-style:none;padding:0;margin:1.2rem 0;display:grid;gap:.5rem}
.product-features li{font-size:.88rem;color:#435452;display:flex;align-items:center;gap:.5rem}
.product-actions{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin-top:1.5rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.product-actions .primary{padding:.65rem 1rem;font-size:.92rem}
.product-actions .secondary{padding:.65rem 1rem;font-size:.92rem}
.product-actions .text-link{font-size:.88rem;color:var(--teal);font-weight:700;text-decoration:none;margin-left:auto}
.product-actions .text-link:hover{text-decoration:underline}

/* Checkout Page Styles */
.checkout-page{padding:1rem 0 4rem}
.checkout-container{max-width:780px;margin:0 auto;padding:0 1rem}
.checkout-header{text-align:center;margin-bottom:2rem}
.checkout-subtitle{color:#566062;font-size:1.05rem;max-width:580px;margin:.5rem auto 1.5rem}
.checkout-steps-bar{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:1.5rem}
.step-tab{display:flex;align-items:center;gap:.4rem;padding:.5rem .9rem;border-radius:99px;background:#e6eceb;color:#647174;font-size:.85rem;font-weight:600}
.step-tab.active{background:var(--teal);color:#fff;font-weight:700}
.step-tab.completed{background:#d7f0ea;color:var(--teal-dark)}
.step-num{display:inline-grid;place-items:center;width:1.25rem;height:1.25rem;border-radius:50%;background:currentColor;color:inherit}
.step-tab.active .step-num{background:#fff;color:var(--teal);font-size:.75rem;font-weight:800}
.step-arrow{color:#9aa5a3;font-size:.9rem}

.checkout-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:2rem;box-shadow:0 6px 22px #2630330a;margin-bottom:2rem}
.product-summary-box{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;background:#f0fdfa;border:1px solid #99f6e4;border-radius:10px;padding:1.25rem;margin-bottom:1.75rem}
.product-summary-info h2{margin:.35rem 0;font-size:1.3rem;color:var(--teal-dark)}
.product-summary-info p{margin:0;font-size:.88rem;color:#4b5563}
.product-summary-price{text-align:right;white-space:nowrap}
.price-label{font-size:.72rem;text-transform:uppercase;color:#6b7280;font-weight:700;display:block}
.price-value{font-size:1.85rem;color:var(--teal-dark);display:block;line-height:1.1;font-weight:800}
.price-sub{font-size:.75rem;color:#059669;font-weight:600}

.checkout-form{display:grid;gap:1.1rem}
.checkout-form label{display:grid;gap:.35rem;font-weight:600;font-size:.9rem}
.checkout-form input{width:100%;border:1px solid #c0ccca;border-radius:8px;padding:.75rem;font:inherit;font-size:.95rem}
.checkout-form input:focus{border-color:var(--teal);outline:2px solid #075b5533}
.field-hint{font-weight:400;color:#647174;font-size:.8rem}
.error-box{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b;padding:.75rem 1rem;border-radius:8px;font-size:.9rem}
.btn-full{width:100%;text-align:center;box-sizing:border-box}
.button-large{padding:.95rem 1.4rem;font-size:1.05rem;cursor:pointer;border:none;border-radius:8px}
.trust-bar{display:flex;flex-wrap:wrap;justify-content:center;gap:1.2rem;margin-top:1rem;font-size:.82rem;color:#647174}

.pix-instructions h2{margin:0 0 .5rem;color:var(--teal-dark);font-size:1.4rem}
.pix-instructions p{margin:0 0 1.5rem;color:#4b5563;font-size:.95rem}
.pix-content-box{display:grid;grid-template-columns:240px 1fr;gap:2rem;align-items:start}
.pix-qr-wrapper{display:flex;flex-direction:column;align-items:center;gap:.75rem}
.qr-frame{background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:.75rem;box-shadow:0 4px 12px #0000000d}
.pix-qr-image{width:220px;height:220px;display:block;object-fit:contain;image-rendering:pixelated}
.pix-amount-pill{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;padding:.4rem .8rem;border-radius:99px;font-size:.9rem}
.pix-copia-wrapper{display:flex;flex-direction:column;gap:.75rem}
.copy-input-group{display:flex;gap:.5rem}
.copy-input-group input{flex:1;border:1px solid #c0ccca;border-radius:8px;padding:.7rem;font-family:monospace;font-size:.85rem;background:#f8fafc}
.copy-input-group button{white-space:nowrap;cursor:pointer;padding:.7rem 1.1rem;border-radius:8px}
.copy-feedback{background:#dcfce7;color:#15803d;padding:.5rem .8rem;border-radius:6px;font-size:.85rem;font-weight:600}
.status-polling-box{display:flex;align-items:center;gap:1rem;background:#f0fdfa;border:1px solid #99f6e4;padding:1rem;border-radius:10px;margin-top:.8rem}
.status-polling-box strong{color:var(--teal-dark);font-size:.95rem}
.status-polling-box p{margin:.2rem 0 0;font-size:.85rem;color:#4b5563}
.pulsing-dot{width:14px;height:14px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 0 #075b5566;animation:pulseDot 1.6s infinite;flex-shrink:0}
@keyframes pulseDot{0%{box-shadow:0 0 0 0 #075b5588}70%{box-shadow:0 0 0 10px #075b5500}100%{box-shadow:0 0 0 0 #075b5500}}

.mp-checkout-box{margin-top:1rem;padding-top:1rem}
.mp-box-divider{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:#94a3b8;font-size:.78rem;font-weight:800;letter-spacing:.08em}
.mp-box-divider::before,.mp-box-divider::after{content:'';flex:1;height:1px;background:#e2e8f0}
.btn-mp-checkout{display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:12px;background:#ffffff;border:1.5px solid #009ee3;color:#009ee3;text-decoration:none;transition:all .18s ease;box-shadow:0 4px 14px rgba(0,158,227,0.12)}
.btn-mp-checkout:hover{background:#009ee3;color:#ffffff;transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,158,227,0.25)}
.btn-mp-checkout:hover .mp-btn-content span{color:rgba(255,255,255,0.85)}
.mp-badge-icon{font-size:1.6rem}
.mp-btn-content{flex:1;display:flex;flex-direction:column;text-align:left}
.mp-btn-content strong{font-size:.95rem;font-weight:800;line-height:1.2}
.mp-btn-content span{font-size:.8rem;color:#64748b;font-weight:500;margin-top:3px}
.mp-btn-arrow{font-size:1.3rem;font-weight:800;transition:transform .18s ease}
.btn-mp-checkout:hover .mp-btn-arrow{transform:translateX(4px)}

.demo-box{background:#fef3c7;border:1px solid #fde68a;padding:.9rem;border-radius:8px;margin-top:1rem}
.demo-box p{margin:0 0 .5rem;font-size:.85rem;color:#92400e;font-weight:600}
.button-small{padding:.5rem .8rem;font-size:.85rem;cursor:pointer;border:none;border-radius:6px}

.success-header{text-align:center;margin-bottom:2rem}
.success-icon{width:56px;height:56px;border-radius:50%;background:#10b981;color:#fff;display:grid;place-items:center;font-size:2rem;font-weight:800;margin:0 auto 1rem}
.success-header h2{margin:0 0 .5rem;color:#065f46;font-size:1.7rem}
.success-header p{margin:0;color:#4b5563;font-size:1.05rem}

.license-box-wrapper{background:#f0fdfa;border:2px dashed var(--teal);border-radius:12px;padding:1.5rem;text-align:center;margin-bottom:2rem}
.license-box-title{font-size:.8rem;font-weight:800;letter-spacing:.08em;color:var(--teal);text-transform:uppercase;display:block;margin-bottom:.5rem}
.license-key-display{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:1.4rem;font-weight:800;color:var(--teal-dark);letter-spacing:.05em;padding:.85rem;background:#fff;border:1px solid #bbf7d0;border-radius:8px;margin-bottom:1rem;user-select:all;word-break:break-all}

.security-warning-card{background:#fffbeb;border:2px solid #f59e0b;border-radius:10px;padding:1.25rem;margin-bottom:2rem;color:#92400e}
.warning-title-bar{display:flex;align-items:center;gap:.5rem;font-size:1rem;margin-bottom:.5rem;color:#b45309}
.warning-icon{font-size:1.3rem}
.security-warning-card p{margin:.4rem 0;font-size:.9rem;line-height:1.45}

.activation-guide-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem}
.activation-guide-card h3{margin:0 0 1rem;color:#1e293b;font-size:1.15rem}
.activation-steps-list{list-style:none;padding:0;margin:0 0 1.5rem;display:grid;gap:.8rem}
.activation-steps-list li{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.9rem 1rem}
.activation-steps-list strong{color:var(--teal-dark);font-size:.95rem;display:block;margin-bottom:.2rem}
.activation-steps-list p{margin:0;color:#64748b;font-size:.88rem}
.activation-actions{display:grid;gap:.75rem}
.text-center{text-align:center}
.hidden{display:none!important}
.hero-user-badge{display:inline-flex;align-items:center;gap:.5rem;background:#dcfce7;border:1px solid #bbf7d0;color:#166534;font-size:.88rem;font-weight:700;padding:.4rem .9rem;border-radius:99px;margin-bottom:1rem}
.tag-active-license{background:#dcfce7!important;color:#166534!important;font-weight:750}
.product-head-tags{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.8rem;flex-wrap:wrap}
.product-price-pill{background:#ecfdf5;color:#047857;font-size:.82rem;font-weight:800;padding:.25rem .65rem;border-radius:999px;border:1px solid #a7f3d0}

@media(max-width:768px){
  .pix-content-box{grid-template-columns:1fr}
  .product-summary-box{flex-direction:column;align-items:flex-start}
  .product-summary-price{text-align:left}
  .checkout-steps-bar{flex-wrap:wrap;font-size:.8rem}
  .license-key-display{font-size:1.1rem}
}

/* Header button text contrast fix */
.site-header a.primary {
  color: #ffffff !important;
}
.site-header a.outline {
  border: 1.5px solid var(--teal);
  border-radius: 8px;
  padding: .55rem .9rem;
  color: var(--teal) !important;
  font-weight: 700;
  transition: all .18s ease;
}
.site-header a.outline:hover {
  background: rgba(7, 91, 85, 0.08);
  border-color: var(--teal-dark);
}

/* Redesigned "Abrir meu sistema" button - Modern, vibrant, elegant */
.btn-open-system,
.site-header a.btn-open-system,
.hero-actions a.btn-open-system,
.product-actions a.btn-open-system {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #059669 0%, #0d9488 50%, #047857 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer;
}
.site-header a.btn-open-system {
  padding: .55rem 1.05rem !important;
  font-size: .92rem !important;
}
.hero-actions a.btn-open-system {
  padding: .85rem 1.45rem !important;
  font-size: 1.08rem !important;
}
.product-actions a.btn-open-system {
  padding: .7rem 1.2rem !important;
  font-size: .95rem !important;
}
.btn-open-system:hover,
.site-header a.btn-open-system:hover,
.hero-actions a.btn-open-system:hover,
.product-actions a.btn-open-system:hover {
  background: linear-gradient(135deg, #10b981 0%, #0d9488 50%, #059669 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}
.btn-open-system:active,
.site-header a.btn-open-system:active,
.hero-actions a.btn-open-system:active,
.product-actions a.btn-open-system:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.35) !important;
}



/* ==========================================================================
   Mercado Livre Style Product Cards & Details Modal
   ========================================================================== */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.product-card-ml {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s cubic-bezier(0.16, 1, 0.3, 1), border-color .2s ease;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.product-card-ml:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}

.product-card-ml:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.card-ml-top {
  background: linear-gradient(135deg, #093734 0%, #075b55 70%, #0d736c 100%);
  color: #ffffff;
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.card-ml-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-ml-tag-pill {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-ml-tag-pill.tag-new {
  background: #fef08a;
  color: #854d0e;
  border-color: #fef08a;
}

.card-ml-active-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

.card-ml-visual {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-ml-visual-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.card-ml-visual-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.card-ml-visual-mode {
  font-size: 0.72rem;
  color: #a7f3d0;
  font-weight: 600;
  margin-top: 2px;
}

.card-ml-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-ml-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.card-ml-rating .stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.card-ml-rating .rating-val {
  font-weight: 800;
  font-size: 0.85rem;
  color: #1e293b;
}

.card-ml-rating .rating-count {
  color: #64748b;
  font-size: 0.8rem;
}

.card-ml-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.card-ml-teaser {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  flex: 1;
}

.card-ml-pricing {
  margin-bottom: 1rem;
}

.card-ml-orig-price {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}

.card-ml-current-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.card-ml-current-price .price-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #075b55;
  letter-spacing: -0.02em;
  line-height: 1;
}

.card-ml-current-price .price-type {
  background: #ecfdf5;
  color: #047857;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
  text-transform: uppercase;
}

.card-ml-installments {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 500;
  display: block;
  margin-bottom: 0.45rem;
}

.card-ml-shipping {
  margin-top: 0.35rem;
}

.shipping-highlight {
  color: #00a650;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
}

.card-ml-action-bar {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.card-ml-btn-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #075b55;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.product-card-ml:hover .card-ml-btn-link {
  transform: translateX(4px);
  color: #064943;
}

/* Modal Dialog Styles */
dialog.product-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 620px;
  width: 92%;
  border-radius: 16px;
  margin: auto;
  overflow: visible;
}

dialog.product-modal::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.product-modal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.product-modal-head {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 1.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.product-modal-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.modal-cat-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-hl-tag {
  background: #e6eceb;
  color: #075b55;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

#modal-title {
  margin: 0;
  font-size: 1.4rem;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.25;
}

.close-modal-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.close-modal-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.product-modal-body {
  padding: 1.5rem 1.75rem 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-headline {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.modal-pricing-box {
  background: #f0fdfa;
  border: 1.5px solid #99f6e4;
  border-radius: 12px;
  padding: 1.1rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.modal-price-left {
  display: flex;
  flex-direction: column;
}

.modal-price-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f766e;
  margin-bottom: 2px;
}

.modal-price-val {
  font-size: 2rem;
  font-weight: 800;
  color: #042f2e;
  line-height: 1.1;
}

.modal-installments {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}

.modal-price-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  border: 1px solid #bbf7d0;
}

.green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

.modal-features-section h3 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.modal-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.45;
}

.feat-bullet {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.modal-guarantee-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.85rem;
  color: #475569;
}

.modal-guarantee-box strong {
  display: block;
  color: #075b55;
  margin-bottom: 3px;
  font-weight: 700;
}

.modal-guarantee-box p {
  margin: 0;
  line-height: 1.4;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.5rem;
}

.btn-buy-cta {
  background: #00a650;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 166, 80, 0.3);
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-buy-cta:hover {
  background: #008f45;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 166, 80, 0.4);
}

.modal-activate-link {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: none;
  padding: 0.35rem;
  font-weight: 600;
}

.modal-activate-link:hover {
  color: #075b55;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .modal-pricing-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   DeVence TI — Design System Standardization (Tema Claro Moderno)
   ========================================================================== */

/* Glassmorphism Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e1e9e7;
  box-shadow: 0 1px 3px rgba(7, 91, 85, 0.03);
  padding: 0.55rem 1.25rem !important;
  min-height: 52px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  height: 32px !important;
  max-height: 34px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
}

@media(max-width: 650px) {
  .site-header {
    align-items: center !important;
    padding: 0.5rem 1rem !important;
  }
  .brand img {
    height: 28px !important;
    max-width: 120px !important;
  }
}

.site-header a.outline {
  border: 1px solid #c9d6d3;
  border-radius: 10px;
  color: var(--teal) !important;
  background: #ffffff;
  transition: all 0.15s ease;
}

.site-header a.outline:hover {
  background: #eef7f5;
  border-color: #0d8378;
}

/* Primary Button Standardization */
.primary,
.btn-buy-cta {
  background: linear-gradient(135deg, var(--teal), #0d8378) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(7, 91, 85, 0.22) !important;
  transition: all 0.15s ease !important;
}

.primary:hover,
.btn-buy-cta:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal)) !important;
  box-shadow: 0 6px 18px rgba(7, 91, 85, 0.32) !important;
  transform: translateY(-1px) !important;
}

/* Secondary Button Standardization */
.secondary {
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid #c9d6d3 !important;
  color: var(--teal) !important;
  transition: all 0.15s ease !important;
}

.secondary:hover {
  background: #eef7f5 !important;
  border-color: #0d8378 !important;
}

/* Product Card ML Harmonization */
.product-card-ml {
  border-radius: 18px !important;
  border: 1px solid #e1e9e7 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px -2px rgba(7, 91, 85, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
}

.product-card-ml:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px -4px rgba(7, 91, 85, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04) !important;
  border-color: #84ccba !important;
}

/* Modal Dialog */
dialog#product-detail-modal {
  border-radius: 24px !important;
  border: 1px solid #e1e9e7 !important;
  box-shadow: 0 25px 60px -12px rgba(7, 91, 85, 0.25) !important;
}

dialog#product-detail-modal::backdrop {
  background: rgba(25, 37, 36, 0.45) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

/* ==========================================================================
   Design System Overrides v2 (supplement minified base styles)
   ========================================================================== */

/* Override old site-header with sticky glassmorphism */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 1px 3px rgba(7,91,85,.03) !important;
  min-height: 56px !important;
  padding: .55rem max(1.25rem, calc((100% - 1120px) / 2)) !important;
}

.brand img {
  height: 32px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  background-color: #f3f8f7 !important;
  background-image: radial-gradient(circle at 88% -10%, rgba(12,123,113,.07), transparent 28rem) !important;
  color: #192524 !important;
}

/* Override primary/secondary buttons */
.primary {
  background: linear-gradient(135deg, var(--teal), #0d8378) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 16px rgba(7,91,85,.2) !important;
  font-weight: 750 !important;
}

.primary:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal)) !important;
  box-shadow: 0 9px 20px rgba(7,91,85,.28) !important;
  transform: translateY(-1px);
  color: #fff !important;
}

.secondary {
  background: #fff !important;
  border: 1px solid #b9ccc7 !important;
  color: var(--teal) !important;
  border-radius: 10px !important;
}

.secondary:hover {
  background: var(--soft) !important;
  border-color: #86b8ae !important;
  transform: translateY(-1px);
}

/* SaaS-style product cards (override old .product) */
.product {
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s cubic-bezier(.16,1,.3,1), border-color .2s ease !important;
  cursor: default !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
  position: relative;
}

.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px -8px rgba(15,23,42,.10), 0 4px 12px -2px rgba(15,23,42,.05) !important;
  border-color: #86b8ae !important;
}



.product h3 {
  color: var(--teal-dark) !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
  margin-top: 1.25rem !important;
}

.product p { color: var(--text-body) !important; }

/* Hero typography */
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem) !important;
  letter-spacing: -.04em !important;
  color: #192524 !important;
}

/* Steps */
.step-number {
  background: linear-gradient(135deg, var(--teal), #0d8378) !important;
  box-shadow: 0 4px 10px rgba(7,91,85,.18) !important;
}

/* Privacy note */
.local-note {
  background: linear-gradient(135deg, #f0faf7 0%, #ffffff 100%) !important;
  border-color: #84ccba !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow) !important;
}
