/*
 * Habillage de Noël 2026 de la page « Offrez une carte » (prepaid/list/default.blade.php).
 * Chargé seulement pendant la campagne (App\Services\ChristmasCampaign), par-dessus
 * resources/sass/pages/_gift-landing.scss. CSS statique : pas de recompilation nécessaire.
 * Palette : sapin #1f3320, bordeaux #8b2d2d (boutons, texte blanc), or #d7a530 / #e9c56a, crème #fdf7ea.
 */
.gift-landing--noel { color: #1f3320; }

.gift-landing--noel .gift-hero { background: #1f3320; color: #fdf7ea; }
.gift-landing--noel .gift-hero::before { opacity: .22; }
.gift-landing--noel .gift-hero__badge { background: #d7a530; color: #1f3320; }
.gift-landing--noel .gift-hero__title { color: #fdf7ea; }
.gift-landing--noel .gift-hero__title-accent { color: #e9c56a; }
.gift-landing--noel .gift-hero__lead,
.gift-landing--noel .gift-hero__note { color: #fdf7ea; }
.gift-landing--noel .gift-hero__feature-icon { border-color: #e9c56a; color: #e9c56a; }
.gift-landing--noel .gift-hero__feature-text { color: #fdf7ea; }
.gift-landing--noel .gift-hero__discover,
.gift-landing--noel .gift-cards .btn-primary {
  background: #8b2d2d; border-color: #8b2d2d; color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.gift-landing--noel .gift-hero__discover:hover,
.gift-landing--noel .gift-hero__discover:focus-visible,
.gift-landing--noel .gift-cards .btn-primary:hover,
.gift-landing--noel .gift-cards .btn-primary:focus-visible { background: #6f2222; border-color: #6f2222; color: #fff; }
.gift-landing--noel .gift-hero__card-img { box-shadow: 0 0 0 6px rgba(215, 165, 48, .6), 0 30px 60px rgba(0, 0, 0, .35); }

/* Bande de dernière minute */
.gift-lastminute {
  background: #8b2d2d; color: #fdf7ea; padding: 12px 0; text-align: center;
  font-size: 16px; line-height: 1.4; border-bottom: 2px solid #d7a530;
}
.gift-lastminute__countdown {
  display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 999px;
  background: #d7a530; color: #1f3320; font-family: Bitter, serif; font-weight: 800;
}

/* La Carte complète, « la plus offerte » */
.gift-landing--noel .gift-cards__card { position: relative; }
.gift-cards__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 5px 16px; border-radius: 999px; background: #d7a530; color: #1f3320;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(31, 51, 32, .25);
}

/* Envoyez l'idée à quelqu'un */
.gift-share { padding: 8px 0 48px; }
.gift-share__box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 24px 28px; border-radius: 16px; background: #fdf7ea; border: 1.5px dashed #d7a530;
}
.gift-share__title { margin: 0 0 6px; font-family: Bitter, serif; font-size: 22px; font-weight: 800; color: #1f3320; }
.gift-share__text { margin: 0; font-size: 15px; color: #404923; }
.gift-share__button {
  border-radius: 999px; border: 2px solid #1f3320; color: #1f3320; background: transparent;
  padding: 10px 24px; font-family: Bitter, serif; font-weight: 700;
}
.gift-share__button:hover, .gift-share__button:focus-visible { background: #1f3320; color: #fdf7ea; }

@media (max-width: 575px) {
  .gift-share__box { padding: 20px; }
  .gift-share__button { width: 100%; text-align: center; }
}

/* ------------------------------------------------ Toutes les pages : bandeau */
.noel-banner {
  /* au-dessus du hero de l'accueil, remonté de 74 px sous l'en-tête (plus bas que ça sur téléphone) */
  position: relative; z-index: 1031; display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 6px 12px; padding: 8px 48px; background: #8b2d2d; color: #fdf7ea;
  font-size: 14px; line-height: 1.35; text-align: center; border-bottom: 1px solid #d7a530;
}
.noel-banner[hidden] { display: none; }
.noel-banner a { color: #e9c56a; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.noel-banner a:hover, .noel-banner a:focus-visible { color: #fff; }
.noel-banner__close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; background: transparent; color: #fdf7ea;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
/* Téléphone : texte et lien à la suite, sans l'étincelle, pour tenir sur deux lignes */
@media (max-width: 575px) {
  .noel-banner { display: block; padding: 7px 44px 7px 14px; font-size: 13px; }
  .noel-banner[hidden] { display: none; }
  .noel-banner > svg { display: none; }
  .noel-banner > span { display: inline; }
  .noel-banner > a { display: inline; margin-left: 4px; white-space: nowrap; }
}

.navbar-brand { position: relative; }

/* ------------------------------------------------ Accueil FR : fond hiver et ligne cadeau */
.page-of-content .banner.banner--noel .banner-top::before {
  background:
    linear-gradient(180deg, rgba(190, 215, 225, .2) 0%, rgba(190, 215, 225, 0) 40%),
    linear-gradient(180deg, rgba(18, 34, 40, .55) 0%, rgba(24, 40, 34, .3) 45%, rgba(20, 30, 18, .55) 100%);
}
/* Ligne cadeau fidèle à la maquette de Jordan : cadeau « néon » doré, étincelles fines,
   texte blanc, « Offrez une carte » souligné d'un trait doré effilé, flèche fine.
   Un voile sombre diffus derrière la ligne garde le contraste sur les girolles. */
.banner-gift-link--noel { position: relative; gap: 14px; margin-top: 1.6rem !important; font-size: 22px; font-weight: 400; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.banner-gift-link--noel::before { content: ""; position: absolute; inset: -12px -32px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at center, rgba(28, 18, 4, .55) 0%, rgba(28, 18, 4, .3) 45%, rgba(28, 18, 4, 0) 72%); }
.banner-gift-link--noel .banner-gift-link__gift { width: 46px; height: 46px; color: #ffc84a; flex: none; overflow: visible; filter: drop-shadow(0 0 3px rgba(255, 214, 110, .95)) drop-shadow(0 0 10px rgba(255, 180, 40, .8)) drop-shadow(0 0 22px rgba(255, 160, 20, .45)); }
.banner-gift-link__gift-halo { opacity: .95; }
.banner-gift-link__spark { color: #ffe2a0; flex: none; overflow: visible; filter: drop-shadow(0 0 2px #fff4d6) drop-shadow(0 0 8px rgba(255, 200, 90, .95)) drop-shadow(0 0 16px rgba(255, 170, 40, .5)); }
.banner-gift-link__spark-core { fill: #fffaf0; }
.banner-gift-link__spark--left { width: 38px; height: 52px; margin-right: -8px; transform: translateY(0); }
.banner-gift-link__spark--right { width: 23px; height: 37px; margin-left: 0; transform: translateY(-11px); }
.banner-gift-link--noel a { gap: 16px; margin-left: 22px; color: #fff; font-weight: 400; }
.banner-gift-link--noel a .banner-gift-link-text { position: relative; text-decoration: none; }
.banner-gift-link--noel a .banner-gift-link-text::after {
  content: ""; position: absolute; left: -2%; right: -4%; bottom: 0; height: 5px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 6' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='u' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23ffb02e' stop-opacity='0'/%3E%3Cstop offset='.18' stop-color='%23ffbf3a'/%3E%3Cstop offset='.5' stop-color='%23fff6dc'/%3E%3Cstop offset='.82' stop-color='%23ffc54a'/%3E%3Cstop offset='1' stop-color='%23ffb02e' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 3.6 Q 120 -0.4 240 3 Q 120 5.6 0 3.6 Z' fill='url(%23u)'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  filter: drop-shadow(0 0 3px rgba(255, 214, 110, .95)) drop-shadow(0 0 9px rgba(255, 170, 30, .7));
}
.banner-gift-link--noel a .banner-gift-arrow svg { width: 24px; height: 24px; stroke-width: 1.8; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .45)); }
.banner-gift-link--noel a:hover { opacity: 1; }
.banner-gift-link--noel a:hover .banner-gift-link-text::after { filter: drop-shadow(0 0 4px rgba(255, 230, 150, 1)) drop-shadow(0 0 14px rgba(255, 170, 30, .9)); }
/* Téléphone : bloc centré dans l'axe du titre — étoiles et cadeau, question sur deux lignes
   équilibrées, puis le lien souligné. */
@media (max-width: 767.98px) {
  .banner-gift-link--noel { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 10px; margin-top: 1.4rem !important; font-size: 17px; line-height: 1.35; }
  .banner-gift-link--noel::before { inset: -6px -4px; background: radial-gradient(ellipse at center, rgba(28, 18, 4, .5) 0%, rgba(28, 18, 4, .25) 50%, rgba(28, 18, 4, 0) 75%); }
  .banner-gift-link--noel > svg { display: block; margin: 0; vertical-align: 0; }
  .banner-gift-link--noel .banner-gift-link__gift { order: 2; width: 40px; height: 40px; }
  .banner-gift-link--noel .banner-gift-link__spark--left { order: 1; width: 26px; height: 35px; margin-right: -4px; transform: translateY(-2px); }
  .banner-gift-link--noel > .banner-gift-link__spark--right { order: 3; width: 19px; height: 30px; margin-left: -4px; transform: translateY(-7px); }
  .banner-gift-link__question { order: 4; flex: 0 0 100%; margin-top: 8px; text-wrap: balance; }
  .banner-gift-link--noel a { order: 5; flex: 0 0 auto; margin: 10px 0 0; gap: 10px; font-size: 18px; }
  .banner-gift-link--noel a .banner-gift-arrow svg { width: 21px; height: 21px; }
}

