:root {
  --white: #f5f7fb;
  --muted: rgba(245,247,251,.72);
  --line: rgba(255,255,255,.16);
  --accent: #96d9ff;
  --red: #ef6f63;
  --amber: #e6a84a;
  --green: #6dcc9a;
  --blue: #76a7ff;
  --paper: #f4f2ed;
  --paper-text: #17191b;
  --paper-muted: #62686d;
  --paper-line: rgba(23,25,27,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(rgba(3, 9, 17, .42), rgba(3, 9, 17, .52)),
    url("assets/img/tele01.jpg") center center / cover fixed no-repeat;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }

.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;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: 82px;
  padding: 0 clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(3,9,17,.14);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.brand {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -.025em;
}

.top-link {
  color: rgba(255,255,255,.76);
  font-size: .92rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px clamp(24px, 5vw, 72px) 80px;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,8,16,.55) 0%, rgba(2,8,16,.30) 50%, rgba(2,8,16,.05) 100%),
    linear-gradient(180deg, rgba(2,8,16,.05), rgba(2,8,16,.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .22em;
}

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  max-width: 1180px;
  font-size: clamp(2.65rem, 3.65vw, 4.15rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 520;
  text-wrap: nowrap;
  white-space: nowrap;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.primary-link,
.search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.46);
  background: rgba(3,9,17,.16);
  font-weight: 650;
  transition: background .2s ease, border-color .2s ease;
}

.primary-link { gap: 14px; }
.primary-link:hover,
.search-trigger:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.72);
}

.map-section {
  width: min(1340px, calc(100% - 56px));
  margin: 0 auto;
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}

.map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.map-heading h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 520;
}

.search-trigger {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: .92rem;
}

.search-drawer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 200px auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(4,11,20,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.search-drawer[hidden] { display: none; }
.search-drawer input,
.search-drawer select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  color: var(--white);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.14);
  outline: none;
}

.search-drawer select option { color: #111; }
.search-drawer input:focus,
.search-drawer select:focus { border-color: rgba(150,217,255,.65); }

.clear-filters {
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  cursor: pointer;
}

.filter-count {
  color: var(--muted);
  font-size: .82rem;
  white-space: nowrap;
}

.map-stage {
  position: relative;
  height: min(76vh, 760px);
  min-height: 610px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(80,140,190,.14), transparent 34%),
    rgba(2,8,16,.84);
  border: 1px solid rgba(255,255,255,.12);
}

#globe {
  width: 100%;
  height: 100%;
}

.map-hint {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 7;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(2,8,16,.72);
  color: rgba(255,255,255,.84);
  font-size: .84rem;
  pointer-events: none;
}

.globe-message {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(2,8,16,.90);
}
.globe-message p { margin-bottom: 6px; }
.globe-message small { color: var(--muted); }

.case-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  width: min(410px, 38vw);
  color: var(--paper-text);
  background: var(--paper);
  border-left: 1px solid var(--paper-line);
  transform: translateX(102%);
  transition: transform .32s ease;
  overflow-y: auto;
  box-shadow: -22px 0 60px rgba(0,0,0,.28);
}

.case-panel.is-open { transform: translateX(0); }

.panel-content { padding: 30px 28px 34px; }
.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--paper-line);
}

.panel-type {
  margin-bottom: 8px;
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .18em;
}

.panel-top h3 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 520;
}
.panel-sector { margin: 0; color: var(--paper-muted); }
.panel-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  background: transparent;
  color: var(--paper-text);
  cursor: pointer;
  font-size: 1.4rem;
}

.panel-summary {
  margin: 22px 0 12px;
  font-size: 1.12rem;
  line-height: 1.48;
  font-weight: 520;
}
.panel-context {
  margin: 0 0 22px;
  color: var(--paper-muted);
  font-size: .94rem;
}

.panel-section,
.panel-study {
  padding: 18px 0;
  border-top: 1px solid var(--paper-line);
}

.panel-section h4,
.panel-study h4 {
  margin-bottom: 12px;
  font-size: .9rem;
  font-weight: 720;
}

.panel-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.panel-section li {
  position: relative;
  padding: 5px 0 5px 15px;
  color: #4e5458;
  font-size: .92rem;
}
.panel-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2278aa;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.skills span {
  padding: 7px 9px;
  border: 1px solid var(--paper-line);
  color: #444a4e;
  font-size: .78rem;
}

.source-link {
  display: inline-block;
  margin-top: 4px;
  color: #176f9f;
  font-size: .86rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 2px 0;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
}
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.legend .red { background: var(--red); color: var(--red); }
.legend .amber { background: var(--amber); color: var(--amber); }
.legend .green { background: var(--green); color: var(--green); }
.legend .blue { background: var(--blue); color: var(--blue); }

.trust-line {
  width: min(1340px, calc(100% - 56px));
  margin: 50px auto 0;
  padding: 24px 0 48px;
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.72);
}
.trust-line p { margin: 0; font-size: .9rem; }

footer {
  min-height: 82px;
  padding: 0 clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(2,8,16,.78);
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.72);
  font-size: .84rem;
}
footer span { color: var(--white); font-weight: 600; }

@media (min-width: 1280px) {
  h1 { white-space: nowrap; font-size: clamp(3.3rem, 5.15vw, 5.35rem); }
}

@media (max-width: 980px) {
  .search-drawer { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .case-panel { width: min(430px, 56vw); }
}

@media (max-width: 720px) {
  .topbar { height: 70px; padding-inline: 20px; }
  .top-link { display: none; }
  .hero { min-height: 92vh; padding: 112px 22px 64px; align-items: flex-end; }
  h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero-text { font-size: 1rem; }
  .map-section,
  .trust-line { width: calc(100% - 28px); }
  .map-section { padding-top: 48px; }
  .map-heading { align-items: flex-start; flex-direction: column; }
  .map-heading h2 { font-size: 2.8rem; }
  .search-drawer { grid-template-columns: 1fr; }
  .search-field { grid-column: auto; }
  .map-stage { min-height: 590px; height: 74vh; }
  .case-panel { width: 100%; }
  .panel-content { padding: 26px 22px 32px; }
  footer { min-height: 94px; align-items: flex-start; flex-direction: column; justify-content: center; }
}


/* V17: leitura do topo sem corte */
@media (max-width: 980px) {
  h1 {
    white-space: normal;
    text-wrap: balance;
    max-width: 880px;
  }
}

/* O aviso só aparece quando realmente não existe canvas do globo */
.globe-message[hidden] { display: none !important; }


/* V19: visual aprovado, limpo e sem o título gigante */
html,
body,
button,
input,
select,
textarea,
a {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
}

.hero {
  min-height: 72vh;
  padding-top: 116px;
  padding-bottom: 72px;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2,8,16,.50) 0%, rgba(2,8,16,.22) 54%, rgba(2,8,16,.03) 100%),
    linear-gradient(180deg, rgba(2,8,16,.03), rgba(2,8,16,.14));
}

.hero-content {
  width: min(760px, 100%);
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.7rem, 4.7vw, 4.55rem);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 400;
  white-space: normal;
  text-wrap: balance;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 27px;
  font-size: 1.02rem;
  line-height: 1.58;
  font-weight: 400;
}

.brand,
.top-link,
.primary-link,
.search-trigger {
  font-weight: 600;
}

.map-heading h2 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -.05em;
}

/* O painel abaixo é a referência tipográfica aprovada */
.case-panel,
.panel-content,
.panel-top,
.panel-type,
.panel-sector,
.panel-summary,
.panel-context,
.panel-section,
.panel-study,
.skills,
.source-link {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.panel-content {
  padding: 24px 24px 30px;
}

.panel-top {
  padding-bottom: 18px;
}

.panel-type {
  margin-bottom: 7px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
}

.panel-top h3 {
  margin-bottom: 6px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.85rem, 2.45vw, 2.45rem);
  line-height: .94;
  letter-spacing: -.052em;
  font-weight: 400;
}

.panel-sector {
  font-size: .88rem;
  line-height: 1.42;
}

.panel-summary {
  margin: 18px 0 10px;
  font-size: 1rem;
  line-height: 1.42;
  letter-spacing: -.012em;
  font-weight: 600;
}

.panel-context {
  margin-bottom: 18px;
  font-size: .88rem;
  line-height: 1.55;
}

.panel-section,
.panel-study {
  padding: 15px 0;
}

.panel-section h4,
.panel-study h4 {
  margin-bottom: 9px;
  font-size: .82rem;
  font-weight: 600;
}

.panel-section li {
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: .86rem;
  line-height: 1.45;
}

.panel-section li::before {
  top: .78em;
  width: 4px;
  height: 4px;
}

.skills span {
  padding: 6px 8px;
  font-size: .74rem;
}

.source-link {
  font-size: .81rem;
}

@media (min-width: 1280px) {
  h1 {
    font-size: clamp(3.25rem, 4.7vw, 4.55rem);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 74vh;
    padding: 104px 22px 54px;
    align-items: flex-end;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: .96;
  }

  .hero-text {
    font-size: .96rem;
  }

  .panel-top h3 {
    font-size: 2rem;
  }
}


/* V20: acabamento tipográfico aprovado pelo usuário, baseado no painel de Washington */
:root {
  --panel-wash-paper: #f3f1ec;
  --panel-wash-text: rgba(18, 18, 18, .91);
  --panel-wash-muted: rgba(56, 60, 63, .72);
  --panel-wash-line: rgba(18, 18, 18, .11);
}

/* Evita o aspecto seco e excessivamente digital */
body,
button,
input,
select,
textarea {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.case-panel {
  background: var(--panel-wash-paper);
  color: var(--panel-wash-text);
  border-left-color: var(--panel-wash-line);
}

.case-panel,
.case-panel button,
.case-panel a,
.case-panel p,
.case-panel li,
.case-panel h3,
.case-panel h4,
.case-panel span {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  /* acabamento suave, levemente queimado nas bordas, como a referência */
  text-shadow: 0 0 .42px rgba(12, 12, 12, .24);
}

.panel-content {
  padding: 22px 22px 28px;
}

.panel-top {
  padding-bottom: 16px;
  border-bottom-color: var(--panel-wash-line);
}

.panel-type {
  margin-bottom: 7px;
  font-size: .61rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .16em;
  text-shadow: 0 0 .35px currentColor;
}

.panel-top h3 {
  margin: 0 0 5px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(1.8rem, 2.2vw, 2.28rem);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 400;
  color: rgba(10, 10, 10, .92);
  text-shadow: 0 0 .58px rgba(0, 0, 0, .30);
}

.panel-sector {
  margin: 0;
  color: var(--panel-wash-muted);
  font-size: .81rem;
  line-height: 1.35;
  font-weight: 400;
}

.panel-close {
  width: 34px;
  height: 34px;
  border-color: var(--panel-wash-line);
  color: rgba(18, 18, 18, .88);
  font-size: 1.12rem;
  text-shadow: none;
}

.panel-summary {
  margin: 16px 0 10px;
  color: rgba(17, 17, 17, .90);
  font-size: .88rem;
  line-height: 1.42;
  letter-spacing: -.008em;
  font-weight: 500;
  text-shadow: 0 0 .44px rgba(0, 0, 0, .22);
}

.panel-context {
  margin: 0 0 16px;
  color: var(--panel-wash-muted);
  font-size: .78rem;
  line-height: 1.48;
  font-weight: 400;
  text-shadow: 0 0 .34px rgba(0, 0, 0, .16);
}

.panel-section,
.panel-study {
  padding: 13px 0;
  border-top-color: var(--panel-wash-line);
}

.panel-section h4,
.panel-study h4 {
  margin-bottom: 8px;
  color: rgba(18, 18, 18, .90);
  font-size: .72rem;
  line-height: 1.3;
  font-weight: 600;
  text-shadow: 0 0 .42px rgba(0, 0, 0, .22);
}

.panel-section li {
  padding: 3px 0 3px 14px;
  color: rgba(52, 56, 59, .79);
  font-size: .76rem;
  line-height: 1.42;
  font-weight: 400;
  text-shadow: 0 0 .32px rgba(0, 0, 0, .16);
}

.panel-section li::before {
  top: .73em;
  width: 4px;
  height: 4px;
  background: #1577aa;
  box-shadow: 0 0 2px rgba(21, 119, 170, .25);
}

.skills {
  gap: 6px;
}

.skills span {
  padding: 5px 7px;
  border-color: var(--panel-wash-line);
  color: rgba(52, 56, 59, .79);
  font-size: .68rem;
  line-height: 1.25;
  background: rgba(255,255,255,.13);
}

.source-link {
  color: #176f9f;
  font-size: .73rem;
  text-shadow: 0 0 .32px rgba(23, 111, 159, .15);
}

/* Topo mais curto e limpo, sem textão brigando com a imagem */
.hero {
  min-height: 68vh;
}

.hero-content {
  width: min(700px, 100%);
}

h1 {
  max-width: 700px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(2.55rem, 4.15vw, 4rem);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 400;
  text-shadow: 0 0 .65px rgba(255,255,255,.22), 0 1px 1px rgba(0,0,0,.20);
}

.hero-text,
.map-heading h2,
.brand,
.top-link,
.primary-link,
.search-trigger {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  text-shadow: 0 0 .42px rgba(255,255,255,.14);
}

.map-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4.15rem);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.05em;
}

@media (max-width: 720px) {
  .panel-content { padding: 20px 18px 26px; }
  .panel-top h3 { font-size: 1.85rem; }
  h1 { font-size: clamp(2.55rem, 12.5vw, 3.8rem); }
}


/* V21: mobile de verdade, sem painel cobrindo o globo inteiro */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
    background-position: 58% center;
  }

  .topbar {
    height: 64px;
    padding: 0 18px;
  }

  .brand {
    font-size: .92rem;
  }

  .hero {
    min-height: 78svh;
    padding: 92px 20px 48px;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: .64rem;
    letter-spacing: .18em;
  }

  h1 {
    max-width: 340px;
    margin-bottom: 16px;
    font-size: clamp(2.35rem, 11vw, 3.15rem);
    line-height: .98;
    letter-spacing: -.047em;
    text-wrap: balance;
  }

  .hero-text {
    max-width: 330px;
    margin-bottom: 24px;
    font-size: .91rem;
    line-height: 1.5;
  }

  .primary-link {
    min-height: 46px;
    padding-inline: 17px;
    font-size: .88rem;
  }

  .map-section {
    width: calc(100% - 20px);
    padding-top: 38px;
  }

  .map-heading {
    gap: 16px;
    margin-bottom: 18px;
  }

  .map-heading h2 {
    max-width: 340px;
    font-size: clamp(2.15rem, 10.5vw, 2.9rem);
    line-height: .98;
    text-wrap: balance;
  }

  .search-trigger {
    width: 100%;
    justify-content: flex-start;
    min-height: 45px;
    padding-inline: 15px;
    font-size: .84rem;
  }

  .search-drawer {
    gap: 8px;
    padding: 10px;
    margin-bottom: 12px;
  }

  .search-drawer input,
  .search-drawer select,
  .clear-filters {
    height: 42px;
    font-size: .84rem;
  }

  .map-stage {
    height: 72svh;
    min-height: 560px;
    max-height: 680px;
    overflow: hidden;
  }

  #globe {
    position: absolute;
    inset: 0;
  }

  .map-hint {
    left: 12px;
    right: auto;
    bottom: 14px;
    max-width: calc(100% - 24px);
    padding: 9px 11px;
    font-size: .75rem;
  }

  .case-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: min(58svh, 520px);
    max-height: calc(100% - 110px);
    border-left: 0;
    border-top: 1px solid var(--panel-wash-line);
    border-radius: 16px 16px 0 0;
    transform: translateY(103%);
    transition: transform .3s cubic-bezier(.22,.75,.28,1);
    box-shadow: 0 -18px 46px rgba(0,0,0,.34);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .case-panel::before {
    content: "";
    position: sticky;
    z-index: 4;
    top: 8px;
    display: block;
    width: 36px;
    height: 4px;
    margin: 8px auto -2px;
    border-radius: 999px;
    background: rgba(20,20,20,.18);
    pointer-events: none;
  }

  .case-panel.is-open {
    transform: translateY(0);
  }

  .panel-content {
    min-height: 100%;
    padding: 14px 18px calc(24px + env(safe-area-inset-bottom));
  }

  .panel-top {
    gap: 12px;
    padding-top: 6px;
    padding-bottom: 14px;
  }

  .panel-top h3 {
    max-width: 270px;
    font-size: 1.72rem;
    line-height: .95;
  }

  .panel-sector {
    max-width: 270px;
    font-size: .78rem;
  }

  .panel-close {
    width: 32px;
    height: 32px;
  }

  .panel-summary {
    margin-top: 14px;
    font-size: .84rem;
  }

  .panel-context {
    font-size: .75rem;
    line-height: 1.46;
  }

  .panel-section,
  .panel-study {
    padding: 12px 0;
  }

  .legend {
    gap: 12px;
    padding-top: 12px;
    font-size: .7rem;
  }

  .trust-line {
    width: calc(100% - 24px);
    margin-top: 30px;
    padding-bottom: 32px;
  }

  footer {
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
    min-height: 86px;
    gap: 5px;
    font-size: .76rem;
  }
}

@media (max-width: 390px) {
  .hero { padding-inline: 18px; }
  h1 { font-size: 2.28rem; max-width: 310px; }
  .map-heading h2 { font-size: 2.12rem; }
  .map-stage { min-height: 540px; }
  .case-panel { height: min(60svh, 500px); }
}


/* V22: prévia clicável e controles de toque no celular */
.mobile-case-preview,
.mobile-globe-controls {
  display: none;
}

@media (max-width: 720px) {
  .map-stage {
    min-height: 610px;
    height: 76svh;
  }

  .mobile-globe-controls {
    position: absolute;
    z-index: 12;
    top: 46%;
    right: 12px;
    display: grid;
    gap: 8px;
  }

  .mobile-globe-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(4,11,20,.82);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
    font-size: 1.55rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-globe-controls button:active {
    transform: scale(.96);
    background: rgba(255,255,255,.12);
  }

  .mobile-case-preview {
    position: absolute;
    z-index: 18;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: block;
    padding: 20px 20px calc(17px + env(safe-area-inset-bottom));
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 18px;
    background: rgba(8,15,24,.95);
    color: #f5f7fb;
    box-shadow: 0 18px 50px rgba(0,0,0,.48);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    transition: transform .28s cubic-bezier(.22,.75,.28,1), opacity .2s ease;
    pointer-events: none;
  }

  .mobile-case-preview[hidden] {
    display: none;
  }

  .mobile-case-preview.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-preview-handle {
    display: block;
    width: 38px;
    height: 4px;
    margin: -8px auto 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.28);
  }

  .mobile-preview-close {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-preview-type {
    margin: 0 42px 7px 0;
    font-size: .64rem;
    font-weight: 650;
    letter-spacing: .18em;
  }

  .mobile-case-preview h3 {
    margin: 0 42px 3px 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.48rem;
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 400;
    text-shadow: 0 0 .55px rgba(255,255,255,.20);
  }

  .mobile-preview-sector {
    margin: 0 42px 11px 0;
    color: rgba(245,247,251,.66);
    font-size: .76rem;
  }

  .mobile-preview-summary {
    margin: 0 0 15px;
    color: rgba(245,247,251,.84);
    font-size: .84rem;
    line-height: 1.46;
  }

  .mobile-preview-details {
    width: 100%;
    min-height: 46px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.16);
    background: transparent;
    color: #fff;
    font-size: .9rem;
    cursor: pointer;
  }

  .mobile-preview-details span {
    font-size: 1.25rem;
  }

  .case-panel {
    height: min(72svh, 610px);
    max-height: calc(100% - 42px);
  }

  .map-stage.preview-open .mobile-globe-controls {
    top: 30%;
  }
}


/* V23: toque ampliado e estável no iPhone, sem mudar o visual */
.iphone-touch-layer {
  display: none;
}

@media (max-width: 720px) {
  #globe,
  #globe canvas {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .iphone-touch-layer {
    position: absolute;
    inset: 0;
    z-index: 11;
    display: block;
    overflow: hidden;
    pointer-events: none;
  }

  .iphone-touch-layer[hidden] {
    display: none !important;
  }

  .iphone-point-hotspot {
    position: absolute;
    left: 0;
    top: 0;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    opacity: .001;
    pointer-events: auto;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .iphone-point-hotspot:focus-visible {
    outline: 2px solid rgba(150,217,255,.75);
    outline-offset: -8px;
    opacity: 1;
  }

  .map-stage.preview-open .iphone-touch-layer,
  .case-panel.is-open ~ .iphone-touch-layer {
    pointer-events: none;
  }
}
