/* ==========================================================
   Style « Minimaliste » : épuré, titres de section dans la marge
   ========================================================== */
.cv--minimal {
  --break-top: 14mm; --break-bottom: 12mm;
  padding: var(--break-top) 17mm var(--break-bottom);
  background: #fff;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 8.6pt;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* En-tête */
.cv--minimal .cv-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8mm;
  padding-bottom: 5.5mm; margin-bottom: 6mm;
  border-bottom: 1px solid var(--rule);
}
.cv--minimal .cv-name { color: var(--ink); font-size: 24pt; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
/* Le point final suit le dernier mot (même quand le nom est sur 2 lignes) */
.cv--minimal .cv-name > :last-child::after { content: '.'; color: var(--accent); }
.cv--minimal .cv-title { margin-top: 1.5mm; color: var(--ink-soft); font-size: 11pt; }
/* Réglage « En-tête » (cv-base.css) : distance entre l'en-tête et les bords de la page */
.cv--minimal { --head-top: 14mm; --head-left: 17mm; --head-right: 17mm; }
.cv--minimal:is(.cv--head-band, .cv--head-gradient, .cv--head-dark) .cv-head { padding-bottom: 8mm; border-bottom: 0; }
.cv--minimal:is(.cv--head-band, .cv--head-gradient, .cv--head-dark) .cv-name > :last-child::after { color: inherit; }
.cv--minimal.cv--ico-pill .cv-sec .cv-h { align-self: start; border-radius: 2mm; } /* titre parfois sur 2 lignes */

/* Photo : à droite du nom, à gauche, ou centrée au-dessus (l'en-tête se centre alors) */
.cv--minimal { --photo-size: 26mm; }
.cv--minimal .cv-head__text { flex: 1 1 auto; min-width: 0; }
.cv--minimal.cv--photo-left .cv-photo,
.cv--minimal.cv--photo-center .cv-photo { order: -1; }
.cv--minimal.cv--photo-center .cv-head { flex-direction: column; align-items: center; gap: 4mm; text-align: center; }
.cv--minimal.cv--photo-center .cv-contact--inline { justify-content: center; }

.cv--minimal .cv-contact--inline {
  flex-direction: row; flex-wrap: wrap; gap: 1.5mm 4.5mm;
  margin-top: 4mm;
  color: var(--ink-soft); font-size: 8pt;
}
.cv--minimal .cv-contact .cv-ico { color: var(--accent-ink); }

/* Sections : titre dans la colonne de gauche */
.cv--minimal .cv-sec {
  display: grid; grid-template-columns: 32mm 1fr; column-gap: 6mm;
  margin-bottom: 5mm;
}
/* Dans une grille, « ne pas couper après le titre » colle toutes les sections
   entre elles et envoie tout en page 2 ; « ne pas couper le titre » rend toute
   la section insécable (elle saute en entier à la page suivante) : on les désactive ici. */
.cv--minimal .cv-h {
  break-after: auto;
  break-inside: auto;
  padding-top: .25em;
  color: var(--ink-mute);
  font-size: 7.6pt; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.cv--minimal .cv-text { color: var(--ink-soft); line-height: 1.5; }

/* Entrées */
.cv--minimal .cv-entries { gap: 3.4mm; }
.cv--minimal .cv-entry__title { color: var(--ink); font-size: 9.8pt; font-weight: 600; }
.cv--minimal .cv-entry__date { color: var(--ink-mute); font-size: 8pt; }
.cv--minimal .cv-entry__sub { margin-top: .4mm; color: var(--accent-ink); font-size: 8.6pt; font-weight: 500; }
.cv--minimal .cv-entry__body { margin-top: 1.3mm; color: var(--ink-body); line-height: 1.5; }
.cv--minimal .cv-bullets li::before { top: .75em; width: 6px; height: 1px; border-radius: 0; background: var(--ink-mute); }
.cv--minimal .cv-bullets li { padding-left: 13px; }

/* Stack technique : encadré gris, comme les tags de ce style */
.cv--minimal .cv-stack { border-radius: 1.5mm; background: #f5f6f8; }
.cv--minimal .cv-stack__label { color: var(--ink-mute); font-weight: 600; letter-spacing: .14em; }
.cv--minimal .cv-stack__list { color: var(--ink-soft); }
.cv--minimal .cv-stack__list li:not(:last-child)::after { color: var(--ink-mute); }

/* Compétences : deux colonnes avec points */
.cv--minimal .cv-skills--dots { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2mm 10mm; }
.cv--minimal .cv-skill { display: flex; align-items: center; justify-content: space-between; gap: 4mm; }
.cv--minimal .cv-dots i { width: 6px; height: 6px; }

/* Avec technos : une ligne par compétence → nom | tags | points */
.cv--minimal .cv-skills--tagged { display: flex; flex-direction: column; gap: 2mm; }
.cv--minimal .cv-skills--tagged .cv-skill { display: grid; grid-template-columns: 40mm 1fr auto; align-items: start; column-gap: 4mm; }
.cv--minimal .cv-skills--tagged .cv-skill__name { font-weight: 500; }
.cv--minimal .cv-skills--tagged .cv-dots { grid-column: 3; grid-row: 1; margin-top: .45em; }
.cv--minimal .cv-skills--tagged .cv-tags { grid-column: 2; grid-row: 1; margin-top: 0; }
.cv--minimal .cv-tag { background: #f3f4f6; color: var(--ink-soft); }

/* Langues */
.cv--minimal .cv-langs { display: flex; flex-wrap: wrap; gap: 2mm 8mm; }
.cv--minimal .cv-lang { display: flex; gap: 2mm; }
.cv--minimal .cv-lang__name { font-weight: 600; }
.cv--minimal .cv-lang__level { color: var(--ink-mute); }

.cv--minimal .cv-inline { color: var(--ink-soft); }
