@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

/* Variables CSS */
:root {
  --gradient-primary: linear-gradient(135deg, #845959, #c20000);
  --primary-color: #c20000;
  --secondary-color: #2b2d42;
  --accent-color: #fd7e14;
  --text-color: #2b2d42;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --white-color: #ffffff;
  --black-color: #000000;
  --gray-color: #6c757d;
  --section-padding: 6rem 0;
  --transition: all 0.3s ease-in-out;
}

.linear-gradient {
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

img {
  object-fit: cover;
}

/* Styles généraux */
body {
  padding-top: 76px; /* Pour la navbar fixed-top */
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  word-spacing: 0.1em;
  font-weight: 400;
  color: var(--text-color);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Amélioration de la lisibilité des paragraphes */
p {
  margin-bottom: 1.5rem;
  max-width: 75ch; /* Largeur optimale pour la lecture */
}

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 400;
  color: rgba(43, 45, 66, 0.95);
}

/* Sur sections sombres */
.phrase-accroche-section .lead {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

h1 {
  font-family: "Roboto", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

h4 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

h5 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1rem;
}

h6 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

/* Amélioration du contraste des liens */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #9b0000;
  text-decoration: underline;
}

/* Liste à puces avec meilleur espacement */
ul.list-unstyled li {
  line-height: 1.8;
}

/* Strong pour emphase */
strong {
  font-weight: 600;
  color: var(--text-color);
}


