/* ============================================================
   GNUTECA – Stylesheet Principal
   Design System: Institucional + Moderno
   Paleta: Azul-marinho #0d3b6e | Verde GNU #2e7d32 | Âmbar #f59e0b
============================================================ */

/* ---- RESET & BASE ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --blue-900: #0a2a52;
  --blue-800: #0d3b6e;
  --blue-700: #1a4f88;
  --blue-600: #1e60a3;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --green-800: #1b5e20;
  --green-700: #2e7d32;
  --green-600: #388e3c;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;

  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-100: #fef3c7;

  --gray-950: #0a0a0f;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* Semantic */
  --primary:       var(--blue-800);
  --primary-dark:  var(--blue-900);
  --primary-light: var(--blue-100);
  --secondary:     var(--green-700);
  --accent:        var(--amber-500);
  --text:          var(--gray-900);
  --text-muted:    var(--gray-600);
  --border:        var(--gray-200);
  --bg:            var(--white);
  --bg-soft:       var(--gray-50);

  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Merriweather', Georgia, serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container: 1200px;
  --radius-sm:  0.375rem;
  --radius:     0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow:    0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl:0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transitions */
  --transition: 200ms ease;
  --transition-slow: 400ms ease;

  /* Sections */
  --section-py: var(--space-24);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ---- UTILS ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.section-header p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
}
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgb(255 255 255 / 0.75); }

.section-tag {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.section-tag--light {
  color: var(--green-100);
  background: rgb(46 125 50 / 0.2);
  border-color: rgb(46 125 50 / 0.4);
}

/* ---- BUTTONS --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  outline-offset: 3px;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.btn--primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--green-800);
  border-color: var(--green-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--secondary:hover, .btn--secondary:focus-visible {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--primary);
  color: var(--white);
}

.btn--ghost {
  background: rgb(255 255 255 / 0.1);
  color: var(--white);
  border-color: rgb(255 255 255 / 0.3);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgb(255 255 255 / 0.2);
  border-color: rgb(255 255 255 / 0.6);
}

.btn--lg { padding: 1rem 2rem; font-size: var(--text-lg); border-radius: var(--radius-md); }
.btn--sm { padding: 0.5rem 1rem; font-size: var(--text-sm); }
.btn--block { width: 100%; }

/* ====================================================
   HEADER / NAV
===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}
.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.header.scrolled .nav__link { color: var(--gray-700); }
.header.scrolled .nav__link:hover { color: var(--primary); }
.header.scrolled .nav__link--cta { color: var(--white) !important; }
.header.scrolled .nav__logo-text { color: var(--primary); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img {
  width: 44px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.15));
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav__link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgb(255 255 255 / 0.9);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--white); background: rgb(255 255 255 / 0.1); }
.nav__link--cta {
  background: var(--secondary);
  color: var(--white) !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600;
}
.nav__link--cta:hover { background: var(--green-800) !important; transform: translateY(-1px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius);
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.header.scrolled .nav__toggle span { background: var(--gray-700); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__shape {
  position: absolute;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.03);
}
.hero__shape--1 { width: 600px; height: 600px; top: -200px; right: -200px; }
.hero__shape--2 { width: 400px; height: 400px; bottom: -100px; left: -100px; }
.hero__shape--3 { width: 200px; height: 200px; top: 40%; right: 30%; background: rgb(46 125 50 / 0.08); }

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-20);
}

.hero__content { position: relative; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--amber-500);
  background: rgb(245 158 11 / 0.12);
  border: 1px solid rgb(245 158 11 / 0.25);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--amber-500);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: var(--space-6);
}
.hero__title em {
  font-style: normal;
  color: var(--amber-500);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgb(255 255 255 / 0.8);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.hero__tags span {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgb(255 255 255 / 0.7);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.15);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

/* Hero Card */
.hero__visual { position: relative; }

.hero__card {
  background: rgba(255 255 255 / 0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-xl);
}

.hero__card--main { padding: var(--space-5); }

.hero__card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.hero__card-dots { display: flex; gap: 6px; }
.hero__card-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.3);
}
.hero__card-header > span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgb(255 255 255 / 0.9);
}

.hero__card-body { display: flex; flex-direction: column; gap: var(--space-3); }

.hero__card-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.03);
  transition: background var(--transition);
}
.hero__card-row--active { background: rgb(46 125 50 / 0.15); }
.hero__card-row--active:hover { background: rgb(46 125 50 / 0.2); }
.hero__card-icon { font-size: 1.25rem; flex-shrink: 0; }
.hero__card-row > div { flex: 1; }
.hero__card-row strong { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--white); }
.hero__card-row small { font-size: var(--text-xs); color: rgb(255 255 255 / 0.55); }
.hero__card-status { font-size: var(--text-sm); font-weight: 700; flex-shrink: 0; }
.hero__card-status--ok { color: #4ade80; }

.hero__card--mini {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  text-align: center;
}
.hero__card--mini strong { font-size: var(--text-2xl); font-weight: 800; color: var(--white); }
.hero__card--mini span  { font-size: var(--text-xs); color: rgb(255 255 255 / 0.65); font-weight: 500; }
.hero__card--mini-1 { bottom: -24px; left: -32px; }
.hero__card--mini-2 { top: -16px; right: -24px; }

/* ====================================================
   NUMBERS
===================================================== */
.numbers {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-12);
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.numbers__item { padding: var(--space-4); }
.numbers__value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}
.numbers__value {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.numbers__unit {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--secondary);
}
.numbers__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ====================================================
   AUDIENCES
===================================================== */
.audiences {
  padding-block: var(--section-py);
  background: var(--bg-soft);
}

.audiences__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.aud-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}
.aud-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.aud-card--mgr {
  border-top: 4px solid var(--primary);
}
.aud-card--lib {
  border-top: 4px solid var(--secondary);
}

.aud-card__icon { width: 48px; height: 48px; }
.aud-card__icon svg { width: 100%; height: 100%; }

.aud-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--gray-900);
}
.aud-card__lead {
  color: var(--text-muted);
  line-height: 1.7;
}

.aud-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.aud-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-700);
}
.aud-card__list li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--secondary);
}

/* ====================================================
   FEATURES
===================================================== */
.features {
  padding-block: var(--section-py);
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feat-card {
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition-slow);
  opacity: 0;
  transform: translateY(24px);
}
.feat-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feat-card__icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.feat-card__icon svg { width: 26px; height: 26px; }

.feat-card__icon--blue   { background: var(--blue-50);   color: var(--blue-700); }
.feat-card__icon--green  { background: var(--green-50);  color: var(--green-700); }
.feat-card__icon--purple { background: #f3e8ff; color: #7c3aed; }
.feat-card__icon--amber  { background: var(--amber-100); color: var(--amber-600); }
.feat-card__icon--teal   { background: #ccfbf1; color: #0f766e; }
.feat-card__icon--rose   { background: #ffe4e6; color: #e11d48; }
.feat-card__icon--indigo { background: #e0e7ff; color: #4338ca; }
.feat-card__icon--cyan   { background: #cffafe; color: #0891b2; }
.feat-card__icon--orange { background: #fff7ed; color: #ea580c; }

.feat-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}
.feat-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ====================================================
   MODULES
===================================================== */
.modules {
  padding-block: var(--section-py);
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
}

.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.mod-card {
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  gap: var(--space-5);
  transition: all var(--transition-slow);
  backdrop-filter: blur(4px);
}
.mod-card:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.2);
  transform: translateY(-2px);
}

.mod-card__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 900;
  color: rgb(255 255 255 / 0.12);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3rem;
}

.mod-card__content { flex: 1; }
.mod-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.mod-card p {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.65);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.mod-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mod-card li {
  font-size: var(--text-xs);
  color: rgb(255 255 255 / 0.55);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.mod-card li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  background: var(--green-600);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ====================================================
   STANDARDS
===================================================== */
.standards {
  padding-block: var(--section-py);
  background: var(--bg-soft);
}

.standards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.std-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-slow);
}
.std-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.std-card__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  font-family: 'Courier New', monospace;
}

.std-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}
.std-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.standards__stack {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
}
.standards__stack h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-5);
}
.standards__stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}
.standards__stack-tags span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

/* ====================================================
   CASE
===================================================== */
.case {
  padding-block: var(--section-py);
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
}

.case__layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.case__featured {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
}

.case__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.case__featured h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}
.case__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.case__location svg { width: 16px; height: 16px; flex-shrink: 0; }

.case__metrics {
  display: flex;
  gap: var(--space-6);
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}
.case__metric { text-align: center; flex: 1; }
.case__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--primary);
}
.case__metric span { font-size: var(--text-xs); color: var(--text-muted); font-weight: 500; }

.case__featured > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.case__quote {
  background: var(--blue-50);
  border-left: 4px solid var(--primary);
  padding: var(--space-6);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-bottom: var(--space-6);
}
.case__quote p {
  font-size: var(--text-lg);
  color: var(--gray-800);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--space-3);
}
.case__quote cite {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
}

.case__results h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}
.case__results ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.case__results li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--gray-700);
}
.case__results li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
}

/* Testimonials sidebar */
.case__testimonials {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.case__testimonials h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.testimonial-card {
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  backdrop-filter: blur(4px);
}
.testimonial-card__stars { color: var(--amber-500); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.testimonial-card blockquote p {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.85);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-4);
}
.testimonial-card footer strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
}
.testimonial-card footer span {
  font-size: var(--text-xs);
  color: rgb(255 255 255 / 0.55);
}

.case__clients {
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.case__clients > p {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.65);
  margin-bottom: var(--space-3);
}
.case__clients-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.case__clients-list span {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--amber-500);
  background: rgb(245 158 11 / 0.1);
  border: 1px solid rgb(245 158 11 / 0.25);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* ====================================================
   LICENSING / PRICING
===================================================== */
.licensing {
  padding-block: var(--section-py);
  background: var(--white);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
  margin-bottom: var(--space-10);
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  transition: all var(--transition-slow);
}
.pricing-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }

.pricing-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  background: var(--blue-50);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card__tier {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--gray-900);
}

.pricing-card__price { display: flex; flex-direction: column; }
.pricing-card__amount {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--primary);
}
.pricing-card--featured .pricing-card__amount { color: var(--green-700); font-size: var(--text-3xl); }
.pricing-card__period { font-size: var(--text-sm); color: var(--text-muted); }
.pricing-card__desc { font-size: var(--text-sm); color: var(--text-muted); }

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.pricing-card__features li {
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.pricing-card__features .ok { color: var(--gray-700); }
.pricing-card__features .ok::before { content: '✓'; color: var(--secondary); font-weight: 700; }
.pricing-card__features .no { color: var(--gray-400); }
.pricing-card__features .no::before { content: '○'; }

.licensing__note {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.7;
}
.licensing__note svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ====================================================
   FAQ
===================================================== */
.faq {
  padding-block: var(--section-py);
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
}

.faq__list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq__item {
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.faq__item:hover { background: rgb(255 255 255 / 0.08); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}
.faq__question:hover { color: var(--amber-500); }
.faq__question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: rgb(255 255 255 / 0.5);
  transition: transform var(--transition);
}
.faq__question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__question[aria-expanded="true"] { color: var(--amber-500); }

.faq__answer {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.75);
  line-height: 1.8;
}
.faq__answer p { margin: 0; }

/* ====================================================
   CONTACT
===================================================== */
.contact {
  padding-block: var(--section-py);
  background: var(--bg-soft);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-16);
  align-items: start;
}

.contact__info .section-tag { margin-bottom: var(--space-4); }
.contact__info h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.contact__info > p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.contact__channels { display: flex; flex-direction: column; gap: var(--space-4); }

.contact-channel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gray-900);
  transition: all var(--transition);
}
.contact-channel:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-channel--wa { border-color: #25d366; }
.contact-channel--wa:hover { border-color: #128c7e; background: #f0fff4; }
.contact-channel--addr { cursor: default; }
.contact-channel--addr:hover { transform: none; }

.contact-channel__icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  flex-shrink: 0;
}
.contact-channel__icon svg { width: 22px; height: 22px; color: var(--primary); }
.contact-channel--wa .contact-channel__icon { background: #dcfce7; }
.contact-channel--wa .contact-channel__icon svg { color: #15803d; }

.contact-channel strong { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--gray-900); }
.contact-channel span  { font-size: var(--text-sm); color: var(--text-muted); }

/* FORM */
.contact__form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}

.contact__wa-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-6);
  min-height: 320px;
}
.contact__wa-cta h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--gray-900);
  margin: 0;
}
.contact__wa-cta p {
  color: var(--gray-600);
  max-width: 360px;
  margin: 0;
}
.contact__wa-icon {
  width: 72px;
  height: 72px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.contact__wa-icon svg { width: 40px; height: 40px; }

.contact__form h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--gray-900);
  margin-bottom: var(--space-8);
}

.form__row { display: grid; gap: var(--space-4); }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.form__group { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }

label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}
label span { color: var(--rose-500, #e11d48); }

input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25em 1.25em;
  padding-right: 2.5rem;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(13 59 110 / 0.08);
}
input.error, select.error, textarea.error {
  border-color: #e11d48;
}
textarea { resize: vertical; min-height: 90px; }

.form__error {
  font-size: var(--text-xs);
  color: #e11d48;
  min-height: 1em;
}

.form__disclaimer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--gray-400);
  margin-top: var(--space-3);
  text-align: center;
  justify-content: center;
}
.form__disclaimer svg { width: 14px; height: 14px; flex-shrink: 0; }

.form__success {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-top: var(--space-4);
}
.form__success svg { width: 28px; height: 28px; color: var(--secondary); flex-shrink: 0; }
.form__success strong { display: block; font-weight: 700; color: var(--green-800); }
.form__success span  { font-size: var(--text-sm); color: var(--green-700); }

/* ====================================================
   FOOTER
===================================================== */
.footer {
  background: var(--gray-950);
  padding-top: var(--space-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.footer__brand img {
 /* margin-bottom: var(--space-4);
  filter: brightness(0) invert(1) opacity(0.9);*/
}
.footer__brand p {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.5);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: var(--space-3);
}
.footer__gnu {
  font-size: var(--text-xs);
  color: var(--green-600) !important;
}

.footer__nav h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(255 255 255 / 0.5);
  margin-bottom: var(--space-5);
}
.footer__nav ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__nav a {
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.65);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-6);
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: var(--text-xs);
  color: rgb(255 255 255 / 0.35);
}
.footer__bottom a { color: rgb(255 255 255 / 0.55); text-decoration: none; }
.footer__bottom a:hover { color: var(--white); }

.footer__domains {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: rgb(255 255 255 / 0.35);
}

/* ====================================================
   BACK TO TOP
===================================================== */
.back-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  z-index: 50;
}
.back-top svg { width: 20px; height: 20px; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-xl); }

/* ====================================================
   RESPONSIVE – Tablet (< 1024px)
===================================================== */
@media (max-width: 1023px) {
  :root { --section-py: 4rem; }

  .hero__container { grid-template-columns: 1fr; gap: var(--space-12); text-align: center; }
  .hero__subtitle { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__tags { justify-content: center; }
  .hero__visual { max-width: 480px; margin-inline: auto; }
  .hero__card--mini-1 { left: -12px; }
  .hero__card--mini-2 { right: -12px; }

  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }

  .audiences__grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }

  .modules__grid { grid-template-columns: repeat(2, 1fr); }

  .standards__grid { grid-template-columns: repeat(2, 1fr); }

  .case__layout { grid-template-columns: 1fr; }
  .case__testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .case__testimonials h3 { grid-column: 1 / -1; }
  .case__clients { grid-column: 1 / -1; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }

  .contact__grid { grid-template-columns: 1fr; gap: var(--space-10); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer__brand { grid-column: 1 / -1; }
}

/* ====================================================
   RESPONSIVE – Mobile (< 768px)
===================================================== */
@media (max-width: 767px) {
  :root {
    --section-py: 3rem;
    --container: 100%;
  }

  .container { padding-inline: var(--space-4); }

  /* NAV */
  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--gray-900);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4);
    gap: var(--space-1);
    transform: translateY(-110%);
    transition: transform var(--transition-slow);
    box-shadow: var(--shadow-2xl);
    z-index: 99;
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__link { color: rgb(255 255 255 / 0.85) !important; padding: var(--space-3) var(--space-4); }
  .nav__link--cta { text-align: center; margin-top: var(--space-2); }
  .nav__toggle { display: flex; }

  /* HERO */
  .hero { padding-top: 72px; }
  .hero__container { padding-block: var(--space-12); }
  .hero__title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__card--mini { display: none; }

  /* NUMBERS */
  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .numbers__value { font-size: var(--text-4xl); }

  /* AUDIENCES */
  .aud-card { padding: var(--space-6); }

  /* FEATURES */
  .features__grid { grid-template-columns: 1fr; }

  /* MODULES */
  .modules__grid { grid-template-columns: 1fr; }
  .mod-card { flex-direction: column; gap: var(--space-3); }
  .mod-card__number { font-size: var(--text-2xl); }

  /* STANDARDS */
  .standards__grid { grid-template-columns: 1fr; }

  /* CASE */
  .case__metrics { flex-direction: column; gap: var(--space-4); }
  .case__testimonials { display: flex; flex-direction: column; }

  /* PRICING */
  .pricing-card { padding: var(--space-6); }

  /* FAQ */
  .faq__question { padding: var(--space-4); font-size: var(--text-sm); }
  .faq__answer { padding: 0 var(--space-4) var(--space-4); }

  /* FORM */
  .form__row--2 { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: var(--space-6); }

  /* FOOTER */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* BACK TOP */
  .back-top { bottom: var(--space-4); right: var(--space-4); }
}

/* ====================================================
   MOTION PREFERENCES
===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .feat-card { opacity: 1 !important; transform: none !important; }
}
