/* =========================================================================
   Alexandre Navaeian — Thème « Studio »
   Reproduction fidèle de la maquette (variante C). Dark par défaut.
   Les couleurs sont surchargeables via le panneau d'options du thème
   (variables injectées dans <head> par inc/theme-options.php).
   ========================================================================= */

:root,
[data-theme="dark"] {
  --bg: #0b0b12;
  --panel: rgba(255, 255, 255, .04);
  --panel2: #16161f;
  --ink: #f4f3ff;
  --dim: #a4a3c0;
  --accent: #7c5cff;
  --accent2: #39e6b0;
  --line: rgba(255, 255, 255, .10);
  --cardbd: rgba(255, 255, 255, .08);
  --star: #ffb000;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3f1ec;
  --panel: rgba(0, 0, 0, .02);
  --panel2: #ffffff;
  --ink: #16151f;
  --dim: #5b596f;
  --accent: #5b3df5;
  --accent2: #0f9d72;
  --line: rgba(0, 0, 0, .08);
  --cardbd: rgba(0, 0, 0, .07);
  --star: #e0930a;
  color-scheme: light;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Bricolage Grotesque', 'Space Grotesk', sans-serif; }

/* Accessibilité : focus visible */
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.an-skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
  font-weight: 700; text-decoration: none;
}
.an-skip-link:focus { left: 0; }

/* ---------- Keyframes ---------- */
@keyframes an-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes an-floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }
@keyframes an-floatY2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(30px); } }
@keyframes an-gradShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes an-pulseDot { 0% { box-shadow: 0 0 0 0 rgba(57, 230, 176, .6); } 70% { box-shadow: 0 0 0 9px rgba(57, 230, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(57, 230, 176, 0); } }
@keyframes an-spinSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Décor (blobs) ---------- */
.an-shell { position: relative; min-height: 100vh; }
.an-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.an-blob--1 { top: -120px; left: -90px; width: 480px; height: 480px; background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%); filter: blur(70px); opacity: .5; animation: an-floatY 9s ease-in-out infinite; }
.an-blob--2 { top: 520px; right: -140px; width: 440px; height: 440px; background: radial-gradient(circle at 50% 50%, var(--accent2), transparent 70%); filter: blur(80px); opacity: .38; animation: an-floatY2 11s ease-in-out infinite; }

/* ---------- Header ---------- */
.an-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 40px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.an-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.an-brand__mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 15px;
}
.an-brand__name { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 17px; color: var(--ink); }
.an-nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.an-nav a {
  font-size: 14px; font-weight: 500; color: var(--dim); text-decoration: none;
  padding: 7px 13px; border-radius: 999px; transition: color .2s, background .2s;
}
.an-nav a:hover, .an-nav .current-menu-item > a, .an-nav .current_page_item > a { color: var(--ink); background: var(--panel2); }
.an-cta-pill {
  text-decoration: none; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
}
.an-themetoggle {
  font: inherit; font-weight: 500; font-size: 13px; cursor: pointer; color: var(--ink);
  background: var(--panel2); border: 1px solid var(--cardbd); padding: 8px 12px; border-radius: 999px;
}
.an-burger { display: none; background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; color: var(--ink); }

/* ---------- Layout ---------- */
.an-main { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 64px 40px 60px; }
.an-section { margin-bottom: 70px; }
.an-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--accent2); text-transform: uppercase; margin-bottom: 14px; }
.an-grad { background: linear-gradient(120deg, var(--accent), var(--accent2), var(--accent)); background-size: 200% auto; animation: an-gradShift 6s ease infinite; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.an-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.an-section__head h2 { margin: 0; }
.an-link { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* ---------- Hero ---------- */
.an-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500;
  color: var(--dim); background: var(--panel2); border: 1px solid var(--cardbd);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 28px;
}
.an-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); animation: an-pulseDot 2s infinite; }
.an-hero h1 { margin: 0 0 24px; font-weight: 800; font-size: clamp(40px, 7vw, 80px); line-height: .96; letter-spacing: -2.5px; color: var(--ink); max-width: 900px; }
.an-hero p { margin: 0 0 32px; font-size: clamp(17px, 2.4vw, 20px); line-height: 1.55; color: var(--dim); max-width: 660px; }
.an-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.an-btn { text-decoration: none; font-weight: 700; font-size: 15px; padding: 15px 28px; border-radius: 14px; display: inline-block; transition: transform .2s, border-color .2s; }
.an-btn--primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 10px 30px -8px var(--accent); }
.an-btn--primary:hover { transform: translateY(-2px); }
.an-btn--ghost { font-weight: 600; color: var(--ink); background: var(--panel2); border: 1px solid var(--cardbd); }
.an-btn--ghost:hover { border-color: var(--accent); }

/* ---------- Stats ---------- */
.an-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 64px; }
.an-stat { background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 18px; padding: 24px; }
.an-stat__n { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: clamp(34px, 4vw, 44px); line-height: 1; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.an-stat__l { font-size: 13px; color: var(--dim); margin-top: 8px; }

/* ---------- Marquee ---------- */
.an-marquee { overflow: hidden; margin-bottom: 64px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.an-marquee__track { display: flex; width: max-content; animation: an-marq 30s linear infinite; font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 19px; white-space: nowrap; }
.an-marquee__group { display: flex; gap: 14px; padding-right: 14px; align-items: center; }
.an-marquee__group span:nth-child(odd) { color: var(--dim); }
.an-marquee__sep { color: var(--accent); }

/* ---------- Services ---------- */
.an-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.an-svc {
  text-decoration: none; background: var(--panel2); border: 1px solid var(--cardbd);
  border-radius: 20px; padding: 24px; transition: transform .25s, border-color .25s; display: block;
}
.an-svc:hover { transform: translateY(-4px); border-color: var(--accent); }
.an-svc__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.an-svc__icon { font-size: 26px; }
.an-svc h3 { margin: 0; font-weight: 700; font-size: 22px; color: var(--ink); }
.an-pill { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent2); background: var(--panel); border: 1px solid var(--cardbd); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.an-svc p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: var(--dim); }
.an-svc__since { font-size: 13px; color: var(--dim); opacity: .7; }

/* Services — fiches détaillées */
.an-svc-detail { background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 24px; padding: 34px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.an-svc-detail__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.an-svc-detail__badge { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.an-svc-detail h2 { margin: 0; font-weight: 800; font-size: 28px; color: var(--ink); }
.an-svc-detail__sub { font-size: 13px; font-weight: 600; color: var(--accent2); }
.an-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.an-bullet { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); border: 1px solid var(--cardbd); border-radius: 12px; padding: 13px 15px; }
.an-bullet__check { color: var(--accent2); font-weight: 800; font-size: 15px; line-height: 1.3; }
.an-bullet span:last-child { font-size: 14px; line-height: 1.4; color: var(--ink); }
.an-list-flow { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Projets ---------- */
.an-proj-grid { display: grid; gap: 16px; }
.an-proj-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.an-proj-grid--2 { grid-template-columns: 1fr 1fr; }
.an-proj { text-decoration: none; border-radius: 20px; overflow: hidden; border: 1px solid var(--cardbd); background: var(--panel2); transition: transform .25s; display: block; }
.an-proj:hover { transform: translateY(-4px); }
.an-proj__cover { height: 110px; background: linear-gradient(135deg, var(--accent), var(--accent2)); background-size: 200% 200%; animation: an-gradShift 7s ease infinite; position: relative; }
.an-proj--lg .an-proj__cover { height: 140px; }
.an-proj__cover img { width: 100%; height: 100%; object-fit: cover; }
.an-proj__tag { position: absolute; bottom: 14px; left: 18px; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: #fff; background: rgba(0, 0, 0, .25); padding: 5px 12px; border-radius: 999px; text-transform: uppercase; }
.an-proj__body { padding: 20px; }
.an-proj__type { font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--dim); text-transform: uppercase; }
.an-proj h3, .an-proj h2 { margin: 6px 0 12px; font-weight: 700; font-size: 19px; line-height: 1.1; color: var(--ink); }
.an-proj--lg h2 { font-size: 23px; }
.an-proj p { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--dim); }
.an-result { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent2); background: var(--panel); border: 1px solid var(--cardbd); padding: 5px 11px; border-radius: 999px; }
.an-proj__more { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent2); }
.an-svc-detail h2 a { color: inherit; text-decoration: none; }
.an-svc-detail h2 a:hover { color: var(--accent2); }
.an-svc-detail__more { font-size: 14px; font-weight: 700; color: var(--accent2); text-decoration: none; }
.an-svc-detail__more:hover { text-decoration: underline; }
/* Liste de liens de maillage interne */
.an-linklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.an-linklist__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--cardbd); background: var(--panel2); text-decoration: none; transition: transform .2s, border-color .2s; }
.an-linklist__item:hover { transform: translateY(-2px); border-color: var(--accent); }
.an-linklist__icon { font-size: 24px; flex: 0 0 auto; }
.an-linklist__name { display: block; font-weight: 700; font-size: 16px; color: var(--ink); }
.an-linklist__sub { display: block; font-size: 13px; color: var(--dim); margin-top: 2px; }
.an-linklist__arrow { margin-left: auto; color: var(--accent2); font-weight: 700; }

/* ---------- Témoignages ---------- */
.an-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.an-testi { background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 20px; padding: 24px; }
.an-stars { color: var(--star); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.an-testi p { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--ink); }
.an-testi__author { font-size: 14px; font-weight: 700; color: var(--ink); }
.an-testi__role { font-size: 13px; color: var(--dim); }

/* ---------- Process ---------- */
.an-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.an-step { background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 18px; padding: 22px; }
.an-step__n { display: inline-flex; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 18px; color: #fff; min-width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent2)); align-items: center; justify-content: center; margin-bottom: 14px; }
.an-step__t { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.an-step__d { font-size: 14px; line-height: 1.45; color: var(--dim); }

/* ---------- FAQ ---------- */
.an-faq { display: flex; flex-direction: column; gap: 12px; }
.an-faq__item { background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 16px; padding: 20px 24px; }
.an-faq__item h3 { margin: 0 0 7px; font-weight: 700; font-size: 18px; color: var(--ink); }
.an-faq__item p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dim); }
.an-faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.an-faq__q[aria-expanded="false"] + .an-faq__a { display: none; }
.an-faq__chevron { transition: transform .2s; color: var(--accent); font-size: 14px; }
.an-faq__q[aria-expanded="true"] .an-faq__chevron { transform: rotate(180deg); }

/* ---------- CTA band ---------- */
.an-cta { position: relative; overflow: hidden; border-radius: 26px; padding: 56px 44px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; text-align: center; }
.an-cta__ring { position: absolute; top: -50px; right: -50px; width: 180px; height: 180px; border: 2px dashed rgba(255, 255, 255, .35); border-radius: 50%; animation: an-spinSlow 20s linear infinite; }
.an-cta__inner { position: relative; z-index: 1; }
.an-cta h2 { margin: 0 0 12px; font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; }
.an-cta p { margin: 0 0 26px; font-size: 17px; opacity: .95; }
.an-cta .an-btn-white { text-decoration: none; font-weight: 700; font-size: 16px; color: var(--accent); background: #fff; padding: 15px 30px; border-radius: 14px; display: inline-block; transition: transform .2s; }
.an-cta .an-btn-white:hover { transform: translateY(-2px); }

/* ---------- Contact ---------- */
.an-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; margin-bottom: 64px; align-items: start; }
.an-contact-list { display: flex; flex-direction: column; gap: 14px; }
.an-contact-card { display: flex; align-items: center; gap: 15px; text-decoration: none; background: var(--panel2); border: 1px solid var(--cardbd); padding: 18px 20px; border-radius: 18px; transition: border-color .2s, transform .2s; }
.an-contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.an-contact-card__icon { font-size: 16px; min-width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.an-contact-card__label { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.an-contact-card__val { display: block; font-size: 13px; color: var(--dim); margin-top: 2px; }
.an-contact-card__arrow { margin-left: auto; color: var(--dim); font-size: 18px; }
.an-guarantees { background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.an-guarantees div { display: flex; gap: 11px; align-items: flex-start; }
.an-guarantees span:first-child { color: var(--accent2); font-weight: 800; }
.an-guarantees span:last-child { font-size: 14px; line-height: 1.45; color: var(--ink); }

.an-form-wrap { background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 24px; padding: 34px; }
.an-form { display: flex; flex-direction: column; gap: 16px; }
.an-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.an-field { display: flex; flex-direction: column; gap: 7px; }
.an-field > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.an-form input, .an-form textarea, .an-form select {
  font-family: inherit; font-size: 15px; padding: 13px 15px;
  background: var(--panel); border: 1px solid var(--cardbd); border-radius: 12px; color: var(--ink); width: 100%;
}
/* Le <select> doit avoir un fond opaque : sinon la liste déroulante native
   s'affiche sur une base blanche et le texte clair (--ink) devient illisible. */
.an-form select { background-color: var(--panel2); -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path fill='%23a4a3c0' d='M3 5l4 4 4-4z'/></svg>");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.an-form select option,
.an-form select optgroup { background-color: var(--panel2); color: var(--ink); }
.an-form textarea { resize: vertical; min-height: 120px; }
.an-form button { font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); padding: 15px; border: none; border-radius: 13px; transition: transform .2s; }
.an-form button:hover { transform: translateY(-2px); }
.an-form__fine { margin: 0; font-size: 12px; color: var(--dim); text-align: center; }
.an-form__notice { padding: 12px 15px; border-radius: 12px; font-size: 14px; }
.an-form__notice--ok { background: color-mix(in srgb, var(--accent2) 18%, transparent); color: var(--ink); border: 1px solid var(--accent2); }
.an-form__notice--err { background: color-mix(in srgb, #ff5f57 18%, transparent); color: var(--ink); border: 1px solid #ff5f57; }
.an-sent { text-align: center; padding: 40px 20px; }
.an-sent__tick { width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 34px; margin: 0 auto 20px; color: #fff; }

/* ---------- Footer ---------- */
.an-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 40px; margin-top: 30px; }
.an-footer__inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.an-footer__brand { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dim); }
.an-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.an-footer nav a { font-size: 14px; color: var(--dim); text-decoration: none; }
.an-footer nav a:hover { color: var(--ink); }

/* ---------- Single / page generic content ---------- */
.an-article { max-width: 760px; margin: 0 auto; }
.an-article h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 18px; }
.an-prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.an-prose h2 { font-size: 30px; margin: 36px 0 14px; }
.an-prose h3 { font-size: 22px; margin: 28px 0 10px; }
.an-prose a { color: var(--accent); }
.an-prose img { border-radius: 14px; margin: 18px 0; }
.an-prose blockquote { border-left: 3px solid var(--accent); margin: 18px 0; padding: 6px 18px; color: var(--dim); }
.an-prose code { background: var(--panel2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.an-prose pre { background: var(--panel2); border: 1px solid var(--cardbd); padding: 16px; border-radius: 12px; overflow: auto; }
.an-meta { font-size: 13px; color: var(--dim); margin-bottom: 24px; }

/* ---------- Pagination ---------- */
.an-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.an-pagination a, .an-pagination span { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--cardbd); background: var(--panel2); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.an-pagination .current { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border-color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .an-main { padding: 48px 22px 48px; }
  .an-stats, .an-steps { grid-template-columns: repeat(2, 1fr); }
  .an-svc-grid, .an-svc-detail, .an-bullets, .an-proj-grid--2, .an-proj-grid--3, .an-testi-grid, .an-contact-grid, .an-form__row, .an-linklist { grid-template-columns: 1fr; }
  .an-header { padding: 14px 20px; }
  .an-burger { display: inline-flex; align-items: center; justify-content: center; }
  .an-nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 18px; margin: 0;
    transform: translateY(-120%); transition: transform .25s ease; z-index: 19;
  }
  .an-nav.is-open { transform: translateY(0); }
  .an-header .an-cta-pill { display: none; }
}
@media (max-width: 560px) {
  .an-stats, .an-steps { grid-template-columns: 1fr 1fr; }
  .an-cta { padding: 40px 22px; }
}

/* =========================================================================
   v1.1 — Fil d'Ariane + blocs preuve/conversion (pilier & service)
   ========================================================================= */

/* Fil d'Ariane */
.an-crumbs-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.an-crumbs { padding: 18px 0 0; }
.an-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; font-size: 13px; }
.an-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.an-crumbs a { color: var(--dim); text-decoration: none; transition: color .2s; }
.an-crumbs a:hover { color: var(--accent); }
.an-crumbs__sep { color: var(--dim); opacity: .5; }
.an-crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Hero pilier */
.an-pilier-hero { max-width: 820px; }
.an-pilier-lede { font-size: 20px; line-height: 1.55; color: var(--dim); margin: 18px 0 0; }
.an-pilier-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Problèmes fréquents */
.an-probs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.an-prob { display: flex; gap: 14px; padding: 22px; background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 16px; }
.an-prob__icon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.an-prob h3 { margin: 2px 0 6px; font-size: 17px; }
.an-prob p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dim); }

/* Délais — timeline */
.an-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.an-tl { position: relative; padding: 22px 18px; background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 16px; }
.an-tl__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent2) 22%, transparent); margin-bottom: 14px; }
.an-tl__phase { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.an-tl__dur { font-size: 14px; color: var(--dim); }

/* Prix indicatifs */
.an-pricing { background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 16px; overflow: hidden; }
.an-pricing table { width: 100%; border-collapse: collapse; }
.an-pricing th, .an-pricing td { text-align: left; padding: 16px 20px; font-size: 15px; border-bottom: 1px solid var(--line); }
.an-pricing th { font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.an-pricing tr:last-child td { border-bottom: 0; }
.an-pricing__price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.an-pricing__note { font-size: 13px; color: var(--dim); margin: 0; padding: 14px 20px; background: color-mix(in srgb, var(--accent) 6%, transparent); }

/* Cas client */
.an-case { position: relative; padding: 30px; border-radius: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--panel2)), var(--panel2)); border: 1px solid var(--cardbd); }
.an-case__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--accent2); margin-bottom: 12px; }
.an-case__title { margin: 0 0 10px; font-size: 22px; }
.an-case__ctx { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--dim); }
.an-case__result { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--ink); }
.an-case__arrow { color: var(--accent2); }
.an-case__link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--accent); text-decoration: none; }
.an-case__link:hover { text-decoration: underline; }
.an-case__link-res { color: var(--dim); font-weight: 400; }

@media (max-width: 860px) {
  .an-probs, .an-timeline { grid-template-columns: 1fr; }
}

.an-proj[id^="projet-"] { scroll-margin-top: 90px; }

/* =========================================================================
   v1.2 — Navigation multi-niveaux (sous-menus par silo)
   ========================================================================= */
.an-nav, .an-nav .sub-menu { list-style: none; }
.an-nav > li { position: relative; display: flex; align-items: center; margin: 0; }
.an-nav .menu-item-has-children > a { display: inline-flex; align-items: center; gap: 6px; }
.an-nav .menu-item-has-children > a::after {
  content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6;
}
/* pont invisible pour ne pas perdre le survol dans l'espace nav/menu */
.an-nav > li.menu-item-has-children::before {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px;
}
.an-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; margin: 0; padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.30);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease; z-index: 30;
}
.an-nav > li:hover > .sub-menu, .an-nav > li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.an-nav .sub-menu a { display: block; white-space: nowrap; border-radius: 9px; font-size: 13.5px; padding: 8px 12px; }
.an-nav .sub-menu a:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--ink); }

@media (max-width: 980px) {
  .an-nav > li { display: block; }
  .an-nav .menu-item-has-children > a::after { display: none; }
  .an-nav > li.menu-item-has-children::before { content: none; }
  .an-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; min-width: 0;
    padding: 2px 0 6px 14px; margin-left: 6px; border-left: 2px solid var(--line);
  }
  .an-nav .sub-menu a { white-space: normal; }
}

/* =========================================================================
   v1.2.1 — Correctif puces de menu (en-tête + pied de page)
   ========================================================================= */
.an-nav { list-style: none; margin: 0 0 0 auto; padding: 0; }
.an-nav li { list-style: none; }
.an-nav li::marker { content: none; }

.an-footer nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.an-footer nav li { margin: 0; list-style: none; }
.an-footer nav li::marker { content: none; }
.an-footer nav .sub-menu { display: none; }

/* =======================================================================
   v1.4 — Réalisations enrichies, preuve sociale, conversion
   ======================================================================= */

/* Couverture projet en vraie image (le dégradé reste en repli si pas d'image) */
.an-proj__cover { display: block; }
.an-proj__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.an-proj:hover .an-proj__img { transform: scale(1.04); }
.an-proj__img { transition: transform .4s ease; }
.an-proj__logo { position: absolute; top: 12px; right: 12px; background: #fff; border-radius: 10px; padding: 6px 8px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.an-proj__logo img { display: block; max-height: 26px; width: auto; }
.an-proj__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 4px 0 8px; font-size: 12.5px; color: var(--dim); }
.an-proj__plat { font-weight: 700; color: var(--accent2); }
.an-proj__date { color: var(--dim); }

/* Fiche technique réalisation */
.an-proj-detail__logo {
  background: #fff;
  display: inline-block;
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  position: fixed;
  bottom: 0;
  left: 20px;
  z-index: 2;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  transition: opacity .25s ease, transform .25s ease;
}
.an-proj-detail__logo img { display: block; max-height: 48px; width: auto; }
/* Masqué quand le pied de page entre dans le viewport (classe posée en JS). */
.an-proj-detail__logo.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.an-factbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--cardbd); border: 1px solid var(--cardbd); border-radius: 16px; overflow: hidden; }
.an-fact { background: var(--panel2); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.an-fact__k { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--dim); font-weight: 700; }
.an-fact__v { font-size: 15px; font-weight: 600; color: var(--ink); }
.an-fact__v a { color: var(--accent2); text-decoration: none; }
.an-fact__v a:hover { text-decoration: underline; }
.an-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.an-stack__tag { font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--panel2); border: 1px solid var(--cardbd); padding: 6px 12px; border-radius: 999px; }

/* Citation / témoignage en page détail */
.an-quote { margin: 0; background: var(--panel2); border: 1px solid var(--cardbd); border-left: 3px solid var(--accent); border-radius: 16px; padding: 24px 26px; }
.an-quote p { font-size: 18px; line-height: 1.55; color: var(--ink); margin: 8px 0 14px; }
.an-quote cite { font-style: normal; font-weight: 700; font-size: 14px; color: var(--dim); }

/* Photo de témoignage */
.an-testi__foot { display: flex; align-items: center; gap: 12px; }
.an-testi__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }

/* Bandeau logos clients
   Tous les logos (sombres, clairs ou colorés) sont normalisés en un monochrome
   uniforme, lisible sur n'importe quel fond. Hauteur de slot fixe + largeur
   plafonnée pour équilibrer wordmarks larges et pictos compacts. */
.an-logos { text-align: center; margin-bottom: 48px; }
.an-logos__label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--dim); margin: 0 0 26px; }
.an-logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.an-logos__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: #fff;
  padding: 10px;
  width: 152px;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.an-logos__item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.an-logos__item img {
  max-height: 100%;
  max-width: 130px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .an-logos__row { gap: 14px; }
  .an-logos__item { height: 68px; width: 130px; }
  .an-logos__item img { max-width: 108px; }
}

/* Bouton de contact flottant */
.an-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.an-fab__btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.28); transition: transform .2s; text-decoration: none; }
.an-fab__btn:hover { transform: scale(1.08); }
.an-fab__btn--wa { background: #25d366; }
.an-fab__btn--rdv { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.an-fab__btn--tel { background: var(--ink); color: var(--bg); }
@media (max-width: 600px) { .an-fab { right: 14px; bottom: 14px; } .an-fab__btn { width: 50px; height: 50px; } }

/* Erreurs de champ inline */
.an-field__err { color: #ff6b6b; font-size: 12.5px; margin-top: 4px; }
.an-form input.is-invalid, .an-form textarea.is-invalid, .an-form select.is-invalid { border-color: #ff6b6b; }

@media (max-width: 980px) {
  .an-factbar { grid-template-columns: 1fr 1fr; }
}

/* =======================================================================
   v1.5 — Articles & hub Ressources
   ======================================================================= */

/* En-tête d'article */
.an-articlehead { max-width: 760px; margin: 8px auto 22px; }
.an-articlehead__cat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--accent2); background: var(--panel2); border: 1px solid var(--cardbd); padding: 5px 12px; border-radius: 999px; text-decoration: none; margin-bottom: 16px; }
.an-articlehead__cat:hover { color: var(--ink); }
.an-articlehead h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.06; letter-spacing: -1.5px; margin: 0 0 14px; }
.an-articlehead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.an-articlehead__meta .an-dot { color: var(--cardbd); }

/* Image d'en-tête */
.an-article__hero { max-width: 980px; margin: 0 auto 28px; border-radius: 20px; overflow: hidden; border: 1px solid var(--cardbd); }
.an-article__hero img { display: block; width: 100%; height: auto; }

/* Tags */
.an-tags { max-width: 760px; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.an-tags a { font-size: 12.5px; color: var(--dim); background: var(--panel2); border: 1px solid var(--cardbd); padding: 5px 12px; border-radius: 999px; text-decoration: none; }
.an-tags a:hover { color: var(--ink); }

/* Encart auteur / CTA en fin d'article */
.an-author-cta { max-width: 760px; margin: 36px auto 0; display: flex; gap: 18px; align-items: center; background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 20px; padding: 24px 26px; }
.an-author-cta__mark { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 24px; }
.an-author-cta__body strong { display: block; font-size: 16px; color: var(--ink); }
.an-author-cta__body p { margin: 4px 0 14px; font-size: 14.5px; color: var(--dim); line-height: 1.5; }

/* Cartes d'articles (liés / hub / pilier) */
.an-postcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.an-postcard { display: flex; flex-direction: column; background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform .2s, border-color .2s; }
.an-postcard:hover { transform: translateY(-4px); border-color: var(--accent); }
.an-postcard__cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--accent), var(--accent2)); overflow: hidden; }
.an-postcard__img { width: 100%; height: 100%; object-fit: cover; }
.an-postcard__cat { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .32); padding: 4px 10px; border-radius: 999px; }
.an-postcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.an-postcard__body h3 { font-size: 18px; line-height: 1.3; margin: 0 0 8px; color: var(--ink); }
.an-postcard__body p { font-size: 14px; line-height: 1.55; color: var(--dim); margin: 0 0 14px; flex: 1; }
.an-postcard__meta { font-size: 12.5px; color: var(--dim); opacity: .85; }

/* Hub Ressources : espacement entre sections */
.an-hubsec { margin-bottom: 12px; }

@media (max-width: 900px) {
  .an-postcards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .an-postcards { grid-template-columns: 1fr; }
  .an-author-cta { flex-direction: column; text-align: center; align-items: center; }
}

/* Ligne légale du pied de page */
.an-footer__legal { max-width: 1200px; margin: 18px auto 0; padding-top: 16px; border-top: 1px solid var(--cardbd); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; }
.an-footer__legal a { color: var(--dim); text-decoration: none; }
.an-footer__legal a:hover { color: var(--ink); }
.an-footer__legal span { color: var(--cardbd); }

/* =======================================================================
   v1.6 — Encart auteur & page À propos (E-E-A-T)
   ======================================================================= */

/* Encart auteur (bas des articles) */
.author-box.an-authorbox { max-width: 760px; margin: 40px auto 0; display: flex; gap: 20px; align-items: flex-start; background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 20px; padding: 26px 28px; }
.an-authorbox__photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; }
.an-authorbox__mark { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 28px; }
.an-authorbox__photo { flex: 0 0 auto; }
.an-authorbox__body { flex: 1; }
.an-authorbox__body strong { font-size: 17px; color: var(--ink); }
.an-authorbox__body strong a { color: inherit; text-decoration: none; }
.an-authorbox__body strong a:hover { color: var(--accent2); }
.an-authorbox__body p { margin: 8px 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--dim); }
.an-authorbox__links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Page À propos — hero auteur */
.an-about-hero { display: flex; gap: 36px; align-items: center; max-width: 980px; }
.an-about-hero__photo { flex: 0 0 auto; }
.an-about-hero__photo img { width: 180px; height: 180px; border-radius: 24px; object-fit: cover; display: block; border: 1px solid var(--cardbd); }
.an-about-hero__body { flex: 1; min-width: 0; }
.an-about-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page À propos — projets & marques */
.an-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.an-project-card { display: block; background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 18px; padding: 22px 24px; text-decoration: none; transition: transform .2s, border-color .2s; }
a.an-project-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.an-project-card__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--accent2); background: var(--bg); border: 1px solid var(--cardbd); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.an-project-card h3 { font-size: 19px; margin: 0 0 8px; color: var(--ink); }
.an-project-card p { font-size: 14px; line-height: 1.55; color: var(--dim); margin: 0; }

@media (max-width: 900px) {
  .an-projects { grid-template-columns: 1fr 1fr; }
  .an-about-hero { gap: 24px; }
  .an-about-hero__photo img { width: 130px; height: 130px; }
}
@media (max-width: 600px) {
  .an-projects { grid-template-columns: 1fr; }
  .an-about-hero { flex-direction: column; text-align: center; align-items: center; }
  .author-box.an-authorbox { flex-direction: column; text-align: center; align-items: center; }
  .an-authorbox__links { justify-content: center; }
}

/* v1.7 — Section SEO locale (accueil) + contenu pilier */
.an-geo { max-width: 820px; }
.an-geo h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.18; letter-spacing: -.5px; margin: 0 0 14px; }
.an-geo p { font-size: 17px; line-height: 1.6; color: var(--dim); margin: 0; }
.an-pilier-content { max-width: 820px; }

/* Tableaux dans le contenu éditorial */
.an-prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.an-prose th, .an-prose td { text-align: left; padding: 10px 14px; border: 1px solid var(--cardbd); }
.an-prose thead th { background: var(--panel2); color: var(--ink); font-weight: 700; }
.an-prose tbody tr:nth-child(even) { background: var(--panel); }
.an-prose code { background: var(--panel2); border: 1px solid var(--cardbd); border-radius: 6px; padding: 1px 6px; font-size: .92em; }

/* Types de missions (home) — liste à puces deux colonnes, cartes légères. */
.an-missions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.an-missions li {
  background: var(--panel2);
  border: 1px solid var(--cardbd);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.an-missions li:hover { border-color: var(--accent); transform: translateY(-2px); }
.an-missions li a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  display: block;
}
.an-missions li a::after { content: " \2197"; color: var(--accent2); }
.an-missions li span { color: var(--dim); font-weight: 600; }
@media (max-width: 640px) { .an-missions { grid-template-columns: 1fr; } }
