/* ===== ARRIANE pour Jocaia — 16/09/2026 =====
   Chargé APRÈS ariane-zen.css : la mise en page reste, la peau change.
   Papier crème, les couleurs du logo Jocaia (vert, rouge, bleu, jaune),
   Poppins pour le texte, Grandstander pour le nom. Pas de nuit ici. */
@import url('https://fonts.googleapis.com/css2?family=Grandstander:wght@700&family=Poppins:wght@400;500;600&display=swap');

/* Le curseur de luminosité est celui de 001 (ariane-zen.js) : le jour part
   de ce papier, baisse vers le gris de zen, et la nuit reste DEDALE. */
html, :root, html.clair{
  --a-bg:#fcfcfc; --a-card:#ffffff; --a-mute:#6b6873; --a-faint:#a29e94;
  --a-border:#e3ded2; --a-soft:#ece8de; --a-tint:#e6f2ec;
  --text:#212121; --navy:#212121; --accent:#eb5e50; --logo-fond:transparent;
  --jocaia-vert:#007a4d; --jocaia-vert-fonce:#00603c; --jocaia-rouge:#eb5e50;
  --jocaia-bleu:#51aee2; --jocaia-bleu-fonce:#3a9dd4; --jocaia-jaune:#ffdd00;
}
html, body, body.ariane{ font-family:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif; }
/* le papier du site : la même image de fond que jocaia.fr */
html, html.clair{background:#fcfcfc url("/jocaia/FondSite-scaled.jpg") repeat; background-size:819px auto;}

/* Le nom ARRIANE reste écrit comme l'original (Ludo, 16/09), en vert */
.brand-name, .topbar .brand-name{color:var(--jocaia-vert);}

/* Menu : les entrées en vert, l'active soulignée de rouge */
.topnav a{color:var(--jocaia-vert); font-weight:500;}
.topnav a:hover{color:var(--jocaia-vert-fonce);}
.topnav a.active, .tab-btn.active{border-bottom-color:var(--jocaia-rouge); color:var(--jocaia-vert-fonce);}

/* Boutons : le bouton qui décide est bleu, arrondi comme sur le site */
.a-btn-primaire, .btn-primary, .btn.primary, button.primary{
  background:var(--jocaia-bleu) !important; border-color:var(--jocaia-bleu) !important; color:#fff !important;
  border-radius:40px !important; font-weight:600;
}
.a-btn-primaire:hover, .btn-primary:hover, .btn.primary:hover, button.primary:hover{
  background:var(--jocaia-bleu-fonce) !important; border-color:var(--jocaia-bleu-fonce) !important;
}
.a-btn, .btn{border-radius:40px;}

/* Titres de page en rouge, comme le Bonjour de la connexion */
.a-titre, h1.page-title, .page-title, .titre-page{color:var(--jocaia-rouge);}

/* Champs : la ligne prend le vert au focus */
input:focus, select:focus, textarea:focus, .a-champ:focus{border-color:var(--jocaia-vert) !important; box-shadow:none !important;}

/* Case du jour, sélection : le vert très pâle */
.wday.today, td.slot.slot-sel, tr.dbt-sel td{background:var(--a-tint) !important;}
td.slot.slot-sel{box-shadow:inset 0 0 0 1px var(--jocaia-vert);}

/* La nuit : pas de grain, et ce qui est vert le jour passe en clair */
html.nuit{background-image:none;}
html.nuit .topnav a, html.nuit strong, html.nuit b, html.nuit th, html.nuit label, html.nuit .a-label, html.nuit .a-etiquette,
html.nuit .font-bold, html.nuit .font-semibold, html.nuit .font-medium, html.nuit .section-label h2, html.nuit .agenda-header,
html.nuit .wn-side-head, html.nuit .wday .num, html.nuit .agenda-table thead th .d, html.nuit .at-table th, html.nuit .a-table th,
html.nuit h1, html.nuit h2, html.nuit h3, html.nuit h4, html.nuit .a-titre, html.nuit .marche-carte h3{color:#e0e7ff;}
html.nuit .topnav a{color:#b6c2d4;} html.nuit .topnav a.active{color:#e0e7ff;}

/* Le gras reste dans le gris du texte, le vert est aux onglets seulement (Ludo, 16/09) */
strong, b, th, label, .a-label, .a-etiquette, .font-bold, .font-semibold, .font-medium,
.section-label h2, .agenda-header, .wn-side-head, .wday .num, .agenda-table thead th .d,
.at-table th, .a-table th, .todo-list .label strong, h1, h2, h3, h4, .a-titre, .marche-carte h3{
  color:var(--text);
}
.a-btn-primaire, .btn-primary, .btn.primary, button.primary, .a-btn-primaire *, .btn-primary *{color:#fff !important;}

/* Les dessins et pointillés de jocaia.fr ont été essayés puis enlevés (Ludo, 16/09) : seul le papier reste */
/* le fond (couleur) est sur html : body doit être transparent, sinon il recouvre le grain et les dessins */
body{background:transparent !important;}

/* Les notes de la semaine prennent moins de place, le semainier s'élargit (Ludo, 16/09) */
.wn-side{width:200px;}
