/* ==========================================================================
   SmartInovaT — Main Design System & Executive Layout Architecture
   Domain: https://www.smartinovat.com/ | https://www.smartinovat.com/en/
   Themes: Dark Obsidian (default) + Executive Light Mode ([data-theme="light"])
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  /* Core Shared Palette Contract — Dark Theme */
  --bg-void: #06080d;
  --bg-obsidian: #0b0f17;
  --bg-surface: #111723;
  --bg-surface-elevated: #172030;
  --bg-glass: rgba(17, 23, 35, 0.74);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.18);
  --text-primary: #f3f6fa;
  --text-metallic: #dce3ec;
  --text-secondary: #9aa6b8;
  --text-muted: #687588;
  --accent-teal: #429a8e;
  --accent-cyan: #1db7c4;
  --accent-magenta: #c63368;
  --accent-copper: #db8a50;
  --accent-amber: #eca94c;
  --gradient-spectrum: linear-gradient(
    90deg,
    #429a8e 0%,
    #1db7c4 24%,
    #c63368 56%,
    #db8a50 80%,
    #eca94c 100%
  );

  /* Extended Surface & Contrast Tokens */
  --accent-cyan-ink: #1db7c4;
  --accent-amber-ink: #eca94c;
  --accent-magenta-ink: #f07aa3;
  --gradient-metallic: linear-gradient(180deg, #ffffff 0%, #dce3ec 52%, #8e9cb2 100%);
  --gradient-surface: linear-gradient(165deg, rgba(23, 32, 48, 0.88) 0%, rgba(11, 15, 23, 0.96) 100%);
  --bg-header: rgba(8, 11, 18, 0.78);
  --bg-header-scrolled: rgba(6, 8, 13, 0.93);
  --bg-ribbon: rgba(6, 8, 13, 0.95);
  --bg-inset: rgba(6, 8, 13, 0.68);
  --bg-footer: #04060a;
  --grid-line: rgba(255, 255, 255, 0.026);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-glow-cyan: 0 0 36px rgba(29, 183, 196, 0.16);
  --shadow-glow-spectrum: 0 16px 48px rgba(29, 183, 196, 0.12), 0 8px 32px rgba(198, 51, 104, 0.1);

  /* Typography & Geometry */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container-max: 1280px;
  --header-height: 76px;
  --ribbon-height: 36px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

/* Core Shared Palette Contract — Light Theme */
:root[data-theme="light"] {
  --bg-void: #f3f6fb;
  --bg-obsidian: #f8fafd;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #eef3f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --border-subtle: rgba(15, 23, 42, 0.10);
  --border-highlight: rgba(15, 23, 42, 0.20);
  --text-primary: #0b1220;
  --text-metallic: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Readable Ink Variants on Light Surfaces */
  --accent-cyan-ink: #0a7b86;
  --accent-amber-ink: #b4690e;
  --accent-magenta-ink: #b02154;
  --gradient-metallic: linear-gradient(180deg, #0b1220 0%, #1e293b 55%, #475569 100%);
  --gradient-surface: linear-gradient(165deg, #ffffff 0%, #f4f7fc 100%);
  --bg-header: rgba(248, 250, 253, 0.86);
  --bg-header-scrolled: rgba(255, 255, 255, 0.96);
  --bg-ribbon: #eef3f9;
  --bg-inset: #f4f7fc;
  --bg-footer: #0b101b;
  --grid-line: rgba(15, 23, 42, 0.045);
  --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-glow-cyan: 0 12px 32px rgba(29, 183, 196, 0.15);
  --shadow-glow-spectrum: 0 16px 40px rgba(29, 183, 196, 0.1), 0 8px 28px rgba(198, 51, 104, 0.08);
  color-scheme: light;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg-void);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(29, 183, 196, 0.09), transparent 65%),
    radial-gradient(ellipse 60% 45% at 88% 18%, rgba(198, 51, 104, 0.06), transparent 65%),
    radial-gradient(ellipse 60% 40% at 12% 32%, rgba(66, 154, 142, 0.06), transparent 65%);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(29, 183, 196, 0.28);
  color: var(--text-primary);
}

/* Refinamento tipográfico: ênfase em peso médio, nunca negrito pesado */
strong,
b {
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
}

/* Ícones de linha: traço fino e uniforme em todo o site */
svg[fill="none"][stroke="currentColor"] {
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--accent-cyan);
  color: #041016;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-obsidian) 0%, var(--bg-void) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(66, 154, 142, 0.35) 22%,
    rgba(29, 183, 196, 0.45) 45%,
    rgba(198, 51, 104, 0.45) 65%,
    rgba(236, 169, 76, 0.35) 82%,
    transparent 100%
  );
  opacity: 0.65;
}

/* Section Headers */
.section-header {
  max-width: 840px;
  margin-bottom: 56px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-cyan-ink);
  margin-bottom: 18px;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-spectrum);
  box-shadow: 0 0 10px var(--accent-cyan);
  flex-shrink: 0;
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.text-metallic {
  background: var(--gradient-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-spectrum {
  background: var(--gradient-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

/* ==========================================================================
   1. Top Spectral Ribbon + Glassmorphic Header + Lang/Theme Controls
   ========================================================================== */
.spectrum-bar {
  height: 1px;
  width: 100%;
  background: var(--gradient-spectrum);
  position: relative;
  z-index: 920;
}

.top-ribbon {
  background: var(--bg-ribbon);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 915;
}

.top-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--ribbon-height);
  padding-top: 4px;
  padding-bottom: 4px;
}

.top-ribbon__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-metallic);
  letter-spacing: 0.04em;
}

.top-ribbon__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px var(--accent-teal);
  flex-shrink: 0;
}

.top-ribbon__contacts {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ribbon-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ribbon-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-highlight);
  background: rgba(29, 183, 196, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 910;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--bg-header-scrolled);
  border-bottom-color: var(--border-highlight);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Brand Emblem & Metallic Logotype */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo__mark {
  width: 46px;
  height: 34px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(29, 183, 196, 0.22));
}

:root[data-theme="light"] .brand-logo__mark line,
:root[data-theme="light"] .brand-logo__mark path:last-child {
  stroke: #334155;
}

/* Logomarca aprovada (fitas + nome metalizado), recortada da arte original */
.brand-logo__mark-img {
  width: auto;
  height: 50px;
  flex-shrink: 0;
}

.brand-logo__name-img {
  display: block;
  height: 30px;
  width: auto;
  max-width: none;
}

:root[data-theme="light"] .brand-logo__name-img {
  filter: brightness(0.3) contrast(1.15);
}

.brand-logo__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}

.brand-logo__wordmark {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  background: var(--gradient-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-logo__sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
  /* centralizado sob o nome; o recuo compensa o espaçamento após a última letra */
  text-align: center;
  padding-left: 0.13em;
}

/* Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-primary);
  background: rgba(29, 183, 196, 0.08);
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1px;
  border-radius: 2px;
  background: var(--gradient-spectrum);
}

.nav-badge {
  display: inline-block;
  padding: 1px 6px;
  margin-left: 3px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--accent-cyan-ink);
  background: rgba(29, 183, 196, 0.12);
  border: 1px solid rgba(29, 183, 196, 0.28);
}

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

/* Bilingual PT | EN Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
}

.lang-switch__btn {
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}

.lang-switch__btn:hover {
  color: var(--text-primary);
}

.lang-switch__btn.is-active {
  background: var(--accent-cyan);
  color: #041016;
  box-shadow: 0 2px 8px rgba(29, 183, 196, 0.3);
}

/* Theme Toggle (Sun / Moon) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  color: var(--text-metallic);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan-ink);
  transform: translateY(-1px);
}

.theme-icon-sun {
  display: block;
}

.theme-icon-moon {
  display: none;
}

:root[data-theme="light"] .theme-icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-icon-moon {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.25s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn--primary {
  background: linear-gradient(135deg, #1db7c4 0%, #248f9e 45%, #429a8e 100%);
  color: #041016;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 26px rgba(29, 183, 196, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 12px 34px rgba(29, 183, 196, 0.42);
}

.btn--spectrum {
  position: relative;
  background: linear-gradient(var(--bg-surface-elevated), var(--bg-surface)) padding-box,
              var(--gradient-spectrum) border-box;
  border: 1px solid transparent;
  color: var(--text-primary);
  box-shadow: var(--shadow-glow-spectrum);
}

.btn--spectrum:hover {
  box-shadow: 0 16px 40px rgba(29, 183, 196, 0.22), 0 8px 28px rgba(198, 51, 104, 0.18);
}

.btn--ghost {
  background: var(--bg-surface);
  border-color: var(--border-highlight);
  color: var(--text-metallic);
}

.btn--ghost:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.btn[disabled] {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   2. Cinematic Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 35%, transparent 100%);
  pointer-events: none;
}

.hero__ambient-wave {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(1600px, 130vw);
  pointer-events: none;
  opacity: 0.28;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid rgba(29, 183, 196, 0.35);
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-metallic);
  margin-bottom: 22px;
  box-shadow: var(--shadow-glow-cyan);
}

.hero__title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.1vw, 3.55rem);
  font-weight: 500;
  line-height: 1.09;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero__positioning-box {
  position: relative;
  margin: 0 0 22px;
  padding: 20px 22px 20px 24px;
  border-radius: var(--radius-md);
  background: var(--gradient-surface);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-card);
}

.hero__positioning-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  border-radius: 4px;
  background: var(--gradient-spectrum);
}

.hero__positioning-quote {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
}

.hero__positioning-quote strong {
  color: var(--text-primary);
  font-weight: 500;
}

.hero__subcopy {
  margin: 0 0 30px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Hero Visual Frame */
.hero-visual {
  position: relative;
}

.hero-visual__frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(160deg, var(--border-highlight) 0%, var(--bg-surface) 45%, rgba(29, 183, 196, 0.22) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.hero-visual__viewport {
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: #070a10;
  aspect-ratio: 16 / 10;
}

.hero-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.hero-visual__frame:hover .hero-visual__img {
  transform: scale(1.03);
}

.hero-visual__hud-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: #f3f6fa;
}

.hud-pill--cyan {
  border-color: rgba(29, 183, 196, 0.5);
  color: #5eead4;
}

.hud-pill--amber {
  border-color: rgba(236, 169, 76, 0.5);
  color: #fcd34d;
}

.hero-visual__bridge-bar {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-secondary);
}

.bridge-node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-metallic);
  font-weight: 500;
}

.bridge-line {
  flex: 1;
  height: 1px;
  background: var(--gradient-spectrum);
  border-radius: 2px;
  position: relative;
  min-width: 32px;
}

/* 6 Verified Numbers Bar */
.metrics-strip {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.metric-card {
  position: relative;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: var(--gradient-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease;
  overflow: hidden;
}

.metric-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-spectrum);
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.metric-card:hover::after {
  opacity: 1;
}

.metric-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
  background: var(--gradient-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-card__unit {
  color: var(--accent-cyan-ink);
  -webkit-text-fill-color: var(--accent-cyan-ink);
  font-size: 0.85em;
}

.metric-card__label {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ==========================================================================
   3. Qualifications, 4 Differentiators, Timeline & Competency Matrix
   ========================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.diff-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--gradient-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease;
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.diff-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 183, 196, 0.12);
  border: 1px solid rgba(29, 183, 196, 0.3);
  color: var(--accent-cyan-ink);
}

.diff-card:nth-child(2) .diff-card__icon {
  background: rgba(198, 51, 104, 0.12);
  border-color: rgba(198, 51, 104, 0.32);
  color: var(--accent-magenta-ink);
}

.diff-card:nth-child(3) .diff-card__icon {
  background: rgba(66, 154, 142, 0.14);
  border-color: rgba(66, 154, 142, 0.34);
  color: var(--accent-teal);
}

.diff-card:nth-child(4) .diff-card__icon {
  background: rgba(236, 169, 76, 0.14);
  border-color: rgba(236, 169, 76, 0.36);
  color: var(--accent-amber-ink);
}

.diff-card__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.diff-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
}

.diff-card__desc {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.62;
  color: var(--text-secondary);
}

/* Interactive Executive Timeline */
.timeline-block {
  margin-bottom: 72px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.timeline-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-header__title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--text-primary);
}

.timeline-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
}

.timeline-filter-btn {
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.timeline-filter-btn:hover {
  color: var(--text-primary);
}

.timeline-filter-btn.is-active {
  background: var(--bg-surface);
  border-color: rgba(29, 183, 196, 0.45);
  color: var(--accent-cyan-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s var(--ease-out-expo), border-color 0.25s ease, opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-item:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 183, 196, 0.4);
}

.timeline-item--featured {
  background: var(--bg-surface-elevated);
  border-color: rgba(29, 183, 196, 0.34);
}

.timeline-item.is-hidden {
  display: none;
}

.timeline-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.timeline-item__period {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(29, 183, 196, 0.12);
  color: var(--accent-cyan-ink);
  border: 1px solid rgba(29, 183, 196, 0.28);
}

.timeline-item[data-era="digital-ai"] .timeline-item__period {
  background: rgba(198, 51, 104, 0.12);
  color: var(--accent-magenta-ink);
  border-color: rgba(198, 51, 104, 0.3);
}

.timeline-item--current .timeline-item__period {
  background: linear-gradient(90deg, rgba(66, 154, 142, 0.2), rgba(236, 169, 76, 0.22));
  color: var(--accent-amber-ink);
  border-color: rgba(236, 169, 76, 0.45);
}

.timeline-item__org {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--text-muted);
  text-align: right;
}

.timeline-item__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.32;
}

.timeline-item__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Competency Matrix */
.competency-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.competency-pillar {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--gradient-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.competency-pillar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.competency-pillar__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-primary);
}

.competency-pillar__count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  color: var(--text-metallic);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comp-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: var(--radius-xs);
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.comp-tag:hover {
  border-color: var(--border-highlight);
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
}

.comp-tag--key {
  border-color: rgba(29, 183, 196, 0.34);
  color: var(--text-metallic);
  background: rgba(29, 183, 196, 0.08);
  font-weight: 500;
}

/* ==========================================================================
   4 & 5. Editorial Solution Blocks + Peer Module Wrappers
   ========================================================================== */
.peer-module-slot {
  position: relative;
  width: 100%;
  min-height: 120px;
}

.acatech-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
}

.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 12px;
}

.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
}

.deliverables-list li strong {
  color: var(--text-primary);
}

.deliverables-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(66, 154, 142, 0.18);
  border: 1px solid rgba(66, 154, 142, 0.45);
  color: var(--accent-cyan-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
}

.editorial-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-card);
}

.editorial-figure__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #070a10;
  transition: transform 0.7s var(--ease-out-expo);
}

.editorial-figure:hover .editorial-figure__img {
  transform: scale(1.03);
}

.editorial-figure__caption {
  padding: 16px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Block B: Deep Dual Showcase */
.dual-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.solution-showcase-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.solution-showcase-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.solution-showcase-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070a10;
}

.solution-showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.solution-showcase-card:hover .solution-showcase-card__media img {
  transform: scale(1.04);
}

.solution-showcase-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(29, 183, 196, 0.45);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: #5eead4;
}

.solution-showcase-card--vision .solution-showcase-card__badge {
  border-color: rgba(198, 51, 104, 0.5);
  color: #f9a8d4;
}

.solution-showcase-card__body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.solution-showcase-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
}

.solution-showcase-card__desc {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

.solution-specs {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.solution-specs li {
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-metallic);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex-shrink: 0;
}

.solution-showcase-card--vision .spec-dot {
  background: var(--accent-magenta);
}

.solution-showcase-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Bespoke Banner */
.bespoke-banner {
  margin-top: 56px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--gradient-surface);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-glow-spectrum);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.bespoke-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-spectrum);
  z-index: 2;
}

.bespoke-banner__content {
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.bespoke-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
}

.bespoke-banner__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.bespoke-banner__art {
  position: relative;
  min-height: 260px;
  background: #07090e;
  overflow: hidden;
}

.bespoke-banner__art picture {
  display: block;
  position: absolute;
  inset: 0;
}

.bespoke-banner__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.bespoke-banner__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 16, 25, 0.78) 0%, rgba(12, 16, 25, 0.12) 26%, transparent 60%);
}

:root[data-theme="light"] .bespoke-banner__art::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, transparent 28%);
}

/* ==========================================================================
   6. Direct Contact Box + Pomerode - SC Location Card
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: stretch;
}

.contact-card,
.location-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--gradient-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.contact-card.is-highlighted {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(29, 183, 196, 0.28), var(--shadow-card);
}

.contact-card__title,
.location-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-card__subtitle {
  margin: 0 0 24px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.corporate-email-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-inset);
  border: 1px solid rgba(29, 183, 196, 0.3);
}

.corporate-email-box__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.corporate-email-box__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan-ink);
}

.corporate-email-box__status {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-metallic);
}

/* Form Controls */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-metallic);
}

.form-label span {
  font-weight: 500;
  color: var(--accent-cyan-ink);
  font-size: 0.8rem;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  font-size: 0.93rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control:focus {
  outline: none;
  background: var(--bg-surface);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(29, 183, 196, 0.18);
}

.form-control.is-invalid {
  border-color: var(--accent-magenta);
  box-shadow: 0 0 0 3px rgba(198, 51, 104, 0.18);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231db7c4' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-control {
  min-height: 122px;
  resize: vertical;
  line-height: 1.55;
}

.topic-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.topic-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}

.topic-pill:hover,
.topic-pill.is-active {
  background: rgba(29, 183, 196, 0.14);
  border-color: rgba(29, 183, 196, 0.48);
  color: var(--text-primary);
  font-weight: 500;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 4px;
}

.btn--full {
  width: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
}

.contact-feedback {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(66, 154, 142, 0.16);
  border: 1px solid rgba(66, 154, 142, 0.45);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-primary);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-feedback--error {
  background: rgba(198, 51, 104, 0.14);
  border-color: rgba(198, 51, 104, 0.45);
}

.contact-feedback.is-visible {
  display: flex;
}

/* Location Card — Pomerode - Santa Catarina */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(236, 169, 76, 0.14);
  border: 1px solid rgba(236, 169, 76, 0.4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-amber-ink);
  margin-bottom: 14px;
}

.location-card__region {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan-ink);
}

.location-card__desc {
  margin: 0 0 20px;
  font-size: 0.91rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.map-frame-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  background: var(--bg-inset);
  min-height: 255px;
  flex: 1;
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 255px;
  border: 0;
  filter: invert(92%) hue-rotate(185deg) saturate(82%) brightness(88%) contrast(96%);
  transition: filter 0.35s ease;
}

:root[data-theme="light"] .map-iframe,
.map-frame-wrap.is-light-map .map-iframe {
  filter: none;
}

:root[data-theme="light"] .map-frame-wrap.is-dark-override .map-iframe {
  filter: invert(92%) hue-rotate(185deg) saturate(82%) brightness(88%) contrast(96%);
}

.map-overlay-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-highlight);
}

.map-coords {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--text-metallic);
  font-weight: 500;
}

.map-pin-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 0 4px rgba(236, 169, 76, 0.25);
  flex-shrink: 0;
}

.map-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.map-btn-mini {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-cyan-ink);
  cursor: pointer;
}

.map-btn-mini:hover {
  background: rgba(29, 183, 196, 0.14);
  color: var(--text-primary);
}

.location-meta-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.location-meta-item {
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
}

.location-meta-item__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.location-meta-item__v {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-metallic);
}

/* ==========================================================================
   7. Executive FAQ Accordion (Rich Snippets & Global Decision Makers)
   ========================================================================== */
.faq-list {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--gradient-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(29, 183, 196, 0.45);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--text-primary);
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question__heading {
  margin: 0;
  font: inherit;
  color: inherit;
}

.faq-answer a {
  color: var(--accent-cyan-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-inset);
  border: 1px solid var(--border-highlight);
  color: var(--accent-cyan-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out-expo), background 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: rgba(29, 183, 196, 0.15);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* ==========================================================================
   8. Institutional Footer, Bottom-Right WhatsApp & Bottom-Left Consent Bar
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--bg-footer);
  color: #dce3ec;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.95fr 0.85fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-img-wrap {
  max-width: 310px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #07090e;
}

.footer-brand-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #9aa6b8;
  max-width: 400px;
}

.footer-col__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #dce3ec;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-links button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-size: 0.87rem;
  color: #9aa6b8;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #1db7c4;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.81rem;
  color: #687588;
}

.footer-norms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.norm-chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--text-secondary);
}

.site-footer .norm-chip {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #9aa6b8;
}

/* Floating Lateral Bottom-Right WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 940;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #138c40 100%);
  color: #04150b;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 26px rgba(37, 211, 102, 0.34);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.45);
  animation: waPulse 2.6s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  75% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.whatsapp-float__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 8px 13px;
  border-radius: var(--radius-xs);
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  color: #f3f6fa;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out-expo), visibility 0.22s ease;
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 9px;
  height: 9px;
  background: rgba(8, 12, 20, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 0 34px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover .whatsapp-float__tooltip,
.whatsapp-float:focus-visible .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Discreet Bottom-Left Privacy & Consent Mode v2 Banner (LGPD / GDPR / Google Ads / AdSense) */
.consent-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 935;
  width: min(420px, calc(100vw - 104px));
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-card);
  display: none;
  flex-direction: column;
  gap: 12px;
}

.consent-banner.is-open {
  display: flex;
}

.consent-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.consent-banner__text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-btn {
  padding: 7px 13px;
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-highlight);
  transition: all 0.18s ease;
}

.consent-btn--accept {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #041016;
}

.consent-btn--accept:hover {
  filter: brightness(1.06);
}

.consent-btn--essential {
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.consent-btn--essential:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}

/* Scroll Reveal Animations */
.reveal-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}

html.js-ready .reveal-item.will-animate {
  opacity: 0;
  transform: translateY(22px);
}

html.js-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1180px) {
  .metrics-strip {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

@media (max-width: 1080px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    background: var(--bg-header-scrolled);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-highlight);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s var(--ease-out-expo);
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 0.96rem;
  }

  .hero__grid,
  .acatech-editorial,
  .dual-solutions-grid,
  .competency-matrix,
  .bespoke-banner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .bespoke-banner__art {
    min-height: 210px;
    order: -1;
  }

  /* Prevent long content from widening the single column beyond the banner */
  .bespoke-banner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .top-ribbon__contacts {
    display: none;
  }

  .top-ribbon__inner {
    justify-content: center;
    text-align: center;
    font-size: 0.67rem;
  }

  .header-actions .btn--primary {
    display: none;
  }

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

  .diff-grid,
  .timeline-track,
  .solution-specs,
  .form-row-2,
  .location-meta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline-block,
  .contact-card,
  .location-card,
  .bespoke-banner__content {
    padding: 24px 20px;
  }

  .hero-visual__bridge-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .bridge-line {
    width: 100%;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }

  .consent-banner {
    left: 12px;
    right: 78px;
    bottom: 14px;
    width: auto;
    padding: 14px 16px;
  }
}

/* Narrow phones: keep header (logo + PT/EN + theme + menu) inside the viewport */
@media (max-width: 420px) {
  .site-header__inner {
    gap: 8px;
  }

  .brand-logo {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-logo__mark {
    width: 36px;
    height: 27px;
  }

  .brand-logo__wordmark {
    font-size: 1.08rem;
  }

  .brand-logo__mark-img {
    height: 40px;
  }

  .brand-logo__name-img {
    height: 23px;
  }

  .brand-logo__sub {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .lang-switch__btn {
    padding: 4px 6px;
  }

  .theme-toggle-btn,
  .mobile-menu-toggle {
    width: 34px;
    height: 34px;
  }
  .bespoke-banner .btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
