/* Page « Choisir son permis ou visa » : 5 cartes .cs-tuile sur une ligne, panneau déplié en dessous (ordinateur) ou sous sa carte (mobile). */
.cx-sec .pmb-fil { margin-bottom: 18px; }
.cs-grille.cx { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.cx-carte { order: 0; display: block; width: 100%; height: 250px; padding: 0; border: 0; font: inherit; text-align: left; cursor: pointer; transition: transform .35s var(--courbe), box-shadow .35s; }
.cx-carte .cs-media img { width: 100%; height: 100%; object-fit: cover; }
.cx-carte .cs-corps { display: flex; }
.cx-carte .cx-nom { flex: 1; min-width: 0; margin: 0; font-size: 15px; font-weight: 800; line-height: 1.25; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / .35); }
.cx-carte .cs-puces { display: flex; flex-wrap: wrap; }
.cx-fleche { flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgb(255 255 255 / .22); transition: transform .35s var(--courbe), background .3s; }
.cx-fleche svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; }
.cx-carte:hover .cx-fleche { background: rgb(255 255 255 / .38); }
.cx-carte[aria-expanded="true"] { transform: translateY(-6px); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--b2), 0 24px 36px -18px rgb(28 125 179 / .7); }
.cx-carte[aria-expanded="true"] .cx-fleche { background: var(--b2); transform: rotate(180deg); }
.cx-carte:focus-visible { outline: 3px solid var(--g); outline-offset: 3px; }

.cx-panneau { order: 1; grid-column: 1 / -1; margin-top: 6px; padding: 26px 28px 28px; border-radius: 24px; background: #fff; box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 30px 50px -30px rgb(15 42 61 / .45); }
.js .cx-panneau { display: none; }
.js .cx-panneau.ouvert { display: block; animation: inOuvre .45s var(--courbe); }
.cx-haut { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cx-duree { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 99px; font-size: 14px; font-weight: 800; color: var(--b1); background: #e8f4fd; }
.cx-duree svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cx-usage { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.cx-panneau .in-plus-grille { margin-top: 16px; animation: none; }
.cx-panneau .in-col { padding: 18px 20px; }
.cx-panneau .in-col li { font-size: 15px; }
.in-col.cd { background: #e8f4fd; }
.in-col.cd p { color: var(--b1); }
.in-col.cd p svg { background: var(--b1); }
.cx-note { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; padding: 11px 16px; border-radius: 14px; font-size: 14.5px; font-weight: 600; color: #8a6100; background: #fff6dd; }
.cx-note svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cx-act { margin-top: 20px; }
.cx-autres { max-width: 820px; margin: 26px auto 0; font-size: 15.5px; line-height: 1.6; text-align: center; color: var(--txt); }

@media (max-width: 900px) {
  .cs-grille.cx { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cx-carte { height: 150px; scroll-margin-top: 90px; }
  .cx-carte[aria-expanded="true"] { transform: none; }
  .cx-carte .cx-nom { font-size: 17px; }
  .cx-panneau { order: 0; margin-top: 0; padding: 20px 18px 22px; }
  .cx-panneau .in-plus-grille { grid-template-columns: minmax(0, 1fr); }
  .cx-act .bouton { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .js .cx-panneau.ouvert { animation: none; } .cx-carte, .cx-fleche { transition: none; } }
