/* CRM MDA — feuille unique, sans chaine d'assets. */

:root {
  --bg: #f6f5f2;
  --panel: #ffffff;
  --panel-2: #faf9f7;
  --ligne: #ebe8e3;
  --ligne-forte: #dcd8d1;
  --texte: #1a1814;
  --texte-2: #57534c;
  --texte-3: #8d877d;
  --rouge: #e30613;
  --rouge-2: #c20510;
  --rouge-doux: #fdecec;
  --jaune: #ffd400;
  --jaune-doux: #fff8d6;
  --vert: #178a4c;
  --vert-doux: #e6f5ec;
  --bleu: #2f5bd3;
  --bleu-doux: #eaf0fd;
  --ombre-1: 0 1px 0 rgba(26, 24, 20, .04), 0 1px 2px rgba(26, 24, 20, .06);
  --ombre-2: 0 12px 32px -12px rgba(26, 24, 20, .22), 0 2px 6px rgba(26, 24, 20, .06);
  --rayon: 14px;
  --rayon-s: 9px;
  --lat: 248px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f10; --panel: #17171a; --panel-2: #1c1c20; --ligne: #26262b; --ligne-forte: #34343a;
    --texte: #f2f1ee; --texte-2: #b9b6af; --texte-3: #7f7c76;
    --rouge: #ff4d57; --rouge-2: #ff6a72; --rouge-doux: #2c1517; --jaune: #ffd84d; --jaune-doux: #2a2512;
    --vert: #4fcf8a; --vert-doux: #132a1e; --bleu: #7ea2ff; --bleu-doux: #161f36;
    --ombre-1: 0 1px 0 rgba(0,0,0,.4); --ombre-2: 0 16px 40px -12px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f10; --panel: #17171a; --panel-2: #1c1c20; --ligne: #26262b; --ligne-forte: #34343a;
  --texte: #f2f1ee; --texte-2: #b9b6af; --texte-3: #7f7c76;
  --rouge: #ff4d57; --rouge-2: #ff6a72; --rouge-doux: #2c1517; --jaune: #ffd84d; --jaune-doux: #2a2512;
  --vert: #4fcf8a; --vert-doux: #132a1e; --bleu: #7ea2ff; --bleu-doux: #161f36;
  --ombre-1: 0 1px 0 rgba(0,0,0,.4); --ombre-2: 0 16px 40px -12px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--texte);
  font: 14.5px/1.55 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.mono, .num { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.s { width: 15px; height: 15px; }

/* ---------- Structure ---------- */
.app { display: grid; grid-template-columns: var(--lat) minmax(0, 1fr); min-height: 100vh; }
.lat {
  position: sticky; top: 0; height: 100vh; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--ligne); background: var(--panel-2);
}
.logo { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; }
.logo .pastille {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--jaune); color: #d0000c; font-weight: 800; font-size: 11px; letter-spacing: -.02em;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}
.logo b { display: block; font-size: 14.5px; letter-spacing: -.01em; }
.logo small { color: var(--texte-3); font-size: 12px; }
.lat .cherche {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; margin-bottom: 8px;
  border: 1px solid var(--ligne); border-radius: var(--rayon-s); background: var(--panel); color: var(--texte-3);
  font: inherit; cursor: pointer; box-shadow: var(--ombre-1);
}
.lat .cherche:hover { border-color: var(--ligne-forte); }
.lat .cherche span { flex: 1; text-align: left; }
kbd { font: 500 11px/1 "Geist Mono", monospace; padding: 3px 5px; border-radius: 5px; border: 1px solid var(--ligne); background: var(--panel-2); color: var(--texte-3); }
.nav-titre { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--texte-3); padding: 14px 10px 4px; }
.lat nav a {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--rayon-s);
  color: var(--texte-2); font-weight: 500;
}
.lat nav a:hover { background: var(--ligne); color: var(--texte); }
.lat nav a.actif { background: var(--panel); color: var(--texte); box-shadow: var(--ombre-1); border: 1px solid var(--ligne); padding: 6px 9px; }
.lat nav a .compte { margin-left: auto; font-size: 12px; color: var(--texte-3); }
.lat .bas { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.magasins { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--ligne); }
.magasins button {
  flex: 1; border: 0; background: transparent; color: var(--texte-2); padding: 6px 4px; border-radius: 7px;
  font: 500 12.5px/1.2 inherit; font-family: inherit; cursor: pointer;
}
.magasins button.actif { background: var(--panel); color: var(--texte); box-shadow: var(--ombre-1); }
.moi { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--rayon-s); }
.moi .avatar { --h: 5; }
.moi div { flex: 1; min-width: 0; line-height: 1.25; }
.moi small { color: var(--texte-3); font-size: 12px; }
.icone-bouton { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--texte-3); border: 0; background: none; cursor: pointer; }
.icone-bouton:hover { background: var(--ligne); color: var(--texte); }

.contenu { min-width: 0; padding: 28px clamp(16px, 4vw, 44px) 80px; max-width: 1320px; width: 100%; }
.entete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.entete h1 { margin: 0; font-size: 26px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; }
.entete p { margin: 4px 0 0; color: var(--texte-3); }
.fil { display: flex; align-items: center; gap: 6px; color: var(--texte-3); font-size: 13px; margin-bottom: 10px; }
.fil a:hover { color: var(--texte); }

/* Barre mobile */
.barre-mobile { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .lat { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 40; transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--ombre-2); }
  .app.menu-ouvert .lat { transform: none; }
  .barre-mobile {
    display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 30; padding: 10px 16px;
    background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ligne);
  }
  .barre-mobile .logo { padding: 0; }
  .barre-mobile .espace { flex: 1; }
  .contenu { padding: 20px 16px 80px; }
}

/* ---------- Composants ---------- */
.carte { background: var(--panel); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre-1); }
.carte-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 0; }
.carte-tete h2 { margin: 0; font-size: 14.5px; font-weight: 600; }
.carte-tete a { color: var(--texte-3); font-size: 13px; }
.carte-tete a:hover { color: var(--texte); }
.carte-corps { padding: 16px 18px 18px; }

.bouton {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: var(--rayon-s);
  border: 1px solid transparent; font: 550 14px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap;
  background: var(--texte); color: var(--bg); transition: transform .06s ease, background .15s;
}
.bouton:hover { opacity: .9; }
.bouton:active { transform: translateY(1px); }
.bouton.rouge { background: var(--rouge); color: #fff; }
.bouton.rouge:hover { background: var(--rouge-2); opacity: 1; }
.bouton.fantome { background: var(--panel); color: var(--texte); border-color: var(--ligne-forte); box-shadow: var(--ombre-1); }
.bouton.fantome:hover { background: var(--panel-2); opacity: 1; }
.bouton.petit { height: 30px; padding: 0 10px; font-size: 13px; }
.bouton.danger { background: none; color: var(--rouge); border-color: transparent; }

.avatar {
  --h: 200; display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  background: hsl(var(--h) 70% 92%); color: hsl(var(--h) 55% 32%);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .avatar { background: hsl(var(--h) 35% 22%); color: hsl(var(--h) 70% 80%); } }
:root[data-theme="dark"] .avatar { background: hsl(var(--h) 35% 22%); color: hsl(var(--h) 70% 80%); }
.avatar.g { width: 64px; height: 64px; font-size: 22px; }
.avatar.p { width: 28px; height: 28px; font-size: 11px; }

.etiq {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 12px; font-weight: 550; background: var(--panel-2); color: var(--texte-2); border: 1px solid var(--ligne); white-space: nowrap;
}
.etiq.pro { background: var(--bleu-doux); color: var(--bleu); border-color: transparent; }
.etiq.ok { background: var(--vert-doux); color: var(--vert); border-color: transparent; }
.etiq.jaune { background: var(--jaune-doux); color: #8a6d00; border-color: transparent; }
:root[data-theme="dark"] .etiq.jaune { color: var(--jaune); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .etiq.jaune { color: var(--jaune); } }
.etiq.rouge { background: var(--rouge-doux); color: var(--rouge); border-color: transparent; }
.point { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

input, select, textarea {
  width: 100%; font: inherit; color: var(--texte); background: var(--panel); border: 1px solid var(--ligne-forte);
  border-radius: var(--rayon-s); padding: 8px 11px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--texte-3); box-shadow: 0 0 0 4px color-mix(in srgb, var(--texte) 8%, transparent); }
textarea { min-height: 88px; resize: vertical; }
label.l { display: block; font-size: 12.5px; font-weight: 550; color: var(--texte-2); margin-bottom: 5px; }
.champ { margin-bottom: 14px; }
.grille-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }
.case { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--ligne); border-radius: var(--rayon-s); cursor: pointer; }
.case input { width: auto; accent-color: var(--rouge); }

.flash { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: var(--rayon-s); margin-bottom: 16px; font-weight: 500; }
.flash.succes { background: var(--vert-doux); color: var(--vert); }
.flash.erreur { background: var(--rouge-doux); color: var(--rouge); }

.vide { text-align: center; padding: 56px 20px; color: var(--texte-3); }
.vide svg.i { width: 34px; height: 34px; margin-bottom: 8px; }
.discret { color: var(--texte-3); }
.petit { font-size: 13px; }

/* ---------- Tableau de bord ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
@media (max-width: 1080px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { padding: 16px 18px; position: relative; overflow: hidden; }
.kpi .t { display: flex; align-items: center; gap: 8px; color: var(--texte-2); font-size: 13px; font-weight: 500; }
.kpi .t .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--ligne); }
.kpi .v { font-size: 30px; font-weight: 650; letter-spacing: -.03em; margin-top: 10px; line-height: 1; }
.kpi .s { color: var(--texte-3); font-size: 12.5px; margin-top: 6px; }
.kpi.accent { background: linear-gradient(135deg, var(--jaune) 0%, #ffe45c 100%); border-color: transparent; color: #1a1814; }
.kpi.accent .t, .kpi.accent .s { color: rgba(26, 24, 20, .7); }
.kpi.accent .t .ic { background: rgba(255, 255, 255, .5); border-color: transparent; }
.jauge { height: 6px; border-radius: 99px; background: var(--ligne); margin-top: 12px; overflow: hidden; }
.jauge i { display: block; height: 100%; border-radius: 99px; background: var(--texte); }

.duo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1080px) { .duo { grid-template-columns: 1fr; } }
.pile { display: flex; flex-direction: column; gap: 18px; }

.liste-l { list-style: none; margin: 0; padding: 6px 8px 8px; }
.liste-l li a, .liste-l li > div { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; }
.liste-l li a:hover { background: var(--panel-2); }
.liste-l .qui { flex: 1; min-width: 0; line-height: 1.3; }
.liste-l .qui b { display: block; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.liste-l .qui small { color: var(--texte-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.liste-l .quand { color: var(--texte-3); font-size: 12.5px; white-space: nowrap; }
.liste-l .quand.retard { color: var(--rouge); font-weight: 550; }

.barres { display: flex; flex-direction: column; gap: 10px; }
.barre { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 13.5px; }
.barre .fond { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--ligne); overflow: hidden; }
.barre .fond i { display: block; height: 100%; background: var(--rouge); border-radius: 99px; }
.barre .n { color: var(--texte-3); }

/* ---------- Liste clients ---------- */
.outils { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.recherche { position: relative; flex: 1 1 320px; }
.recherche svg.i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--texte-3); }
.recherche input { padding-left: 38px; height: 40px; border-radius: 11px; background: var(--panel); box-shadow: var(--ombre-1); }
.outils select { width: auto; height: 40px; border-radius: 11px; padding-right: 30px; box-shadow: var(--ombre-1); }
.puces { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.puces a {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--ligne-forte); background: var(--panel); color: var(--texte-2); font-size: 13px; font-weight: 500;
}
.puces a:hover { border-color: var(--texte-3); color: var(--texte); }
.puces a.actif { background: var(--texte); color: var(--bg); border-color: var(--texte); }

.tableau { width: 100%; border-collapse: separate; border-spacing: 0; }
.tableau th {
  text-align: left; font-size: 12px; font-weight: 550; color: var(--texte-3); padding: 12px 14px;
  border-bottom: 1px solid var(--ligne); background: var(--panel-2); position: sticky; top: 0;
}
.tableau th:first-child { border-top-left-radius: var(--rayon); }
.tableau th:last-child { border-top-right-radius: var(--rayon); }
.tableau td { padding: 11px 14px; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
.tableau tbody tr { cursor: pointer; transition: background .1s; }
.tableau tbody tr:hover { background: var(--panel-2); }
.tableau tbody tr:last-child td { border-bottom: 0; }
.tableau .qui { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.tableau .qui b { font-weight: 550; display: block; line-height: 1.25; }
.tableau .qui small { color: var(--texte-3); font-size: 12.5px; }
.tableau .coord { line-height: 1.35; font-size: 13.5px; }
.tableau .coord small { display: block; color: var(--texte-3); font-size: 12.5px; }
.col-mobile { display: none; }
@media (max-width: 760px) {
  .tableau thead { display: none; }
  .tableau td { display: none; }
  .tableau td.col-mobile, .tableau td:first-child { display: block; border: 0; padding: 0; }
  .tableau tbody tr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ligne); }
}
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--ligne); color: var(--texte-3); font-size: 13px; }
.pagination div { display: flex; gap: 6px; }
.chargement { opacity: .5; transition: opacity .15s; }

/* ---------- Fiche client ---------- */
.profil { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.profil .nom { flex: 1; min-width: 240px; }
.profil h1 { margin: 0 0 6px; font-size: 26px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; }
.profil .meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.actions-rapides { display: flex; gap: 8px; flex-wrap: wrap; }
.fiche { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1000px) { .fiche { grid-template-columns: 1fr; } }
.infos { list-style: none; margin: 0; padding: 4px 0; }
.infos li { display: flex; gap: 12px; padding: 11px 18px; align-items: flex-start; }
.infos li + li { border-top: 1px solid var(--ligne); }
.infos svg.i { color: var(--texte-3); margin-top: 2px; }
.infos .lib { display: block; font-size: 12px; color: var(--texte-3); line-height: 1.3; }
.infos .val { display: block; word-break: break-word; }
.infos a.val:hover { color: var(--rouge); }
.consent { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 18px 16px; }

.onglets { display: flex; gap: 4px; padding: 4px; border-radius: 11px; background: var(--ligne); width: fit-content; margin-bottom: 14px; }
.onglets button { border: 0; background: none; font: 500 13.5px/1 inherit; font-family: inherit; color: var(--texte-2); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.onglets button.actif { background: var(--panel); color: var(--texte); box-shadow: var(--ombre-1); }

.saisie { padding: 14px; }
.saisie .types { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.saisie .types label { cursor: pointer; }
.saisie .types input { display: none; }
.saisie .types span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--ligne-forte); font-size: 13px; color: var(--texte-2); }
.saisie .types input:checked + span { background: var(--texte); color: var(--bg); border-color: var(--texte); }
.saisie textarea { border: 0; padding: 4px 2px; min-height: 70px; box-shadow: none; background: transparent; }
.saisie .pied { display: flex; justify-content: flex-end; border-top: 1px solid var(--ligne); padding-top: 10px; }

.fil-activite { list-style: none; margin: 0; padding: 6px 18px 12px; position: relative; }
.fil-activite li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 12px 0; position: relative; }
.fil-activite li:not(:last-child)::after { content: ""; position: absolute; left: 15.5px; top: 46px; bottom: -4px; width: 1px; background: var(--ligne); }
.fil-activite .pic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--ligne); color: var(--texte-2); }
.fil-activite .pic.appel { background: var(--vert-doux); color: var(--vert); border-color: transparent; }
.fil-activite .pic.email { background: var(--bleu-doux); color: var(--bleu); border-color: transparent; }
.fil-activite .pic.sms { background: var(--jaune-doux); color: #8a6d00; border-color: transparent; }
.fil-activite .pic.visite { background: var(--rouge-doux); color: var(--rouge); border-color: transparent; }
.fil-activite .tete { font-size: 13px; color: var(--texte-3); }
.fil-activite .tete b { color: var(--texte); font-weight: 550; }
.fil-activite p { margin: 3px 0 0; white-space: pre-line; }

.relance { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--rayon); background: var(--jaune-doux); margin-bottom: 18px; flex-wrap: wrap; }
.relance .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--jaune); color: #1a1814; display: grid; place-items: center; }
.relance div { flex: 1; min-width: 200px; }
.relance form { display: flex; gap: 8px; flex-wrap: wrap; }

details.plus summary { cursor: pointer; list-style: none; padding: 12px 18px; color: var(--texte-3); font-size: 13px; }
details.plus summary::-webkit-details-marker { display: none; }
details.plus dl { margin: 0; padding: 0 18px 16px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 12.5px; }
details.plus dt { color: var(--texte-3); }
details.plus dd { margin: 0; word-break: break-word; }

/* ---------- Palette ⌘K ---------- */
.palette-fond { position: fixed; inset: 0; z-index: 100; background: rgba(15, 15, 16, .35); backdrop-filter: blur(3px); display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.palette-fond.ouvert { display: flex; animation: apparait .14s ease-out; }
.palette { width: min(620px, 100%); background: var(--panel); border: 1px solid var(--ligne); border-radius: 16px; box-shadow: var(--ombre-2); overflow: hidden; }
.palette .champ-p { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--ligne); }
.palette .champ-p input { border: 0; box-shadow: none; padding: 4px 0; font-size: 16px; background: transparent; }
.palette ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
.palette li a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; }
.palette li a.sel, .palette li a:hover { background: var(--panel-2); }
.palette li b { display: block; font-weight: 550; }
.palette li small { color: var(--texte-3); font-size: 12.5px; }
.palette .aide { padding: 10px 16px; border-top: 1px solid var(--ligne); color: var(--texte-3); font-size: 12px; display: flex; gap: 14px; }
@keyframes apparait { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Connexion ---------- */
.connexion { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.connexion .visuel {
  background: radial-gradient(circle at 30% 20%, #fff3a3 0, transparent 45%), linear-gradient(160deg, var(--jaune) 0%, #ffb800 100%);
  color: #1a1814; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
}
.connexion .visuel h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.035em; margin: 0; max-width: 12ch; }
.connexion .visuel p { max-width: 36ch; color: rgba(26, 24, 20, .72); }
.connexion .form { display: grid; place-items: center; padding: 32px 20px; }
.connexion form { width: min(360px, 100%); }
.connexion h1 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 6px; }
@media (max-width: 800px) { .connexion { grid-template-columns: 1fr; } .connexion .visuel { display: none; } }
