/* ============================================================
   STYLE DU SITE – Natalie Smrekar
   Deux couleurs d'accent uniquement, sur fond blanc :
     --vert       #6FBE44  (lignes, points, liens)
     --jaune-vert #CCCC32  (coche, bandeau, langue active)
   ============================================================ */
:root {
  --vert:       #6FBE44;
  --jaune-vert: #CCCC32;
  --encre:      #222222;   /* texte principal */
  --gris:       #5a5a5a;   /* texte secondaire */
  --ligne:      #dcdcdc;   /* filets discrets */
  --fond:       #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--encre);
  background: var(--fond);
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); }
h3 { font-size: 1.15rem; margin-top: 1.6em; }

p { margin: 0 0 1em; }

a { color: var(--encre); text-decoration: underline; text-decoration-color: var(--vert); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--vert); }

/* ---------- Bandeau "recherche en cours" ---------- */
.bandeau {
  background: var(--jaune-vert);
  color: var(--encre);
  padding: .55rem 1rem;
  font-size: .95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  text-align: center;
}
.bandeau-coche { width: 20px; height: 20px; flex: none; color: var(--encre); }
.bandeau-coche svg { width: 100%; height: 100%; display: block; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: .8rem 5vw;
  background: var(--fond);
  border-bottom: 3px solid var(--vert);
}
.logo {
  font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 1.15rem;
  color: var(--encre); text-decoration: none; white-space: nowrap;
}

.nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.nav a {
  color: var(--encre); text-decoration: none; font-size: .95rem;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.nav a:hover { border-color: var(--vert); color: var(--encre); }

.langues-switch { display: flex; gap: .35rem; }
.langues-switch button {
  width: 34px; height: 24px; padding: 0; border: 2px solid transparent;
  border-radius: 3px; background: none; cursor: pointer; overflow: hidden;
  opacity: .75;
}
.langues-switch button svg { width: 100%; height: 100%; display: block; }
.langues-switch button:hover { opacity: 1; }
.langues-switch button.actif { border-color: var(--jaune-vert); opacity: 1; }

/* ---------- Présentation ---------- */
.hero {
  max-width: 960px; margin: 0 auto; padding: 3.5rem 5vw 2rem;
  border-bottom: 1px solid var(--ligne);
  display: flex; gap: 2.5rem; align-items: flex-start;
}
.hero-photo { position: relative; flex: none; width: 190px; }
.hero-photo img {
  display: block; width: 190px; height: 190px; object-fit: cover;
  border-radius: 50%; border: 4px solid var(--vert);
}
.hero-linkedin {
  position: absolute; right: -10px; bottom: -4px;
  width: 76px; height: 76px; display: block;
  border-radius: 14px; overflow: hidden;
  border: 4px solid var(--fond);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform .15s;
}
.hero-linkedin:hover { transform: scale(1.08); }
.hero-linkedin img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-contenu { flex: 1; min-width: 0; }
.hero-titre { color: var(--gris); font-size: 1.05rem; margin-bottom: 1.4em; }
.hero-texte { font-size: 1.1rem; max-width: 46rem; }
.hero-liens { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* ---------- Sections ---------- */
.section { max-width: 960px; margin: 0 auto; padding: 2.8rem 5vw 1rem; }
.section h2 { position: relative; padding-left: 1rem; margin-bottom: 1.2em; }
.section h2::before {
  content: ""; position: absolute; left: 0; top: .15em; bottom: .15em;
  width: 4px; background: var(--vert);
}
.colonne-texte { max-width: 46rem; }

/* ---------- Recherche en cours ---------- */
.encadre-recherche {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem;
  border: 1px solid var(--ligne); border-left: 6px solid var(--jaune-vert);
  padding: 1.6rem 1.8rem;
}
.encadre-recherche h3 { margin-top: 0; }
.axes { list-style: none; padding: 0; margin: 0; }
.axes li { position: relative; padding-left: 1.3rem; margin-bottom: .6rem; font-size: .97rem; }
.axes li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--vert);
}

/* ---------- Domaines d'activité ---------- */
.domaines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.domaine { padding: 1.1rem 0; border-top: 1px solid var(--ligne); }
.domaine h3 { margin-top: 0; font-size: 1.1rem; }
.domaine p { margin: 0; color: var(--gris); font-size: .97rem; }

/* ---------- Frise (parcours) ---------- */
.deux-colonnes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; }
.deux-colonnes h3:first-child { margin-top: 0; }
.frise { list-style: none; padding: 0; margin: 0 0 1rem; border-left: 2px solid var(--ligne); }
.frise li { position: relative; padding: 0 0 1.3rem 1.4rem; }
.frise li::before {
  content: ""; position: absolute; left: -6px; top: .5em;
  width: 10px; height: 10px; border-radius: 50%; background: var(--vert);
}
.frise .date { font-size: .85rem; color: var(--gris); display: block; }
.frise .titre { font-weight: 600; display: block; }
.frise .lieu { color: var(--gris); font-size: .95rem; display: block; font-style: italic; }
.frise .texte { font-size: .95rem; margin: .25em 0 0; }

/* ---------- Langues ---------- */
.langues { margin: 0; }
.langues div { display: flex; gap: .6rem; padding: .35rem 0; border-bottom: 1px solid var(--ligne); font-size: .97rem; }
.langues dt { font-weight: 600; min-width: 7.5rem; margin: 0; }
.langues dd { margin: 0; color: var(--gris); }

/* ---------- Certifications ---------- */
.certifications { padding-left: 1.2rem; margin: 0 0 1rem; font-size: .97rem; }
.certifications li { margin-bottom: .35rem; }
.certifications li::marker { color: var(--vert); }

/* ---------- Publications ---------- */
.publications { padding-left: 1.3rem; max-width: 46rem; }
.publications li { margin-bottom: .6rem; }
.publications li::marker { color: var(--vert); }

/* ---------- Contact ---------- */
.lien-mail { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; flex-wrap: wrap; }
.lien-mail svg { width: 20px; height: 20px; color: var(--vert); flex: none; }
.lien-mail .sep { font-weight: 400; }
.lien-mail #adresse-mail { font-weight: 400; word-break: break-all; }

/* ---------- Pied de page ---------- */
.pied {
  max-width: 960px; margin: 2rem auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding: 1.2rem 5vw; border-top: 3px solid var(--vert); color: var(--gris); font-size: .9rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero { padding-top: 2.2rem; flex-direction: column; align-items: center; text-align: center; }
  .hero-photo { width: 160px; }
  .hero-photo > img { width: 160px; height: 160px; }
  .hero-linkedin { width: 64px; height: 64px; }
  .hero-texte { margin-left: auto; margin-right: auto; }
  .hero-liens { justify-content: center; }
  .encadre-recherche { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.2rem 1.2rem; }
  .domaines { grid-template-columns: 1fr; }
  .deux-colonnes { grid-template-columns: 1fr; gap: 1.5rem; }
  .section { padding-top: 2.2rem; }
}
