/* Style épuré type développeur - palette alignée sur le site (indigo/cyan) */
:root {
  --primary: #0F1222;
  --secondary: #22D3EE;
  --text: #9BA1B8;
  --light: #E7E9F4;
  --bg: #F6F7FB;
  --card-bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--primary);
  line-height: 1.6;
  padding: 20px;
}

/* Layout principal */
.cv-container {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Header */
header {
  background: var(--primary);
  color: white;
  padding: 40px 30px;
  text-align: center;
  border-bottom: 4px solid var(--secondary);
}

header h1 {
  font-size: 2.8em;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

header p {
  font-size: 1.2em;
  color: var(--secondary);
  font-weight: 400;
}

/* Grille principale */
.cv-grid {
  display: grid;
  grid-template-columns: 400px 2fr;
  gap: 30px;
  padding: 30px;
}

/* Colonne gauche */
.left-column {
  background: #EEF0F8;
  padding: 25px;
  border-radius: 15px;
}

/* Sections */
section {
  margin-bottom: 30px;
}

h2 {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact */
.contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5B6178;
}

.contact p::before {
  content: "•";
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.2em;
}

/* Listes */
ul {
  list-style: none;
}

li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: #5B6178;
}

li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

/* Compétences avec barres */
.skills li {
  margin-bottom: 20px;
  padding-left: 0;
}

.skills li::before {
  display: none;
}

.skill-name {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--primary);
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: #E4E7F0;
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), #6366F1);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Expériences */
.experience h3 {
  color: var(--primary);
  font-size: 1.1em;
  margin: 15px 0 5px;
  font-weight: 600;
}

.experience h3:first-of-type {
  margin-top: 0;
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 25px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer p {
  color: var(--text);
  margin: 10px 0;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--secondary);
  color: var(--primary);
}

.btn a {
  color: inherit;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 777px) {
  .cv-grid {
    grid-template-columns: 1fr;
  }
  
  header h1 {
    font-size: 2em;
  }
  
  body {
    padding: 10px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

section {
  animation: fadeIn 0.5s ease-out forwards;
}