:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --primary: #1f3a5f;
  --accent: #2a9d8f;
  --text: #1d1d1d;
  --muted: #5a6472;
  --border: #e2e8f0;
}

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

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #000000;
  color: var(--text);
  line-height: 1.6;
}

/* Header - Fond noir uniforme */
header {
  background: #000000;
  color: var(--primary);
  text-align: center;
}

/* Hero Section - Photo de profil centrée */
.hero-section {
  background-color: #000000;
  padding: 40px 20px;
  margin-top: 20px;
}

.hero-section img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  display: block;
  margin: 0 auto;
}

h1 {
  margin: 0;
  padding: 1rem 1.5rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

header p {
  margin: 0.75rem 0 0;
  padding: 0 1.5rem 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  background: var(--bg);
}

section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

h2 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.6rem;
}

ul {
  padding-left: 1.25rem;
  margin: 0;
}

li {
  margin-bottom: 0.5rem;
}

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

a:hover {
  text-decoration: underline;
}

.contact-email {
  font-weight: bold;
}
/* ============================================
   ACCORDÉONS - Compétences, Réalisations, Atouts
   ============================================ */

.accordeon {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.accordeon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--card);
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

.accordeon-header:hover {
  background-color: #f0f4f8;
}

/* Bouton +/- */
.accordeon-header::after {
  content: "+";
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* État ouvert : − */
.accordeon[open] .accordeon-header::after {
  content: "−";
  transform: rotate(0deg);
}

/* Contenu de l'accordéon */
.accordeon-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

/* Accordéon ouvert */
.accordeon[open] .accordeon-content {
  max-height: 2000px;
  opacity: 1;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Conserve le style des listes à l'intérieur */
.accordeon-content ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.accordeon-content li {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);

  margin-bottom: 0;
}

.accordeon-content li:last-child {
  border-bottom: none;
}
