/* ==========================================================
   Romain Terrier - feuille de style commune (FR + EN)
   ========================================================== */

:root {
  --ink: #0d1626;
  --ink-2: #1b2740;
  --text: #3a475c;
  --muted: #66758b;
  --line: #e4e7ee;
  --bg: #f7f6f2;
  --surface: #ffffff;
  --brand: #2d56e8;
  --brand-dark: #1e3fbd;
  --brand-soft: #e7ecff;
  --accent: #ff7a45;
  --accent-dark: #e8622b;
  --accent-soft: #ffeadf;
  --ok-bg: #e3f6ea;
  --ok-text: #155c33;
  --err-bg: #fde8e8;
  --err-text: #8a1f1f;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 22, 38, .05), 0 4px 14px rgba(13, 22, 38, .05);
  --shadow-md: 0 2px 4px rgba(13, 22, 38, .04), 0 18px 40px rgba(13, 22, 38, .10);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.025em; word-spacing: .04em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 242, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(247, 246, 242, .82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13, 22, 38, .05); }
.bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; letter-spacing: 0; }
.brand span.dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn):not(.lang) {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem;
  padding: 9px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:not(.btn):not(.lang):hover { background: rgba(13, 22, 38, .06); color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) { background: var(--ink); color: #fff; }
.lang-switch { display: inline-flex; margin-left: 10px; padding: 3px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; }
.lang { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; padding: 6px 11px; border-radius: 999px; color: var(--muted); line-height: 1.2; }
.lang:hover { color: var(--ink); }
.lang[aria-current="true"] { background: var(--brand); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.menu-btn .ic { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn .ic { transition: transform .2s; }
.btn:hover .ic-arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(45, 86, 232, .3); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 24px rgba(255, 122, 69, .35); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(13, 22, 38, .18); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(13, 22, 38, .04); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .94rem; }
.nav .btn { margin-left: 6px; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; box-shadow: none; }

/* ---------- Common blocks ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--surface); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.dark .eyebrow { background: rgba(255, 122, 69, .14); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--text); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 12px; }
em.hl {
  font-style: normal; white-space: nowrap; padding: 0 .06em .1em; color: var(--brand);
  background: linear-gradient(95deg, var(--brand) 0%, #7a4dff 50%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.status { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 8px 16px 8px 14px; border-radius: 999px; margin-bottom: 26px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1fb865; box-shadow: 0 0 0 0 rgba(31, 184, 101, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(31, 184, 101, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 184, 101, 0); } }

/* ---------- Hero (accueil) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; width: 60%; height: 100%;
  background: radial-gradient(closest-side at 60% 45%, rgba(45, 86, 232, .13), transparent);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 55%;
  background-image: radial-gradient(rgba(13, 22, 38, .09) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-links { margin-top: 22px; font-size: .98rem; }
.hero-links a { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.hero-links a:hover { text-decoration: underline; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }

.portrait { position: relative; max-width: 400px; margin-left: auto; isolation: isolate; }
.portrait::before {
  content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(150deg, #5b7dff 0%, var(--brand) 45%, #7a4dff 100%);
  border-radius: 44px; transform: rotate(-6deg) scale(.97);
}
.portrait::after {
  content: ""; position: absolute; z-index: -2; right: -12%; bottom: -10%; width: 70%; height: 55%;
  background: var(--accent); opacity: .45; filter: blur(60px); border-radius: 50%;
}
.portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 40px;
  background: #cfd5df; border: 5px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px rgba(13, 22, 38, .22);
  transform: rotate(2deg);
}
.chip-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .94); border-radius: 18px; padding: 12px 18px 12px 12px; box-shadow: 0 14px 34px rgba(13, 22, 38, .16);
  font-size: .85rem; line-height: 1.3; color: var(--muted);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .chip-float { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
}
.chip-float strong { display: block; color: var(--ink); font-size: .95rem; }
.chip-float .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); }
.chip-float .ico .ic { width: 20px; height: 20px; }
.chip-a { left: -64px; bottom: 56px; }
.chip-b { right: -20px; top: 34px; }
.chip-b .ico { background: var(--brand-soft); color: var(--brand); }

/* ---------- Cartes services ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px); transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 22px; }
.card .icon .ic { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 18px; }
.card .more { margin-top: auto; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
a.card:hover .more .ic-arrow { transform: translateX(4px); }
.card .more .ic { transition: transform .2s; }
.card-feature { background: var(--ink); border-color: var(--ink); }
.card-feature h3 { color: #fff; }
.card-feature p { color: #b8c2d4; }
.card-feature .icon { background: rgba(255, 255, 255, .1); color: #fff; }
.card-feature .more { color: var(--accent); }
.card-accent .icon { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- Bande expertise (sombre) ---------- */
.dark { background: var(--ink); color: #b8c2d4; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; right: -10%; top: -30%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 86, 232, .35), transparent 65%); pointer-events: none; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--accent); }
.dark .lead { color: #c9d2e2; }
.split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; }
.tags li { padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; border: 1px solid rgba(255, 255, 255, .18); color: #e6ebf5; }
.tags-light li { background: var(--brand-soft); border-color: transparent; color: var(--ink-2); }
.checks { list-style: none; display: grid; gap: 22px; }
.checks li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.checks .tick { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 122, 69, .16); color: var(--accent); }
.checks strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 2px; }
.checks p { margin: 0; font-size: .97rem; }

/* ---------- Bandeau audit ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--accent); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .14); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 62ch; color: #fff; opacity: .95; }
.cta-band .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.cta-band .btn { flex: none; }
.cta-brand { background: var(--brand); }
.cta-brand .btn-light:hover { background: var(--ink); }

/* ---------- Pages internes ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); }
.page-hero .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); margin-bottom: 22px; }
.page-hero .lead { margin: 0; }
.illus { width: 100%; max-width: 420px; margin-left: auto; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

.two-col { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.prose p { max-width: 62ch; }
.prose .btn { margin-top: 14px; }

.steps { list-style: none; counter-reset: step; position: relative; display: grid; gap: 28px; }
.steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.steps li { position: relative; counter-increment: step; padding-left: 68px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--brand); color: var(--brand);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.steps h3 { margin-bottom: 6px; padding-top: 8px; }
.steps p { margin: 0; font-size: .98rem; }
.section-alt .steps li::before { background: var(--bg); }

.domains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; }
.domains li {
  display: flex; align-items: center; gap: 16px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px; font-weight: 600; color: var(--ink); transition: border-color .2s, transform .2s;
}
.domains li:hover { border-color: var(--brand); transform: translateY(-2px); }
.domains .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.note { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 22px 26px; background: var(--brand-soft); border-radius: 16px; color: var(--ink-2); }
.note .ic { color: var(--brand); margin-top: 4px; width: 22px; height: 22px; }
.note p { margin: 0; }

.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.skill { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.skill .num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--accent); letter-spacing: -.02em; display: block; margin-bottom: 8px; }
.skill h3 { font-size: 1.1rem; margin-bottom: 8px; }
.skill p { margin: 0; font-size: .95rem; }

.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); }
.section-alt .panel { background: var(--bg); }
.panel h3 { margin-bottom: 16px; }
.panel hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.list { list-style: none; display: grid; gap: 12px; }
.list li { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; }
.list .ic { color: var(--brand); margin-top: .3em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.details { list-style: none; display: grid; gap: 20px; margin: 28px 0; }
.details li { display: flex; gap: 16px; align-items: center; }
.details .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.details strong { display: block; color: var(--ink); line-height: 1.3; }
.details span { font-size: .94rem; color: var(--muted); }
.visio-box { display: flex; gap: 16px; align-items: flex-start; background: var(--ink); color: #c9d2e2; border-radius: 18px; padding: 22px 24px; }
.visio-box .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 122, 69, .18); color: var(--accent); flex: none; }
.visio-box strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.visio-box p { margin: 0; font-size: .96rem; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 24px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .94rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
fieldset.field { border: 0; margin-inline: 0; padding: 0; min-width: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #98a3b5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(45, 86, 232, .15); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg); font-weight: 500; font-size: .95rem; color: var(--ink-2);
  transition: border-color .2s, background .2s, color .2s;
}
.choice:hover span { border-color: var(--brand); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.choice .ic { width: 1.05em; height: 1.05em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 22px; font-weight: 500; display: none; }
.alert.show { display: block; }
.alert-ok { background: var(--ok-bg); color: var(--ok-text); }
.alert-err { background: var(--err-bg); color: var(--err-text); }
.form-note { text-align: center; font-size: .9rem; color: var(--muted); margin: 18px 0 0; }
.form-card .btn { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #98a5bb; padding: 64px 0 28px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { max-width: 38ch; margin: 0; }
.foot-title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #98a5bb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .88rem; }

/* ---------- Animations d'apparition (si JS actif) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .chip-a { left: -30px; }
  .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { flex-wrap: wrap; justify-content: flex-end; }
  .js .menu-btn { display: inline-flex; }
  .js .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(13, 22, 38, .08);
    padding: 12px clamp(20px, 4vw, 40px) 24px; display: none;
  }
  .js .nav.open { display: flex; }
  .nav a:not(.btn):not(.lang) { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; padding: 15px 26px; font-size: 1rem; }
  .lang-switch { align-self: flex-start; margin: 12px 0 0 8px; }
  .hero-grid, .page-hero .hero-grid, .split, .two-col, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { margin: 20px auto 0; max-width: 320px; }
  .chip-a { left: -12px; bottom: 36px; }
  .chip-b { right: -8px; }
  .illus { margin: 0 auto; max-width: 340px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .cards, .skills, .row, .domains { grid-template-columns: minmax(0, 1fr); }
  .row { gap: 0; }
  .actions .btn { width: 100%; }
  .chip-a { display: none; }
  .chip-b { right: 4px; top: 12px; }
  .stats { gap: 18px 28px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
