/* ==========================================================================
   SIA Contabilidade - Programa de Indicação
   ========================================================================== */

:root {
  --sia-darkest: #083c23;
  --sia-primary: #0a4b2c;
  --sia-emerald: #036c45;
  --sia-green: #53a167;
  --sia-light: #9ed2ae;
  --sia-bg: #f8faf8;
  --sia-tint: #f7faf8;
  --sia-pale: #eaf4ed;
  --sia-pale-2: #d8ecdc;
  --sia-border: #e2ede5;
  --sia-border-2: #d8e6dc;
  --sia-border-3: #e5efe7;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --amber-100: #fef3c7;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --yellow-100: #fef9c3;
  --yellow-400: #facc15;
  --yellow-900: #713f12;
  --slate-100: #f1f5f9;
  --slate-900: #0f172a;
  --red-400: #f87171;
  --red-500: #ef4444;

  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  --visa-blue: #1434cb;
  --payx-navy: #1a2e5a;
  --payx-cyan: #0891b2;

  --accent-orange: #f97316;
  --accent-orange-hover: #ea580c;
  --link-blue: #60a5fa;
  --footer-credits-bg: #111815;

  --shadow-xs: 0 1px 2px rgba(8, 60, 35, 0.05);
  --shadow-sm: 0 1px 3px rgba(8, 60, 35, 0.08);
  --shadow-md: 0 4px 12px rgba(8, 60, 35, 0.1);
  --shadow-lg: 0 10px 30px rgba(8, 60, 35, 0.15);
  --shadow-xl: 0 20px 45px rgba(8, 60, 35, 0.2);

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sia-bg);
  color: #1e2922;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

button {
  font-family: inherit;
}

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

::selection {
  background: var(--sia-primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f2;
}
::-webkit-scrollbar-thumb {
  background: var(--sia-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sia-green);
}

i[data-lucide] {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 2;
}
i[data-lucide] svg {
  width: 100%;
  height: 100%;
  display: block;
}
.icon-sm {
  width: 0.85em;
  height: 0.85em;
}
.rotate-90 {
  transform: rotate(90deg);
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.container-narrow {
  max-width: 56rem;
}
.container-narrow-sm {
  max-width: 48rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

[hidden] {
  display: none !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn i[data-lucide] {
  color: var(--sia-light);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
  border-radius: 0.85rem;
}
.btn-primary {
  background: var(--sia-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--sia-darkest);
}
.btn-gradient {
  background: linear-gradient(to right, var(--sia-primary), var(--sia-emerald));
  box-shadow: 0 4px 14px rgba(10, 75, 44, 0.25);
}
.btn-gradient:hover {
  background: linear-gradient(to right, var(--sia-darkest), var(--sia-primary));
  box-shadow: 0 6px 20px rgba(10, 75, 44, 0.3);
  transform: translateY(-1px);
}
.btn-outline {
  background: #fff;
  color: var(--sia-darkest);
  border: 2px solid rgba(158, 210, 174, 0.8);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  background: #f1f7f3;
  border-color: var(--sia-green);
}
.btn-white {
  background: #fff;
  color: var(--sia-darkest);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--sia-pale);
}
.btn-pale {
  background: var(--sia-pale);
  color: var(--sia-darkest);
}
.btn-pale:hover {
  background: var(--sia-pale-2);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}
.btn-whatsapp i[data-lucide] {
  color: #fff;
}
.btn-whatsapp-ghost {
  background: var(--sia-pale);
  color: var(--sia-darkest);
  border: 1px solid rgba(158, 210, 174, 0.5);
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
}
/* The header's WhatsApp button is only shown from the sm breakpoint up;
   the mobile-menu-drawer copy (not inside .header-actions) always shows.
   It also uses the solid dark-green palette color instead of the pale ghost style. */
.header-actions .btn-whatsapp-ghost {
  display: none;
  background: var(--sia-primary);
  color: #fff;
  border-color: transparent;
}
.header-actions .btn-whatsapp-ghost:hover {
  background: var(--sia-darkest);
}
.header-actions .btn-whatsapp-ghost i[data-lucide] {
  color: var(--sia-light);
}
@media (min-width: 640px) {
  .header-actions .btn-whatsapp-ghost {
    display: inline-flex;
  }
}
.btn-whatsapp-ghost:hover {
  background: var(--sia-pale-2);
}
.btn-whatsapp-ghost i[data-lucide] {
  color: var(--sia-emerald);
}
.btn:active {
  transform: scale(0.97);
}

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--sia-pale);
  color: var(--sia-darkest);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.pill i[data-lucide] {
  color: var(--sia-emerald);
}
.pill-hero {
  border: 1px solid rgba(158, 210, 174, 0.6);
  box-shadow: var(--shadow-xs);
  text-transform: uppercase;
}
.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sia-primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-100);
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(10, 75, 44, 0.1);
  padding: 0.75rem 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand-logo {
  width: auto;
}
.brand-logo--md {
  height: 2.5rem;
}
.brand-logo--lg {
  height: 3rem;
}
.brand-badge {
  display: none;
  flex-direction: column;
  border-left: 1px solid rgba(10, 75, 44, 0.2);
  padding-left: 0.75rem;
}
.brand-badge-top {
  font-size: 0.55rem;
  line-height: 1.15;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sia-emerald);
  white-space: nowrap;
}
.brand-badge-mid {
  font-size: 0.6rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--sia-darkest);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-badge-bottom {
  font-size: 0.65rem;
  line-height: 1.15;
  font-weight: 900;
  color: var(--sia-darkest);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  overflow: hidden;
}
.nav-desktop a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--gray-700);
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sia-primary);
  transition: width 0.2s ease;
}
.nav-desktop a:hover {
  color: var(--sia-primary);
}
.nav-desktop a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.social-icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--sia-pale);
  color: var(--sia-emerald);
  border: 1px solid rgba(158, 210, 174, 0.5);
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.social-icon-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}
.social-icon-btn:hover {
  background: var(--sia-pale-2);
}
@media (min-width: 640px) {
  .social-icon-btn {
    display: inline-flex;
  }
}

.mobile-menu-toggle {
  display: inline-flex;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  color: var(--gray-700);
  cursor: pointer;
  font-size: 1.5rem;
}
.mobile-menu-toggle:hover {
  background: var(--gray-100);
  color: var(--sia-primary);
}

.mobile-menu {
  border-top: 1px solid var(--gray-200);
  background: #fff;
  padding: 0.75rem 1rem 1.5rem;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu-links a {
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}
.mobile-menu-links a:hover {
  background: var(--sia-pale);
  color: var(--sia-primary);
}
.mobile-menu-ctas {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu-ctas .btn {
  padding: 0.75rem;
}

@media (min-width: 640px) {
  .brand-badge {
    display: flex;
  }
}
@media (min-width: 1220px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 7rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(to bottom, #f3f8f4, var(--sia-bg) 60%, #fff);
  border-bottom: 1px solid var(--sia-border-3);
}
.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow--tr {
  top: 0;
  right: 0;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle at top right, rgba(83, 161, 103, 0.15), rgba(158, 210, 174, 0.1), transparent 70%);
}
.hero-glow--ml {
  top: 33%;
  left: 0;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(10, 75, 44, 0.05), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sia-darkest);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}
.hero-title .highlight {
  color: var(--sia-emerald);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: rgba(83, 161, 103, 0.6);
  text-decoration-thickness: 2px;
}

.hero-slogan {
  margin: 0.75rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sia-primary);
}

.hero-desc {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 42rem;
  line-height: 1.65;
}

.hero-bullets {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  column-gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-700);
  font-weight: 500;
}
.hero-bullets span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-bullets i[data-lucide] {
  color: var(--sia-emerald);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  width: 100%;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-desc {
    font-size: 1.125rem;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    width: auto;
  }
}
@media (min-width: 768px) {
  .hero {
    padding: 9rem 0 6rem;
  }
  .hero-title {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
  }
}

/* ---------- Card visual ---------- */
.card-visual-wrap {
  position: relative;
}
.card-visual-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  z-index: 20;
  background: linear-gradient(to right, var(--sia-darkest), var(--sia-primary));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(83, 161, 103, 0.3);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.card-visual-badge .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--sia-green);
}

.card-visual-outer {
  perspective: 1000px;
  user-select: none;
}
.card-visual {
  position: relative;
  width: 19.4rem;
  height: 12.2rem;
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(to bottom right, #fff, #f7faf8, #e7f0e9);
  border: 1px solid var(--sia-border-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease-out;
  will-change: transform;
}
.card-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, transparent, rgba(255, 255, 255, 0.4), rgba(16, 185, 129, 0.1));
  opacity: 0.7;
  pointer-events: none;
}
.card-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.card-ring--1 {
  right: -3rem;
  bottom: -4rem;
  width: 13rem;
  height: 13rem;
  border: 22px solid rgba(10, 75, 44, 0.05);
}
.card-ring--2 {
  right: -1rem;
  bottom: -2rem;
  width: 9rem;
  height: 9rem;
  border: 14px solid rgba(83, 161, 103, 0.1);
}

.card-top-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.card-chip {
  position: relative;
  width: 2.75rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: linear-gradient(to bottom right, #e0ca86, #f5e7b2, #c7af64);
  border: 1px solid #b89f50;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.card-chip-line {
  position: absolute;
  background: rgba(168, 143, 64, 0.4);
}
.card-chip-line--h1 {
  top: 30%;
  left: 0;
  right: 0;
  height: 1px;
}
.card-chip-line--h2 {
  top: 60%;
  left: 0;
  right: 0;
  height: 1px;
}
.card-chip-line--v {
  left: 40%;
  top: 0;
  bottom: 0;
  width: 1px;
}
.card-chip-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 1px solid rgba(168, 143, 64, 0.6);
  background: rgba(212, 190, 114, 0.4);
}
.card-contactless {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(10, 75, 44, 0.7);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(6, 78, 59, 0.1);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.card-contactless span {
  color: var(--sia-primary);
}

.card-center {
  position: relative;
  z-index: 1;
  margin: auto 0;
  padding-left: 0.25rem;
}
.card-center .brand-logo {
  height: 2.5rem;
}
.card-program-label {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sia-emerald);
  letter-spacing: 0.02em;
}
.card-program-label i[data-lucide] {
  color: var(--sia-green);
}

.card-bottom-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(10, 75, 44, 0.1);
  padding-top: 0.6rem;
}
.card-holder-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(8, 60, 35, 0.6);
}
.card-holder-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sia-darkest);
}
.card-flags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.flag-payx {
  display: inline-flex;
  align-items: center;
  gap: 0.05rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--payx-navy);
  font-style: italic;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  border: 1px solid var(--gray-200);
}
.flag-payx b {
  color: var(--payx-cyan);
  font-weight: 800;
}
.flag-visa {
  font-size: 0.8rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
  color: var(--visa-blue);
  padding: 0 0.25rem;
}

.card-pills {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--sia-primary);
  font-weight: 500;
}
.card-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--sia-pale);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(158, 210, 174, 0.4);
  color: var(--sia-darkest);
}
.card-pills i[data-lucide] {
  color: var(--sia-emerald);
}

@media (min-width: 640px) {
  .card-visual {
    width: 22.5rem;
    height: 14.1rem;
    padding: 1.5rem;
  }
}

/* ---------- Pillars ---------- */
.pillars-grid {
  width: 100%;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 26.25rem;
}
.pillar-card {
  background: #fff;
  padding: 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--sia-border);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease;
}
.pillar-card:hover {
  border-color: var(--sia-light);
}
.pillar-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--sia-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sia-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.pillar-card h4 {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sia-darkest);
}
.pillar-card p {
  margin: 0.25rem 0 0;
  font-size: 0.68rem;
  color: var(--gray-600);
  line-height: 1.3;
}

/* ==========================================================================
   SECTION GENERICS
   ========================================================================== */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--sia-border-3);
}
.section-white {
  background: #fff;
}
.section-tint {
  background: var(--sia-tint);
}

.section-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto;
}
.section-head h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--sia-darkest);
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sia-darkest);
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head p {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
}
@media (min-width: 640px) {
  .section-head h2 {
    font-size: 2.25rem;
  }
  .section-head h3 {
    font-size: 1.75rem;
  }
  .section-head p {
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps-grid {
  position: relative;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.steps-connector {
  display: none;
}
.step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  background: #fbfdfb;
  border: 1px solid var(--sia-border);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--sia-green);
}
.step-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.75rem;
  font-weight: 900;
  color: rgba(158, 210, 174, 0.3);
  user-select: none;
}
.step-badge {
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--sia-primary);
  box-shadow: var(--shadow-xs);
}
.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--sia-primary), var(--sia-emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sia-light);
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.25rem;
  transition: transform 0.2s ease;
}
.step-card:hover .step-icon {
  transform: scale(1.05);
}
.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sia-darkest);
  letter-spacing: -0.01em;
  margin: 0;
}
.step-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps-connector {
    display: block;
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    border-top: 2px dashed var(--sia-light);
    transform: translateY(-2rem);
    z-index: 0;
  }
}

.callout-box {
  margin-top: 3rem;
  padding: 1.75rem;
  border-radius: 1rem;
  background: linear-gradient(to right, var(--sia-primary), var(--sia-emerald), var(--sia-darkest));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.callout-box h4 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #e5f5ea;
  letter-spacing: -0.01em;
  margin: 0;
}
.callout-box p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 34rem;
}
@media (min-width: 768px) {
  .callout-box {
    flex-direction: row;
    text-align: left;
  }
}

.participants {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--gray-100);
}
.participants-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.participant-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--sia-bg);
  border: 1px solid var(--sia-border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.2s ease;
}
.participant-card:hover {
  border-color: var(--sia-light);
}
.participant-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--sia-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sia-emerald);
  font-size: 1.5rem;
}
.participant-card h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sia-darkest);
}
.participant-card p {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .participants-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   TIERS + SIMULATOR
   ========================================================================== */
.tiers-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.tier-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  color: var(--gray-800);
  border: 1px solid var(--sia-border-2);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tier-card:hover {
  border-color: var(--sia-green);
}
.tier-card.is-selected {
  box-shadow: 0 0 0 2px var(--sia-emerald), 0 0 0 4px #fff;
}
.tier-card--highlight {
  background: linear-gradient(to bottom, var(--sia-primary), var(--sia-darkest));
  color: #fff;
  border: 2px solid var(--sia-green);
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}
.tier-card--highlight.is-selected {
  box-shadow: var(--shadow-xl), 0 0 0 2px var(--sia-emerald), 0 0 0 4px var(--sia-darkest);
}
.tier-ribbon {
  position: absolute;
  top: -0.875rem;
  right: 1.5rem;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(to right, var(--amber-400), var(--yellow-400));
  color: var(--sia-darkest);
  font-weight: 900;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tier-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.tier-badge--bronze {
  background: var(--amber-100);
  color: var(--amber-900);
  border-color: var(--amber-300);
}
.tier-badge--prata {
  background: var(--slate-100);
  color: var(--slate-900);
  border-color: var(--gray-300);
}
.tier-badge--ouro {
  background: var(--yellow-100);
  color: var(--yellow-900);
  border-color: var(--yellow-400);
}
.tier-award {
  float: right;
  font-size: 1.5rem;
  color: var(--sia-emerald);
}
.tier-award--highlight {
  color: var(--amber-300);
}
.tier-range {
  clear: both;
  margin: 1rem 0 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--sia-darkest);
}
.tier-range--highlight {
  color: #fff;
}
.tier-subrange {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
}
.tier-subrange--highlight {
  color: var(--sia-light);
}
.tier-percentage {
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.tier-percentage-value {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--sia-primary);
}
.tier-percentage-value--highlight {
  color: var(--amber-300);
}
.tier-percentage-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray-500);
}
.tier-percentage-label--highlight {
  color: rgba(255, 255, 255, 0.8);
}
.tier-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-600);
}
.tier-desc--highlight {
  color: rgba(255, 255, 255, 0.9);
}
.tier-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(229, 231, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sia-primary);
}
.tier-footer--highlight,
.tier-select-label--highlight {
  color: var(--sia-light);
}

@media (min-width: 768px) {
  .tiers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.simulator {
  margin-top: 4rem;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--sia-border-2);
  box-shadow: var(--shadow-md);
}
.simulator-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.simulator-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.simulator-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sia-primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.simulator-title i[data-lucide] {
  color: var(--sia-emerald);
}

.field-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sia-darkest);
  margin-bottom: 0.25rem;
}
.field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.preset-btn {
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  background: var(--sia-bg);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.15s ease;
}
.preset-btn:hover {
  border-color: var(--sia-green);
}
.preset-btn.is-active {
  background: var(--sia-primary);
  color: #fff;
  border-color: var(--sia-primary);
  box-shadow: var(--shadow-xs);
}
.preset-label {
  display: block;
  font-size: 0.875rem;
}
.preset-desc {
  display: block;
  font-size: 0.625rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 0.125rem;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.range-input {
  width: 100%;
  accent-color: var(--sia-primary);
  height: 0.5rem;
  cursor: pointer;
}
.fee-number-wrap {
  width: 8rem;
  flex-shrink: 0;
  position: relative;
}
.fee-number-prefix {
  position: absolute;
  left: 0.75rem;
  top: 0.6rem;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 700;
}
.fee-number-input {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--sia-darkest);
  background: var(--sia-bg);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
}
.fee-number-input:focus {
  outline: none;
  border-color: var(--sia-primary);
}

.tier-select-grid,
.qty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.qty-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  row-gap: 0.6rem;
}
.tier-select-btn {
  min-width: 0;
  padding: 0.7rem 0.4rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-align: center;
  background: var(--sia-bg);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tier-select-btn-label {
  display: block;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tier-select-btn-label strong {
  font-weight: 900;
}
.tier-select-btn-range {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.75;
  line-height: 1.25;
}
.tier-select-btn:hover {
  border-color: var(--sia-green);
}
.tier-select-btn.is-active {
  background: var(--sia-primary);
  color: #fff;
  border-color: var(--sia-primary);
}
.qty-btn {
  min-width: 0;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 900;
  background: var(--sia-bg);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.15s ease;
}
.qty-btn:hover {
  border-color: var(--sia-green);
}
.qty-btn.is-active {
  background: var(--sia-primary);
  color: #fff;
  border-color: var(--sia-primary);
}

.simulator-result {
  width: 100%;
  background: linear-gradient(to bottom right, var(--sia-darkest), var(--sia-primary), var(--sia-emerald));
  border-radius: 1rem;
  padding: 1.75rem;
  color: #fff;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1rem;
}
.result-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sia-light);
  font-weight: 700;
}
.result-tier-pill {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.125rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
}
.result-main {
  margin-top: 1.5rem;
}
.result-sub-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.result-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--amber-300);
  letter-spacing: -0.02em;
  margin-top: 0.25rem;
}
.result-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-top: 0.25rem;
}
.result-total {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--amber-300);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.result-total span:first-child {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-300);
}
.result-total-value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--amber-300);
}
.result-checks {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}
.result-checks div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.result-checks i[data-lucide] {
  color: var(--sia-light);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .simulator-grid {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
  .simulator-controls {
    width: 58.333%;
  }
  .simulator-result {
    width: 41.666%;
  }
}

/* ==========================================================================
   CARD FEATURES
   ========================================================================== */
.card-features-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.card-features-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.validity-badge {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--sia-bg);
  border: 1px solid var(--sia-border-2);
  width: 100%;
  max-width: 22.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.validity-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--sia-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sia-emerald);
  font-size: 1.25rem;
}
.validity-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sia-darkest);
  display: block;
}
.validity-text {
  font-size: 0.75rem;
  color: var(--gray-600);
  display: block;
  line-height: 1.4;
}

.card-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.card-features-heading {
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 1rem;
}
.card-features-heading h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--sia-darkest);
  letter-spacing: -0.01em;
  margin: 0;
}
.card-features-heading p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.usage-method {
  padding: 1.25rem;
  border-radius: 1rem;
  background: #fbfdfb;
  border: 1px solid var(--sia-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease;
  margin-bottom: 1rem;
}
.usage-method:hover {
  border-color: var(--sia-green);
}
.usage-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--sia-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sia-emerald);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.usage-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.usage-top h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sia-darkest);
}
.usage-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sia-emerald);
  background: var(--sia-pale);
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
}
.usage-body p {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .usage-method {
    flex-direction: row;
    align-items: flex-start;
  }
}

.security-note {
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(234, 244, 237, 0.6);
  border: 1px solid rgba(158, 210, 174, 0.4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--sia-darkest);
}
.security-note i[data-lucide] {
  color: var(--sia-emerald);
  flex-shrink: 0;
  font-size: 1.25rem;
}

@media (min-width: 1024px) {
  .card-features-grid {
    grid-template-columns: 5fr 7fr;
  }
}

/* ==========================================================================
   RULES & FEES
   ========================================================================== */
.tabs-wrap {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.tabs {
  display: inline-flex;
  padding: 0.375rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--sia-border-2);
  box-shadow: var(--shadow-xs);
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn:hover {
  color: var(--sia-darkest);
}
.tab-btn.is-active {
  background: var(--sia-primary);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

.tab-panel {
  margin-top: 2.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rule-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--sia-border);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.2s ease;
}
.rule-card:hover {
  border-color: var(--sia-light);
}
.rule-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: 0.75rem;
  background: var(--sia-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sia-emerald);
  font-size: 1.25rem;
}
.rule-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--sia-emerald);
}
.rule-card h4 {
  margin: 0.125rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sia-darkest);
}
.rule-card p {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.note-box {
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--sia-pale);
  border: 1px solid rgba(158, 210, 174, 0.5);
  font-size: 0.75rem;
  color: var(--sia-darkest);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.note-box i[data-lucide] {
  color: var(--sia-emerald);
  flex-shrink: 0;
}

.tariff-card {
  padding: 1.75rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--sia-border);
  box-shadow: var(--shadow-xs);
}
.tariff-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}
.tariff-head--tight {
  align-items: center;
}
.tariff-head-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tariff-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--sia-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sia-emerald);
  font-weight: 900;
  font-size: 0.75rem;
}
.tariff-head h4 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sia-darkest);
}
.tariff-value {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.tariff-value--neutral {
  background: var(--gray-100);
  color: var(--gray-700);
}
.tariff-value--warning {
  background: var(--amber-100);
  color: var(--amber-900);
}
.tariff-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}
.tariff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}
.tariff-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.tariff-list .arrow {
  color: var(--sia-emerald);
  font-weight: 700;
}
.tariff-list .strong-line {
  color: var(--sia-darkest);
  font-weight: 600;
}
.tip-box {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: var(--sia-pale);
  border: 1px solid var(--sia-light);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.tip-box i[data-lucide] {
  color: var(--sia-primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
  font-size: 1.25rem;
}
.tip-box p {
  font-size: 0.75rem;
  color: var(--sia-darkest);
  line-height: 1.6;
}

/* ==========================================================================
   INDICATION FORM (page + modal share the same markup)
   ========================================================================== */
.form-card {
  background: #fbfdfb;
  border-radius: 1.5rem;
  border: 1px solid var(--sia-border-2);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.form-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
.form-card-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-card-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--sia-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.68rem;
}
.form-card-header-left h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--sia-darkest);
}
.form-card-header-left span {
  font-size: 0.75rem;
  color: var(--gray-500);
}
.history-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sia-primary);
  background: var(--sia-pale);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.history-toggle-btn:hover {
  background: var(--sia-pale-2);
}

.history-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.history-view-head h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-800);
}
.history-new-btn {
  background: none;
  border: none;
  font-size: 0.75rem;
  color: var(--sia-primary);
  font-weight: 700;
  cursor: pointer;
}
.history-new-btn:hover {
  text-decoration: underline;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.history-item {
  padding: 1rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.history-item-id {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--sia-primary);
  background: var(--sia-pale);
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
}
.history-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
}
.history-item-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75rem;
}
.history-item-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-800);
}

.success-view {
  padding: 1.5rem 0;
  text-align: center;
}
.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--sia-pale);
  color: var(--sia-emerald);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}
.success-protocol {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--sia-pale);
  color: var(--sia-darkest);
  font-size: 0.75rem;
  font-weight: 900;
}
.success-view h4 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--sia-darkest);
  letter-spacing: -0.01em;
}
.success-view > p {
  margin: 0.5rem auto 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  max-width: 28rem;
  line-height: 1.6;
}
.success-view > p.success-whatsapp-note {
  margin: 1.25rem auto 0;
  font-size: 0.75rem;
  color: var(--gray-500);
}
.next-steps-box {
  margin: 1.5rem auto 0;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--sia-border-2);
  max-width: 32rem;
  text-align: left;
  font-size: 0.75rem;
  color: var(--gray-700);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.next-steps-title {
  font-weight: 700;
  color: var(--sia-darkest);
  font-size: 0.875rem;
  margin: 0;
}
.next-step {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.next-step-num {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--sia-pale);
  color: var(--sia-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
}
.success-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.success-actions .btn {
  width: 100%;
}
@media (min-width: 640px) {
  .success-actions {
    flex-direction: row;
  }
  .success-actions .btn {
    width: auto;
  }
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sia-darkest);
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 0.5rem;
}
.form-section-title i[data-lucide] {
  color: var(--sia-emerald);
}
.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  background: #fff;
  border: 1px solid var(--gray-300);
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sia-primary);
}
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--red-400);
  background: rgba(254, 226, 226, 0.2);
}
.field-error {
  display: none;
  font-size: 0.68rem;
  color: var(--red-500);
  margin-top: 0.25rem;
}
.form-field.has-error .field-error {
  display: block;
}
.form-field--full {
  grid-column: 1 / -1;
}
@media (min-width: 640px) {
  .form-fields-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-submit {
  padding-top: 0.5rem;
}
.form-submit-note {
  font-size: 0.68rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 0.75rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.faq-item {
  border: 1px solid var(--sia-border);
  border-radius: 1rem;
  overflow: hidden;
  background: #fbfdfb;
  transition: all 0.2s ease;
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.faq-question span:first-child {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sia-darkest);
  letter-spacing: -0.01em;
}
.faq-chevron {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sia-pale);
  color: var(--sia-primary);
  transition: all 0.2s ease;
}
.faq-item.is-open .faq-chevron {
  background: var(--sia-primary);
  color: #fff;
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid rgba(243, 244, 246, 0.6);
  padding-top: 0.25rem;
}
.faq-item.is-open .faq-answer {
  display: block;
}

.contact-box {
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--sia-bg);
  border: 1px solid var(--sia-border-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}
.contact-box h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sia-darkest);
}
.contact-box p {
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  color: var(--gray-600);
}
@media (min-width: 640px) {
  .contact-box {
    flex-direction: row;
    text-align: left;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--sia-darkest);
  color: #fff;
  padding: 4rem 0;
  border-top: 1px solid var(--sia-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.5rem 0.85rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 24rem;
  margin: 0;
}
.footer-tag {
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--sia-light);
}
.footer-tag .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sia-green);
}
.footer-links h4,
.footer-contact h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sia-light);
  margin: 0 0 0.75rem;
}
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.25rem;
}
.footer-contact a,
.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
}
.footer-contact a:hover {
  color: var(--sia-light);
}
.footer-contact i[data-lucide],
.footer-contact-line i[data-lucide] {
  color: var(--sia-green);
}
.footer-contact-line--muted {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .footer-brand {
    grid-column: span 5;
  }
  .footer-links {
    grid-column: span 3;
  }
  .footer-contact {
    grid-column: span 4;
  }
}

/* ==========================================================================
   FOOTER CREDITS BAR
   ========================================================================== */
.footer-credits-bar {
  background: var(--sia-darkest);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}
.footer-credits-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}
.footer-credits-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-credits-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.75rem;
}
.footer-credits-privacy-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credits-privacy-link:hover {
  color: var(--sia-light);
}
.footer-credits-sep {
  color: rgba(255, 255, 255, 0.3);
}
.footer-credits-dev {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.footer-credits-brand {
  color: var(--amber-300);
  font-weight: 800;
}
.footer-credits-brand:hover {
  color: var(--amber-400);
}
.footer-back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.15s ease;
}
.footer-back-to-top:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

@media (min-width: 768px) {
  .footer-credits-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   COOKIE CONSENT (LGPD)
   ========================================================================== */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 45;
  max-width: 30rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.cookie-consent p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.cookie-consent-link {
  color: var(--accent-orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent-link:hover {
  color: var(--accent-orange-hover);
}
.btn-cookie-accept {
  align-self: flex-end;
  padding: 0.6rem 1.5rem;
  border-radius: 0.6rem;
  background: var(--accent-orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-cookie-accept:hover {
  background: var(--accent-orange-hover);
}

@media (min-width: 640px) {
  .cookie-consent {
    left: 1.25rem;
    right: auto;
    flex-direction: row;
    align-items: center;
  }
  .cookie-consent p {
    flex: 1;
  }
  .btn-cookie-accept {
    align-self: center;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   MODALS (Indication + QR)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow-y: auto;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.modal-panel {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}
.modal-panel--form {
  max-width: 48rem;
  margin: 2rem 0;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  background: var(--sia-bg);
}
.modal-eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sia-emerald);
}
.modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--sia-darkest);
}
.modal-close {
  padding: 0.5rem;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--gray-400, #9ca3af);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
}
.modal-close:hover {
  color: var(--gray-700);
  background: var(--gray-100);
}
.modal-close--floating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}
.modal-body {
  overflow-y: auto;
  padding: 1rem 1.5rem 1.5rem;
}
.modal-body .form-card {
  box-shadow: none;
  border: none;
  padding: 0.25rem;
}

/* ---------- Privacy Policy modal ---------- */
.modal-panel--policy {
  max-width: 56rem;
  margin: 2rem 0;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.75rem 1.75rem 0;
}
.policy-header {
  flex-shrink: 0;
  padding-right: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}
.policy-logo {
  height: 2.25rem;
  width: auto;
  margin-bottom: 0.75rem;
}
.policy-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--sia-darkest);
}
.policy-updated {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.policy-scroll {
  overflow-y: auto;
  padding: 1.5rem 0 2rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-700);
}
.policy-scroll h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--sia-darkest);
}
.policy-scroll h3:first-child {
  margin-top: 0;
}
.policy-scroll p {
  margin: 0.6rem 0;
}
.policy-scroll ul {
  margin: 0.6rem 0;
  padding-left: 1.25rem;
}
.policy-scroll li {
  margin: 0.3rem 0;
}
.policy-scroll strong {
  color: var(--sia-darkest);
}
.policy-contact-block {
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--sia-bg);
  border: 1px solid var(--sia-border-2);
  border-radius: 0.75rem;
  line-height: 1.8;
}
.policy-footer-updated {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ==========================================================================
   FLOATING ACTIONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 1.25rem;
  right: 1rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.floating-actions.is-hidden {
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
}
.floating-whatsapp {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: var(--shadow-xl);
  font-size: 1.85rem;
  transition: transform 0.2s ease;
}
.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: floating-whatsapp-pulse 2.2s ease-out infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
}

@keyframes floating-whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp::before {
    animation: none;
    display: none;
  }
}

@media (min-width: 768px) {
  .floating-actions {
    right: 1.5rem;
  }
}
