/*
Theme Name: EvidenStat
Theme URI:
Author: Softly Design
Author URI:
Description: Theme custom pour ESHCo - EvidenStat Health Consulting. Evidence-Driven Health Analytics.
Version: 3.7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evidenstat
*/

/* ============================================
   Variables CSS - Design System
   ============================================ */

:root {
	/* Couleurs marque */
	--color-primary: #6C46A2;
	--color-primary-dark: #5A3A8A;
	--color-secondary: #8B5FC7;
	--color-accent: #A67DD8;
	--color-accent-green: #30A64F;
	--color-premium: #6C46A2;

	/* Gradients */
	--gradient-primary: linear-gradient(135deg, #6C46A2 0%, #8B5FC7 100%);
	--gradient-dark: linear-gradient(135deg, #1A1128 0%, #2D1F4A 100%);

	/* Texte */
	--color-text: #1A1A2E;
	--color-text-secondary: #5A6178;
	--color-text-inverse: #FFFFFF;

	/* Fonds */
	--color-bg: #FFFFFF;
	--color-bg-subtle: #F5F7FA;
	--color-bg-card: #FFFFFF;
	--color-bg-dark: #1A1128;

	/* Systeme */
	--color-success: #30A64F;
	--color-error: #DC2626;
	--color-warning: #F59E0B;
	--color-info: #0A99DC;

	/* Typographie */
	--font-heading: 'Oswald', sans-serif;
	--font-body: 'DM Sans', sans-serif;

	/* Espacements */
	--space-xs: 4px;
	--space-sm: 8px;
	--space-md: 16px;
	--space-lg: 24px;
	--space-xl: 32px;
	--space-2xl: 48px;
	--space-3xl: 64px;
	--space-4xl: 80px;
	--space-5xl: 96px;

	/* Bordures */
	--radius: 8px;
	--radius-btn: 6px;
	--radius-card: 12px;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

	/* Transitions */
	--transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */

html {
	scroll-behavior: smooth;
}

::selection {
	background: rgba(19, 84, 175, 0.15);
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	line-height: 1.15;
	color: var(--color-text);
	margin-bottom: var(--space-md);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.75rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.25; }
h4 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; }

a {
	color: var(--color-primary);
	text-decoration: none;
}

a:hover {
	color: var(--color-secondary);
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

/* ============================================
   Layout
   ============================================ */

/* Skip link — accessibility */
.skip-link {
	position: absolute;
	top: -100%;
	left: var(--space-md);
	background: var(--color-bg-dark);
	color: #fff;
	padding: var(--space-sm) var(--space-lg);
	z-index: 99999;
	font-size: 0.875rem;
	text-decoration: none;
}

.skip-link:focus {
	top: var(--space-md);
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: var(--space-lg);
}
