.tools-page {
  background: #ffffff;
  color: #111111;
}

/* =========================
   NAVIGATION HAUTE
========================= */

.top-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.top-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-logo img {
  width: 240px;
  max-width: 60vw;
  height: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.top-logo:hover img,
.top-logo:focus-visible img {
  opacity: 0.55;
  transform: scale(1.04);
}

.top-logo:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 6px;
}

/* =========================
   PAGE OUTILS
========================= */

.tools-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 118px 24px 40px;
}

.tools-panel {
  width: min(100%, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.tools-header {
  width: min(100%, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.tools-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.tools-text-block {
  width: 100%;
}

.tools-text-block p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-align: justify;
  text-justify: inter-word;
}

.tools-nav {
  width: 100%;
}

.tools-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.tools-list li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 520px);
  min-height: 72px;
  padding: 18px 28px;
  text-decoration: none;
  color: #111111;
  text-align: center;
  font-size: 1.14rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.3;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #ffffff;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-link:hover,
.tool-link:focus-visible {
  opacity: 0.74;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  outline: none;
}

/* =========================
   TABLETTE
========================= */

@media (max-width: 1100px) {
  .top-logo img {
    width: 200px;
    max-width: 58vw;
  }

  .tools-shell {
    padding: 104px 20px 34px;
  }

  .tools-panel {
    width: min(100%, 760px);
  }

  .tools-header {
    width: min(100%, 640px);
  }

  .tool-link {
    min-width: min(100%, 460px);
    font-size: 1.06rem;
  }
}

/* =========================
   SMARTPHONE
========================= */

@media (max-width: 720px) {
  .top-nav {
    top: 10px;
  }

  .top-logo img {
    width: 160px;
    max-width: 72vw;
  }

  .tools-shell {
    padding: 92px 16px 32px;
  }

  .tools-panel {
    gap: 28px;
  }

  .tools-header {
    width: 100%;
    gap: 14px;
  }

  .tools-title {
    font-size: 0.98rem;
    letter-spacing: 0.18em;
  }

  .tools-text-block p {
    font-size: 0.94rem;
    line-height: 1.68;
    text-align: left;
  }

  .tools-list {
    gap: 14px;
  }

  .tool-link {
    min-width: 100%;
    min-height: 64px;
    padding: 14px 16px;
    font-size: 0.98rem;
  }

  .tool-link:hover,
  .tool-link:focus-visible {
    transform: none;
  }
}