/*
Theme Name: OitoCred
Theme URI: https://oitocred.com.br
Author: ChatGPT (p/ Eduardo)
Author URI: https://oitocred.com.br
Description: Tema enxuto e institucional para financeira (sem Elementor), com home pronta e botão de WhatsApp.
Version: 1.2
Text Domain: oitocred
*/

:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f97316;
  --text: #0f172a;
  --muted: #6b7280;
  --radius-lg: 1.25rem;
  --container: 1180px;
  --surface: #ffffff;
  --border: rgba(15,23,42,.06);
  --whats: #22c55e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: #f1f5f9;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  background: #ffffffdd;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bg);
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-weight: 500;
  color: #0f172a;
}

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

.header-btn {
  background: var(--accent);
  color: #fff;
  padding: .6rem 1.05rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: .9rem;
  transition: .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.header-btn:hover {
  background: #ea580c;
}

.hero {
  background: radial-gradient(circle at top, #2563eb 0%, #0f172a 38%, #020617 90%);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.35rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 560px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #fff;
  color: #0f172a;
  padding: .85rem 1.2rem;
  border-radius: .85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, .85);
}

.btn-ghost {
  background: rgba(15, 23, 42, .15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  padding: .75rem 1.1rem;
  border-radius: .75rem;
  font-weight: 500;
}

.hero-card {
  background: rgba(15, 23, 42, .35);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1.25rem;
  padding: 1.25rem 1.25rem 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 35px rgba(0,0,0,.12);
}

.hero-card input {
  outline: none;
}

.stats {
  display: flex;
  gap: 1.75rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.stat {
  background: rgba(2, 6, 23, .12);
  border: 1px solid rgba(255,255,255,.08);
  padding: .85rem 1rem;
  border-radius: .85rem;
  min-width: 130px;
}

.stat strong {
  display: block;
  font-size: 1.2rem;
}

.section {
  padding: 4.2rem 0 3.8rem;
}

.section-title {
  font-size: 2.05rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2.4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.35rem;
}

.card {
  border: 1px solid rgba(15, 23, 42, .05);
  border-radius: 1.25rem;
  background: #fff;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.02);
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.badge {
  display: inline-flex;
  background: rgba(37, 99, 235, .1);
  color: #1d4ed8;
  padding: .3rem .6rem;
  border-radius: 9999px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: .6rem;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.15rem;
}

.step {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(15,23,42,0.03);
}

.step-num {
  width: 34px;
  height: 34px;
  background: rgba(37, 99, 235, .1);
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: .8rem;
}

.faq {
  background: #0f172a;
  color: #fff;
  padding: 3.8rem 0 3.6rem;
}

.faq-item {
  background: rgba(15, 23, 42, .35);
  border: 1px solid rgba(255,255,255, .04);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.site-footer {
  background: #020617;
  color: rgba(255,255,255,.7);
  padding: 2.6rem 0 2.4rem;
  font-size: .85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

#whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #22c55e;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 15px 30px rgba(0,0,0,.2);
  z-index: 99;
}

#whatsapp-float span {
  display: none;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .hero {
    padding-top: 4.7rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-inner {
    height: 3.8rem;
  }
  #whatsapp-float {
    width: 46px;
    height: 46px;
  }
}
