/* Tindim — landing page institucional pública.
   Estática, sem build. Paleta: teal #0d9488, areia #f5f4ef, Inter. */

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-2: #f5f4ef;
  --border: #e7e5e0;
  --text: #18181b;
  --text-dim: #52525b;
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-300: #5eead4;
  --brand: #0d9488;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --radius: 16px;
  --max: 1140px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.16);
  --shadow-brand: 0 12px 28px -10px rgba(13, 148, 136, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.bg-glow {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(680px 460px at 82% -8%, rgba(13, 148, 136, 0.10), transparent 70%),
    radial-gradient(560px 460px at 0% 4%, rgba(94, 234, 212, 0.10), transparent 70%);
}

svg.ico-svg { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em;
  color: var(--text);
}
.logo svg { display: block; }
.logo .wordmark { display: inline-flex; align-items: baseline; }
.logo .wordmark .dot { color: var(--brand); font-size: 1.5rem; line-height: 1; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(250, 250, 249, 0.8);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 9px 18px; font-size: 0.9rem; }
.nav-cta .btn .ico-svg { width: 14px; height: 14px; }
@media (max-width: 600px) { .nav-cta .btn-ghost { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer; border: none;
}
.btn .ico-svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #ffffff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); background: var(--brand-700); }
.btn-ghost { color: var(--text); border: 1px solid var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-700); }

@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 80px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--brand-700); background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 28px;
}
.badge .ico-svg { width: 15px; height: 15px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.08; font-weight: 800; letter-spacing: -0.03em;
  max-width: 900px; margin: 0 auto 24px;
}
.hero h1 .grad { color: var(--brand); }
.hero p.sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-dim); max-width: 640px; margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trust { margin-top: 64px; display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; color: var(--text-dim); font-size: 0.95rem; }
.trust strong { color: var(--text); font-size: 1.6rem; font-weight: 800; display: block; }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 700; color: var(--brand-700);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px) scale(1.012); border-color: var(--brand); box-shadow: var(--shadow); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .ico { transform: scale(1.1) rotate(-3deg); }
.card .ico .ico-svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.step:hover { transform: translateY(-4px); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 28px;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand); color: #ffffff;
  font-weight: 800; display: grid; place-items: center;
  box-shadow: var(--shadow-brand);
}
.step h3 { font-size: 1.1rem; margin: 8px 0 8px; }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* Compliance */
.compliance {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 56px 48px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 48px; align-items: center; box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) { .compliance { grid-template-columns: 1fr; padding: 40px 28px; } }
.compliance h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.compliance p { color: var(--text-dim); margin-bottom: 16px; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.checklist li .ico-svg {
  color: var(--brand-700); background: var(--brand-50);
  width: 24px; height: 24px; padding: 4px; border-radius: 7px; flex-shrink: 0;
}

/* CTA band */
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-300) 100%);
  border-radius: 24px; padding: 64px 32px;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: #052e2a; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-band p { color: #0f3934; font-size: 1.1rem; margin-bottom: 30px; }
.cta-band .btn-primary { background: #052e2a; color: var(--brand-100); box-shadow: var(--shadow); }
.cta-band .btn-primary:hover { background: #18181b; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 56px 0 40px; margin-top: 40px; background: var(--surface); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.foot-brand { padding-right: 8px; }
.foot .desc { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; line-height: 1.5; }
.foot-links { display: contents; }
.foot-col h4 { font-size: 0.78rem; font-weight: 700; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.foot-col a { display: block; color: var(--text-dim); font-size: 0.92rem; margin-bottom: 10px; transition: color 0.18s; line-height: 1.4; }
.foot-col a:hover { color: var(--brand-700); }
@media (max-width: 900px) {
  .foot { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; gap: 28px; } }
.foot-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.86rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* Legal */
.legal { padding: 64px 0 40px; max-width: 800px; }
.legal h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 36px 0 12px; color: var(--text); }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal li strong { color: var(--text); }
.legal a { color: var(--brand-700); }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--text-dim); font-size: 0.92rem; margin-bottom: 32px; }
.back-link .ico-svg { width: 16px; height: 16px; }
.back-link:hover { color: var(--brand-700); }

/* Mobile */
@media (max-width: 760px) {
  .nav { height: 60px; }
  .nav .btn-primary { padding: 8px 14px; font-size: 0.82rem; gap: 4px; white-space: nowrap; }
  .nav .btn-primary .ico-svg { display: none; }
  .logo span { font-size: 1.1rem; }
  .logo svg { width: 28px; height: 28px; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { word-break: break-word; hyphens: auto; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .trust { margin-top: 40px; gap: 24px; font-size: 0.88rem; }
  .trust strong { font-size: 1.3rem; }
  .trust > div { flex-basis: 100%; text-align: center; }
  .block { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .cta-band { padding: 36px 24px; }
  .cta-band h2 { font-size: 1.45rem; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 0.85rem; }
}

/* Scroll-in animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }
