/* Novatera Health — shared styles for the EN and PT pages */

:root {
  --ink: #0b2e3c;
  --ink-deep: #08222d;
  --text: #12232e;
  --muted: #3d4f5c;
  --label: #56666f;
  --step-num: #6b7b84;
  --accent: #1f6f66;
  --accent-hover: #134c46;
  --accent-soft: #e6f0ee;
  --accent-on-dark: #9fd3cb;
  --line: #e2e8ea;
  --line-strong: #c5d1d5;
  --tint: #f5f8f8;
  --on-dark-muted: #c9d8dd;
  --footer-text: #a9bcc3;
  --dark-border: #2e5464;
  --white: #ffffff;

  --serif: "Source Serif 4", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --container: 1200px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

/* Layout */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

.band {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Type */

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
}

.h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.body-muted {
  color: var(--muted);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin-bottom: 56px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--ink-deep);
  color: var(--white);
}

.btn-outline {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--tint);
  color: var(--ink);
}

/* Icon tile */

.icon-tile {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-tile svg {
  width: 22px;
  height: 22px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.main-nav,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}

.main-nav {
  font-size: 15px;
}

.nav-links a {
  padding: 10px 0;
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  font-size: 14px;
}

.lang-switch a,
.lang-switch span {
  padding: 10px 6px;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
}

.lang-switch [aria-current] {
  font-weight: 600;
  color: var(--ink);
}

/* Hero */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
  padding-top: clamp(48px, 9vw, 120px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.hero-copy {
  display: flex;
  flex: 1 1 520px;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.hero-lede {
  max-width: 580px;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding-top: 8px;
}

.hero-art {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 480px;
  margin: 0 auto;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Facts bar */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px 40px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.facts dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}

.facts dd {
  margin-top: 4px;
  font-weight: 500;
  color: var(--ink);
}

/* Focus statement */

.focus {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  padding-top: clamp(56px, 9vw, 120px);
}

.focus .eyebrow {
  flex: 1 1 300px;
  padding-top: 10px;
}

.focus-statement {
  flex: 3 1 560px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Steps (What we do) */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 32px 32px 0;
  border-bottom: 1px solid var(--line);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.step-num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--step-num);
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

/* Partners */

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
}

.partners-intro {
  display: flex;
  flex: 1 1 340px;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.benefits {
  display: grid;
  flex: 2 1 560px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px 48px;
  min-width: 0;
  padding: 0;
  list-style: none;
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.benefit h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

/* Principles */

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.principle {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.principle h3 {
  font-size: 24px;
}

/* Contact */

.contact {
  background: var(--ink);
  color: var(--white);
}

.contact .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px 64px;
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.contact-copy {
  display: flex;
  flex: 1 1 520px;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.contact .eyebrow {
  color: var(--accent-on-dark);
}

.contact .display {
  color: var(--white);
}

.contact-lede {
  max-width: 560px;
  color: var(--on-dark-muted);
}

.contact-card {
  display: flex;
  flex: 0 1 380px;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  font-style: normal;
}

.contact-card-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
}

.contact-card-title {
  font-family: var(--serif);
  font-size: 26px;
}

.contact-email {
  font-size: 17px;
  color: var(--white);
  overflow-wrap: anywhere;
}

.contact-email:hover {
  color: var(--accent-on-dark);
}

.contact-location {
  font-size: 15px;
  color: var(--on-dark-muted);
}

.contact-card .btn {
  margin-top: 16px;
}

.contact a:focus-visible {
  outline-color: var(--accent-on-dark);
}

/* Footer */

.site-footer {
  background: var(--ink-deep);
  color: var(--footer-text);
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer-langs {
  display: flex;
  gap: 20px;
}

.footer-langs a {
  color: var(--footer-text);
}

.footer-langs a:hover {
  color: var(--white);
}

/* Phone width */

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  .nav-links,
  .hero-art {
    display: none;
  }

  .hero-ctas .btn {
    flex: 1 1 100%;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .step {
    padding: 24px 0;
  }

  .benefits,
  .principles {
    gap: 28px;
  }
}
