/* ==========================================================================
   Kponwali — surcouche Bootstrap 5 au rendu « façon Tailwind »
   Le markup Bootstrap reste inchangé : seules les variables et quelques
   composants sont redéfinis. Palette identique à l'application mobile.
   ========================================================================== */
:root {
  --tp-primary: #0B3B73;
  --tp-primary-dark: #002754;
  --tp-primary-soft: #E6EDF6;
  --tp-bg: #F3F6FA;
  --tp-text: #0F223F;
  --tp-muted: #8A94A6;
  --tp-border: #E3E8F0;
  --tp-success: #268E01;
  --tp-danger: #E5534B;
  --tp-warning: #F5A300;
  --tp-icon-bg: #EEF2F8;
  --tp-logo: #002754;
  --tp-logo-light: #6CC24A;
  --tp-accent: #268E01;      /* vert du logo (personnes, trait) */
  --tp-gold: #F9BF01;        /* jaune des pièces */
  --tp-orange: #FEAC02;      /* orange des pièces */
  --tp-radius: 18px;
  --tp-shadow: 0 6px 18px rgba(11, 59, 115, .07);

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--tp-text);
  --bs-body-bg: var(--tp-bg);
  --bs-border-color: var(--tp-border);
  --bs-primary: var(--tp-primary);
  --bs-primary-rgb: 11, 59, 115;
  --bs-success-rgb: 43, 163, 107;
  --bs-danger-rgb: 229, 83, 75;
  --bs-warning-rgb: 229, 154, 43;
  --bs-secondary-color: var(--tp-muted);
  --bs-link-color: var(--tp-primary);
  --bs-link-color-rgb: 11, 59, 115;
  --bs-link-hover-color: var(--tp-primary-dark);
  --bs-border-radius: 10px;
  --bs-border-radius-lg: 14px;
}

body { font-size: .9375rem; -webkit-font-smoothing: antialiased; }
h1, .h1, h2, .h2, h3, .h3 { font-weight: 700; letter-spacing: -.02em; }
h4, .h4, h5, .h5, h6, .h6 { font-weight: 600; }
.text-muted, .form-text { color: var(--tp-muted) !important; }
:focus-visible { outline: 2px solid var(--tp-primary); outline-offset: 2px; }
a { text-decoration: none; }

/* --- Boutons ------------------------------------------------------------ */
.btn { font-weight: 500; border-radius: 10px; padding: .5rem 1rem; transition: background-color .15s, box-shadow .15s; }
.btn-sm { padding: .3rem .7rem; border-radius: 8px; }
.btn-primary { --bs-btn-bg: var(--tp-primary); --bs-btn-border-color: var(--tp-primary);
  --bs-btn-hover-bg: var(--tp-primary-dark); --bs-btn-hover-border-color: var(--tp-primary-dark);
  --bs-btn-active-bg: var(--tp-primary-dark); --bs-btn-disabled-bg: var(--tp-primary); }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--tp-border); --bs-btn-hover-bg: var(--tp-icon-bg);
  --bs-btn-hover-border-color: var(--tp-border); --bs-btn-color: var(--tp-text); }
.btn-soft { background: var(--tp-primary-soft); color: var(--tp-primary); border: 0; }
.btn-soft:hover { background: #D7E2F0; color: var(--tp-primary-dark); }
.btn-success { --bs-btn-bg: var(--tp-success); --bs-btn-border-color: var(--tp-success);
  --bs-btn-hover-bg: #1F7501; --bs-btn-hover-border-color: #1F7501; }
.btn-danger { --bs-btn-bg: var(--tp-danger); --bs-btn-border-color: var(--tp-danger); }
.btn-outline-danger { --bs-btn-color: var(--tp-danger); --bs-btn-border-color: #f3c3bf;
  --bs-btn-hover-bg: var(--tp-danger); --bs-btn-hover-border-color: var(--tp-danger); }

/* --- Cartes ------------------------------------------------------------- */
.card { border: 0; border-radius: var(--tp-radius); box-shadow: var(--tp-shadow); }
.card-header { background: transparent; border-bottom: 1px solid var(--tp-border); padding: 1rem 1.25rem; font-weight: 600; }
.card-header:first-child { border-radius: var(--tp-radius) var(--tp-radius) 0 0; }
.card-body { padding: 1.25rem; }

/* --- Formulaires -------------------------------------------------------- */
.form-control, .form-select { border-color: var(--tp-border); border-radius: 10px; padding: .55rem .8rem; }
.form-control:focus, .form-select:focus { border-color: var(--tp-primary);
  box-shadow: 0 0 0 3px rgba(11, 59, 115, .15); }
.form-label { font-weight: 500; font-size: .875rem; margin-bottom: .35rem; }
.form-check-input:checked { background-color: var(--tp-primary); border-color: var(--tp-primary); }
.code-input { font-size: 1.6rem; letter-spacing: .6em; font-weight: 600; }
.errorlist { list-style: none; padding: 0; margin: .25rem 0 0; color: var(--tp-danger); font-size: .82rem; }

/* --- Tableaux ----------------------------------------------------------- */
.table { --bs-table-bg: transparent; --bs-table-border-color: var(--tp-border); margin-bottom: 0; }
.table > thead th { font-size: .75rem; font-weight: 600; color: var(--tp-muted); background: #FAFBFE; white-space: nowrap; }
.table > :not(caption) > * > * { padding: .7rem .9rem; vertical-align: middle; }

/* --- Badges de statut --------------------------------------------------- */
.badge { font-weight: 500; border-radius: 999px; padding: .35em .7em; }
.statut-paye, .statut-confirme { background: #E4F3DC; color: #1F6E05; }
.statut-partiel, .statut-verse  { background: #FFF1CC; color: #9A6200; }
.statut-non_paye { background: #FCE4E2; color: #B3332C; }
.statut-a_venir, .statut-prevu { background: var(--tp-icon-bg); color: var(--tp-muted); }

/* --- Disposition de l'application -------------------------------------- */
.app-sidebar { width: 248px; background: var(--tp-logo); color: #dbe3f5; position: fixed; inset: 0 auto 0 0;
  display: flex; flex-direction: column; z-index: 1030; transition: transform .2s; overflow-y: auto; }
.app-sidebar .brand { display: flex; align-items: center; gap: .6rem; padding: 1.25rem 1.25rem 1rem;
  color: #fff; font-weight: 700; }
.app-sidebar .brand img { width: 36px; height: 36px; border-radius: 10px; }
.app-sidebar { border-top: 4px solid var(--tp-accent); }
.app-sidebar .nav-link.active { box-shadow: inset 3px 0 0 var(--tp-gold); }
.app-sidebar .nav-link { color: #C9D6EA; border-radius: 10px; margin: 1px .75rem; padding: .55rem .8rem;
  display: flex; align-items: center; gap: .65rem; font-weight: 500; }
.app-sidebar .nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.app-sidebar .nav-link.active { background: rgba(255,255,255,.14); color: #fff; }
.app-sidebar .section { font-size: .75rem; color: var(--tp-logo-light); padding: 1rem 1.6rem .35rem; }
.app-sidebar .pied { margin-top: auto; padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.app-sidebar .pied a { color: #fff; }
.app-main { margin-left: 248px; min-height: 100vh; }
.app-topbar { background: #fff; border-bottom: 1px solid var(--tp-border); padding: .75rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; position: sticky; top: 0; z-index: 1020; }
.app-content { padding: 1.5rem; max-width: 1500px; }
@media (max-width: 991.98px) {
  .app-sidebar { transform: translateX(-100%); }
  .app-sidebar.ouvert { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  .app-main { margin-left: 0; }
  .app-content { padding: 1rem; }
}

/* --- Indicateurs -------------------------------------------------------- */
.stat { display: flex; gap: .9rem; align-items: center; }
.stat .icone { width: 44px; height: 44px; border-radius: 12px; background: var(--tp-icon-bg); color: var(--tp-primary);
  display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.stat .valeur { font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.stat .libelle { font-size: .8rem; color: var(--tp-muted); }
.bandeau { background: linear-gradient(135deg, var(--tp-primary-dark), var(--tp-primary)); color: #fff;
  border-radius: var(--tp-radius); padding: 1.5rem; }
.bandeau .sous { color: #C9D6EA; }
.progress { height: 8px; border-radius: 99px; background: var(--tp-icon-bg); }
.bandeau .progress { background: rgba(255,255,255,.2); }
.progress-bar { background: var(--tp-success); }
.bandeau .progress-bar { background: var(--tp-gold); }

/* --- Tableau de suivi (grille des cotisations) -------------------------- */
.grille-wrap { overflow: auto; max-height: 72vh; border-radius: 0 0 var(--tp-radius) var(--tp-radius); }
.grille { border-collapse: separate; border-spacing: 0; font-size: .82rem; min-width: 100%; }
.grille th, .grille td { border-bottom: 1px solid var(--tp-border); padding: .45rem .5rem; white-space: nowrap; background: #fff; }
.grille thead th { background: #FAFBFE; color: var(--tp-muted); font-weight: 600; text-align: center; position: sticky; top: 0; z-index: 1; }
.grille .fixe { position: sticky; left: 0; z-index: 2; min-width: 200px; box-shadow: 1px 0 0 var(--tp-border); text-align: left; }
.grille thead .fixe { z-index: 3; }
.grille .benef { font-size: .7rem; color: var(--tp-primary); font-weight: 500; display: block; max-width: 110px;
  overflow: hidden; text-overflow: ellipsis; margin: 0 auto; }
.grille td.cel { text-align: center; min-width: 98px; cursor: pointer; }
.grille td.cel span { display: block; border-radius: 8px; padding: .3rem .2rem; font-weight: 600; }
.grille td.cel:hover span { outline: 2px solid var(--tp-primary); }
.grille .cel-paye span     { background: #E4F3DC; color: #1F6E05; }
.grille .cel-partiel span  { background: #FFF1CC; color: #9A6200; }
.grille .cel-non_paye span { background: #FCE4E2; color: #B3332C; }
.grille .cel-a_venir span  { background: #F6F8FC; color: #A7B0C0; font-weight: 500; }
.grille tfoot td { background: #FAFBFE; font-weight: 700; text-align: center; }
.grille .total { font-weight: 700; text-align: right; }
.legende { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--tp-muted); }
.legende i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: .35rem; vertical-align: -1px; }

/* --- Avatars ------------------------------------------------------------ */
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--tp-primary-soft); color: var(--tp-primary);
  display: inline-grid; place-items: center; font-weight: 600; font-size: .8rem; object-fit: cover; flex-shrink: 0; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.4rem; }

/* --- Pages d'authentification ------------------------------------------ */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card.large { max-width: 660px; }

/* --- Ordre de passage (glisser-déposer) -------------------------------- */
.ordre-liste .item { background: #fff; border: 1px solid var(--tp-border); border-radius: 12px; padding: .6rem .8rem;
  margin-bottom: .4rem; display: flex; align-items: center; gap: .7rem; cursor: grab; }
.ordre-liste .item .numero { min-width: 26px; height: 26px; border-radius: 8px; background: var(--tp-icon-bg); color: var(--tp-primary);
  display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.sortable-ghost { opacity: .4; }

/* --- Site public -------------------------------------------------------- */
.site { background: #fff; }
.site-header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 4px solid var(--tp-accent);
  border-bottom: 1px solid var(--tp-border); }
.site-header .navbar-brand img.embleme { height: 42px; }
.site-header .navbar-brand img.mot { height: 24px; }
.site-header .slogan { font-size: .7rem; }
.site-header .nav-link { font-weight: 500; color: var(--tp-text); border-radius: 8px; padding: .5rem .75rem; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--tp-primary); background: var(--tp-primary-soft); }
.slogan { color: var(--tp-accent); font-weight: 600; }

.hero { padding: 4rem 0 4.5rem; background:
  radial-gradient(600px 300px at 90% 10%, rgba(249,191,1,.12), transparent 70%),
  radial-gradient(500px 300px at 0% 100%, rgba(38,142,1,.08), transparent 70%); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; }
.hero .lead { color: #4A5B7C; max-width: 52ch; font-size: 1.12rem; }
.surligne { background: linear-gradient(transparent 62%, rgba(249,191,1,.45) 62%); }
.pastille { display: inline-flex; gap: .4rem; align-items: center; background: #E4F3DC; color: #1F6E05;
  font-weight: 600; font-size: .82rem; border-radius: 99px; padding: .35rem .8rem; }
.atouts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: #4A5B7C; }
.atouts i { color: var(--tp-accent); margin-right: .3rem; }

.apercu { border-radius: 22px; background: #fff; box-shadow: 0 30px 70px rgba(0, 39, 84, .16); border: 1px solid var(--tp-border); overflow: hidden; }
.apercu-tete, .apercu-pied { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem 1.1rem; font-size: .88rem; flex-wrap: wrap; }
.apercu-pied { border-top: 1px solid var(--tp-border); background: #FAFBFE; }
.apercu-pied i { color: var(--tp-orange); }
.apercu .grille-wrap { max-height: none; border-radius: 0; }
.apercu .grille .fixe { min-width: 120px; }

.section { padding: 4.5rem 0; }
.section-douce { background: var(--tp-bg); }
.section-tete { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-tete h2, .section h2, .cta-final h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -.02em; }
.section-tete p { color: var(--tp-muted); font-size: 1.05rem; margin: 0; }

.etape { height: 100%; padding: 1.5rem; border: 1px solid var(--tp-border); border-radius: var(--tp-radius); background: #fff; }
.etape-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700;
  background: var(--tp-logo); color: var(--tp-gold); margin-bottom: 1rem; }
.etape h3, .atout h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.etape p, .atout p { color: #4A5B7C; margin: 0; font-size: .95rem; }

.atout { display: flex; gap: .9rem; height: 100%; padding: 1.25rem; border-radius: var(--tp-radius); border: 1px solid var(--tp-border); }
.atout-icone { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #E4F3DC; color: var(--tp-accent); font-size: 1.2rem; }
.lien-fleche { font-weight: 600; }

.liste-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.liste-check li { position: relative; padding-left: 1.75rem; }
.liste-check li::before { content: "✓"; position: absolute; left: 0; top: .15rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: #E4F3DC; color: var(--tp-accent); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.liste-check.petite { font-size: .9rem; gap: .45rem; margin-bottom: 1.25rem; }

.mail-exemple { max-width: 440px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 60px rgba(0, 39, 84, .14); border: 1px solid var(--tp-border); }
.mail-entete { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.1rem; background: var(--tp-logo); color: #fff; font-weight: 700;
  border-bottom: 4px solid var(--tp-accent); }
.mail-entete img { border-radius: 8px; }
.mail-corps { padding: 1.25rem; }
.mail-titre { font-weight: 700; margin-bottom: .5rem; }
.mail-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--tp-bg); border-radius: 12px; text-align: center; padding: .75rem 0; }
.mail-chiffres strong { display: block; font-size: 1.4rem; color: var(--tp-logo); }
.mail-chiffres span { font-size: .75rem; color: var(--tp-muted); }
.mail-chiffres .vert { color: var(--tp-accent); } .mail-chiffres .or { color: var(--tp-orange); }

.tarif { position: relative; height: 100%; display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--tp-radius);
  background: #fff; border: 1px solid var(--tp-border); }
.tarif-vedette { border: 2px solid var(--tp-logo); box-shadow: 0 20px 50px rgba(0, 39, 84, .12); }
.tarif-membre { background: #F7FBF4; border-color: #D4EBC6; }
.tarif-badge { position: absolute; top: -12px; right: 1.25rem; background: var(--tp-gold); color: var(--tp-logo);
  font-size: .75rem; font-weight: 700; border-radius: 99px; padding: .25rem .7rem; }
.tarif-nom { font-weight: 600; color: var(--tp-muted); }
.prix { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }

.cta-final { padding: 4.5rem 0; background: linear-gradient(135deg, var(--tp-logo), #0B3B73); color: #fff; border-top: 4px solid var(--tp-gold); }
.cta-final p { color: #C9D6EA; max-width: 560px; margin: .5rem auto 1.75rem; }
.btn-or { --bs-btn-bg: var(--tp-gold); --bs-btn-border-color: var(--tp-gold); --bs-btn-color: var(--tp-logo);
  --bs-btn-hover-bg: #E8B000; --bs-btn-hover-border-color: #E8B000; --bs-btn-hover-color: var(--tp-logo); font-weight: 700; }
.btn-contour-blanc { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.5); --bs-btn-hover-bg: rgba(255,255,255,.1);
  --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff; }

.site-footer { background: #001D40; color: #A9B8D3; padding: 3rem 0 1.5rem; font-size: .9rem; border-top: 4px solid var(--tp-accent); }
.site-footer a { display: block; color: #DCE5F3; padding: .2rem 0; }
.site-footer a:hover { color: var(--tp-gold); }
.pied-titre { color: #fff; font-weight: 600; margin-bottom: .5rem; }
.pied-slogan { color: var(--tp-gold); }
.pied-bas { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.25rem; font-size: .82rem; }
.contenu-legal { max-width: 72ch; }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse { border-top: 1px solid var(--tp-border); margin-top: .5rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .section, .cta-final { padding: 3rem 0; }
}
@media (max-width: 575.98px) {
  .hero h1 br { display: none; }
  .apercu-tete, .apercu-pied { padding: .8rem; font-size: .8rem; }
  .apercu .grille { font-size: .75rem; }
  .apercu .grille .fixe { min-width: 96px; }
  .apercu .grille td.cel { min-width: 64px; }
  .section-tete { margin-bottom: 1.75rem; }
  .etape, .atout, .tarif { padding: 1.15rem; }
}

/* --- Accueil façon « vitrine d'application » ---------------------------- */
html { scroll-padding-top: 96px; scroll-behavior: smooth; }
.hero-etiquettes { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.25rem; font-size: .85rem; color: var(--tp-muted); }
.hero-nouveau { display: inline-flex; gap: .35rem; align-items: center; background: #E4F3DC; color: #1F6E05; font-weight: 600;
  border-radius: 99px; padding: .3rem .8rem; }
.hero-nouveau:hover { background: #D4EBC6; color: #1F6E05; }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.badge-store { display: inline-flex; align-items: center; gap: .55rem; background: #0F223F; color: #fff; border-radius: 12px;
  padding: .45rem 1rem; line-height: 1.1; font-weight: 600; }
.badge-store:hover { color: #fff; background: #000; }
.badge-store i { font-size: 1.45rem; }
.badge-store small { display: block; font-size: .65rem; font-weight: 400; opacity: .75; }
.hero-note { font-size: .85rem; color: var(--tp-muted); margin: 0; }

/* Téléphones : captures dans un cadre d'appareil */
.telephone { margin: 0 auto; text-align: center; }
.telephone img { width: 100%; height: auto; display: block; border-radius: 34px; border: 7px solid #0F223F; background: #0F223F;
  box-shadow: 0 30px 60px rgba(0, 39, 84, .22); cursor: zoom-in; }
.telephone figcaption { margin-top: .9rem; font-size: .85rem; font-weight: 600; color: var(--tp-muted); }
.telephone-hero { max-width: 300px; }
.telephone-moyen { max-width: 270px; }
.telephone-carrousel { flex: 0 0 auto; width: 230px; scroll-snap-align: center; }
.telephone-carrousel img { border-width: 6px; border-radius: 28px; box-shadow: 0 16px 36px rgba(0, 39, 84, .16); }

.carrousel { position: relative; }
.carrousel-piste { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem .5rem 2rem;
  scrollbar-width: none; cursor: grab; }
.carrousel-piste::-webkit-scrollbar { display: none; }
.carrousel-piste.glisse { cursor: grabbing; scroll-snap-type: none; }
.carrousel-piste.glisse img { pointer-events: none; }
.carrousel-fleche { position: absolute; top: 45%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--tp-border); background: #fff; color: var(--tp-logo); box-shadow: var(--tp-shadow); font-size: 1.2rem; }
.carrousel-fleche:hover { background: var(--tp-primary-soft); }
.carrousel-fleche.precedent { left: -10px; }
.carrousel-fleche.suivant { right: -10px; }

.etiquette-nouveau { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--tp-logo); background: var(--tp-gold); border-radius: 6px; padding: .1rem .45rem; margin-bottom: .35rem; }
.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }

.section-marine { background: var(--tp-logo); color: #fff; }
.section-marine .section-tete p { color: #C9D6EA; }
.securite-item { display: flex; gap: .9rem; height: 100%; padding: 1.25rem; border-radius: var(--tp-radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.securite-item i { color: var(--tp-gold); font-size: 1.4rem; }
.securite-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.securite-item p { color: #C9D6EA; font-size: .92rem; margin: 0; }

.faq { max-width: 860px; }
.faq-filtres { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1rem; scrollbar-width: none; }
.faq-filtres::-webkit-scrollbar { display: none; }
.faq-filtres button { flex: 0 0 auto; border: 1px solid var(--tp-border); background: #fff; color: var(--tp-text); border-radius: 99px;
  padding: .45rem .9rem; font-size: .88rem; font-weight: 500; }
.faq-filtres button span { color: var(--tp-muted); margin-left: .25rem; }
.faq-filtres button.active { background: var(--tp-logo); border-color: var(--tp-logo); color: #fff; }
.faq-filtres button.active span { color: var(--tp-gold); }
.faq-recherche { position: relative; margin-bottom: 1rem; }
.faq-recherche i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--tp-muted); }
.faq-recherche input { width: 100%; border: 1px solid var(--tp-border); border-radius: 12px; padding: .75rem 1rem .75rem 2.6rem; }
.faq-recherche input:focus { outline: none; border-color: var(--tp-primary); box-shadow: 0 0 0 3px rgba(11,59,115,.15); }
.faq-item { border: 1px solid var(--tp-border); border-radius: 14px; background: #fff; margin-bottom: .6rem; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1rem 1.15rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--tp-accent); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { padding: 0 1.15rem 1.1rem; margin: 0; color: #4A5B7C; }
.faq-vide { text-align: center; color: var(--tp-muted); padding: 1rem; }
.faq-question { margin-top: 2rem; padding: 1.5rem; border-radius: var(--tp-radius); background: var(--tp-bg); }
.faq-question h3 { font-size: 1.15rem; font-weight: 700; }
.faq-question p { color: var(--tp-muted); }

.visionneuse { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 15, 35, .92); display: flex; align-items: center; justify-content: center; padding: 3rem 4rem; }
.visionneuse[hidden] { display: none; }
.visionneuse img { max-height: 100%; max-width: 100%; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.visionneuse-fermer { position: absolute; top: 1rem; right: 1.25rem; background: none; border: 0; color: #fff; font-size: 1.8rem; }
.visionneuse-fleche { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem; }
.visionneuse-fleche.precedent { left: 1rem; }
.visionneuse-fleche.suivant { right: 1rem; }

@media (min-width: 576px) { .w-sm-auto { width: auto !important; } }
@media (max-width: 991.98px) {
  .etapes { grid-template-columns: 1fr; }
  .telephone-hero { max-width: 250px; }
  .carrousel-fleche { display: none; }   /* sur tablette et téléphone : on fait glisser au doigt */
}
@media (max-width: 575.98px) {
  .hero-actions .btn { width: 100%; }
  .badge-store { flex: 1 1 calc(50% - .3rem); justify-content: center; }
  .telephone-hero { max-width: 220px; }
  .telephone-carrousel { width: 190px; }
  .visionneuse { padding: 3.5rem .75rem; }
  .visionneuse-fleche { display: none; }
}

/* --- Application web : confort sur téléphone ---------------------------- */
.app-voile { position: fixed; inset: 0; background: rgba(0, 20, 45, .45); z-index: 1029; opacity: 0; pointer-events: none; transition: opacity .2s; }
.app-voile.visible { opacity: 1; pointer-events: auto; }
.nav-underline { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.nav-underline::-webkit-scrollbar { display: none; }
.nav-underline .nav-link { white-space: nowrap; }
.barre-mobile { display: none; }
@media (max-width: 991.98px) {
  .app-topbar { padding: .6rem 1rem; }
  .app-content { padding-bottom: 5.5rem; }  /* place pour la barre du bas */
  .barre-mobile { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 1025;
    background: #fff; border-top: 1px solid var(--tp-border); padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom)); }
  .barre-mobile a { display: flex; flex-direction: column; align-items: center; gap: .1rem; font-size: .68rem; color: var(--tp-muted); padding: .25rem 0; }
  .barre-mobile a i { font-size: 1.25rem; }
  .barre-mobile a.active { color: var(--tp-primary); font-weight: 600; }
}
@media (max-width: 575.98px) {
  .app-content { padding: .85rem .85rem 5.5rem; }
  .app-content h1.h4 { font-size: 1.15rem; }
  .card-body { padding: 1rem; }
  .bandeau { padding: 1.15rem; }
  .bandeau .display-6 { font-size: 1.6rem; }
  .stat .icone { width: 38px; height: 38px; font-size: 1rem; }
  .stat .valeur { font-size: 1rem; }
  .table > :not(caption) > * > * { padding: .55rem .6rem; }
  .app-content .btn { padding: .45rem .8rem; }
  .filtres > * { flex: 1 1 100%; max-width: none !important; }
  .grille .fixe { min-width: 140px; }
  .grille td.cel { min-width: 80px; }
}

/* --- Impression --------------------------------------------------------- */
@media print {
  .app-sidebar, .app-topbar, .no-print, .btn { display: none !important; }
  .app-main { margin: 0; }
  .card { box-shadow: none; border: 1px solid var(--tp-border); }
  body { background: #fff; }
  .grille-wrap { max-height: none; overflow: visible; }
  .grille .fixe, .grille thead th { position: static; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.liste-choix > div { display: grid; gap: .35rem; max-height: 220px; overflow-y: auto; }
.liste-choix label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
