/* Ramirez Tech — Premium Enterprise UI
   Static site · Dark tech · Motion-aware */

:root {
  --bg: #050d18;
  --bg-deep: #02060d;
  --surface: #0a1626;
  --surface-2: #0e1e32;
  --line: rgba(140, 185, 255, 0.11);
  --line-strong: rgba(46, 230, 255, 0.32);
  --text: #f3f7ff;
  --muted: #93a7bc;
  --cyan: #2ee6ff;
  --blue: #4aa8ff;
  --cyan-dim: rgba(46, 230, 255, 0.12);
  --glow: 0 0 40px rgba(46, 230, 255, 0.15);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --container: 1140px;
  --header-h: 96px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Ubuntu, "Helvetica Neue", sans-serif;
  --lh: 1.65;
  --tracking-tight: -0.028em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg-deep);
  font-family: var(--font);
  font-size: 16px;
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 50% at 50% -20%, rgba(46, 230, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 40%, rgba(74, 168, 255, 0.04), transparent 50%);
}

body > * {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(46, 230, 255, 0.3);
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p,
h1,
h2,
h3,
ul,
ol,
figure {
  margin-top: 0;
}

ul,
ol {
  padding-left: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

/* ——— Layout ——— */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--space-9) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(6, 16, 28, 0.6), rgba(8, 20, 36, 0.9));
  border-block: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(46, 230, 255, 0.08), transparent) 1;
}

.section-heading {
  margin-bottom: var(--space-7);
}

.centered-heading {
  max-width: 720px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.centered-heading .section-lead {
  max-width: 560px;
  margin-inline: auto;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: var(--space-5) var(--space-7);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 var(--space-3);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.centered-heading .eyebrow {
  justify-content: center;
}

h1,
h2,
h3 {
  letter-spacing: var(--tracking-tight);
  line-height: 1.12;
  font-weight: 750;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.55rem);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(1.65rem, 2.9vw, 2.5rem);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: 1.06rem;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
  text-wrap: pretty;
}

/* ——— A11y ——— */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 2000;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  background: #fff;
  color: #031018;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(2, 6, 13, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: height 0.3s var(--ease), background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  height: 84px;
  background: rgba(2, 6, 13, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-header.is-scrolled .brand img {
  width: 300px;
  max-height: 72px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 4px;
  transition: opacity 0.2s ease, filter 0.25s var(--ease);
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.92;
  filter: drop-shadow(0 0 18px rgba(46, 230, 255, 0.35));
}

.brand img {
  width: 320px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 16px rgba(46, 230, 255, 0.35));
}

.footer-logo {
  width: 300px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 2px 16px rgba(46, 230, 255, 0.35));
}

.error-logo {
  width: min(340px, 86vw);
  height: auto;
  max-height: 96px;
  object-fit: contain;
  margin: 0 auto 32px;
  filter: drop-shadow(0 2px 18px rgba(46, 230, 255, 0.4));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.desktop-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: #aebfd1;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.desktop-nav .nav-cta {
  margin-left: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  color: #fff;
  background: linear-gradient(135deg, rgba(46, 230, 255, 0.12), rgba(74, 168, 255, 0.08));
  box-shadow: 0 0 20px rgba(46, 230, 255, 0.08);
}

.desktop-nav .nav-cta:hover,
.desktop-nav .nav-cta:focus-visible {
  background: linear-gradient(135deg, rgba(46, 230, 255, 0.2), rgba(74, 168, 255, 0.14));
  color: #fff;
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  gap: 2px;
}

.lang-switch button {
  min-width: 36px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  color: #8fa3b8;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch button:hover {
  color: #fff;
}

.lang-switch button[aria-pressed="true"] {
  color: #031018;
  background: linear-gradient(135deg, #6ec8ff, var(--cyan));
  box-shadow: 0 4px 14px rgba(46, 230, 255, 0.25);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  list-style: none;
  min-height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e4eef8;
  background: rgba(255, 255, 255, 0.03);
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 150;
  width: min(270px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 16, 28, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #d5e0ed;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu nav a:hover,
.mobile-menu nav a:focus-visible {
  background: var(--cyan-dim);
  color: #fff;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 28%, rgba(46, 230, 255, 0.14), transparent 26%),
    radial-gradient(circle at 12% 72%, rgba(74, 168, 255, 0.1), transparent 28%),
    linear-gradient(165deg, #07111f 0%, #040a14 55%, #03070f 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg-deep));
  pointer-events: none;
  z-index: 2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(113, 181, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 181, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 10%, transparent 88%);
  pointer-events: none;
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--space-7);
  align-items: center;
  min-height: min(82vh, 720px);
  padding: var(--space-8) 0 var(--space-9);
}

.hero-copy h1 .hero-accent {
  background: linear-gradient(105deg, #8ad4ff 0%, var(--cyan) 50%, #7af5e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34rem;
  margin-bottom: var(--space-5);
  color: #a9bbce;
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  overflow: hidden;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.button:hover::after {
  transform: translateX(120%);
}

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

.button-primary {
  color: #031018;
  background: linear-gradient(135deg, #79cfff, var(--cyan) 55%, #3fd9c8);
  box-shadow: 0 14px 36px rgba(46, 230, 255, 0.24);
}

.button-primary:hover {
  box-shadow: 0 18px 44px rgba(46, 230, 255, 0.34);
}

.button-secondary {
  border: 1px solid rgba(148, 190, 255, 0.28);
  color: #eaf4ff;
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  border-color: rgba(46, 230, 255, 0.45);
  background: rgba(46, 230, 255, 0.07);
}

.button-dark {
  color: #fff;
  background: #061321;
  box-shadow: 0 12px 28px rgba(3, 16, 28, 0.25);
}

.button-dark:hover {
  background: #0b2034;
  color: #fff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  color: #8b9faf;
  font-size: 0.86rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.hero-orbits {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(46, 230, 255, 0.15);
  border-radius: 50%;
  aspect-ratio: 1;
}

.orbit-a {
  width: min(300px, 68%);
  animation: spin 50s linear infinite;
  border-color: rgba(74, 168, 255, 0.2);
}

.orbit-b {
  width: min(380px, 86%);
  border-style: dashed;
  opacity: 0.7;
  animation: spin 70s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-core-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-core {
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(46, 230, 255, 0.35);
  background:
    radial-gradient(circle at 50% 30%, rgba(46, 230, 255, 0.16), transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(10, 30, 50, 0.9), #061018);
  box-shadow:
    0 0 0 16px rgba(46, 230, 255, 0.035),
    0 0 70px rgba(46, 230, 255, 0.16),
    inset 0 0 40px rgba(46, 230, 255, 0.05);
  animation: core-pulse 5s ease-in-out infinite;
}

@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 0 16px rgba(46, 230, 255, 0.035), 0 0 70px rgba(46, 230, 255, 0.16), inset 0 0 40px rgba(46, 230, 255, 0.05); }
  50% { box-shadow: 0 0 0 20px rgba(46, 230, 255, 0.05), 0 0 90px rgba(46, 230, 255, 0.22), inset 0 0 48px rgba(46, 230, 255, 0.08); }
}

.hero-core img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(46, 230, 255, 0.4));
}

/* Legenda abaixo do monograma — fora do círculo */
.hero-core-label {
  margin: 0;
  padding: 0 8px;
  max-width: 240px;
  text-align: center;
}

.hero-core-label strong {
  display: block;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-core-label span {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.hero-signals {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}

.signal {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(46, 230, 255, 0.28);
  border-radius: 11px;
  background: rgba(5, 14, 26, 0.9);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  animation: signal-float 4.5s ease-in-out infinite;
}

.signal::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.signal-top {
  top: 11%;
  left: 2%;
  animation-delay: 0s;
}

.signal-mid {
  top: 42%;
  right: 0;
  animation-delay: 0.8s;
}

.signal-bot {
  bottom: 13%;
  left: 8%;
  animation-delay: 1.6s;
}

@keyframes signal-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ——— Trust ——— */
.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(6, 14, 24, 0.95);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid var(--line);
  transition: background 0.25s ease;
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-grid article:hover {
  background: rgba(46, 230, 255, 0.03);
}

.trust-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ——— Cards ——— */
.card-grid {
  display: grid;
  gap: 14px;
}

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

.info-card,
.service-card,
.pillar-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(14, 32, 52, 0.75), rgba(7, 14, 24, 0.95));
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease;
}

.info-card::before,
.service-card::before,
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 230, 255, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.info-card:hover,
.service-card:hover,
.pillar-card:hover {
  border-color: rgba(46, 230, 255, 0.32);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm), var(--glow);
}

.info-card:hover::before,
.service-card:hover::before,
.pillar-card:hover::before {
  opacity: 1;
}

.info-card p,
.service-card > p,
.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
  text-wrap: pretty;
}

.info-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.info-num {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.info-card-top .info-num {
  margin-bottom: 0;
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(46, 230, 255, 0.22);
  flex-shrink: 0;
}

.icon-box svg {
  width: 20px;
  height: 20px;
}

.icon-box-lg {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
}

.icon-box-lg svg {
  width: 22px;
  height: 22px;
}

.check-list {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 16px;
  color: #c2d0de;
  font-size: 0.86rem;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.9;
}

.pillar-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--cyan-dim);
  border: 1px solid rgba(46, 230, 255, 0.18);
}

/* ——— Methodology ——— */
.methodology-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: var(--space-8);
  align-items: start;
}

.callout {
  margin-top: var(--space-5);
  padding: 20px 20px 20px 18px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(46, 230, 255, 0.08), rgba(46, 230, 255, 0.02));
}

.callout strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.callout p {
  margin: 0;
  color: #d5e2ef;
  font-size: 0.95rem;
  line-height: 1.6;
}

.steps {
  margin: 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(var(--cyan), transparent);
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding-bottom: 28px;
}

.steps li:last-child {
  padding-bottom: 0;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(46, 230, 255, 0.32);
  background: #081322;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(46, 230, 255, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.steps li:hover .step-num {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(46, 230, 255, 0.2);
}

.steps h3 {
  margin: 6px 0 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ——— RPO / RTO ——— */
.rpo-rto {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 940px;
  margin-inline: auto;
}

.rpo-rto-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(46, 230, 255, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(155deg, #12314d, #0a1828 70%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.rpo-rto-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow), var(--glow);
}

.rpo-rto-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(46, 230, 255, 0.38);
  background: rgba(46, 230, 255, 0.1);
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 28px rgba(46, 230, 255, 0.14);
}

.rpo-rto-card h3 {
  margin-bottom: 10px;
}

.rpo-rto-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.rpo-rto-hint {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #c8d7e8 !important;
  font-size: 0.86rem !important;
  font-weight: 650;
}

.rpo-rto-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 72px;
  align-self: center;
}

.rpo-rto-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.rpo-rto-bar {
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(46, 230, 255, 0.4);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* ——— Deliverables ——— */
.deliverables-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: var(--space-7);
  align-items: start;
}

.deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.deliverables li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.deliverables li:hover {
  border-color: rgba(46, 230, 255, 0.28);
  background: rgba(46, 230, 255, 0.04);
  transform: translateY(-2px);
}

.tick {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.82rem;
}

.deliverables h3 {
  margin: 2px 0 6px;
  font-size: 0.96rem;
}

.deliverables p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ——— About ——— */
.about-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: var(--space-7);
  align-items: center;
}

.about-mark {
  display: grid;
  place-items: center;
  min-height: 320px;
  aspect-ratio: 1;
  max-width: 340px;
  margin-inline: auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(46, 230, 255, 0.14), transparent 58%),
    rgba(6, 14, 24, 0.5);
  animation: core-pulse 6s ease-in-out infinite;
}

.about-mark img {
  width: 158px;
  height: 158px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(46, 230, 255, 0.32));
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--space-5) 0 0;
}

.tags li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: #c6d4e4;
  font-size: 0.76rem;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tags li:hover {
  border-color: rgba(46, 230, 255, 0.3);
  color: #fff;
}

/* ——— FAQ ——— */
.faq-layout {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: var(--space-7);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 18px 42px 18px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-list summary:hover {
  color: var(--cyan);
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 40px 18px 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ——— Contact ——— */
.contact-section {
  padding: var(--space-7) 0 var(--space-9);
  background: var(--bg-deep);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: var(--space-6);
  align-items: center;
  padding: 44px 48px;
  border-radius: 24px;
  color: #041018;
  background:
    linear-gradient(125deg, #5ec4ff 0%, #2ee6ff 48%, #3fd9c8 100%);
  box-shadow: 0 32px 80px rgba(46, 230, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.contact-card .eyebrow {
  color: #0a4d66;
}

.contact-card .eyebrow::before {
  background: #0a4d66;
  box-shadow: none;
}

.contact-card h2 {
  color: #031018;
  margin-bottom: 12px;
}

.contact-card > div > p,
.contact-card .section-lead {
  margin: 0;
  color: #134a5e;
  font-size: 1.02rem;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 10px;
  text-align: right;
}

.contact-mail {
  color: #0a3a4f;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.contact-mail:hover {
  color: #031018;
}

.contact-note {
  margin: 0 !important;
  font-size: 0.74rem !important;
  color: #165068 !important;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  background: #010409;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-7) 0 var(--space-5);
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 6px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #a0b1c4;
}

.footer-links a {
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  color: #65788e;
  font-size: 0.74rem;
}

.footer-bottom p {
  margin: 0;
}

/* ——— Reveal animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}

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

/* ——— 404 ——— */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(46, 230, 255, 0.1), transparent 35%),
    var(--bg-deep);
}

.error-box {
  max-width: 560px;
}

.error-code {
  display: block;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.error-box h1 {
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.error-box p {
  color: var(--muted);
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ——— Responsive ——— */
@media (max-width: 1040px) {
  :root { --header-h: 88px; }

  .brand img {
    width: 280px;
    max-height: 70px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .desktop-nav { display: none; }

  .mobile-menu { display: block; }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
    padding: 32px 0 56px;
  }

  .hero-copy { order: 1; }

  .hero-visual {
    order: 2;
    min-height: auto;
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* Órbitas atrás do monograma; legenda abaixo, sem texto espremido no círculo */
  .hero-orbits {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    inset: auto;
  }

  .orbit-a { width: 210px; }
  .orbit-b { width: 270px; }

  .hero-core-stack {
    position: relative;
    z-index: 2;
    min-height: 220px;
    justify-content: flex-start;
    padding-top: 16px;
    gap: 14px;
  }

  .hero-core {
    width: 188px;
    height: 188px;
    animation: none;
  }

  .hero-core img {
    width: 88px;
    height: 88px;
  }

  .hero-core-label {
    max-width: 240px;
  }

  .hero-core-label strong {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    margin-bottom: 5px;
  }

  .hero-core-label span {
    font-size: 0.82rem;
  }

  .hero-signals {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .signal {
    position: static;
    animation: none;
  }

  .trust-grid { grid-template-columns: 1fr 1fr; }

  .trust-grid article:nth-child(2n) { border-right: 0; }

  .trust-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .card-grid-4,
  .card-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .methodology-layout,
  .deliverables-layout,
  .about-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-mark {
    min-height: 240px;
    max-width: 260px;
  }
}

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

  .split-heading,
  .contact-card,
  .rpo-rto {
    grid-template-columns: 1fr;
  }

  .rpo-rto {
    gap: 0;
    max-width: 480px;
  }

  .rpo-rto-link {
    flex-direction: column;
    min-width: 0;
    min-height: 36px;
  }

  .rpo-rto-bar {
    width: 2px;
    height: 28px;
  }

  .contact-card {
    gap: 24px;
    padding: 28px 24px;
  }

  .contact-actions {
    justify-items: stretch;
    text-align: left;
    width: 100%;
  }

  .contact-actions .button { width: 100%; }

  .card-grid-2 { grid-template-columns: 1fr 1fr; }

  .footer-main {
    flex-direction: column;
    gap: 28px;
  }

  .footer-links { justify-content: flex-start; }

  .error-actions { flex-direction: column; }
  .error-actions .button { width: 100%; }

  .header-right { gap: 8px; }
}

@media (max-width: 590px) {
  :root {
    --header-h: 78px;
    --radius: 16px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand img {
    width: min(240px, 58vw);
    max-height: 62px;
  }

  .footer-logo {
    width: min(260px, 78vw);
    max-height: 68px;
  }

  .site-header.is-scrolled {
    height: 70px;
  }

  .site-header.is-scrolled .brand img {
    width: min(220px, 54vw);
    max-height: 56px;
  }

  .lang-switch button {
    min-width: 32px;
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(1.7rem, 7.8vw, 2.1rem);
  }

  h2 {
    font-size: clamp(1.38rem, 6vw, 1.72rem);
  }

  .section { padding: 52px 0; }

  .hero-layout {
    gap: 20px;
    padding: 22px 0 44px;
  }

  .hero-copy h1 br { display: none; }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button,
  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-points {
    display: grid;
    gap: 8px;
  }

  .hero-orbits {
    height: 200px;
  }

  .hero-core-stack {
    min-height: 200px;
    padding-top: 12px;
    gap: 12px;
  }

  .hero-core {
    width: 168px;
    height: 168px;
  }

  .hero-core img {
    width: 78px;
    height: 78px;
  }

  .hero-core-label strong {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .hero-core-label span {
    font-size: 0.8rem;
  }

  .trust-grid,
  .card-grid-2,
  .card-grid-3,
  .card-grid-4,
  .deliverables {
    grid-template-columns: 1fr;
  }

  .trust-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

  .trust-grid article:last-child { border-bottom: 0; }

  .info-card,
  .service-card,
  .pillar-card {
    padding: 18px;
  }

  .faq-list summary {
    min-height: 52px;
    display: flex;
    align-items: center;
    font-size: 0.94rem;
  }

  .contact-card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .contact-mail {
    word-break: break-all;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
  }

  .step-num {
    width: 44px;
    height: 44px;
  }

  .steps::before { left: 21px; }
}

@media (max-width: 380px) {
  .brand img {
    width: min(210px, 56vw);
    max-height: 54px;
  }

  .lang-switch button {
    min-width: 28px;
    padding: 0 6px;
  }

  h1 { font-size: 1.55rem; }

  .hero-orbits {
    height: 180px;
  }

  .hero-core-stack {
    min-height: 180px;
  }

  .hero-core {
    width: 150px;
    height: 150px;
  }

  .hero-core img {
    width: 70px;
    height: 70px;
  }

  .hero-core-label strong {
    letter-spacing: 0.1em;
  }
}

@supports (padding: max(0px)) {
  .site-header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (hover: none) and (pointer: coarse) {
  .info-card:hover,
  .service-card:hover,
  .pillar-card:hover,
  .button:hover,
  .deliverables li:hover,
  .rpo-rto-card:hover {
    transform: none;
  }

  .button:active {
    transform: scale(0.98);
  }
}

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

  .hero-grid,
  .orbit,
  .hero-core,
  .signal,
  .rpo-rto-dot,
  .about-mark {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button::after {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
