.history-page {
  --history-paper: #fbf3e7;
  --history-ink: #17110e;
  --history-muted: #6e5b4b;
  --history-orange: #f2a33a;
  --history-cyan: #12a7d7;
  --history-magenta: #e9358a;
  --history-yellow: #f4d22b;
  --history-line: rgba(23, 17, 14, 0.12);
  --history-shadow: 0 24px 70px rgba(31, 21, 15, 0.1);
}

.history-page main {
  color: var(--history-ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.history-hero {
  padding: 76px 0 72px;
}

.history-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: 54px;
  align-items: center;
}

.history-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.history-eyebrow::after {
  width: 42px;
  height: 2px;
  content: "";
  background: var(--red);
}

.history-hero h1,
.history-section-title h2,
.history-timeline-card h3,
.history-value h3,
.history-cta h2,
.history-hero p {
  margin-top: 0;
}

.history-hero h1 {
  max-width: 620px;
  margin: 24px 0 26px;
  font-size: clamp(54px, 6.2vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.history-hero h1 span {
  color: var(--red);
}

.history-hero-copy > p {
  max-width: 560px;
  margin-bottom: 16px;
  color: var(--history-muted);
  font-size: 18px;
  line-height: 1.75;
}

.history-cmyk-line {
  width: 200px;
  height: 4px;
  margin: 34px 0 30px;
  background: linear-gradient(
    90deg,
    var(--history-cyan) 0 25%,
    var(--history-magenta) 25% 50%,
    var(--history-yellow) 50% 75%,
    var(--history-ink) 75% 100%
  );
  border-radius: 99px;
}

.history-hero-photo {
  position: relative;
  min-height: 535px;
  overflow: hidden;
  background: #ddd;
  border-radius: 28px;
  box-shadow: var(--history-shadow);
}

.history-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 535px;
  display: block;
  object-fit: cover;
}

.history-hero-photo::after {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 13px 17px;
  color: #fff;
  background: rgba(23, 17, 14, 0.84);
  border-radius: 999px;
  content: "Depuis 1984";
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.history-section {
  padding: 88px 0;
}

.history-section-title {
  margin-bottom: 50px;
  text-align: center;
}

.history-overline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.history-overline::before,
.history-overline::after {
  width: 90px;
  height: 1px;
  content: "";
  background: var(--history-ink);
}

.history-section-title h2 {
  margin: 18px auto 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.history-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.history-timeline::before {
  position: absolute;
  top: 35px;
  right: 12%;
  left: 12%;
  height: 2px;
  content: "";
  background: linear-gradient(
    90deg,
    var(--red),
    var(--history-orange),
    var(--history-ink)
  );
}

.history-timeline-item {
  position: relative;
  padding-top: 72px;
}

.history-timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 7px solid var(--history-paper);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(23, 17, 14, 0.16);
  font-size: 28px;
  font-weight: 900;
  transform: translateX(-50%);
}

.history-timeline-item:nth-child(2) .history-timeline-dot {
  background: var(--history-orange);
}

.history-timeline-item:nth-child(3) .history-timeline-dot {
  background: var(--history-ink);
}

.history-timeline-card {
  min-height: 290px;
  padding: 34px 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--history-line);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(23, 17, 14, 0.055);
}

.history-year {
  margin-bottom: 8px;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.history-timeline-item:nth-child(1) .history-year {
  color: var(--red);
}

.history-timeline-item:nth-child(2) .history-year {
  color: var(--history-orange);
}

.history-timeline-card h3 {
  margin-bottom: 17px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.history-timeline-card p {
  margin-bottom: 0;
  color: var(--history-muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.history-experience {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: center;
}

.history-big-number {
  padding: 42px 38px;
  border-right: 1px solid var(--history-ink);
}

.history-experience-number {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--red);
  font-size: clamp(94px, 12vw, 160px);
  line-height: 0.72;
  letter-spacing: 0;
  white-space: nowrap;
}

.history-plus {
  margin: 0;
  display: inline-block;
  font-size: 0.58em;
  line-height: 1;
  transform: translateY(0.08em);
}

.history-digits {
  display: inline-flex;
  align-items: flex-start;
  gap: 0;
  font-size: 1em;
  line-height: 0.72;
}

.history-digits span {
  display: inline-block;
  font-size: 1em;
  line-height: 0.72;
}

.history-big-number > span {
  margin-top: 24px;
  display: block;
  font-size: 46px;
  line-height: 1;
  font-weight: 950;
}

.history-big-number small {
  margin-top: 12px;
  display: block;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.history-big-number .history-cmyk-line {
  width: 230px;
  margin-bottom: 0;
}

.history-values {
  display: grid;
  gap: 8px;
}

.history-value {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--history-line);
}

.history-value:last-child {
  border-bottom: 0;
}

.history-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--history-line);
  border-radius: 50%;
  font-size: 22px;
}

.history-value:nth-child(2) .history-icon {
  color: var(--history-orange);
}

.history-value:nth-child(3) .history-icon {
  color: var(--history-cyan);
}

.history-value:nth-child(4) .history-icon {
  color: var(--history-magenta);
}

.history-value h3 {
  margin: 1px 0 7px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.history-value p {
  margin: 0;
  color: var(--history-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.history-brand-statement {
  padding: 70px 0 46px;
}

.history-brand-statement .container {
  display: grid;
  grid-template-columns: minmax(50px, 1fr) minmax(0, 760px) minmax(50px, 1fr);
  gap: 28px;
  align-items: center;
}

.history-brand-statement p {
  margin: 0;
  text-align: center;
  font-size: clamp(25px, 3.4vw, 40px);
  line-height: 1.28;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.history-statement-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red));
}

.history-statement-line:last-child {
  background: linear-gradient(90deg, var(--red), transparent);
}

.history-cta {
  padding: 40px 0 96px;
}

.history-cta-box {
  position: relative;
  min-height: 300px;
  padding: 52px 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      circle at 88% 25%,
      rgba(255, 255, 255, 0.14) 0 100px,
      transparent 101px
    ),
    radial-gradient(
      circle at 88% 25%,
      transparent 0 145px,
      rgba(255, 255, 255, 0.08) 146px 190px,
      transparent 191px
    ),
    var(--red);
  border-radius: 30px;
  box-shadow: 0 24px 55px rgba(225, 57, 29, 0.18);
}

.history-cta h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.history-cta p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.7;
}

.history-cta .btn {
  min-width: 220px;
  min-height: 58px;
  padding: 0 28px;
  color: var(--history-ink);
  background: #fff;
  border-color: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.history-cta .btn:hover,
.history-cta .btn:focus-visible {
  color: #fff;
  background: var(--history-ink);
  border-color: var(--history-ink);
}

@media (max-width: 980px) {
  .history-hero-grid,
  .history-experience {
    grid-template-columns: 1fr;
  }

  .history-hero-photo,
  .history-hero-photo img {
    min-height: 460px;
  }

  .history-timeline {
    grid-template-columns: 1fr;
  }

  .history-timeline::before {
    top: 35px;
    right: auto;
    bottom: 35px;
    left: 34px;
    width: 2px;
    height: auto;
    background: linear-gradient(
      var(--red),
      var(--history-orange),
      var(--history-ink)
    );
  }

  .history-timeline-item {
    padding: 0 0 0 92px;
  }

  .history-timeline-dot {
    left: 0;
    transform: none;
  }

  .history-timeline-card {
    min-height: 0;
    text-align: left;
  }

  .history-big-number {
    padding-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--history-ink);
  }

  .history-cta-box {
    grid-template-columns: 1fr;
  }

  .history-cta .btn {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .history-hero {
    padding: 50px 0 56px;
  }

  .history-hero-grid {
    gap: 32px;
  }

  .history-hero h1 {
    font-size: 52px;
  }

  .history-hero-copy > p {
    font-size: 16px;
  }

  .history-hero-photo,
  .history-hero-photo img {
    min-height: 330px;
  }

  .history-section {
    padding: 66px 0;
  }

  .history-overline::before,
  .history-overline::after {
    width: 38px;
  }

  .history-timeline-item {
    padding-left: 76px;
  }

  .history-timeline-dot {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .history-timeline::before {
    left: 28px;
  }

  .history-timeline-card {
    padding: 27px 24px;
  }

  .history-big-number {
    padding: 20px 0 34px;
  }

  .history-experience-number {
    gap: 11px;
    font-size: 110px;
  }

  .history-big-number > span {
    font-size: 38px;
  }

  .history-value {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .history-icon {
    width: 42px;
    height: 42px;
  }

  .history-brand-statement {
    padding: 48px 0 28px;
  }

  .history-brand-statement .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .history-statement-line {
    width: 92px;
    justify-self: center;
  }

  .history-cta-box {
    min-height: 0;
    padding: 36px 28px;
  }

  .history-cta .btn {
    width: 100%;
  }
}
