/*
 * Ajustements de fidélité à la proposition graphique « Parcours humain ».
 */

.story-thread {
  z-index: 3;
  top: 590px;
  right: 0;
  bottom: 330px;
  left: 0;
  width: 100%;
}

.story-thread path {
  stroke-width: 2.6;
}

.story-thread circle {
  fill: var(--signal);
  stroke: var(--brand);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.human-section,
.human-contact {
  z-index: 1;
}

.human-section > *,
.human-contact > * {
  position: relative;
  z-index: 4;
}

.human-hero {
  min-height: 960px;
  padding-top: clamp(88px, 8vw, 125px);
  padding-bottom: 340px;
}

.hero-copy {
  width: min(690px, 49%);
}

.human-hero h1 {
  margin-top: 28px;
  font-size: clamp(82px, 8.7vw, 136px);
  line-height: 0.79;
}

.human-hero h1 span {
  display: block;
}

.human-hero h1 .hero-first-name {
  color: var(--ink);
}

.human-hero h1 .hero-last-name {
  color: var(--brand);
}

.hero-role {
  max-width: 600px;
  font-size: clamp(30px, 3vw, 47px);
}

.hero-monogram {
  top: 58px;
  right: clamp(30px, 6vw, 100px);
  width: clamp(360px, 39vw, 620px);
  color: var(--brand);
  background: rgba(255, 253, 249, 0.18);
}

.hero-journey-art {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 92px;
  left: 0;
  height: 405px;
  overflow: hidden;
  pointer-events: none;
}

.hero-journey-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-bridge {
  position: absolute;
  z-index: 5;
  right: clamp(30px, 7vw, 120px);
  bottom: 48px;
  left: clamp(30px, 7vw, 120px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

.hero-bridge > div {
  position: relative;
  color: var(--ink-soft);
  text-align: center;
}

.hero-bridge > div:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 0;
  right: -10px;
  color: var(--brand);
}

.hero-bridge strong {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 970px;
  margin-left: 0;
  text-align: left;
}

.section-intro .section-index,
.training-origin .section-index,
.contact-intro .section-index {
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-intro .section-index::after,
.training-origin .section-index::after,
.contact-intro .section-index::after {
  content: "";
  width: min(190px, 23vw);
  height: 1px;
  background: rgba(185, 1, 64, 0.45);
}

.section-intro h2 {
  margin-left: 0;
}

.section-intro > p:last-child {
  margin-left: 0;
}

.profile-layout {
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: clamp(45px, 7vw, 112px);
}

.origin-story {
  min-height: 560px;
  padding: 35px 12px 35px 0;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.origin-story::after {
  right: auto;
  bottom: -10px;
  left: 40px;
  color: rgba(185, 1, 64, 0.08);
  font-size: 150px;
}

.origin-icon {
  width: 82px;
  height: 82px;
  color: var(--brand);
  border: 1px solid rgba(185, 1, 64, 0.22);
  background: var(--paper);
}

.origin-story > p {
  color: var(--brand);
}

.origin-story h3 {
  color: var(--ink);
}

.origin-story > strong {
  color: var(--brand);
}

.origin-story blockquote {
  color: var(--ink);
  border-color: rgba(185, 1, 64, 0.24);
}

.origin-story li {
  color: var(--ink-soft);
  border-color: var(--line);
  background: var(--paper-light);
}

.values-grid article {
  min-height: 270px;
  border-color: rgba(185, 1, 64, 0.1);
  background: rgba(255, 253, 249, 0.78);
}

.journey-section,
.training-section {
  background:
    linear-gradient(rgba(232, 221, 208, 0.18), rgba(232, 221, 208, 0.18)),
    var(--paper);
}

.experience-heading {
  grid-template-columns: 0.45fr 1.55fr;
}

.achievements-section {
  background: var(--paper-light);
}

.achievement-grid article {
  border-color: rgba(185, 1, 64, 0.11);
  background: rgba(255, 253, 249, 0.94);
}

.achievement-icon {
  color: #a87865;
  border: 1px solid rgba(185, 1, 64, 0.12);
  background: transparent;
}

.skills-section {
  color: var(--ink);
  background: var(--surface);
}

.skills-section .section-index {
  color: var(--brand);
}

.skills-section .section-intro > p:last-child {
  color: var(--ink-soft);
}

.skills-grid {
  gap: 0;
}

.skills-grid article {
  min-height: 430px;
  padding: 30px 34px;
  color: var(--ink);
  border: 0;
  border-right: 1px solid rgba(185, 1, 64, 0.18);
  border-radius: 0;
  background: transparent;
}

.skills-grid article:last-child {
  border-right: 0;
}

.skills-grid article:hover {
  border-color: rgba(185, 1, 64, 0.22);
  background: var(--brand-soft);
  box-shadow: none;
}

.skill-icon {
  color: #a87865;
  border: 1px solid rgba(185, 1, 64, 0.16);
  background: transparent;
}

.skills-grid h3 {
  color: var(--brand);
}

.skills-grid article > p {
  color: var(--ink-soft);
}

.skills-grid ul {
  border-color: var(--line);
}

.skills-grid li {
  color: var(--ink-soft);
}

.training-origin > span {
  color: #a87865;
  border: 1px solid rgba(185, 1, 64, 0.14);
  background: transparent;
}

.human-contact {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(180px, 0.65fr) minmax(210px, 0.8fr) minmax(210px, 0.75fr);
  align-items: stretch;
  gap: 18px;
  min-height: 0;
  padding: 92px clamp(35px, 8vw, 140px);
  color: var(--ink);
  background: var(--paper-light);
  text-align: left;
}

.contact-intro {
  padding: 22px 30px 22px 0;
}

.contact-intro h2 {
  margin: 24px 0 0;
  font-size: clamp(42px, 4.3vw, 67px);
}

.contact-intro > p:last-child {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  text-align: center;
}

.contact-card > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  color: var(--brand);
  border-radius: 50%;
  background: var(--brand-soft);
}

.contact-card svg {
  width: 28px;
  height: 28px;
}

.contact-card strong {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
}

.contact-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 28px;
  color: #fff;
  border-radius: 26px;
  background: var(--brand);
  text-align: center;
}

.contact-cta > div {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  line-height: 1;
  letter-spacing: -0.12em;
}

.contact-button {
  margin-top: 28px;
  color: var(--ink);
  border-color: var(--signal);
  background: var(--signal);
}

.contact-button:hover {
  color: var(--brand);
  border-color: #fff;
  background: #fff;
}

@media (max-width: 1120px) {
  .hero-copy {
    width: min(650px, 58%);
  }

  .hero-monogram {
    right: -70px;
  }

  .human-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-intro {
    grid-column: span 2;
  }
}

@media (max-width: 800px) {
  .story-thread {
    display: block;
    top: 980px;
    right: auto;
    bottom: 460px;
    left: 7px;
    width: 54px;
    opacity: 0.65;
  }

  .human-hero {
    padding-bottom: 360px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-monogram {
    display: none;
  }

  .hero-journey-art {
    bottom: 60px;
    height: 300px;
  }

  .hero-journey-art img {
    width: 1120px;
    max-width: none;
    object-position: center bottom;
    transform: translateX(calc((100vw - 1120px) / 2));
  }

  .hero-bridge {
    right: 18px;
    bottom: 27px;
    left: 18px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .hero-bridge > div:not(:last-child)::after {
    position: static;
    margin-left: 8px;
  }

  .hero-bridge strong {
    font-size: 10px;
  }

  .section-intro {
    text-align: center;
  }

  .section-intro .section-index,
  .training-origin .section-index,
  .contact-intro .section-index {
    justify-content: center;
  }

  .section-intro h2,
  .section-intro > p:last-child {
    margin-right: auto;
    margin-left: auto;
  }

  .origin-story {
    padding-right: 0;
    text-align: center;
  }

  .origin-icon,
  .origin-story ul {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .skills-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(185, 1, 64, 0.16);
  }

  .skills-grid article:last-child {
    border-bottom: 0;
  }

  .human-contact {
    grid-template-columns: 1fr;
    padding: 82px 24px;
  }

  .contact-intro {
    grid-column: auto;
    padding-right: 0;
    text-align: center;
  }

  .contact-intro h2,
  .contact-intro > p:last-child {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .human-hero {
    padding-bottom: 330px;
  }

  .hero-journey-art {
    height: 270px;
  }

  .story-thread {
    opacity: 0.48;
  }
}
