/* public/app/css/features.css
 * Synopsis: Module features.
 * Objectif: Rôle de public/app/css/features.css.
 */

.features {
  border-top: 1px solid var(--line, var(--ink));
  padding: clamp(4rem, 10vw, 9rem) var(--edge);
  background: var(--band-proof, var(--paper));
  color: var(--band-proof-ink, var(--ink));
}

.features-copy {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.features-copy h2 {
  margin-bottom: .85rem;
}

.features-lead {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  max-width: 34ch;
  margin: 0 0 1rem;
}

.features-privacy {
  font-weight: 700;
  margin: 0;
  max-width: 40ch;
}

.feat-table {
  border-collapse: collapse;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  max-width: 40rem;
  width: 100%;
}

.feat-table th,
.feat-table td {
  border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  padding: .7rem 0;
  text-align: left;
  vertical-align: top;
}

.feat-table th {
  font-weight: 700;
  padding-right: 1.25rem;
  white-space: nowrap;
  width: 7rem;
}

.feat-table tr:last-child th,
.feat-table tr:last-child td {
  border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
}

.features .link-button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.features .link-button.primary:hover {
  filter: brightness(1.08);
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 560px) {
  .feat-table,
  .feat-table tbody,
  .feat-table tr,
  .feat-table th,
  .feat-table td {
    display: block;
    width: 100%;
  }

  .feat-table th {
    border-bottom: 0;
    padding-bottom: .15rem;
  }

  .feat-table td {
    border-top: 0;
    padding-top: 0;
  }
}
