/* ==========================================================================
   Agência Cifra — LP Captação de Serviço
   Design system: vendas/cifra/brand-spec.md
   ========================================================================== */

:root {
  --dark: #050D1F;
  --dark-bg: #02060F;
  --neon: #F5FF00;
  --blue-soft: #C8D8F0;
  --bg-light: #F5F7FA;
  --white: #FFFFFF;

  --font: 'Raleway', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-weight: 600; font-size: 1.15rem; }

.sub-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

/* Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn-neon {
  background: var(--neon);
  color: var(--dark);
  box-shadow: 0 6px 24px rgba(245, 255, 0, 0.35);
}

.btn-neon:hover {
  transform: translateY(-2px);
  filter: brightness(0.97);
  box-shadow: 0 10px 28px rgba(245, 255, 0, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid rgba(5, 13, 31, 0.2);
}

.btn-outline:hover {
  border-color: var(--dark);
  background: rgba(5, 13, 31, 0.04);
}

.btn-block { width: 100%; }

/* Logo
   ========================================================================== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--dark);
}

.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-icon rect.bar { fill: currentColor; }
.logo-icon rect.base { fill: currentColor; opacity: 0.1; }
.logo-icon rect.accent { fill: var(--neon); }

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-word .name {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.logo-word .tag {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.6;
}

.logo--dark { color: var(--white); }

/* Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 250, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(5, 13, 31, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Hero
   ========================================================================== */
.hero {
  padding: 72px 0 88px;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-badges, .hero-cta { justify-content: center; }
}

.kicker {
  display: inline-block;
  color: var(--dark);
  background: var(--blue-soft);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 { margin-bottom: 20px; }

.hero .lead {
  color: rgba(5, 13, 31, 0.72);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.82rem;
  color: rgba(5, 13, 31, 0.6);
}

.hero-badges span { display: flex; align-items: center; gap: 8px; }
.hero-badges .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon); border: 1px solid rgba(5,13,31,0.15); }

/* Score card mock (hero visual)
   ========================================================================== */
.score-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 60px -20px rgba(5, 13, 31, 0.25);
  border: 1px solid rgba(5, 13, 31, 0.06);
}

.score-card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.score-card .top .badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(5, 13, 31, 0.06);
  padding: 5px 10px;
  border-radius: 100px;
}

.score-ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-ring svg { transform: rotate(-90deg); }

.score-ring .value {
  position: absolute;
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--dark);
}

.score-rows { display: flex; flex-direction: column; gap: 14px; }

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
}

.score-row .bar-bg {
  flex: 1;
  height: 6px;
  background: rgba(5, 13, 31, 0.08);
  border-radius: 100px;
  margin: 0 12px;
  overflow: hidden;
}

.score-row .bar-fill { height: 100%; border-radius: 100px; background: var(--dark); }
.score-row.warn .bar-fill { background: var(--neon); }

/* Seções gerais
   ========================================================================== */
section { padding: 88px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header .kicker { margin-bottom: 16px; }
.section-header p { color: rgba(5, 13, 31, 0.65); margin-top: 14px; }

.dark-section {
  background: var(--dark-bg);
  color: var(--white);
}

.dark-section .section-header p { color: var(--blue-soft); }

/* Dores / problemas
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--white);
  border: 1px solid rgba(5, 13, 31, 0.08);
  border-radius: var(--radius);
  padding: 26px;
}

.pain-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(5, 13, 31, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.pain-card h3 { margin-bottom: 8px; }
.pain-card p { font-size: 0.88rem; color: rgba(5, 13, 31, 0.65); }

/* Diferenciais (dark)
   ========================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.diff-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 26px;
}

.diff-card .num {
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--neon);
  margin-bottom: 12px;
  display: block;
}

.diff-card h3 { color: var(--white); margin-bottom: 8px; }
.diff-card p { font-size: 0.85rem; color: var(--blue-soft); }

/* Oferta
   ========================================================================== */
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }

.offer-list { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 14px; }

.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.offer-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--neon);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
  margin-top: 1px;
}

.offer-visual {
  background: var(--dark);
  border-radius: 20px;
  padding: 40px;
  color: var(--white);
  text-align: center;
}

.offer-visual .big-quote {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.offer-visual .small {
  color: var(--blue-soft);
  font-size: 0.85rem;
}

/* Formulário
   ========================================================================== */
.form-section {
  background: var(--white);
  border: 1px solid rgba(5, 13, 31, 0.08);
  border-radius: 24px;
  padding: 48px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 30px 70px -30px rgba(5, 13, 31, 0.2);
}

.form-section .section-header { margin-bottom: 32px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: rgba(5, 13, 31, 0.7);
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(5, 13, 31, 0.12);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  background: var(--bg-light);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--dark);
  background: var(--white);
}

.field input::placeholder { color: rgba(5, 13, 31, 0.35); }

.form-footnote {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(5, 13, 31, 0.5);
  margin-top: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 12px;
}

.form-success.active { display: block; }
.form-success .check-big {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--neon); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.5rem; margin: 0 auto 16px;
}

/* WhatsApp flutuante
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--neon);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(245, 255, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 34px -6px rgba(245, 255, 0, 0.55);
}

@media (max-width: 600px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--blue-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.75rem;
  color: rgba(200, 216, 240, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
