/* Layout L06 · Saúde clean — Hemolog */
:root {
  --red: #b3122f;
  --red-dark: #8e0e25;
  --red-soft: #fdf0f2;
  --red-line: #f3d6dc;
  --ink: #0f2a3d;
  --text: #3d4b5c;
  --muted: #687687;
  --sky: #f4f8fb;
  --line: #e3e9ef;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 14px 34px rgba(15, 42, 61, 0.08);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.55em;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.container {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}
.section {
  padding: clamp(64px, 9vw, 108px) 0;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
}
.skip:focus {
  left: 8px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow.light {
  color: #ffd5dc;
}
.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* Botões e links */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(179, 18, 47, 0.22);
  transition: transform 0.2s, background 0.2s;
}
.button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}
.button.ghost {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  box-shadow: none;
}
.button.ghost:hover {
  background: var(--red);
  color: var(--white);
}
.button.white {
  background: var(--white);
  color: var(--red);
  box-shadow: none;
}
.link {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--red-line);
  transition: border-color 0.2s;
}
.link:hover {
  border-color: var(--red);
}

/* Ícones de linha */
.icon-badge {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--red-soft);
}
.icon-badge svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-badge.big {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}
.icon-badge.big svg {
  width: 32px;
  height: 32px;
}

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-size: 1.45rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-text strong span {
  color: var(--red);
}
.brand-text small {
  font-size: 0.78rem;
  color: var(--muted);
}
.menu {
  display: flex;
  gap: 4px;
}
.menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.menu a:hover {
  background: var(--red-soft);
  color: var(--red);
}
.menu-toggle {
  display: none;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Abertura */
.hero {
  background:
    radial-gradient(circle at 0% 0%, var(--red-soft), transparent 45%),
    linear-gradient(180deg, var(--white), var(--sky));
  padding: clamp(48px, 7vw, 88px) 0 clamp(96px, 11vw, 130px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--red-line);
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
}
.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-text > p {
  font-size: 1.15rem;
  max-width: 33em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 30px;
}
.hero-art {
  position: relative;
}
.route {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(15, 42, 61, 0.12));
}
.route-line {
  animation: rota 1.6s linear infinite;
}
@keyframes rota {
  to {
    stroke-dashoffset: -32;
  }
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.3;
  color: var(--muted);
}
.float-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}
.float-top {
  top: 6%;
  left: -6%;
}
.float-bottom {
  bottom: 4%;
  right: -4%;
}

/* Identificação */
.identity {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 26px 32px;
}
.identity strong {
  color: var(--ink);
}

/* Empresa */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pillars li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.pillars .icon-badge {
  margin-bottom: 14px;
}
.pillars h3 {
  margin-bottom: 4px;
}
.pillars p {
  margin: 0;
  font-size: 0.95rem;
}

/* Serviços */
.services {
  background: var(--sky);
}
.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-heading.center {
  text-align: center;
  margin-inline: auto;
}
.section-heading.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--red-line);
}
.service .icon-badge {
  margin-bottom: 18px;
}
.service p {
  margin: 0;
  font-size: 0.97rem;
}

/* Como funciona */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed var(--red-line);
}
.steps li {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
  box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--red-line);
}
.steps p {
  margin: 0;
  font-size: 0.95rem;
}
.audience {
  margin-top: 56px;
  text-align: center;
}
.audience ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.audience li {
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
}

/* Dados cadastrais */
.registry {
  background: linear-gradient(180deg, var(--sky), var(--white));
}
.status {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: #e6f5ec;
  color: #17663d;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
}
.data-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
.data-grid .wide {
  grid-column: span 2;
}
.data-grid .wider {
  grid-column: span 3;
}
.data-grid dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.data-grid dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
.data-grid dd.muted {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.88rem;
  margin-top: 4px;
}

/* Localização */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.address-card {
  background: var(--red-soft);
  border: 1px solid var(--red-line);
  border-radius: var(--radius);
  padding: 36px;
}
.address-card address {
  font-style: normal;
  font-size: 1.15rem;
  color: var(--text);
}
.address-card strong {
  color: var(--ink);
}
.correspondence {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 18px;
  margin: 8px 0 28px;
}
.correspondence p {
  margin: 0;
}

/* Chamada final */
.cta {
  padding-bottom: clamp(64px, 9vw, 100px);
}
.cta-box {
  text-align: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  border-radius: 32px;
  padding: clamp(40px, 7vw, 72px) 24px;
}
.cta-box h2 {
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Rodapé */
footer {
  background: var(--ink);
  color: #b9c6d3;
  font-size: 0.95rem;
  padding: 56px 0 28px;
}
footer .brand-text strong {
  color: var(--white);
}
footer .brand-text strong span {
  color: #ff8a9c;
}
footer .brand-text small {
  color: #b9c6d3;
}
footer h2 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
footer p {
  margin: 0 0 6px;
}
footer strong {
  color: var(--white);
}
footer address {
  font-style: normal;
}
footer .link {
  color: #ff8a9c;
  border-color: rgba(255, 138, 156, 0.4);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 34px 0;
}
.footer-cnpj {
  color: #ff8a9c;
  font-weight: 700;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: #dbe4ec;
  text-decoration: none;
}

/* Responsivo */
@media (max-width: 1024px) {
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .data-grid .wider {
    grid-column: span 2;
  }
  .identity {
    grid-template-columns: 1fr 1fr;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .menu.open {
    display: flex;
  }
  .menu a {
    padding: 12px 6px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-grid,
  .about,
  .location-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }
  .float-top {
    left: 0;
  }
  .float-bottom {
    right: 0;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
  .steps::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }
  .identity,
  .data-grid,
  .service-grid,
  .pillars {
    grid-template-columns: 1fr;
  }
  .data-grid .wide {
    grid-column: auto;
  }
  .identity {
    padding: 22px;
  }
  .float-card {
    position: static;
    margin-top: 12px;
  }
  .address-card {
    padding: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .route-line {
    animation: none;
  }
  * {
    transition: none !important;
  }
}
