/* CodSign Brand System v1.0 — by Codweb · codsign.co */

:root {
  --color-primary:      #E8432D;
  --color-primary-dark: #C9341F;
  --color-ink:          #0C0C0C;
  --color-ink-soft:     #181818;
  --color-warm-white:   #E9E5DC;
  --color-paper:        #F0EDE8;
  --font-brand:         'Outfit', 'Arial Rounded MT Bold', sans-serif;

  --primary:    #0C0C0C;
  --secondary:  #E8432D;
  --accent:     #C9341F;
  --success:    #2f7a68;
  --bg:         #F0EDE8;
  --surface:    #ffffff;
  --text:       #1c1c1c;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --shadow-sm:  0 4px 16px rgba(12, 12, 12, 0.07);
  --shadow-md:  0 12px 36px rgba(12, 12, 12, 0.10);
  --shadow-lg:  0 24px 60px rgba(12, 12, 12, 0.13);
  --radius:     20px;
  --max:        1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-brand);
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; }

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232, 67, 45, 0.10);
  color: var(--secondary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.85); }
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover { color: var(--primary); }

.btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 13px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #E8432D 0%, #F05040 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(232, 67, 45, 0.30);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(232, 67, 45, 0.40);
}

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #cdd0d5;
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  min-height: 54px;
  padding: 0 30px;
  font-size: 15px;
  border-radius: 16px;
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 80px 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(232,67,45,.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 100% 80%,  rgba(232,67,45,.05) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  z-index: 0;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #E8432D, #F05040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
}

.hero-checks span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(47, 122, 104, .12);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: 0 0 20px;
}

/* ── HERO CARD ── */
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(232,67,45,.14), transparent 65%);
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--primary);
}

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 122, 104, .10);
  color: var(--success);
  letter-spacing: .04em;
}

.mini-window {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fafafa;
}

.mini-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f3f4f5;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red   { background: #ff5f57; }
.dot-amber { background: #ffbd2e; }
.dot-green { background: #28c940; }

.mini-window-body { padding: 16px; }

.flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
}

.flow-row:last-child { border-bottom: none; }

.flow-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.flow-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}

.flow-tag.done    { background: rgba(47,122,104,.10); color: var(--success); }
.flow-tag.pending { background: rgba(232,67,45,.10);  color: var(--secondary); }
.flow-tag.active  { background: rgba(79,84,91,.10);   color: #555; }

.hero-card-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg, #E8432D, #F05040); }
.av2 { background: linear-gradient(135deg, #2f7a68, #3ea38e); }
.av3 { background: linear-gradient(135deg, #6366f1, #818cf8); }

.avatar-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 10px;
  align-self: center;
}

.progress-bar-wrap {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
}

.progress-bar {
  height: 5px;
  background: #f0f0f0;
  border-radius: 999px;
  margin-top: 4px;
  overflow: hidden;
  width: 90px;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #E8432D, #F05040);
  width: 75%;
}

/* ── TRUST BAR ── */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  flex-wrap: wrap;
  text-align: center;
}

.trust-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

/* ── SECTIONS ── */
section { padding: 80px 0; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ── CARDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p, .card li { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 20px;
  background: rgba(232, 67, 45, 0.08);
}

.card.featured {
  background: linear-gradient(135deg, rgba(232,67,45,.05), #ffffff);
  border-color: rgba(232,67,45,.18);
}

/* ── STEPS ── */
.steps { display: grid; gap: 14px; }

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ── DARK BAND ── */
.band {
  background: var(--color-ink);
  border-radius: 32px;
  padding: 48px 52px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.band::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(232,67,45,.18), transparent 65%);
  pointer-events: none;
}

.band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.band h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 10px;
}

.band p {
  color: rgba(255,255,255,.70);
  margin: 0;
  max-width: 520px;
}

/* ── FAQ ── */
.faq { display: grid; gap: 10px; }

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.faq details[open] {
  border-color: rgba(232,67,45,.20);
  box-shadow: 0 4px 20px rgba(232,67,45,.06);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.97rem;
  list-style: none;
  color: var(--primary);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: 0 0 24px;
  transition: transform .2s ease, background .2s ease;
}

.faq details[open] .faq-icon {
  transform: rotate(45deg);
  background: rgba(232,67,45,.12);
  color: var(--secondary);
}

.faq-body { padding: 0 24px 20px; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* ── CTA ── */
.cta { padding: 80px 0 100px; }

.cta-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: start;
  background: linear-gradient(135deg, #fff5f6, #ffffff);
  border: 1px solid rgba(232,67,45,.14);
  border-radius: 32px;
  padding: 48px;
}

.cta-left h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--primary);
  line-height: 1.05;
  margin-bottom: 14px;
}

.cta-left p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cta-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.cta-card h4 {
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 6px;
}

.cta-card p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ── LEAD FORM ── */
.lead-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 13px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder,
.field textarea::placeholder { color: #b0b6be; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(232,67,45,.55);
  box-shadow: 0 0 0 4px rgba(232,67,45,.08);
}

.field textarea { min-height: 100px; resize: vertical; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.form-privacy {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 600;
}

.form-message.success {
  background: rgba(47,122,104,.08);
  border: 1px solid rgba(47,122,104,.20);
  color: var(--success);
}

.form-message.error {
  background: rgba(232,67,45,.07);
  border: 1px solid rgba(232,67,45,.18);
  color: var(--secondary);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: #fafbfc;
  padding: 48px 0 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 32px;
}

.footer-tagline {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 16px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-links a {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 500;
  transition: color .15s;
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
}

/* ── WHATSAPP ── */
.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 28px rgba(37,211,102,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(37,211,102,.45);
}

.whatsapp-btn svg { flex: 0 0 20px; }

/* ── SEO hidden copy ── */
.seo-copy { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .hero-grid,
  .band-inner,
  .cta-wrap,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-card { display: none; }
  .nav-links  { display: none; }
  .band { padding: 36px 30px; }
  .cta-wrap { padding: 32px 24px; }
}

@media (max-width: 700px) {
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .form-grid, .cta-cards { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
