/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio, geometry.
   Put this @layer first; product CSS outside the layer wins ordinary layout rules.
   Native hidden and closed-dialog states take precedence over component display rules. */
@layer od-layout {
  [hidden]:not([hidden="until-found" i]) {
    display: none !important;
  }

  dialog:not([open]) {
    display: none !important;
  }

  :where(.od-stack, .od-row, .od-row-top, .od-cluster, .od-grid, .od-field, .od-stat, .od-cell, .od-tile)> :where(*) {
    min-width: 0;
  }

  .od-stack {
    display: flex;
    flex-direction: column;
    gap: var(--od-gap, 8px);
  }

  .od-row {
    display: flex;
    align-items: center;
    gap: var(--od-gap, 8px);
  }

  .od-row-top {
    display: flex;
    align-items: flex-start;
    gap: var(--od-gap, 8px);
  }

  .od-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--od-gap, 8px);
  }

  .od-fill {
    flex: 1 1 0;
    min-width: 0;
  }

  .od-fixed {
    flex: none;
  }

  .od-grid {
    display: grid;
    gap: var(--od-gap, 12px);
    grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr));
  }

  .od-stat,
  .od-field,
  .od-cell {
    display: grid;
    gap: var(--od-gap, 2px);
  }

  :where(.od-stat, .od-field, .od-cell)> :where(*) {
    display: block;
  }

  .od-tile {
    display: grid;
    grid-template-rows: auto 1fr;
  }

  :where(.od-tile)> :where(*) {
    display: block;
  }

  .od-media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--od-ratio, auto);
  }

  .od-media-cover {
    object-fit: cover;
  }

  .od-icon {
    display: inline-block;
    inline-size: var(--od-icon-size, 1em);
    block-size: var(--od-icon-size, 1em);
    flex: none;
  }

  .od-truncate {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .od-clamp-2,
  .od-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
  }

  .od-clamp-2 {
    -webkit-line-clamp: 2;
  }

  .od-clamp-3 {
    -webkit-line-clamp: 3;
  }

  .od-lines-2 {
    min-height: calc(2 * 1.4em);
  }

  .od-nowrap {
    white-space: nowrap;
  }

  .od-keep {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .od-screen {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
  }

  .od-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
  }

  .od-rail {
    display: flex;
    gap: var(--od-gap, 8px);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-inline: var(--od-rail-pad, 16px);
    scroll-padding-inline: var(--od-rail-pad, 16px);
  }

  .od-rail::-webkit-scrollbar {
    display: none;
  }

  :where(.od-rail)> :where(*) {
    flex: none;
    scroll-snap-align: start;
  }

  :where(.od-rail)> :where(:last-child) {
    margin-inline-end: var(--od-rail-pad, 16px);
  }

  .od-spacer {
    flex: none;
    visibility: hidden;
    pointer-events: none;
  }

  .od-touch {
    min-width: 44px;
    min-height: 44px;
  }
}

:root [hidden]:where(:not([hidden="until-found" i])) {
  display: none;
}

/* /OD-LAYOUT-PRIMITIVES v1 */

/* ---------- Fontes (Poppins local — manual de marca AVA) ---------- */
@font-face {
  font-family: "Poppins";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/poppins-300.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --panel-bar-h: 64px;
  /* Paleta oficial AVA */
  --ava-petroleo: #0B2238;
  --ava-apoio: #0C447C;
  --ava-azul: #1C64B4;
  /* azul vivo do "V" da logo */
  --ava-offwhite: #F7F5F0;
  --ava-ambar: #C99C56;

  /* Derivados funcionais */
  --ink: #0B2238;
  --ink-soft: #3A4C60;
  /* 8.6:1 sobre off-white */
  --on-dark: #F7F5F0;
  --on-dark-soft: #AFC0D2;
  /* 8.4:1 sobre petróleo */
  --line-dark: rgba(247, 245, 240, 0.14);
  --line-light: rgba(11, 34, 56, 0.14);
  --surface-dark-2: #102C47;
  --surface-light-2: #EEEBE3;
  --azul-claro: #7DB2EA;
  /* acento azul legível sobre petróleo */
  --focus: #E2BC7E;

  /* Tipo */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-body: 16px;
  --fs-lead: 18px;
  --fs-h3: 20px;
  --fs-h2: clamp(28px, 3vw, 40px);
  --fs-h1: clamp(32px, 4.4vw, 56px);
  --fs-hub: clamp(26px, 2.8vw, 40px);

  /* Espaço (múltiplos de 8) */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;

  --radius: 8px;
  --radius-sm: 6px;
  /* o cabeçalho acompanha a largura da tela: 64px em notebook, até 104px em widescreen */
  --topbar-h: clamp(64px, 5vw, 104px);
  --wrap: 1200px;

  /* Movimento */
  --t-fast: 160ms;
  --t-med: 280ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
}

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

html,
body {
  margin: 0;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--on-dark);
  background: var(--ava-petroleo);
  -webkit-font-smoothing: antialiased;
}

body.in-service {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s4);
}

.skip-link {
  position: absolute;
  top: var(--s1);
  left: var(--s1);
  z-index: 100;
  padding: var(--s1) var(--s2);
  background: var(--ava-ambar);
  color: var(--ava-petroleo);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ava-ambar);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 44px;
  padding: 0 var(--s3);
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}

.btn .od-icon {
  --od-icon-size: 18px;
}

.btn-primary {
  background: var(--ava-ambar);
  color: var(--ava-petroleo);
}

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(247, 245, 240, .32);
}

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-light);
}

.btn-dark {
  background: var(--ava-petroleo);
  color: var(--on-dark);
}

.btn[disabled] {
  background: #8A8F96;
  color: #F7F5F0;
  border-color: transparent;
  cursor: not-allowed;
}

@media (hover: hover) {
  .btn-primary:hover:not([disabled]) {
    background: #D8AE6B;
  }

  .btn-ghost:hover {
    background: rgba(247, 245, 240, .08);
    border-color: var(--on-dark);
  }

  .btn-quiet:hover {
    background: var(--surface-light-2);
  }

  .btn-dark:hover {
    background: var(--ava-apoio);
  }
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
}

.icon-btn .od-icon {
  --od-icon-size: 22px;
}

@media (hover: hover) {
  .icon-btn:hover {
    background: var(--surface-light-2);
  }
}

/* ---------- Topbar ---------- */
/* Cabeçalho em branco quente: a logo fica solta, sem moldura, e o claro
   no topo alivia o peso do azul escuro na composição. */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--topbar-h);
  background: var(--ava-offwhite);
  border-bottom: 1px solid rgba(11, 34, 56, .12);
  box-shadow: 0 1px 0 rgba(11, 34, 56, .06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 4px;
}

.brand img {
  display: block;
  width: clamp(96px, 7.6vw, 168px);
  height: auto;
}

/* a chamada do topo cresce junto com o cabeçalho, sem perder o alvo mínimo de toque */
.topbar .btn {
  min-height: clamp(44px, 3.1vw, 58px);
  padding-inline: clamp(16px, 1.7vw, 30px);
  font-size: clamp(14px, 1.05vw, 17px);
  border-radius: clamp(8px, .62vw, 11px);
}

.topbar .btn .od-icon {
  --od-icon-size: clamp(18px, 1.3vw, 22px);
}

.topbar .btn-ghost {
  color: var(--ink);
  border-color: rgba(11, 34, 56, .24);
}

@media (hover: hover) {
  .topbar .btn-ghost:hover {
    background: var(--surface-light-2);
    border-color: var(--ink);
  }
}

.topbar .btn-primary {
  border-color: rgba(11, 34, 56, .12);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

/* ---------- HUB ---------- */
.hub {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--topbar-h);
  display: grid;
  grid-template-rows: minmax(440px, 1fr);
  position: relative;
}

.stage {
  position: relative;
  overflow: hidden;
  min-height: 440px;
}

#scene {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  touch-action: none;
  cursor: grab;
}

#scene.is-dragging {
  cursor: grabbing;
}

#scene.is-pointing {
  cursor: pointer;
}

.labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-label {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: var(--s1);
  min-height: clamp(32px, 2.5vw, 44px);
  padding: 6px clamp(12px, .9vw, 16px) 6px clamp(8px, .62vw, 11px);
  background: rgba(11, 34, 56, .82);
  border: 1px solid rgba(247, 245, 240, .22);
  border-radius: 999px;
  color: var(--on-dark);
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: auto;
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
  will-change: transform, opacity;
}

.orbit-label .ol-num {
  display: grid;
  place-items: center;
  width: clamp(20px, 1.7vw, 30px);
  height: clamp(20px, 1.7vw, 30px);
  border-radius: 50%;
  background: rgba(201, 156, 86, .18);
  color: var(--ava-ambar);
  font-size: clamp(10px, .76vw, 13px);
  font-weight: 700;
}

.orbit-label .ol-name {
  display: block;
}

.orbit-label.is-active {
  border-color: var(--ava-ambar);
  background: var(--ava-petroleo);
}

.orbit-label.is-active .ol-num {
  background: var(--ava-ambar);
  color: var(--ava-petroleo);
}

.core-label {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
  will-change: transform;
}

.core-label .core-name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .3em;
  padding-left: .3em;
  color: var(--on-dark);
  line-height: 1.1;
}

.core-label .core-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ava-ambar);
}

/* Orientação discreta: informação secundária, fora da hierarquia principal */
.stage-hint {
  position: absolute;
  right: var(--s4);
  top: var(--s3);
  font-size: clamp(11px, .72vw, 15px);
  line-height: 1.4;
  font-weight: 400;
  color: rgba(175, 192, 210, .72);
  letter-spacing: .06em;
  max-width: 44ch;
  text-align: right;
}

.stage-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: var(--s1);
  padding: var(--s4);
  text-align: center;
  color: var(--on-dark-soft);
  max-width: 560px;
  margin: auto;
}

.stage-fallback .fallback-title {
  color: var(--on-dark);
  font-weight: 600;
  font-size: var(--fs-lead);
}

.hub-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  border-top: 1px solid var(--line-dark);
  background: rgba(11, 34, 56, .94);
  padding-block: var(--s1);
}

.hub-panel.is-open {
  padding-bottom: var(--s4);
  max-height: calc(100% - var(--topbar-h) - var(--s4));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.panel-bar {
  display: flex;
}

.panel-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s1) 0;
  background: transparent;
  border: 0;
  color: var(--on-dark);
  text-align: left;
}

.pt-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: var(--s2);
  row-gap: 0;
  min-width: 0;
}

.pt-title {
  display: block;
  font-weight: 600;
  font-size: var(--fs-body);
}

.pt-sub {
  display: block;
  font-size: var(--fs-xs);
  color: var(--on-dark-soft);
}

.pt-action {
  display: flex;
  align-items: center;
  gap: var(--s1);
  flex: none;
  color: var(--ava-ambar);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.pt-label {
  display: block;
}

.pt-chevron {
  --od-icon-size: 20px;
  transition: transform var(--t-med) var(--ease-out);
}

.panel-toggle[aria-expanded="true"] .pt-chevron {
  transform: rotate(180deg);
}

@media (hover: hover) {
  .panel-toggle:hover .pt-label {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

.hub-panel.is-open .hub-panel-grid {
  animation: panel-in var(--t-med) var(--ease-out);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hub-panel-grid {
  display: grid;
  padding-top: var(--s2);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s6);
  align-items: center;
}

.hub-copy {
  display: grid;
  gap: var(--s1);
  max-width: 520px;
}

.hub-copy h1 {
  font-size: var(--fs-hub);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.hub-lead {
  color: var(--on-dark-soft);
  font-size: var(--fs-body);
  max-width: 46ch;
}

.nav-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}

.nav-group {
  display: grid;
  gap: var(--s1);
  align-content: start;
}

.nav-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s1);
  min-height: 44px;
}

.nav-group-title {
  display: flex;
  align-items: center;
  gap: var(--s1);
  min-height: 44px;
  padding: 0 var(--s1) 0 0;
  background: transparent;
  border: 0;
  color: var(--on-dark);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-group-title .od-icon {
  --od-icon-size: 16px;
  color: var(--on-dark-soft);
}

.nav-group-title.is-active .od-icon {
  color: var(--ava-ambar);
}

@media (hover: hover) {
  .nav-group-title:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

.ng-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--azul-claro);
  flex: none;
}

.nav-group-ambar .ng-dot {
  background: var(--ava-ambar);
}

.ng-focus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 var(--s1);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--on-dark-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.ng-focus .od-icon {
  --od-icon-size: 16px;
}

.ng-focus.is-active {
  color: var(--ava-ambar);
}

@media (hover: hover) {
  .ng-focus:hover {
    color: var(--on-dark);
    background: rgba(247, 245, 240, .06);
  }
}

.nav-group-list {
  display: grid;
  gap: var(--s1);
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: 56px;
  padding: var(--s1) var(--s2);
  background: var(--surface-dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  text-align: left;
  color: var(--on-dark);
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}

.nav-item .ni-num {
  display: block;
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ava-ambar);
  width: 24px;
}

.nav-item .ni-text {
  display: grid;
  flex: 1 1 0;
  min-width: 0;
}

.nav-item .ni-name {
  display: block;
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1.3;
}

.nav-item .ni-desc {
  display: block;
  font-size: var(--fs-xs);
  color: var(--on-dark-soft);
  line-height: 1.4;
}

.nav-item .od-icon {
  --od-icon-size: 18px;
  color: var(--on-dark-soft);
}

.nav-item.is-active {
  border-color: var(--ava-ambar);
  background: #13314F;
}

.nav-item.is-active .od-icon {
  color: var(--ava-ambar);
}

@media (hover: hover) {
  .nav-item:hover {
    border-color: rgba(201, 156, 86, .7);
  }
}

/* ---------- Página de serviço ---------- */
.service-view {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding-top: var(--topbar-h);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ava-offwhite);
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 200ms var(--ease-in), transform 200ms var(--ease-in);
}

.service-view.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}

.svc-hero {
  background: var(--ava-petroleo);
  color: var(--on-dark);
  padding-block: var(--s10) var(--s12);
}

.svc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s6);
  align-items: center;
}

.svc-hero-copy {
  display: grid;
  gap: var(--s3);
}

.svc-hero h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
}

.svc-hero h1:focus {
  outline: none;
}

.svc-hero h1:focus-visible {
  outline: 2px solid var(--focus);
}

.svc-hero .lead {
  font-size: var(--fs-lead);
  color: var(--on-dark-soft);
  max-width: 52ch;
  font-weight: 300;
}

.svc-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  padding-top: var(--s1);
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
}

.svc-tags li {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--on-dark);
  padding: 4px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

.emblem {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-inline: auto;
}

.band {
  padding-block: var(--s12);
}

.band-alt {
  background: var(--surface-light-2);
}

.band-dark {
  background: var(--ava-petroleo);
  color: var(--on-dark);
}

.band-head {
  display: grid;
  gap: var(--s1);
  max-width: 640px;
  margin-bottom: var(--s6);
}

.band-head h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.band-head p {
  color: var(--ink-soft);
}

.band-dark .band-head p {
  color: var(--on-dark-soft);
}

.problems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
}

.problem {
  display: grid;
  gap: var(--s1);
  padding-top: var(--s3);
  border-top: 2px solid var(--ink);
}

.problem .p-num {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ava-apoio);
}

.problem h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
}

.problem p {
  color: var(--ink-soft);
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s2);
}

.module {
  display: grid;
  gap: var(--s1);
  align-content: start;
  padding: var(--s3);
  background: var(--ava-offwhite);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.module .m-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s1);
  border-radius: var(--radius);
  background: var(--ava-petroleo);
  color: var(--ava-ambar);
}

.module .m-icon .od-icon {
  --od-icon-size: 22px;
}

.module h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.module p {
  color: var(--ink-soft);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
  counter-reset: step;
}

.step {
  display: grid;
  gap: var(--s1);
}

.step .s-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--s1);
  border: 1px solid var(--ava-ambar);
  border-radius: 50%;
  color: var(--ava-ambar);
  font-weight: 700;
}

.step h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
}

.step p {
  color: var(--on-dark-soft);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s4);
  align-items: center;
  padding-bottom: var(--s8);
  border-bottom: 1px solid var(--line-light);
}

.cta-band h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
}

.cta-band p {
  color: var(--ink-soft);
  margin-top: var(--s1);
  max-width: 56ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.others {
  padding-top: var(--s6);
}

.others h2 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: var(--s3);
}

.others ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s2);
}

.other {
  width: 100%;
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
  min-height: 88px;
  padding: var(--s2);
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}

.other .o-num {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ava-apoio);
}

.other .o-name {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

@media (hover: hover) {
  .other:hover {
    border-color: var(--ink);
    background: var(--surface-light-2);
  }
}

.svc-footer {
  padding-block: var(--s4);
  border-top: 1px solid var(--line-light);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.svc-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2);
}

/* ---------- Diálogo ---------- */
.demo-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: var(--s4);
  border: 0;
  border-radius: 12px;
  background: var(--ava-offwhite);
  color: var(--ink);
}

.demo-dialog::backdrop {
  background: rgba(6, 18, 30, .7);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  margin-bottom: var(--s1);
}

.dialog-head h2 {
  font-size: 24px;
  font-weight: 700;
}

.dialog-lead {
  color: var(--ink-soft);
  margin-bottom: var(--s3);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: var(--s2);
}

.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.field .req {
  color: #9A6A1E;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid rgba(11, 34, 56, .3);
  border-radius: var(--radius-sm);
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ava-azul);
  outline-offset: 1px;
}

.field input[aria-invalid="true"] {
  border-color: #B42318;
}

.field-error {
  font-size: var(--fs-sm);
  color: #B42318;
}

.req-note {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  margin-bottom: var(--s3);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--s1);
}

.demo-success {
  display: grid;
  gap: var(--s1);
  justify-items: start;
}

.success-icon {
  --od-icon-size: 40px;
  color: #1F7A4D;
}

.success-title {
  font-size: var(--fs-h3);
  font-weight: 700;
}

.success-title:focus {
  outline: none;
}

.demo-success .dialog-actions {
  justify-self: stretch;
  margin-top: var(--s2);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1023px) {
  .hub-panel-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s4);
  }

  .hub-copy {
    max-width: 640px;
  }

  .svc-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-hero .emblem {
    max-width: 240px;
    margin-inline: 0;
    order: -1;
  }

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

  .others ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --topbar-h: 64px;
  }

  .wrap {
    padding-inline: var(--s2);
  }

  .brand img {
    width: 76px;
  }

  .btn {
    padding: 0 var(--s2);
  }

  .btn-back span {
    display: none;
  }

  .topbar .btn-back {
    width: 44px;
    min-height: 44px;
    padding-inline: 0;
  }

  .stage {
    min-height: 400px;
  }

  .pt-sub {
    display: none;
  }

  .stage-hint {
    left: var(--s2);
    right: auto;
    top: var(--s2);
  }

  .orbit-label {
    font-size: var(--fs-xs);
    min-height: 32px;
    padding: 4px 10px 4px 6px;
  }

  .orbit-label .ol-num {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .nav-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .focus-exit {
    left: var(--s2);
    top: var(--s6);
  }

  .focus-exit span {
    font-size: var(--fs-xs);
  }

  .svc-hero {
    padding-block: var(--s6) var(--s8);
  }

  .band {
    padding-block: var(--s8);
  }

  .band-head {
    margin-bottom: var(--s4);
  }

  .problems,
  .modules,
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s3);
  }

  .cta-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .others ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-dialog {
    padding: var(--s3);
  }
}

/* Telas largas: a coluna de conteúdo acompanha o monitor, para a logo e a
   chamada não ficarem ilhadas no meio de uma barra muito larga. Os blocos de
   texto mantêm o próprio limite de linha, então a leitura não se alonga. */
@media (min-width: 1440px) {
  :root {
    --wrap: 1320px;
  }
}

@media (min-width: 1700px) {
  :root {
    --wrap: 1480px;
  }
}

@media (min-width: 2100px) {
  :root {
    --wrap: 1640px;
  }
}

@media (prefers-reduced-motion: reduce) {

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

  .service-view {
    transform: none;
  }
}

/* Eyebrow em fundos claros: âmbar escurecido para contraste ≥ 4.5:1 */
.band:not(.band-dark) .eyebrow {
  color: #85591A;
}

/* ---------- Hierarquia de órbitas: rótulos de sistema + foco ---------- */
.orbit-label.is-system {
  min-height: clamp(36px, 2.8vw, 48px);
  padding: 8px clamp(14px, 1vw, 19px) 8px clamp(12px, .9vw, 16px);
  font-size: clamp(14px, 1.08vw, 19px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-color: rgba(125, 178, 234, .55);
}

.orbit-label.is-system.is-ambar {
  border-color: rgba(201, 156, 86, .7);
}

.orbit-label .ol-dot {
  display: block;
  width: clamp(9px, .72vw, 13px);
  height: clamp(9px, .72vw, 13px);
  border-radius: 50%;
  background: var(--azul-claro);
  flex: none;
}

.orbit-label.is-ambar .ol-dot {
  background: var(--ava-ambar);
}

.orbit-label.is-system.is-active {
  border-color: var(--ava-ambar);
}

.focus-exit {
  position: absolute;
  left: var(--s4);
  top: var(--s3);
  z-index: 3000;
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  min-height: 44px;
  padding: 0 var(--s2);
  background: var(--ava-petroleo);
  color: var(--on-dark);
  border: 1px solid rgba(247, 245, 240, .32);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.focus-exit .od-icon {
  --od-icon-size: 18px;
}

@media (hover: hover) {
  .focus-exit:hover {
    border-color: var(--ava-ambar);
  }
}

/* ---------- Página de sistema ---------- */
.sys-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s2);
}

.sys-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: var(--s1);
  align-content: start;
  padding: var(--s3);
  background: var(--ava-offwhite);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.sys-card .m-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--s1);
  border-radius: var(--radius);
  background: var(--ava-petroleo);
  color: var(--ava-ambar);
}

.sys-card .m-icon .od-icon {
  --od-icon-size: 24px;
}

.sys-card .sc-num {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ava-apoio);
}

.sys-card h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
}

.sys-card p {
  color: var(--ink-soft);
  font-size: 15px;
}

.sys-card .sc-btn {
  justify-self: start;
  margin-top: var(--s2);
}

.fit-btn {
  justify-self: start;
  margin-top: var(--s2);
}

.other-system {
  border-color: var(--ink);
}

@media (max-width: 1023px) {
  .sys-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   ÁREAS INSTITUCIONAIS EM ÓRBITA DO AVA HUB
   ========================================================= */

/* ---------- Núcleo AVA HUB ---------- */
.core-label .core-name {
  font-size: clamp(22px, 1.8vw, 36px);
  letter-spacing: .32em;
  padding-left: .32em;
}

.core-label .core-sub {
  font-size: clamp(11px, .85vw, 16px);
  letter-spacing: .26em;
  margin-top: 2px;
}

/* ---------- Rótulos das áreas ---------- */
.orbit-label.is-area {
  font-size: clamp(13px, 1vw, 17px);
  border-color: rgba(247, 245, 240, .34);
}

.orbit-label .ol-icon {
  display: grid;
  place-items: center;
  width: clamp(20px, 1.7vw, 30px);
  height: clamp(20px, 1.7vw, 30px);
  border-radius: 50%;
  background: rgba(125, 178, 234, .18);
  color: var(--azul-claro);
  flex: none;
}

.orbit-label .ol-icon .od-icon {
  --od-icon-size: clamp(13px, 1.05vw, 18px);
}

.orbit-label.is-ambar .ol-icon {
  background: rgba(201, 156, 86, .18);
  color: var(--ava-ambar);
}

.orbit-label.is-active .ol-icon {
  background: var(--ava-ambar);
  color: var(--ava-petroleo);
}

.orbit-label.is-area.is-active {
  border-color: var(--ava-ambar);
}

/* ---------- Painel: grupo das áreas ---------- */
.nav-group-areas {
  grid-column: 1 / -1;
  gap: var(--s1);
}

.nav-group-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  min-height: 20px;
}

.nav-areas {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-item .ni-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--ava-ambar);
}

.nav-item .ni-icon .od-icon {
  --od-icon-size: 18px;
}

.nav-area .ni-name {
  letter-spacing: .01em;
}

/* =========================================================
   AGENDA DE EVENTOS
   ========================================================= */
.ev-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin-bottom: var(--s4);
}

.ev-filter {
  min-height: 44px;
  padding: 0 var(--s3);
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}

.ev-filter.is-on {
  background: var(--ava-petroleo);
  border-color: var(--ava-petroleo);
  color: var(--on-dark);
}

@media (hover: hover) {
  .ev-filter:not(.is-on):hover {
    border-color: var(--ink);
    color: var(--ink);
  }
}

.ev-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2);
}

.ev-card {
  display: grid;
  gap: var(--s1);
  align-content: start;
  padding: var(--s3);
  background: var(--ava-offwhite);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.ev-role {
  display: inline-block;
  justify-self: start;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #85591A;
}

.ev-role-producao {
  color: var(--ava-apoio);
}

.ev-name {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
}

.ev-meta {
  display: grid;
  gap: 4px;
  margin-top: 2px;
}

.ev-meta-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: var(--s1);
  align-items: baseline;
}

.ev-meta dt {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.ev-meta dd {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.ev-meta-lg dd {
  font-size: var(--fs-body);
}

.ev-sum {
  color: var(--ink-soft);
  font-size: 15px;
}

.ev-btn {
  justify-self: start;
  margin-top: var(--s1);
}

.ev-none {
  color: var(--ink-soft);
}

.ev-empty {
  display: grid;
  gap: var(--s2);
  justify-items: start;
  max-width: 62ch;
  padding: var(--s5);
  background: var(--ava-offwhite);
  border: 1px dashed rgba(11, 34, 56, .22);
  border-radius: var(--radius);
}

.ev-empty-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--ink);
}

.ev-empty p {
  color: var(--ink-soft);
}

/* Diálogo de detalhe do evento */
.event-dialog .dialog-head {
  align-items: flex-start;
  margin-bottom: var(--s3);
}

.event-head-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.event-dialog h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.event-dialog h2:focus {
  outline: none;
}

.event-dialog h2:focus-visible {
  outline: 2px solid var(--ava-azul);
  outline-offset: 3px;
}

.ev-detail-sum {
  color: var(--ink-soft);
  margin-top: var(--s2);
}

.ev-detail-list {
  display: grid;
  gap: 6px;
  margin-top: var(--s2);
  padding-left: var(--s3);
  list-style: disc;
  color: var(--ink-soft);
}

.ev-detail-link {
  margin-top: var(--s3);
}

.event-dialog .dialog-actions {
  margin-top: var(--s3);
}

/* =========================================================
   PARCEIROS
   ========================================================= */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}

.partner-card {
  display: grid;
  gap: var(--s2);
  align-content: start;
  padding: var(--s4);
  background: var(--ava-offwhite);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  max-height: 80px;
  padding: 0;
  border: none;
  background: transparent;
  box-sizing: border-box;
}

.partner-logo.is-mono {
  width: 104px;
  height: 68px;
  padding: 0;
  border-radius: var(--radius);
  background: var(--ava-petroleo);
  border: 1px solid rgba(247, 245, 240, 0.08);
  justify-content: center;
}

.partner-logo img {
  display: block;
  max-width: 240px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pl-mono {
  display: block;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ava-ambar);
}

.pc-name {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
}

.pc-field {
  display: grid;
  gap: 2px;
}

.pc-k {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pc-v {
  display: block;
  color: var(--ink);
}

.pc-desc {
  color: var(--ink-soft);
}

.pc-link {
  justify-self: start;
  text-decoration: none;
  margin-top: var(--s1);
}

/* =========================================================
   RESPONSIVO — ajustes dos novos blocos
   ========================================================= */
@media (max-width: 1023px) {

  .ev-list,
  .partner-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-hint {
    max-width: 30ch;
  }
}

@media (max-width: 767px) {
  .brand img {
    width: 96px;
  }

  .stage-hint {
    text-align: left;
    max-width: 24ch;
    font-size: 10px;
  }

  .nav-areas {
    grid-template-columns: minmax(0, 1fr);
  }

  .orbit-label .ol-icon {
    width: 20px;
    height: 20px;
  }

  .orbit-label .ol-icon .od-icon {
    --od-icon-size: 13px;
  }

  .orbit-label.is-area {
    font-size: var(--fs-xs);
  }

  .partner-card,
  .ev-empty {
    padding: var(--s3);
  }

  .partner-logo {
    max-width: 100%;
    min-height: 40px;
    max-height: 64px;
    padding: 0;
  }

  .partner-logo.is-mono {
    width: 92px;
    height: 60px;
  }

  .pl-mono {
    font-size: 32px;
  }

  .ev-meta-row {
    grid-template-columns: 68px minmax(0, 1fr);
  }
}

@media (max-width: 374px) {
  .brand img {
    width: 84px;
  }

  .topbar .btn {
    padding-inline: var(--s2);
  }
}

/* =========================================================
   QUEM SOMOS
   ========================================================= */
.purpose-band {
  padding-block: var(--s10);
}

.purpose {
  display: grid;
  gap: var(--s2);
  max-width: 24ch;
}

.purpose-line {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--on-dark);
  text-wrap: balance;
}

.purpose-sign {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ava-ambar);
}

.purpose-sign span {
  color: rgba(201, 156, 86, .55);
  padding-inline: 2px;
}

.attr-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2) var(--s5);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--line-light);
}

.attr {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: var(--s2);
  align-items: baseline;
}

.attr-t {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

.attr-d {
  display: block;
  color: var(--ink-soft);
  font-size: 15px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
}

.person-card {
  display: grid;
  gap: var(--s1);
  align-content: start;
  padding: var(--s4);
  background: var(--ava-offwhite);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.person-photo {
  width: 120px;
  height: 120px;
  aspect-ratio: 1 / 1;
  max-width: 120px;
  padding: 0;
  margin-bottom: var(--s1);
}

.person-photo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.person-photo .pl-mono {
  font-size: 38px;
}

.person-role {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #85591A;
}

@media (max-width: 1023px) {
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attr-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .nav-areas {
    grid-template-columns: minmax(0, 1fr);
  }

  .people-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .attr {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .person-card {
    padding: var(--s3);
  }

  .purpose-band {
    padding-block: var(--s8);
  }
}

/* =========================================================
   REDES SOCIAIS
   Marcas oficiais de cada rede, em silhueta, todas na mesma
   cor e no mesmo tamanho — uma linha visual única.
   ========================================================= */
a.btn {
  text-decoration: none;
}

.btn svg[fill="currentColor"] {
  --od-icon-size: 17px;
}

.social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}

.social-link .od-icon {
  --od-icon-size: 20px;
}

/* Rodapé */
.svc-footer {
  padding-block: var(--s5);
}

.svc-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s3) var(--s4);
}

.footer-brand {
  display: grid;
  gap: 2px;
}

.fb-name {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--fs-body);
}

.fb-sign {
  display: block;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.footer-social {
  display: grid;
  gap: var(--s1);
  justify-items: flex-start;
}

.fs-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.social-footer {
  margin-left: -10px;
}

.social-footer .social-link {
  color: var(--ava-petroleo);
}

@media (hover: hover) {
  .social-footer .social-link:hover {
    color: #85591A;
    background: var(--surface-light-2);
  }
}

/* Fileira sobre a cena 3D */
.stage-social {
  position: absolute;
  left: calc(var(--s4) - 9px);
  bottom: calc(var(--panel-bar-h) + var(--s1));
  z-index: 4;
}

/* Menores que os do rodapé: na abertura são um apoio, não um destaque */
.stage-social .social-link {
  width: 34px;
  height: 34px;
  color: rgba(175, 192, 210, .68);
}

.stage-social .social-link .od-icon {
  --od-icon-size: 16px;
}

@media (hover: hover) {
  .stage-social .social-link:hover {
    color: var(--ava-ambar);
    background: rgba(247, 245, 240, .07);
  }
}

/* Sem cursor, o alvo de toque volta ao tamanho cheio */
@media (hover: none) {
  .stage-social .social-link {
    width: 44px;
    height: 44px;
  }

  .stage-social .social-link .od-icon {
    --od-icon-size: 18px;
  }
}

@media (max-width: 767px) {
  .svc-footer .footer-inner {
    align-items: flex-start;
  }

  .stage-social {
    left: calc(var(--s2) - 9px);
    bottom: calc(var(--panel-bar-h) + 2px);
  }

  .btn svg[fill="currentColor"] {
    --od-icon-size: 16px;
  }
}

/* =========================================================
   ESCOLHA DO CANAL DE CONTATO
   ========================================================= */
.contact-dialog {
  width: min(440px, calc(100vw - 32px));
}

.contact-dialog .dialog-head {
  margin-bottom: var(--s1);
}

.contact-dialog h2 {
  font-size: 24px;
  font-weight: 700;
}

.contact-dialog h2:focus {
  outline: none;
}

.contact-dialog h2:focus-visible {
  outline: 2px solid var(--ava-azul);
  outline-offset: 3px;
}

.contact-dialog .dialog-lead {
  margin-bottom: var(--s3);
}

.channel-list {
  display: grid;
  gap: var(--s1);
}

.channel {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-height: 76px;
  padding: var(--s2);
  background: var(--surface-light-2);
  color: var(--ink);
  border: 1px solid rgba(11, 34, 56, .1);
  border-radius: var(--radius);
  text-align: left;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}

.ch-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--ava-petroleo);
  color: var(--ava-offwhite);
}

.ch-icon .od-icon {
  --od-icon-size: 22px;
}

.ch-text {
  display: grid;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
}

.ch-name {
  display: block;
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1.3;
}

.ch-desc {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.4;
}

.ch-go {
  --od-icon-size: 20px;
  flex: none;
  color: var(--ink-soft);
}

@media (hover: hover) {
  .channel:hover {
    background: var(--ava-offwhite);
    border-color: var(--ava-petroleo);
  }

  .channel:hover .ch-go {
    color: var(--ava-petroleo);
  }
}

@media (max-width: 767px) {
  .contact-dialog {
    padding: var(--s3);
  }

  .ch-desc {
    font-size: var(--fs-xs);
  }
}