/* theme-refresh.css
   Habillage moderne posé au-dessus du template NiceAdmin (style.css) et de
   Bootstrap, chargé après les deux dans index.html. On ne modifie jamais
   style.css directement : ça reste le fichier vendor d'origine, on ne fait
   que le surcharger ici, ce qui rend la mise à jour du template plus sûre.
*/

:root {
  --sc-navy: #0b3c5d;
  --sc-navy-light: #164d74;
  --sc-navy-dark: #082a42;
  --sc-accent: #1e88c8;
  --sc-accent-light: #7dd3fc;
  --sc-accent-soft: #eaf4fb;
  --sc-success: #10b981;
  --sc-warning: #f59e0b;
  --sc-danger: #dc2626;
  --sc-bg: #f4f6fa;
  --sc-surface: #ffffff;
  --sc-border: #e7ebf2;
  --sc-text: #263449;
  --sc-text-muted: #6b7a90;
  --sc-radius-lg: 16px;
  --sc-radius-md: 12px;
  --sc-radius-sm: 8px;
  --sc-shadow-sm: 0 1px 2px rgba(11, 60, 93, 0.06), 0 1px 1px rgba(11, 60, 93, 0.04);
  --sc-shadow-md: 0 8px 24px -8px rgba(11, 60, 93, 0.16), 0 2px 6px rgba(11, 60, 93, 0.06);
  --sc-shadow-lg: 0 20px 48px -12px rgba(11, 60, 93, 0.22);
}

/* ---------------------------------------------------------------
   Fond général + typographie
   --------------------------------------------------------------- */
body {
  background: var(--sc-bg);
  color: var(--sc-text);
}

::selection {
  background: rgba(11, 60, 93, 0.16);
}

/* Scrollbar fine, dans le ton de la marque plutôt que le gris par défaut */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #c7d2e0;
  border-radius: 20px;
  border: 2px solid var(--sc-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: #a8b8cf;
}

/* ---------------------------------------------------------------
   Cartes : plus d'air, plus de profondeur, coins plus doux
   --------------------------------------------------------------- */
.card {
  border-radius: var(--sc-radius-lg);
  box-shadow: var(--sc-shadow-sm);
  border: 1px solid var(--sc-border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card.shadow-sm {
  box-shadow: var(--sc-shadow-sm) !important;
}

.card:hover {
  box-shadow: var(--sc-shadow-md);
}

.card-header {
  border-radius: var(--sc-radius-lg) var(--sc-radius-lg) 0 0 !important;
  font-weight: 600;
}

/* ---------------------------------------------------------------
   Boutons : micro-interaction cohérente partout, même sans handler JS
   --------------------------------------------------------------- */
.btn {
  border-radius: var(--sc-radius-sm);
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible,
a:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--sc-accent);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------
   Formulaires : bordures nettes, focus visible dans la couleur de marque
   --------------------------------------------------------------- */
.form-control,
.form-select {
  border-radius: var(--sc-radius-sm);
  border-color: var(--sc-border);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sc-accent);
  box-shadow: 0 0 0 3px rgba(30, 136, 200, 0.15);
}

/* ---------------------------------------------------------------
   Tableaux : en-tête discret, lignes qui réagissent au survol
   --------------------------------------------------------------- */
.table {
  --bs-table-bg: transparent;
}

.table thead th {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--sc-text-muted);
  border-bottom: 2px solid var(--sc-border);
  background: transparent;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.table tbody tr {
  transition: background-color 0.12s ease;
}

.table tbody tr:hover {
  background-color: var(--sc-accent-soft);
}

.table td {
  vertical-align: middle;
}

/* ---------------------------------------------------------------
   Badges : un peu plus de respiration
   --------------------------------------------------------------- */
.badge {
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.4em 0.75em;
  border-radius: 999px;
}

/* ---------------------------------------------------------------
   Topbar
   --------------------------------------------------------------- */
.header {
  box-shadow: var(--sc-shadow-sm);
  border-bottom: 1px solid var(--sc-border);
}

.header .nav-profile img {
  border: 2px solid var(--sc-accent-soft);
}

.dropdown-menu {
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-md);
  box-shadow: var(--sc-shadow-md);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: var(--sc-radius-sm);
  padding: 0.55rem 0.75rem;
}

.dropdown-item:hover {
  background-color: var(--sc-accent-soft);
}

/* ---------------------------------------------------------------
   Sidebar : état actif plus affirmé (pilule pleine, pas juste un fond pâle)
   --------------------------------------------------------------- */
/* Le fond marine du panneau (.sidebar { background-color: #0B3C5D }) vient du
   template d'origine (style.css), pas d'ici — tout ce qui suit est calibré
   pour rester lisible sur CE fond-là, jamais sur du blanc. */
#sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav .nav-link {
  border-radius: var(--sc-radius-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  margin: 2px 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-nav .nav-link i {
  color: rgba(255, 255, 255, 0.55);
}

.sidebar-nav .nav-link.collapsed {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
}

.sidebar-nav .nav-link.collapsed i {
  color: rgba(255, 255, 255, 0.55);
}

/* État actif : un vrai contraste avec le fond marine plutôt qu'un dégradé
   navy-sur-navy à peine visible — une pastille pleine, claire, avec le texte
   en marine dessus (inversion volontaire). */
.sidebar-nav .nav-link:not(.collapsed) {
  color: var(--sc-navy);
  background: #ffffff;
  box-shadow: var(--sc-shadow-sm);
}

.sidebar-nav .nav-link:not(.collapsed) i {
  color: var(--sc-accent);
}

.sidebar-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.sidebar-nav .nav-link:hover i {
  color: #ffffff;
}

.sidebar-nav .nav-link.collapsed:hover,
.sidebar-nav .nav-link:not(.collapsed):hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-nav .nav-link:not(.collapsed):hover {
  color: var(--sc-navy);
  background: #ffffff;
}

/* Sous-menus : le template d'origine les affiche déjà en blanc (lisible sur
   le marine) — on ne fait que renforcer l'état actif avec l'accent, jamais
   avec du marine qui se fondrait dans le fond. */
.sidebar-nav .nav-content a {
  color: rgba(255, 255, 255, 0.75);
}

.sidebar-nav .nav-content a:hover {
  color: #ffffff;
}

.sidebar-nav .nav-content a.active {
  color: #ffffff !important;
  font-weight: 700;
}

.sidebar-nav .nav-content a.active i {
  color: var(--sc-accent-light) !important;
}

/* ---------------------------------------------------------------
   Petits utilitaires réutilisables par les pages (widgets dashboard, etc.)
   --------------------------------------------------------------- */
.sc-elevated {
  border-radius: var(--sc-radius-lg);
  box-shadow: var(--sc-shadow-md);
}

.sc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------------------------------------------------------------
   Page de connexion : panneau de marque + panneau formulaire
   --------------------------------------------------------------- */
.auth-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
  background: var(--sc-bg);
  font-family: 'Inter', sans-serif;
}

.auth-visual {
  position: relative;
  flex: 0 0 44%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 3.5rem;
  background: linear-gradient(160deg, var(--sc-navy-dark) 0%, var(--sc-navy) 55%, var(--sc-navy-light) 100%);
  color: #ffffff;
  overflow: hidden;
}

.auth-visual-glow {
  position: absolute;
  inset: -20% -20% auto auto;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.35) 0%, rgba(79, 195, 247, 0) 70%);
  pointer-events: none;
}

.auth-visual::after {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -25%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.auth-visual-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.auth-visual-logo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sc-shadow-md);
}

.auth-visual-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.auth-visual-brand-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.auth-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(125, 211, 252, 0.16);
  border: 1px solid rgba(125, 211, 252, 0.4);
  color: #bde8fd;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.auth-trial-badge i {
  color: var(--sc-accent-light);
}

.auth-visual-content h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.auth-visual-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.auth-visual-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-visual-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.auth-visual-points i {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1rem;
}

.auth-payment-row {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.auth-payment-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.6rem;
}

.auth-payment-logos {
  display: flex;
  gap: 0.75rem;
}

.auth-payment-logos img {
  height: 34px;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  object-fit: contain;
}

.auth-visual-footer {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-mobile-header {
  display: none;
}

@media (max-width: 991px) {
  .auth-visual {
    display: none;
  }

  .auth-mobile-header {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------------------------------------------------------------
   Site vitrine (page publique avant connexion/inscription)
   --------------------------------------------------------------- */
.vitrine-page {
  font-family: 'Inter', sans-serif;
  color: var(--sc-text);
  background: var(--sc-surface);
  overflow-x: hidden;
}

.vitrine-page h1,
.vitrine-page h2,
.vitrine-page h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  text-wrap: balance;
}

.vitrine-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.vitrine-btn:hover {
  transform: translateY(-1px);
}

.vitrine-btn-lg {
  padding: 0.85rem 1.7rem;
  font-size: 1rem;
}

.vitrine-btn-primary {
  background: var(--sc-navy);
  color: #ffffff;
}

.vitrine-btn-primary:hover {
  background: var(--sc-navy-light);
  color: #ffffff;
}

.vitrine-btn-ghost {
  background: transparent;
  color: var(--sc-navy);
}

.vitrine-btn-ghost:hover {
  background: var(--sc-accent-soft);
  color: var(--sc-navy);
}

.vitrine-btn-accent {
  background: var(--sc-accent);
  color: #ffffff;
  box-shadow: var(--sc-shadow-md);
}

.vitrine-btn-accent:hover {
  background: var(--sc-accent-light);
  color: var(--sc-navy-dark);
}

.vitrine-btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.vitrine-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Nav */
.vitrine-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sc-border);
}

.vitrine-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vitrine-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--sc-navy);
}

.vitrine-brand-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.vitrine-brand-link:hover {
  opacity: 0.8;
}

.vitrine-brand img {
  height: 34px;
  width: 34px;
  object-fit: contain;
  border-radius: 8px;
}

.vitrine-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vitrine-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.vitrine-nav-menu a {
  color: var(--sc-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.vitrine-nav-menu a:hover {
  color: var(--sc-navy);
}

.vitrine-nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--sc-navy);
  font-size: 1.4rem;
  cursor: pointer;
}

.vitrine-nav-mobile-panel {
  display: none;
}

@media (max-width: 900px) {
  .vitrine-nav-menu,
  .vitrine-nav-actions {
    display: none;
  }

  .vitrine-nav-burger {
    display: flex;
  }

  .vitrine-nav-mobile-panel {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 1.5rem 1.25rem;
    background: var(--sc-surface);
    border-top: 1px solid var(--sc-border);
  }

  .vitrine-nav-mobile-panel > a {
    display: block;
    color: var(--sc-text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--sc-border);
  }

  .vitrine-nav-mobile-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .vitrine-nav-mobile-actions .vitrine-btn {
    flex: 1;
  }
}

/* Ancres de section : compenser la hauteur de la nav sticky */
section[id] {
  scroll-margin-top: 84px;
}

/* Hero */
.vitrine-hero {
  position: relative;
  background: linear-gradient(160deg, var(--sc-navy-dark) 0%, var(--sc-navy) 55%, var(--sc-navy-light) 100%);
  color: #ffffff;
  /* La nav est en position fixed (toujours visible) : on compense sa hauteur
     ici pour que le hero ne se retrouve pas caché dessous. */
  padding: calc(5rem + 70px) 1.5rem 4.5rem;
  overflow: hidden;
}

.vitrine-hero-glow {
  position: absolute;
  inset: -25% -15% auto auto;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.32) 0%, rgba(79, 195, 247, 0) 70%);
  pointer-events: none;
}

.vitrine-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.vitrine-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(125, 211, 252, 0.16);
  border: 1px solid rgba(125, 211, 252, 0.4);
  color: #bde8fd;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.vitrine-hero-inner h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.25;
  margin-bottom: 1.1rem;
}

/* Descendant (pas enfant direct) : le <p> est maintenant nichée dans le
   carrousel (.carousel-item), pas un enfant direct de .vitrine-hero-inner. */
.vitrine-hero-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Carrousel du hero : seuls titre/texte tournent, boutons et logos de
   paiement restent fixes (voir Vitrine.js). */
.vitrine-hero-carousel {
  margin-bottom: 2rem;
}

/* min-height seul sur la règle de base (safe, ne touche pas l'affichage) :
   Bootstrap cache les slides inactives via ".carousel-item { display: none }"
   — une règle plus spécifique ici qui aurait mis "display: flex" sur TOUTES
   les .carousel-item (actives ou non) écrasait ce masquage et affichait
   toutes les slides superposées en même temps. Le display:flex ne doit donc
   s'appliquer qu'aux slides que Bootstrap rend déjà visibles lui-même
   (.active, .carousel-item-next, .carousel-item-prev pendant la transition). */
.vitrine-hero-carousel .carousel-item {
  min-height: 148px;
}

.vitrine-hero-carousel .carousel-item.active,
.vitrine-hero-carousel .carousel-item-next,
.vitrine-hero-carousel .carousel-item-prev {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 600px) {
  .vitrine-hero-carousel .carousel-item {
    min-height: 210px;
  }
}

.vitrine-hero-carousel .carousel-control-prev,
.vitrine-hero-carousel .carousel-control-next {
  width: 3rem;
  opacity: 0.85;
}

.vitrine-hero-carousel .carousel-control-prev:hover,
.vitrine-hero-carousel .carousel-control-next:hover {
  opacity: 1;
}

.vitrine-hero-indicators {
  position: static;
  margin: 0.5rem 0 0;
}

.vitrine-hero-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  border: none;
  margin: 0 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vitrine-hero-indicators [data-bs-target].active {
  background: #ffffff;
  transform: scale(1.2);
}

.vitrine-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.vitrine-payment-row {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.vitrine-payment-row span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.vitrine-payment-logos {
  display: flex;
  gap: 0.75rem;
}

.vitrine-payment-logos img {
  height: 32px;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  object-fit: contain;
}

/* Apparition au scroll (fade + léger déplacement vers le haut), désactivée
   pour prefers-reduced-motion via le garde JS qui n'ajoute alors jamais la
   classe .is-visible autrement qu'immédiatement — voir Vitrine.js. */
.vitrine-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.vitrine-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Garde-fou : si le JS n'ajoute jamais .is-visible (prefers-reduced-motion,
   IntersectionObserver indisponible, erreur JS), le contenu ne doit jamais
   rester invisible en permanence. */
@media (prefers-reduced-motion: reduce) {
  .vitrine-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Sections génériques */
.vitrine-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.vitrine-section-alt {
  max-width: none;
  background: var(--sc-bg);
}

.vitrine-section-alt > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.vitrine-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.vitrine-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sc-accent);
  margin-bottom: 0.6rem;
}

.vitrine-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--sc-navy);
}

/* Fonctionnalités */
.vitrine-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.vitrine-feature-card {
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--sc-shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vitrine-feature-card:hover {
  box-shadow: var(--sc-shadow-md);
  transform: translateY(-2px);
}

.vitrine-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sc-accent-soft);
  color: var(--sc-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.vitrine-feature-card h3 {
  font-size: 1.05rem;
  color: var(--sc-navy);
  margin-bottom: 0.5rem;
}

.vitrine-feature-card p {
  font-size: 0.9rem;
  color: var(--sc-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Étapes */
.vitrine-etapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.vitrine-etape {
  text-align: center;
  padding: 0 0.5rem;
}

.vitrine-etape-numero {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sc-navy);
  color: #ffffff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.vitrine-etape h3 {
  font-size: 1.05rem;
  color: var(--sc-navy);
  margin-bottom: 0.5rem;
}

.vitrine-etape p {
  font-size: 0.9rem;
  color: var(--sc-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Mobile */
.vitrine-mobile-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.vitrine-mobile-text {
  flex: 1 1 380px;
}

/* Carrousel des points forts mobile (remplace l'ancienne liste statique) */
.vitrine-mobile-carousel {
  margin-top: 1.75rem;
  max-width: 460px;
}

.vitrine-mobile-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 92px;
}

.vitrine-mobile-point i {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--sc-accent-soft);
  color: var(--sc-navy);
  font-size: 1.3rem;
}

.vitrine-mobile-point strong {
  display: block;
  font-size: 1rem;
  color: var(--sc-navy);
  margin-bottom: 0.3rem;
}

.vitrine-mobile-point p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sc-text-muted);
  line-height: 1.6;
}

.vitrine-mobile-indicators {
  position: static;
  margin: 1.25rem 0 0;
  justify-content: flex-start;
}

.vitrine-mobile-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sc-border);
  opacity: 1;
  border: none;
  margin: 0 4px 0 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vitrine-mobile-indicators [data-bs-target].active {
  background: var(--sc-accent);
  transform: scale(1.2);
}

.vitrine-mobile-visual {
  animation: vitrine-float 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .vitrine-mobile-visual {
    animation: none;
  }
}

@keyframes vitrine-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.vitrine-mobile-visual {
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--sc-navy-dark) 0%, var(--sc-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--sc-shadow-lg);
}

.vitrine-mobile-visual i {
  font-size: 5rem;
  color: #ffffff;
}

/* FAQ */
.vitrine-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vitrine-faq-item {
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-md);
  background: var(--sc-surface);
  overflow: hidden;
}

.vitrine-faq-item.is-open {
  border-color: var(--sc-accent);
}

.vitrine-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sc-navy);
  cursor: pointer;
}

.vitrine-faq-question i {
  flex: 0 0 auto;
  font-size: 1.2rem;
  color: var(--sc-accent);
}

.vitrine-faq-reponse {
  padding: 0 1.4rem 1.1rem;
  font-size: 0.9rem;
  color: var(--sc-text-muted);
  line-height: 1.6;
}

/* Contact */
.vitrine-contact {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.vitrine-contact-infos {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vitrine-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.95rem;
  color: var(--sc-text);
}

.vitrine-contact-item i {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--sc-accent-soft);
  color: var(--sc-navy);
  font-size: 1.05rem;
}

.vitrine-contact-form {
  flex: 2 1 380px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--sc-surface);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--sc-shadow-sm);
}

.vitrine-contact-row {
  display: flex;
  gap: 1rem;
}

.vitrine-contact-row input {
  flex: 1;
}

.vitrine-contact-form input,
.vitrine-contact-form textarea {
  width: 100%;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--sc-text);
  background: var(--sc-bg);
}

.vitrine-contact-form input:focus,
.vitrine-contact-form textarea:focus {
  outline: none;
  border-color: var(--sc-accent);
  background: var(--sc-surface);
}

.vitrine-contact-form textarea {
  resize: vertical;
}

.vitrine-contact-form button {
  align-self: flex-start;
}

.vitrine-contact-statut {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 0.9rem;
  border-radius: var(--sc-radius-sm);
}

.vitrine-contact-statut-envoi {
  background: var(--sc-accent-soft);
  color: var(--sc-navy);
}

.vitrine-contact-statut-succes {
  background: rgba(16, 185, 129, 0.12);
  color: var(--sc-success);
}

.vitrine-contact-statut-erreur {
  background: rgba(220, 38, 38, 0.1);
  color: var(--sc-danger);
}

@media (max-width: 600px) {
  .vitrine-contact-row {
    flex-direction: column;
  }
}

/* Appel à l'action final */
.vitrine-cta {
  text-align: center;
  padding: 4.5rem 1.5rem 5rem;
  background: var(--sc-accent-soft);
}

.vitrine-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--sc-navy);
  margin-bottom: 0.75rem;
}

.vitrine-cta p {
  color: var(--sc-text-muted);
  margin-bottom: 1.75rem;
}

/* Pied de page */
.vitrine-footer {
  background: var(--sc-navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 1.5rem 1.75rem;
  text-align: center;
}

.vitrine-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.vitrine-footer-brand img {
  height: 30px;
  width: 30px;
  object-fit: contain;
  border-radius: 8px;
}

.vitrine-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.vitrine-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

.vitrine-footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .vitrine-mobile-section {
    flex-direction: column;
    text-align: center;
  }

  .vitrine-mobile-points li {
    text-align: left;
  }
}
