:root {
  --blue-dark: #0d3b7a;
  --blue-mid: #1a6bb5;
  --blue-light: #4da6e8;
  --blue-sky: #e8f4fc;
  --green: #2e9e4f;
  --green-dark: #1f7a3a;
  --yellow: #f5b800;
  --orange: #f07800;
  --white: #ffffff;
  --gray: #5a6a7a;
  --gray-light: #f4f7fa;
  --shadow: 0 8px 32px rgba(13, 59, 122, 0.12);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--blue-dark);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 59, 122, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-light);
}

.brand-text strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--gray);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue-mid);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(46, 158, 79, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue-mid);
  color: var(--blue-mid);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--blue-sky) 0%, var(--white) 55%, #fff8e6 100%);
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-mid);
}

.hero p {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: min(360px, 90%);
  border-radius: var(--radius);
  filter: drop-shadow(0 20px 40px rgba(13, 59, 122, 0.2));
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 70%);
  opacity: 0.25;
  top: -20px;
  right: 10%;
  z-index: -1;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

.benefits {
  background: var(--gray-light);
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 59, 122, 0.06);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-icon.blue { background: #dbeafe; }
.card-icon.green { background: #dcfce7; }
.card-icon.yellow { background: #fef9c3; }
.card-icon.orange { background: #ffedd5; }

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--blue-mid);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1rem;
}

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.cta .phone {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--blue-light);
}

/* Virtual card page */
.card-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--blue-sky), #fff8e6);
}

.vcard {
  width: min(380px, 100%);
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 59, 122, 0.18);
  border: 1px solid rgba(13, 59, 122, 0.08);
}

.vcard-header {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  color: var(--white);
}

.vcard-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.vcard-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.vcard-header p {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vcard-body {
  padding: 1.5rem;
}

.vcard-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.vcard-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.vcard-row .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vcard-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.vcard-actions .btn {
  width: 100%;
}

.vcard-footer {
  padding: 1rem 1.5rem;
  background: var(--gray-light);
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
}

.back-link {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--blue-mid);
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--blue-dark);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 200;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .nav-links {
    display: none;
  }
}
