/* ============================================================
   ENDRIVA — design tokens
   ============================================================ */
:root {
  --bg-void: #070B11;
  --bg-deep: #050709;
  --bg-panel: #0E1622;
  --bg-panel-2: #121C2B;
  --bg-panel-3: #101A28;
  --line: rgba(151, 176, 204, 0.14);
  --line-strong: rgba(151, 176, 204, 0.26);

  --text-primary: #F4F7FB;
  --text-secondary: #8FA0B8;
  --text-tertiary: #5E7086;

  --accent-blue: #2F8FE8;
  --accent-cyan: #49E0E0;
  --accent-green: #3CB878;
  --accent-amber: #F5A623;
  --accent-red: #FF6B57;
  --brand-gradient: linear-gradient(120deg, #2F8FE8 0%, #3CB878 100%);

  --bg-light: #F3F1EC;
  --bg-light-2: #E7E4DC;
  --text-on-light: #14181D;
  --text-on-light-secondary: #565B54;

  --font-display: "General Sans", "Public Sans", -apple-system, sans-serif;
  --font-body: "General Sans", "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-card-sm: 18px;

  --measure: 68ch;
  --ease-out-exp: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0; color: var(--text-secondary); }

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

::selection { background: var(--accent-blue); color: #fff; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--bg-panel-2); border: 3px solid var(--bg-void); border-radius: 8px; }
html { scrollbar-color: var(--bg-panel-2) var(--bg-void); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-blue);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.wrap--wide { max-width: 1280px; }
.wrap--narrow { max-width: 720px; }

.section {
  padding: clamp(2.25rem, 5vw, 4rem) 0;
  position: relative;
}

.section__head { max-width: var(--measure); margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.gargalo__intro {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.gargalo__intro .section__head { margin-bottom: 0; }
.gargalo__photo { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); }
.gargalo__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
@media (max-width: 860px) {
  .gargalo__intro { grid-template-columns: 1fr; }
}
.section__head h2 { margin-bottom: 1.1rem; }
.section__lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 56ch; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease-out-exp), background-color 0.3s, border-color 0.3s, opacity 0.3s;
  cursor: pointer;
}
.btn--primary { background: var(--brand-gradient); color: #fff; }
.btn--primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn--ghost { border-width: 2px; border-color: rgba(244, 247, 251, 0.55); color: var(--text-primary); background: transparent; }
.btn--ghost:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); transform: translateY(-2px); }
.btn--block { width: 100%; padding: 1.05rem; font-size: 1.02rem; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1rem, 3vw, 2rem) 0;
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.7rem 0.8rem 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(18, 27, 40, 0.38);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 8px 32px rgba(0, 0, 0, 0.35);
  transition: background-color 0.4s var(--ease-out-exp), border-color 0.4s, box-shadow 0.4s;
}
.nav.is-solid .nav__inner {
  background: rgba(12, 19, 30, 0.58);
  border-color: rgba(255, 255, 255, 0.16);
}
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 42px; width: auto; display: block; }
.nav__links { display: flex; gap: 1.7rem; margin-left: 1.25rem; margin-right: auto; }
.nav__links a { font-size: 0.92rem; color: #C3D0E0; white-space: nowrap; transition: color 0.25s; }
.nav__links a:hover { color: var(--text-primary); }
.nav__cta {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s;
}
.nav__cta:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.nav__toggle { display: none; }
.nav__mobile { display: none; }

@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 0.5rem; cursor: pointer;
    margin-left: auto;
  }
  .nav__toggle span { width: 22px; height: 2px; background: var(--text-primary); display: block; }
  .nav__mobile {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    max-width: 1160px;
    margin: 0.6rem auto 0;
    background: rgba(14, 22, 34, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--radius-card-sm);
    transition: grid-template-rows 0.35s var(--ease-out-exp);
  }
  .nav__mobile.is-open { grid-template-rows: 1fr; }
  .nav__mobile-inner { overflow: hidden; min-height: 0; display: flex; flex-direction: column; }
  .nav__mobile a { padding: 1rem clamp(1.25rem, 4vw, 2.5rem); border-top: 1px solid var(--line); font-size: 0.98rem; }
  .nav__mobile a:first-child { border-top: none; }
  .nav__mobile-cta { color: var(--accent-cyan) !important; font-weight: 600; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero__scene { position: absolute; inset: 0; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(5,7,9,0.92) 0%,
      rgba(5,7,9,0.82) 26%,
      rgba(5,7,9,0.42) 48%,
      rgba(5,7,9,0.06) 62%,
      rgba(5,7,9,0.42) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1280px;
  margin: 0 auto;
  padding-top: clamp(6.5rem, 16vw, 9.5rem);
}
.hero__headline {
  font-size: clamp(2rem, 5.3vw, 4.3rem);
  color: var(--text-primary);
  max-width: 15ch;
}
.hero__sub {
  margin-top: 1.4rem;
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: #C3D0E0;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero__ctas .btn { min-width: min(320px, 100%); text-align: center; }

.hero__scroll-cue {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  z-index: 2;
}
.hero__scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 3px; height: 8px;
  background: var(--accent-cyan); border-radius: 2px;
  transform: translateX(-50%);
  animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove { 0%,100% { top: 6px; opacity: 1; } 60% { top: 18px; opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll-cue span { animation: none; } }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-exp), transform 0.8s var(--ease-out-exp);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Gargalo / peak-shaving chart
   ============================================================ */
.curve-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.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;
}

.curve-panel__controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-bottom: 1.25rem; }
.curve-toggle {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.curve-toggle:hover { border-color: var(--accent-cyan); }
.curve-toggle.is-active { background: var(--accent-cyan); border-color: var(--accent-cyan); color: var(--bg-void); }
.curve-replay {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-tertiary);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.curve-replay:hover { color: var(--text-primary); border-color: var(--accent-cyan); }

@media (max-width: 560px) {
  .curve-panel__controls { grid-template-columns: 1fr 1fr; }
}

.curve-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 1.75rem; }
.curve-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.8rem;
}
.curve-meta__note { font-size: 0.8rem; color: var(--text-tertiary); }

.curve-svg { width: 100%; height: auto; overflow: visible; }
.curve-svg--peak text {
  fill: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
}
.curve-svg--peak .endriva-grid line,
.curve-svg--peak .endriva-dispatch-axis,
.curve-svg--peak .endriva-quality-rule {
  stroke: var(--line);
  stroke-width: 1;
}
.curve-svg--peak #endriva-critical-zone { fill: var(--accent-green); opacity: 0.06; }
.curve-svg--peak #endriva-shaving-area { fill: var(--accent-green); opacity: 0.2; }
.curve-svg--peak #endriva-shaving-hatch { fill: url(#endriva-hatch); opacity: 0.5; }
.curve-svg--peak .endriva-hatch-line { stroke: var(--accent-green); stroke-width: 2; opacity: 0.45; }
.curve-svg--peak .endriva-series-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.curve-svg--peak #endriva-without-line { stroke: var(--accent-red); stroke-width: 3; }
.curve-svg--peak #endriva-with-line { stroke: var(--accent-green); stroke-width: 4; }
.curve-svg--peak #endriva-limit { stroke: var(--accent-amber); stroke-width: 2; stroke-dasharray: 7 7; }
.curve-svg--peak #endriva-cursor { stroke: var(--text-primary); stroke-width: 1; opacity: 0.4; }
.curve-svg--peak #endriva-dot-without { fill: var(--accent-red); stroke: var(--bg-panel); stroke-width: 2; }
.curve-svg--peak #endriva-dot-with { fill: var(--accent-green); stroke: var(--bg-panel); stroke-width: 2; }
.curve-svg--peak .endriva-limit-label,
.curve-svg--peak .endriva-zone-label,
.curve-svg--peak #endriva-area-label,
.curve-svg--peak .endriva-section-label {
  fill: var(--text-primary);
  font-weight: 500;
}
.curve-svg--peak #endriva-area-label { fill: var(--accent-green); }
.curve-svg--peak #endriva-live-readout rect { fill: var(--bg-panel-2); stroke: var(--line); stroke-width: 1; }
.curve-svg--peak #endriva-live-readout text { fill: var(--text-primary); }
.curve-svg--peak .endriva-bar-charge { fill: var(--accent-blue); opacity: 0.75; }
.curve-svg--peak .endriva-bar-discharge { fill: var(--accent-green); opacity: 0.82; }
.curve-svg--peak .endriva-dispatch-note { fill: var(--text-tertiary); }
.curve-svg--peak .is-dimmed { opacity: 0.18; }

@media (max-width: 520px) {
  .curve-meta { align-items: flex-start; }
  .curve-svg--peak text { font-size: 13px; }
  #endriva-quality text:nth-of-type(2),
  #endriva-quality text:nth-of-type(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .curve-svg--peak .endriva-series-line { transition: none; }
}

/* ============================================================
   Sistema / architecture
   ============================================================ */
.sistema-photo {
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
}
.sistema-photo img { width: 100%; height: auto; display: block; }

.architecture { margin-top: 1rem; }
.architecture__os {
  border: 1px solid var(--accent-blue);
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(61, 127, 255, 0.06);
  transition: background-color 0.4s, border-color 0.4s;
}
.architecture__os.is-active { background: rgba(61, 127, 255, 0.16); border-color: var(--accent-cyan); }
.architecture__os-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #A9C4FF;
  letter-spacing: 0.01em;
}
.architecture__row {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
  align-items: start;
  gap: 0.5rem;
}
.arch-node {
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card-sm);
  background: var(--bg-panel);
  transition: border-color 0.4s, transform 0.4s var(--ease-out-exp);
}
.arch-node.is-active { border-color: var(--accent-cyan); transform: translateY(-4px); }
.arch-node__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,127,255,0.14) 0%, rgba(61,127,255,0) 72%);
  transition: background-color 0.4s, color 0.4s;
}
.arch-node__icon svg { width: 26px; height: 26px; }
.arch-node.is-active .arch-node__icon {
  color: var(--accent-cyan);
  background: radial-gradient(circle, rgba(73,224,224,0.22) 0%, rgba(73,224,224,0) 72%);
}
.arch-node h3 { margin-bottom: 0.5rem; }
.arch-node p { font-size: 0.92rem; }
.arch-connector { position: relative; height: 2px; background: var(--line-strong); align-self: center; margin-top: 34px; width: 100%; }

@media (max-width: 900px) {
  .architecture__row { grid-template-columns: 1fr; }
  .arch-connector { width: 2px; height: 28px; margin: 0 auto; }
}

/* ============================================================
   Plataforma / layers
   ============================================================ */
.layers {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 1.25rem;
}
.layer {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}
.layer h3 { margin-bottom: 0.9rem; }
.layer p { font-size: 0.98rem; }
.layer--hub {
  background: var(--bg-panel);
  grid-column: 1;
}
.layer__photo {
  border-radius: var(--radius-card-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 16/9;
}
.layer__photo img { width: 100%; height: 100%; object-fit: cover; }
.layer--os {
  background: var(--bg-panel-2);
  grid-column: 2;
  display: flex;
  flex-direction: column;
}
.layer__ticker {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.layer__tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: var(--accent-cyan);
  background: transparent;
  border: 1px solid rgba(73, 224, 224, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.layer__tab:hover { border-color: var(--accent-cyan); }
.layer__tab.is-active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-void);
}
.layer__tab-panel {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-secondary);
  min-height: 4.5em;
}
.layer--eaas {
  grid-column: 1 / -1;
  border-color: var(--line-strong);
  display: flex;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.layer--eaas-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.layer--eaas::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,11,17,0.92) 0%, rgba(7,11,17,0.8) 45%, rgba(7,11,17,0.55) 100%);
  z-index: -1;
}
.layer__eaas-inner { max-width: 60ch; }

@media (max-width: 800px) {
  .layers { grid-template-columns: 1fr; }
  .layer--hub, .layer--os, .layer--eaas { grid-column: 1; }
}

/* ============================================================
   Como funciona / timeline
   ============================================================ */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
}
.timeline__line {
  position: absolute;
  top: 8px; left: 0; right: 0;
  width: 100%; height: 4px;
  z-index: 0;
}
#timelinePath { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.4s var(--ease-out-exp); }
.timeline.is-drawn #timelinePath { stroke-dashoffset: 0; }
.timeline__step { position: relative; z-index: 1; }
.timeline__dot {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2px solid var(--accent-blue);
  margin-bottom: 1.5rem;
}
.timeline__step h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.timeline__step p { font-size: 0.92rem; }

@media (max-width: 780px) {
  .timeline { grid-template-columns: 1fr; gap: 2.25rem; }
  .timeline__line { display: none; }
}

/* ============================================================
   Aplicações
   ============================================================ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.app-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-exp);
}
.app-card:hover { transform: translateY(-4px); }
.app-card--lg { min-height: 340px; }
.app-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-exp); }
.app-card:hover .app-card__photo { transform: scale(1.04); }
.app-card h3, .app-card p { position: relative; z-index: 1; }
.app-card h3 { margin-bottom: 0.5rem; }
.app-card p { font-size: 0.92rem; max-width: 34ch; }
.app-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,11,17,0.92) 5%, rgba(7,11,17,0.15) 60%, rgba(7,11,17,0.05) 100%);
}

@media (max-width: 780px) {
  .apps-grid { grid-template-columns: 1fr; }
  .app-card--lg { min-height: 240px; }
}

/* ============================================================
   EndrivaOS dashboard
   ============================================================ */
.dashboard {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  background: var(--bg-panel);
  overflow: hidden;
}
.dashboard__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
}
.dashboard__bar span:first-child { color: var(--text-primary); font-size: 0.95rem; }
.dashboard img { width: 100%; height: auto; display: block; }

/* ============================================================
   EaaS
   ============================================================ */
.eaas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.eaas__intro h2 { margin-bottom: 1.25rem; }
.eaas__intro p { font-size: 1.05rem; max-width: 42ch; }
.eaas__list { list-style: none; margin: 0; padding: 0; }
.eaas__list li {
  padding: 1rem 0 1rem 1.5rem;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 1.02rem;
  color: var(--text-primary);
}
.eaas__list li:last-child { border-bottom: 1px solid var(--line); }
.eaas__list li::before {
  content: "";
  position: absolute; left: 0; top: 1.55rem;
  width: 8px; height: 2px;
  background: var(--accent-cyan);
}

@media (max-width: 780px) { .eaas__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Sobre
   ============================================================ */
.sobre h2 { margin-bottom: 1.1rem; }
.sobre p { font-size: 1.05rem; margin-bottom: 1rem; max-width: var(--measure); }
.sobre__location { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-tertiary) !important; letter-spacing: 0.03em; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta { position: relative; overflow: hidden; padding-top: 0; }
.final-cta__scene { position: relative; height: clamp(260px, 44vw, 480px); }
.final-cta__photo { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.final-cta__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,9,0.15) 0%, rgba(5,7,9,0.55) 78%, var(--bg-void) 100%);
}
.final-cta__content { padding-top: clamp(3rem, 6vw, 5rem); }
.final-cta h2 { max-width: 26ch; margin-bottom: 1.1rem; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.final-cta__lede { max-width: 52ch; font-size: 1.05rem; margin-bottom: 2.25rem; }
.final-cta__whatsapp { padding: 1.05rem 2.2rem; font-size: 1.02rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-light);
  color: var(--text-on-light);
  padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem;
}
.footer h2, .footer h3 { color: var(--text-on-light); }
.footer p { color: var(--text-on-light-secondary); }

.footer__statement {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.footer__mark { height: 62px; width: auto; flex-shrink: 0; }
.footer__statement h2 { font-size: clamp(1.44rem, 3.2vw, 2.4rem); max-width: 20ch; }

.footer__cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.footer__card {
  background: var(--bg-light-2);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.footer__card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-on-light-secondary); margin-bottom: 1rem; font-weight: 600; }
.footer__card p { font-size: 0.98rem; margin-bottom: 1.5rem; max-width: 32ch; }
.footer__card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 24, 29, 0.1);
}
.footer__address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-on-light-secondary);
}
.footer__address a { color: var(--text-on-light-secondary); text-decoration: underline; text-underline-offset: 2px; }
.footer__address a:hover { color: var(--accent-blue); }
.footer__linkedin { font-size: 0.9rem; color: var(--text-on-light); white-space: nowrap; }
.footer__linkedin:hover { color: var(--accent-blue); }

.footer__bottom {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(20, 24, 29, 0.1);
}
.footer__bottom a { font-size: 0.85rem; color: var(--text-on-light-secondary); }
.footer__bottom a:hover { color: var(--text-on-light); }
.footer__bottom p { font-size: 0.8rem; margin-left: auto; }

@media (max-width: 780px) {
  .footer__bottom { flex-wrap: wrap; }
  .footer__bottom p { margin-left: 0; width: 100%; }
}
