/* ============================================================
   ComproCell — Design System (cc-*)
   Compartilhado por todas as páginas migradas para o novo layout.
   Tokens em :root, componentes prefixados .cc-*.
   ============================================================ */

:root {
  --cc-primary:        #1b69e4;
  --cc-primary-hover:  #1557bf;
  --cc-primary-soft:   #e5efff;
  --cc-text:           #1f2433;
  --cc-text-muted:     #707070;
  --cc-surface:        #ffffff;
  --cc-surface-alt:    #f6f7fb;
  --cc-card:           #efe2e6;
  --cc-card-alt:       #f0f1f7;
  --cc-border:         #ece2e9;
  --cc-border-strong:  #d9d2dc;
  --cc-success:        #16a34a;
  --cc-success-soft:   #dcfce7;
  --cc-danger:         #dc2626;
  --cc-whatsapp:       #25d366;
  --cc-radius:         12px;
  --cc-radius-lg:      16px;
  --cc-shadow:         0 4px 24px rgba(20, 24, 48, 0.06);
  --cc-shadow-lg:      0 14px 40px rgba(20, 24, 48, 0.10);
}

html, body { background: var(--cc-surface); color: var(--cc-text); }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 400; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display-heading {
  font-family: 'Inter', 'Poppins', sans-serif; font-weight: 700;
  letter-spacing: -0.02em; color: var(--cc-text); text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.75rem); line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.15; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
p { color: var(--cc-text); text-wrap: pretty; }
.text-muted-cc { color: var(--cc-text-muted) !important; }
a { color: var(--cc-primary); text-decoration: none; }
a:hover { color: var(--cc-primary-hover); }

.btn { font-weight: 600; border-radius: var(--cc-radius); padding: 0.7rem 1.25rem; }
.btn-primary-cc {
  background: var(--cc-primary); color: #fff;
  border: 1px solid var(--cc-primary);
  box-shadow: 0 6px 18px rgba(27, 105, 228, 0.25);
}
.btn-primary-cc:hover { background: var(--cc-primary-hover); color: #fff; }
.btn-primary-cc:disabled { opacity: 0.45; box-shadow: none; }
.btn-whatsapp { background: var(--cc-whatsapp); color: #fff; border: 1px solid var(--cc-whatsapp); }
.btn-whatsapp:hover { background: #1eb858; color: #fff; }
.btn-outline-cc { background: #fff; color: var(--cc-text); border: 1px solid var(--cc-border-strong); }
.btn-outline-cc:hover { border-color: var(--cc-primary); color: var(--cc-primary); }
.btn-lg-cc { padding: 1rem 1.6rem; font-size: 1.05rem; }

.cc-header {
  position: sticky; top: 0; z-index: 1020;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--cc-border);
}
.cc-logo { display: inline-flex; align-items: center; line-height: 1; text-decoration: none; }
.cc-logo img { height: 56px; width: auto; display: block; filter: brightness(0); }
.cc-logo--footer img { height: 64px; }
@media (max-width: 575.98px) {
  .cc-logo img { height: 44px; }
}
.cc-nav a { color: var(--cc-text); font-weight: 500; padding: 0.5rem 0.85rem; border-radius: 8px; font-size: 0.95rem; }
.cc-nav a:hover { background: var(--cc-surface-alt); color: var(--cc-text); }

.cc-hero {
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 4rem);
  background: radial-gradient(1200px 500px at 90% -10%, var(--cc-primary-soft) 0%, transparent 60%), var(--cc-surface);
}
.cc-google-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--cc-border-strong);
  border-radius: 999px; padding: 0.4rem 0.85rem 0.4rem 0.5rem;
  font-size: 0.875rem; font-weight: 500; box-shadow: var(--cc-shadow);
}
.cc-google-chip .stars { color: #f9ab00; font-size: 0.85rem; letter-spacing: 1px; }
.cc-google-g {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter'; font-weight: 700; font-size: 12px;
  background: conic-gradient(from -45deg, #ea4335 0 25%, #fbbc04 25% 50%, #34a853 50% 75%, #4285f4 75% 100%);
  color: #fff; position: relative;
}
.cc-google-g::after {
  content: 'G'; position: absolute; inset: 3px;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #4285f4; font-size: 11px; font-weight: 800;
}
.cc-hero h1 .accent { color: var(--cc-primary); }
.cc-hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--cc-text-muted); max-width: 560px; }
.cc-hero-photo-wrap {
  position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--cc-card) 0%, #f7eaee 50%, var(--cc-card-alt) 100%);
  box-shadow: var(--cc-shadow-lg);
}
.cc-hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-hero-tag {
  position: absolute; background: #fff; border-radius: 999px;
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  font-weight: 600; font-size: 0.875rem; box-shadow: var(--cc-shadow-lg);
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
}
.cc-hero-tag .ico { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.cc-hero-tag-1 { top: 10%; left: -10px; } .cc-hero-tag-1 .ico { background: var(--cc-success); }
.cc-hero-tag-2 { top: 45%; right: -10px; } .cc-hero-tag-2 .ico { background: var(--cc-primary); }
.cc-hero-tag-3 { bottom: 8%; left: 8%; } .cc-hero-tag-3 .ico { background: #f59e0b; }

@media (max-width: 768px) {
  .cc-hero-photo-wrap { aspect-ratio: 4/4.3; }
  .cc-hero-tag { font-size: 0.78rem; padding: 0.4rem 0.75rem 0.4rem 0.5rem; }
  .cc-hero-tag .ico { width: 22px; height: 22px; font-size: 0.7rem; }
}

.cc-step-card {
  background: var(--cc-surface); border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg); padding: 2rem 1.5rem; height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cc-step-card:hover { transform: translateY(-2px); box-shadow: var(--cc-shadow); }
.cc-step-illust {
  width: 96px; height: 96px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; border-radius: 24px;
  background: var(--cc-primary-soft); color: var(--cc-primary); font-size: 2.25rem;
}
.cc-step-num { font-family: 'Inter'; font-weight: 800; color: var(--cc-primary); font-size: 0.875rem; letter-spacing: 0.08em; }

.cc-funnel-wrap { background: var(--cc-surface-alt); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.cc-funnel {
  background: #fff; border-radius: 20px; box-shadow: var(--cc-shadow-lg);
  padding: clamp(1.25rem, 3vw, 2.5rem); max-width: 720px; margin: 0 auto;
  border: 1px solid var(--cc-border);
}
.cc-funnel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.cc-back-link { color: var(--cc-text-muted); font-weight: 500; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.cc-back-link:hover { color: var(--cc-primary); }
.cc-back-link.invisible-keep { visibility: hidden; }
.cc-step-counter { font-size: 0.85rem; color: var(--cc-text-muted); font-weight: 500; }
.cc-progress { height: 6px; background: var(--cc-surface-alt); border-radius: 999px; overflow: hidden; margin-bottom: 1rem; }
.cc-progress-bar { height: 100%; background: var(--cc-primary); border-radius: 999px; transition: width 0.35s ease; }
.cc-breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; min-height: 1.5rem; }
.cc-breadcrumb-chip { background: var(--cc-primary-soft); color: var(--cc-primary); font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 999px; }
.cc-step-title { font-family: 'Inter'; font-weight: 700; font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.cc-step-sub { color: var(--cc-text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.cc-step { display: none; }
.cc-step.is-active { display: block; animation: ccfade 0.25s ease; }
@keyframes ccfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.cc-opt {
  display: flex; align-items: center; gap: 0.85rem; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--cc-border); border-radius: var(--cc-radius);
  padding: 0.95rem 1.1rem; font-weight: 500; color: var(--cc-text);
  transition: all 0.15s ease; cursor: pointer;
}
.cc-opt:hover { border-color: var(--cc-primary); background: var(--cc-primary-soft); }
.cc-opt.is-selected { border-color: var(--cc-primary); background: var(--cc-primary-soft); color: var(--cc-primary); }
.cc-opt .ico-l { width: 32px; height: 32px; flex: 0 0 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--cc-primary); font-size: 1.15rem; }
.cc-opt .ico-r { margin-left: auto; color: var(--cc-text-muted); }
.cc-opt.is-selected .ico-r { color: var(--cc-primary); }
.cc-opt-stack { display: flex; flex-direction: column; gap: 0.6rem; }

.cc-mem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.6rem; }
.cc-mem { text-align: center; padding: 1rem 0.5rem; background: #fff; border: 1px solid var(--cc-border); border-radius: var(--cc-radius); cursor: pointer; font-weight: 600; }
.cc-mem:hover, .cc-mem.is-selected { border-color: var(--cc-primary); background: var(--cc-primary-soft); color: var(--cc-primary); }
.cc-mem-empty { grid-column: 1 / -1; padding: 1rem; color: var(--cc-text-muted); text-align: center; font-size: 0.9rem; }

.cc-colors { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cc-color { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; cursor: pointer; padding: 0.4rem; border-radius: 12px; border: 1px solid transparent; }
.cc-color.is-selected { border-color: var(--cc-primary); background: var(--cc-primary-soft); }
.cc-color .dot { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--cc-border-strong); box-shadow: inset 0 0 8px rgba(0,0,0,0.08); }
.cc-color .lab { font-size: 0.75rem; color: var(--cc-text-muted); font-weight: 500; }

.cc-select {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--cc-border-strong);
  border-radius: var(--cc-radius); font-size: 1rem; font-family: inherit; color: var(--cc-text); background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23707070'><path d='M8 10.5 3.5 6h9z'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.cc-select:focus, .cc-select:disabled { outline: none; border-color: var(--cc-primary); box-shadow: 0 0 0 3px rgba(27,105,228,0.12); }
.cc-select:disabled { background-color: var(--cc-surface-alt); cursor: not-allowed; }

.cc-hint { background: #fff8e1; border: 1px solid #ffe9a8; border-radius: var(--cc-radius); padding: 0.85rem 1rem; font-size: 0.875rem; color: #6b5300; margin-bottom: 1rem; }
.cc-hint .bi { color: #b48a00; }

.cc-field { margin-bottom: 1rem; }
.cc-field label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; display: block; }
.cc-field label .req { color: var(--cc-danger); margin-left: 2px; }
.cc-input, .cc-input-group .form-control {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--cc-border-strong);
  border-radius: var(--cc-radius); font-size: 1rem; font-family: inherit; color: var(--cc-text);
}
.cc-input:focus, .cc-input-group .form-control:focus { outline: none; border-color: var(--cc-primary); box-shadow: 0 0 0 3px rgba(27,105,228,0.12); }
.cc-input-group { display: flex; }
.cc-input-group .prefix {
  flex: 0 0 auto; padding: 0.85rem 0.9rem;
  background: var(--cc-surface-alt); border: 1px solid var(--cc-border-strong);
  border-right: 0; border-radius: var(--cc-radius) 0 0 var(--cc-radius);
  font-weight: 600; color: var(--cc-text-muted);
}
.cc-input-group .form-control { border-radius: 0 var(--cc-radius) var(--cc-radius) 0; }

.cc-result { text-align: center; padding: 1rem 0; }
.cc-result .label { color: var(--cc-text-muted); font-weight: 500; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.1em; }
.cc-result .range { font-family: 'Inter'; font-weight: 800; font-size: clamp(2rem, 6vw, 3.25rem); color: var(--cc-text); letter-spacing: -0.025em; line-height: 1; margin: 0.6rem 0 1.2rem; }
.cc-result .range .currency { color: var(--cc-primary); }
.cc-result .summary { background: var(--cc-surface-alt); border-radius: var(--cc-radius); padding: 1rem; font-size: 0.9rem; color: var(--cc-text-muted); margin-bottom: 1.5rem; text-align: left; }
.cc-result .summary strong { color: var(--cc-text); font-weight: 600; }
.cc-bonus-cta {
  background: var(--cc-success-soft); color: var(--cc-success);
  border: 1px dashed var(--cc-success); padding: 0.85rem; border-radius: var(--cc-radius);
  font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background 0.15s ease;
}
.cc-bonus-cta:hover { background: #c6f0d2; }

.cc-testimonial { background: #fff; border: 1px solid var(--cc-border); border-radius: var(--cc-radius-lg); padding: 1.5rem; height: 100%; }
.cc-testimonial .stars { color: var(--cc-primary); letter-spacing: 1px; font-size: 1rem; }
.cc-testimonial .quote { font-size: 0.95rem; margin: 0.75rem 0 1.25rem; }
.cc-testimonial .person { display: flex; align-items: center; gap: 0.75rem; }
.cc-testimonial .person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.cc-testimonial .person .avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 0.95rem; flex-shrink: 0; }
.cc-testimonial .person .name { font-weight: 600; font-size: 0.9rem; line-height: 1.2; }
.cc-testimonial .person .src { font-size: 0.78rem; color: var(--cc-text-muted); }

.accordion-button { font-weight: 600; padding: 1.1rem 1.25rem; }
.accordion-button:not(.collapsed) { background: var(--cc-primary-soft); color: var(--cc-primary); }
.accordion-button:focus { box-shadow: none; border-color: var(--cc-border); }
.accordion-item { border-color: var(--cc-border); border-radius: var(--cc-radius) !important; margin-bottom: 0.6rem; overflow: hidden; }

.cc-map-card { background: #fff; border: 1px solid var(--cc-border); border-radius: var(--cc-radius-lg); overflow: hidden; box-shadow: var(--cc-shadow); }
.cc-map-card iframe { border: 0; display: block; width: 100%; height: 320px; }

.cc-loja-card {
  background: #fff; border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg); padding: 1.5rem;
  height: 100%; box-shadow: var(--cc-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cc-loja-card:hover { transform: translateY(-2px); box-shadow: var(--cc-shadow-lg); }
.cc-loja-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--cc-primary-soft); color: var(--cc-primary);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.cc-loja-badge--alt { background: #f3e8ff; color: #6b21a8; }
.cc-loja-logo {
  width: 64px; height: 64px; object-fit: contain;
  background: #fff; border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius); padding: 4px; flex: 0 0 64px;
}

.cc-footer { background: var(--cc-surface-alt); padding: 3rem 0 1.5rem; border-top: 1px solid var(--cc-border); margin-top: 4rem; }
.cc-footer h6 { font-family: 'Inter'; font-weight: 700; font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: -0.01em; }
.cc-footer a { color: var(--cc-text); font-size: 0.9rem; }
.cc-footer a:hover { color: var(--cc-primary); }
.cc-footer ul { list-style: none; padding: 0; }
.cc-footer ul li { margin-bottom: 0.5rem; }
.cc-seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.4rem 1rem; font-size: 0.82rem; }
.cc-seo-grid a { color: var(--cc-text-muted); }
.cc-seo-grid a:hover { color: var(--cc-primary); }

.modal-content { border-radius: 20px; border: 0; }
.modal-header { border-bottom: 0; padding: 1.5rem 1.5rem 0; }
.modal-body { padding: 0.75rem 1.5rem 1.5rem; }

.cc-sticky-cta { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 1030; box-shadow: 0 8px 24px rgba(27,105,228,0.4); }
@media (min-width: 768px) { .cc-sticky-cta { display: none; } }

.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section-eyebrow { color: var(--cc-primary); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; display: inline-block; }

/* ----------- Componentes auxiliares (para páginas migradas) ----------- */

/* Página simples (sobre, contato, privacidade, termos) com cabeçalho leve */
.cc-page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 2.5rem); background: var(--cc-surface-alt); border-bottom: 1px solid var(--cc-border); }
.cc-page-hero h1 { margin-bottom: 0.5rem; }
.cc-page-hero p { color: var(--cc-text-muted); max-width: 640px; margin: 0; }

.cc-doc { max-width: 760px; margin: 0 auto; }
.cc-doc h2 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.cc-doc h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.cc-doc p, .cc-doc li { color: var(--cc-text); }
.cc-doc ul { padding-left: 1.25rem; }
.cc-doc ul li { margin-bottom: 0.5rem; }
.cc-doc .updated { color: var(--cc-text-muted); font-size: 0.85rem; }

/* Card de contato e informações */
.cc-info-card {
  background: #fff; border: 1px solid var(--cc-border); border-radius: var(--cc-radius-lg);
  padding: 1.5rem; box-shadow: var(--cc-shadow);
}
.cc-info-card h3 { margin-bottom: 0.75rem; font-family: 'Inter'; font-weight: 700; }
.cc-info-card ul { list-style: none; padding: 0; margin: 0; }
.cc-info-card ul li { padding: 0.5rem 0; display: flex; align-items: flex-start; gap: 0.6rem; }
.cc-info-card ul li i { color: var(--cc-primary); margin-top: 0.15rem; }

/* Brand badges (notebook) */
.cc-brand-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.cc-brand-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid var(--cc-border);
  border-radius: 999px; padding: 0.55rem 1.1rem;
  font-weight: 600; font-size: 0.95rem; color: var(--cc-text);
}
.cc-brand-badge i { color: var(--cc-primary); }
