/* Le site des ateliers (créer un compte, Mon compte) : la direction artistique d'Eddy atelier, comme le logiciel
   (eddy_atelier/theme.py) et la page de Damien (eddy.css). */
@font-face { font-family: "Poppins"; font-weight: 600; src: url("polices/Poppins-SemiBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 700; src: url("polices/Poppins-Bold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 400; src: url("polices/Inter-Regular.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 600; src: url("polices/Inter-SemiBold.otf") format("opentype"); font-display: swap; }

:root {
  --fond: #FBF3E7; --surface: #FFFFFF; --ligne: #EADFCF; --encre: #4A3728; --doux: #7A6A5A; --gris: #B5A897;
  --violet: #6C56D9; --violet-fonce: #5441B8; --marque: #2E1D9E; --halo: #E7E4FF;
  --vert: #2FBF8A; --vert-fond: #E3F7EE; --vert-texte: #1F7F5B;
  --orange-fond: #FDF0D9; --orange-texte: #9A5B06; --rouge-fond: #FDE4E8; --rouge-texte: #B42A43; --terra: #BC6B4A;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--fond); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--fond); color: var(--encre);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5; }
body.accueil { background: radial-gradient(circle at 50% 0%, var(--halo) 0%, var(--fond) 55%) no-repeat; }
h1, h2, .bouton, button, .mot, .puce, label { font-family: "Poppins", "Inter", system-ui, sans-serif; }
h1 { font-size: 26px; font-weight: 700; margin: 0 0 8px; }
h2 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
a { color: var(--violet-fonce); }
a:hover { color: var(--marque); }

.entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 24px;
  background: var(--surface); border-bottom: 1px solid var(--ligne); }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo { height: 44px; width: 44px; object-fit: contain; }
.mot { font-weight: 700; font-size: 22px; color: var(--marque); }
.puce { font-weight: 600; font-size: 12px; color: var(--violet-fonce); background: var(--halo); border-radius: 10px; padding: 3px 10px; }
.menu { display: flex; align-items: center; gap: 16px; }
.menu form { margin: 0; }
.menu a { text-decoration: none; font-family: "Poppins"; font-weight: 600; font-size: 14px; }
button.lien { border: 0; background: none; padding: 0; color: var(--doux); font-weight: 600; font-size: 14px; cursor: pointer; }
button.lien:hover { color: var(--violet-fonce); }

main { flex: 1; width: 100%; margin: 0 auto; padding: 28px 20px 40px; }
main.etroit { max-width: 480px; }
main.large { max-width: 920px; }
.intro { text-align: center; margin: 8px 0 18px; }
.grand-logo { width: 104px; height: 104px; object-fit: contain; }
.intro h1 { margin-top: 6px; }
.intro p { margin: 0; color: var(--doux); }
.titre-page { margin-bottom: 18px; }

.carte { background: var(--surface); border: 1px solid var(--ligne); border-radius: 20px; padding: 24px 26px; margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(84, 65, 184, 0.06); }
.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grille .carte { margin-bottom: 0; }
.grille + .carte { margin-top: 18px; }
@media (max-width: 760px) { .grille { grid-template-columns: 1fr; } }
.doux { color: var(--doux); margin: 0 0 12px; }
.aide { color: var(--doux); font-size: 13px; margin: 6px 0 12px; }
.centre { text-align: center; }
.sous-carte { text-align: center; color: var(--doux); }

.champ { margin-bottom: 12px; }
.champ label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password] { width: 100%; padding: 11px 14px; border: 1.5px solid var(--ligne);
  border-radius: 12px; background: #fff; color: var(--encre); font: inherit; }
input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--halo); }
.avec-erreur input { border-color: #EF4E68; }
.erreur { color: var(--rouge-texte); font-size: 13px; margin: 4px 0 0; }
.case { margin: 14px 0; }
.case label { font-family: "Inter"; font-weight: 400; display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.case input { margin-top: 3px; accent-color: var(--violet); }
.piege { position: absolute; left: -10000px; height: 0; overflow: hidden; }

.bouton, button.bouton { display: inline-block; font-weight: 600; font-size: 14px; padding: 10px 20px; border-radius: 14px;
  border: 1.5px solid var(--violet); background: var(--surface); color: var(--violet-fonce); cursor: pointer; text-decoration: none; }
.bouton:hover { background: var(--halo); color: var(--violet-fonce); }
.bouton.plein { width: 100%; background: var(--violet); color: #fff; font-size: 15px; padding: 13px 24px; border-radius: 16px; margin-top: 6px; }
.bouton.plein:hover { background: var(--violet-fonce); }
.bouton.petit { padding: 7px 16px; background: var(--violet); color: #fff; }
.bouton.petit:hover { background: var(--violet-fonce); color: #fff; }
.bouton:disabled { color: var(--gris); border-color: #D9CFC2; background: transparent; cursor: not-allowed; }

.messages { list-style: none; margin: 0 0 18px; padding: 0; }
.messages li { border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; background: var(--halo); color: var(--marque); }
.messages li.success { background: var(--vert-fond); color: var(--vert-texte); }
.messages li.error { background: var(--rouge-fond); color: var(--rouge-texte); }
.messages li.warning { background: var(--orange-fond); color: var(--orange-texte); }

.etat { display: flex; flex-direction: column; gap: 2px; border-radius: 14px; padding: 12px 16px; margin: 6px 0 12px;
  background: var(--halo); color: var(--marque); }
.etat strong { font-family: "Poppins"; font-weight: 600; }
.etat.vert { background: var(--vert-fond); color: var(--vert-texte); }
.etat.orange { background: var(--orange-fond); color: var(--orange-texte); }
.etat.rouge { background: var(--rouge-fond); color: var(--rouge-texte); }

.compteur { font-size: 12px; font-weight: 600; color: var(--violet-fonce); background: var(--halo); border-radius: 10px; padding: 2px 10px; margin-left: 6px; }
.ordinateurs { list-style: none; margin: 10px 0; padding: 0; }
.ordinateurs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ligne); }
.ordinateurs li:first-child { border-top: 0; }
.ordinateurs form { margin: 0; }
.ordinateurs strong { display: block; font-family: "Poppins"; font-weight: 600; }

.bandeau-brouillon { background: var(--orange-fond); color: var(--orange-texte); border-radius: 12px; padding: 10px 14px; }
.pied { text-align: center; color: var(--doux); font-size: 13px; padding: 18px; }
.pied a { color: var(--doux); }
.pied span { margin: 0 6px; }

/* Abonnement : formules */
.formule { text-align: center; }
.prix { font-family: "Poppins"; font-weight: 700; font-size: 22px; color: var(--marque); margin: 4px 0 2px; }
.inclus { list-style: none; padding: 0; margin: 12px 0 16px; text-align: left; display: inline-block; }
.inclus li { padding-left: 22px; position: relative; margin: 4px 0; color: var(--doux); }
.inclus li::before { content: "✓"; position: absolute; left: 0; color: var(--vert-texte); font-weight: 700; }
.grille + .carte, .carte + .grille { margin-top: 18px; }
