/* =====================================================================
   La Ligue — thème front par défaut (Bootstrap 5.3)
   Couleurs de marque : modifiez uniquement les variables ci-dessous.
   ===================================================================== */
:root {
  --ll-primary: #0f2a4a;       /* bleu nuit */
  --ll-primary-rgb: 15, 42, 74;
  --ll-accent: #d4a017;        /* or */
  --ll-accent-rgb: 212, 160, 23;
  --ll-soft: #f4f6fa;
  --ll-radius: .9rem;

  --bs-primary: var(--ll-primary);
  --bs-primary-rgb: var(--ll-primary-rgb);
  --bs-link-color: #1d4f8a;
  --bs-link-hover-color: var(--ll-primary);
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-border-radius: .6rem;
}

body { background: #fff; color: #1f2937; }
h1, h2, h3, h4, .navbar-brand { letter-spacing: -.01em; }

/* Boutons */
.btn-primary { --bs-btn-bg: var(--ll-primary); --bs-btn-border-color: var(--ll-primary); --bs-btn-hover-bg: #0a1f38; --bs-btn-hover-border-color: #0a1f38; --bs-btn-active-bg: #081a30; }
.btn-accent { --bs-btn-color: #1b1300; --bs-btn-bg: var(--ll-accent); --bs-btn-border-color: var(--ll-accent); --bs-btn-hover-bg: #bf8f10; --bs-btn-hover-border-color: #bf8f10; --bs-btn-hover-color: #1b1300; font-weight: 600; }
.btn-outline-primary { --bs-btn-color: var(--ll-primary); --bs-btn-border-color: var(--ll-primary); --bs-btn-hover-bg: var(--ll-primary); --bs-btn-hover-border-color: var(--ll-primary); }
.text-accent { color: var(--ll-accent) !important; }
.bg-primary-ll { background: var(--ll-primary) !important; }
.bg-soft { background: var(--ll-soft) !important; }

/* Navigation */
.navbar-ll { background: #fff; box-shadow: 0 1px 0 rgba(15, 42, 74, .08); }
.navbar-ll .nav-link { font-weight: 500; color: #243447; }
.navbar-ll .nav-link:hover, .navbar-ll .nav-link.active { color: var(--ll-primary); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--ll-primary); color: var(--ll-accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

/* Hero */
.hero { background: radial-gradient(circle at 85% 20%, rgba(var(--ll-accent-rgb), .18), transparent 40%), linear-gradient(135deg, #0f2a4a 0%, #16406e 100%); color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .82); }
.hero-stat { border-left: 3px solid var(--ll-accent); padding-left: .75rem; }
.page-header { background: linear-gradient(135deg, #0f2a4a 0%, #16406e 100%); color: #fff; padding: 3rem 0 2.5rem; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a, .page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .7); }

/* Cartes */
.card { border-radius: var(--ll-radius); border-color: rgba(15, 42, 74, .08); }
.card-hover { transition: transform .15s ease, box-shadow .15s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 .75rem 1.5rem rgba(15, 42, 74, .08); }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--ll-primary-rgb), .07); color: var(--ll-primary); font-size: 1.35rem; }
.avatar-initials { background: rgba(var(--ll-primary-rgb), .1); color: var(--ll-primary); font-weight: 700; }
.logo-box { width: 64px; height: 64px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid rgba(15, 42, 74, .08); }
.vacant { border: 2px dashed rgba(var(--ll-primary-rgb), .25); background: var(--ll-soft); }

/* Packs */
.pack-card.highlight { border: 2px solid var(--ll-accent); box-shadow: 0 1rem 2rem rgba(var(--ll-accent-rgb), .15); }
.pack-price { font-size: 2rem; font-weight: 800; color: var(--ll-primary); }
.pack-card ul li { padding: .3rem 0; }

/* Espace membre */
.account-nav .list-group-item { border: 0; border-radius: .5rem !important; margin-bottom: 2px; color: #334155; }
.account-nav .list-group-item.active { background: rgba(var(--ll-primary-rgb), .08); color: var(--ll-primary); font-weight: 600; }
.stat-card .display-6 { font-weight: 700; color: var(--ll-primary); }
.score-pill { background: rgba(var(--ll-accent-rgb), .15); color: #7a5a00; font-weight: 700; }

/* Footer */
.footer-ll { background: #0b1f38; color: rgba(255, 255, 255, .72); }
.footer-ll a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-ll a:hover { color: #fff; }

.object-fit-cover { object-fit: cover; }
.ticket-code { font-family: ui-monospace, monospace; letter-spacing: .15em; }
.nl2br { white-space: pre-line; }

@media (max-width: 575.98px) {
  .hero h1 { font-size: 2rem; }
  .page-header { padding: 2rem 0 1.5rem; }
}

.min-w-0 { min-width: 0; }

/* Logo envoyé depuis Administration > Paramètres, et bouton WhatsApp */
.site-logo { display: block; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 1030; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); text-decoration: none; }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }

/* Accueil (refonte) */
.hero-photo { background: linear-gradient(135deg, rgba(15, 42, 74, .92) 0%, rgba(22, 64, 110, .78) 100%), var(--hero-img) center / cover no-repeat; }
.hero-card { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--ll-radius); backdrop-filter: blur(6px); }
.hero-checks li { color: rgba(255, 255, 255, .85); margin-bottom: .35rem; margin-right: 1rem; }
.letter-wide { letter-spacing: .08em; }
.partner-strip img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.partner-strip a:hover img { filter: none; opacity: 1; }
.audience-card { border-top: 4px solid var(--ll-accent); transition: transform .2s, box-shadow .2s; }
.audience-card:hover { transform: translateY(-3px); box-shadow: 0 .75rem 1.5rem rgba(15, 42, 74, .08); }
.testimonial-card blockquote p { font-size: 1.02rem; color: #334155; }
#faq .accordion-button:not(.collapsed) { background: var(--ll-soft); color: var(--ll-primary); box-shadow: none; }

/* =====================================================================
   Photos et animations (slider, bandeaux, apparition au défilement)
   ===================================================================== */

/* --- Slider de l'accueil --- */
.hero-slider { position: relative; background: var(--ll-primary); color: #fff; }
.hero-slider .carousel-item { height: clamp(520px, 78vh, 760px); overflow: hidden; }
.hero-slider .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); }
.hero-slider .carousel-item.active .slide-bg { animation: kenburns 9s ease-out forwards; }
.hero-slider .slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 28, 52, .92) 0%, rgba(15, 42, 74, .72) 45%, rgba(15, 42, 74, .25) 100%); }
.hero-slider .slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 4.5rem; }
.hero-slider .lead { color: rgba(255, 255, 255, .85); max-width: 640px; }
.hero-slider .slide-anim { opacity: 0; transform: translateY(24px); }
.hero-slider .carousel-item.active .slide-anim { animation: slideUp .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-slider .carousel-item.active .slide-anim:nth-child(2) { animation-delay: .15s; }
.hero-slider .carousel-item.active .slide-anim:nth-child(3) { animation-delay: .3s; }
.hero-slider .carousel-item.active .slide-anim:nth-child(4) { animation-delay: .45s; }
.hero-slider .carousel-indicators { margin-bottom: 5.5rem; }
.hero-slider .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 2px; background-color: #fff; }
.hero-slider .carousel-indicators .active { background-color: var(--ll-accent); }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 6%; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes slideUp { to { opacity: 1; transform: none; } }

/* --- Bande sous le slider --- */
.hero-band { position: relative; z-index: 3; margin-top: -4rem; padding-bottom: 2.5rem; }
.hero-band-card { background: #fff; border-radius: var(--ll-radius); box-shadow: 0 1.25rem 3rem rgba(15, 42, 74, .14); padding: 1.75rem 2rem; }
.progress-anim { animation: growBar 1.6s cubic-bezier(.2, .7, .2, 1) both .4s; }
@keyframes growBar { from { width: 0; } }

/* --- Bandeaux des pages intérieures --- */
.page-header-photo { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(10, 28, 52, .93) 0%, rgba(15, 42, 74, .78) 55%, rgba(15, 42, 74, .55) 100%), var(--header-img) center / cover no-repeat; padding: 4rem 0 3.25rem; }

/* --- Pages connexion / inscription --- */
.auth-bg { background: linear-gradient(135deg, rgba(10, 28, 52, .88), rgba(22, 64, 110, .7)), var(--auth-img) center / cover no-repeat; min-height: 75vh; }
.auth-bg .card { border: 0; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .25); }
.auth-bg > .container > .row > [class*="col"] > .text-center h1, .auth-bg > .container > .row > [class*="col"] > .text-center p { color: #fff; }
.auth-bg > .container > .row > [class*="col"] > .text-center .text-muted { color: rgba(255, 255, 255, .78) !important; }

/* --- Images de cartes : léger zoom au survol --- */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .img-zoom img, a:hover > .img-zoom img { transform: scale(1.07); }
.audience-card .icon-float { margin-top: -2.6rem; position: relative; background: #fff; box-shadow: 0 .5rem 1rem rgba(15, 42, 74, .12); }

/* --- Navigation compacte au défilement --- */
.navbar-ll { transition: padding .25s ease, box-shadow .25s ease; }
.navbar-ll.navbar-scrolled { padding-top: .25rem !important; padding-bottom: .25rem !important; box-shadow: 0 .5rem 1.5rem rgba(15, 42, 74, .1); }
.navbar-ll .site-logo { transition: height .25s ease; }
.navbar-ll.navbar-scrolled .site-logo { height: 34px !important; }

/* --- Boutons : légère élévation --- */
.btn-accent, .btn-primary { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn-accent:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(212, 160, 23, .25); }

/* --- Apparition au défilement (uniquement si JavaScript est actif) --- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- Bouton retour en haut --- */
.to-top { position: fixed; left: 18px; bottom: 18px; z-index: 1030; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ll-primary); color: #fff; box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ll-accent); color: #1b1300; }

/* --- Mobile --- */
@media (max-width: 767.98px) {
  .hero-slider .carousel-item { height: 680px; }
  .hero-slider .slide-content { justify-content: flex-start; padding-top: 2.25rem; padding-bottom: 7rem; }
  .hero-slider .display-5 { font-size: 1.7rem; }
  .hero-slider .lead { font-size: 1rem; }
  .hero-slider .carousel-indicators { margin-bottom: 5rem; }
  .hero-slider .slide-overlay { background: linear-gradient(180deg, rgba(10, 28, 52, .75) 0%, rgba(15, 42, 74, .9) 100%); }
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; }
  .hero-band-card { padding: 1.25rem; }
  .page-header-photo { padding: 2.5rem 0 2rem; }
}

/* --- Accessibilité : pas d'animation si le visiteur l'a demandé --- */
@media (prefers-reduced-motion: reduce) {
  .hero-slider .carousel-item.active .slide-bg, .progress-anim { animation: none; transform: none; }
  .hero-slider .slide-anim { opacity: 1; transform: none; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .img-zoom img, .btn-accent, .btn-primary { transition: none; }
}

/* Onglets (ex. événements à venir / passés) aux couleurs de la marque */
.nav-pills { --bs-nav-pills-link-active-bg: var(--ll-primary); --bs-nav-link-color: var(--ll-primary); --bs-nav-link-hover-color: #0a1f38; }

/* =====================================================================
   Accueil « waouh » : blocs et effets
   ===================================================================== */
@media (min-width: 992px) { .py-lg-6 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; } }
.section-kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ll-accent); margin-bottom: .5rem; }
.text-gradient { background: linear-gradient(90deg, var(--ll-accent), #f0c75e, var(--ll-accent)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmerText 4s linear infinite; }
@keyframes shimmerText { to { background-position: 200% center; } }

/* Variantes d'apparition */
.js .reveal-left { transform: translateX(-48px); }
.js .reveal-right { transform: translateX(48px); }
.js .reveal-zoom { transform: scale(.9); }
.js .reveal.is-visible { transform: none; }
.js .reveal.is-visible.tilt, .tilt { transition: transform .2s ease, opacity .7s ease, box-shadow .2s ease; will-change: transform; }

/* Slider : formes flottantes, mots qui défilent, invitation à défiler */
.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-shapes span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .35; animation: floatShape 14s ease-in-out infinite; }
.hero-shapes span:nth-child(1) { width: 320px; height: 320px; right: 8%; top: 12%; background: radial-gradient(circle, rgba(212, 160, 23, .55), transparent 70%); }
.hero-shapes span:nth-child(2) { width: 180px; height: 180px; right: 28%; bottom: 14%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 70%); animation-delay: -5s; }
.hero-shapes span:nth-child(3) { width: 90px; height: 90px; right: 14%; bottom: 30%; border: 2px solid rgba(212, 160, 23, .6); opacity: .5; animation-delay: -9s; }
@keyframes floatShape { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-25px, 20px); } 66% { transform: translate(18px, -22px); } }
.rotate-words { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.rotate-words.rotate-out { opacity: 0; transform: translateY(-14px); }
.rotate-words.rotate-in { animation: wordIn .45s ease both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; left: 50%; bottom: 8.4rem; z-index: 3; transform: translateX(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); color: #fff; align-items: center; justify-content: center; text-decoration: none; animation: bounceDown 2s infinite; }
@keyframes bounceDown { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Bouton avec reflet */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: shine 3.5s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -75%; } 100% { left: 130%; } }
.pulse-icon { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* Bandeau défilant */
.marquee-band { background: var(--ll-primary); color: rgba(255, 255, 255, .85); padding: .9rem 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee-track { display: flex; flex-shrink: 0; }
.marquee-item { display: inline-flex; align-items: center; gap: .5rem; padding: 0 1.6rem; font-weight: 500; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, .15); }
.marquee-item i { color: var(--ll-accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Mosaïque des services */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.bento-xl { grid-column: span 2; grid-row: span 2; }
.bento-tall { grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-tile { position: relative; display: flex; align-items: flex-end; border-radius: 1.1rem; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: 0 .75rem 2rem rgba(15, 42, 74, .12); }
.bento-tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--tile-img) center / cover no-repeat; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.bento-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 28, 52, .05) 20%, rgba(10, 28, 52, .9) 100%); transition: background .4s ease; }
.bento-tile:hover { color: #fff; box-shadow: 0 1.25rem 2.5rem rgba(15, 42, 74, .25); }
.bento-tile:hover::before { transform: scale(1.08); }
.bento-tile:hover::after { background: linear-gradient(180deg, rgba(10, 28, 52, .25) 0%, rgba(10, 28, 52, .95) 100%); }
.bento-body { display: flex; flex-direction: column; padding: 1.4rem; }
.bento-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ll-accent); color: #1b1300; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: .75rem; }
.bento-title { font-size: 1.25rem; font-weight: 700; }
.bento-xl .bento-title { font-size: 1.75rem; }
.bento-text { font-size: .9rem; opacity: .85; max-height: 0; overflow: hidden; transition: max-height .45s ease, opacity .45s ease; }
.bento-xl .bento-text, .bento-tile:hover .bento-text, .bento-tile:focus-visible .bento-text { max-height: 6rem; margin-top: .25rem; }
.bento-more { font-size: .85rem; font-weight: 600; color: var(--ll-accent); margin-top: .5rem; }
.bento-more i { transition: transform .25s ease; display: inline-block; }
.bento-tile:hover .bento-more i { transform: translateX(5px); }
.bento-badge { position: absolute; top: 1rem; right: 1rem; background: rgba(255, 255, 255, .92); color: var(--ll-primary); font-size: .75rem; font-weight: 700; padding: .3rem .7rem; border-radius: 2rem; }

/* Bandes en parallaxe */
.parallax-band { position: relative; overflow: hidden; background: var(--ll-primary); isolation: isolate; }
.parallax-bg { position: absolute; inset: -12% 0; z-index: -2; background: var(--parallax-img) center / cover no-repeat; transform: scale(1.15); will-change: transform; }
.parallax-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(10, 28, 52, .92) 0%, rgba(15, 42, 74, .8) 50%, rgba(15, 42, 74, .6) 100%); }
.final-cta::before { background: linear-gradient(120deg, rgba(10, 28, 52, .9) 0%, rgba(80, 55, 5, .75) 100%); }
.glass-stat { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 1rem; padding: 1.5rem; backdrop-filter: blur(8px); transition: transform .3s ease, background .3s ease; }
.glass-stat:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .14); }
.region-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border-radius: 2rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; font-size: .9rem; backdrop-filter: blur(4px); transition: background .2s ease, transform .2s ease, opacity .6s ease; }
.region-chip:hover { background: var(--ll-accent); color: #1b1300; transform: translateY(-3px); }
.region-chip i { color: var(--ll-accent); }
.region-chip:hover i { color: #1b1300; }
.region-chip-intl { border-color: rgba(212, 160, 23, .6); }

/* Frise « comment ça marche » */
.timeline { position: relative; }
.timeline-line { position: absolute; top: 34px; left: 12%; right: 12%; height: 3px; background: rgba(var(--ll-primary-rgb), .1); border-radius: 3px; overflow: hidden; }
.timeline-line span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ll-primary), var(--ll-accent)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.2, .7, .2, 1) .2s; }
.timeline.is-visible .timeline-line span { transform: scaleX(1); }
.js .timeline-step { opacity: 0; transform: translateY(20px); transition: opacity .6s ease var(--step-delay), transform .6s ease var(--step-delay); }
.timeline-step { text-align: center; padding: 0 .5rem; }
.js .timeline.is-visible .timeline-step { opacity: 1; transform: none; }
.timeline-dot { position: relative; width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; background: #fff; border: 3px solid var(--ll-accent); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--ll-primary); box-shadow: 0 .75rem 1.5rem rgba(15, 42, 74, .12); transition: transform .3s ease, background .3s ease; }
.timeline-step:hover .timeline-dot { transform: scale(1.1) rotate(-6deg); background: var(--ll-primary); color: var(--ll-accent); }
.timeline-num { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--ll-primary); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Collage photo */
.photo-collage { position: relative; height: 470px; }
.photo-collage img { position: absolute; object-fit: cover; border-radius: 1.1rem; box-shadow: 0 1.25rem 2.5rem rgba(15, 42, 74, .2); border: 5px solid #fff; }
.photo-collage .pc-1 { width: 68%; height: 58%; top: 0; left: 0; animation: floatY 7s ease-in-out infinite; }
.photo-collage .pc-2 { width: 58%; height: 50%; right: 0; top: 24%; animation: floatY 8s ease-in-out infinite -2s; z-index: 2; }
.photo-collage .pc-3 { width: 52%; height: 40%; left: 8%; bottom: 0; animation: floatY 9s ease-in-out infinite -4s; }
.pc-badge { position: absolute; z-index: 3; right: 6%; bottom: 8%; background: #fff; padding: .6rem 1rem; border-radius: 2rem; font-weight: 600; font-size: .9rem; box-shadow: 0 .75rem 1.5rem rgba(15, 42, 74, .18); animation: floatY 6s ease-in-out infinite -1s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.benefit .icon-tile { transition: transform .3s ease, background .3s ease, color .3s ease; }
.benefit:hover .icon-tile { transform: rotate(-8deg) scale(1.08); background: var(--ll-accent); color: #1b1300; }

/* Recrutement : photo + cartes flottantes */
.photo-frame { position: relative; }
.floating-card { position: absolute; background: #fff; padding: .7rem 1rem; border-radius: .9rem; font-weight: 600; font-size: .9rem; box-shadow: 0 1rem 2rem rgba(15, 42, 74, .18); animation: floatY 6s ease-in-out infinite; }
.floating-card.fc-1 { left: -18px; top: 18%; }
.floating-card.fc-2 { right: -14px; bottom: 14%; animation-delay: -3s; }

/* Secteurs et packs */
.sector-card i { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); display: inline-block; }
.sector-card:hover i { transform: scale(1.3) rotate(-8deg); color: var(--ll-accent) !important; }
.pack-glow { border: 2px solid var(--ll-accent); animation: glow 3s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 .75rem 2rem rgba(212, 160, 23, .18); } 50% { box-shadow: 0 1rem 2.75rem rgba(212, 160, 23, .45); } }

/* Responsive */
@media (max-width: 991.98px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .bento-xl { grid-column: span 2; grid-row: span 1; }
  .bento-tall { grid-row: span 1; }
  .timeline-line { display: none; }
  .photo-collage { height: 380px; }
}
@media (max-width: 575.98px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(230px, auto); }
  .js .reveal-left { transform: translateX(-24px); }
  .js .reveal-right { transform: translateX(24px); }
  .bento-xl, .bento-wide { grid-column: span 1; }
  .bento-text { max-height: 6rem; }
  .photo-collage { height: 320px; }
  .floating-card.fc-1 { left: 6px; }
  .floating-card.fc-2 { right: 6px; }
  .hero-shapes span:nth-child(1) { width: 200px; height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee, .text-gradient, .hero-shapes span, .btn-shine::after, .pulse-icon, .photo-collage img, .pc-badge, .floating-card, .scroll-hint, .pack-glow { animation: none !important; }
  .js .timeline-step { opacity: 1; transform: none; transition: none; }
  .timeline-line span { transform: none; transition: none; }
  .js .reveal-left, .js .reveal-right, .js .reveal-zoom { transform: none; }
}

/* Les blocs qui arrivent par le côté ne doivent jamais créer de défilement horizontal */
main { overflow-x: hidden; }
@supports (overflow-x: clip) { main { overflow-x: clip; } }

/* Logos partenaires : cadre horizontal adapté aux logos larges */
.partner-logo { width: 132px; height: 64px; object-fit: contain; padding: .35rem; border: 1px solid rgba(15, 42, 74, .08); border-radius: .6rem; background: #fff; flex-shrink: 0; }

/* Accueil : nom de la marque dans le titre principal (H1) */
.slide-brand { display: block; font-size: clamp(.95rem, 1.6vw, 1.2rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ll-accent); margin-bottom: .6rem; }

/* =====================================================================
   Offre spéciale recrutement + module CV
   ===================================================================== */
.announce-bar { background: linear-gradient(90deg, #b8860b, #d4a017 40%, #e9bf3c); color: #1b1300; font-size: .9rem; padding: .45rem 0; position: relative; }
.announce-bar .container { flex-wrap: wrap; text-align: center; padding-right: 2.5rem; }
.announce-link { color: #1b1300; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.announce-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font-size: 1.4rem; line-height: 1; color: #1b1300; opacity: .7; }
.announce-close:hover { opacity: 1; }
.landing-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(212, 160, 23, .25), transparent 45%), linear-gradient(135deg, #0a1c34 0%, #16406e 100%); }
.landing-hero .lead { color: rgba(255, 255, 255, .85); }
.offer-pill { background: rgba(212, 160, 23, .18); color: #f3cf5d; border: 1px solid rgba(212, 160, 23, .5); font-weight: 600; padding: .5rem .9rem; }
.countdown { display: flex; gap: .6rem; }
.countdown > div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: .8rem; padding: .55rem .8rem; min-width: 74px; text-align: center; backdrop-filter: blur(6px); }
.countdown span { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.landing-photo .floating-card.fc-3 { left: 12%; bottom: -14px; animation-delay: -1.5s; }
.offer-card { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border-radius: var(--ll-radius); color: #fff; background: linear-gradient(120deg, #0f2a4a, #16406e); }
.offer-card i { color: var(--ll-accent); }
.onboarding-card { border: 0; background: linear-gradient(135deg, #fff 0%, #fdf7e6 100%); box-shadow: 0 .75rem 2rem rgba(15, 42, 74, .08); }
.onboarding-step { position: relative; background: #fff; border: 1px solid rgba(15, 42, 74, .08); border-radius: .9rem; padding: 1rem 1rem 1rem 3.6rem; }
.onboarding-step .step-icon { position: absolute; left: 1rem; top: 1rem; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(15, 42, 74, .07); color: var(--ll-primary); }
.onboarding-step.is-done { border-color: rgba(22, 163, 74, .35); background: #f3fbf6; }
.onboarding-step.is-done .step-icon { background: #16a34a; color: #fff; }
@media (max-width: 575.98px) { .countdown > div { min-width: 0; flex: 1; padding: .45rem .3rem; } .countdown span { font-size: 1.3rem; } .announce-bar { font-size: .8rem; } }

/* ---------- Module « Mon CV » (éditeur) ---------- */
.cv-score-card { border: 0; background: linear-gradient(120deg, #fff 0%, #f4f6fa 100%); box-shadow: 0 .75rem 2rem rgba(15, 42, 74, .08); }
.cv-ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(var(--ll-accent) calc(var(--p) * 1%), rgba(15, 42, 74, .1) 0); }
.cv-ring span { font-size: 1.7rem; font-weight: 800; color: var(--ll-primary); } .cv-ring small { font-size: .9rem; }
.cv-tips { padding-left: 1.1rem; } .cv-tips li { margin-bottom: .15rem; }
.cv-item { border: 1px solid rgba(15, 42, 74, .08); border-radius: .75rem; padding: .85rem 1rem; margin-bottom: .6rem; background: #fff; }
.cv-item-new { background: #fbfcfe; border-style: dashed; }
.cv-preview-col { position: sticky; top: 90px; }
.cv-preview-frame { position: relative; overflow: hidden; border-radius: .6rem; box-shadow: 0 1rem 2.5rem rgba(15, 42, 74, .16); background: #fff; }
.cv-preview-frame iframe { position: absolute; top: 0; left: 0; width: 794px; height: 1123px; border: 0; transform-origin: 0 0; pointer-events: none; }

.cv-apply-box { background: #fdf7e6; border: 1px solid rgba(212, 160, 23, .35); border-radius: .75rem; padding: .75rem .9rem; }
/* Cases à cocher en forme de boutons (contrats recherchés…) aux couleurs de la marque */
.btn-outline-primary { --bs-btn-active-bg: var(--ll-primary); --bs-btn-active-border-color: var(--ll-primary); --bs-btn-active-color: #fff; }

/* ---------- Page « Créer son CV gratuit » ---------- */
.cv-stack { position: relative; height: 470px; }
.cv-stack img { position: absolute; width: 56%; border-radius: .6rem; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .35); background: #fff; }
.cv-stack .cv-stack-1 { left: 2%; top: 40px; transform: rotate(-7deg); opacity: .9; animation: floatY 8s ease-in-out infinite -2s; }
.cv-stack .cv-stack-2 { right: 2%; top: 30px; transform: rotate(6deg); opacity: .9; animation: floatY 9s ease-in-out infinite -4s; }
.cv-stack .cv-stack-3 { left: 22%; top: 0; z-index: 2; animation: floatY 7s ease-in-out infinite; }
.cv-stack .floating-card { z-index: 3; }
.cv-stack .floating-card.fc-1 { left: -6px; top: 58%; }
.cv-stack .floating-card.fc-2 { right: -6px; top: 18%; bottom: auto; }
.cv-model-card { overflow: hidden; }
.cv-model-img { background: linear-gradient(180deg, #eef2f7, #dfe6ef); padding: 1.5rem 1.5rem 0; height: 330px; overflow: hidden; }
.cv-model-img img { width: 100%; border-radius: .4rem .4rem 0 0; box-shadow: 0 .75rem 1.5rem rgba(15, 42, 74, .18); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.cv-model-card:hover .cv-model-img img { transform: translateY(-12px) scale(1.02); }
@media (max-width: 575.98px) { .cv-stack { height: 360px; } .cv-stack img { width: 62%; } }
@media (prefers-reduced-motion: reduce) { .cv-stack img { animation: none !important; } }

/* Étiquettes flottantes : texte foncé même dans un en-tête blanc sur bleu */
.floating-card { color: #1f2937; }

/* ---------- Accueil : bloc offre spéciale ---------- */
.nav-free-badge { background: var(--ll-accent, #d4a017); color: #1f2937; font-size: .62rem; vertical-align: 2px; animation: pulseBadge 2.4s ease-in-out infinite; }
@keyframes pulseBadge { 50% { box-shadow: 0 0 0 5px rgba(212, 160, 23, .25); } }
.offer-pill-dark { background: rgba(212, 160, 23, .14); color: #8a6408; border: 1px solid rgba(212, 160, 23, .45); }
.home-offer-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 2.5rem; border-radius: 1.5rem; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, rgba(10, 31, 61, .96) 0%, rgba(15, 42, 74, .88) 55%, rgba(15, 42, 74, .55) 100%), var(--offer-img) center / cover;
  box-shadow: 0 1.5rem 3rem rgba(15, 42, 74, .25); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.home-offer-card:hover { transform: translateY(-6px); box-shadow: 0 2rem 4rem rgba(15, 42, 74, .32); color: #fff; }
.home-offer-card h3 { font-size: 1.6rem; max-width: 480px; }
.home-offer-card li { margin-bottom: .35rem; }
.home-offer-card .btn { margin-top: auto; }
.home-offer-tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 2rem; background: rgba(255, 255, 255, .14); margin-bottom: 1rem; }
.home-offer-card-light { color: #1f2937; background: linear-gradient(135deg, #fff8e6, #fdf1d0 60%, #f6e3ad); box-shadow: 0 1.5rem 3rem rgba(212, 160, 23, .2); }
.home-offer-card-light:hover { color: #1f2937; }
.home-offer-card-light .home-offer-tag { background: rgba(15, 42, 74, .08); color: var(--bs-primary); }
.home-offer-cvs { display: flex; gap: .75rem; margin-bottom: 1.5rem; }
.home-offer-cvs img { width: 30%; max-width: 130px; border-radius: .4rem; box-shadow: 0 .75rem 1.5rem rgba(15, 42, 74, .2); transition: transform .5s cubic-bezier(.2, .7, .2, 1); background: #fff; }
.home-offer-cvs img:nth-child(1) { transform: rotate(-5deg) translateY(6px); }
.home-offer-cvs img:nth-child(3) { transform: rotate(5deg) translateY(6px); }
.home-offer-card-light:hover .home-offer-cvs img { transform: translateY(-8px); }
.countdown-sm > div { min-width: 64px; padding: .5rem .4rem; }
.countdown-sm span { font-size: 1.35rem; }
@media (max-width: 575.98px) { .home-offer-card { padding: 1.75rem 1.4rem; } .home-offer-card h3 { font-size: 1.3rem; } .countdown-sm > div { min-width: 0; flex: 1; } }

/* ---------- UKPSA : bloc accueil, page Formations, badges de confiance ---------- */
.ukpsa-band { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 20%, rgba(200, 16, 46, .28), transparent 45%), radial-gradient(circle at 10% 90%, rgba(212, 160, 23, .22), transparent 40%), linear-gradient(135deg, #0a1f3d, #0f2a4a 60%, #132f57); }
.ukpsa-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); pointer-events: none; }
.ukpsa-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.ukpsa-levels a { display: block; text-decoration: none; text-align: center; padding: .8rem .4rem; border-radius: .9rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; transition: transform .3s, background .3s; }
.ukpsa-levels a:hover { transform: translateY(-4px); background: rgba(212, 160, 23, .18); color: #fff; }
.ukpsa-levels strong { display: block; font-size: 1.25rem; color: var(--ll-accent, #d4a017); }
.ukpsa-levels span { font-size: .72rem; opacity: .8; }
.ukpsa-showcase { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 1.5rem; padding: 2rem; backdrop-filter: blur(8px); box-shadow: 0 2rem 4rem rgba(0, 0, 0, .3); animation: floatY 9s ease-in-out infinite; }
.ukpsa-showcase-main { width: 100%; max-width: 520px; display: block; margin: 0 auto 1.5rem; }
.ukpsa-trust-grid { display: grid; grid-template-columns: 1.3fr 1.3fr .6fr; gap: .75rem; align-items: center; }
.ukpsa-trust-grid > * { background: #fff; border-radius: .8rem; padding: .6rem; display: flex; align-items: center; justify-content: center; height: 86px; transition: transform .3s; }
.ukpsa-trust-grid > a:hover { transform: translateY(-4px); }
.ukpsa-trust-grid img { max-width: 100%; max-height: 66px; object-fit: contain; }
.trust-round { border-radius: 50%; }
.ukpsa-hero-card { position: relative; text-align: center; padding: 2.5rem 2rem; border-radius: 1.5rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); box-shadow: 0 2rem 4rem rgba(0, 0, 0, .3); }
.ukpsa-hero-logo { width: 78%; max-width: 380px; height: auto; }
.ukpsa-hero-sep { width: 60px; height: 3px; background: var(--ll-accent, #d4a017); margin: 1.5rem auto; border-radius: 3px; }
.ukpsa-hero-iacc { width: 46%; max-width: 220px; opacity: .95; }
.ukpsa-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; margin-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.ukpsa-hero-card .floating-card.fc-1 { left: -14px; top: 18%; }
.ukpsa-hero-card .floating-card.fc-2 { right: -14px; bottom: 16%; top: auto; }
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-badge { display: flex; align-items: center; gap: .75rem; padding: .75rem; border: 1px solid var(--bs-border-color); border-radius: .9rem; text-decoration: none; color: var(--bs-body-color); font-size: .78rem; line-height: 1.3; transition: box-shadow .3s, transform .3s; }
a.trust-badge:hover { transform: translateY(-3px); box-shadow: 0 .75rem 1.5rem rgba(15, 42, 74, .1); color: var(--bs-body-color); }
.trust-badge img { height: 46px; width: auto; max-width: 46%; object-fit: contain; flex-shrink: 0; }
.trust-ch { width: 46px; height: 46px; border-radius: .7rem; background: #0f2a4a; color: #fff; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.level-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid rgba(212, 160, 23, .35); }
.prog-card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; border-top: 3px solid transparent; }
.prog-card:hover { transform: translateY(-6px); box-shadow: 0 1.25rem 2.5rem rgba(15, 42, 74, .14); border-top-color: var(--ll-accent, #d4a017); }
.prog-level { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #b8860b; }
.legal-dl dt { font-weight: 600; }
.legal-page { max-width: 860px; }
.legal-page h2 { font-size: 1.2rem; font-weight: 700; margin-top: 2rem; margin-bottom: .75rem; color: var(--bs-primary); }
.legal-page li { margin-bottom: .35rem; }
.footer-legal a { color: inherit; }
.cv-verified { background: #e7f6ec; color: #157347; font-weight: 600; font-size: .7rem; }
.ukpsa-suggest { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: .9rem; text-decoration: none; color: var(--bs-body-color); font-size: .85rem; background: linear-gradient(135deg, #f3f6fb, #fff8e6); border: 1px dashed rgba(15, 42, 74, .25); transition: transform .3s; }
.ukpsa-suggest:hover { transform: translateY(-2px); color: var(--bs-body-color); }
.ukpsa-suggest img { flex-shrink: 0; object-fit: contain; }
@media (max-width: 991.98px) { .trust-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .ukpsa-levels { grid-template-columns: repeat(2, 1fr); } .trust-badges { grid-template-columns: 1fr; } .ukpsa-showcase { padding: 1.25rem; } .ukpsa-trust-grid > * { height: 70px; } .ukpsa-hero-card .floating-card { display: none; } }
@media (prefers-reduced-motion: reduce) { .ukpsa-showcase { animation: none; } }
/* Menu : plus compact sur les écrans 1200-1399 px pour tout afficher sur une ligne */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-ll .navbar-nav .nav-link { padding-left: .42rem; padding-right: .42rem; font-size: .9rem; }
  .navbar-ll .nav-free-badge { font-size: .55rem; padding: .2em .4em; }
  .navbar-ll .navbar-brand img { max-height: 36px; width: auto; }
  .navbar-ll .btn-sm { padding: .25rem .5rem; font-size: .8rem; }
}
