:root {
  --ink: #10243f;
  --muted: #617283;
  --teal: #078b88;
  --blue: #1b5f8f;
  --berry: #8f315e;
  --soft: #f2fbfa;
  --wash: #f7fbff;
  --line: #d8e5e9;
  --paper: #ffffff;
  --shadow: 0 22px 60px rgba(13, 45, 65, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header,
.hero,
.gateway,
.focus,
footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 900;
}

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  align-items: center;
  gap: 58px;
  padding: 56px 0 58px;
}

main {
  background: linear-gradient(180deg, var(--wash) 0%, var(--soft) 56%, #ffffff 100%);
  border-top: 1px solid var(--line);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 76px;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 38px;
  line-height: 1.08;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-panel {
  min-height: 420px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.portrait {
  min-height: 320px;
  background-image: url("/site-assets/patricia-pelufo-silveira.jpg");
  background-position: center 22%;
  background-size: cover;
}

.signal {
  display: grid;
  gap: 1px;
  background: var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.signal span {
  padding: 13px 16px;
  background: white;
}

.gateway {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 0 84px;
}

.gateway article {
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 32px rgba(16, 36, 63, 0.06);
}

.gateway article > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gateway article > img.portrait-card {
  height: 260px;
  padding: 18px 0 0;
  object-fit: contain;
  object-position: center bottom;
  background: #eef2f5;
}

.gateway article > img.cell-card {
  height: 260px;
  padding: 28px;
  object-fit: contain;
  background: #f7fbff;
}

.gateway article > div,
.gateway article > a {
  margin-left: 34px;
  margin-right: 34px;
}

.gateway article > div {
  padding-top: 30px;
}

.gateway article > a {
  margin-bottom: 34px;
}

.gateway p {
  color: var(--muted);
  font-size: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.button.secondary {
  background: transparent;
  color: var(--teal);
}

.hero-actions .button.secondary {
  border-color: var(--berry);
  color: var(--berry);
}

.button.tertiary {
  border-color: var(--blue);
  background: var(--blue);
}

.hero-actions .button.tertiary {
  background: transparent;
  color: var(--blue);
}

.button:hover {
  text-decoration: none;
}

.focus {
  padding: 76px 0 92px;
  border-top: 1px solid var(--line);
}

.focus-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.focus-grid span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--blue);
  font-weight: 900;
}

footer {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #fff;
}

body > footer {
  width: 100%;
  max-width: none;
  padding: 34px max(20px, calc((100vw - 1160px) / 2));
  background: var(--ink);
}

footer p {
  margin: 0;
  font-weight: 900;
}

footer a {
  color: #fff;
}

@media (max-width: 860px) {
  header,
  .hero,
  .gateway,
  footer {
    grid-template-columns: 1fr;
  }

  header {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0;
  }

  nav,
  footer {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-panel {
    max-width: 420px;
  }

  .gateway {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  header,
  .hero,
  .gateway,
  .focus {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 20px;
  }

  .gateway article > div,
  .gateway article > a {
    margin-left: 22px;
    margin-right: 22px;
  }

  .gateway article > a {
    margin-bottom: 24px;
  }
}
