/** Shopify CDN: Minification failed

Line 318:19 Expected identifier but found whitespace
Line 318:20 Unexpected bad URL token
Line 318:52 Expected ")" to end URL token
Line 323:19 Expected identifier but found whitespace
Line 323:20 Unexpected bad URL token
Line 323:52 Expected ")" to end URL token
Line 328:19 Expected identifier but found whitespace
Line 328:20 Unexpected bad URL token
Line 328:52 Expected ")" to end URL token
Line 333:52 Expected ")" to end URL token
... and 1 more hidden warnings

**/
/* =========================================
   EP Story / Notre histoire
   Minimal premium layout aligned to Facipack
   ========================================= */

.ep-story-section {
  padding: clamp(32px, 5vw, 72px) 0;
}

/* Add breathing room under header for the story page hero only. */
body.template-page-notre-histoire .ep-story-hero {
  padding-top: clamp(48px, 6vw, 96px);
}

.ep-story-section--soft {
  background: linear-gradient(
    180deg,
    rgba(var(--ep-color-ice-rgb), 0.35) 0%,
    rgba(var(--ep-color-surface-rgb), 0) 100%
  );
}

.ep-story__header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto clamp(24px, 3vw, 36px);
}

.ep-story-timeline .ep-story__header {
  margin-bottom: clamp(12px, 2vw, 20px);
}

.ep-story__header--left {
  text-align: left;
  margin-left: 0;
}

.ep-story__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ep-font-display, "Switzer", sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ep-color-primary);
  margin-bottom: 18px;
}

.ep-story__badge::before,
.ep-story__badge::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--ep-color-primary), transparent);
}

.ep-story__badge::after {
  background: linear-gradient(90deg, transparent, var(--ep-color-primary));
}

.ep-story__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: var(--ep-fw-bold, 700);
  line-height: 1.2;
  margin: 0 0 16px;
}

.ep-story__subtitle {
  font-family: var(--ep-font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ep-color-muted);
  margin: 0;
}

.ep-story-hero__media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: clamp(24px, 3vw, 40px);
  max-width: min(800px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.ep-story-hero__media-item {
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  background: var(--ep-color-surface);
  box-shadow: var(--ep-shadow-card, 0 18px 40px rgba(15, 33, 68, 0.08));
  height: clamp(220px, 26vw, 320px);
}

.ep-story-hero__media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ep-story-timeline__list {
  --ep-timeline-dot: 28px;
  --ep-timeline-gap: clamp(120px, 10vw, 180px);
  --ep-timeline-line-x: 50%;
  --ep-timeline-line-top: var(--ep-timeline-dot);
  --ep-timeline-line-height: 0px;
  --ep-timeline-progress: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--ep-timeline-gap);
  padding-left: 0;
  padding-top: clamp(1px, 2vw, 12px);
  padding-bottom: calc(var(--ep-timeline-gap) / 2);
  counter-reset: story-step;
}

.ep-story-timeline__list::before,
.ep-story-timeline__list::after {
  content: "";
  position: absolute;
  left: var(--ep-timeline-line-x);
  top: var(--ep-timeline-line-top, 0px);
  width: 2px;
  transform: translateX(-50%);
  z-index: 0;
}

.ep-story-timeline__list::before {
  background: rgba(var(--ep-color-primary-rgb), 0.18);
  height: var(--ep-timeline-line-height, 0px);
}

.ep-story-timeline__list::after {
  background: var(--ep-color-primary);
  height: var(--ep-timeline-progress, 0px);
}

.ep-story-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--ep-radius-lg);
  background: var(--ep-color-surface);
  border: 1px solid rgba(var(--ep-color-primary-rgb), 0.08);
  box-shadow: 0 12px 30px rgba(15, 33, 68, 0.08);
  counter-increment: story-step;
  width: 100%;
  z-index: 1;
}

.ep-story-timeline__item::before {
  content: counter(story-step);
  position: absolute;
  top: calc(-1 * (var(--ep-timeline-gap) / 2));
  left: 50%;
  width: var(--ep-timeline-dot);
  height: var(--ep-timeline-dot);
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: var(--ep-font-display, "Switzer", sans-serif);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 18px rgba(15, 33, 68, 0.18);
  z-index: 2;
}

.ep-story-timeline__item:nth-child(even) {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.ep-story-timeline__item:nth-child(even) .ep-story-timeline__media {
  order: -1;
}

.ep-story-timeline__year {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ep-font-display, "Switzer", sans-serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ep-color-primary);
  margin-bottom: 10px;
}

.ep-story-timeline__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ep-color-text);
}

.ep-story-timeline__text {
  margin: 0;
  font-family: var(--ep-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ep-color-muted);
}

.ep-story-timeline__media {
  border-radius: var(--ep-radius-md);
  overflow: hidden;
  background: rgba(var(--ep-color-ice-rgb), 0.6);
}

.ep-story-timeline__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ep-story-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.ep-story-values__card {
  text-align: center;
  padding: 20px;
  border-radius: var(--ep-radius-lg);
  background: var(--ep-color-surface);
  border: 1px solid rgba(var(--ep-color-primary-rgb), 0.08);
  box-shadow: 0 10px 24px rgba(15, 33, 68, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ep-story-values__media {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--ep-color-primary-rgb), 0.08), rgba(var(--ep-color-accent-rgb), 0.12));
  color: var(--ep-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 8px 20px rgba(var(--ep-color-primary-rgb), 0.1);
  transition: var(--ep-transition-all);
}

.ep-story-values__card:hover .ep-story-values__media {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(var(--ep-color-accent-rgb), 0.18);
}

/* Backgrounds différenciés par valeur */
.ep-story-values__card:nth-child(1) .ep-story-values__media {
  background: linear-gradient(135deg, rgba(11, 132, 243, 0.12), rgba(11, 132, 243, 0.18));
}

.ep-story-values__card:nth-child(2) .ep-story-values__media {
  background: linear-gradient(135deg, rgba(17, 28, 68, 0.1), rgba(11, 132, 243, 0.14));
}

.ep-story-values__card:nth-child(3) .ep-story-values__media {
  background: linear-gradient(135deg, rgba(11, 132, 243, 0.08), rgba(17, 28, 68, 0.12));
}

.ep-story-values__card:nth-child(4) .ep-story-values__media {
  background: linear-gradient(135deg, rgba(17, 28, 68, 0.12), rgba(11, 132, 243, 0.1));
}

.ep-story-values__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.ep-story-values__icon {
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Envie - Fusée (ambition, désir d'aller de l'avant) */
.ep-story-values__icon--envie {
  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%230b84f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 16.5c-1.5 1.41-1.5 3.72-1.5 3.72s2.31 0 3.72-1.5c1.09-1.09 1.09-2.85 0-3.94s-2.85-1.09-3.94 0zm9.94 3.94V13.97l6.1-6.1c.96-.96.96-2.52 0-3.48L18 1.83c-.96-.96-2.52-.96-3.48 0L8.42 7.93H1.96v6.57'/%3E%3Cpath fill='%230b84f3' fill-opacity='0.15' d='M13 13v3l4 1-4 1v3M8 13v3l-4 1 4 1v3'/%3E%3C/svg%3E\");
}

/* Curiosité - Boussole (exploration, découverte) */
.ep-story-values__icon--curiosite {
  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%230b84f3' stroke-width='2'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76' fill='%230b84f3' fill-opacity='0.2' stroke='%230b84f3' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23111c44'/%3E%3C/svg%3E\");
}

/* Agilité - Flèches circulaires (flexibilité, adaptation) */
.ep-story-values__icon--agilite {
  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%230b84f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 4v6h6M23 20v-6h-6'/%3E%3Cpath stroke='%230b84f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4-4.64 4.36A9 9 0 0 1 3.51 15'/%3E%3Cpath fill='%230b84f3' fill-opacity='0.1' d='M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10z'/%3E%3C/svg%3E\");
}

/* Technicité - Engrenages (maîtrise technique) */
.ep-story-values__icon--technicite {
  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' stroke='%23111c44' stroke-width='2'/%3E%3Cpath stroke='%230b84f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 1v3m0 16v3M3.93 3.93l2.12 2.12m12.02 12.02 2.12 2.12M1 12h3m16 0h3M3.93 20.07l2.12-2.12m12.02-12.02 2.12-2.12'/%3E%3Cpath fill='%230b84f3' fill-opacity='0.12' d='M12 2.5l1.5 2.6 3 .4-2.2 2.1.5 3L12 9.5l-2.8 1.1.5-3-2.2-2.1 3-.4L12 2.5zm0 11l1.5 2.6 3 .4-2.2 2.1.5 3-2.8-1.1-2.8 1.1.5-3-2.2-2.1 3-.4L12 13.5z'/%3E%3C/svg%3E\");
}

.ep-story-values__icon--default {
  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23111c44' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3C/svg%3E\");
}

.ep-story-values__media-label {
  font-family: var(--ep-font-display, "Switzer", sans-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.ep-story-values__label {
  margin: 0;
  font-family: var(--ep-font-display, "Switzer", sans-serif);
  font-weight: 600;
  color: var(--ep-color-text);
}

.ep-story-diversification__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.ep-story-diversification__column {
  padding: 24px;
  border-radius: var(--ep-radius-lg);
  background: var(--ep-color-surface);
  border: 1px solid rgba(var(--ep-color-primary-rgb), 0.08);
  box-shadow: 0 12px 26px rgba(15, 33, 68, 0.08);
}

.ep-story-diversification__column h3 {
  margin: 0 0 16px;
  font-family: var(--ep-font-display, "Switzer", sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ep-color-text);
}

.ep-story-diversification__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.ep-story-diversification__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--ep-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ep-color-muted);
}

.ep-story-diversification__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--ep-color-primary-rgb), 0.08), rgba(var(--ep-color-accent-rgb), 0.14));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(15, 33, 68, 0.08);
  color: var(--ep-color-text);
}

.ep-story-diversification__icon-wrap img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.ep-story-diversification__icon-svg {
  width: 22px;
  height: 22px;
}

.ep-story-diversification__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--ep-font-body);
  font-weight: 600;
  color: var(--ep-color-accent);
  text-decoration: none;
}

.ep-story-diversification__cta:hover {
  text-decoration: underline;
}

.ep-story-benefits__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 760px;
}

.ep-story-benefits__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 0 0 28px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  font-family: var(--ep-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ep-color-text);
}

.ep-story-benefits__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 10px;
  height: 16px;
  border-right: 2px solid var(--ep-color-text);
  border-bottom: 2px solid var(--ep-color-text);
  transform: rotate(45deg);
}

.ep-story-benefits__icon {
  display: none;
}

.ep-story-timeline__closing {
  margin: 36px auto 0;
  padding: 0;
  border: 0;
  text-align: center;
}

.ep-story-timeline__quote {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 24px;
  font-family: var(--ep-font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: var(--ep-color-text);
}

.ep-story-timeline__quote::before,
.ep-story-timeline__quote::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 auto 16px;
  background: linear-gradient(
    90deg,
    rgba(var(--ep-color-primary-rgb), 0.9),
    rgba(var(--ep-color-accent-rgb), 0.9)
  );
  border-radius: 999px;
}

.ep-story-timeline__quote::after {
  margin: 16px auto 0;
}

.ep-story-cta {
  text-align: center;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--ep-radius-xl);
  background: linear-gradient(180deg, rgba(var(--ep-color-ice-rgb), 0.45) 0%, rgba(var(--ep-color-surface-rgb), 0.95) 100%);
  border: 1px solid rgba(var(--ep-color-primary-rgb), 0.1);
  box-shadow: 0 18px 40px rgba(15, 33, 68, 0.08);
}

.ep-story-cta__quote {
  font-family: var(--ep-font-display, "Switzer", sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--ep-color-text);
  margin: 0 0 16px;
}

.ep-story-cta__image {
  width: clamp(80px, 12vw, 140px);
  margin: 0 auto 20px;
}

.ep-story-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (min-width: 981px) {
  body.template-page-notre-histoire .ep-story-timeline__item {
    align-items: stretch;
    min-height: 416px;
  }

  body.template-page-notre-histoire .ep-story-timeline__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.template-page-notre-histoire .ep-story-timeline__media {
    min-height: 100%;
  }

  body.template-page-notre-histoire .ep-story-timeline__item:nth-last-child(-n + 2) .ep-story-timeline__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 2vw, 28px);
    background: var(--ep-color-surface);
  }

  body.template-page-notre-histoire .ep-story-timeline__item:nth-last-child(-n + 2) .ep-story-timeline__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 980px) {
  .ep-story-timeline__item,
  .ep-story-timeline__item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .ep-story-timeline__item:nth-child(even) .ep-story-timeline__media {
    order: 0;
  }

  .ep-story-timeline__list {
    --ep-timeline-left: 32px;
    padding-left: var(--ep-timeline-left);
    --ep-timeline-line-x: var(--ep-timeline-left);
  }

  .ep-story-timeline__item::before {
    left: calc(-1 * (var(--ep-timeline-dot) / 2));
    top: calc(-1 * (var(--ep-timeline-gap) / 2));
  }
}

@media (max-width: 749px) {
  .ep-story__header {
    text-align: left;
  }

  .ep-story__badge::before,
  .ep-story__badge::after {
    width: 24px;
  }

  .ep-story-hero__media {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .ep-story-diversification__columns {
    grid-template-columns: 1fr;
  }

  .ep-story-benefits__list {
    grid-template-columns: 1fr;
  }

  .ep-story-timeline__list {
    --ep-timeline-dot: 24px;
    --ep-timeline-gap: 96px;
  }

  .ep-story-timeline__item::before {
    top: calc(-1 * (var(--ep-timeline-gap) / 2));
  }
}
