/* ============================================================
   ALFA DASH — Design System v2.0 | Futuristic Dark Theme
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary:   #05080f;
  --bg-secondary: #090d1a;
  --bg-tertiary:  #0d1325;
  --bg-card:      rgba(9, 16, 32, 0.75);
  --glass:        rgba(10, 22, 50, 0.55);

  --blue:         #3a7cc1;
  --blue-light:   #5a9fd4;
  --blue-bright:  #7ab8e8;
  --blue-dim:     #1e3a5f;
  --blue-glow:    rgba(58, 124, 193, 0.30);
  --blue-glow-hi: rgba(90, 159, 212, 0.55);

  --text:         #dce8f5;
  --text-muted:   #7a9abf;
  --text-dim:     #3d5570;
  --white:        #ffffff;

  --border:       rgba(58, 124, 193, 0.22);
  --border-hi:    rgba(90, 159, 212, 0.45);

  --success:      #22c55e;
  --error:        #ef4444;

  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --transition:   0.28s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--bg-primary);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--blue-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

.container { width: min(1180px, 94%); margin: 0 auto; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  line-height: 1.18;
  color: var(--white);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin-bottom: .9rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== PARTICLE CANVAS ===== */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .7;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5, 8, 15, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
  /* overflow:visible garante que o menu absolute mobile não seja cortado */
  overflow: visible;
}
.site-header.scrolled {
  background: rgba(5, 8, 15, 0.97);
  box-shadow: 0 4px 40px rgba(0,0,0,.6);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}
.logo img {
  width: 46px; height: 46px;
  filter: drop-shadow(0 0 10px var(--blue-glow-hi));
}
.logo strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--white);
}
.logo span { color: var(--blue-light); }

.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav > a:not(.btn) {
  color: var(--text-muted);
  font-weight: 500;
  font-size: .9rem;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: .2px;
}
.main-nav > a:not(.btn):hover,
.main-nav > a:not(.btn).active { color: var(--white); background: rgba(58,124,193,.12); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: .2px;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

/* primary */
.btn:not(.btn-secondary):not(.btn-outline):not(.btn-ghost) {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 22px var(--blue-glow);
}
.btn:not(.btn-secondary):not(.btn-outline):not(.btn-ghost):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 34px var(--blue-glow-hi);
}
/* secondary */
.btn-secondary {
  background: transparent;
  color: var(--blue-light);
  border: 1px solid var(--border-hi);
}
.btn-secondary:hover {
  background: rgba(58,124,193,.12);
  border-color: var(--blue-light);
  color: var(--white);
  transform: translateY(-2px);
}
/* outline */
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--blue-light);
  color: var(--white);
  background: rgba(58,124,193,.1);
}
/* ghost */
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.1);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.btn-nav   { padding: 8px 15px; font-size: .86rem; }
.btn-small { padding: 7px 14px; font-size: .85rem; }
.btn-large { padding: 13px 32px; font-size: 1.02rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}
/* grid bg */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,124,193,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,124,193,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 1;
  pointer-events: none;
}
/* radial glow center */
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(58,124,193,.18) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity .85s ease, transform 1s ease, visibility .85s;
  display: flex;
  align-items: center;
  z-index: 2;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 3;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.48) saturate(1.2);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,8,15,.72) 30%, rgba(9,20,55,.55) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  z-index: 4;
}
/* Hero without side panel — full width, centered text */
.hero-single {
  max-width: 780px;
  padding: 120px 0 90px;
  position: relative;
  z-index: 4;
}
.hero-single .hero-subtitle { max-width: 640px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(58,124,193,.1);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.13;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }

/* Hero Panel */
.hero-panel {
  background: var(--glass);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(14px);
  animation: panelGlow 3.5s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.panel-dots { display: flex; gap: 5px; }
.panel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--text-dim);
}
.panel-dot:nth-child(1) { background: #ef4444; }
.panel-dot:nth-child(2) { background: #f59e0b; }
.panel-dot:nth-child(3) { background: var(--success); }
.panel-title { font-size: .78rem; color: var(--text-muted); margin-left: 4px; }

.panel-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(58,124,193,.14);
}
.panel-stat:last-child { border-bottom: none; padding-bottom: 0; }
.panel-stat-icon {
  width: 42px; height: 42px;
  background: rgba(58,124,193,.14);
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.panel-stat-info strong {
  display: block;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.panel-stat-info span { color: var(--text-muted); font-size: .8rem; }

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dots button {
  width: 7px; height: 7px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.slider-dots button.active {
  background: var(--blue-light);
  width: 28px;
  box-shadow: 0 0 10px var(--blue-glow-hi);
  border-color: var(--blue-light);
}

/* ===== SECTIONS ===== */
.section { padding: 74px 0; position: relative; z-index: 1; }
.section.alt { background: rgba(9,13,26,.8); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: .7rem; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1rem; }
.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* Page hero */
.page-hero {
  padding: 72px 0 54px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,124,193,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,124,193,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-hero h1 { position: relative; }
.page-hero p { color: var(--text-muted); margin-top: 12px; max-width: 560px; position: relative; }

/* ===== GRIDS ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2, .two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hi);
  box-shadow: 0 22px 44px rgba(0,0,0,.35), 0 0 24px var(--blue-glow);
}
.card:hover::after { opacity: 1; }
.card h2, .card h3 { color: var(--white); }
.card p, .card li { color: var(--text-muted); }
.card ul { margin-top: 10px; display: grid; gap: 6px; }
.card ul li { padding-left: 16px; position: relative; font-size: .9rem; }
.card ul li::before { content: '›'; position: absolute; left: 0; color: var(--blue-light); }

/* Feature card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--border-hi);
  box-shadow: 0 0 32px var(--blue-glow);
  transform: translateY(-5px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, rgba(58,124,193,.2), rgba(90,159,212,.1));
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  background: rgba(58,124,193,.3);
  border-color: var(--blue-light);
  box-shadow: 0 0 14px var(--blue-glow);
}
.feature-card h3 { color: var(--white); margin-bottom: 9px; }
.feature-card p { color: var(--text-muted); font-size: .93rem; line-height: 1.65; }

/* Post cards */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(0,0,0,.35);
}
.post-card-img {
  overflow: hidden;
  height: 200px;
}
.post-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.85) saturate(.8);
  transition: filter .5s ease, transform .5s ease;
}
.post-card:hover .post-card-img img {
  filter: brightness(1) saturate(1.1);
  transform: scale(1.05);
}
.post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card-body time {
  font-size: .76rem;
  color: var(--blue-light);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.post-card-body h2,
.post-card-body h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.post-card-body p { color: var(--text-muted); font-size: .9rem; flex: 1; margin-bottom: 16px; }

/* Stat cards */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.stat-card:hover { border-color: var(--border-hi); box-shadow: 0 0 24px var(--blue-glow); }
.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-number em { font-style: normal; color: var(--blue-light); }
.stat-card p { color: var(--text-muted); margin-top: 8px; font-size: .88rem; }

/* ===== VIDEO ===== */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px var(--blue-glow);
}
.video-wrap iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:0; }

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 33px;
  left: 13%; right: 13%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--blue));
  opacity: .45;
}
.step-item {
  text-align: center;
  padding: 18px 14px 22px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 0 22px var(--blue-glow-hi);
  transition: all var(--transition);
}
.step-item:hover .step-number { transform: scale(1.1); box-shadow: 0 0 34px var(--blue-glow-hi); }
.step-item h4 { color: var(--white); margin-bottom: 6px; font-size: .98rem; }
.step-item p { color: var(--text-muted); font-size: .84rem; }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, rgba(10,22,55,.95), rgba(5,10,22,.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(58,124,193,.2) 0%, transparent 65%);
}
.cta-block h2 { color: var(--white); position: relative; margin-bottom: 10px; }
.cta-block p  { color: var(--text-muted); position: relative; margin-bottom: 26px; }
.cta-block .hero-cta { position: relative; }

/* Linx section */
.linx {
  background: linear-gradient(135deg, rgba(10,20,50,.92), rgba(5,10,28,.95));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.linx h2 { color: var(--white); }
.linx p { color: var(--text-muted); max-width: 640px; }
.linx .hero-cta { margin-top: 24px; }

/* ===== CONTACT FORM ===== */
.contact-form { display: grid; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .84rem; color: var(--text-muted); font-weight: 500; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(9,16,32,.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 42px; height: 42px;
  background: rgba(58,124,193,.14);
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item strong { display: block; color: var(--white); font-size: .9rem; margin-bottom: 3px; }
.contact-info-item span { color: var(--text-muted); font-size: .88rem; }

/* ===== TABLES ===== */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  background: rgba(58,124,193,.1);
  color: var(--blue-bright);
  font-weight: 600;
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
}
.table td { padding: 10px 12px; border: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
.table tr:hover td { background: rgba(58,124,193,.04); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.pagination a {
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: .9rem;
  transition: all var(--transition);
  background: var(--bg-card);
}
.pagination a:hover { border-color: var(--blue-light); color: var(--white); }
.pagination a.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
  position: relative;
  z-index: 1;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-light), var(--blue), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-brand p { color: var(--text-muted); font-size: .9rem; line-height: 1.75; margin-top: 14px; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  color: var(--text-muted);
  font-size: .88rem;
  display: block;
  margin-bottom: 10px;
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom small { color: var(--text-dim); font-size: .8rem; }
.footer-tech-badge {
  font-size: .75rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-tech-badge span { color: var(--blue-light); }

.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(58,124,193,.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover { background: rgba(58,124,193,.22); border-color: var(--blue-light); color: var(--white); }

/* ===== WHATSAPP ROBOT WIDGET ===== */
.wa-widget {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Speech bubble */
.wa-bubble {
  background: #ffffff;
  border-radius: 18px 18px 4px 18px;
  padding: 16px 18px 14px;
  width: 230px;
  box-shadow: 0 14px 44px rgba(0,0,0,.28), 0 0 0 1px rgba(37,211,102,.18);
  position: relative;
  opacity: 0;
  transform: translateY(14px) scale(.92);
  transform-origin: bottom right;
  transition: opacity .4s ease, transform .4s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.wa-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-bubble-close {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #bbb;
  line-height: 1;
  padding: 2px 5px;
  transition: color .2s;
}
.wa-bubble-close:hover { color: #555; }
.wa-bubble-robot {
  display: block;
  font-size: 2rem;
  margin-bottom: 6px;
  animation: waRobotBlink 3s ease-in-out infinite;
}
.wa-bubble p {
  color: #1b2640;
  font-size: .86rem;
  line-height: 1.55;
  margin: 0 16px 12px 0;
  font-family: 'Inter', sans-serif;
}
.wa-bubble-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-bubble-cta:hover { transform: scale(1.04); box-shadow: 0 4px 14px rgba(37,211,102,.4); }

/* Robot button */
.wa-btn {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.42);
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: transform .2s ease;
}
.wa-btn:hover { transform: scale(1.08); }

/* pulse ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 20px;
  border: 2px solid rgba(37,211,102,.35);
  animation: waPulse 2.4s ease-out infinite;
}

.wa-btn-robot {
  font-size: 1.9rem;
  display: block;
  animation: waFloat 3s ease-in-out infinite;
}
.wa-btn.talking .wa-btn-robot {
  animation: waTalk .45s ease-in-out infinite;
}

/* ── WA keyframes ── */
@keyframes waFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40%       { transform: translateY(-5px) rotate(-6deg); }
  60%       { transform: translateY(-5px) rotate(6deg); }
}
@keyframes waTalk {
  0%, 100% { transform: scale(1) rotate(-8deg); }
  50%       { transform: scale(1.18) rotate(8deg); }
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .65; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes waRobotBlink {
  0%, 85%, 100% { transform: scaleY(1); }
  92%            { transform: scaleY(.08); }
}

/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  background: rgba(58,124,193,.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.1rem;
}

/* ===== MISC UTILITIES ===== */
.small { max-width: 700px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.success { color: var(--success); font-weight: 500; }
.error   { color: var(--error);   font-weight: 500; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 20px; }
.mt-lg { margin-top: 36px; }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
}
.badge-blue  { background: rgba(58,124,193,.15); color: var(--blue-light); border: 1px solid var(--border); }
.badge-green { background: rgba(34,197,94,.1);  color: #4ade80; }

/* tag label */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-light);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

.reveal-up:nth-child(2) { transition-delay: .08s; }
.reveal-up:nth-child(3) { transition-delay: .16s; }
.reveal-up:nth-child(4) { transition-delay: .24s; }
.reveal-up:nth-child(5) { transition-delay: .32s; }
.reveal-up:nth-child(6) { transition-delay: .40s; }

/* ===== KEYFRAMES ===== */
@keyframes panelGlow {
  from { box-shadow: 0 0 20px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.07); }
  to   { box-shadow: 0 0 55px var(--blue-glow-hi), inset 0 1px 0 rgba(255,255,255,.14); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .25; }
}
@keyframes fadeScale {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes typewriterCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ===== TYPEWRITER ===== */
#typewriter { border-right: 2px solid var(--blue-light); padding-right: 3px; animation: typewriterCursor 1s step-end infinite; }
