/* dguillem.fr — thème clair, bleu marine et ambre */

/* Polices hébergées sur le site (Geist, licence OFL) : fichiers variables, un seul fichier par graisse.
   latin-ext avant latin : sur les caractères communs (œ…), le navigateur prend la dernière déclaration. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geist-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/geist-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/geist-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/geist-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FFFFFF;
  --card: #F5F7FA;
  --card-hi: #ECF0F5;
  --ink: #10284A;
  --muted: #5D6878;
  --line: #E1E5EB;
  --accent: #A86A05;
  --amber: #E39B1B;
  --navy: #10284A;
  --navy-hi: #1A3B69;
  --ok: #1E9E5A;
  --err: #C0392B;
  --f: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(ellipse 900px 460px at 50% -140px, rgba(16, 40, 74, .08), transparent 70%);
  background-repeat: no-repeat;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; transition: background .2s; border-bottom: 1px solid var(--line); }
.site-header.scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.logo-text { color: var(--navy); transition: opacity .25s, transform .25s; }
.logo-text span { color: var(--muted); }
/* Accueil : le nom de l'en-tête n'apparaît qu'une fois le grand nom sorti de l'écran */
.site-header.name-hidden .logo-text { opacity: 0; transform: translateY(4px); pointer-events: none; }
.logo-mark { width: 42px; height: 42px; flex: none; display: block; }
.nav { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8); }
.nav a { text-decoration: none; font-size: 14px; color: var(--muted); padding: 6px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--card-hi); }
.nav a { display: inline-flex; align-items: center; gap: 7px; }
.nav a svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.nav a:hover svg, .nav a.active svg { opacity: 1; color: var(--accent); }
@media (min-width: 761px) and (max-width: 960px) { .nav a svg { display: none; } }
@media (min-width: 761px) and (max-width: 1000px) { .logo { font-size: 19px; } }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 68px; left: 16px; right: 16px; flex-direction: column; border-radius: 14px; padding: 8px; background: var(--card); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
}

/* Hero */
/* Circuit imprimé animé (assets/js/circuit.js), sur toute la largeur derrière l'en-tête de page */
.hero-zone { position: relative; overflow: hidden; }
.hero-zone > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-zone > .wrap { position: relative; }
.hero { padding: 96px 0 72px; text-align: center; }
/* Mobile : de la place sous les boutons pour le circuit fixe */
@media (max-width: 760px) { .hero { padding-bottom: 112px; } }
.chip { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 15px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; background: var(--card); }
.chip i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(30, 158, 90, .18); }
/* Sur téléphone, la pastille doit tenir sur une ligne */
@media (max-width: 480px) { .chip { font-size: 13px; gap: 8px; padding: 6px 14px; } }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; margin: 28px auto 0; max-width: 16em; text-wrap: balance; }
.hero h1 span { color: var(--muted); }
.hero p { color: var(--muted); font-size: 16.5px; max-width: 46em; margin: 20px auto 0; text-wrap: balance; }
/* Accueil : nom en titre principal, puis badge, puis accroche */
.hero .hero-name { font-size: clamp(40px, 6.5vw, 68px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 700; margin: 0 auto 24px; max-width: none; color: var(--navy); }
.hero .hero-name span { color: var(--muted); }
.hero .tagline { color: var(--ink); font-size: clamp(21px, 2.8vw, 30px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; max-width: 20em; margin: 28px auto 0; text-wrap: balance; }
.hero .tagline span { color: var(--muted); }
.ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: inherit; font-weight: 500; font-size: 15px; padding: 12px 22px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.btn.primary:hover { background: var(--navy-hi); border-color: var(--navy-hi); }

/* Sections */
section { padding: 30px 0; }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-title h2 { margin: 0; font-size: 28px; letter-spacing: -0.03em; font-weight: 600; }
.sec-title span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .sec-title { flex-direction: column; align-items: flex-start; gap: 0; } .sec-title h2 { line-height: 1.1; } .sec-title span { line-height: 1.3; margin-top: 2px; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; min-width: 0; }
.card h3 { margin: 10px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.card p strong { color: var(--ink); font-weight: 600; }
.k { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
/* Cartes Expertise : libellé de catégorie plus grand */
.bento .card > .k { font-size: 15px; font-weight: 500; }
/* Picto devant le libellé, même couleur que lui */
.k-ico { width: 17px; height: 17px; margin-right: 9px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Profil */
.profile { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.profile .quote { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.profile blockquote { margin: 0; font-size: clamp(22px, 2.7vw, 29px); line-height: 1.22; letter-spacing: -0.03em; font-weight: 600; text-wrap: pretty; }
.profile blockquote::before { content: "“"; color: var(--amber); margin-right: .18em; }
.profile blockquote::after { content: "”"; color: var(--amber); margin-left: .18em; }
.profile .text p { color: var(--muted); font-size: 16px; margin: 0; }
.profile .text p + p { margin-top: 14px; }
.profile .text p strong { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) { .profile { grid-template-columns: 1fr; } }

/* Bento compétences */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.c2 { grid-column: span 2; } .c3 { grid-column: span 3; } .c4 { grid-column: span 4; }
.stat { display: flex; flex-direction: column; background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.stat p { color: rgba(255, 255, 255, .72); }
.stat .k { color: var(--amber); }
.highlights { list-style: none; margin: auto 0 0; padding: 20px 0 0; display: grid; }
.highlights li { display: grid; gap: 2px; padding-block: 12px; border-top: 1px solid rgba(255, 255, 255, .16); }
.highlights strong { font-size: 14px; font-weight: 600; }
.highlights span { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.stat .big { display: block; font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-top: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 16px; }
.card h3 + .pills { margin-top: 10px; }
.pills span { font-family: var(--mono); font-size: 12px; line-height: 1.4; padding: 3px 8px; border-radius: 999px; background: var(--card-hi); border: 1px solid var(--line); }
.groups { margin: 10px 0 0; display: grid; gap: 14px; }
.card p + .groups { margin-top: 14px; }
.groups dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.groups dd { margin: 0; }
.groups .pills { margin-top: 6px; }
/* Systèmes : groupes en 2 colonnes qui se remplissent de haut en bas, sans trous entre les lignes */
@media (min-width: 901px) {
  .c4 .groups { display: block; columns: 2; column-gap: 28px; }
  .c4 .groups > div { break-inside: avoid; padding-bottom: 14px; }
}
/* Colonne de deux cartes empilées (Langues + IA) */
.stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.stack > .card:last-child { flex: 1; }
@media (max-width: 900px) { .c2, .c3, .c4 { grid-column: span 3; } .bento > .stack { grid-column: span 6; flex-direction: row; } .stack > .card { flex: 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .c2, .c3, .c4, .bento > .stack { grid-column: auto; } .bento > .stack { flex-direction: column; } .bento > .stat { order: -1; } }

/* Parcours */
.timeline { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.timeline details { background: var(--card); border-bottom: 1px solid var(--line); }
.timeline details:last-child { border-bottom: 0; }
.timeline summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 150px 1fr auto 20px; gap: 8px 24px; align-items: baseline; padding: 20px 24px; transition: background .15s; }
.timeline summary::-webkit-details-marker { display: none; }
.timeline summary:hover, .timeline details[open] summary { background: var(--card-hi); }
.timeline .when { font-family: var(--mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline .now .when { color: var(--ok); }
.timeline h3 { margin: 0; font-size: 16px; font-weight: 600; }
.job-ico { width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.timeline .org { color: var(--muted); font-size: 15px; text-align: right; }
.timeline .chev { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; align-self: center; }
.timeline details[open] .chev { transform: rotate(180deg); }
.timeline .body { padding: 4px 24px 24px calc(150px + 48px); background: var(--card-hi); }
.timeline ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.timeline li { padding-left: 18px; position: relative; }
.timeline li::before { content: "›"; position: absolute; left: 2px; color: var(--amber); font-family: var(--mono); }
.timeline .body .pills { margin-top: 14px; }
@media (max-width: 680px) {
  .timeline summary { grid-template-columns: 1fr 20px; }
  .timeline summary .when { grid-column: 1; }
  .timeline summary h3, .timeline summary .org { grid-column: 1; text-align: left; }
  .timeline summary .chev { grid-column: 2; grid-row: 1 / span 3; }
  .timeline .body { padding: 4px 24px 24px; }
}

/* Certifications */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cert { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cert small { display: block; color: var(--muted); font-size: 13px; }
.cert span { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
/* Infobulle sur un sigle (survol ou focus clavier / tap) */
/* Ancrée sur le bloc de texte de la carte, pas sur le sigle : même masquée, une infobulle qui dépasse
   à droite élargit la page sur mobile, et Chrome Android décale alors l'en-tête vers le haut. */
.cert > div { position: relative; min-width: 0; }
.tip { text-decoration: none; border-bottom: 1px dotted var(--muted); cursor: help; }
.tip::after {
  content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 5;
  background: var(--navy); color: #FFFFFF; font-size: 12px; font-weight: 500; line-height: 1.3;
  padding: 6px 10px; border-radius: 6px; width: max-content; max-width: 100%;
  opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .15s, transform .15s;
}
.tip:hover::after, .tip:focus::after { opacity: 1; transform: none; }
.tip:focus { outline: none; }
.sec-title-next { margin-top: 48px; }
@media (max-width: 860px) { .certs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .certs { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.contact-intro { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 20px; border: 1px solid var(--navy); background: var(--navy); color: #FFFFFF; }
.contact-card {
  display: grid; gap: 4px; margin-top: 8px; padding: 18px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.contact-card b { font-size: 16px; font-weight: 600; }
.contact-card > span:last-child { font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .6); }
.contact-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #7FE0A8; }
.contact-status i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .2); }
.contact-intro .k { color: var(--amber); }
.contact-intro h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 600; }
.contact-intro p { margin: 0; color: rgba(255, 255, 255, .72); }
.contact-intro :focus-visible { outline-color: var(--amber); }
.socials { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.socials a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); text-decoration: none; }
.socials a span:last-child { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, .6); }
.socials a:hover span:first-child { color: var(--amber); }
.socials-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .6); }
/* Picto « stop pub » : croix */
.socials-note svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.form-box { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 20px; }
/* Formulaire masqué (sans changer la hauteur de la carte) tant que main.js n'a pas le jeton de formulaire */
.form-loading { display: none; }
.js .form-box:not(.is-ready) > #contact-form { visibility: hidden; }
.js .form-box:not(.is-ready) > .form-loading {
  display: flex; position: absolute; inset: 0; align-items: center; justify-content: center;
  margin: 0; padding: 32px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted);
}
#contact-form { display: grid; gap: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 4px; align-content: start; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16, 40, 74, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); background: #FFF7F6; }
.field.is-invalid input:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .14); }
.error { font-size: 13px; color: var(--err); }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
/* reCAPTCHA Enterprise : badge masqué (autorisé par Google si la mention est affichée, voir .form-note).
   visibility et non display: none, qui empêcherait le badge de fonctionner ; hors du flux pour ne laisser aucun vide.
   Rogné à la largeur du formulaire : même masqué, le badge (256 px) élargirait la page sur les petits écrans */
#contact-form { position: relative; }
.captcha-badge { position: absolute; left: 0; bottom: 0; max-width: 100%; overflow: hidden; visibility: hidden; pointer-events: none; }
.captcha-badge .grecaptcha-badge { visibility: hidden; }
/* Le champ ne sert qu'à afficher une erreur anti-robot */
.captcha:not(.is-invalid) { display: none; }
.form-foot { position: relative; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.form-foot small { color: var(--muted); font-size: 13px; }
.form-note { display: grid; gap: 2px; flex: 1 1 260px; }
/* Infobulle .tip de la mention reCAPTCHA, pleine largeur : sous .form-foot sur PC ; sur mobile (formulaire
   sur une colonne, voir .contact), juste au-dessus de sa ligne, qui occupe alors toute la largeur du formulaire */
.form-note .tip::after { width: 100%; max-width: none; bottom: auto; top: calc(100% + 8px); box-sizing: border-box; }
@media (max-width: 860px) {
  .form-note small { position: relative; }
  .form-note .tip::after { top: auto; bottom: calc(100% + 4px); }
}
.form-foot .btn:disabled { opacity: .65; cursor: wait; }
.form-status { margin: 0; font-family: var(--mono); font-size: 13px; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
/* Confirmation d'envoi : remplace le formulaire, centrée dans la carte */
.form-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px 8px; outline: none; }
/* display:grid / flex l'emporterait sur l'attribut hidden */
#contact-form[hidden], .form-done[hidden] { display: none; }
.form-done-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: rgba(30, 158, 90, .12); color: var(--ok); }
.form-done-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { margin: 0; font-size: 20px; }
.form-done p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form-box, .contact-intro { padding: 22px; } }

/* Page de texte (mentions légales) */
.page { padding: 72px 0 40px; max-width: 760px; }
.page h1 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.035em; margin: 0 0 28px; font-weight: 700; }
/* Sur-titre : même taille que les libellés des cartes Expertise */
.page h1 .k { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 500; letter-spacing: .08em; }
/* Flèche du bouton « Retour au site » ; marge négative : le tracé laisse du vide à gauche */
.back-ico { width: 18px; height: 18px; margin-left: -.2em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Mobile : bouton « Retour » réduit à la flèche, carré de 42 px comme le monogramme */
@media (max-width: 760px) {
  .btn.back { width: 42px; height: 42px; padding: 0; justify-content: center; }
  .btn.back .back-ico { width: 20px; height: 20px; stroke-width: 2.4; margin-left: 0; }
  .btn.back .back-label { display: none; }
}
/* Flèche des liens externes (LinkedIn), même tracé que .back-ico */
.ext-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.socials .ext-ico { width: 15px; height: 15px; }
.page h2 { font-size: 20px; margin: 36px 0 10px; font-weight: 600; }
.page p, .page li { color: var(--muted); }
.page li strong { color: var(--ink); font-weight: 600; }
/* Liste « libellé : valeur » à puces rondes */
.legal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal-list li { position: relative; padding-left: 22px; }
.legal-list li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.todo { color: var(--accent); font-family: var(--mono); font-size: 14px; }

/* Footer */
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 40px; padding-bottom: 48px; color: var(--muted); font-size: 14px; font-family: var(--mono); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Apparition douce au défilement */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal:not(.in) { opacity: 0; transform: translateY(14px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}
