/* SLY ELEC — espace client : la ligne de la vitrine (noir, blanc, accent or, le trait du logo) posée sur la structure d'app.css. Chargé après app.css. */
:root {
  --bleu: #111417; --bleu-2: #2a2f36; --accent: #f5a623; --accent-2: #d98d0b;
  --fond: #ffffff; --carte: #ffffff; --texte: #1b1f24; --gris: #5f6670; --gris-2: #9aa3af;
  --bordure: #e3e6ea; --bleu-clair: #fff7e6; --rayon: 14px; --ombre: none;
}
body { font-size: 17px; line-height: 1.5; padding-bottom: 0; background: var(--fond); min-height: 100vh; display: flex; flex-direction: column; }
main.page { flex: 1 0 auto; width: 100%; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
h2 { font-weight: 800; }
a { color: var(--bleu); }

/* En-tête : blanc, le logo, « Espace client », déconnexion */
.barre { background: rgba(255,255,255,.94); backdrop-filter: blur(8px); color: var(--texte); box-shadow: none; border-bottom: 1px solid var(--bordure); padding: 0; }
.barre .contenu { max-width: 1100px; margin: 0 auto; padding: 0 1.1rem; display: flex; align-items: center; gap: 1rem; height: 64px; width: 100%; }
.barre .marque img { height: 44px; width: auto; display: block; }
.barre .mention { color: var(--gris); font-size: .92rem; font-weight: 600; border-left: 1px solid var(--bordure); padding-left: 1rem; }
.barre .sortie { margin-left: auto; color: var(--texte); font-weight: 700; font-size: .9rem; border: 2px solid var(--bleu); border-radius: 999px; padding: .4rem .9rem; }
.barre .sortie:hover { background: var(--bleu); color: #fff; }
.barre .retour-site { margin-left: auto; color: var(--gris); font-size: .9rem; text-decoration: none; }
.barre .retour-site:hover { color: var(--texte); }
@media (min-width: 860px) { .barre .marque img { height: 50px; } }

/* Page */
.page { max-width: 1100px; padding: 1.4rem 1.1rem 2.5rem; }
.titre-page { margin: .4rem 0 1.2rem; }
.titre-page h1::before { content: ""; display: block; width: 2.2rem; height: 2.5px; background: var(--accent); margin-bottom: .6rem; }
.espace-nav { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 1.4rem; }
.espace-nav a { text-decoration: none; color: var(--texte); background: #fff; border: 1.5px solid #cfd4db; border-radius: 999px; padding: .45rem 1rem; font-size: .92rem; font-weight: 600; }
.espace-nav a:hover { border-color: var(--bleu); }
.espace-nav a.actif { background: var(--bleu); color: #fff; border-color: var(--bleu); }

/* Cartes, listes, pastilles */
.carte { border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1.3rem 1.3rem; }
.carte h2 { margin-top: 0; }
.liste li { padding: .8rem 0; }
.liste .heure { color: var(--texte); }
.badge { font-weight: 700; }
.badge.bleu { background: #e9edf2; color: #1b1f24; }
.badge.orange { background: #fff1d6; color: #8a4b05; }
.prix-bloc { background: #fff7e6; border: 1px solid #f6dca8; }
.prix-bloc .gros { color: var(--texte); }
.bandeau.info { background: #fff7e6; border-color: #f6dca8; color: #5b3a00; }

/* Boutons côté client : l'action principale en or, comme sur la vitrine */
.btn { padding: .75rem 1.25rem; font-weight: 800; background: var(--accent); color: var(--bleu); border-color: var(--accent); }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.secondaire { background: transparent; color: var(--bleu); border-color: var(--bleu); }
.btn.secondaire:hover { background: var(--bleu); color: #fff; }

/* Champs */
.champ label { font-weight: 700; font-size: .92rem; }
.champ input, .champ select, .champ textarea { padding: .75rem .85rem; border: 1.5px solid #cfd4db; border-radius: 10px; font-size: 1rem; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.case { border-radius: 10px; }
.case.important { border-color: #f6dca8; background: #fff7e6; }

/* Connexion : la carte centrée, aérée */
.connexion { max-width: 26rem; margin: 1.2rem auto 0; }
.connexion .carte { padding: 1.6rem; }
.connexion .btn.grand { margin-top: .4rem; }

/* Pied : sombre, comme la vitrine */
.pied-client { background: #111417; color: #d7dbe0; padding: 2.2rem 0 1.8rem; font-size: .9rem; margin-top: auto; }
.pied-client .contenu { max-width: 1100px; margin: 0 auto; padding: 0 1.1rem; display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .pied-client .contenu { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.pied-client img { height: 50px; width: auto; display: block; margin-bottom: .6rem; }
.pied-client a { color: #fff; }
.pied-client p { margin: 0 0 .4rem; }
.pied-client .bas { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: .9rem; color: var(--gris-2); font-size: .82rem; }
