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

:root {
  --fond: #ffffff;
  --texte: #000000;
  --police: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  line-height: 1.6;
}

.barre {
  max-width: 560px; margin: 0 auto; padding: 24px 20px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.signature {
  font-size: 18px; font-weight: 800; letter-spacing: 1px;
  border: 1.5px solid var(--texte); border-radius: 8px; padding: 4px 8px; line-height: 1;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }

.photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; }
.photo--vide {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--texte); font-size: 13px;
}

h1 { margin: 12px 0 0; font-size: 44px; font-weight: 600; letter-spacing: -1px; line-height: 1.1; }
.role { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.bio { margin: 8px 0 0; font-size: 17px; }

.fleche {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1.5px solid var(--texte); border-radius: 50%;
  color: var(--texte); text-decoration: none; font-size: 22px; line-height: 1;
  transition: background .15s, color .15s;
}
.fleche:hover, .fleche:focus-visible { background: var(--texte); color: var(--fond); }
.fleche:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }

a.signature { color: var(--texte); text-decoration: none; }

.cta {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 20px; margin-bottom: -32px;
  background: var(--texte); color: var(--fond); text-decoration: none;
  border: 1px solid var(--texte); border-radius: 14px; text-align: center;
  font-size: 19px; font-weight: 700; transition: background .15s, color .15s;
}
.cta__detail { font-size: 14px; font-weight: 400; }
.cta:hover, .cta:focus-visible { background: var(--fond); color: var(--texte); }
.cta:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }

.retour { font-size: 15px; color: var(--texte); }
.essentiel { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-top: 1px solid var(--texte); }
.essentiel:last-of-type { border-bottom: 1px solid var(--texte); }
.essentiel__num { font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.essentiel h2 { margin: 0; }
.essentiel p { margin: 0; font-size: 17px; }
.essentiel .lien { margin-top: 8px; }
.note { font-size: 13px; text-align: center; }

.liens { display: flex; flex-direction: column; gap: 12px; }
.lien {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 0 20px;
  border: 1px solid var(--texte); border-radius: 14px;
  color: var(--texte); text-decoration: none; font-size: 17px; font-weight: 500;
  transition: background .15s, color .15s;
}
a.lien:hover, a.lien:focus-visible { background: var(--texte); color: var(--fond); }
a.lien:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }
.lien--inactif { border-style: dashed; }
.detail { font-size: 14px; font-weight: 400; overflow-wrap: anywhere; text-align: right; }

h2 { margin: 0 0 16px; font-size: 24px; font-weight: 600; }
.faire { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.faire li {
  counter-increment: n; display: flex; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--texte); font-size: 17px;
}
.faire li:last-child { border-bottom: 1px solid var(--texte); }
.faire li::before { content: "0" counter(n); font-weight: 600; }

.video { display: flex; flex-direction: column; gap: 12px; color: var(--texte); text-decoration: none; }
.video__image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--texte); border-radius: 14px; }
.video__image--vide { display: flex; align-items: center; justify-content: center; font-size: 13px; }
.video__titre { font-size: 17px; font-weight: 500; }
.video__cta { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.video:hover .video__cta, .video:focus-visible .video__cta { text-decoration-thickness: 2px; }
.video:focus-visible { outline: 2px solid var(--texte); outline-offset: 4px; border-radius: 14px; }

footer { text-align: center; font-size: 14px; }
footer p { margin: 0; }
.signature-pied { margin-bottom: 8px !important; letter-spacing: .5px; }

@media (prefers-reduced-motion: reduce) { .lien { transition: none; } }
