/* Page Carte cadeau. S'appuie sur home.css (titres, étoiles, liens, FAQ) et pr-button.css.
   Mobile d'abord, desktop à partir de 992px. */

.gift { color: #fff; font-family: var(--font-main); }
.gift section { position: relative; z-index: 1; }

.gift-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.gift-checks li { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; color: #e2e3f5; }
.gift-checks svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--home-yellow); }
.gift-checks--center { justify-content: center; }

/* ---------- Hero et bloc d'achat ---------- */

.gift-hero {
  /* l'en-tête du site est posé par-dessus le haut de la page */
  padding: 150px 0 40px;
  background: radial-gradient(ellipse 90% 40% at 30% 20%, rgba(108, 92, 231, 0.35), transparent 70%);
}
.gift-hero__inner { display: flex; flex-direction: column; gap: 32px; }
.gift-hero__main { display: flex; flex-direction: column; gap: 18px; }
.gift-hero__title.title { margin: 0; font-size: 32px; line-height: 1.08; text-transform: uppercase; }
.gift-hero__lead { margin: 0; font-size: 17px; line-height: 1.5; color: #e2e3f5; }
.gift-hero__proof { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; font-weight: 700; }
.gift-hero__proof p { margin: 0; }
.gift-hero__photo { display: none; width: 100%; height: 230px; object-fit: cover; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.35); box-sizing: border-box; }

.gift-checks--column { flex-direction: column; gap: 8px; }
.gift-checks--column li { font-size: 14px; }

/* Encadré « Idéal en famille » */
.gift-tip {
  align-self: flex-start;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(253, 205, 0, 0.14);
  border: 1px solid rgba(253, 205, 0, 0.5);
  font-size: 14px;
  font-weight: 700;
}
.gift-tip span { color: var(--home-yellow); }

/* Bloc carte du hero */
.gift-hero__side {
  box-sizing: border-box;
  padding: 20px;
  border-radius: 22px;
  background: rgba(10, 11, 61, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gift-card-visual {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  box-sizing: border-box;
  padding: 20px 22px;
  border-radius: 18px;
  background: #6c5ce7;
  box-shadow: 0 24px 60px rgba(108, 92, 231, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gift-card-visual::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 26px solid rgba(255, 255, 255, 0.1);
}
.gift-card-visual__top, .gift-card-visual__bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; }
.gift-card-visual__top { align-items: flex-start; }
.gift-card-visual { gap: 18px; }
.gift-card-visual__top img { width: 104px; height: auto; }
.gift-card-visual__tag { padding: 6px 12px; border-radius: 999px; background: rgba(0, 8, 47, 0.35); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }
/* sur mobile, le prix passe sous le nombre de joueurs */
.gift-card-visual__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
.gift-card-visual__bottom p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.gift-card-visual__bottom .gift-card-visual__players { margin-bottom: 2px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.gift-card-visual__bottom .gift-card-visual__price { font-family: var(--font-title); font-size: 30px; line-height: 1; color: #fff; white-space: nowrap; }

/* Bloc d'achat pleine largeur (widget Bookeo) */
.gift-buy-section {
  scroll-margin-top: 20px;
  padding: 52px 0;
  background: #070a36;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gift-buy { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.gift-buy__title.title { margin: 0; font-size: 28px; line-height: 1.08; text-align: center; text-transform: uppercase; }
.gift-buy .gift-tip { align-self: center; }
.gift-buy__widget {
  box-sizing: border-box;
  width: 100%;
  min-height: 320px;
  padding: 12px;
  border-radius: 12px;
  background: #000731;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.gift-buy__widget iframe { width: 100% !important; }

/* ---------- Sections ---------- */

.gift-section { padding: 52px 0; }
.gift-section .container { display: flex; flex-direction: column; gap: 26px; }

.gift-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.gift-steps__item {
  padding: 22px;
  border-radius: 16px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gift-steps__number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--home-yellow);
  color: var(--home-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 20px;
}
.gift-steps__item p { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }

.gift-live { background: #070a36; }
.gift-live__inner { display: flex; flex-direction: column; gap: 24px; }
.gift-section .gift-live__inner { flex-direction: column; }
.gift-live__photo { width: 100%; height: auto; aspect-ratio: 7 / 4; object-fit: cover; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.35); box-sizing: border-box; }
.gift-live__main { display: flex; flex-direction: column; gap: 20px; }
.gift-live__point { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.gift-live__point-title { margin: 0; font-size: 20px; font-weight: 800; }
.gift-live__point-text { margin: 0; font-size: 16px; line-height: 1.45; color: var(--home-muted); }
.gift-live__main .pr-button { margin-top: 6px; align-self: flex-start; }

.gift-reviews__head { display: flex; flex-direction: column; gap: 10px; }
.gift-reviews { display: flex; flex-direction: column; gap: 14px; }
.gift-reviews__card { margin: 0; padding: 22px; border-radius: 16px; background: var(--home-card); border: 1px solid var(--home-line); display: flex; flex-direction: column; gap: 12px; }
.gift-reviews__card .home-stars { font-size: 16px; }
.gift-reviews__card blockquote { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.4; }
.gift-reviews__card figcaption { font-size: 14px; color: var(--home-soft); }
.gift-reviews__card figcaption strong { color: #fff; }

.gift-audiences { padding: 0 0 52px; }
.gift-audiences__inner { display: flex; flex-direction: column; gap: 14px; }
.gift-audiences__card { padding: 24px; border-radius: 16px; background: var(--home-card); border: 1px solid var(--home-line); display: flex; flex-direction: column; gap: 12px; }
.gift-audiences__card--accent { background: rgba(108, 92, 231, 0.16); border-color: rgba(108, 92, 231, 0.5); }
.gift-audiences__text { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; }
.gift-audiences__note { margin: 0; font-size: 16px; color: var(--home-muted); }
.gift-audiences__note a { color: var(--home-yellow); font-weight: 800; text-decoration: none; }

.gift-lastminute { padding: 0 0 52px; }
.gift-lastminute__band {
  padding: 22px;
  border-radius: 16px;
  background: var(--home-yellow);
  color: var(--home-ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gift-lastminute__title { margin: 0 0 4px; font-family: var(--font-title); font-weight: 400; font-size: 22px; text-transform: uppercase; }
.gift-lastminute__band p { margin: 0; font-size: 16px; font-weight: 700; }
.gift-lastminute__button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--home-ink);
  color: var(--home-yellow);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.gift-lastminute__button:hover { color: #fff; }
.gift-lastminute__button:focus-visible { outline: 3px solid var(--home-ink); outline-offset: 3px; }

.gift-faq { background: none; padding-top: 0; }

.gift-final {
  padding: 64px 0;
  background: radial-gradient(ellipse 80% 80% at 50% 100%, rgba(108, 92, 231, 0.4), transparent 70%), #070a36;
}
.gift-final__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.gift-final__title.title { margin: 0; font-size: 32px; line-height: 1.08; text-transform: uppercase; }

/* ---------- Desktop ---------- */

@media (min-width: 992px) {
  .gift-hero { padding: 230px 0 72px; background: radial-gradient(ellipse 50% 60% at 20% 40%, rgba(108, 92, 231, 0.35), transparent 70%); }
  .gift-hero__inner { flex-direction: row; align-items: center; gap: 64px; }
  .gift-hero__main { flex: 1; gap: 24px; padding-top: 12px; }
  .gift-hero__title.title { font-size: 56px; line-height: 1.04; }
  .gift-hero__lead { font-size: 21px; }
  .gift-hero__proof { font-size: 16px; gap: 6px 28px; }
  .gift-hero__photo { display: block; }
  .gift-hero__side { flex: 0 0 440px; padding: 28px; }
  .gift-card-visual { aspect-ratio: 2 / 1; min-height: 0; padding: 24px 26px; }
  .gift-card-visual__bottom { flex-direction: row; align-items: flex-end; }
  .gift-card-visual__top img { width: 150px; }
  .gift-card-visual__bottom .gift-card-visual__price { font-size: 38px; }
  .gift-buy-section { padding: 88px 0; }
  .gift-buy__title.title { font-size: 44px; }
  .gift-tip { font-size: 15px; padding: 8px 14px; }
  .gift-buy__widget { padding: 24px; }

  .gift-section { padding: 88px 0; }
  .gift-section .container { gap: 36px; }
  .gift-steps { flex-direction: row; gap: 24px; }
  .gift-steps__item { flex: 1; padding: 28px; gap: 14px; }
  .gift-steps__item p { font-size: 20px; }

  .gift-section .gift-live__inner { flex-direction: row; align-items: center; gap: 80px; }
  .gift-live__photo { flex: none; width: 44%; aspect-ratio: 28 / 25; }
  .gift-live__main { min-width: 0; }
  .gift-live__main { flex: 1; gap: 26px; }
  .gift-live__point { gap: 6px; padding-bottom: 22px; }
  .gift-live__point-title { font-size: 24px; }
  .gift-live__point-text { font-size: 18px; }

  .gift-reviews__head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
  .gift-reviews__head .home-link { font-size: 16px; flex-shrink: 0; }
  .gift-reviews { flex-direction: row; gap: 24px; }
  .gift-reviews__card { flex: 1; padding: 28px; }
  .gift-reviews__card blockquote { font-size: 21px; }

  .gift-audiences { padding-bottom: 88px; }
  .gift-audiences__inner { flex-direction: row; gap: 24px; }
  .gift-audiences__card { flex: 1; padding: 32px; }
  .gift-audiences__text { font-size: 23px; }
  .gift-audiences__note, .gift-audiences__card .home-link { font-size: 17px; }

  .gift-lastminute { padding-bottom: 88px; }
  .gift-lastminute__band { flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 32px; }
  .gift-lastminute__title { font-size: 24px; }
  .gift-lastminute__band p { font-size: 18px; }
  .gift-lastminute__button { align-self: center; flex-shrink: 0; }

  .gift-faq { padding-bottom: 88px; }

  .gift-final { padding: 96px 0; }
  .gift-final__title.title { font-size: 56px; }
}
