/* Tips candidats ----------------------------------------------------------- */

/* Éléments communs aux étapes */
.tips-split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.tips-split--center { align-items: center; }
.tips-block { display: flex; flex-direction: column; gap: 22px; }
.tips-step {
  align-self: flex-start; padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--yellow); font-size: 13px; font-weight: 700;
}
.tips-step--white { background: var(--white); }
.tips-h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; font-weight: 600; letter-spacing: -.015em; }
.tips-text { line-height: 1.7; }

/* Titre */
.tips-hero__inner {
  padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 80px); align-items: end;
}
.tips-hero__title, .tips-hero__aside { display: flex; flex-direction: column; gap: 18px; }
.tips-hero__aside { gap: 20px; }
.tips-hero__back { align-self: flex-start; font-size: 14px; font-weight: 600; }
.tips-hero__h1 { display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: .3em; row-gap: .1em; }
.tips-hero__smile { width: 1.5em; transform: translateY(-.08em); }
.tips-hero__lead { line-height: 1.7; }
.tips-hero__btn { align-self: flex-start; padding: 14px 24px; white-space: normal; text-align: left; }

/* Sommaire des étapes */
.tips-chapters {
  padding-bottom: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px;
}
.tips-chapter {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px;
  border-radius: 20px; background: var(--white); transition: background .3s;
}
.tips-chapter:hover { opacity: 1; background: var(--yellow); }
.tips-chapter__num {
  display: flex; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--yellow); align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.tips-chapter__label { flex: 1; font-size: 17px; font-weight: 600; line-height: 1.3; }
.tips-chapter__arrow { font-size: 18px; }

/* 01 · Préparation */
.tips-prep__media {
  position: relative; aspect-ratio: 4 / 5; max-height: 720px;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--gray);
}
.tips-prep__lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; font-weight: 500; }
.tips-prep__intro { font-size: 16px; font-weight: 700; }
.tips-prep__list { display: flex; flex-direction: column; }
.tips-prep__item { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.tips-prep__num { min-width: 24px; padding-top: 3px; font-size: 13px; font-weight: 700; }
.tips-prep__item p { font-size: 16px; line-height: 1.65; }

/* 02 · Entretien */
.tips-entretien__media {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg); overflow: hidden; background: #e4e4e4;
}
.tips-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.tips-group { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--white); overflow: hidden; }
.tips-group__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e4e4e4; }
.tips-group__body { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 2.5vw, 36px); }
.tips-group__title { margin-bottom: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.tips-group__list li {
  display: flex; gap: 14px; align-items: baseline; padding: 12px 0;
  border-top: 1px solid rgba(9, 9, 2, .12); font-size: 15px; line-height: 1.6;
}
.tips-group__list li::before {
  content: ''; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%;
  background: var(--yellow); transform: translateY(-2px);
}

/* 03 · Clôture */
.tips-cloture {
  border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: stretch;
}
.tips-cloture__text { padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; gap: 18px; }
.tips-cloture__text > p { font-size: 16px; line-height: 1.7; }
.tips-cloture__media { position: relative; min-height: 360px; }
.tips-role {
  display: flex; flex-direction: column; gap: 10px; margin-top: 8px;
  padding: 24px; border-radius: 20px; background: var(--white);
}
.tips-role__title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tips-role p { font-size: 15px; line-height: 1.65; }

/* Astuces */
.tips-astuces { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.tips-filters { display: flex; flex-wrap: wrap; gap: 8px; }
html:not(.js) .tips-filters { display: none; }
.tips-filter {
  padding: 10px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font: 600 14px var(--font); cursor: pointer;
  transition: background .2s, color .2s;
}
.tips-filter[aria-pressed="true"] { background: var(--ink); color: var(--white); }
@media (hover: hover) {
  .tips-filter[aria-pressed="false"]:hover { background: var(--white); }
}

.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.tip-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 230px; padding: 28px; border-radius: var(--radius); background: var(--white);
}
.tip-card[hidden] { display: none; }
.tip-card:hover { transform: translateY(-3px); }
.tip-card__body { display: flex; flex-direction: column; gap: 12px; }
.tip-card__cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tip-card__title { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.tip-card__text { font-size: 15px; line-height: 1.55; }
.tip-card__more { font-size: 15px; font-weight: 700; }

/* Appel à l'action */
.tips-cta {
  padding-block: clamp(64px, 8vw, 112px);
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.tips-cta__title { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; font-weight: 600; letter-spacing: -.015em; }

@media (prefers-reduced-motion: reduce) {
  .tip-card, .tip-card:hover { transform: none; }
}
