/* choisi.css — copie de b.css.
   GENERE. C'est l'habillage courant des pages de contenu.
   Pour basculer : HABILLAGE_CHOISI=b node admin/_variantes.mjs, puis redeployer. */

/* B — Nordique
   Søstrene Grene ♥ — « celle qui me ressemble le plus : maison Danemark ambiance générale »
   GENERE par admin/_variantes.mjs depuis site/variantes/palettes.json — ne pas editer a la main.
   Contrastes verifies >= 7:1. */

@font-face{font-family:"Cabin";src:url("/habillage/fonts/cabin.woff2") format("woff2");
  font-weight:100 900;font-style:normal;font-display:swap}

:root{
  --cr-fond:#FFFEF8; --cr-fond-alt:#E1E8F0; --cr-encre:#2C2B2B;
  --cr-encre-doux:#4E4A44; --cr-accent:#3F5568; --cr-sur-accent:#FFFEF8;
  --cr-trait:#C6D3E0;
}

/* Fond et texte : on repeint les surfaces d'Odoo sans toucher a leur structure. */
body, #wrapwrap, main, .o_homepage_editor_welcome_message{
  background-color:var(--cr-fond) !important; color:var(--cr-encre) !important;
  font-family:"Cabin", system-ui, sans-serif !important;
}
section, .s_text_block, .container, .container-fluid{ background-color:transparent !important; }

/* Les sections qu'Odoo peint en gris ou en blanc passent au fond alterne. */
.o_cc, .o_cc1, .o_cc2, .o_cc3, .o_cc4, .o_cc5,
.bg-light, .bg-white, .bg-100, .bg-200, .bg-o-color-3, .bg-o-color-4{
  background-color:var(--cr-fond-alt) !important; color:var(--cr-encre) !important;
}
.bg-o-color-1, .bg-o-color-2, .bg-black, .bg-900{
  background-color:var(--cr-accent) !important; color:var(--cr-sur-accent) !important;
}

h1,h2,h3,h4,h5,h6,.display-1,.display-2,.display-3,.display-4,.h1,.h2,.h3{
  font-family:"Cabin", Georgia, serif !important;
  color:var(--cr-encre) !important; font-weight:400 !important; letter-spacing:-.01em;
}
p, li, td, .lead, small, figcaption{ color:var(--cr-encre-doux) !important; }
.text-muted, .text-secondary, .o_default_snippet_text{ color:var(--cr-encre-doux) !important; }

a{ color:var(--cr-accent) !important; text-underline-offset:.18em; }
a:hover{ color:var(--cr-encre) !important; }

.btn-primary, .btn-fill-primary{
  background-color:var(--cr-accent) !important; border-color:var(--cr-accent) !important;
  color:var(--cr-sur-accent) !important; border-radius:2px !important;
  font-family:"Cabin", system-ui, sans-serif !important; letter-spacing:.02em;
}
/* ⚠️ Le texte SECONDAIRE dans un bouton plein. La regle « p, li, small » plus haut
   repeint en encre douce tout ce qui est dedans — un <small> se retrouvait donc en
   vert fonce sur un bouton vert fonce, illisible. Le controle de contraste ne
   l'attrape pas : il verifie les couples de la palette, pas la cascade CSS. */
.btn-primary *, .btn-fill-primary *{ color:var(--cr-sur-accent) !important; }

.btn-secondary, .btn-outline-primary, .btn-outline-secondary{
  background-color:transparent !important; border-color:var(--cr-accent) !important;
  color:var(--cr-accent) !important; border-radius:2px !important;
}

/* Le filet : ce que Marine a demande en repondant « Fin » a la question sur les
   dessins. Un trait, pas une illustration. */
hr, .s_hr_1px, .border, .border-top, .border-bottom{ border-color:var(--cr-trait) !important; }

header#top, .o_header_standard, .navbar, footer, .o_footer{
  background-color:var(--cr-fond) !important; color:var(--cr-encre) !important;
  border-color:var(--cr-trait) !important;
}
.navbar a, footer a, .o_footer a{ color:var(--cr-encre) !important; }

/* Odoo affiche son logo de demonstration « Your Logo » tant qu'on ne lui en donne
   pas un. Il n'y en a pas encore, et on n'en dessinera pas a la va-vite : on pose
   le nom en toutes lettres, dans la fonte de titre de l'habillage. Se retire d'une
   ligne le jour ou la marque a son symbole. */
header#top .navbar-brand img, header#top .navbar-brand svg{ display:none !important; }
header#top .navbar-brand::after{
  content:"Les Cercles Ressources";
  font-family:"Cabin", Georgia, serif; font-size:1.05rem;
  letter-spacing:.01em; color:var(--cr-encre); white-space:nowrap;
}

/* « Copyright © Company name — Powered by Odoo » : masque, pas supprime.
   Le gabarit d'Odoo reste intact, la ligne revient en retirant cette regle. */
.o_footer_copyright{ display:none !important; }
