.commerce-page {
  --commerce-navy: #000000;
  --commerce-brown: #beb8ab;
  --commerce-soft: #f3f0ea;
  background: #fff;
  color: var(--commerce-navy);
  font-family: "PrestigiaNumerals", "ModernaGrotesque", "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.commerce-page .lp-header {
  min-height: 102px;
  position: fixed;
  inset: 0 0 auto;
  padding: 14px max(48px, calc((100% - 1320px) / 2 + 48px)) 13px;
  background: #fff;
  border-bottom: 1px solid #e3e3e3;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.commerce-page main {
  padding-top: 102px;
}

.commerce-page.has-stuck-header main {
  padding-top: 102px;
}

.commerce-page .lp-header.is-stuck {
  min-height: 76px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.commerce-page .header-cta,
.commerce-page .primary-btn {
  min-height: 54px;
  padding: 0 29px;
  background: var(--black);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
}

.commerce-page .lp-hero {
  width: 100%;
  min-height: 770px;
  margin: 0;
}

.commerce-page .lp-hero > img {
  object-position: center;
}

.commerce-page .lp-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 26%, rgba(255, 255, 255, 0.04) 58%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.02));
}

.commerce-page .hero-inner {
  width: min(100%, 1320px);
  min-height: 770px;
  margin: 0 auto;
  padding: 58px 48px 48px;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 72px;
  align-items: start;
}

.commerce-page .hero-copy {
  margin-top: 118px;
  max-width: 560px;
}

.commerce-page .hero-copy h1 {
  color: var(--commerce-navy);
}

.commerce-page .hero-line {
  width: 58px;
  height: 3px;
  margin: 36px 0 34px;
  background: var(--commerce-brown);
}

.commerce-page .hero-copy p:not(.hero-kicker) {
  max-width: 385px;
  margin: 24px 0 44px;
  color: var(--commerce-navy);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
}

.commerce-page .hero-badge {
  min-height: 58px;
  padding: 0 22px;
  border: 1.5px solid var(--commerce-brown);
  background: rgba(255, 255, 255, 0.86);
  color: var(--charcoal);
  border-radius: 4px;
  font-size: 16px;
}

.commerce-page .hero-badge:hover {
  background: var(--commerce-brown);
  color: #fff;
}

.commerce-page .lead-form {
  width: 370px;
  padding: 31px 30px 33px;
  border-radius: 8px;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
}

.commerce-page .lead-form h2 {
  color: var(--commerce-navy);
  font-family: "PrestigiaNumerals", "ModernaGrotesque", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 22px;
  font-weight: 400;
}

.commerce-page .lead-form p {
  max-width: none;
  color: #2d2c2a;
  font-size: 12px;
  font-weight: 400;
}

.commerce-page .lead-form input:not([type="checkbox"]),
.commerce-page .lead-form select {
  height: 49px;
  margin-bottom: 14px;
  border-color: #e3e3e3;
  font-size: 12px;
}

.commerce-page .check-row {
  margin-top: 11px;
  margin-bottom: 23px;
  color: #2d2c2a;
  font-size: 10px;
}

.commerce-page .feature-panel {
  /* Même bandeau continu qu'Argan Signature. Les descriptifs propres aux
     commerces demandent simplement une hauteur légèrement supérieure. */
  width: 100%;
  max-width: none;
  min-height: 240px;
  margin: 0;
  padding: 0 max(48px, calc((100% - 1280px) / 2 + 48px));
  border-radius: 0;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.commerce-page .feature-panel article {
  min-height: 240px;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding: 24px 22px;
  border-left-color: #beb8ab;
}

.commerce-page .feature-panel svg {
  width: 54px;
  height: 54px;
  stroke: var(--commerce-brown);
  stroke-width: 1.15;
}

.commerce-page .feature-panel strong {
  color: var(--commerce-navy);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  text-transform: none;
}

.commerce-page .feature-panel p {
  margin: 0;
  color: var(--commerce-navy);
  font-size: 11px;
  line-height: 1.45;
}

/* Les descriptions des blocs avec pictogramme suivent directement leur
   intitulé, au lieu d'être repoussées en bas de la carte. */
.commerce-page .feature-panel article:not(.featured) {
  /* Trois lignes communes pour que titres et descriptions démarrent tous
     au même niveau, quelle que soit la longueur de leur libellé. */
  grid-template-rows: 54px 42px minmax(0, 1fr);
  align-content: start;
}

.commerce-page .feature-panel article:not(.featured) p {
  margin: 0;
}

.commerce-heading {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
  padding: 70px 0 42px;
  text-align: center;
}

.commerce-heading .section-eyebrow {
  margin-bottom: 13px;
  color: var(--charcoal);
  letter-spacing: 1px;
}

.commerce-heading h2 {
  margin: 0;
  color: var(--commerce-navy);
  font-family: "PrestigiaNumerals", "ModernaGrotesque", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.22;
  font-weight: 300;
}

.commerce-cards {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  text-align: center;
}

.commerce-cards article {
  min-width: 0;
}

.commerce-photo {
  height: 355px;
  position: relative;
  overflow: visible;
  border-radius: 7px;
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.12);
}

.commerce-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  transition: transform 520ms ease, filter 520ms ease;
}

.commerce-photo span {
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2d2c2a;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  transform: translateX(-50%);
  transition: transform 200ms ease, background-color 200ms ease;
}

.commerce-cards article:hover .commerce-photo img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.025);
}

.commerce-cards article:hover .commerce-photo span {
  background: #000000;
  transform: translateX(-50%) translateY(-4px);
}

.commerce-cards h3 {
  margin: 65px 0 17px;
  color: var(--commerce-navy);
  font-family: "PrestigiaNumerals", "ModernaGrotesque", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
}

.commerce-cards p {
  max-width: 330px;
  margin: 0 auto;
  color: var(--commerce-navy);
  font-size: 15px;
  line-height: 1.75;
}

.commerce-cta {
  width: min(1280px, calc(100% - 96px));
  margin: 78px auto 72px;
  padding: 38px 108px 38px 98px;
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 38px;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(90deg, #f3f0ea, #e6e2d9);
}

.commerce-cta .cta-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}

.commerce-cta .cta-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--commerce-brown);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.commerce-cta h2 {
  margin: 0;
  color: var(--commerce-navy);
  font-family: "PrestigiaNumerals", "ModernaGrotesque", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 300;
}

.commerce-cta p {
  margin: 10px 0 0;
  color: #2d2c2a;
  font-size: 15px;
  line-height: 1.6;
}

.commerce-cta .primary-btn {
  width: 230px;
}

.commerce-extra {
  display: none;
}

.commerce-footer {
  width: 100%;
  background: #fff;
  color: var(--commerce-navy);
}

.commerce-footer .footer-main {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
  padding: 0 6px 42px;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 0.78fr;
  gap: 64px;
}

.commerce-footer .footer-about .brand-left {
  margin-bottom: 23px;
}

.commerce-footer .footer-main p {
  max-width: 310px;
  margin: 0;
  color: #2d2c2a;
  font-size: 12px;
  line-height: 1.85;
}

.commerce-footer .footer-main h3 {
  margin: 6px 0 25px;
  font-size: 12px;
  font-weight: 400;
}

.commerce-footer .footer-main nav a {
  display: block;
  margin-bottom: 13px;
  color: #2d2c2a;
  font-size: 13px;
}

.commerce-footer .footer-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2d2c2a;
  font-size: 17px;
  font-weight: 700;
}

.commerce-footer .footer-contact svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--commerce-brown);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.commerce-footer .socials {
  margin-top: 22px;
  display: flex;
  gap: 24px;
  color: var(--commerce-navy);
  font-size: 22px;
  font-weight: 600;
}

.commerce-footer .footer-bottom {
  min-height: 58px;
  padding: 0 max(48px, calc((100% - 1320px) / 2 + 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--commerce-navy);
  color: #fff;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .commerce-page .hero-inner,
  .commerce-cta,
  .commerce-footer .footer-main {
    grid-template-columns: 1fr;
  }

  .commerce-page .hero-copy {
    margin-top: 46px;
  }

  .commerce-page .lead-form {
    justify-self: start;
    width: min(100%, 390px);
  }

  .commerce-page .feature-panel,
  .commerce-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .commerce-page .lp-header {
    padding: 12px 16px;
  }

  .commerce-page main,
  .commerce-page.has-stuck-header main {
    padding-top: 132px;
  }

  .commerce-page .lp-hero,
  .commerce-page .hero-inner {
    min-height: auto;
  }

  .commerce-page .hero-inner {
    padding: 56px 20px 40px;
  }

  
  .commerce-page .feature-panel,
  .commerce-heading,
  .commerce-cards,
  .commerce-cta,
  .commerce-footer .footer-main {
    width: calc(100% - 28px);
  }

  .commerce-page .feature-panel {
    margin-top: 14px;
    grid-template-columns: 1fr;
  }

  .commerce-page .feature-panel svg {
    width: 72px;
    height: 72px;
  }

  .commerce-page .feature-panel article,
  .commerce-page .feature-panel article.featured {
    min-height: auto;
    padding: 34px 24px;
    justify-items: center;
    text-align: center;
    border-left: 0;
    border-top: 1px solid #beb8ab;
  }

  .commerce-page .feature-panel article:first-child {
    border-top: 0;
  }

  .commerce-cards {
    grid-template-columns: 1fr;
  }

  .commerce-photo {
    height: 280px;
  }

  .commerce-cta {
    padding: 30px;
  }

  .commerce-cta .primary-btn {
    width: 100%;
  }

  .commerce-footer .footer-main {
    gap: 28px;
  }

  .commerce-footer .footer-bottom {
    min-height: 74px;
    padding: 14px 20px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

/* ---------------------------------------------------------
   Footer — hover / focus states + social links
   --------------------------------------------------------- */

.commerce-footer .footer-about .brand-left {
  display: inline-block;
  transition: opacity 200ms ease;
}

.commerce-footer .footer-about .brand-left:hover,
.commerce-footer .footer-about .brand-left:focus-visible {
  opacity: 0.6;
}

.commerce-footer .footer-main h3 {
  color: var(--commerce-navy);
}

.commerce-footer .footer-main nav a {
  position: relative;
  width: fit-content;
  transition: color 200ms ease;
}

.commerce-footer .footer-main nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.commerce-footer .footer-main nav a:hover,
.commerce-footer .footer-main nav a:focus-visible {
  color: var(--charcoal);
}

.commerce-footer .footer-main nav a:hover::after,
.commerce-footer .footer-main nav a:focus-visible::after {
  transform: scaleX(1);
}

.commerce-footer .footer-contact a {
  width: max-content;
  transition: color 200ms ease, transform 200ms ease;
}

.commerce-footer .footer-contact a:hover,
.commerce-footer .footer-contact a:focus-visible {
  color: var(--charcoal);
  transform: translateX(3px);
}

.commerce-footer .footer-contact a svg {
  transition: transform 200ms ease;
}

.commerce-footer .footer-contact a:hover svg,
.commerce-footer .footer-contact a:focus-visible svg {
  transform: scale(1.12);
}

.commerce-footer .socials {
  margin: 24px 0 0 -7px;
  display: flex;
  gap: 10px;
  font-size: inherit;
  font-weight: inherit;
}

.commerce-footer .socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(45, 44, 42, 0.18);
  border-radius: 50%;
  background: #fff;
  color: var(--commerce-navy);
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.commerce-footer .socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.commerce-footer .socials a:hover,
.commerce-footer .socials a:focus-visible {
  color: #fff;
  background: var(--commerce-brown);
  transform: translateY(-2px);
}

.commerce-footer .footer-bottom a {
  color: inherit;
  transition: opacity 200ms ease;
}

.commerce-footer .footer-bottom a:hover,
.commerce-footer .footer-bottom a:focus-visible {
  opacity: 0.72;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Héros sur média clair : le sur-titre passe en charbon, comme le titre. */
.commerce-page .hero-copy .hero-kicker {
  margin: 0 0 18px;
  color: var(--charcoal);
  font-size: 13px;
  letter-spacing: 2px;
}

/* Debrief slide 7 — « Textes des Blocs à aligner ».
   Le premier bloc n'a pas de pictogramme : son texte démarrait tout en haut
   alors que celui des autres commence sous l'icône. On le décale de la
   hauteur d'un pictogramme pour que les titres se retrouvent sur la même
   ligne, et on le centre comme les autres. */
