/* Occasions : onglet du menu, pastille au téléphone et page de l'occasion. */
@keyframes fbn-occ-lueur{0%,100%{box-shadow:0 0 0 0 rgba(216,67,59,.55)}50%{box-shadow:0 0 0 7px rgba(216,67,59,0)}}
.fbn-occ-etoile{width:18px;height:18px;flex:none;fill:none;stroke:#f0d28f;stroke-width:2;stroke-linejoin:round}

/* Onglet du menu principal */
.fbn-menu>li.fbn-menu-occasion>a{display:inline-flex;align-items:center;gap:8px;padding:10px 18px 10px 14px;border-radius:999px;background:linear-gradient(135deg,#c8372f,#e0544a);border:1.5px solid #f0d28f;color:#fff;font-weight:600;letter-spacing:1.6px;animation:fbn-occ-lueur 2.4s ease-in-out infinite}
.fbn-menu>li.fbn-menu-occasion>a:hover,.fbn-menu>li.fbn-menu-occasion>a:focus-visible{background:linear-gradient(135deg,#a9261f,#c8372f);color:#fff}
.fbn-menu>li.fbn-menu-occasion>a::after{display:none}

/* Le logo ne doit jamais céder sa place à la pastille ; entre 1001 et 1300 px, pastille plus compacte. */
.fbn-entete-in>.fbn-logo{flex-shrink:0}
@media (min-width:1001px) and (max-width:1300px){
  .fbn-menu>li.fbn-menu-occasion>a{padding:8px 12px 8px 10px;gap:6px;letter-spacing:1px}
  .fbn-menu>li.fbn-menu-occasion .fbn-occ-etoile{width:14px;height:14px}
}

/* Avec la pastille, le menu se resserre un peu pour laisser toute sa place au logo et au choix FR/EN. */
@media (min-width:1001px) and (max-width:1400px){.fbn-a-occasion .fbn-entete-in{gap:16px}.fbn-a-occasion #fbn-menu .fbn-menu{gap:16px}.fbn-a-occasion #fbn-menu .fbn-menu>li>a{letter-spacing:1.5px}}
@media (min-width:1001px) and (max-width:1150px){.fbn-a-occasion #fbn-menu .fbn-menu{gap:12px}.fbn-a-occasion #fbn-menu .fbn-menu>li>a{font-size:14px;letter-spacing:1px}}

/* Pastille sous le logo, au téléphone seulement */
.fbn-occ-mobile{display:none}
/* Le thème passe au menu hamburger sous 1000 px : la pastille prend alors sa propre ligne sous le logo. */
@media (max-width:1000px){
  .fbn-menu>li.fbn-menu-occasion{order:-1}
  .fbn-menu>li.fbn-menu-occasion>a{animation:none}
  .fbn-entete-in{flex-wrap:wrap}
  .fbn-occ-mobile{order:99;flex:1 1 100%;margin:0 0 10px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:999px;background:linear-gradient(135deg,#c8372f,#e0544a);border:1.5px solid #f0d28f;color:#fff;text-decoration:none;font:600 15px Oswald,sans-serif;letter-spacing:1.6px;text-transform:uppercase;animation:fbn-occ-lueur 2.4s ease-in-out infinite}
  .fbn-occ-mobile:hover,.fbn-occ-mobile:focus-visible{color:#fff}
  .fbn-a-occasion .fbnh{padding-top:var(--fbn-occ-h,0px)}
}
@media (prefers-reduced-motion:reduce){.fbn-menu>li.fbn-menu-occasion>a,.fbn-occ-mobile{animation:none}}

/* Page de l'occasion */
.fbn-occ-hero{padding:64px 0 32px}
.fbn-occ-hero-in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center}
.fbn-occ-sur{margin:0 0 14px;font:500 14px Oswald,sans-serif;letter-spacing:3px;text-transform:uppercase;color:#f0d28f}
.fbn-occ-texte h1{margin:0;font-family:"Playfair Display",Georgia,serif;font-weight:900;font-size:clamp(40px,5vw,64px);line-height:1.04;color:#fff}
.fbn-occ-texte h1 em{color:#e0b862}
.fbn-occ-intro{margin-top:20px;font-size:18px;line-height:1.6;max-width:540px}
.fbn-occ-actions{margin:28px 0 0}
.fbn-occ-affiches{position:relative;min-height:440px}
.fbn-occ-affiche{position:absolute;width:56%;height:auto;max-height:420px;object-fit:contain;border-radius:6px;border:3px solid #f0d28f;box-shadow:0 22px 50px rgba(0,0,0,.55);background:#fff}
.fbn-occ-affiches .fbn-occ-affiche:first-child{left:0;top:30px;transform:rotate(-4deg)}
.fbn-occ-affiches .fbn-occ-affiche:nth-child(2){right:0;top:0;transform:rotate(3deg)}
.fbn-occ-n1 .fbn-occ-affiche:first-child{left:20%;top:0;transform:none}
.fbn-occ-produits{padding:16px 0 72px}
.fbn-occ-tete{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-bottom:26px}
.fbn-occ-tete h2{white-space:nowrap}
.fbn-occ-tete h2{margin:0;font-family:"Playfair Display",Georgia,serif;font-weight:900;font-size:40px;color:#fff}
.fbn-occ-tete a{font:500 14px Oswald,sans-serif;letter-spacing:2px;text-transform:uppercase;text-decoration:none;color:#f0d28f}
.fbn-occ-tete a:hover{color:#fff}
@media (max-width:1000px){
  .fbn-occ-hero{padding:28px 0 12px}
  .fbn-occ-hero-in{grid-template-columns:1fr;gap:28px}
  .fbn-occ-affiches{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .fbn-occ-affiche,.fbn-occ-affiches .fbn-occ-affiche:first-child,.fbn-occ-affiches .fbn-occ-affiche:nth-child(2){position:static;width:100%;max-height:none;transform:none}
  .fbn-occ-n1{grid-template-columns:1fr}
  .fbn-occ-tete h2{font-size:28px}
}
