/* CV Salma Hakkaoui Karim – 2026
   Adaptation de la maquette Celypse */
* { box-sizing: border-box; }
body { margin: 0; background: #f6f2f4; color: #333; font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
#page { width: 92%; max-width: 1200px; margin: 30px auto; }
header { text-align: center; margin-bottom: 30px; }
header h1 { font-family: Georgia, serif; font-size: 42px; color: #584b55; margin: 0 0 8px; }
header h2 { font-size: 20px; font-weight: normal; color: #675862; margin: 0; }
nav { background: #584b55; border-radius: 8px; padding: 15px; margin-top: 25px; }
nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 25px; list-style: none; margin: 0; padding: 0; }
nav a { color: white; text-decoration: none; font-weight: bold; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: #f2cfe4; text-decoration: underline; }
section { display: flex; align-items: flex-start; gap: 25px; }
article { flex: 3; min-width: 0; background: white; padding: 30px; border-radius: 12px; box-shadow: 0 3px 12px rgba(0,0,0,.07); overflow-wrap: anywhere; }
article h2 { color: #584b55; font-size: 24px; border-bottom: 2px solid #91858f; padding-bottom: 8px; }
article h2:first-child { margin-top: 0; }
article h3 { color: #675862; font-size: 18px; margin-bottom: 5px; }
article p { margin-top: 5px; }
article ul { padding-left: 22px; }
article li { margin-bottom: 6px; }
aside { flex: 1; min-width: 0; background: #584b55; color: white; padding: 25px; border-radius: 12px; overflow-wrap: anywhere; }
aside h2 { font-size: 22px; border-bottom: 1px solid #bbaeb8; padding-bottom: 8px; }
aside h2:first-child { margin-top: 0; }
aside a { color: white; text-decoration: underline; }
aside a:hover { color: #f2cfe4; }
#photo { text-align: center; }
#photo img { width: 120px; height: 150px; max-width: 100%; border-radius: 8px; object-fit: cover; }
footer { text-align: center; background: #e8dfe5; color: #584b55; font-size: 13px; padding: 20px; margin-top: 30px; border-radius: 8px; }
footer a { color: #584b55; }
@media screen and (max-width: 900px) {
  #page { width: 95%; }
  section { gap: 15px; }
  article { padding: 20px; }
  aside { padding: 15px; }
  header h1 { font-size: 34px; }
}
@media screen and (max-width: 700px) {
  section { flex-direction: column; }
  article, aside { width: 100%; }
  aside { order: -1; text-align: center; }
  header h1 { font-size: 28px; }
  header h2 { font-size: 16px; }
  nav a { font-size: 13px; }
  article h2 { font-size: 21px; }
}
