/* Portfolio de Tiphaine Caboux, dans la charte du Groupe Maisonhaute
   Couleurs et polices relevées sur groupe-maisonhaute.fr le 2 décembre 2026 :
   rouge #D80027 (actions), rouge brique #CB2B39 (bordures), anthracite #1C1D1D,
   Poppins pour les titres et le texte, Open Sans grasse pour les sous-titres. */

@font-face { font-family: 'Poppins'; font-weight: 300; font-display: swap; src: url(polices/poppins-300.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url(polices/poppins-400.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: italic; font-display: swap; src: url(polices/poppins-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(polices/poppins-500.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(polices/poppins-600.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url(polices/poppins-700.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 600; font-display: swap; src: url(polices/open-sans-600.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 700; font-display: swap; src: url(polices/open-sans-700.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 800; font-display: swap; src: url(polices/open-sans-800.woff2) format('woff2'); }

:root {
  --rouge: #D80027;
  --rouge-fonce: #B40021;
  --brique: #CB2B39;
  --anthracite: #1C1D1D;
  --anthracite-2: #262727;
  --bitume: #303030;
  --texte: #54595F;
  --texte-doux: #7A7A7A;
  --perle: #EAEAEA;
  --fond: #FAFAFA;
  --fantome: #E8E8E8;
  --fantome-sombre: #2C2D2D;
  --blanc: #FFFFFF;
  --titre: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --sous-titre: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --entete: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
body {
  margin: 0; background: var(--blanc); color: var(--texte);
  font: 400 15px/1.75 var(--titre);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--anthracite); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--rouge); color: #fff; padding: 10px 16px; font-weight: 500; }
.lien-evitement:focus { top: 12px; }

main { overflow-x: clip; }
.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 40; height: var(--entete);
  background: var(--anthracite); color: #fff;
  border-bottom: 1px solid #000;
}
.entete .conteneur { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marque { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: #fff; line-height: 1; }
.marque-prenom { font: 500 10px/1 var(--titre); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 2px; }
.marque-nom { font: 600 23px/1 var(--titre); letter-spacing: .5px; text-transform: uppercase; position: relative; }
.marque-nom::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 3px; background: var(--rouge); transform: skewX(-30deg); transform-origin: left; width: 46%; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font: 400 14px/1 var(--titre); letter-spacing: .4px; color: #F2F2F2; text-decoration: none;
  padding: 10px 12px; position: relative;
}
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.menu-bouton { display: none; background: none; border: 0; color: #fff; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-bouton svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .menu-bouton { display: block; }
  .nav {
    position: fixed; inset: var(--entete) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--anthracite); padding: 8px var(--gouttiere) 24px; border-top: 1px solid #333;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
  }
  .nav.ouvert { transform: none; opacity: 1; visibility: visible; transition: opacity .18s ease, transform .18s ease; }
  .nav a { font-size: 17px; padding: 16px 0; border-bottom: 1px solid #2E2F2F; }
  .nav a::after { left: 0; right: auto; width: 40px; bottom: -1px; }
}

/* ---------- Onglets latéraux, comme « Devis / Nos offres / Actualités » ---------- */
.onglets {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 30;
  background: #fff; box-shadow: 0 6px 24px rgba(28, 29, 29, .14); width: 92px;
}
.onglets a {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 16px 8px; text-decoration: none; color: var(--anthracite);
  font: 400 11px/1.3 var(--titre); text-transform: uppercase; letter-spacing: .3px;
}
.onglets a + a { border-top: 1px solid var(--perle); }
.onglets svg { width: 30px; height: 30px; color: var(--rouge); transition: transform .2s ease; }
.onglets a:hover svg { transform: translateY(-2px); }
@media (max-width: 1340px) { .onglets { display: none; } }

/* ---------- Boutons ---------- */
.bouton, .bouton-contour, .bouton-clair {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px; border: 1.5px solid var(--rouge);
  font: 500 12.5px/1 var(--titre); letter-spacing: .6px; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.bouton { background: var(--rouge); color: #fff; }
.bouton:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); }
.bouton-contour { background: transparent; color: var(--brique); border-color: var(--brique); }
.bouton-contour:hover { background: var(--brique); color: #fff; }
.bouton-clair { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.bouton-clair:hover { background: #fff; color: var(--anthracite); border-color: #fff; }
.bouton svg, .bouton-contour svg, .bouton-clair svg { width: 16px; height: 16px; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }

.lien-suite {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px;
  font: 500 13px/1 var(--titre); color: var(--anthracite); text-decoration: none;
  border-bottom: 1.5px solid var(--anthracite);
}
.lien-suite svg { width: 16px; height: 16px; transition: transform .2s ease; }
a:hover .lien-suite svg, .lien-suite:hover svg { transform: translateX(4px); }

/* ---------- Titres à mot fantôme ---------- */
.titre-fantome { position: relative; padding-top: clamp(34px, 6vw, 88px); margin-bottom: 40px; }
.titre-fantome .fantome {
  position: absolute; top: 0; left: -0.04em; z-index: 0; pointer-events: none; user-select: none;
  font: 600 clamp(42px, 11.5vw, 150px)/0.9 var(--titre); letter-spacing: -1px; text-transform: uppercase;
  color: var(--fantome); white-space: nowrap;
}
.titre-fantome h1, .titre-fantome h2 { position: relative; z-index: 1; font: 700 clamp(26px, 3.4vw, 38px)/1.15 var(--sous-titre); }
.titre-fantome .chapo { position: relative; z-index: 1; margin-top: 14px; max-width: 62ch; }
.titre-fantome.centre { text-align: center; }
.titre-fantome.centre .fantome { left: 50%; transform: translateX(-50%); }
.titre-fantome.centre .chapo { margin-left: auto; margin-right: auto; }
.sombre .titre-fantome .fantome { color: var(--fantome-sombre); }
.sombre .titre-fantome h1, .sombre .titre-fantome h2 { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.serree { padding-top: 0; }
.fond-perle { background: var(--fond); }
.sombre { background: var(--anthracite); color: #C9CACA; }
.sombre h2, .sombre h3 { color: #fff; }

/* ---------- Héros d'accueil ---------- */
.heros { position: relative; background: var(--anthracite); color: #D8D8D8; overflow: hidden; }
.heros .conteneur { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: end; min-height: min(760px, calc(100svh - var(--entete))); }
.heros-texte { padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); align-self: center; }
.heros-surtitre { font: 400 clamp(16px, 2vw, 22px)/1 var(--titre); letter-spacing: 6px; text-transform: uppercase; color: #fff; margin-bottom: 26px; }
.heros h1 { color: #fff; font: 600 clamp(34px, 5.4vw, 66px)/1.06 var(--titre); text-transform: uppercase; letter-spacing: -.5px; margin-bottom: 28px; }
.heros-slogan { font: 400 italic clamp(16px, 1.7vw, 19px)/1.5 var(--titre); color: #fff; margin-bottom: 14px; padding-left: 18px; border-left: 3px solid var(--rouge); }
.heros-statut { max-width: 52ch; margin-bottom: 34px; color: #BDBEBE; }
.heros-portrait { position: relative; align-self: end; justify-self: center; width: min(100%, 440px); }
.heros-portrait::before {
  content: ''; position: absolute; left: 8%; right: -6%; bottom: 0; top: 16%;
  background: #3A3B3B; border: 2px solid var(--brique);
}
.heros-portrait img { position: relative; width: 100%; height: auto; filter: grayscale(.15) contrast(1.03); }
.heros .conteneur { padding-bottom: 30px; }
.heros::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; z-index: 0;
  background: linear-gradient(to right, rgba(255,255,255,.8) 0 50%, transparent 50% 100%) left center / 56px 3px repeat-x, var(--bitume);
  border-top: 3px solid var(--rouge);
}
.heros-portrait { z-index: 1; }
.route-reperes.heros-route { position: absolute; left: var(--gouttiere); bottom: 64px; display: none; }
@media (min-width: 1240px) { .route-reperes.heros-route { display: block; } .heros-texte { padding-left: 0; } }
@media (max-width: 860px) {
  .heros .conteneur { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .heros-texte { padding-bottom: 32px; }
  .heros-portrait { width: min(78%, 340px); }
}

/* La route à repères : la navigation verticale de leur accueil */
.route-reperes { list-style: none; margin: 0; padding: 0; position: relative; }
.route-reperes::before { content: ''; position: absolute; left: 6px; top: 12px; bottom: 12px; border-left: 1.5px dotted rgba(255,255,255,.55); }
.route-reperes li { position: relative; padding-left: 24px; margin: 0 0 12px; }
.route-reperes a { font: 400 12.5px/1.6 var(--titre); text-transform: uppercase; letter-spacing: .4px; color: #fff; text-decoration: none; }
.route-reperes a:hover { color: var(--rouge); }
.route-reperes svg { position: absolute; left: 0; top: 2px; width: 13px; height: 17px; color: #fff; }
.route-reperes li:first-child a, .route-reperes li:first-child svg { color: var(--rouge); }

/* ---------- Bloc « bienvenue » : panneau sombre + texte aligné à droite ---------- */
.partage { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.partage-sombre { background: var(--anthracite); color: #CFCFCF; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); text-align: right; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.partage-sombre .fantome { position: absolute; right: clamp(24px, 5vw, 72px); top: clamp(40px, 6vw, 80px); font: 600 clamp(60px, 8.5vw, 120px)/1 var(--titre); color: #3C3D3D; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.partage-sombre h2 { position: relative; color: #fff; font: 700 clamp(26px, 3vw, 34px)/1.2 var(--sous-titre); margin: clamp(28px, 4vw, 54px) 0 18px; }
.partage-sombre p { position: relative; margin-left: auto; max-width: 46ch; font-size: 14.5px; }
.partage-sombre .boutons { justify-content: flex-end; margin-top: 18px; position: relative; }
.partage-clair { background: var(--fond); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) { .partage { grid-template-columns: 1fr; } .partage-sombre { text-align: left; } .partage-sombre p { margin-left: 0; } .partage-sombre .boutons { justify-content: flex-start; } .partage-sombre .fantome { left: 24px; right: auto; } }

.valeurs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--brique); background: #fff; }
.valeur { padding: 24px 22px; }
.valeur:nth-child(odd) { border-right: 1px solid var(--perle); }
.valeur:nth-child(-n+2) { border-bottom: 1px solid var(--perle); }
.valeur h3 { font: 600 16px/1.3 var(--titre); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.valeur h3 svg { width: 14px; height: 18px; color: var(--rouge); flex: none; }
.valeur p { font-size: 13.5px; line-height: 1.6; }
@media (max-width: 520px) { .valeurs { grid-template-columns: 1fr; } .valeur:nth-child(odd) { border-right: 0; } .valeur:not(:last-child) { border-bottom: 1px solid var(--perle); } }

/* ---------- L'itinéraire : une route goudronnée, des repères ---------- */
.itineraire { position: relative; list-style: none; margin: 0; padding: 10px 0; }
.itineraire::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 22px; transform: translateX(-50%);
  background:
    linear-gradient(to bottom, #fff 0 50%, transparent 50% 100%) center / 2px 26px repeat-y,
    var(--bitume);
}
.etape { position: relative; width: 50%; padding: 0 52px 46px 0; }
.etape:nth-child(even) { margin-left: 50%; padding: 0 0 46px 52px; }
@media (min-width: 761px) { .etape + .etape { margin-top: -96px; } }
.etape-repere {
  position: absolute; top: 0; right: -17px; width: 34px; height: 44px; color: var(--rouge);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
.etape:nth-child(even) .etape-repere { right: auto; left: -17px; }
.etape.formation .etape-repere { color: var(--anthracite); }
.etape-carte { background: #fff; border: 1.5px solid var(--brique); padding: 20px 22px; text-align: left; }
.etape.formation .etape-carte { border-color: var(--anthracite); }
.etape-annee { font: 700 22px/1 var(--sous-titre); color: var(--rouge); margin-bottom: 8px; }
.etape.formation .etape-annee { color: var(--anthracite); }
.etape-type { font: 500 12px/1.4 var(--titre); text-transform: uppercase; letter-spacing: .5px; color: var(--texte-doux); }
.etape h3 { font: 600 17px/1.3 var(--titre); margin: 4px 0 2px; }
.etape-lieu { font-size: 13px; color: var(--texte-doux); margin-bottom: 8px; }
.etape ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.6; }
.etape li::marker { color: var(--rouge); }
.etape .lien-suite { margin-top: 12px; font-size: 12.5px; }
.itineraire-arrivee { position: relative; text-align: center; padding-top: 8px; }
.itineraire-arrivee .bouton { position: relative; }
@media (max-width: 760px) {
  .itineraire::before { left: 11px; transform: none; width: 18px; }
  .etape, .etape:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 34px 50px; }
  .etape-repere, .etape:nth-child(even) .etape-repere { left: 3px; right: auto; width: 26px; height: 34px; }
  .itineraire-arrivee { text-align: left; padding-left: 50px; }
}

/* ---------- Cartes à bord rouge ---------- */
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.carte {
  position: relative; display: flex; flex-direction: column; background: #fff; text-decoration: none; color: var(--texte);
  border: 1.5px solid var(--brique); transition: box-shadow .2s ease, transform .2s ease;
}
.carte:hover { box-shadow: 0 10px 30px rgba(28,29,29,.12); transform: translateY(-2px); }
.carte-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--perle); border-bottom: 1.5px solid var(--brique); }
.carte-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.carte-image.vide { display: grid; place-items: center; color: var(--texte-doux); font-size: 13px; }
.carte-corps { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.carte-meta { font: 500 11.5px/1.3 var(--titre); color: var(--texte-doux); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.carte h3 { font: 600 16.5px/1.35 var(--titre); margin-bottom: 8px; }
.carte p { font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; }
.carte .lien-suite { margin-top: auto; align-self: flex-start; }
.etiquette-parcours { position: absolute; top: -1.5px; right: -1.5px; background: var(--rouge); color: #fff; font: 500 11px/1 var(--titre); padding: 7px 10px; }

/* Cartes de compétence */
.competences { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.competences .carte { grid-column: span 2; }
.competences .carte.parcours { grid-column: span 3; }
.competences .carte-corps { padding: 26px 24px; }
.competence-ac { font: 500 12px/1.5 var(--titre); color: var(--brique); margin-bottom: 14px; }
@media (max-width: 900px) { .competences { grid-template-columns: 1fr 1fr; } .competences .carte, .competences .carte.parcours { grid-column: span 1; } }
@media (max-width: 560px) { .competences { grid-template-columns: 1fr; } }

/* ---------- Tuiles chiffrées : le bandeau « chiffres clés » ---------- */
.tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tuile { background: var(--perle); border: 2px solid var(--brique); padding: 20px 18px 54px; position: relative; color: var(--anthracite); }
.tuile-valeur { font: 700 clamp(22px, 2.4vw, 28px)/1.1 var(--sous-titre); margin-bottom: 6px; }
.tuile-label { font-size: 13.5px; line-height: 1.4; }
.tuile.compacte { padding-bottom: 22px; }
.tuile svg { position: absolute; right: 14px; bottom: 12px; width: 34px; height: 34px; color: var(--anthracite); }
@media (max-width: 760px) { .tuiles { grid-template-columns: 1fr 1fr; } }

/* ---------- Pages intérieures ---------- */
.bandeau { background: var(--fond); padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--perle); }
.fil { font-size: 13px; color: var(--texte-doux); margin-bottom: 6px; }
.fil a { color: var(--texte-doux); text-decoration: none; }
.fil a:hover { color: var(--rouge); }
.bandeau .titre-fantome { margin-bottom: 0; }
.bandeau-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
.pastille { display: inline-block; border: 1.5px solid var(--brique); color: var(--brique); background: #fff; font: 500 12px/1 var(--titre); padding: 8px 12px; }
.pastille.pleine { background: var(--rouge); border-color: var(--rouge); color: #fff; }

.colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .colonnes { grid-template-columns: 1fr; } }

.liste-ac { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.liste-ac li { background: #fff; border-left: 3px solid var(--rouge); padding: 14px 16px; box-shadow: 0 1px 0 var(--perle); }
.liste-ac strong { display: block; font: 600 13px/1.4 var(--titre); color: var(--anthracite); }
.liste-ac span { font-size: 13.5px; line-height: 1.55; }
.niveau2 { margin-top: 10px; }
.niveau2 li { border-left-color: var(--anthracite); }
.niveau2 .preuve { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--perle); color: var(--anthracite); font-size: 13.5px; }
.niveau2 .preuve a { color: var(--rouge); font-weight: 500; }

/* Fiche d'une trace */
.trace { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(22px, 4vw, 44px); padding: 34px 0; border-top: 1px solid var(--perle); scroll-margin-top: calc(var(--entete) + 20px); }
.trace:first-of-type { border-top: 0; }
.trace-apercu { display: block; border: 1.5px solid var(--brique); background: var(--perle); align-self: start; position: relative; text-decoration: none; }
.trace-apercu img { width: 100%; height: auto; }
.trace-apercu span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(28,29,29,.88); color: #fff; font: 500 12px/1 var(--titre); padding: 11px 12px; display: flex; align-items: center; gap: 8px; }
.trace-apercu span svg { width: 15px; height: 15px; }
.trace-sans-doc { border: 1.5px dashed var(--perle); padding: 26px 18px; font-size: 13px; color: var(--texte-doux); text-align: center; align-self: start; }
.trace h3 { font: 700 21px/1.25 var(--sous-titre); margin-bottom: 6px; }
.trace-meta { font-size: 13px; color: var(--texte-doux); margin-bottom: 18px; }
.trace-meta a { color: var(--brique); }
.trace dl { margin: 0; display: grid; gap: 16px; }
.trace dt { font: 600 13.5px/1.3 var(--titre); color: var(--anthracite); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.trace dt svg { width: 12px; height: 15px; color: var(--rouge); flex: none; }
.trace dd { margin: 0; font-size: 14px; line-height: 1.65; }
.trace dd ul { margin: 0; padding-left: 18px; }
.trace dd li::marker { color: var(--rouge); }
.trace .refaire { background: var(--fond); border-left: 3px solid var(--anthracite); padding: 12px 14px; }
.criteres { display: grid; gap: 7px; margin-top: 4px; max-width: 420px; }
.critere { display: grid; grid-template-columns: 120px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.critere-barre { height: 10px; background: var(--perle); }
.critere-barre i { display: block; height: 100%; background: var(--anthracite); }
.critere.fort .critere-barre i { background: var(--rouge); }
.critere b { font-weight: 600; color: var(--anthracite); text-align: right; }
@media (max-width: 680px) { .trace { grid-template-columns: 1fr; } .trace-apercu { max-width: 230px; } }

.chiffres-projet { display: flex; flex-wrap: wrap; gap: 16px; margin: 6px 0 4px; }

/* ---------- CV ---------- */
.cv { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; border: 1.5px solid var(--brique); background: #fff; }
.cv-cote { background: var(--anthracite); color: #CFCFCF; padding: 32px 26px; }
.cv-cote img { width: 150px; height: 150px; object-fit: cover; object-position: top; border: 2px solid var(--brique); margin-bottom: 20px; background: #3A3B3B; }
.cv-cote h2 { color: #fff; font: 600 24px/1.1 var(--titre); text-transform: uppercase; }
.cv-cote .cv-titre { color: #fff; font-size: 13.5px; margin: 8px 0 24px; }
.cv-cote h3 { color: #fff; font: 600 13px/1 var(--titre); text-transform: uppercase; letter-spacing: .6px; margin: 24px 0 10px; padding-bottom: 8px; border-bottom: 1px solid #3A3B3B; }
.cv-cote ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.7; }
.cv-cote a { color: #fff; }
.cv-principal { padding: 32px clamp(20px, 4vw, 40px); }
.cv-principal h3 { font: 700 18px/1 var(--sous-titre); margin: 6px 0 16px; display: flex; align-items: center; gap: 10px; }
.cv-principal h3::after { content: ''; flex: 1; height: 1.5px; background: var(--perle); }
.cv-bloc + .cv-bloc { margin-top: 26px; }
.cv-ligne { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid #F1F1F1; }
.cv-ligne:last-child { border-bottom: 0; }
.cv-date { font: 600 13px/1.5 var(--titre); color: var(--rouge); }
.cv-ligne h4 { font: 600 14.5px/1.4 var(--titre); }
.cv-ligne p, .cv-ligne li { font-size: 13.5px; line-height: 1.55; }
.cv-ligne ul { margin: 4px 0 0; padding-left: 18px; }
.cv-ligne details summary { cursor: pointer; list-style: none; }
.cv-ligne details summary::-webkit-details-marker { display: none; }
.cv-ligne details summary h4::after { content: ' +'; color: var(--rouge); font-weight: 500; }
.cv-ligne details[open] summary h4::after { content: ' −'; }
@media (max-width: 760px) { .cv { grid-template-columns: 1fr; } .cv-ligne { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact a.carte { padding: 26px 22px; flex-direction: row; align-items: center; gap: 16px; }
.contact a.carte svg { width: 30px; height: 30px; color: var(--rouge); flex: none; }
.contact strong { display: block; color: var(--anthracite); font: 600 15px/1.3 var(--titre); }
.contact span { font-size: 13.5px; word-break: break-word; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Candidature ---------- */
.missions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1.5px solid var(--brique); background: #fff; }
.mission { padding: 28px 24px; }
.mission + .mission { border-left: 1px solid var(--perle); }
.mission svg { width: 38px; height: 38px; color: var(--rouge); margin-bottom: 14px; }
.mission h3 { font: 600 19px/1.2 var(--titre); text-transform: uppercase; margin-bottom: 8px; }
.mission p { font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) { .missions { grid-template-columns: 1fr; } .mission + .mission { border-left: 0; border-top: 1px solid var(--perle); } }
.citation { font: 600 italic clamp(20px, 2.4vw, 26px)/1.4 var(--titre); color: var(--anthracite); border-left: 4px solid var(--rouge); padding: 4px 0 4px 22px; margin: 0 0 28px; max-width: 34ch; }
.citation cite { display: block; font: 400 13px/1.4 var(--titre); color: var(--texte-doux); margin-top: 8px; font-style: normal; }
.faits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.faits li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.faits svg { width: 13px; height: 17px; color: var(--rouge); flex: none; margin-top: 4px; }
.logo-mh { width: 190px; height: auto; }
.preuves { display: grid; gap: 22px; }
.preuve-ligne { display: grid; grid-template-columns: 74px minmax(0, 1fr) 150px; gap: 22px; align-items: start; background: #fff; border: 1.5px solid var(--brique); padding: 22px; }
.preuve-ligne .preuve-num { font: 800 44px/1 var(--sous-titre); color: var(--rouge); }
.preuve-ligne h3 { font: 600 18px/1.3 var(--titre); margin-bottom: 6px; }
.preuve-ligne p { font-size: 14px; }
.preuve-ligne img { border: 1px solid var(--perle); }
.ac-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ac-mini span { font: 500 11.5px/1 var(--titre); color: var(--brique); border: 1px solid var(--brique); padding: 6px 8px; }
@media (max-width: 760px) { .preuve-ligne { grid-template-columns: 1fr; } .preuve-ligne img { max-width: 160px; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--anthracite); color: #A9AAAA; padding: 56px 0 28px; font-size: 13.5px; }
.pied .conteneur { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.pied h2 { color: #fff; font: 600 14px/1 var(--titre); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.pied ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.pied a { color: #DADADA; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied .marque { align-items: flex-start; margin-bottom: 16px; }
.pied-bas { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 22px; margin-top: 12px; font-size: 12px; color: #8A8B8B; }
@media (max-width: 760px) { .pied .conteneur { grid-template-columns: 1fr; } }

/* Mouvement : seulement à l'arrivée, et rien si l'utilisateur a demandé moins d'animations */
@media (prefers-reduced-motion: no-preference) {
  .heros h1, .heros-surtitre, .heros-slogan, .heros-statut, .heros .boutons { animation: monter .7s cubic-bezier(.2,.7,.2,1) both; }
  .heros-surtitre { animation-delay: .05s; }
  .heros h1 { animation-delay: .12s; }
  .heros-slogan { animation-delay: .22s; }
  .heros-statut { animation-delay: .28s; }
  .heros .boutons { animation-delay: .34s; }
  .heros-portrait img { animation: apparaitre .9s ease .2s both; }
}
@keyframes monter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes apparaitre { from { opacity: 0; } to { opacity: 1; } }

@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff; }
  .entete, .onglets, .pied, .pas-imprime, .lien-evitement { display: none !important; }
  body { font-size: 10.5px; line-height: 1.5; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  main { overflow: visible; }
  .section { padding: 0; }
  .section .conteneur { padding: 0; max-width: none; }
  .cv { border: 0; grid-template-columns: 62mm 1fr; min-height: 297mm; }
  .cv-cote { padding: 12mm 7mm 10mm 9mm; }
  .cv-cote img { width: 34mm; height: 34mm; margin-bottom: 5mm; }
  .cv-cote h2 { font-size: 19px; }
  .cv-cote .cv-titre { font-size: 11px; margin: 4px 0 10px; }
  .cv-cote h3 { font-size: 10px; margin: 12px 0 6px; padding-bottom: 5px; }
  .cv-cote ul { font-size: 10px; line-height: 1.6; }
  .cv-principal { padding: 12mm 10mm 10mm 9mm; }
  .cv-principal h3 { font-size: 14px; margin: 0 0 6px; }
  .cv-bloc + .cv-bloc { margin-top: 12px; }
  .cv-ligne { grid-template-columns: 22mm 1fr; gap: 10px; padding: 5px 0; break-inside: avoid; }
  .cv-date { font-size: 10px; }
  .cv-ligne h4 { font-size: 11px; }
  .cv-ligne p, .cv-ligne li { font-size: 10px; line-height: 1.45; }
  .cv-ligne ul { margin-top: 2px; }
  .cv-ligne details summary h4::after { content: none !important; }
  .cv-ligne a { text-decoration: none; }
}
