/* ========================================
   CREMI — Landing
   Brand kit oficial 2026-07-08
   Barlow + navy + purple + teal
   ======================================== */

:root {
  /* Paleta oficial CREMI */
  --navy: #1B2A4E;
  --navy-dark: #12203C;
  --navy-soft: #E8ECF5;

  --purple: #524496;
  --purple-dark: #3D3374;
  --purple-soft: #EAE7F3;

  --teal: #3EBFB0;
  --teal-dark: #2FA396;
  --teal-bright: #4DD4C3;
  --teal-soft: rgba(62, 191, 176, 0.08);

  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-elev: #FFFFFF;
  --bg-card: #FFFFFF;

  --border: #E4E9F2;
  --border-strong: #CFD6E4;

  --text: #1A1A1A;
  --text-dim: #4B5563;
  --text-mute: #8B95A7;

  --success: #22C55E;
  --red: #EF4444;
  --warning: #F59E0B;

  --radius: 14px;
  --radius-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(27, 42, 78, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(27, 42, 78, 0.08);
  --shadow-lg: 0 20px 48px -14px rgba(27, 42, 78, 0.15);
  --shadow-primary: 0 10px 30px -8px rgba(62, 191, 176, 0.4);
  --shadow-navy: 0 12px 36px -10px rgba(27, 42, 78, 0.35);

  /* Gradients */
  --grad-cta: linear-gradient(90deg, var(--navy) 0%, var(--purple) 50%, var(--teal) 100%);
  --grad-cta-hover: linear-gradient(90deg, var(--navy-dark) 0%, var(--purple-dark) 50%, var(--teal-dark) 100%);
  --grad-hero: radial-gradient(ellipse 900px 500px at 50% 0%, rgba(62, 191, 176, 0.09), transparent 60%),
               radial-gradient(ellipse 700px 400px at 20% 40%, rgba(82, 68, 150, 0.06), transparent 60%),
               var(--bg);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }

/* Body/parágrafos/inputs em Barlow normal (regular width, mais leitura)
   Títulos/botões/tags em Barlow Condensed (bate com o logo) */
p, li, small, td, input, select, textarea,
.hero-sub, .section-lead, .card-problem p, .feature-body p,
.plan-desc, .plan-per, .plan-features li,
.footer-tag, .footer a, .footer-bottom, .plans-note,
.form-check, .form-group input, .form-group select, .form-group textarea,
.pilar p {
  font-family: 'Barlow', system-ui, sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }

.text-primary   { color: var(--teal-dark); }
.text-navy      { color: var(--navy); }
.text-purple    { color: var(--purple); }

/* ========================================
   HEADER
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
}
.brand-symbol {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 1px;
}
.brand-cremi { color: var(--navy); }
.brand-tagline {
  display: none;
  color: var(--text-mute);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-left: 1px solid var(--border-strong);
  padding-left: 8px;
  margin-left: 4px;
}
@media (min-width: 1100px) {
  .brand-tagline { display: inline; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 500;
}
.nav a:hover { color: var(--navy); }

/* Link "Entrar" no header — visual sutil, diferente do CTA principal */
.nav-entrar {
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--navy);
  transition: all 0.15s;
}
.nav-entrar:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: white !important;
}

@media (max-width: 900px) {
  .nav { gap: 12px; }
  .nav a:not(.btn) { display: none; }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: 0.5px;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; display: flex; }

.btn-primary {
  background: var(--grad-cta);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-navy);
  font-weight: 700;
  letter-spacing: 0.7px;
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 16px 42px -10px rgba(27, 42, 78, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(27, 42, 78, 0.03);
}

.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
  background: var(--grad-hero);
}
.hero-inner { text-align: center; position: relative; z-index: 2; }

.hero-big-logo {
  display: block;
  margin: 0 auto 24px;
  width: auto;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(27, 42, 78, 0.15));
}
@media (max-width: 600px) { .hero-big-logo { max-width: 240px; } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(62, 191, 176, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 191, 176, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(62, 191, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 191, 176, 0); }
}

.hero-title {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 66px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin: 0 0 24px;
}
.hero-title .gradient {
  background: linear-gradient(90deg, var(--purple), var(--teal-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-sub strong { color: var(--navy); font-weight: 700; }

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
}

/* ========================================
   SECTIONS
   ======================================== */

.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy {
  background: var(--navy);
  color: white;
}
.section-navy .section-title,
.section-navy .brand-name,
.section-navy .brand-cremi { color: white; }
.section-navy .section-lead { color: rgba(255,255,255,0.75); }

.section-form { background: linear-gradient(180deg, var(--bg-soft) 0%, white 100%); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  padding: 5px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
}
.section-tag.accent {
  background: var(--teal-soft);
  border-color: rgba(62, 191, 176, 0.3);
  color: var(--teal-dark);
}
.section-title {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 50px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--navy);
  margin: 0 0 16px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   PROBLEM GRID
   ======================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card-problem {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.card-problem:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card-problem h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.card-problem p { color: var(--text-dim); font-size: 15px; margin: 0; line-height: 1.55; }

/* ========================================
   FEATURES
   ======================================== */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.feature:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-num {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -1px;
}
.feature-body h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--navy);
  letter-spacing: -0.2px;
}
.feature-body p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
  line-height: 1.55;
}

/* ========================================
   PILARES (grid dos 4 pilares oficiais)
   ======================================== */

.pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.pilar {
  text-align: center;
  color: white;
}
.pilar-icon {
  font-size: 42px;
  margin-bottom: 14px;
  color: var(--teal-bright);
}
.pilar h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  margin: 0 0 8px;
}
.pilar p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin: 0;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   COMPARE TABLE
   ======================================== */

.compare-wrap {
  overflow-x: auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.compare th {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.compare tr td:first-child, .compare tr th:first-child {
  text-align: left;
  color: var(--text-dim);
  font-weight: 600;
}
.compare .highlight {
  background: linear-gradient(180deg, rgba(62, 191, 176, 0.06) 0%, rgba(62, 191, 176, 0.02) 100%);
  color: var(--navy);
  font-weight: 600;
}
.compare th.highlight {
  color: var(--teal-dark);
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--teal);
}

/* ========================================
   PLANS
   ======================================== */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.plan {
  padding: 40px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.plan-featured {
  border: 2px solid var(--teal);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.plan-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: var(--grad-cta);
  color: white;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
}
.plan-name {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.plan-desc {
  color: var(--text-mute);
  font-size: 13px;
  margin-bottom: 28px;
  min-height: 32px;
}
.plan-price { margin-bottom: 28px; }
.plan-value {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 52px;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -2px;
}
.plan-per {
  color: var(--text-dim);
  font-size: 14px;
  margin-left: 4px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex-grow: 1;
  text-align: left;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}
.plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
  position: relative;
  padding-left: 22px;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

.plans-note {
  text-align: center;
  padding: 20px;
  background: white;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 15px;
}
.plans-note strong { color: var(--navy); }
.plans-note a { color: var(--teal-dark); font-weight: 700; }

/* ========================================
   FORM
   ======================================== */

.form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 600px) { .form { padding: 28px 20px; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-row .form-group { margin-bottom: 0; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 15px;
  transition: all 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(62, 191, 176, 0.15);
}
.form-group textarea { resize: vertical; min-height: 90px; font-family: 'Barlow Condensed', 'Barlow', sans-serif; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
}
.form-check input { margin-top: 3px; accent-color: var(--teal); }

.form-msg {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  display: none;
}
.form-msg.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--success);
  color: #15803d;
}
.form-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--red);
  color: #b91c1c;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
.footer .brand-name,
.footer .brand-cremi { color: white; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-tag {
  color: rgba(255,255,255,0.6);
  margin-top: 14px;
  font-size: 14px;
  max-width: 340px;
  line-height: 1.5;
}
.footer-title {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer a {
  display: block;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  font-size: 14px;
  transition: color 0.15s;
}
.footer a:hover { color: var(--teal-bright); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline; margin-bottom: 0; }
