/* ============================================
   VARIABLES GLOBALES & RESET
   Institut de Développement du Thérapeute
   ============================================ */

/* Variables CSS globales */
:root {
    /* Couleurs principales */
    --primary-blue: #000091;
    --accent-blue: #0063cb;
    --dark-blue: #000074;
    
    /* Backgrounds */
    --background: #ffffff;
    --surface: #fafafa;
    --surface-light: #fcfcfc;
    
    /* Textes */
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* Bordures */
    --border: #e5e7eb;
    
    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    
    /* Rayons de bordure */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Unité d'espacement */
    --spacing-unit: 8px;
}

/* Reset CSS minimal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ============================================
   BARRE ADMIN SPIP
   ============================================ */

/* Juste s'assurer qu'elle est au-dessus de tout */
#spip-admin,
#spip-bandeau-haut,
.bandeau_public,
#bando {
    z-index: 999999 !important;
}

/* Assure que le contenu principal ne chevauche rien */
main,
.article-container,
.rubrique-container {
    position: relative;
    z-index: 1;
}