html {
  font-size: clamp(16px, 0.6vw + 11px, 22px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  max-width: 70rem;
  margin: auto;
  padding: 2rem;
  font-family: sans-serif;
}

header {
  text-align: center;
}

header img {
  width: 8rem;
}

header p,
h2 {
  font-weight: bold;
  text-transform: uppercase;
  color: #6b6b6b;
}

header .name,
h2 {
  color: black;
}

h2 {
  font-size: 0.9rem;
  margin: 1.5rem 0 0.5rem;
}

hr {
  border: none;
  border-bottom: 1px solid #e5e5e5;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

th,
td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #e5e5e5;
}

tbody tr:nth-child(odd) {
  background: #fafafa;
}

footer {
  text-align: center;
  margin-top: 3rem;
}

.credit {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #6b6b6b;
}

.credit a {
  color: inherit;
}

.info {
  position: relative;
  font-weight: normal;
  color: #6b6b6b;
  cursor: help;
}

/* bulle affichée au survol (ou au toucher sur mobile) */
.bubble {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  width: 20rem;
  max-width: 80vw;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: white;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #444;
  font-size: 0.8rem;
  line-height: 1.4;
  text-transform: none;
  cursor: auto;
}

.info:hover .bubble,
.info:focus .bubble,
.info:focus-within .bubble {
  display: block;
}

.bubble a {
  color: inherit;
}

/* petit i minuscule dans un cercle */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 0.85em;
  font-style: italic;
  text-transform: none;
  vertical-align: 0.1em;
}
