/* Harmonisation décidée après les revues éditoriale, créative et acquisition. */

/* Les tailles de lecture restent stables entre les différents écrans. */
.eyebrow,
.hero .eyebrow,
.product-note .eyebrow {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .1em;
}

.navigation,
.button,
.text-link,
.hero-actions .text-link,
.product-note .text-link {
  font-size: 14px;
  line-height: 1.5;
}

.brand-name > span {
  font-size: 10px;
  letter-spacing: .2em;
}

.hero-role {
  display: grid;
  gap: 8px;
  line-height: 1.5;
}

.hero-role > strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.hero-role > span {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  gap: 23px;
}

.profile-top {
  /* Garde la hauteur de l ancienne fleche, retiree du coin de la carte. */
  min-height: 24px;
  font-size: 12px;
  letter-spacing: .1em;
}

.profile-caption > strong {
  font-size: 16px;
  line-height: 1.4;
}

.profile-caption > span {
  font-size: 14px;
  line-height: 1.6;
}

.hero-baseline {
  font-size: 12px;
  line-height: 1.6;
}

.section-heading > p:last-child:not(.eyebrow),
.expertise-section .section-heading > p:last-child:not(.eyebrow),
.projects-section .projects-heading > p,
.expertise-section .expertise-item p,
.projects-section .project-main > p,
.projects-section .project-main .project-role,
.career-intro > p:not(.eyebrow),
.timeline-item > p,
.mission-detail,
.product-note p,
.contact-section p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
}

.expertise-section .tags li,
.projects-section .project-detail .tags li,
.projects-section .project-index > span:last-child,
.projects-section .detail-kicker {
  font-size: 12px;
  line-height: 1.6;
}

.expertise-section .expertise-number,
.projects-section .project-index > span:first-child {
  font-size: 12px;
}

.projects-section .project-company > span,
.projects-section .project-role > strong,
.projects-section .project-detail > p,
.career-fact > span,
.timeline-meta > span,
.timeline-meta > time,
.timeline summary {
  font-size: 14px;
  line-height: 1.6;
}

.timeline summary {
  min-height: 44px;
}

.career-intro > p.timeline-hint {
  max-width: 300px;
  font-size: 14px;
  line-height: 1.7;
}

.certifications-link {
  margin-top: 24px;
  font-size: 14px;
  min-height: 40px;
}

/* Un bloc identifié, avec les quatre certifications présentes dans les CV. */
.career-extras {
  margin-top: 64px;
}

.career-extras .certifications {
  margin: 12px 0 0;
}

.certifications {
  padding-top: 32px;
  scroll-margin-top: 24px;
}

.certifications > h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.certifications ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 25px;
}

.certifications li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid #d8dde2;
  border-radius: 8px 0 8px 8px;
  background: var(--paper);
}

.certification-logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.certification-logo-wide {
  width: 112px;
  height: 90px;
}

.certification-logo-microsoft {
  width: 108px;
  height: 108px;
}

.certification-copy {
  min-width: 0;
}

.certifications .certification-copy > strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.02em;
}

.certifications .certification-copy > span {
  display: block;
  margin-top: 7px;
  color: #525c70;
  font-size: 14px;
  line-height: 1.6;
}

.certification-copy > time {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.product-note {
  margin-top: 46px;
}

.career-extras .product-note {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 12px 64px;
  width: 100%;
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid #d2d6d8;
  scroll-margin-top: 24px;
}

.career-extras .product-note-top {
  grid-column: 1;
  grid-row: 1;
  justify-content: flex-start;
}

.career-extras .product-note-top > span:last-child {
  display: none;
}

.career-extras .product-note h3 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.career-extras .product-note p {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: start;
  margin: 0;
  max-width: 65ch;
}

.career-extras .product-note .text-link {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  align-self: start;
  margin-top: 0;
  min-height: 32px;
}

.product-note .product-note-top > span:last-child {
  flex-shrink: 0;
}

.contact-actions > span {
  font-size: 14px;
  line-height: 1.6;
}

.footer-brand {
  font-size: 14px;
}

.footer-inner > span,
.back-to-top {
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .career-layout {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.15fr);
  }
}

/* Le menu se replie plus tôt afin de conserver des liens suffisamment lisibles. */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 100px;
  }

  .header-inner {
    min-height: 82px;
  }

  .menu-toggle:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--line);
    background: transparent;
    padding: 9px 12px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.4;
  }

  .menu-symbol {
    font-size: 23px;
    line-height: 1;
  }

  .navigation {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 18px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    font-size: 16px;
  }

  .navigation > a {
    padding: 10px;
  }

  .navigation .nav-contact {
    justify-content: space-between;
    margin-top: 8px;
    padding: 12px 14px;
  }

  .menu-ready .navigation:not(.is-open) {
    display: none;
  }

  .navigation a[aria-current="location"]:not(.nav-contact)::after {
    display: none;
  }

  body:not(.menu-ready) .site-header {
    position: relative;
  }

  body:not(.menu-ready) .header-inner {
    flex-wrap: wrap;
  }

  body:not(.menu-ready) .navigation {
    position: static;
    width: 100%;
    padding: 0 0 20px;
    border: 0;
  }

  .hero-role > strong {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.7;
  }

  .career-intro {
    position: static;
  }

  .career-layout {
    display: block;
  }

  .career-intro > p:not(.eyebrow) {
    max-width: 50ch;
  }

  .career-content {
    margin-top: 38px;
  }

  .career-extras {
    margin-top: 48px;
  }

  .career-extras .product-note {
    display: block;
    padding: 26px 0;
  }

  .career-extras .product-note h3 {
    margin-top: 16px;
  }

  .career-extras .product-note p {
    margin-top: 18px;
  }

  .career-extras .product-note .text-link {
    margin-top: 18px;
  }

  .certifications ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .hero .eyebrow {
    align-items: flex-start;
    font-size: 12px;
    letter-spacing: .06em;
  }

  .small-square {
    flex-shrink: 0;
    margin-top: 6px;
  }

  .profile-top {
    font-size: 12px;
  }

  .certifications li {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 16px;
  }

  .certification-logo,
  .certification-logo-wide,
  .certification-logo-microsoft {
    width: 82px;
    height: 90px;
  }

  .certifications .certification-copy > strong {
    font-size: 17px;
  }

  .footer-inner {
    padding-block: 24px;
    gap: 18px;
  }
}

@media (min-width: 761px) and (max-height: 850px) {
  .career-intro {
    position: static;
  }
}
