/*
Theme Name: LPC
Theme URI: https://la-pause-code.fr
Author: Hugo Morales
Description: Thème sur-mesure ultra-performant pour La Pause Code.
Version: 1.0.0
Text Domain: lpc-theme
*/

:root {
    /* Color Palette */
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --text-dim: #a0a0a0;

    /* Global Accent (Default) */
    --accent-color: #3b82f6;
    --accent-color-rgb: 59, 130, 246;

    /* Silo Accents - Modern Premium Palette */
    --accent-ia: #00f2ff;
    /* Cyber Cyan */
    --accent-ia-rgb: 0, 242, 255;

    --accent-dev: #3b82f6;
    /* Modern Blue */
    --accent-dev-rgb: 59, 130, 246;

    --accent-immo: #10b981;
    /* Emerald Success */
    --accent-immo-rgb: 16, 185, 129;

    /* Layout */
    --container-width: 900px;
    --header-height: 60px;

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-code: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
}

/* Code Blocks */
pre,
code {
    font-family: var(--font-code);
    background: #1a1a1a;
}

code {
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

pre {
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #333;
    margin-bottom: 1.5rem;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Silo Logic - These classes will be applied to the body */
body.silo-ia {
    --accent-color: var(--accent-ia);
}

body.silo-dev {
    --accent-color: var(--accent-dev);
}

body.silo-immo {
    --accent-color: var(--accent-immo);
}