/* 
* PJM Group Website Styles
* Agence digitale à taille humaine
*/

:root {
  /* Palette de couleurs */
  --color-primary: #3d3b50;     /* Violet foncé - couleur principale */
  --color-secondary: #7d9777;   /* Vert sauge - couleur secondaire */
  --color-accent: #d4af37;      /* Or - couleur d'accentuation */
  --color-accent-rgb: 212, 175, 55; /* Valeurs RGB pour l'or - pour animations et transparences */
  --color-light: #f5f5f5;       /* Blanc cassé - fond clair */
  --color-dark: #2a2a2a;        /* Gris anthracite - texte et fond sombre */
  --color-grey: #eaeaea;        /* Gris clair - séparateurs et fond alternatif */
  --color-success: #4CAF50;     /* Vert - messages succès */
  --color-error: #F44336;       /* Rouge - messages erreur */
  
  /* Typographie */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  
  /* Espacements */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Bordures et ombres */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Reset de base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font-primary);
  line-height: var(--line-height-base);
  color: var(--color-dark);
  background-color: #1a202c; /* Couleur de fond du footer */
  overflow-x: hidden;
}

main {
  flex: 1;
  background-color: var(--color-light); /* Fond clair pour le contenu */
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.3;
  color: var(--color-primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: var(--space-sm);
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

/* Classes utilitaires */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent);
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-accent {
  background-color: var(--color-accent);
}

.btn-accent:hover {
  background-color: darken(var(--color-accent), 10%);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Formulaires */
.form-group {
  margin-bottom: var(--space-md);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-dark);
  background-color: white;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(61, 59, 80, 0.1);
}


/* Media queries de base */
@media (max-width: 767px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

/* Styles spécifiques à ajouter lors du développement */
