/* ═══════════════════════════════════════════════════════════════
   RPA Central — Site institucional · Fluent Design (Win 11 style)
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Microsoft/Win11 blue palette */
  --blue-darker:    #00377e;
  --blue-dark:      #005ba1;
  --blue-mid:       #0067c0;
  --blue:           #0078d4;
  --blue-hover:     #006cc1;
  --blue-active:    #005fb4;
  --blue-subtle:    #cce4f7;
  --blue-light:     #ebf3fb;
  --blue-lighter:   #f0f6fd;

  /* Neutrals (Win 11 Fluent) */
  --bg:             #f3f3f3;
  --bg-solid:       #fafafa;
  --surface:        #ffffff;
  --surface-alt:    #f9f9f9;
  --surface-card:   rgba(255,255,255,.82);
  --text:           #1a1a1a;
  --text-mid:       #616161;
  --text-light:     #8a8886;
  --border:         rgba(0,0,0,.07);
  --border-solid:   #e5e5e5;
  --divider:        rgba(0,0,0,.05);

  /* Semantic */
  --success:        #107c10;
  --success-bg:     #dff6dd;
  --success-border: #a3d977;
  --warning:        #c05005;
  --warning-bg:     #fff4ce;
  --error:          #c50f1f;
  --error-bg:       #fde7e9;
  --purple:         #8764b8;

  /* Gradients */
  --gradient:       linear-gradient(145deg, #003f8a 0%, #005ba1 40%, #0078d4 100%);
  --gradient-subtle:linear-gradient(145deg, #ebf3fb 0%, #f5f9ff 100%);
  --gradient-hero:  linear-gradient(135deg, #00377e 0%, #0063b1 45%, #0078d4 80%, #1490df 100%);

  /* Shadows — Win11 layered depth */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 2px 4px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 8px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-md:  0 8px 24px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.05);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.10), 0 6px 16px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.07);
  --shadow-blue:0 8px 28px rgba(0,120,212,.30), 0 2px 8px rgba(0,120,212,.15);

  /* Radius — Win11 (rounded) */
  --r-xs: .25rem;   /*  4px */
  --r-sm: .375rem;  /*  6px */
  --r:    .75rem;   /* 12px */
  --r-md: 1rem;     /* 16px */
  --r-lg: 1.25rem;  /* 20px */
  --r-xl: 1.5rem;   /* 24px */
  --r-2xl:2rem;     /* 32px */
  --r-pill:999px;

  /* Legacy aliases (keep backward compat) */
  --radius-sm: var(--r-sm);
  --radius:    var(--r);
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-2xl);

  /* Timing */
  --ease:   cubic-bezier(.4,0,.2,1);
  --t-fast: .15s;
  --t:      .22s;
  --t-slow: .35s;
  --transition: var(--t) var(--ease);

  /* Layout */
  --max-w:  1160px;
  --nav-h:  60px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Container ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.75rem; }

/* ════════════════════════════════════════════════════════════
   NAVBAR — Mica material (Win 11)
   ════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(40px);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 16px rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.04);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo::after {
  content: 'BETA';
  font-size: .52rem;
  font-weight: 700;
  background: #F59E0B;
  color: #7A3E00;
  padding: .15rem .42rem;
  border-radius: .25rem;
  letter-spacing: .06em;
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
}
.nav-logo .logo-img { height: 38px; width: auto; display: block; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: .125rem; margin-left: .5rem; }
.nav-links a {
  color: var(--text-mid); font-size: .88rem; font-weight: 500;
  padding: .35rem .75rem; border-radius: var(--r-sm);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,.045); }
.nav-links a.active {
  color: var(--blue); background: var(--blue-light);
  font-weight: 600;
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none; border: none;
  padding: .375rem; border-radius: var(--r-sm);
  color: var(--text-mid); cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.nav-toggle:hover { background: rgba(0,0,0,.05); }
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-solid);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.75rem 1.5rem;
  z-index: 999;
  flex-direction: column; gap: .25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-mid); font-size: .95rem; font-weight: 500;
  padding: .6rem .875rem; border-radius: var(--r);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-mobile a:hover { color: var(--text); background: rgba(0,0,0,.045); }
.nav-mobile a.active { color: var(--blue); background: var(--blue-light); font-weight: 600; }
.nav-mobile .mobile-actions {
  display: flex; flex-direction: column; gap: .5rem;
  margin-top: .875rem; padding-top: .875rem;
  border-top: 1px solid var(--border-solid);
}
.nav-mobile .mobile-actions .btn { text-align: center; width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════════════
   BUTTONS — Win 11 Fluent
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem; font-size: .875rem; font-weight: 600;
  padding: .5rem 1.125rem;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: all var(--t) var(--ease);
  text-decoration: none; white-space: nowrap; line-height: 1.4;
  letter-spacing: -.01em;
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; flex-shrink: 0; }
.btn-primary {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover); border-color: var(--blue-hover);
  text-decoration: none; box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-secondary {
  background: var(--surface); color: var(--text);
  border-color: rgba(0,0,0,.12);
}
.btn-secondary:hover {
  background: var(--surface-alt); border-color: rgba(0,0,0,.2);
  text-decoration: none; transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-outline-white {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.7);
  text-decoration: none;
}
.btn-white {
  background: #fff; color: var(--blue-dark);
  border-color: #fff; font-weight: 700;
}
.btn-white:hover {
  background: var(--blue-lighter); border-color: var(--blue-lighter);
  text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.btn-ghost { background: transparent; color: var(--blue); border-color: transparent; }
.btn-ghost:hover { background: var(--blue-light); text-decoration: none; }
.btn-sm  { font-size: .8rem; padding: .35rem .875rem; }
.btn-lg  { font-size: 1rem; padding: .75rem 1.75rem; border-radius: var(--r); }
.btn-xl  { font-size: 1.05rem; padding: .875rem 2rem; border-radius: var(--r); font-weight: 700; }

/* ── Page offset ────────────────────────────────────────────── */
.page-body { padding-top: var(--nav-h); }

/* ════════════════════════════════════════════════════════════
   HERO — Light + illustration (flagship banner)
   ════════════════════════════════════════════════════════════ */
.hero {
  background: var(--surface);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
/* Decorative shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,120,212,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(0,91,161,.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-content {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue-light);
  border: 1px solid var(--blue-subtle);
  color: var(--blue-mid); font-size: .78rem; font-weight: 700;
  padding: .3rem .875rem; border-radius: var(--r-pill);
  margin-bottom: 1.5rem; letter-spacing: .01em;
}
.hero-eyebrow svg { width: 13px; height: 13px; stroke: var(--blue); stroke-width: 2.5; fill: none; }
.hero-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -.03em;
}
.hero-title .accent { color: var(--blue); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.72; margin-bottom: 2rem; max-width: 480px;
}
.hero-actions {
  display: flex; align-items: center;
  gap: .875rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.hero-trust {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: .375rem;
  font-size: .8rem; color: var(--text-light);
}
.hero-trust-item svg { width: 14px; height: 14px; stroke: var(--success); stroke-width: 2.5; fill: none; }

/* ── Illustration wrapper ────────────────────────────────────── */
.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.hero-illustration svg { width: 100%; max-width: 580px; }

/* Floating metric cards on illustration */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--r);
  padding: .75rem 1rem;
  box-shadow: var(--shadow-lg);
  font-size: .82rem;
}
.hero-float-card.card-roi {
  bottom: 10%; right: -5%;
  min-width: 165px;
}
.hero-float-card.card-notif {
  top: 8%; left: -4%;
  min-width: 200px;
}
.float-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); margin-bottom: .375rem; }
.float-value { font-size: 1.3rem; font-weight: 800; color: var(--success); letter-spacing: -.02em; }
.float-sub   { font-size: .72rem; color: var(--text-mid); margin-top: .15rem; }
.float-row   { display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; }
.float-dot   { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.float-row-label { font-size: .78rem; color: var(--text-mid); flex: 1; }
.float-row-val   { font-size: .78rem; font-weight: 700; color: var(--text); }

/* ════════════════════════════════════════════════════════════
   PAGE HEADER (inner pages) — gradient with SVG decoration
   ════════════════════════════════════════════════════════════ */
.page-header-section {
  background: var(--gradient-hero);
  padding: 4.5rem 0 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(255,255,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 5%  90%, rgba(0,30,80,.3)      0%, transparent 60%);
  pointer-events: none;
}
.page-header-inner {
  position: relative; z-index: 1;
  text-align: center;
  padding-bottom: 3.5rem;
}
.page-header-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9);
  font-size: .75rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase;
  padding: .3rem .875rem; border-radius: var(--r-pill);
  margin-bottom: 1.125rem;
}
.page-header-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700; color: #fff;
  margin-bottom: .75rem; letter-spacing: -.03em; line-height: 1.2;
}
.page-header-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.78);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}
/* Wave divider at bottom of header */
.page-header-wave {
  display: block; width: 100%;
  margin-bottom: -1px;
  line-height: 0;
}
.page-header-wave svg { display: block; width: 100%; }

/* ════════════════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════════════════ */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--gradient-hero); color: #fff; }
.section-subtle { background: var(--bg-solid); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-light);
  padding: .275rem .8rem; border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.section-dark .section-eyebrow { color: var(--blue-subtle); background: rgba(255,255,255,.12); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700; color: var(--text);
  line-height: 1.22; margin-bottom: .75rem; letter-spacing: -.025em;
}
.section-dark .section-title { color: #fff; }
.section-sub {
  font-size: 1.025rem; color: var(--text-mid);
  max-width: 580px; margin: 0 auto; line-height: 1.72;
}
.section-dark .section-sub { color: rgba(255,255,255,.75); }

/* ════════════════════════════════════════════════════════════
   CARDS — Win 11 Fluent
   ════════════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-solid);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  opacity: 0; transition: opacity var(--t) var(--ease);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,120,212,.2);
  transform: translateY(-3px);
}
.feature-card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--blue); stroke-width: 2; fill: none; }
.card-icon.green  { background: var(--success-bg); }
.card-icon.green svg { stroke: var(--success); }
.card-icon.amber  { background: var(--warning-bg); }
.card-icon.amber svg { stroke: var(--warning); }
.card-icon.purple { background: rgba(135,100,184,.12); }
.card-icon.purple svg { stroke: var(--purple); }
.card-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.card-text  { font-size: .875rem; color: var(--text-mid); line-height: 1.68; }

/* Dark variant */
.feature-card.dark {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.1);
}
.feature-card.dark::before { opacity: 0 !important; }
.feature-card.dark:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-3px);
}
.feature-card.dark .card-icon  { background: rgba(255,255,255,.12); }
.feature-card.dark .card-icon svg { stroke: #fff; }
.feature-card.dark .card-title { color: #fff; }
.feature-card.dark .card-text  { color: rgba(255,255,255,.72); }

/* ════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; text-align: center;
}
.stat-item {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  transition: background var(--t) var(--ease);
}
.stat-item:hover { background: rgba(255,255,255,.13); }
.stat-number {
  font-size: 2.5rem; font-weight: 800; color: #fff;
  line-height: 1; margin-bottom: .5rem; letter-spacing: -.03em;
}
.stat-number .unit { font-size: 1.1rem; font-weight: 600; opacity: .75; }
.stat-label { font-size: .875rem; color: rgba(255,255,255,.68); line-height: 1.45; }

/* ════════════════════════════════════════════════════════════
   FEATURE DETAIL — 2-col layout
   ════════════════════════════════════════════════════════════ */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem; align-items: center;
}
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }
.feature-detail-title {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 700; color: var(--text);
  margin-bottom: .875rem; line-height: 1.28; letter-spacing: -.02em;
}
.feature-detail-sub {
  font-size: .975rem; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 1.625rem;
}
.feature-checklist { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.75rem; }
.feature-check {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .9rem; color: var(--text-mid);
}
.feature-check::before {
  content: '✓';
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  background: var(--success-bg); color: var(--success);
  border-radius: 50%; font-size: .65rem; font-weight: 800;
  flex-shrink: 0; margin-top: .1rem;
}

/* Feature visual panel */
.feature-visual {
  background: var(--surface);
  border: 1px solid var(--border-solid);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════
   PLANS CARDS
   ════════════════════════════════════════════════════════════ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; align-items: start;
}
.plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border-solid);
  border-radius: var(--r-xl);
  padding: 2.25rem 2rem;
  position: relative;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  display: flex; flex-direction: column;
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
  transform: translateY(-6px);
  background: linear-gradient(180deg, var(--blue-lighter) 0%, var(--surface) 60%);
}
.plan-card.featured:hover { transform: translateY(-9px); }
.plan-badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem 1rem; border-radius: var(--r-pill);
  white-space: nowrap; box-shadow: var(--shadow-blue);
}
.plan-name {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-light); margin-bottom: .625rem;
}
.plan-price {
  font-size: 2.5rem; font-weight: 800; color: var(--text);
  line-height: 1; margin-bottom: .25rem; letter-spacing: -.04em;
}
.plan-price .currency { font-size: 1.25rem; font-weight: 600; vertical-align: top; margin-top: .4rem; display: inline-block; }
.plan-price .period   { font-size: .875rem; font-weight: 400; color: var(--text-light); letter-spacing: 0; }
.plan-desc { font-size: .875rem; color: var(--text-mid); margin-bottom: 1.5rem; line-height: 1.55; min-height: 2.5rem; }
.plan-divider { border: none; border-top: 1px solid var(--border-solid); margin: 1rem 0; }
.plan-features { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.75rem; flex: 1; }
.plan-feature  { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--text-mid); }
.plan-feature .icon-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px;
  background: var(--success-bg); color: var(--success);
  border-radius: 50%; font-size: .58rem; font-weight: 800;
  flex-shrink: 0; margin-top: .15rem;
}
.plan-feature .icon-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; color: var(--border-solid);
  flex-shrink: 0; margin-top: .15rem; font-size: .9rem;
}
.plan-cta { margin-top: auto; }
.plan-cta .btn { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ════════════════════════════════════════════════════════════ */
.compare-table-wrap {
  overflow-x: auto; border-radius: var(--r-xl);
  border: 1px solid var(--border-solid);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.compare-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.compare-table th, .compare-table td {
  padding: .875rem 1.25rem; text-align: left;
  border-bottom: 1px solid var(--border-solid);
}
.compare-table thead th {
  background: var(--bg); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-light);
}
.compare-table thead th:first-child { border-radius: var(--r-xl) 0 0 0; }
.compare-table thead th:last-child  { border-radius: 0 var(--r-xl) 0 0; }
.compare-table thead th.col-featured { color: var(--blue); background: var(--blue-lighter); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: var(--bg-solid); }
.compare-table .feature-name { color: var(--text); font-weight: 500; }
.compare-table .feature-group td {
  background: var(--bg); font-weight: 700; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .07em; color: var(--text-light);
  padding: .6rem 1.25rem;
}
.compare-table .check { color: var(--success); font-weight: 700; font-size: 1rem; }
.compare-table .cross { color: var(--border-solid); font-size: 1rem; }
.compare-table .col-featured { background: rgba(0,120,212,.025); }

/* ════════════════════════════════════════════════════════════
   FAQ accordion
   ════════════════════════════════════════════════════════════ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border-solid);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow var(--t) var(--ease);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.125rem 1.5rem;
  cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--text);
  user-select: none;
}
.faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--text-light); flex-shrink: 0; transition: transform var(--t) var(--ease); }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--blue); }
.faq-a {
  display: none; padding: 0 1.5rem 1.25rem;
  font-size: .9rem; color: var(--text-mid); line-height: 1.72;
  border-top: 1px solid var(--border-solid); padding-top: .875rem;
}
.faq-item.open .faq-a { display: block; }

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-solid);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  position: relative; overflow: hidden;
}
.testimonial-card::after {
  content: '"';
  position: absolute; top: 1rem; right: 1.5rem;
  font-size: 5rem; font-weight: 900; line-height: 1;
  color: var(--blue-light); font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial-stars {
  display: flex; gap: .2rem; margin-bottom: .875rem;
  font-size: .85rem; color: #F59E0B;
}
.testimonial-text {
  font-size: .9rem; color: var(--text-mid); line-height: 1.72;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: .875rem; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .875rem; color: var(--text); }
.testimonial-role { font-size: .78rem; color: var(--text-light); }

/* ════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--gradient-hero);
  padding: 6rem 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(0,63,138,.6) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(255,255,255,.04) 0%, transparent 50%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800; margin-bottom: 1rem; line-height: 1.2; letter-spacing: -.03em;
}
.cta-sub { font-size: 1.05rem; color: rgba(255,255,255,.78); margin-bottom: 2.25rem; line-height: 1.65; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   CONTACT FORM
   ════════════════════════════════════════════════════════════ */
.contact-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; align-items: start; }
.contact-form-card {
  background: var(--surface); border: 1px solid var(--border-solid);
  border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  padding: .625rem 1rem;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--r);
  font-size: .9rem; font-family: inherit;
  color: var(--text); background: var(--surface);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,120,212,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-msg {
  padding: .875rem 1.125rem; border-radius: var(--r);
  font-size: .875rem; font-weight: 500; display: none; margin-bottom: 1.25rem;
}
.form-msg.success { background: var(--success-bg); color: var(--success); display: block; border: 1px solid var(--success-border); }
.form-msg.error   { background: var(--error-bg);   color: var(--error);   display: block; border: 1px solid #F6C0C5; }
.contact-channel {
  background: var(--surface); border: 1px solid var(--border-solid);
  border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 1rem;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.contact-channel:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.channel-icon {
  width: 42px; height: 42px; background: var(--blue-light);
  border-radius: var(--r); display: flex; align-items: center; justify-content: center;
  margin-bottom: .875rem;
}
.channel-icon svg { width: 20px; height: 20px; stroke: var(--blue); stroke-width: 2; fill: none; }
.channel-icon.green { background: var(--success-bg); }
.channel-icon.green svg { stroke: var(--success); }
.channel-icon.amber { background: var(--warning-bg); }
.channel-icon.amber svg { stroke: var(--warning); }
.channel-title { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.channel-text  { font-size: .82rem; color: var(--text-mid); line-height: 1.55; }
.channel-link  { font-size: .82rem; color: var(--blue); font-weight: 600; margin-top: .5rem; display: block; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer { background: #111; color: #bbb; padding: 4rem 0 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
.footer-logo {
  display: flex; align-items: center;
  text-decoration: none; margin-bottom: 1rem;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo .logo-img { height: 30px; width: auto; display: block; }
.footer-desc  { font-size: .85rem; color: #888; line-height: 1.72; max-width: 260px; margin-bottom: 1.5rem; }
.footer-col-title { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .875rem; color: #888; text-decoration: none; transition: color var(--t-fast) var(--ease); }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #222; padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: #666;
}
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* ════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-3px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-illustration { justify-content: center; }
  .hero-float-card.card-roi   { right: 0; }
  .hero-float-card.card-notif { left: 0; }
  .feature-detail,
  .feature-detail.reverse { grid-template-columns: 1fr; gap: 2.5rem; direction: ltr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-secondary { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .nav-inner  { padding: 0 1rem; }
  .nav-logo .logo-img { height: 26px; }
  .section { padding: 2.75rem 0; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-float-card { display: none; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-header-section { padding: 3.5rem 0 0; }
  .plan-card { padding: 1.5rem 1.25rem; }
  .plans-grid { max-width: 100%; }
  .compare-table { font-size: .78rem; }
  .compare-table th, .compare-table td { padding: .625rem .875rem; }
  .feature-detail, .feature-detail.reverse { gap: 2rem; }
  .feature-visual { padding: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════════
   Language Switcher — shared across site & app navbars
   ══════════════════════════════════════════════════════════════ */

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* ── Trigger button ── */
.ls-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: .375rem;
  padding: .25rem .5rem;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-mid);
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  line-height: 1;
}
.ls-btn:hover {
  background: var(--blue-light);
  border-color: var(--border-solid);
  color: var(--blue);
}
.ls-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.ls-flag { font-size: .95rem; line-height: 1; }
.ls-name { font-size: .76rem; }
.ls-caret {
  opacity: .55;
  transition: transform .2s;
  flex-shrink: 0;
}
.ls-btn[aria-expanded="true"] .ls-caret { transform: rotate(180deg); }

/* ── Dropdown ── */
.ls-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--surface);
  border: 1px solid var(--border-solid);
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  padding: .35rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-6px) scale(.97);
  pointer-events: none;
  transition: opacity .15s, transform .15s;
}
.ls-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Options ── */
.ls-option {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: .3rem;
  padding: .45rem .6rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background .12s;
}
.ls-option:hover { background: var(--blue-light); color: var(--blue); }
.ls-option.active { background: var(--blue-lighter); color: var(--blue); font-weight: 600; }
.ls-opt-flag { font-size: .9rem; flex-shrink: 0; }
.ls-opt-name { flex: 1; }
.ls-opt-check { color: var(--blue); flex-shrink: 0; }

/* ── Dark theme variant (app navbar, admin) ── */
.ls-dark .ls-btn {
  color: #94A3B8;
  border-color: transparent;
}
.ls-dark .ls-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: #F1F5F9;
}
.ls-dark .ls-dropdown {
  background: #1E293B;
  border-color: #334155;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.ls-dark .ls-option { color: #CBD5E1; }
.ls-dark .ls-option:hover { background: rgba(255,255,255,.06); color: #F1F5F9; }
.ls-dark .ls-option.active { background: rgba(0,120,212,.15); color: #90C3F5; }
.ls-dark .ls-opt-check { color: #90C3F5; }

/* ── Mobile: hide label, keep flag ── */
@media (max-width: 600px) {
  .ls-name { display: none; }
  .ls-btn { padding: .25rem .35rem; }
}

/* ── iOS: evita zoom automático em inputs com font-size < 16px ── */
@media (max-width: 600px) {
  input, select, textarea { font-size: 16px !important; }
}
