/* AxisHealth Brasil — site institucional
   Paleta e tipografia derivadas da identidade das apresentações. */

:root {
  --ink: #0c1220;
  --ink-2: #121b2c;
  --ink-3: #16223a;
  --steel: #33698d;
  --steel-soft: #2b5876;
  --sky: #5bb0e3;
  --sky-dim: #8fc9ec;
  --line: #22314a;
  --text: #e7edf5;
  --muted: #9cafc6;
  --rail-w: 232px;
  --col: 1060px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-family: "Archivo", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding-left: 1.15em; }
li { margin-bottom: .45em; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sky);
  color: #06101d;
  padding: 10px 16px;
  z-index: 99;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- eixo lateral (navegação) ---------- */

.rail { display: none; }

@media (min-width: 1180px) {
  .rail {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: var(--rail-w);
    height: 100vh;
    padding: 34px 0 34px 30px;
    border-right: 1px solid var(--line);
    background: rgba(9, 14, 25, .72);
    backdrop-filter: blur(6px);
    z-index: 20;
    overflow-y: auto;
  }
  .rail-mark { width: 52px; margin-bottom: 34px; }
  .rail-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    border-left: 1px solid var(--line);
  }
  .rail-list li { margin: 0; }
  .rail-list a {
    position: relative;
    display: block;
    padding: 7px 0;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    transition: color .18s ease;
  }
  .rail-list a::before {
    content: "";
    position: absolute;
    left: -21px;
    top: 50%;
    width: 9px;
    height: 1px;
    background: var(--line);
    transform: translateY(-50%);
    transition: background .18s ease, width .18s ease;
  }
  .rail-list a:hover { color: var(--text); }
  .rail-list a.is-active { color: var(--sky); }
  .rail-list a.is-active::before { background: var(--sky); width: 15px; }
  .rail-foot {
    margin-top: 30px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
  }
  body { padding-left: var(--rail-w); }
}

/* ---------- topo mobile ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  background: rgba(9, 14, 25, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.topbar img { width: 132px; }
.topbar a.btn-sm {
  font-size: 14px;
  border: 1px solid var(--sky);
  color: var(--sky);
  padding: 7px 13px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 1180px) { .topbar { display: none; } }

/* ---------- estrutura ---------- */

.wrap {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
}

.band { padding: clamp(64px, 8vw, 118px) 0; scroll-margin-top: 68px; }
.band-2 { background: var(--ink-2); }
.band-edge { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: 0;
  margin: 0 0 10px;
}

h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: clamp(20px, 2.4vw, 25px); }
h4 { font-size: 18px; }

.lede {
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  margin-top: 20px;
}
.lede strong { color: var(--text); font-weight: 600; }

.closer {
  margin-top: 46px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 600;
  line-height: 1.28;
  color: var(--text);
  max-width: 30ch;
  padding-left: 18px;
  border-left: 2px solid var(--sky);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 12vw, 148px) 0 clamp(60px, 9vw, 110px);
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(51, 105, 141, .34) 0%, rgba(12, 18, 32, 0) 62%),
    var(--ink);
}
.hero-mark {
  position: absolute;
  right: -6%;
  bottom: -14%;
  width: min(58%, 560px);
  opacity: .05;
  pointer-events: none;
}
.hero-logo { width: min(320px, 74%); margin-bottom: 40px; }
.hero h1 {
  font-size: clamp(38px, 6.6vw, 74px);
  line-height: 1.03;
  max-width: 15ch;
  color: var(--sky);
}
.hero h1 span { display: block; }
.hero p {
  margin-top: 26px;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}
.hero-tag {
  margin-top: 34px;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  color: var(--text);
  font-size: clamp(16px, 1.8vw, 19px);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--sky);
  transition: background .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; }
.btn-fill { background: var(--sky); color: #06101d; }
.btn-fill:hover { background: var(--sky-dim); }
.btn-line { color: var(--sky); }
.btn-line:hover { background: rgba(91, 176, 227, .12); }

/* ---------- grades e blocos ---------- */

.grid { display: grid; gap: 18px; margin-top: 42px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  border-radius: 4px;
  padding: 24px;
  background: rgba(255, 255, 255, .015);
}
.card h3, .card h4 { margin-bottom: 9px; }
.card p, .card ul { color: var(--muted); font-size: 16px; }
.card ul { margin-top: 8px; }
.card strong { color: var(--text); font-weight: 600; }

.panel {
  background: var(--steel);
  border-radius: 5px;
  padding: 24px 26px;
}
.panel h3, .panel h4 { margin-bottom: 8px; }
.panel p, .panel ul { color: rgba(255, 255, 255, .9); font-size: 16px; }

.plain { border-top: 1px solid var(--line); padding-top: 20px; }
.plain h3 { margin-bottom: 8px; }
.plain p { color: var(--muted); font-size: 16px; }

.note {
  margin-top: 34px;
  border-left: 3px solid var(--sky);
  background: rgba(51, 105, 141, .18);
  padding: 18px 22px;
  color: var(--text);
  font-size: 16px;
  border-radius: 0 4px 4px 0;
}

/* ---------- ambientes (fotos) ---------- */

.shot { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.shot img { width: 100%; height: 150px; object-fit: cover; }
.shot-body { padding: 18px 20px 22px; }
.shot-body h3 { font-size: 20px; margin-bottom: 8px; }
.shot-body p { color: var(--muted); font-size: 15.5px; }

/* ---------- fluxo horizontal ---------- */

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}
.flow li {
  flex: 1 1 150px;
  margin: 0;
  border-top: 2px solid var(--steel);
  padding-top: 12px;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.flow li:last-child { border-top-color: var(--sky); color: var(--sky); }

/* ---------- jornada (eixo numerado) ---------- */

.steps {
  list-style: none;
  margin: 44px 0 0;
  padding: 0 0 0 34px;
  border-left: 1px solid var(--line);
}
.steps li {
  position: relative;
  margin: 0 0 30px;
  padding-bottom: 2px;
}
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  content: attr(data-n);
  position: absolute;
  left: -34px;
  top: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--steel);
  color: var(--sky);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.band-2 .steps li::before { background: var(--ink-2); }
.steps h3 { font-size: 19px; margin-bottom: 5px; }
.steps p { color: var(--muted); font-size: 16px; }

/* ---------- comparativo ---------- */

.compare { display: grid; gap: 26px; margin-top: 44px; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.compare h3 { font-size: 20px; margin-bottom: 16px; }
.compare ul { list-style: none; padding: 0; }
.compare li {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 16px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 15.5px;
}
.compare .win li {
  background: var(--steel-soft);
  border-color: transparent;
  color: rgba(255, 255, 255, .92);
}
.compare .win li b { display: block; color: #fff; font-family: "Archivo", sans-serif; margin-bottom: 3px; }

/* ---------- lado a lado com imagem ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 44px;
}
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.duo img { border-radius: 4px; width: 100%; object-fit: cover; max-height: 480px; }

/* ---------- pilares ---------- */

.pillars { list-style: none; padding: 0; margin: 42px 0 0; }
.pillars li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars b {
  font-family: "Archivo", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}
.pillars span { color: var(--muted); font-size: 16px; }
@media (max-width: 700px) {
  .pillars li { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- liderança ---------- */

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 44px; }
@media (max-width: 820px) { .people { grid-template-columns: 1fr; } }
.people img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  margin-bottom: 18px;
}
.people h3 { font-size: 22px; margin-bottom: 3px; }
.people .role { color: var(--sky); font-size: 15px; margin-bottom: 14px; font-weight: 500; }
.people p { color: var(--muted); font-size: 15.5px; }

/* ---------- valores ---------- */

.values { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; padding: 0; list-style: none; }
.values li {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text);
}

/* ---------- clientes ---------- */

.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 860px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, 1fr); } }
.logos div {
  background: rgba(255, 255, 255, .95);
  border-radius: 4px;
  padding: 16px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logos img { max-height: 100%; width: auto; object-fit: contain; }
.logos .tile-dark { background: #0f1a2b; border: 1px solid var(--line); }
.logos-2 { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
@media (max-width: 860px) { .logos-2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- contato ---------- */

.contact { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; margin-top: 40px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.contact-card { background: var(--steel); border-radius: 5px; padding: 28px; }
.contact-card h3 { margin-bottom: 16px; }
.contact-card a { color: #fff; text-decoration: underline; }
.contact-card .btn { text-decoration: none; }
.contact-card .btn-fill { color: #06101d; border-color: var(--sky); }
.contact-line { margin-bottom: 12px; color: rgba(255, 255, 255, .92); font-size: 16px; }
.contact-line b { display: block; font-family: "Archivo", sans-serif; font-size: 14px; color: rgba(255, 255, 255, .72); font-weight: 600; }

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 14.5px;
}
footer img { width: 150px; margin-bottom: 18px; }

/* ---------- entrada do hero ---------- */

.reveal { opacity: 0; transform: translateY(14px); }
.loaded .reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}
.loaded .reveal:nth-child(2) { transition-delay: .08s; }
.loaded .reveal:nth-child(3) { transition-delay: .16s; }
.loaded .reveal:nth-child(4) { transition-delay: .24s; }
.loaded .reveal:nth-child(5) { transition-delay: .32s; }

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