/* ==========================================================================
   OpenPortal — Tecnologia & Portais Digitais
   Design System & Stylesheet
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-dark: #070b14;
  --bg-dark-elevated: #0d1424;
  --bg-dark-card: rgba(15, 23, 42, 0.72);
  --bg-light: #ffffff;
  --bg-subtle: #f4f7fb;
  --bg-muted: #e8eff8;

  /* Ink / Text */
  --text-primary: #0b1221;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #94a3b8;

  /* Brand Accent */
  --accent: #0284c7;
  --accent-bright: #0ea5e9;
  --accent-glow: #38bdf8;
  --accent-soft: rgba(14, 165, 233, 0.12);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);

  /* Borders & Surfaces */
  --border-light: #e2e8f0;
  --border-light-strong: #cbd5e1;
  --border-dark: rgba(148, 163, 184, 0.16);
  --border-dark-strong: rgba(56, 189, 248, 0.28);

  /* Typography */
  --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;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px -12px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px -18px rgba(7, 11, 20, 0.22);
  --shadow-glow: 0 0 40px -10px rgba(14, 165, 233, 0.35);

  /* Layout */
  --container-max: 1200px;
  --header-height: 76px;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  margin: 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;
}

/* Container & Layout Helpers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 104px;
  position: relative;
}

.section--subtle {
  background-color: var(--bg-subtle);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-header {
  max-width: 720px;
  margin-bottom: 56px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section--dark .eyebrow,
.hero .eyebrow {
  color: var(--accent-glow);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.075rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section--dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-glow);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(2, 132, 199, 0.65);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(14, 165, 233, 0.78);
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark);
  border-color: rgba(148, 163, 184, 0.25);
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light-strong);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: background-color var(--transition), border-color var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
  background: rgba(7, 11, 20, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.9);
  border-bottom-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.5);
}

.site-header--light {
  background: rgba(7, 11, 20, 0.94);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text span {
  color: var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(7, 11, 20, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  padding: 24px;
  z-index: 99;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu ul a {
  display: block;
  padding: 8px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #e2e8f0;
}

.mobile-menu .btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 88px;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.72;
  transform: scale(1.01);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.94) 0%, rgba(7, 11, 20, 0.76) 46%, rgba(7, 11, 20, 0.25) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.45) 0%, rgba(7, 11, 20, 0.08) 52%, rgba(7, 11, 20, 1) 100%);
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 35%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.26);
  color: #bae6fd;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-size: clamp(2.45rem, 4.9vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero-title .text-gradient {
  background: linear-gradient(120deg, #ffffff 10%, #7dd3fc 55%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: #cbd5e1;
  max-width: 580px;
  line-height: 1.72;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--text-on-dark-muted);
  font-size: 0.875rem;
}

.hero-footnote-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-footnote-item svg {
  color: var(--accent-glow);
  width: 16px;
  height: 16px;
}

/* Hero Telemetry / Architecture Card */
.hero-panel {
  background: rgba(13, 20, 36, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 32px 70px -24px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #e2e8f0;
}

.panel-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.metric-box {
  background: rgba(7, 11, 20, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-md);
  padding: 16px;
}

.metric-label {
  font-size: 0.76rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 6px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
}

.metric-value span {
  font-size: 0.8rem;
  color: var(--accent-glow);
  font-weight: 500;
}

.panel-layers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.layer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.layer-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: #e2e8f0;
  font-weight: 500;
}

.layer-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(14, 165, 233, 0.14);
  color: var(--accent-glow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.layer-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Credentials Strip
   ========================================================================== */
.credentials-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding-block: 34px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.credential-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.credential-item h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.credential-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Solutions Grid
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow-md);
}

.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(2, 132, 199, 0.05));
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.solution-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.solution-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ==========================================================================
   Interactive Architecture Section (Dark)
   ========================================================================== */
.arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.arch-tabs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.arch-tab {
  width: 100%;
  text-align: left;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  color: var(--text-on-dark);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.arch-tab:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.85);
}

.arch-tab.is-active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(15, 23, 42, 0.92));
  border-color: var(--accent-glow);
  box-shadow: 0 12px 30px -16px rgba(14, 165, 233, 0.45);
}

.arch-tab-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-glow);
  margin-bottom: 6px;
  display: block;
}

.arch-tab-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.arch-tab-desc {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
  display: block;
}

.arch-stage {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 36px;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.arch-stage::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.arch-panel {
  display: none;
  animation: fadeSlide 320ms ease;
}

.arch-panel.is-active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arch-panel-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-glow);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.arch-panel h3 {
  font-size: 1.65rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.arch-panel > p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 26px;
}

.arch-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.spec-card {
  background: rgba(7, 11, 20, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.spec-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.spec-card span {
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
}

.arch-codebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #94a3b8;
}

.arch-codebar code {
  color: #7dd3fc;
}

/* ==========================================================================
   Process / Methodology
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-step {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   About Section (Rio de Janeiro)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  background: var(--bg-dark);
}

.about-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-media-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: rgba(7, 11, 20, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-media-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.about-media-badge span {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.about-content p + p {
  margin-top: 16px;
}

.about-lead {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.pillar {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pillar span {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.is-open {
  border-color: rgba(2, 132, 199, 0.4);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   Contact Section (100% Digital — No Phone)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-dark);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.14);
  color: var(--accent-glow);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: #ffffff;
  margin-bottom: 3px;
}

.contact-card p,
.contact-card a {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.contact-card a:hover {
  color: var(--accent-glow);
}

.contact-form-wrap {
  background: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrap h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16);
}

textarea.form-control {
  resize: vertical;
  min-height: 124px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-note a {
  color: var(--accent);
  text-decoration: underline;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.is-error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #04070e;
  color: var(--text-on-dark-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 68px;
  padding-bottom: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col li {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent-glow);
}

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

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Legal Pages (Privacidade & Termos)
   ========================================================================== */
.legal-hero {
  background: var(--bg-dark);
  color: #ffffff;
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 56px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.legal-hero p {
  color: var(--text-on-dark-muted);
}

.legal-body {
  padding-block: 64px 96px;
  max-width: 820px;
}

.legal-body h2 {
  font-size: 1.35rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-body p,
.legal-body li {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 20px;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner,
  .arch-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 68px;
  }

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

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

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

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

  .nav-links,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .solutions-grid,
  .credentials-grid,
  .process-grid,
  .arch-specs,
  .about-pillars,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .panel-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .arch-stage,
  .contact-form-wrap {
    padding: 24px;
  }

  .about-media img {
    height: 340px;
  }
}
