/* ═══════════════════════════════════════════════════════════
   Vincidium — création de sites pour les commerces de proximité
   Feuille commune aux pages /creation-site/, /realisations/,
   /offre/ et /contact/. Mobile d'abord, clair par défaut,
   sombre si le système le demande.
   ═══════════════════════════════════════════════════════════ */

/* Polices servies depuis le site (fichiers variables, sous-ensemble latin) */
@font-face{
  font-family:"Bricolage Grotesque"; font-style:normal; font-weight:600 700; font-display:swap;
  src:url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
}
@font-face{
  font-family:"DM Sans"; font-style:normal; font-weight:400 700; font-display:swap;
  src:url("/assets/fonts/dm-sans.woff2") format("woff2");
}

:root{
  --fond:#FAF6EF;
  --fond-2:#F3EDE2;
  --surface:#FFFFFF;
  --encre:#1F1B2E;
  --texte-doux:#575168;
  --trait:#E4DCCD;
  --accent:#4F3FD6;
  --accent-fonce:#3B2DAE;
  --accent-doux:#ECE9FC;
  --sur-accent:#FFFFFF;
  --ok:#17693F;
  --ok-doux:#E2F3E8;
  --alerte:#A8281F;
  --alerte-doux:#FBE9E6;
  --attente:#7A5200;
  --attente-doux:#FBF0D6;
  --ombre:0 1px 2px rgba(31,27,46,.05), 0 8px 24px -12px rgba(31,27,46,.18);
  --rayon:16px;
  --rayon-petit:10px;
  --largeur:1120px;
  --police-titre:"Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --police-texte:"DM Sans", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark){
  :root{
    --fond:#14121C;
    --fond-2:#1A1725;
    --surface:#1F1C2C;
    --encre:#F3F0FA;
    --texte-doux:#B9B3CC;
    --trait:#353049;
    --accent:#A69BFF;
    --accent-fonce:#C2BAFF;
    --accent-doux:#2A2547;
    --sur-accent:#14121C;
    --ok:#7ADBA6;
    --ok-doux:#17301F;
    --alerte:#FF9A8F;
    --alerte-doux:#3A1B18;
    --attente:#F2C96B;
    --attente-doux:#33290F;
    --ombre:0 1px 2px rgba(0,0,0,.3), 0 10px 28px -14px rgba(0,0,0,.6);
  }
}

/* ─── Base ─── */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--fond);
  color:var(--encre);
  font-family:var(--police-texte);
  font-size:17px;
  line-height:1.6;
  overflow-x:hidden;
}
/* Le pied de page reste sous l'écran pendant que les données arrivent : pas de saut de mise en page */
main{ min-height:100vh; }
img,svg,iframe{ max-width:100%; }
img{ height:auto; display:block; }
h1,h2,h3{ font-family:var(--police-titre); line-height:1.15; margin:0 0 .5em; letter-spacing:-.01em; }
h1{ font-size:clamp(2rem, 6.2vw, 3.4rem); font-weight:700; }
h2{ font-size:clamp(1.55rem, 4.2vw, 2.3rem); font-weight:700; }
h3{ font-size:1.2rem; font-weight:600; }
p{ margin:0 0 1em; }
figure{ margin:0; }
a{ color:var(--accent); text-underline-offset:3px; }
a:hover{ color:var(--accent-fonce); }
ul,ol{ margin:0 0 1em; padding-left:1.2em; }
:focus-visible{ outline:3px solid var(--accent); outline-offset:3px; border-radius:6px; }
[hidden]{ display:none !important; }

.conteneur{ width:min(var(--largeur), 100% - 40px); margin-inline:auto; }
.etroit{ max-width:760px; }
.section{ padding:56px 0; }
.section-alt{ background:var(--fond-2); }
.sur-titre{
  display:inline-block; margin-bottom:12px;
  font-size:.82rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent);
}
.chapo{ font-size:1.1rem; color:var(--texte-doux); max-width:60ch; }
.doux{ color:var(--texte-doux); }
.petit{ font-size:.9rem; }
.centre{ text-align:center; }
.centre .chapo{ margin-inline:auto; }

/* Texte réservé aux lecteurs d'écran */
.lecteur{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

.lien-evitement{
  position:absolute; left:12px; top:-60px; z-index:100;
  background:var(--accent); color:var(--sur-accent); padding:10px 16px; border-radius:8px;
}
.lien-evitement:focus{ top:12px; color:var(--sur-accent); }

/* ─── Boutons ─── */
.bouton{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; padding:12px 22px;
  border:2px solid transparent; border-radius:999px;
  font:600 1rem/1.2 var(--police-texte);
  text-decoration:none; text-align:center; cursor:pointer;
  transition:background-color .15s, border-color .15s, color .15s, transform .15s;
}
.bouton-plein{ background:var(--accent); color:var(--sur-accent); }
.bouton-plein:hover{ background:var(--accent-fonce); color:var(--sur-accent); }
.bouton-contour{ background:transparent; color:var(--encre); border-color:var(--trait); }
.bouton-contour:hover{ border-color:var(--accent); color:var(--accent); }
.bouton-grand{ min-height:56px; padding:14px 28px; font-size:1.08rem; }
.bouton-bloc{ width:100%; }
.bouton:active{ transform:translateY(1px); }
.bouton[disabled], .bouton[aria-disabled="true"]{ opacity:.5; cursor:not-allowed; transform:none; }

/* ─── En-tête ─── */
.entete{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--fond) 92%, transparent);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--trait);
}
.entete-ligne{ display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px; }
.marque{
  display:inline-flex; align-items:center; gap:10px; min-height:44px;
  font:700 1.2rem var(--police-titre); color:var(--encre); text-decoration:none;
}
.marque svg{ width:26px; height:26px; color:var(--accent); flex-shrink:0; }
.marque:hover{ color:var(--encre); }
.bouton-menu{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-width:48px; min-height:48px; padding:0 12px;
  background:transparent; border:2px solid var(--trait); border-radius:12px;
  color:var(--encre); font:600 .95rem var(--police-texte); cursor:pointer;
}
.bouton-menu .barres{ display:grid; gap:4px; width:18px; }
.bouton-menu .barres i{ display:block; height:2px; background:currentColor; border-radius:2px; }
.navigation{
  display:none;
  position:absolute; left:0; right:0; top:100%;
  background:var(--fond); border-bottom:1px solid var(--trait);
  padding:8px 20px 20px;
}
.navigation.ouverte{ display:block; }
.navigation ul{ list-style:none; margin:0; padding:0; }
.navigation a{
  display:flex; align-items:center; min-height:48px;
  color:var(--encre); text-decoration:none; font-weight:500;
  border-bottom:1px solid var(--trait);
}
.navigation a[aria-current="page"]{ color:var(--accent); font-weight:700; }
.navigation .bouton{ margin-top:14px; width:100%; border-bottom:2px solid transparent; color:var(--sur-accent); }

@media (min-width:900px){
  .bouton-menu{ display:none; }
  .navigation{ display:block; position:static; background:none; border:0; padding:0; }
  .navigation ul{ display:flex; align-items:center; gap:4px; }
  .navigation a{ border:0; padding:0 14px; min-height:44px; border-radius:999px; }
  .navigation a:hover{ color:var(--accent); }
  .navigation .bouton{ margin:0 0 0 10px; width:auto; min-height:44px; padding:8px 20px; }
  .navigation .bouton:hover{ color:var(--sur-accent); }
}

/* ─── Accroche ─── */
.accroche{ padding:44px 0 56px; }
.accroche-grille{ display:grid; gap:40px; align-items:center; }
.accroche-grille > *{ min-width:0; }
.accroche h1 em{ font-style:normal; color:var(--accent); }
.accroche-actions{ display:flex; flex-wrap:wrap; gap:12px; margin:26px 0 18px; }
.accroche-points{ list-style:none; padding:0; margin:0; display:grid; gap:8px; color:var(--texte-doux); font-size:.98rem; }
.accroche-points li{ display:flex; gap:10px; align-items:flex-start; }
.accroche-points li::before{
  content:""; flex:0 0 18px; height:18px; margin-top:4px; border-radius:50%;
  background:var(--ok-doux) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><path d="M5 9.4l2.6 2.6L13 6.6" fill="none" stroke="%2317693F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}

/* Illustration : schéma d'un site sur téléphone (décor, pas une réalisation) */
.maquette{ justify-self:center; width:min(280px, 78vw); }
.telephone{
  border:10px solid var(--encre); border-radius:38px; background:var(--surface);
  overflow:hidden; box-shadow:var(--ombre); aspect-ratio:9/17.5; position:relative;
}
.telephone iframe{ width:100%; height:100%; border:0; display:block; background:#fff; }
.schema{ display:grid; gap:12px; padding:0 0 16px; }
.schema .bandeau{ height:92px; background:var(--accent); display:flex; align-items:flex-end; padding:12px 14px; }
.schema .bandeau b{ color:var(--sur-accent); font:700 1.05rem var(--police-titre); }
.schema .ligne{ height:10px; margin:0 14px; border-radius:6px; background:var(--trait); }
.schema .ligne.courte{ width:55%; }
.schema .pastilles{ display:flex; gap:8px; margin:4px 14px; }
.schema .pastilles span{
  flex:1; padding:9px 4px; border-radius:10px; background:var(--accent-doux);
  color:var(--encre); font-size:.72rem; font-weight:600; text-align:center;
}
.schema .vignettes{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0 14px; }
.schema .vignettes i{ display:block; aspect-ratio:4/3; border-radius:10px; background:var(--fond-2); border:1px solid var(--trait); }
.schema .appel{
  margin:4px 14px 0; padding:11px; border-radius:999px; background:var(--encre); color:var(--fond);
  font-size:.8rem; font-weight:700; text-align:center;
}
.maquette figcaption{ margin-top:12px; text-align:center; font-size:.85rem; color:var(--texte-doux); }

@media (min-width:900px){
  .accroche{ padding:72px 0 84px; }
  .accroche-grille{ grid-template-columns:1.25fr .75fr; gap:56px; }
  .section{ padding:84px 0; }
}

/* ─── Cartes génériques ─── */
.carte{
  background:var(--surface); border:1px solid var(--trait); border-radius:var(--rayon);
  padding:24px; box-shadow:var(--ombre);
}
.grille{ display:grid; gap:18px; }
.grille > *{ min-width:0; }
@media (min-width:700px){ .grille-2{ grid-template-columns:1fr 1fr; } }
@media (min-width:900px){ .grille-3{ grid-template-columns:repeat(3, 1fr); } .grille-4{ grid-template-columns:repeat(4, 1fr); } }
@media (min-width:600px) and (max-width:899px){ .grille-4{ grid-template-columns:1fr 1fr; } }

/* ─── Formules (chargées depuis l'API) ─── */
.formule{ display:flex; flex-direction:column; gap:10px; }
.formule h3{ margin:0; font-size:1.35rem; }
.formule .pour{ color:var(--texte-doux); margin:0; flex:1; }
.formule .prix{ margin:8px 0 4px; font-size:.95rem; color:var(--texte-doux); }
.formule .prix strong{ display:block; font:700 2rem/1.1 var(--police-titre); color:var(--encre); }
.note-tva{ margin-top:18px; font-size:.9rem; color:var(--texte-doux); }

/* États de chargement / indisponibilité */
.etat{
  padding:22px; border:1px dashed var(--trait); border-radius:var(--rayon);
  background:var(--surface); color:var(--texte-doux); text-align:center;
}
.etat a{ font-weight:600; }
.squelette{ position:relative; overflow:hidden; }
.squelette::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--trait) 60%, transparent), transparent);
  animation:balayage 1.4s infinite;
}
@keyframes balayage{ from{ transform:translateX(-100%);} to{ transform:translateX(100%);} }

/* Options */
.liste-options{ list-style:none; margin:0; padding:0; border:1px solid var(--trait); border-radius:var(--rayon); background:var(--surface); overflow:hidden; }
.liste-options li{ display:flex; justify-content:space-between; gap:16px; padding:14px 18px; border-bottom:1px solid var(--trait); }
.liste-options li:last-child{ border-bottom:0; }
.liste-options b{ white-space:nowrap; font-weight:700; }

/* ─── Étapes ─── */
.etapes{ list-style:none; margin:0; padding:0; counter-reset:etape; }
.etapes li{ counter-increment:etape; position:relative; padding:22px 22px 22px 74px; }
.etapes li::before{
  content:counter(etape); position:absolute; left:20px; top:20px;
  width:38px; height:38px; border-radius:50%;
  background:var(--accent); color:var(--sur-accent);
  font:700 1.1rem/38px var(--police-titre); text-align:center;
}
.etapes h3{ margin-bottom:6px; }
.etapes p{ margin:0; color:var(--texte-doux); }
@media (min-width:900px){
  .etapes li{ padding:74px 22px 24px; }
  .etapes li::before{ top:22px; left:22px; }
}

/* ─── Abonnement ─── */
.abonnement{ display:grid; gap:24px; align-items:center; }
.abonnement > *{ min-width:0; }
.abonnement .tarif{ font:700 2.6rem/1 var(--police-titre); }
.abonnement .tarif small{ font:500 1rem var(--police-texte); color:var(--texte-doux); }
.faits{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.faits li{ padding-left:28px; position:relative; }
.faits li::before{ content:""; position:absolute; left:4px; top:.55em; width:10px; height:10px; border-radius:50%; background:var(--accent); }
@media (min-width:800px){ .abonnement{ grid-template-columns:.8fr 1.2fr; } }

/* ─── Réalisations ─── */
.realisation{ padding:0; overflow:hidden; display:flex; flex-direction:column; }
.realisation .vue{
  aspect-ratio:16/10; background:var(--fond-2); border-bottom:1px solid var(--trait);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.realisation .vue img{ width:100%; height:100%; object-fit:cover; object-position:top; }
.realisation .initiale{
  width:84px; height:84px; border-radius:24px; background:var(--accent); color:var(--sur-accent);
  font:700 2.4rem/84px var(--police-titre); text-align:center;
}
.realisation .corps{ padding:18px 20px 20px; display:flex; flex-direction:column; gap:6px; flex:1; }
.realisation h3{ margin:0; }
.realisation .lieu{ margin:0; color:var(--texte-doux); font-size:.95rem; }
.realisation .bouton{ margin-top:12px; align-self:flex-start; }
.etiquette{
  display:inline-block; align-self:flex-start; padding:3px 10px; border-radius:999px;
  background:var(--accent-doux); color:var(--encre); font-size:.8rem; font-weight:600;
}
.filtres{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; }
.filtres button{
  min-height:44px; padding:8px 16px; border-radius:999px; cursor:pointer;
  border:2px solid var(--trait); background:transparent; color:var(--encre);
  font:600 .95rem var(--police-texte);
}
.filtres button[aria-pressed="true"]{ background:var(--encre); border-color:var(--encre); color:var(--fond); }

/* ─── FAQ ─── */
.faq details{ border-bottom:1px solid var(--trait); }
.faq summary{
  list-style:none; cursor:pointer; min-height:56px; padding:14px 40px 14px 0; position:relative;
  display:flex; align-items:center; font:600 1.08rem var(--police-titre);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"+"; position:absolute; right:6px; top:50%; transform:translateY(-50%);
  font:400 1.6rem/1 var(--police-texte); color:var(--accent);
}
.faq details[open] summary::after{ content:"–"; }
.faq .reponse{ padding:0 0 18px; color:var(--texte-doux); }
.faq .reponse p:last-child{ margin-bottom:0; }

/* ─── Bandeau d'appel ─── */
.appel-final{ background:var(--encre); color:var(--fond); border-radius:24px; padding:36px 24px; text-align:center; }
.appel-final h2{ color:var(--fond); }
.appel-final p{ color:color-mix(in srgb, var(--fond) 80%, var(--encre)); max-width:52ch; margin-inline:auto; }
.appel-final .bouton-plein{ background:var(--fond); color:var(--encre); }
.appel-final .bouton-plein:hover{ background:var(--accent-doux); color:var(--encre); }
.appel-final a:not(.bouton){ color:var(--fond); }
@media (prefers-color-scheme: dark){
  .appel-final{ background:var(--accent-doux); }
  .appel-final, .appel-final h2{ color:var(--encre); }
  .appel-final p{ color:var(--texte-doux); }
  .appel-final .bouton-plein{ background:var(--accent); color:var(--sur-accent); }
  .appel-final .bouton-plein:hover{ background:var(--accent-fonce); color:var(--sur-accent); }
  .appel-final a:not(.bouton){ color:var(--accent); }
}
@media (min-width:900px){ .appel-final{ padding:56px 40px; } }

/* ─── Formulaires ─── */
.formulaire{ display:grid; gap:16px; }
.champ{ display:grid; gap:6px; min-width:0; }
.champ label, .groupe legend{ font-weight:600; font-size:.95rem; }
.champ .aide{ font-size:.85rem; color:var(--texte-doux); }
.champ input, .champ select, .champ textarea{
  width:100%; min-height:48px; padding:11px 14px;
  border:2px solid var(--trait); border-radius:var(--rayon-petit);
  background:var(--surface); color:var(--encre);
  font:400 1rem var(--police-texte);
}
.champ textarea{ min-height:130px; resize:vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus{ border-color:var(--accent); outline:none; box-shadow:0 0 0 3px var(--accent-doux); }
.champ [aria-invalid="true"]{ border-color:var(--alerte); }
.deux-colonnes{ display:grid; gap:16px; }
.deux-colonnes > *{ min-width:0; }
@media (min-width:640px){ .deux-colonnes{ grid-template-columns:1fr 1fr; } }
.groupe{ border:0; margin:0; padding:0; min-width:0; }
.choix{ display:grid; gap:8px; margin-top:8px; }
@media (min-width:640px){ .choix{ grid-template-columns:1fr 1fr; } }
.choix label{
  display:flex; align-items:center; gap:10px; min-height:48px; padding:8px 14px; cursor:pointer;
  border:2px solid var(--trait); border-radius:var(--rayon-petit); background:var(--surface); font-weight:500;
}
.choix input{ width:20px; height:20px; accent-color:var(--accent); flex-shrink:0; }
.choix label:has(input:checked){ border-color:var(--accent); background:var(--accent-doux); }
/* Champ piège anti-robot : hors écran, jamais rempli par un humain */
.piege{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
.message{ padding:14px 16px; border-radius:var(--rayon-petit); font-weight:500; }
.message-ok{ background:var(--ok-doux); color:var(--ok); }
.message-erreur{ background:var(--alerte-doux); color:var(--alerte); }
.message-info{ background:var(--attente-doux); color:var(--attente); }
.coche{ display:flex; gap:12px; align-items:flex-start; cursor:pointer; padding:6px 0; }
.coche input{ width:24px; height:24px; margin-top:2px; accent-color:var(--accent); flex-shrink:0; }

/* ─── Page proposition (/offre/) ─── */
.offre-entete{ padding:36px 0 8px; }
.offre-entete .lieu{ color:var(--texte-doux); font-size:1.05rem; margin-bottom:22px; }
.offre-grille{ display:grid; gap:28px; }
.offre-grille > *{ min-width:0; }
.offre-colonne{ display:grid; gap:22px; align-content:start; }
.offre-colonne > *{ min-width:0; }
.apercu-demo{ display:none; }
@media (min-width:1024px){
  .offre-grille{ grid-template-columns:minmax(0,1fr) 300px; gap:48px; align-items:start; }
  .apercu-demo{ display:block; position:sticky; top:96px; }
  .apercu-demo .telephone{ width:300px; }
  .apercu-demo p{ text-align:center; font-size:.85rem; color:var(--texte-doux); margin-top:10px; }
}
.bandeau{ padding:16px 18px; border-radius:var(--rayon); font-weight:600; margin-bottom:18px; }
.bandeau p{ margin:0; font-weight:400; }
.bandeau-ok{ background:var(--ok-doux); color:var(--ok); }
.bandeau-attente{ background:var(--attente-doux); color:var(--attente); }
.bandeau-neutre{ background:var(--fond-2); color:var(--encre); border:1px solid var(--trait); }

.tableau-prix{ width:100%; border-collapse:collapse; font-size:.98rem; }
.tableau-prix caption{ text-align:left; font:600 1.2rem var(--police-titre); margin-bottom:12px; }
.tableau-prix th, .tableau-prix td{ padding:12px 0; border-bottom:1px solid var(--trait); text-align:left; vertical-align:top; }
.tableau-prix thead th{ font-size:.8rem; text-transform:uppercase; letter-spacing:.05em; color:var(--texte-doux); font-weight:600; }
.tableau-prix .nombre{ text-align:right; white-space:nowrap; padding-left:14px; font-variant-numeric:tabular-nums; }
.tableau-prix tfoot th{ font-weight:500; }
.tableau-prix tfoot tr.total th, .tableau-prix tfoot tr.total td{ font-weight:700; font-size:1.08rem; }
.tableau-prix tfoot tr.maintenant th, .tableau-prix tfoot tr.maintenant td{ color:var(--accent); font-weight:700; font-size:1.12rem; border-bottom:0; }
.tableau-prix .qte{ color:var(--texte-doux); font-size:.88rem; display:block; }
.definitions{ margin:0; display:grid; gap:10px; }
.definitions div{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 16px; padding-bottom:10px; border-bottom:1px solid var(--trait); }
.definitions div:last-child{ border-bottom:0; padding-bottom:0; }
.definitions dt{ color:var(--texte-doux); }
.definitions dd{ margin:0; font-weight:600; text-align:right; overflow-wrap:anywhere; }

.frise{ list-style:none; margin:0; padding:0; display:grid; gap:0; }
.frise li{ position:relative; padding:0 0 22px 40px; color:var(--texte-doux); }
.frise li:last-child{ padding-bottom:0; }
.frise li::before{
  content:""; position:absolute; left:4px; top:2px; width:20px; height:20px; border-radius:50%;
  border:2px solid var(--trait); background:var(--surface);
}
.frise li::after{ content:""; position:absolute; left:13px; top:24px; bottom:0; width:2px; background:var(--trait); }
.frise li:last-child::after{ display:none; }
.frise li.fait{ color:var(--encre); font-weight:600; }
.frise li.fait::before{
  border-color:var(--ok); background:var(--ok) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.5 10.4l3 3 6-6.2" fill="none" stroke="white" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}
.frise li.fait::after{ background:var(--ok); }
.frise li.en-cours::before{ border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-doux); }
@media (min-width:700px){
  .frise{ grid-template-columns:repeat(3, 1fr); }
  .frise li{ padding:34px 12px 0 0; }
  .frise li::before{ left:0; top:0; }
  .frise li::after{ left:26px; right:6px; top:10px; bottom:auto; width:auto; height:2px; }
}
.paiement-sur{ display:flex; align-items:center; justify-content:center; gap:8px; margin:12px 0 0; font-size:.9rem; color:var(--texte-doux); }
.paiement-sur svg{ width:16px; height:16px; flex-shrink:0; }
.vendeur{ font-size:.92rem; color:var(--texte-doux); }
.vendeur strong{ color:var(--encre); }

/* ─── Pied de page ─── */
.pied{ border-top:1px solid var(--trait); padding:40px 0 28px; margin-top:24px; font-size:.95rem; }
.pied-grille{ display:grid; gap:28px; }
.pied-grille > *{ min-width:0; }
@media (min-width:760px){ .pied-grille{ grid-template-columns:1.4fr 1fr 1fr 1fr; } }
.pied h2{ font:700 .82rem var(--police-texte); letter-spacing:.06em; text-transform:uppercase; color:var(--texte-doux); margin-bottom:10px; }
.pied ul{ list-style:none; margin:0; padding:0; }
.pied li a{ display:inline-flex; align-items:center; min-height:40px; color:var(--encre); text-decoration:none; }
.pied li a:hover{ color:var(--accent); text-decoration:underline; }
.pied p{ color:var(--texte-doux); max-width:38ch; }
.pied-bas{ margin-top:28px; padding-top:18px; border-top:1px solid var(--trait); color:var(--texte-doux); font-size:.88rem; }

/* ─── Mouvement : discret, et coupé si l'utilisateur le demande ─── */
/* Le contenu reste toujours lisible : l'animation ne joue que sur la position, jamais sur l'opacité. */
.apparait{ animation:apparition .4s ease-out; }
@keyframes apparition{ from{ transform:translateY(8px);} to{ transform:none;} }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation:none !important; transition:none !important; }
}

/* ═══════════════════════════════════════════════════════════
   Espace client et panel d'administration
   ═══════════════════════════════════════════════════════════ */

/* Onglets */
.onglets{ display:flex; gap:6px; overflow-x:auto; padding:4px 0 10px; margin:0 0 20px; border-bottom:1px solid var(--trait); scrollbar-width:thin; }
.onglets button{
  flex:0 0 auto; min-height:44px; padding:8px 16px; border-radius:999px; cursor:pointer;
  border:2px solid transparent; background:transparent; color:var(--texte-doux);
  font:600 .98rem var(--police-texte); white-space:nowrap;
}
.onglets button:hover{ color:var(--encre); }
.onglets button[aria-selected="true"]{ background:var(--encre); color:var(--fond); }
.onglets .pastille{
  display:inline-block; min-width:20px; margin-left:6px; padding:1px 6px; border-radius:999px;
  background:var(--accent); color:var(--sur-accent); font-size:.75rem; text-align:center;
}

/* Étiquettes d'état */
.etat-site{ display:inline-block; padding:3px 10px; border-radius:999px; font-size:.8rem; font-weight:700; white-space:nowrap; }
.etat-ok{ background:var(--ok-doux); color:var(--ok); }
.etat-attente{ background:var(--attente-doux); color:var(--attente); }
.etat-neutre{ background:var(--fond-2); color:var(--texte-doux); border:1px solid var(--trait); }
.etat-alerte{ background:var(--alerte-doux); color:var(--alerte); }

/* Carte d'un site */
.site-carte{ display:grid; gap:16px; }
.site-carte > *{ min-width:0; }
.site-tete{ display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:8px 16px; }
.site-tete h3{ margin:0; font-size:1.35rem; overflow-wrap:anywhere; }
.site-tete p{ margin:2px 0 0; color:var(--texte-doux); }
.actions{ display:flex; flex-wrap:wrap; gap:10px; }
.actions .bouton{ min-height:44px; padding:8px 18px; font-size:.95rem; }
.lien-discret{
  background:none; border:0; padding:8px 0; min-height:44px; cursor:pointer;
  color:var(--texte-doux); font:500 .9rem var(--police-texte); text-decoration:underline; text-underline-offset:3px;
}
.lien-discret:hover{ color:var(--alerte); }

/* Listes simples (demandes, messages) */
.liste{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.demande{ border:1px solid var(--trait); border-radius:var(--rayon-petit); padding:16px; background:var(--surface); }
.demande-tete{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 12px; margin-bottom:8px; font-size:.9rem; color:var(--texte-doux); }
.demande p{ margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.demande .reponse-admin{ margin-top:12px; padding:12px 14px; border-radius:var(--rayon-petit); background:var(--accent-doux); }
.demande .reponse-admin strong{ display:block; font-size:.82rem; margin-bottom:4px; }

/* Tableaux de données */
.defile{ overflow-x:auto; }
.tableau{ width:100%; border-collapse:collapse; font-size:.95rem; }
.tableau th, .tableau td{ padding:11px 12px 11px 0; border-bottom:1px solid var(--trait); text-align:left; vertical-align:top; }
.tableau th{ font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--texte-doux); font-weight:600; white-space:nowrap; }
.tableau td.nombre, .tableau th.nombre{ text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.tableau tr:last-child td{ border-bottom:0; }
.tableau .coupe{ max-width:340px; overflow-wrap:anywhere; white-space:pre-wrap; }

/* Fil d'assistance */
.fil{ display:grid; gap:10px; max-height:420px; overflow-y:auto; padding:4px 2px; }
.bulle{ max-width:85%; padding:10px 14px; border-radius:16px; white-space:pre-wrap; overflow-wrap:anywhere; }
.bulle small{ display:block; margin-top:4px; font-size:.75rem; opacity:.75; }
.bulle-moi{ justify-self:end; background:var(--accent); color:var(--sur-accent); border-bottom-right-radius:4px; }
.bulle-autre{ justify-self:start; background:var(--fond-2); border:1px solid var(--trait); border-bottom-left-radius:4px; }

/* Chiffres clés du panel */
.chiffres{ display:grid; gap:14px; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); }
.chiffre{ padding:18px; border:1px solid var(--trait); border-radius:var(--rayon); background:var(--surface); }
.chiffre strong{ display:block; font:700 2rem/1.1 var(--police-titre); }
.chiffre span{ color:var(--texte-doux); font-size:.9rem; }

.zone-danger{ border-color:color-mix(in srgb, var(--alerte) 40%, var(--trait)); }
.espace-pleine{ max-width:900px; }
