.about-intro {
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.75;
}

/* ==============================================
   SKILLS PAGE
   ============================================== */
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.skill-card h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

/* ==============================================
   Section
   ============================================== */

.avatar-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 3px solid var(--surface, #fff);
  box-shadow: var(--shadow-md, 0 6px 20px rgba(0,0,0,0.12));
  background: var(--surface2);
  display: block;
}

@media (max-width: 540px) {
  .avatar-photo {
    width: 96px;
    height: 96px;
  }
}

/* Timeline — parcours daté */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-period {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-strong);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-content h3 {
  margin: 0 0 4px;
  font-size: 19px;
}
.timeline-content p {
  margin: 6px 0 0;
  color: var(--text);
  font-size: var(--font-size-card-compact);
}
.timeline-content .small-muted {
  margin: 0 0 8px;
}

/* Manifeste produit */
.manifesto-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.manifesto-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.manifesto-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.manifesto-num {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  min-width: 36px;
  flex-shrink: 0;
  line-height: 1.2;
}
.manifesto-item h3 {
  margin: 0 0 6px;
  font-size: 19px;
}
.manifesto-item p {
  margin: 0;
  color: var(--muted);
  font-size: var(--font-size-card);
  line-height: var(--line-card);
}

@media (max-width: 600px) {
  .manifesto-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
  }
  .manifesto-num {
    min-width: 0;
  }
}

.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  padding: 0;
  background: var(--surface2, var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius, 14px);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: color-mix(in srgb, var(--accent) 3%, var(--surface2, var(--surface)));
}
.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-serif, Georgia, serif);
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary:hover {
  color: var(--accent);
}
.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: var(--line-card);
  font-size: var(--font-size-card);
}

/* Le mode sombre utilise uniquement les tokens par defaut :
   abysse, parchemin et ambre. Le mode clair reste opt-in via data-theme="light". */

/* ==============================================
   404 — page d'erreur élégante
   ============================================== */
.error-page {
  padding: 64px 0 56px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 220px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  user-select: none;
}
.error-page .kicker {
  justify-content: center;
}
.error-page .page-title {
  margin: 8px 0 12px;
}
.error-page .page-subtitle {
  margin: 0 auto 32px;
  max-width: 580px;
}
.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.error-suggestions {
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.error-suggestions h2 {
  margin: 6px 0 24px;
}

@media (max-width: 600px) {
  .error-page { padding: 40px 0 32px; }
  .error-actions .btn { flex: 1; min-width: 140px; }
}

/* ── Skill cards (page compétences) ── */
.skill-card {
  background: var(--surface) !important;
  border: 0.5px solid var(--rule) !important;
  box-shadow: none !important;
}
.skill-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
}
.skill-card .small-muted {
  font-family: var(--font-display);
  font-style: italic;
}

.skill-proof {
  margin: 24px 0 0;
  padding: 14px 16px 14px 18px;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--font-size-card-compact);
  font-style: italic;
  line-height: var(--line-card);
}

.skill-proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--font-size-meta);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.error-page {
  text-align: center;
  padding: 80px 0;
}
.error-page h1 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
}
.error-page p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
}

/* ── Contact form ── */
.contact-link {
  background: var(--surface) !important;
  border: 0.5px solid var(--rule) !important;
  color: var(--text) !important;
  font-family: var(--font-display) !important;
  border-radius: var(--radius-sm);
}
.contact-link:hover {
  border-color: var(--accent) !important;
  background: var(--accent-light) !important;
  color: var(--accent) !important;
}
.contact-icon { color: var(--accent); }
.form-status.success { color: var(--accent); }
.form-status.error { color: var(--highlight); }

/* ==============================================
   MARINE CARD — bloc storytelling sur about.html
   ============================================== */
.marine-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border-left: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}

/* Ancre vectorielle en filigrane — colorée accent */
.marine-card::after {
  content: '';
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 220px;
  height: 220px;
  pointer-events: none;
  opacity: 0.12;
  background-color: var(--accent);
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v15'/%3E%3Cpath d='M5 17a7 7 0 0 0 7 5 7 7 0 0 0 7-5'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v15'/%3E%3Cpath d='M5 17a7 7 0 0 0 7 5 7 7 0 0 0 7-5'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
}


/* Pattern callout — bloc récap sur project-po-augmente-ia.html */
.pattern-callout {
  background: var(--surface2);
  border-left: 3px solid var(--accent);
}

/* ==============================================
   Section
   ============================================== */
