/* ============================================================
   BASE.CSS — Variables, reset, typographie, utilitaires
   ============================================================ */


/* --- Variables CSS --- */
:root {
  --primary-color:  #00ADEF;
  --primary-dark:   #008bbd;
  --text-color:     #333333;
  --text-light:     #666666;
  --bg-color:       #ffffff;
  --bg-alt:         #f8f9fa;
  --border-color:   #e0e0e0;
  --shadow:         0 4px 6px rgba(0, 0, 0, 0.1);
  --transition:     all 0.3s ease;
  --container-max:  1200px;
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}


/* --- Container centré --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}


/* --- Section standard --- */
section {
  padding: 80px 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}


/* --- Titres de section --- */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.2;
}

/* Modificateur : titre aligné à gauche */
.section-title--left {
  text-align: left;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
  font-size: 1.1rem;
}


/* --- Responsive global --- */
@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
