/* ==========================================================================
   Happer Partner — V3 validée
   Conteneur 1240px, colonnes empilées sous 760px.
   ========================================================================== */

.page-partner h1 { font-size: clamp(48px, 4.8vw, 68px); line-height: 1.12; }
.page-partner .section h2 { font-size: clamp(35px, 3.7vw, 50px); line-height: 1.17; }
.page-partner .section h3 { font-size: 22px; line-height: 1.35; }

@media (max-width: 760px) {
  .page-partner .section h2 { font-size: 34px; }
}

/* ---------- 01 · Premier écran ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  align-items: center;
  gap: 70px;
  min-height: 680px;
  padding-block: 60px 80px;
}
.hero h1 { margin-bottom: 26px; }
.hero__intro { max-width: 650px; margin-bottom: 28px; font-size: 15px; }

/* 4 cartes sous le bouton */
.hero__perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 660px;
  margin-top: 34px;
  padding: 0; list-style: none;
}
.hero__perks li {
  display: flex; flex-direction: column; align-items: center; gap: 13px;
  min-height: 156px;
  padding: 20px 10px;
  border: 1px solid var(--card-border); border-radius: 19px;
  background: var(--beige-50);
  text-align: center;
  font-size: 13px; font-weight: 500; line-height: 1.5;
}
.hero__perks img { width: 54px; height: 54px; }

.hero__art { display: flex; justify-content: center; }
.hero__art img { width: auto; height: 530px; object-fit: contain; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1.3fr .7fr; gap: 40px; }
  .page-partner h1 { font-size: 52px; }
  .hero__art img { height: 470px; }
  .hero__perks li { padding: 18px 8px; min-height: 150px; font-size: 11px; }
  .hero__perks img { width: 49px; height: 49px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 35px; min-height: 0; padding-block: 44px 60px; }
  .page-partner h1 { font-size: clamp(29px, 9.2vw, 36px); line-height: 1.15; }
  .hero__hl { white-space: nowrap; }
  .hero__intro { margin-bottom: 24px; font-size: 14px; }
  .hero__perks { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
  .hero__perks li { min-height: 140px; padding: 18px 14px; gap: 12px; font-size: 12px; }
  .hero__perks img { width: 52px; height: 52px; }
  .hero__art img { height: 360px; }
}

/* ---------- 02 · Marques coup de cœur ---------- */
.brands {
  padding-block: 64px 72px;
  background: var(--grey-100);
  border-block: 1px solid #eeeeee;
  text-align: center;
}
.brands h2 { font-size: 32px; line-height: 1.2; }
.brands h2 + p { margin: 12px 0 35px; font-size: 14px; }

@media (max-width: 760px) {
  .brands { padding-block: 50px; }
  .brands h2 { font-size: 28px; }
  .brands h2 + p { margin-bottom: 25px; font-size: 13px; }
}

/* ---------- 03 · Produits et objectifs ---------- */
.value__intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 90px;
}
.value__intro > p { max-width: 610px; font-size: 18px; }

.goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.goal {
  padding: 28px 23px;
  border: 1px solid #e9dfd3; border-radius: var(--radius);
  background: var(--beige-50);
}
.goal img { width: 58px; height: 58px; margin-bottom: 20px; }
.page-partner .goal h3 { min-height: 57px; margin-bottom: 10px; font-size: 21px; }
.goal p { font-size: 13px; }

@media (max-width: 1100px) {
  .value__intro { gap: 45px; }
  .goals { gap: 14px; }
  .goal { padding: 24px 18px; }
  .page-partner .goal h3 { font-size: 19px; }
}
@media (max-width: 760px) {
  .value__intro { grid-template-columns: 1fr; gap: 22px; }
  .value__intro > p { font-size: 15px; }
  .goals { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
  .goal { padding: 20px 16px; }
  .goal img { width: 49px; height: 49px; margin-bottom: 15px; }
  .page-partner .goal h3 { min-height: 52px; font-size: 18px; }
  .goal p { font-size: 12px; line-height: 1.75; }
}

/* ---------- 04 · Comprendre Happer ---------- */
.platform { background: var(--grey-100); }
.platform__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: 90px;
}
.page-partner .platform h2 { max-width: 420px; font-size: 46px; }
.platform__intro { margin-bottom: 28px; font-size: 17px; }

.platform__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 30px;
  padding: 0; list-style: none;
  font-size: 14px; line-height: 1.85; color: var(--text);
}
.platform__points li { position: relative; padding-left: 18px; }
.platform__points li::before {     /* puce noire */
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink);
}
.platform__points strong {
  display: block; margin-bottom: 6px;
  font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: -0.025em;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .platform__grid { gap: 50px; }
  .page-partner .platform h2 { font-size: 40px; }
}
@media (max-width: 760px) {
  .platform__grid { grid-template-columns: 1fr; gap: 26px; }
  .page-partner .platform h2 { font-size: 34px; }
  .platform__intro { margin-bottom: 24px; font-size: 15px; }
  .platform__points { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- 05 · Étapes de campagne ---------- */
.process { background: var(--beige-100); }
.process .section-intro { max-width: 840px; margin-bottom: 48px; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  padding: 0; list-style: none;
  text-align: center;
}
.process__steps li { position: relative; padding: 8px 25px; }
.process__steps li:not(:last-child)::after {   /* séparateur vertical */
  content: "";
  position: absolute; right: -21px; top: 15px; bottom: 5px;
  width: 1px;
  background: var(--line);
}
.process__num {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #f4e4d3;
  font-size: 18px; font-weight: 600;
}
.process__icon { width: 54px; height: 54px; margin: 0 auto 24px; }
.process__steps h3 { margin-bottom: 12px; }
.process__steps p { font-size: 13px; line-height: 1.85; }

@media (max-width: 760px) {
  .process .section-intro { margin-bottom: 32px; }
  .process__steps { grid-template-columns: 1fr; gap: 30px; }
  .process__steps li { padding: 0 15px 30px; }
  .process__steps li:last-child { padding-bottom: 0; }
  .process__steps li:not(:last-child)::after {   /* trait horizontal court */
    top: auto; right: auto; bottom: 0; left: calc(50% - 60px);
    width: 120px; height: 1px;
  }
  .process__num { width: 52px; height: 52px; margin-bottom: 22px; font-size: 17px; }
  .process__icon { width: 48px; height: 48px; margin-bottom: 21px; }
  .process__steps p { font-size: 14px; }
}

/* ---------- 06 · Tableau de bord ---------- */
.dashboard { overflow: hidden; }
.dashboard__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 60px;
}
.dashboard .section-intro { margin-bottom: 30px; }
.page-partner .dashboard h2 { font-size: 44px; }

.dashboard__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 0; list-style: none; }
.dashboard__items li {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  min-height: 190px;
  padding: 23px 12px;
  border: 1px solid var(--card-border); border-radius: 18px;
  background: var(--beige-50);
  text-align: center;
  font-size: 13px; font-weight: 500; line-height: 1.6;
}
.dashboard__items img { width: 64px; height: 64px; }

/* L’ordinateur déborde volontairement à droite de la page */
.dashboard__visual { width: calc(100% + 110px); }
.dashboard__visual img { width: 100%; }
.dashboard__visual figcaption { margin: 15px 0 0 15px; font-size: 11px; color: var(--text-soft); }

@media (max-width: 1100px) {
  .dashboard__grid { gap: 35px; }
  .page-partner .dashboard h2 { font-size: 38px; }
  .dashboard__items { gap: 8px; }
  .dashboard__items li { padding: 20px 9px; font-size: 12px; }
}
@media (max-width: 760px) {
  .dashboard__grid { grid-template-columns: 1fr; gap: 32px; }
  .dashboard .section-intro { margin-bottom: 25px; }
  .page-partner .dashboard h2 { font-size: 34px; }
  .dashboard__items { gap: 10px; }
  .dashboard__items li { min-height: 185px; padding: 20px 8px; gap: 15px; font-size: 12px; line-height: 1.65; }
  .dashboard__items img { width: 58px; height: 58px; }
  .dashboard__visual { width: 100%; }
  .dashboard__visual figcaption { margin: 12px 0 0; font-size: 10px; }
}
