@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: "Migration";
  src: url("../fonts/migration-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Migration";
  src: url("../fonts/migration-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Migration";
  src: url("../fonts/migration-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* CV Figma — frame MacBook Pro 14" - 1 (node 167:1098) */
:root {
  --color-bg: #fff;
  --color-text: #000;
  --section-margin-bottom: clamp(2rem, 1.318rem + 3.636vi, 3.5rem);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: #fff;
  color: #000;
  font-family: "Migration", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  display: grid;
  grid-template-columns: 60vw 40vw;
  align-items: start;
  min-height: 100vh;
  gap: 0;
  min-width: 390px;
}

.page__content {
  min-width: 0;
  /* Figma frame padding ~82px top, 78px horizontal → 5.125rem / 4.875rem */
  padding: clamp(3rem, 6vw, 5.125rem) clamp(1.25rem, 4vw, 4.875rem) clamp(4rem, 8vw, 8rem);
  /* Contenu titre ~735px */
  max-width: 55rem;
  justify-self: center;
}

.hero {
  margin-bottom: var(--section-margin-bottom);
}

.hero__name {
  margin: 0 0 0.55em;
  /* Medium : Migration bold à 20px paraît trop massif */
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: normal;
  color: #000;
}

.hero__title {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(2rem, 0.854rem + 3.056vi, 2.688rem);
  font-weight: 400;
  line-height: 0.9423076923;
  max-width: 41.25rem;
  color: #000;
}

.hero__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: normal;
  color: #000;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__contact li {
  margin: 0;
  padding: 0;
}
.hero__contact li:not(:has(a)) {
  font-weight: 700;
}

.profile {
  /* Figma: 16px / 26px */
  font-size: 1rem;
  line-height: 1.625;
  margin-bottom: var(--section-margin-bottom);
}

.profile p {
  margin: 0 0 1.625rem;
}

.profile p:last-child {
  margin-bottom: 0;
}

.section-block {
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.section-block:last-child {
  margin-bottom: 0;
}

.section-block__title {
  margin: 0 0 1rem;
  font-size: 1.688rem;
  font-weight: 400;
  color: #000;
}

.experience {
  margin-bottom: var(--section-margin-bottom);
}

.experience:last-child {
  margin-bottom: 0;
}

.experience__heading {
  margin: 0 0 0.5rem;
  /* Figma: 15px Bold + Regular période */
  font-size: 0.9375rem;
  line-height: 1.35;
  font-weight: 700;
  color: #000;
}

.experience__period {
  font-weight: 400;
}

.experience__lede {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.625;
}

.experience__list {
  margin: 0;
  /* Figma: puce ~24px depuis le bord */
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  list-style-type: disc;
}

.experience__list li {
  margin-bottom: 0.15em;
  padding-left: 0.2em;
}

.experience__list li::marker {
  color: #000;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Figma: 10px gap */
  gap: 0.625rem;
}

.tag-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Figma tag: 10px padding, 5px radius, 1px border */
  padding: 0.25rem 0.813rem;
  border: 1px solid #000;
  border-radius: 5px;
  font-size: 1rem;
  line-height: 1.625;
  color: #000;
}

.hero-panel {
  position: sticky;
  top: 0;
  align-self: start;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background-color: #000;
}

.hero-panel__mark-container {
  background-color: #000;
  flex: 0 0 100%;
}

.hero-panel__mark {
  margin-inline: auto;
  display: block;
  width: min(10.25rem, 55%);
  height: auto;
}

@media (max-width: 960px) {
  .page {
    grid-template-columns: 1fr;
  }
  .hero__header {
    padding: 2rem;
    background-color: #F0F0F0;
    border-radius: 8px;
  }
  .hero__name,
  .hero__title {
    color: #2e2e2e;
  }
  .hero__title {
    margin-bottom: 0;
  }
  .hero__contact {
    margin-top: 2rem;
  }
  .hero-panel {
    box-sizing: content-box;
    position: relative;
    display: inline-flex;
    background-color: #000;
    justify-self: center;
    margin: 0;
    padding: 1rem 1.5rem;
  }
  .hero-panel__mark {
    width: 150px;
  }
  .page__content {
    padding-top: 1rem;
  }
  .hero__contact {
    flex-direction: column;
  }
}
