/*
Theme Name: Pavoine — CV vivant
Theme URI: https://pavoine.com
Author: Laurent Pavoine
Author URI: https://pavoine.com
Description: Thème WordPress minimal, sur mesure, pour le site personnel de personal branding de Laurent Pavoine. Une page unique : hero, présentation, parcours, compétences, contact.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Usage privé
Text Domain: pavoine
*/

/* ---------- Design tokens ---------- */
:root {
  /* Fond de page — gris-vert franc */
  --bg-page: #D0DEC8;
  --white: #FFFFFF;
  --ink: #1c221a;
  --ink-soft: #2d3a29;
  --muted: #4F5C4E;
  --hairline: rgba(34,31,26,0.14);
  --footer-bg: #1b221a;
  --footer-text: #F3F5F3;
  --footer-muted: #9AA992;

  /* Accent — vert-gris profond (pas de pastel) */
  --accent: #335E37;
  --accent-dark: #20361E;

  --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  /* Pile système "classe" — volontairement pas Arial/Helvetica */
  --font-body: 'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;
}

/* Correctif d'alignement : les exposants (3ᵉ, 18ᵉ...) ne doivent pas
   agrandir la hauteur de ligne ni désaligner les éléments voisins. */
sup {
  font-size: 0.6em;
  line-height: 0;
  vertical-align: super;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  margin: 0;
  color: #20361E;
}

p { margin: 0; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover, a:focus-visible {
  color: var(--accent-dark);
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  width: 100%;
  box-sizing: border-box;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-page);
}
.brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.brand:hover { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--ink); font-size: 15px; }
.nav-link:hover { color: var(--accent); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

/* ---------- Hero ---------- */
.hero { width: 100%; box-sizing: border-box; padding: 96px 0 72px; }
.hero-inner { display: flex; flex-direction: column; gap: 32px; }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.eyebrow {
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.hero h1 { font-size: 52px; line-height: 1.08; font-weight: 700; }
.hero-lede { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 640px; }

.hero-photo {
  width: 168px; height: 168px; min-width: 168px;
  border-radius: 50%;
  background: #D7DADC;
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.stat-row {
  display: flex; gap: 56px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--hairline);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-number { font-size: 34px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { width: 100%; box-sizing: border-box; padding: 64px 0; }
.section--white { background: var(--white); }
.section h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.section-inner { display: flex; flex-direction: column; gap: 20px; }
.lede-block p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 760px; margin-bottom: 16px; }
.lede-block p:last-child { margin-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; }
.timeline-row {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px;
  padding: 22px 0; border-top: 1px solid var(--hairline);
}
.timeline:last-child .timeline-row:last-child { border-bottom: 1px solid var(--hairline); }
.timeline-date { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--accent); }
.timeline-body { display: flex; flex-direction: column; gap: 4px; }
.timeline-role { font-size: 17px; font-weight: 700; }
.timeline-meta { font-size: 15px; color: var(--muted); }
.timeline-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Skills ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.skill-card {
  padding: 24px; border: 1px solid var(--hairline); border-radius: 4px;
  display: flex; flex-direction: column; gap: 12px; background: var(--white);
}
.skill-card h3 { font-size: 17px; font-weight: 700; }
.skill-card p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  width: 100%; box-sizing: border-box; padding: 72px 0 48px;
  background: var(--footer-bg); color: var(--footer-text);
}
.footer-inner { display: flex; flex-direction: column; gap: 28px; }
.footer-inner h2 { font-size: 26px; font-weight: 700; color: var(--footer-text); }
.footer-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { color: var(--footer-text); font-size: 15px; }
.footer-secondary { color: var(--footer-muted) !important; font-size: 14px; }
.btn-outline {
  font-size: 14px; padding: 12px 22px; border: 1px solid var(--footer-text);
  border-radius: 999px; color: var(--footer-text); white-space: nowrap;
}
.btn-outline:hover { background: var(--footer-text); color: var(--footer-bg); }
.footer-sign {
  font-size: 13px; color: var(--footer-muted);
  padding-top: 24px; border-top: 1px solid rgba(243,244,245,0.15);
  display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .site-header, .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero-photo { margin-top: 24px; }
  .hero h1 { font-size: 38px; }
  .stat-row { gap: 28px; }
  .stat-item { flex: 1 1 40%; }
  .timeline-row { grid-template-columns: 1fr; gap: 4px; }
  .skills-grid { grid-template-columns: 1fr; }
}
