/*
Theme Name: AI Companion Atlas
Theme URI: https://example.com
Author: BGMP Digital
Description: Thème éditorial sombre pour site de comparatifs et de tests de plateformes IA. Design system indigo/azur piloté par variables CSS, templates légers sans dépendance aux styles Gutenberg, pensés pour du contenu HTML personnalisé collé dans les pages et les articles. Inclut un modèle de liste d'articles, un shortcode [latest_guides] et le marquage automatique des liens affiliés.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: atlas
*/

/* ============================================================
   RESET GLOBAL — override WordPress/Gutenberg
   (le design system complet est dans assets/atlas.css)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #0a0e18;
  color: #eaf0fb;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Base : les liens du design system (.btn, .lb-row, .article-link…) heritent
   de leur contexte. Seuls les liens « nus » du corps de texte, c'est-a-dire
   sans classe, sont mis en evidence — sinon ils sont indiscernables du texte. */
a { color: inherit; text-decoration: none; }

.entry-content a:not([class]),
.wp-block-group a:not([class]),
main a:not([class]) {
  color: #b9c6ff;
  color: var(--brand-tint, #b9c6ff);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}
.entry-content a:not([class]):hover,
.wp-block-group a:not([class]):hover,
main a:not([class]):hover { color: #22a7ff; color: var(--brand-2, #22a7ff); }

/* Reset Gutenberg layout constraints */
.wp-site-blocks,
.is-layout-constrained > *,
.entry-content,
.wp-block-group,
#content,
#primary,
.site-main,
main {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-weight: 700; }
p { margin: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
