/* ==========================================================================
   Accueil (NM_Accueil, ND_Accueil)
   Genere par design/tools/convertir/ d'apres design/reference/ : ne pas
   modifier a la main, corriger l'assembleur et regenerer.
   ========================================================================== */

/* ---- Mobile ---- */
.am-1 { width: 100%; min-height: 100vh; box-sizing: border-box; background: rgb(0, 0, 0); font-family: Inter, sans-serif; color: rgb(255, 255, 255); position: relative; }
.am-2 { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0px 18px; border-bottom: 1px solid rgb(38, 38, 38); }
.am-3 { display: inline-flex; align-items: flex-end; gap: 1px; }
.am-5 { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 500; }
.am-6 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgb(255, 255, 255); color: rgb(0, 0, 0); border-radius: 10px; padding: 11px 18px; font-family: Inter, sans-serif; font-weight: 600; font-size: 14px; white-space: nowrap; }
.am-7 { padding: 28px 18px 0px; }
.am-8 { margin: 0px; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 36px; letter-spacing: -0.04em; line-height: 1.02; }
.am-9 { color: rgb(240, 69, 127); }
.am-10 { margin-top: 14px; font-size: 16px; line-height: 1.55; color: rgb(163, 163, 163); }
.am-11 { height: 22px; }
.am-12 { width: 354px; background: rgb(31, 31, 31); border-radius: 12px; position: relative; max-width: 100%; }
.am-14 { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid rgb(43, 43, 43); }
.am-16 { flex: 1 1 0%; }
.am-17 { font-size: 12px; color: rgb(163, 163, 163); }
.am-18 { font-size: 16px; font-weight: 600; margin-top: 2px; }
.am-19 { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.am-21 { display: flex; margin-top: 14px; }
.am-22 { display: flex; flex: 1 1 0%; align-items: center; justify-content: center; gap: 8px; background: rgb(255, 255, 255); color: rgb(0, 0, 0); border-radius: 10px; padding: 16px 26px; font-family: Inter, sans-serif; font-weight: 600; font-size: 16px; white-space: nowrap; }
.am-23 { padding: 28px 0px 0px; position: relative; }
.am-24 { width: 100%; height: 300px; border-radius: 0px; box-sizing: border-box; flex: 0 0 auto; max-width: 100%; }
.am-25 { position: absolute; left: 18px; right: 18px; bottom: 12px; background: rgba(0, 0, 0, 0.82); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.am-26 { display: flex; }
.am-27 { margin-right: -10px; }
.am-28 { width: 40px; height: 40px; border-radius: 50%; background: rgb(43, 43, 43); padding: 3px; box-sizing: border-box; flex: 0 0 auto; }
.am-29 { width: 100%; height: 100%; border-radius: 50%; background: rgb(31, 31, 31); display: flex; align-items: center; justify-content: center; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.03em; color: rgb(255, 255, 255); }
.am-30 { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(rgb(240, 69, 127) 0deg, rgb(240, 69, 127) var(--part, 80%), rgb(43, 43, 43) var(--part, 80%), rgb(43, 43, 43) var(--part, 100%)); padding: 3px; box-sizing: border-box; flex: 0 0 auto; }
.am-31 { font-weight: 700; font-size: 15px; font-family: "Inter Tight", sans-serif; }
.am-32 { font-size: 12px; font-weight: 600; }
.am-33 { padding: 40px 18px 0px; }
.am-34 { margin-top: 0px; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 28px; letter-spacing: -0.035em; line-height: 1.04; }
.am-35 { margin-top: 8px; font-size: 15px; line-height: 1.55; color: rgb(163, 163, 163); }
.am-36 { margin-top: 22px; }
.am-37 { display: flex; gap: 14px; }
.am-38 { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.am-39 { width: 36px; height: 36px; border-radius: 50%; background: rgb(31, 31, 31); display: flex; align-items: center; justify-content: center; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 15px; color: rgb(240, 69, 127); }
.am-40 { width: 2px; flex: 1 1 0%; background: rgb(43, 43, 43); margin: 6px 0px; }
.am-41 { padding-bottom: 22px; }
.am-42 { display: flex; align-items: center; gap: 10px; }
.am-43 { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.am-44 { background: rgb(43, 43, 43); border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 600; }
.am-45 { font-size: 14px; line-height: 1.5; color: rgb(163, 163, 163); margin-top: 6px; }
.am-46 { padding-bottom: 0px; }
.am-47 { margin-top: 10px; font-size: 15px; line-height: 1.55; color: rgb(163, 163, 163); }
.am-48 { display: flex; gap: 10px; margin-top: 18px; }
.am-49 { width: 111px; height: 150px; border-radius: 12px; box-sizing: border-box; flex: 0 0 auto; }
.am-50 { font-size: 12px; font-weight: 600; margin-top: 8px; }
.am-51 { display: flex; margin-top: 18px; }
.am-52 { margin: 48px 18px 0px; padding-bottom: 24px; font-size: 12px; color: rgb(107, 107, 107); }

/* ---- Tablette : mise en page mobile, centree, 560 px au plus ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  .am-1 { max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* ---- Desktop ---- */
@media (min-width: 1024px) {
  .ins-mob-only { display: none; }
  .ins-desk-only { display: contents; }
  .ad-1 { width: 100%; min-height: 100vh; box-sizing: border-box; background: rgb(0, 0, 0); font-family: Inter, sans-serif; color: rgb(255, 255, 255); position: relative; }
  .ad-2 { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0px 64px; border-bottom: 1px solid rgb(38, 38, 38); }
  .ad-3 { display: flex; align-items: center; gap: 40px; }
  .ad-4 { display: inline-flex; align-items: flex-end; gap: 1px; }
  .ad-6 { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
  .ad-7 { color: rgb(255, 255, 255); }
  .ad-8 { color: rgb(240, 69, 127); }
  .ad-9 { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
  .ad-10 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgb(255, 255, 255); color: rgb(0, 0, 0); border-radius: 10px; padding: 11px 18px; font-family: Inter, sans-serif; font-weight: 600; font-size: 14px; white-space: nowrap; }
  .ad-11 { display: flex; justify-content: space-between; align-items: center; padding: 64px 64px 0px; }
  .ad-12 { width: 560px; }
  .ad-13 { margin: 0px; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 60px; letter-spacing: -0.04em; line-height: 1; }
  .ad-14 { margin-top: 18px; font-size: 18px; line-height: 1.55; color: rgb(163, 163, 163); max-width: 520px; }
  .ad-15 { height: 30px; }
  .ad-16 { width: 460px; background: rgb(31, 31, 31); border-radius: 12px; position: relative; }
  .ad-18 { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid rgb(43, 43, 43); }
  .ad-20 { flex: 1 1 0%; }
  .ad-21 { font-size: 12px; color: rgb(163, 163, 163); }
  .ad-22 { font-size: 16px; font-weight: 600; margin-top: 2px; }
  .ad-23 { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
  .ad-25 { display: flex; align-items: center; gap: 26px; margin-top: 22px; }
  .ad-26 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgb(255, 255, 255); color: rgb(0, 0, 0); border-radius: 10px; padding: 16px 26px; font-family: Inter, sans-serif; font-weight: 600; font-size: 16px; white-space: nowrap; }
  .ad-27 { font-size: 15px; font-weight: 500; text-decoration: underline rgb(107, 107, 107); text-underline-offset: 5px; }
  .ad-28 { position: relative; }
  .ad-29 { width: 680px; height: 620px; border-radius: 16px; box-sizing: border-box; flex: 0 0 auto; }
  .ad-30 { position: absolute; left: 24px; bottom: 24px; width: 310px; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); border-radius: 12px; padding: 16px 18px; box-sizing: border-box; }
  .ad-31 { display: flex; justify-content: space-between; font-size: 12px; color: rgb(163, 163, 163); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
  .ad-32 { display: flex; align-items: center; gap: 12px; margin: 12px 0px; }
  .ad-33 { display: flex; }
  .ad-34 { margin-right: -10px; }
  .ad-35 { width: 48px; height: 48px; border-radius: 50%; background: rgb(43, 43, 43); padding: 3px; box-sizing: border-box; flex: 0 0 auto; }
  .ad-36 { width: 100%; height: 100%; border-radius: 50%; background: rgb(31, 31, 31); display: flex; align-items: center; justify-content: center; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; color: rgb(255, 255, 255); }
  .ad-37 { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(rgb(240, 69, 127) 0deg, rgb(240, 69, 127) var(--part, 80%), rgb(43, 43, 43) var(--part, 80%), rgb(43, 43, 43) var(--part, 100%)); padding: 3px; box-sizing: border-box; flex: 0 0 auto; }
  .ad-38 { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 17px; }
  .ad-39 { font-size: 13px; color: rgb(163, 163, 163); }
  .ad-40 { display: flex; gap: 4px; }
  .ad-41 { flex: 1 1 0%; height: 5px; border-radius: 3px; background: rgb(240, 69, 127); }
  .ad-42 { flex: 1 1 0%; height: 5px; border-radius: 3px; background: rgb(43, 43, 43); }
  .ad-43 { padding: 110px 64px 0px; }
  .ad-44 { display: flex; justify-content: space-between; align-items: flex-end; }
  .ad-45 { margin-top: 0px; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 48px; letter-spacing: -0.035em; line-height: 1.04; }
  .ad-46 { width: 420px; }
  .ad-47 { margin-top: 0px; font-size: 18px; line-height: 1.55; color: rgb(163, 163, 163); max-width: 420px; }
  .ad-48 { display: flex; margin-top: 36px; }
  .ad-49 { flex: 1 1 0%; min-width: 0px; box-sizing: border-box; background: rgb(20, 20, 20); border-radius: 14px; padding: 26px 26px 28px; }
  .ad-50 { display: flex; justify-content: space-between; align-items: center; }
  .ad-51 { width: 44px; height: 44px; border-radius: 12px; background: rgb(31, 31, 31); display: flex; align-items: center; justify-content: center; color: rgb(240, 69, 127); }
  .ad-52 { background: rgb(43, 43, 43); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; }
  .ad-53 { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; }
  .ad-54 { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 20px; color: rgb(107, 107, 107); }
  .ad-55 { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
  .ad-56 { font-size: 15px; line-height: 1.55; color: rgb(163, 163, 163); margin-top: 10px; }
  .ad-57 { width: 40px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: rgb(107, 107, 107); }
  .ad-58 { padding: 120px 64px 0px; }
  .ad-59 { width: 460px; }
  .ad-60 { margin-top: 0px; font-size: 18px; line-height: 1.55; color: rgb(163, 163, 163); max-width: 460px; }
  .ad-61 { display: flex; gap: 20px; margin-top: 40px; }
  .ad-62 { width: 313px; }
  .ad-63 { width: 313px; height: 400px; border-radius: 14px; box-sizing: border-box; flex: 0 0 auto; }
  .ad-64 { font-size: 15px; font-weight: 600; margin-top: 12px; }
  .ad-65 { display: flex; align-items: center; gap: 90px; padding: 130px 64px 0px; }
  .ad-66 { width: 620px; height: 440px; border-radius: 16px; box-sizing: border-box; flex: 0 0 auto; }
  .ad-67 { width: 520px; }
  .ad-68 { margin-top: 18px; font-size: 18px; line-height: 1.55; color: rgb(163, 163, 163); max-width: 480px; }
  .ad-69 { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
  .ad-70 { display: flex; align-items: center; justify-content: space-between; padding: 130px 64px 0px; }
  .ad-71 { display: flex; align-items: center; gap: 14px; margin-top: 30px; background: rgb(20, 20, 20); border-radius: 12px; padding: 16px 18px; width: 400px; box-sizing: border-box; }
  .ad-72 { width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(rgb(240, 69, 127) 0deg, rgb(240, 69, 127) var(--part, 80%), rgb(43, 43, 43) var(--part, 80%), rgb(43, 43, 43) var(--part, 100%)); padding: 3px; box-sizing: border-box; flex: 0 0 auto; }
  .ad-73 { width: 100%; height: 100%; border-radius: 50%; background: rgb(20, 20, 20); display: flex; align-items: center; justify-content: center; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: rgb(255, 255, 255); }
  .ad-74 { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 18px; }
  .ad-75 { font-size: 13px; color: rgb(163, 163, 163); margin-top: 2px; }
  .ad-76 { margin: 130px 64px 0px; position: relative; height: 420px; border-radius: 16px; overflow: hidden; }
  .ad-77 { width: 1312px; height: 420px; border-radius: 0px; box-sizing: border-box; flex: 0 0 auto; }
  .ad-78 { position: absolute; inset: 0px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.1) 85%); }
  .ad-79 { position: absolute; left: 56px; top: 0px; bottom: 0px; display: flex; flex-direction: column; justify-content: center; width: 560px; }
  .ad-80 { margin-top: 16px; font-size: 18px; line-height: 1.55; color: rgb(163, 163, 163); max-width: 460px; }
  .ad-81 { margin-top: 28px; }
  .ad-82 { position: relative; margin-top: 89.41px; padding: 56px 64px 40px; border-top: 1px solid rgb(38, 38, 38); }
  .ad-89 { display: flex; justify-content: space-between; margin-top: 40px; font-size: 13px; color: rgb(107, 107, 107); }
}

/* Ajout a la maquette : lien d'evitement, visible au clavier. */
.pf-evitement { position: absolute; left: -9999px; top: 12px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: #FFFFFF; color: #000000; font-family: Inter, sans-serif; font-weight: 600; }
.pf-evitement:focus { left: 12px; }
/* Titre du hero en Inter Tight, comme la maquette (decision de Thibaud) : passe devant la regle
   Fraunces des h1 et h2 de theme.css (meme poids, chargee apres). */
h1.am-8, h2.ad-13 { font-family: "Inter Tight", sans-serif; font-variation-settings: normal; letter-spacing: -0.04em; }
/* Ajout a la maquette : icones de « Ta ville » (blanche) et « Ton premier Matchday » (rose). */
.pf-repere { display: flex; flex: 0 0 auto; width: 18px; height: 18px; }
.pf-lieu { color: rgb(255, 255, 255); }
.pf-heure { color: rgb(240, 69, 127); }
/* Ajout a la maquette : pied de page desktop en deux lignes (voir footer). */
@media (min-width: 1024px) {
  .ad-82 { padding: 28px 64px 24px; }
  .ad-89 { margin-top: 14px; }
  .pf-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
  .pf-pied-liens { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; font-size: 14px; color: rgb(163, 163, 163); }
}
/* Telephone etroit (moins de 375 px) : les trois photos « Pas le temps de swiper » se partagent
   la rangee, au format de la maquette (111 x 150), au lieu de deborder. */
@media (max-width: 374px) {
  .am-48 > div { flex: 1 1 0; min-width: 0; }
  .am-49 { width: 100%; height: auto; aspect-ratio: 111 / 150; }
}
/* Ajout a la maquette : entre 1024 et 1440 px, photos elastiques (voir build) ; les marges de
   40 px gardent un ecart quand la place manque, sans rien deplacer a 1440 px. */
@media (min-width: 1024px) {
  .ad-62 { width: auto; flex: 0 1 313px; min-width: 0; }
  .ad-63 { width: 100%; height: auto; aspect-ratio: 313 / 400; }
  .ad-77 { width: 100%; }
  .ad-28 { flex: 0 1 680px; min-width: 0; margin-left: 40px; }
  .ad-29 { width: 100%; height: auto; aspect-ratio: 680 / 620; }
  .ad-66 { flex: 0 1 620px; min-width: 0; height: auto; aspect-ratio: 620 / 440; }
  .ad-70 > .ad-66 { margin-left: 40px; }
}
