/* Harmy - estilos do site institucional.
   Paleta da marca: Deep Indigo #1A3C63, Subtle Teal #2B7288, Metallic Gold #CBA361.
   Tipografia: Poppins (titulos) + Inter (corpo). */

:root {
  --indigo: #1a3c63;
  --indigo-700: #14304f;
  --teal: #2b7288;
  --gold: #cba361;
  --gold-soft: #e7d3ab;
  --bg: #fbfcfc;
  --bg-alt: #f1f5f7;
  --ink: #16263a;
  --muted: #5b6b7c;
  --line: #e2e8ec;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 45px -28px rgba(20, 48, 79, 0.55);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--indigo);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--indigo);
}
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--teal); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--indigo-700); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--indigo-700); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(43, 114, 136, 0.18), transparent 60%),
    radial-gradient(900px 400px at -10% 20%, rgba(203, 163, 97, 0.16), transparent 55%),
    var(--bg);
  padding: 96px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(43, 114, 136, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); }
.hero h1 .accent { color: var(--teal); }
.hero p.lead { font-size: 19px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 18px; }

.hero-visual {
  position: relative;
  background: linear-gradient(165deg, rgba(26, 60, 99, 0.95), rgba(43, 114, 136, 0.9));
  border-radius: 28px;
  padding: 30px;
  color: var(--white);
  box-shadow: var(--shadow);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.glow-bg {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(203, 163, 97, 0.4) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}
.hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  transition: transform 0.3s ease;
}
.hero-visual:hover .hero-img {
  transform: scale(1.02);
}
.hero-visual-card {
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 18px;
}
.hero-visual-card h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 4px;
}
.hero-visual-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin-bottom: 10px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
  font-size: 13px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); }
.section-head p { font-size: 17px; }

/* ---------- Feature cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(43, 114, 136, 0.1);
  color: var(--teal);
  margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; }
.card p { margin: 0; font-size: 15px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 14px; }
.step .num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--indigo-700);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; font-size: 30px; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 520px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--indigo-700);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 14px; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

/* ---------- Legal / form pages ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--indigo), var(--teal));
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0; }
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 800px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal h3 { font-size: 18px; margin-top: 24px; }
.legal ul { color: var(--muted); padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--indigo); margin-bottom: 6px; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(43, 114, 136, 0.15);
}
.field textarea { resize: vertical; min-height: 96px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checkbox-row input { width: auto; margin-top: 3px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.alert {
  display: none;
  background: rgba(43, 114, 136, 0.1);
  border: 1px solid rgba(43, 114, 136, 0.3);
  color: var(--indigo);
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 15px;
}
.alert.show { display: block; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.trust-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 150px;
}
.trust-num {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.1;
}
.trust-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(20, 48, 79, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.profile-pic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.profile-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--indigo);
  margin: 0;
}
.profile-title {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
}
.eyebrow.gold {
  color: var(--gold);
  background: rgba(203, 163, 97, 0.1);
}

/* ---------- Comparison Section ---------- */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}
.comparison-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(20, 48, 79, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.comparison-card.traditional {
  border-top: 4px solid var(--muted);
}
.comparison-card.harmy-style {
  border-top: 4px solid var(--gold);
  background: linear-gradient(180deg, var(--white) 0%, rgba(203, 163, 97, 0.02) 100%);
}
.card-header {
  margin-bottom: 24px;
  text-align: center;
}
.card-header i {
  font-size: 40px;
  margin-bottom: 12px;
  display: inline-block;
}
.icon-danger {
  color: #d9534f;
}
.icon-success {
  color: var(--teal);
}
.card-header h3 {
  font-size: 22px;
  margin-bottom: 4px;
}
.card-header p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparison-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
  align-items: flex-start;
}
.comparison-list li i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.comparison-list li i.bi-dash-circle {
  color: var(--muted);
}
.text-gold {
  color: var(--gold);
}

/* ---------- Calculator Section ---------- */
.section-calculator {
  background: radial-gradient(1000px 500px at 10% 90%, rgba(203, 163, 97, 0.06), transparent 70%), var(--bg-alt);
  padding: 80px 0;
}
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.calculator-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 16px;
}
.calculator-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.calculator-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.metric-box {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 10px rgba(20, 48, 79, 0.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.metric-val {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
}
.metric-lbl {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}
.calculator-card-widget {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.widget-field {
  margin-bottom: 24px;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.slider-header label {
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo);
}
.slider-value {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--indigo);
  background: rgba(26, 60, 99, 0.08);
  padding: 4px 12px;
  border-radius: 8px;
}
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: var(--line);
  outline: none;
  margin: 0;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--indigo);
  cursor: pointer;
  transition: transform 0.1s ease, background 0.1s ease;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--teal);
}
.widget-result {
  background: var(--indigo);
  color: var(--white);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}
.result-lbl {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}
.result-val {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-soft);
  display: block;
  line-height: 1.2;
}
.result-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 12px 0 0;
  line-height: 1.4;
}

/* ---------- Conversion Chart ---------- */
.calculator-chart {
  margin-top: 24px;
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(20, 48, 79, 0.02);
}
.chart-title {
  font-size: 14px;
  color: var(--indigo);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.chart-title i {
  color: var(--gold);
}
.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chart-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bar-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.bar-wrapper {
  background: var(--bg-alt);
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--white);
  transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
  box-sizing: border-box;
}
.bar-fill.baseline {
  background: var(--muted);
  width: 40% !important;
}
.bar-fill.premium-growth {
  background: linear-gradient(90deg, var(--indigo) 0%, var(--teal) 60%, var(--gold) 100%);
  box-shadow: 0 0 12px rgba(43, 114, 136, 0.3);
  position: relative;
  animation: pulseGlow 3s infinite alternate;
  width: 75% !important;
}
.bar-badge {
  background: var(--white);
  color: var(--indigo);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  white-space: nowrap;
}
.chart-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
  font-style: italic;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 8px rgba(43, 114, 136, 0.2); }
  100% { box-shadow: 0 0 16px rgba(203, 163, 97, 0.4); }
}

/* ---------- Subscription Form ---------- */
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 24px auto 0;
}
.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 15px;
  outline: none;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}
.cta-form input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold-soft);
}
.cta-form button {
  padding: 0 28px;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3, .steps, .comparison-container, .calculator-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .cta-band { padding: 40px 24px; }
  .cta-form { flex-direction: column; }
  .cta-form button { width: 100%; padding: 14px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
}

