/* ============================================================================
   static/vitrine/vitrine.css : les vitrines publiques (05/11/2026)
   ============================================================================
   Utilisée par l'accueil docveo.ma (accueil.html, vert Docveo) et par la
   vitrine Docveo Commerce (commerce/vitrine.html, prune). Les deux pages ont
   la même construction ; seule la palette change, par la classe posée sur
   <body> : .v-vert ou .v-prune. Maquettes validées par Meriem le 04/11/2026.

   Rien ici n'est chargé par les écrans de l'application.
   ============================================================================ */

.v-vert {
  --fond: #072B23; --fond-2: #061F1A; --trame: rgba(143,227,196,.06);
  --clair: #8FE3C4; --sur-fond: #C9DCD6; --sur-fond-2: #A9C4BC; --sur-fond-3: #86A79D;
  --accent: #0F6E56; --accent-fonce: #0B5543; --texte: #1A3A3A; --texte-2: #3E5656; --texte-3: #4F6464;
  --papier: #F8FAF9; --filet: #E3EAE7; --filet-2: #DCE5E1; --teinte: #E9EFEC; --bouton-texte: #072B23;
}
.v-prune {
  --fond: #2B0B26; --fond-2: #1F0719; --trame: rgba(242,169,225,.07);
  --clair: #F2A9E1; --sur-fond: #E9D3E3; --sur-fond-2: #CDB3C6; --sur-fond-3: #B497AC;
  --accent: #7A1F6B; --accent-fonce: #5E1752; --texte: #2A1A27; --texte-2: #5E4A5A; --texte-3: #6B5767;
  --papier: #FBF8FA; --filet: #ECE3EA; --filet-2: #E5D9E2; --teinte: #F4E9F2; --bouton-texte: #2B0B26;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.vitrine {
  margin: 0; background: var(--fond-2); color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.vitrine img { max-width: 100%; }
.vitrine a { color: inherit; }
.v-ar { font-family: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', sans-serif; }
.v-boite { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.v-trame { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--trame) 1px, transparent 1px), linear-gradient(90deg, var(--trame) 1px, transparent 1px);
  background-size: 56px 56px; }
.v-sombre { background: var(--fond); position: relative; overflow: hidden; }
.v-clair { background: #FFFFFF; color: var(--texte); }
.v-papier { background: var(--papier); color: var(--texte); }
.v-section { padding: 110px 0; border-top: 1px solid var(--filet); }
.v-pad { padding: 110px 0; }
.v-pad-100 { padding: 100px 0; }
.v-h2 { font-weight: 800; font-size: clamp(32px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.v-chapo { font-size: 18px; line-height: 1.55; color: var(--texte-2); margin: 18px 0 0; max-width: 620px; }
.v-entete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.v-entete-section p { font-size: 17px; line-height: 1.55; color: var(--texte-2); margin: 0; max-width: 430px; }

/* Boutons et liens */
.v-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.v-btn-blanc { background: #FFFFFF; color: var(--bouton-texte) !important; }
.v-btn-clair { background: var(--clair); color: var(--bouton-texte) !important; }
.v-btn-contour { border-color: rgba(255,255,255,.4); color: #FFFFFF !important; font-weight: 600; }
.v-btn-blanc:hover, .v-btn-clair:hover { filter: brightness(.96); }
.v-btn-contour:hover { background: rgba(255,255,255,.08); }
.v-btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.v-lien-fleche { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.v-lien-fleche .fl { display: inline-block; transition: transform .25s ease; }
.v-lien-fleche:hover .fl { transform: translateX(4px); }
.vitrine a:focus-visible, .vitrine button:focus-visible, .vitrine summary:focus-visible { outline: 2px solid var(--clair); outline-offset: 4px; border-radius: 8px; }
.v-clair a:focus-visible, .v-clair button:focus-visible, .v-clair summary:focus-visible,
.v-papier a:focus-visible, .v-papier button:focus-visible, .v-papier summary:focus-visible { outline-color: var(--accent); }

/* ── Passerelle : bande (téléphone) et menu Solutions (ordinateur) ───────── */
.v-bandeau { display: none; position: relative; background: var(--fond-2); border-bottom: 1px solid rgba(255,255,255,.08); }
.v-bandeau ul { list-style: none; margin: 0; padding: 0 12px; display: flex; gap: 4px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.v-bandeau ul::-webkit-scrollbar { display: none; }
.v-bandeau a, .v-bandeau span.b { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px;
  font-size: 14px; font-weight: 600; color: var(--sur-fond); text-decoration: none; }
.v-bandeau a[aria-current="page"] { color: #FFFFFF; box-shadow: inset 0 -3px 0 var(--clair); }
.v-point { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; display: inline-block; }
.v-bientot { font-size: 11px; font-weight: 700; color: #6B4A0E; background: #F3E6C8; border-radius: 5px; padding: 1px 6px; }

.v-entete { position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 22px; }
.v-entete .logo { display: flex; align-items: center; min-height: 44px; }
.v-entete .logo img { height: 30px; width: auto; display: block; }
.v-lien-texte { display: inline-flex; align-items: center; min-height: 44px; }
.v-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.v-nav > a:not(.v-btn) { color: var(--sur-fond); text-decoration: none; }
.v-nav > a:not(.v-btn):hover { color: #FFFFFF; }
.v-pass { position: relative; }
.v-pass > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border-radius: 10px; color: #FFFFFF; font-weight: 600; cursor: pointer; user-select: none; }
.v-pass > summary::-webkit-details-marker { display: none; }
.v-pass > summary:hover, .v-pass[open] > summary { background: rgba(255,255,255,.1); }
.v-pass > summary svg { transition: transform .15s; }
.v-pass[open] > summary svg { transform: rotate(180deg); }
.v-panneau { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; width: 360px; max-width: calc(100vw - 32px);
  background: #FFFFFF; border: 1px solid var(--filet); border-radius: 16px; box-shadow: 0 18px 44px rgba(0,0,0,.28);
  padding: 8px; display: flex; flex-direction: column; gap: 2px; color: var(--texte); }
.v-pass-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; text-decoration: none;
  color: var(--texte) !important; min-height: 60px; }
a.v-pass-item:hover, .v-pass-item[aria-current="page"] { background: var(--papier); }
.v-pass-trait { width: 6px; align-self: stretch; border-radius: 4px; flex-shrink: 0; }
.v-pass-txt { display: flex; flex-direction: column; line-height: 1.35; }
.v-pass-nom { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-pass-sous { font-size: 13px; color: var(--texte-3); }
.v-pass-ici { font-size: 12px; font-weight: 700; color: var(--accent); }
.v-pass-autre { display: flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 8px 14px 4px; border-top: 1px solid var(--filet);
  font-size: 14px; font-weight: 700; color: var(--accent) !important; text-decoration: none; }
@media (max-width: 640px) { .v-bandeau { display: block; } .v-pass { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.v-hero-texte { position: relative; text-align: center; padding-top: 56px; }
.v-pastille { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; color: var(--sur-fond); }
.v-pouls { width: 8px; height: 8px; border-radius: 999px; background: var(--clair); animation: v-pouls 1.8s ease-out infinite; }
.v-h1 { font-weight: 800; font-size: clamp(38px, 6.2vw, 86px); line-height: 1.04; letter-spacing: -0.035em; margin: 28px auto 0; max-width: 1100px; }
.v-mot { display: none; color: var(--clair); }
.v-mot.on { display: inline-block; animation: v-mot .5s cubic-bezier(.2,.7,.2,1) both; }
.v-hero-chapo { font-size: 19px; line-height: 1.55; color: var(--sur-fond); margin: 24px auto 0; max-width: 660px; }
.v-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.v-note { margin: 16px 0 0; font-size: 14px; color: var(--sur-fond-2); }

.v-onglets { position: relative; max-width: 1080px; margin: 56px auto 0; padding: 0 24px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.v-onglet { all: unset; cursor: pointer; box-sizing: border-box; text-align: left; padding: 0 0 12px; }
.v-onglet .barre { height: 3px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.v-onglet .barre i { display: block; height: 100%; background: var(--couleur, var(--clair)); transform: scaleX(0); transform-origin: left; }
.v-onglet.on .barre i { animation: v-jauge var(--duree, 6s) linear both; }
.v-onglet .nom { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--sur-fond-2); }
.v-onglet .sous { margin-top: 3px; font-size: 14px; color: var(--sur-fond-3); }
.v-onglet.on .nom { color: #FFFFFF; }
.v-onglet.on .sous { color: var(--sur-fond); }

.v-lien-hero { position: relative; text-align: center; margin-top: 16px; }
.v-lien-hero a { display: none; color: var(--clair); }
.v-lien-hero a.on { display: inline-flex; }

.v-scene { position: relative; max-width: 1180px; margin: 18px auto 0; padding: 0 24px; }
.v-fenetre { background: #FFFFFF; border-radius: 16px 16px 0 0; border: 1px solid rgba(255,255,255,.18); border-bottom: none;
  box-shadow: 0 -20px 80px rgba(0,0,0,.38); overflow: hidden; }
.v-barre-fenetre { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #EEF2F0; border-bottom: 1px solid var(--filet-2); }
.v-prune .v-barre-fenetre { background: #F4EEF2; }
.v-barre-fenetre .pt { width: 11px; height: 11px; border-radius: 999px; background: #D6DEDA; }
.v-barre-fenetre .adr { margin: 0 auto; font-size: 12px; color: var(--texte-3); background: #FFFFFF; border-radius: 6px; padding: 4px 40px; }
.v-ecran { position: relative; height: clamp(280px, 45vw, 560px); background: #FFFFFF; }
.v-fondu { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.v-fondu.on { opacity: 1; }
img.v-fondu, picture.v-fondu img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.v-telephones { background: #F6EEE6; display: flex; align-items: flex-start; justify-content: center; gap: 40px; padding: 36px 24px 0; overflow: hidden; }
.v-telephones img { width: 250px; height: auto; border-radius: 30px; border: 8px solid #1A3A3A; display: block; }
.v-telephones img + img { margin-top: 60px; }

/* ── Bandeau qui défile ──────────────────────────────────────────────────── */
.v-defile { background: var(--fond-2); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 20px 0; }
.v-piste { display: flex; width: max-content; animation: v-defile 58s linear infinite; list-style: none; margin: 0; padding: 0; }
.v-piste li { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; font-size: 15px; color: var(--sur-fond); white-space: nowrap; }

/* ── Listes à coches ─────────────────────────────────────────────────────── */
.v-coches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.v-coches li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--texte-2); }
.v-coches svg { flex: none; margin-top: 3px; }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes v-mot { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@keyframes v-jauge { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes v-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes v-pouls { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
@keyframes v-entree { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.v-entree.on, [data-panneau].on { animation: v-entree .45s cubic-bezier(.2,.7,.2,1) both; }
[data-panneau]:not(.on) { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v-piste, .v-pouls, .v-mot.on, .v-onglet.on .barre i, .v-entree.on, [data-panneau].on { animation: none; }
  .v-onglet.on .barre i { transform: scaleX(1); }
  .v-fondu { transition: none; }
}

/* ── Pied de page ────────────────────────────────────────────────────────── */
.v-pied { background: var(--fond-2); border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.v-pied .haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-block: 56px 28px; }
.v-pied .marque { flex: 1 1 260px; }
.v-pied .marque img { height: 26px; width: auto; display: block; }
.v-pied .marque p { margin: 16px 0 0; color: var(--sur-fond-2); line-height: 1.6; max-width: 300px; }
.v-pied .col { flex: 0 1 220px; }
.v-pied .col h2 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sur-fond-3); }
.v-pied ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.v-pied li a, .v-pied li span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--sur-fond); text-decoration: none; }
.v-pied li a:hover { color: #FFFFFF; }
.v-pied li span { color: var(--sur-fond-3); }
.v-pied .bas { padding-block: 18px 30px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--sur-fond-3); }

/* ── Menu du téléphone ───────────────────────────────────────────────────── */
.v-burger { display: none; }
.v-mobile-seul { display: none; }
.v-entete-droite { display: flex; align-items: center; gap: 6px; }
.v-entete-droite > a.v-connexion { display: none; }
.v-burger > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; color: #FFFFFF; }
.v-burger > summary::-webkit-details-marker { display: none; }
.v-burger[open] > summary { background: rgba(255,255,255,.12); }
.v-burger .ferme { display: none; }
.v-burger[open] .ouvre { display: none; }
.v-burger[open] .ferme { display: block; }
.v-burger-panneau { position: absolute; left: 16px; right: 16px; top: calc(100% - 6px); z-index: 70; background: #FFFFFF; color: var(--texte);
  border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 10px; }
.v-burger-panneau .grp { padding: 6px 8px 10px; border-bottom: 1px solid var(--filet); }
.v-burger-panneau .grp:last-child { border-bottom: none; padding-bottom: 6px; }
.v-burger-panneau .tit { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-3); padding: 8px 6px 4px; }
.v-burger-panneau a:not(.v-btn) { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 6px; font-size: 16px; font-weight: 600;
  color: var(--texte) !important; text-decoration: none; border-radius: 10px; }
.v-burger-panneau a:not(.v-btn)[aria-current="page"] { background: var(--papier); }
.v-burger-panneau .v-btn { width: 100%; justify-content: center; margin-top: 8px; }
.v-burger-panneau .v-btn-fonce { background: var(--accent); color: #FFFFFF !important; }

/* ════════════════════════════════════════════════════════════════════════
   TÉLÉPHONE (720 px et moins)
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  .v-boite { padding-inline: 20px; }
  .v-nav { display: none; }
  .v-burger { display: block; }
  .v-entete-droite > a.v-connexion { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--sur-fond);
    font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .v-entete .logo { min-width: 0; flex-shrink: 1; }
  .v-entete .logo img { max-width: 100%; }
  .v-prune .v-entete .logo img { height: 22px; }
  .v-entete { padding-block: 12px; gap: 8px; flex-wrap: nowrap; }
  .v-entete .logo img { height: 26px; }
  .v-mobile-seul { display: revert; }
  .v-ordi-seul { display: none !important; }

  /* Titres et rythme */
  .v-section, .v-pad, .v-pad-100 { padding: 64px 0; }
  .v-h2 { font-size: 30px !important; line-height: 1.1; }
  .v-chapo, .v-entete-section p { font-size: 16px; }
  .v-entete-section { gap: 14px; }

  /* Hero */
  .v-hero-texte { padding-top: 28px; }
  .v-pastille { font-size: 13px; padding: 6px 14px; }
  .v-h1 { font-size: clamp(36px, 10.5vw, 46px); margin-top: 20px; }
  .v-hero-chapo { font-size: 17px; margin-top: 18px; }
  .v-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-inline: auto; margin-top: 26px; gap: 10px; }
  .v-actions .v-btn { justify-content: center; }
  .v-note { font-size: 13px; }

  /* Onglets du hero : une ligne qui glisse */
  .v-onglets { display: flex; gap: 18px; margin-top: 40px; padding: 0 20px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .v-onglets::-webkit-scrollbar { display: none; }
  .v-onglet { flex: 0 0 auto; min-width: 110px; scroll-snap-align: start; }
  .v-onglet .nom { font-size: 15px; }
  .v-onglet .sous, .v-onglet .pre { display: none; }

  /* L'écran devient un téléphone, avec les vraies captures mobiles */
  .v-scene { max-width: 300px; padding: 0; margin-top: 20px !important; }
  .v-fenetre { border-radius: 40px 40px 0 0; border: 9px solid #0B0B0B; border-bottom: none;
    box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 -20px 60px rgba(0,0,0,.45); }
  .v-barre-fenetre { display: none; }
  .v-ecran { height: auto; aspect-ratio: 585 / 996; }  /* le format des captures mobiles : rien n'est rogné */
  .v-telephones { padding: 0; background: #FFFFFF; }
  .v-telephones img { width: 100%; border: 0; border-radius: 0; }
  .v-telephones img + img { display: none; }

  /* Bandeau qui défile */
  .v-defile { padding: 16px 0; }
  .v-piste li { font-size: 14px; padding: 0 20px; }

  /* Pied de page */
  .v-pied .haut { gap: 28px; padding-block: 44px 20px; }
  .v-pied .col { flex: 1 1 140px; }

  /* Listes repliables : le titre devient un bouton */
  details[data-replie-mobile] > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; min-height: 48px; }
  details[data-replie-mobile] > summary::-webkit-details-marker { display: none; }
  details[data-replie-mobile] > summary .chev { flex: none; transition: transform .2s ease; }
  details[data-replie-mobile][open] > summary .chev { transform: rotate(180deg); }

  /* Blocs à onglets : un seul visible */
  [data-mobile-un]:not(.on) { display: none !important; }
  .v-segments { display: flex; gap: 6px; background: var(--teinte); border-radius: 999px; padding: 5px; margin-top: 28px;
    overflow-x: auto; scrollbar-width: none; }
  .v-segments::-webkit-scrollbar { display: none; }
  .v-segments button { all: unset; cursor: pointer; box-sizing: border-box; flex: 1 0 auto; text-align: center; padding: 0 12px; min-height: 42px;
    border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--texte-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
  .v-segments .v-point { display: none; }
  .v-segments button.on { background: #FFFFFF; color: var(--texte); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
}
@media (min-width: 721px) {
  /* Sur ordinateur, la liste reste ouverte : le bouton disparaît, ou n'est plus qu'un titre. */
  details[data-replie-mobile] > summary:not(.titre-fixe) { display: none; }
  details[data-replie-mobile] > summary.titre-fixe { display: block; list-style: none; pointer-events: none; cursor: default; }
  details[data-replie-mobile] > summary.titre-fixe::-webkit-details-marker { display: none; }
  details[data-replie-mobile] > summary.titre-fixe .chev { display: none; }
  .v-segments { display: none; }
}
