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

html, body {
  height: 100%;
}

body {
  background-color: #ffffff;
  color: #000000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

/* ---------- Page d'accueil (hero) ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  padding-bottom: 12vh;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: #f2f2f2;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(34px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 38px;
  color: #000000;
}

h1 .italic {
  font-style: italic;
}

.subtitle {
  font-size: clamp(9px, 1.2vw, 15px);
  color: #6b6b6b;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---------- Pages internes ---------- */
body.page {
  justify-content: flex-start;
  padding-top: 90px;
  padding-bottom: 140px;
}

.home-link {
  position: fixed;
  top: 32px;
  left: 32px;
  font-size: 13px;
  color: #6b6b6b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  z-index: 10;
}

.home-link:hover {
  color: #000;
}

.page-content {
  width: 100%;
  max-width: 720px;
  padding: 40px 0;
}

.page-title {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #000000;
}

.page-intro {
  font-size: 16px;
  color: #6b6b6b;
  line-height: 1.6;
  margin-bottom: 140px;
}

.page-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #2a2a2a;
  margin-bottom: 18px;
}

/* ---------- Sections (pages internes) ---------- */
.section {
  margin-bottom: 72px;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #999;
  margin-bottom: 18px;
  font-weight: 500;
}

.company-name {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #000;
}

.company-logo {
  display: block;
  height: 100px;
  width: auto;
  margin-bottom: 24px;
  margin-left: 0px;
}

.page-figure {
  margin: 32px 0 0;
}

.page-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.page-figure figcaption {
  font-size: 13px;
  color: #999;
  margin-top: 14px;
  text-align: center;
  font-style: italic;
}

.role-position {
  font-size: 17px;
  font-weight: 600;
  color: #000;
}

.info-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  row-gap: 20px;
  column-gap: 24px;
  margin: 0;
  padding: 32px 0;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}

.info-grid dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  font-weight: 500;
  align-self: center;
}

.info-grid dd {
  font-size: 15px;
  color: #000;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .info-grid dt {
    margin-top: 12px;
  }
  .info-grid dt:first-child {
    margin-top: 0;
  }
}

.missions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.missions-list li {
  font-size: 15px;
  line-height: 1.75;
  color: #2a2a2a;
  padding-left: 22px;
  position: relative;
  margin-bottom: 16px;
}

.missions-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #000;
}

/* ---------- Expériences & formations (page À propos) ---------- */
.experience {
  padding: 24px 0;
  border-top: 1px solid #ececec;
}

.experience:first-of-type {
  border-top: none;
  padding-top: 8px;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 12px;
}

.experience-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
  margin: 0 0 4px 0;
}

.experience-place {
  font-size: 14px;
  color: #6b6b6b;
  margin: 0;
}

.experience-date {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  white-space: nowrap;
  padding-top: 3px;
  flex-shrink: 0;
}

.experience .missions-list {
  margin-top: 14px;
}

.experience > p {
  margin-top: 12px;
}

/* ---------- Centres d'intérêt ---------- */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.interest {
  display: flex;
  flex-direction: column;
}

.interest-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.interest-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.interest-photos .interest-photo {
  aspect-ratio: 1 / 1;
}

.interest-photo:hover {
  transform: scale(1.02);
}

.interest-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.interest-photo-wrap:hover {
  transform: scale(1.02);
}

.interest-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interest-photo-wrap.rotate-cw img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  height: 133.333%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.interest-title {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #000;
  margin: 14px 0 8px;
}

.interest-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #2a2a2a;
  margin: 0;
}

/* ---------- Galerie photos ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.photo-gallery img:hover {
  transform: scale(1.02);
}

/* ---------- Placeholder photo ---------- */
.photo-placeholder {
  border: 2px dashed #d4d4d4;
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  color: #999;
  font-size: 13px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #fafafa;
}

.photo-placeholder-square {
  aspect-ratio: 4 / 3;
  padding: 16px;
  margin-top: 0;
  justify-content: center;
}

.photo-placeholder-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.photo-placeholder-hint {
  font-size: 11px;
  color: #bbb;
  font-family: monospace;
}

@media (max-width: 600px) {
  .experience-header {
    flex-direction: column;
    gap: 6px;
  }
  .experience-date {
    padding-top: 0;
  }
  .interests-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Veille (sujet, outil, sources) ---------- */
.watch-topic-title {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #000;
  margin-bottom: 24px;
}

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px;
  background: #f7f7f7;
  border: 1px solid #ececec;
  border-radius: 14px;
}

.tool-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  padding: 6px;
}

.tool-text {
  flex: 1;
  min-width: 0;
}

.tool-name {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.tool-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #2a2a2a;
  margin-bottom: 12px;
}

.tool-desc a {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #bbb;
  text-underline-offset: 3px;
}

.tool-desc a:hover {
  text-decoration-color: #000;
}

.tool-features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.tool-features li {
  font-size: 14px;
  line-height: 1.65;
  color: #2a2a2a;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.tool-features li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #999;
  font-weight: 700;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.source-card {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  text-decoration: none;
  color: #000;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.source-card:hover {
  border-color: #000;
  background: #fafafa;
  transform: translateY(-2px);
}

.source-card-meta {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #777;
  padding: 3px 8px;
  background: #f0f0f0;
  border-radius: 999px;
  margin-bottom: 10px;
}

.source-card-name {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #000;
  line-height: 1.35;
}

.source-card-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.55;
  display: block;
}

@media (max-width: 600px) {
  .tool-card {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }
}

/* ---------- Bouton téléchargement ---------- */
.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: #f7f7f7;
  border: 1px solid #ececec;
  border-radius: 14px;
  text-decoration: none;
  color: #000;
  margin-bottom: 80px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.download-card:hover {
  background: #ffffff;
  border-color: #000;
}

.download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  flex-shrink: 0;
}

.download-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.download-title {
  font-size: 15px;
  font-weight: 600;
  color: #000;
}

.download-meta {
  font-size: 13px;
  color: #777;
}

.download-arrow {
  color: #999;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.download-card:hover .download-arrow {
  color: #000;
  transform: translate(2px, -2px);
}

/* ---------- Compétences (page E5) ---------- */
.competency-group {
  margin-bottom: 64px;
}

.competency-group-title {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #000;
}

.competency {
  border-top: 1px solid #ececec;
  padding: 22px 0;
}

.competency:first-of-type {
  border-top: none;
  padding-top: 8px;
}

.competency-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.competency-code {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #000;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}

.competency-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 1.45;
  margin: 0;
  padding-top: 1px;
}

.competency-title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #d4d4d4;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.competency-title a:hover {
  color: #000;
  text-decoration-color: #000;
}

.competency-missions {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 38px;
}

.competency-missions li {
  font-size: 14px;
  line-height: 1.6;
  color: #2a2a2a;
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.competency-missions li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: #999;
  font-size: 13px;
}

@media (max-width: 600px) {
  .competency-missions {
    padding-left: 0;
  }
  .competency-group-title {
    font-size: 22px;
  }
}

/* ---------- Formulaire de contact ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 48px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: #000;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #d4d4d4;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #000;
  background: #fafafa;
}

.form-submit {
  align-self: flex-start;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: 8px;
}

.form-submit:hover {
  background: #fff;
  color: #000;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f2f2f2;
  border-radius: 999px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nav a {
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 0 15px;
  transition: opacity 0.2s ease;
  position: relative;
}

.nav a:hover {
  opacity: 0.6;
}

.nav a.active {
  font-weight: 700;
}

.nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background-color: #d4d4d4;
}

@media (max-width: 600px) {
  .nav {
    padding: 12px 16px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100% - 40px);
  }
  .nav a {
    font-size: 12px;
    padding: 4px 10px;
  }
  .nav a:not(:last-child)::after {
    display: none;
  }
  .avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
  }
  .home-link {
    top: 20px;
    left: 20px;
  }
}
