/* Accueil : Actualités « Flash info », À l'affiche « distributeur », Contact « Aramis et avion en papier ».
   Ces trois sections gardent leurs couleurs en mode sombre comme en mode clair. */

/* ---------- Actualités : Flash info ---------- */
#actualites.fl { background: #1d2660; color: #f6f1dc; }
#actualites.fl a { color: #f6f1dc; }
.fl .sec-head { border-bottom-color: #e7b923; }
.fl .sec-head h2 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: #f6f1dc; }
.fl-tag { font-family: var(--body); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.12em; background: #e7b923; color: #1d2660; padding: 6px 12px; line-height: 1; }
.fl-jt { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.fl-une { position: relative; display: block; overflow: hidden; text-decoration: none; background: #1d2660; }
.fl-une img { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: 50% 72%; transition: transform .6s ease; }
.fl-une:hover img, .fl-une:focus-visible img { transform: scale(1.03); }
.fl-une .k { position: absolute; top: 16px; left: 16px; background: #1d2660; color: #f6f1dc; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.12em; padding: 5px 10px; }
.fl-bandeau { position: relative; margin-top: -30px; display: flex; flex-direction: column; }
.fl-bandeau .cat { align-self: flex-start; background: #e7b923; color: #1d2660; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; }
.fl-bandeau .txt { background: #f6f1dc; color: #1d2660; padding: 12px 16px; margin-right: 8%; display: grid; gap: 4px; }
.fl-bandeau b { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.05; }
.fl-bandeau span { font-size: 0.95rem; line-height: 1.45; }
.fl-titres { border-top: 3px solid #e7b923; display: grid; align-content: start; }
.fl-titres .k { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 12px 0 4px; }
.fl-titres a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(246, 241, 220, 0.28); text-decoration: none; }
.fl-titres a:hover strong, .fl-titres a:focus-visible strong { text-decoration: underline; text-decoration-color: #e7b923; text-decoration-thickness: 3px; }
.fl-titres .ic { font-family: var(--display); font-size: 2.1rem; line-height: 1; color: #e7b923; display: flex; justify-content: center; }
.fl-titres .ic svg { width: 40px; height: 40px; }
.fl-titres small { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.fl-titres strong { display: block; font-size: 1.05rem; line-height: 1.3; margin: 2px 0; }
.fl-titres p { margin: 0; font-size: 0.88rem; line-height: 1.45; opacity: 0.9; text-align: left; }
.fl-insta { margin-top: 48px; }
.fl-insta-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; border-top: 3px solid #e7b923; padding-top: 14px; margin-bottom: 20px; }
.fl-insta-head h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: clamp(1.6rem, 3vw, 2.3rem); color: #f6f1dc; }
.fl-insta-head .fl-tag { font-size: 0.78rem; }
.fl-suivre { display: inline-flex; align-items: center; gap: 10px; background: #f6f1dc; color: #1d2660 !important; text-decoration: none; font-weight: 800; padding: 11px 18px; }
.fl-suivre:hover { background: #e7b923; }
.fl-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fl-posts[hidden] { display: none; }
.fl-post { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #4b527e; text-decoration: none; }
.fl-post img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.fl-post:hover img, .fl-post:focus-visible img { transform: scale(1.04); }
.fl-post .reel { position: absolute; top: 10px; left: 10px; background: #1d2660; color: #f6f1dc; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.1em; padding: 4px 8px; }
.fl-post .leg { position: absolute; left: 0; right: 0; bottom: 0; background: #f6f1dc; color: #1d2660; padding: 10px 12px; display: grid; gap: 2px; }
.fl-post .leg small { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.fl-post .leg span { font-size: 0.85rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 860px) { .fl-jt { grid-template-columns: 1fr; } .fl-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fl-une img { aspect-ratio: 4 / 3; } .fl-bandeau .txt { margin-right: 0; } }

/* ---------- À l'affiche : le distributeur ---------- */
#a-laffiche.dist { background: #f6f1dc; color: #1d2660; }
#a-laffiche.dist .sec-head { border-bottom-color: #1d2660; }
#a-laffiche.dist .sec-head h2 { color: #1d2660; }
.dist-sous { margin: -18px 0 26px; font-size: 1.05rem; }
.dist-machine { display: grid; grid-template-columns: minmax(0, 1fr) 290px; max-width: 1000px; margin: 0 auto; background: #1d2660; border-radius: 18px 18px 6px 6px; padding: 18px; box-shadow: 0 22px 0 -10px #12183f, 0 30px 40px rgba(29, 38, 96, 0.3); }
.dist-vitre { position: relative; background: #12183f; border: 4px solid #4b527e; border-radius: 8px; padding: 18px; }
.dist-vitre::before { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(100deg, rgba(255, 255, 255, 0.09), transparent); pointer-events: none; border-radius: 6px; }
.dist-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dist-case { display: flex; flex-direction: column; gap: 8px; color: #f6f1dc; text-decoration: none; }
.dist-case img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; display: block; transition: transform .2s ease; }
.dist-case:hover img, .dist-case:focus-visible img { transform: translateY(-6px) rotate(-1.5deg); }
.dist-prix { display: flex; justify-content: space-between; gap: 6px; background: #f6f1dc; color: #1d2660; padding: 5px 8px; font-weight: 800; font-size: 0.74rem; }
.dist-case b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.1; }
.dist-case .acc { font-size: 0.88rem; line-height: 1.4; }
.dist-case .voir { font-size: 0.82rem; font-weight: 700; color: #e7b923; }
.dist-rayon { margin-top: 16px; border-top: 2px dashed #4b527e; padding-top: 10px; color: #f6f1dc; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dist-rayon a { color: #e7b923; }
.dist-cote { padding: 4px 0 4px 18px; display: flex; flex-direction: column; gap: 12px; color: #f6f1dc; }
.dist-ecran { background: #12183f; border: 3px solid #4b527e; padding: 10px 12px; font-family: var(--mono); font-size: 0.85rem; color: #e7b923; min-height: 44px; }
@keyframes dist-clign { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.dist-ecran .led { animation: dist-clign 1.2s steps(2) infinite; }
.dist-cote .k { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.dist-manette { background: #e7b923; color: #1d2660; border: 0; border-radius: 999px; padding: 16px 18px; font: 800 1.05rem var(--body); cursor: pointer; box-shadow: 0 6px 0 #b88e1c; letter-spacing: 0.03em; }
.dist-manette:hover { background: #f0c53a; }
.dist-manette:active { transform: translateY(4px); box-shadow: 0 2px 0 #b88e1c; }
.dist-note { font-size: 0.82rem; line-height: 1.4; opacity: 0.85; margin: 0; }
.dist-bac { margin-top: auto; background: #12183f; border-radius: 6px; padding: 12px; min-height: 180px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.dist-bac .k { font-size: 0.68rem; color: #7a81ad; }
.dist-vide { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 0.85rem; color: #7a81ad; border: 2px dashed #4b527e; padding: 10px; }
.dist-sortie { display: flex; flex-direction: column; gap: 5px; background: #f6f1dc; color: #1d2660 !important; padding: 12px; text-decoration: none; }
.dist-sortie small { font-weight: 800; font-size: 0.66rem; letter-spacing: 0.1em; }
.dist-sortie b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.1; }
.dist-sortie span { font-size: 0.82rem; line-height: 1.35; }
.dist-sortie i { font-style: normal; font-weight: 700; font-size: 0.8rem; }
@keyframes dist-chute { 0% { transform: translateY(-140px) rotate(-8deg); opacity: 0; } 60% { transform: translateY(8px) rotate(3deg); opacity: 1; } 80% { transform: translateY(-4px) rotate(-1deg); } 100% { transform: none; } }
.dist-sortie.tombe { animation: dist-chute .7s cubic-bezier(.3, 1.4, .5, 1) both; }
.dist-pieds { max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; padding: 0 30px; }
.dist-pieds span { width: 60px; height: 18px; background: #12183f; }
@media (prefers-reduced-motion: reduce) { .dist-ecran .led, .dist-sortie.tombe { animation: none; } }
@media (max-width: 820px) {
  .dist-sous { margin: -14px 0 18px; font-size: 0.95rem; }
  .dist-machine { grid-template-columns: 1fr; padding: 12px; border-radius: 14px 14px 6px 6px; }
  .dist-vitre { padding: 12px 0 12px 12px; }
  .dist-cases { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 12px; scrollbar-width: none; }
  .dist-cases::-webkit-scrollbar { display: none; }
  .dist-case { flex: 0 0 64%; scroll-snap-align: start; }
  .dist-case b { font-size: 1.1rem; }
  .dist-rayon { margin-right: 12px; }
  .dist-rayon::before { content: "← Glissez pour voir les 3 affiches →"; display: block; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 0.8rem; color: #e7b923; margin-bottom: 6px; }
  .dist-cote { padding: 12px 0 0; gap: 10px; display: grid; grid-template-columns: 1fr; }
  .dist-cote .k, .dist-note { display: none; }
  .dist-ecran { font-size: 0.78rem; min-height: 0; }
  .dist-bac { min-height: 0; }
  .dist-vide { padding: 8px; font-size: 0.8rem; }
  .dist-pieds { display: none; }
}

/* ---------- Contact : Aramis et l'avion en papier ---------- */
#contact.ct { position: relative; overflow: hidden; background: #1d2660; color: #f6f1dc; min-height: 560px; padding-block: 72px; }
.ct-photo { position: absolute; top: 0; bottom: 0; right: 0; height: 100%; aspect-ratio: 1200 / 878; pointer-events: none; }
.ct-photo img { width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.ct-voile { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #1d2660 0%, #1d2660 36%, rgba(29, 38, 96, 0.82) 48%, rgba(29, 38, 96, 0.25) 66%, rgba(29, 38, 96, 0) 80%); }
.ct .wrap { position: relative; }
.ct-texte { max-width: 560px; }
.ct h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: #f6f1dc; }
.ct .label { display: block; margin-top: 10px; color: #f6f1dc; opacity: .85; }
.ct-texte p { margin: 22px 0 0; font-size: 1.05rem; line-height: 1.65; text-align: justify; hyphens: auto; }
.ct .contact-box { margin-top: 18px; }
.ct .mail { color: #f6f1dc; font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
.ct button.copy { background: transparent; color: #f6f1dc; border: 1px solid #f6f1dc; }
.ct button.copy:hover { background: #e7b923; border-color: #e7b923; color: #1d2660; }
.ct .copy-status { color: #f6f1dc; opacity: .8; }
.ct-insta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: #f6f1dc; text-decoration: none; font-weight: 600; }
.ct-insta:hover { color: #e7b923; }
@keyframes ct-pose {
  0% { transform: translate(-950px, -320px) rotate(10deg); opacity: 0; }
  6% { opacity: 1; }
  28% { transform: translate(-520px, -380px) rotate(-4deg); }
  46% { transform: translate(-90px, -90px) rotate(-28deg); }
  54% { transform: translate(0, 0) rotate(-45deg); }
  57% { transform: translate(0, 5px) rotate(-42deg); }
  61%, 92% { transform: translate(0, 0) rotate(-45deg); opacity: 1; }
  100% { transform: translate(0, 0) rotate(-45deg); opacity: 0; }
}
.ct-avion { position: absolute; left: calc(44% - 32px); top: calc(73.5% - 20px); width: 64px; height: 40px; animation: ct-pose 10s cubic-bezier(.45, 0, .25, 1) infinite; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
@media (prefers-reduced-motion: reduce) { .ct-avion { animation: none; transform: rotate(-45deg); } }
@media (max-width: 900px) {
  #contact.ct { min-height: 0; }
  .ct-photo { opacity: .3; }
  .ct-voile { background: rgba(29, 38, 96, 0.55); }
  .ct-avion { display: none; }
}
